Let be a rectangle with and . Point and lie on and respectively so that all sides of and have integer lengths. What is the perimeter of ?
- A)
- B)
- C)
- D)
- E)
Answer
A
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 has legs and , where is at most because is on side . The triple -- doubled is --, and that is the only right triangle with whole sides, one leg and the other leg at most . (A leg of also appears in --, but is too long. If you want to be sure, is a perfect square for no other whole number from to .) So and .
2. That leaves .
3. Triangle has legs and , where is at most . Right triangles with a leg of :
- --, so ;
- -- (that is -- times ), so ;
- -- (that is -- times ), so .
(-- has , too long.)
4. Triangle has legs and . Test each option:
- : , and , not a perfect square.
- : , and . ✓ (This is -- times .)
- : , and , not a perfect square.
5. So , and .
6. The perimeter of triangle is .
The answer is .
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 (--, --, --, --) and their multiples turns each step into a quick lookup.
The trap
Taking the first triple with a leg of 12 (5-12-13) without checking that the last triangle also has whole-number sides.
Concise solution
Triangle is right-angled at with legs and . Integer right triangles with a leg of are --, --, --, and -- (from with both factors even). Only fits, so and .
Triangle is right-angled at with legs and . Triples with leg : --, --, -- (also --, too long). So , giving .
Triangle is right-angled at with legs and . Check: (not a square), , (not a square). So , , , .
The perimeter of is .
The answer is .
Review in the AoPS books
- Introduction to Geometry, Chapter 4: Perimeter and Area (§4.2)
- Introduction to Number Theory, Chapter 7: Algebra With Integers
- Prealgebra, Chapter 15: Problem-Solving Strategies (§15.2)
- Introduction to Counting & Probability, Chapter 2: Basic Counting Techniques (§2.2)
Techniques
Organized listing / direct enumeration · Split into exhaustive cases and handle each