For some positive integers , there is a quadrilateral with positive integer side lengths, perimeter , right angles at and , , and . How many different values of are possible?
- A)
- B)
- C)
- D)
- E)
Answer
B
Key insight
Pythagoras gives BC^2 = 4(AD - 1): BC = 2k, AD = k^2 + 1, p = 2k^2 + 2k + 4, below 2015 for k = 1..31.
Solution
Let and . The right angles at and make and both perpendicular to , so and is a right trapezoid with parallel sides and and height .
Drop the perpendicular from to line , meeting it at . Then is a rectangle, so and , leaving . In right triangle ,
So is a multiple of , forcing even. Write with ; then .
The perimeter is
This increases with , so distinct give distinct . The condition is : for , works, and for , fails. Every from to is valid ( is the square), so there are perimeters.
The answer is .
Why this works
Two right angles on the same side turn the quadrilateral into a right trapezoid, and dropping the perpendicular is the standard move that exposes a right triangle. Because appears on both sides of the Pythagorean equation, the squares cancel and leave a linear relation between and ; integrality then reduces the geometry to counting perfect squares below a bound. Watch for the parity constraint hidden in .
Alternative approach
Estimate first: , so , which points to values and distinguishes (A)/(B) from the choices near that come from counting rather than . Then confirm the boundary with and exactly.
The trap
Counting every even BC from 0 to 62 (32 values) or excluding the 2 by 2 square (30), or letting BC be any integer up to 62 and getting 62.
Common mistakes
- Counting every even from to ( values) or excluding the square (), or letting be any integer up to and getting .
- Forgetting that contributes to the perimeter, or writing with only one copy of the equal sides.
- Setting with as a separate case; the same equation results and it has no solution with .
Techniques
Add construction lines/points (drop altitudes, extend segments, connect centers) · Bound the quantity above/below or estimate to pin it down