In rectangle , and . Points and lie on , points and lie on , points and lie on , and points and lie on so that and the convex octagon is equilateral. The length of a side of this octagon can be expressed in the form , where , , and are integers and is not divisible by the square of any prime. What is ?
- A)
- B)
- C)
- D)
- E)
Answer
B
Key insight
The octagon is the rectangle with four matching right triangles cut off its corners. Write both legs using the side length, then use the Pythagorean theorem.
Solution
Call the octagon's side . The octagon is the rectangle with a right triangle cut off each corner, and each cut edge is a side of the octagon, so every corner triangle has long side .
1. Name the legs. Let (given equal). Let .
2. Along the top, . The side is what is left of after the two pieces :
3. The four corner triangles match. The triangles at and both have one leg and long side , so their other legs match too: . Going around the rectangle the same way, the triangles at and also match these, so every corner triangle has legs and .
4. Along the side, . The side is what is left of after the two pieces :
5. Pythagorean theorem in a corner triangle.
Multiply by to clear the fractions:
Expand the left side: . So
6. Solve by completing the square. Rewrite as and add to both sides: , so . The side is positive, so
7. Check it makes sense. , so , which is less than as required.
So , , , and .
The answer is .
Why this works
An octagon with equal sides sitting in a rectangle is just the rectangle with four right-triangle corners removed. The rectangle's length and width each give a simple equation for one leg, and the Pythagorean theorem ties them together. The word "equilateral" (equal sides) rather than "regular" is the hint that the angles are not all equal.
Alternative approach
Solve with the quadratic formula instead:
A quick numeric check of the setup: with , the legs are and , and .
The trap
Assuming the octagon is regular, with 45-45-90 corner triangles. It only has equal sides, and a regular octagon cannot fit an 8-by-6 rectangle this way.
Concise solution
Let the octagon's side be . Cutting the four corners of the rectangle leaves four right triangles, each with hypotenuse . Let and let be the other leg of the corner triangle at .
Side lies on : , so .
The corner triangles at and both have a leg and hypotenuse , so their other legs are equal: . The same reasoning at the other corners shows all four corner triangles are congruent, so and .
Pythagoras in a corner triangle:
Multiply by : , i.e. , so
(Check: , so as required.)
Thus . The answer is .
Review in the AoPS books
- Introduction to Geometry, Chapter 4: Perimeter and Area (§4.2)
- Introduction to Algebra, Chapter 10: Quadratic Equations – Part 1 (§10.2, §10.3, §10.4)
- Introduction to Algebra, Chapter 22: Special Manipulations (§22.3)
- Introduction to Geometry, Chapter 6: Right Triangles (§6.1, §6.2, §6.3)
Techniques
Set up the equation/formula and compute; no special trick needed · Exploit symmetry to reduce work or pair up objects