Try This Revisited 1 — Approximate Solution
The framed mirror shown is in the shape of a regular octagon. The width of the mirror between the outer edges of the frame is \(99\) cm.
- If the framing material costs \($12.95\)/m, how much would the frame for one mirror cost?
Solution 1 — Approximate Solution
To find the amount of framing, we need the side length of the octagon.
Decomposing the octagon into triangles and rectangles can give us clues of how to find this length.

Due to the symmetry of the mirror, we know that the triangles are right isosceles triangles. For the right isosceles triangles, let \(x\) represent the length of the legs in cm and \(h\) the length of the hypotenuse. The hypotenuse is also the side length of the frame — its value is what we are looking for.

By the Pythagorean Theorem, we get the equation
\[\begin{align*}h^2 &= x^2 + x^2 \\ h^2 &=2x^2 \end{align*}\]
Since \(h \gt\ 0\), \(h=\sqrt{2}\sqrt{x^2}\approx1.414x\).
When using approximate values, we should keep more decimal places than we might need. If we were to use \(1.41x\) or \(1.4x\), our solution would not be as accurate.
We have an approximate expression for the side length of the octagon. What we really need is the value of \(x\) to answer the question.
The width of the mirror is \(99\) cm and this width can be decomposed into two legs of the triangles (\(x\)) and the width of the rectangles (\(h\)).

Source: Mirror - bbstanicic/iStock/Getty Images
So, \(x + 1.414x + x\approx 99\)
The solution to the approximate equation will be close to, but not exactly, the true value of \(x\).
Collecting the like terms on the left side, we get
\[\begin{align*} 3.414x & \approx 99 \\ x &\approx\dfrac{99}{3.414} \\ &\approx 28.998 \end{align*}\]
The side length of the frame is \(h\approx \sqrt{2} \times 29 \approx1.414(29) \approx 41\) cm or \(0.41\) m.
Since the framing material costs \($12.95\)/m, the measure of the side lengths must also be in metres.
The cost of the frame is approximately \((8)(0.41)(12.95) \approx$42.48\).
Try This Revisited 1 — A More Exact Solution
A framed mirror is in the shape of a regular octagon. The width of the mirror between the outer edges of the frame is \(99\) cm.
- If the framing material costs \($12.95\)/m, how much would the frame for one mirror cost?
Solution 1 — A More Exact Solution
Previously, we used the approximate value of the \(\sqrt{2}\) or \(1.414\) to help us to solve the problem. Let's take a second look at the solution using the exact value instead. The beginning of the solution is the same.
To find the amount of framing, we need the side length of the octagon.
For the right isosceles triangles, let \(x\) represent the length of the legs in cm and \(h\) the length of the hypotenuse and the side length of the frame.

By the Pythagorean Theorem, we get the equation
\[\begin{align*} h^2 & = x^2 + x^2\\ h^2 &=2x^2 \end{align*}\]
Since \(h \gt\ 0\), \(h=\sqrt{2}\sqrt{x^2}=\sqrt{2}x\).
Here, we will not use our calculator, but we'll use \(\sqrt{2}x\) and some algebra to help us to solve for \(x\).
The width of the mirror is \(99\) cm, and its width can be decomposed into two legs of the triangles and the width of the rectangles.

Source: Mirror - bbstanicic/iStock/Getty Images
So, \(x + \sqrt{2}x + x= 99\).
Notice that each of the terms on the left side of the equation has an \(x\). Using the distributive property, we can rewrite the left side of the equation with a common factor of \(x\) outside of the brackets and the number of factors of \(1\), \(\sqrt{2}\), and \(1\) inside the brackets:
\[\begin{align*} x(1+\sqrt{2}+1) &= 99 \\ x(2+\sqrt{2}) &= 99 \\ x &= \dfrac{99}{2+\sqrt2}\approx 28.996 \end{align*}\]
Notice that this value is very close to the value of \(x\) in the first solution (\(x \approx 28.998\)), but this one is closer to the true value of \(x\).
The side length of the frame is \(h=\sqrt{2}\left(\dfrac{99}{2+\sqrt{2}}\right) \approx 41\) cm or \(0.41\) m.
So once again, we find that the total cost of the frame is approximately \($42.48\).