AMC 10 Step by Step

2023 AMC 10A Problem 17

P16-20~5 minPrint

Let ABCDABCD be a rectangle with AB=30AB = 30 and BC=28BC = 28 . Point PP and QQ lie on BC‾\overline{BC} and CD‾\overline{CD} respectively so that all sides of △ABP,△PCQ,\triangle{ABP}, \triangle{PCQ}, and △QDA\triangle{QDA} have integer lengths. What is the perimeter of △APQ\triangle{APQ} ?

Log in to save your progress.
Show solution without answering

Key insight

Go around the rectangle one right triangle at a time. Leg 30 forces 16-30-34; then leg 12 allows 5, 9 or 16, and only 9 makes the last triangle work.

Solution

All three triangles are right triangles (each has a corner of the rectangle), and every side must be a whole number. So we need Pythagorean triples, and we can go around the rectangle one triangle at a time.

1. Triangle ABPABP has legs AB=30AB = 30 and BPBP, where BPBP is at most 2828 because PP is on side BCBC. The triple 88-1515-1717 doubled is 1616-3030-3434, and that is the only right triangle with whole sides, one leg 3030 and the other leg at most 2828. (A leg of 3030 also appears in 3030-4040-5050, but 4040 is too long. If you want to be sure, 302+b230^2 + b^2 is a perfect square for no other whole number bb from 11 to 2828.) So BP=16BP = 16 and AP=34AP = 34.
2. That leaves PC=28−16=12PC = 28 - 16 = 12.
3. Triangle PCQPCQ has legs PC=12PC = 12 and CQCQ, where CQCQ is at most 3030. Right triangles with a leg of 1212:
- 55-1212-1313, so CQ=5CQ = 5;
- 99-1212-1515 (that is 33-44-55 times 33), so CQ=9CQ = 9;
- 1212-1616-2020 (that is 33-44-55 times 44), so CQ=16CQ = 16.

(1212-3535-3737 has 35>3035 > 30, too long.)
4. Triangle QDAQDA has legs DA=28DA = 28 and DQ=30−CQDQ = 30 - CQ. Test each option:
- CQ=5CQ = 5: DQ=25DQ = 25, and 282+252=140928^2 + 25^2 = 1409, not a perfect square.
- CQ=9CQ = 9: DQ=21DQ = 21, and 282+212=784+441=1225=35228^2 + 21^2 = 784 + 441 = 1225 = 35^2. ✓ (This is 33-44-55 times 77.)
- CQ=16CQ = 16: DQ=14DQ = 14, and 282+142=98028^2 + 14^2 = 980, not a perfect square.
5. So CQ=9CQ = 9, PQ=15PQ = 15 and AQ=35AQ = 35.
6. The perimeter of triangle APQAPQ is AP+PQ+AQ=34+15+35=84AP + PQ + AQ = 34 + 15 + 35 = 84.

The answer is (A) 84\boxed{\textbf{(A)}\ 84}.

Why this works

The three triangles are linked: the leg left over from one triangle becomes a leg of the next. So you can search in order, and each step leaves only a short list of options for the next step to test. Knowing the common triples (33-44-55, 55-1212-1313, 88-1515-1717, 77-2424-2525) and their multiples turns each step into a quick lookup.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

Triangle ABPABP is right-angled at BB with legs 3030 and BP≤28BP \le 28. Integer right triangles with a leg of 3030 are 1616-3030-3434, 3030-4040-5050, 3030-7272-7878, and 3030-224224-226226 (from (y−x)(y+x)=900(y - x)(y + x) = 900 with both factors even). Only BP=16BP = 16 fits, so AP=34AP = 34 and PC=28−16=12PC = 28 - 16 = 12.

Triangle PCQPCQ is right-angled at CC with legs 1212 and CQ≤30CQ \le 30. Triples with leg 1212: 55-1212-1313, 99-1212-1515, 1616-1212-2020 (also 3535-1212-3737, too long). So CQ∈{5,9,16}CQ \in \{5, 9, 16\}, giving DQ=30−CQ∈{25,21,14}DQ = 30 - CQ \in \{25, 21, 14\}.

Triangle QDAQDA is right-angled at DD with legs 2828 and DQDQ. Check: 282+252=140928^2 + 25^2 = 1409 (not a square), 282+212=1225=35228^2 + 21^2 = 1225 = 35^2, 282+142=98028^2 + 14^2 = 980 (not a square). So DQ=21DQ = 21, CQ=9CQ = 9, PQ=15PQ = 15, AQ=35AQ = 35.

The perimeter of △APQ\triangle APQ is 34+15+35=8434 + 15 + 35 = 84.

The answer is (A) 84\boxed{\textbf{(A)}\ 84}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.