Before wrapping up this unit, here are two other contexts in which we need to generate a quadratic relation to solve a problem.
Example 13
A rectangle has an area of \(252\) m2. Its length is \(9\) m longer than its width. Determine the length and width of the rectangle.
Solution
Let the width of the rectangle be \(w\) (in m). Then the length is \(w+9\).

Let \(A\) be the area of the rectangle (in m2).
Then, \(A=w(w+9)\).
We know that \(A=252\).

So \(252=w(w+9)\).
To solve for \(w\),
- Expand
\(252=w^2+9w\)
- Re-arrange
\(w^2+9w-252=0\)
- Factor
\((w+21)(w-12)=0\)
So \(w=-21\) or \(w=12\).
\(\)A width of \(-21\) is not possible. So the width must be \(12\) m.
Therefore, the width of this rectangle is \(12\) m and the length is \(21\) m (remember the length is \(w+9\)).
Check your answer
\(12 \times 21 = 252\), so a rectangle with a width \(12\) m and length \(21\) m has the required area of \(252\) m2.
Example 14
A dog kennel needs a fenced in area for the dogs to play in. They would like to create a rectangular area with three equal-sized partitions.

The kennel has \(200\) metres of fencing to use. What is the maximum area they can enclose?
Solution:
Let \(A\) represent the fenced area (in m2).
Let \(w\) be the width of the fenced area (in m).

The fence has four sides of this length, or \(4w \).
The amount of fencing left for the two longer sides is \(200-4w\).
So, the length of one of the longer sides is \(\dfrac{200-4w}{2}\), or \(100-2w\).

Therefore, \(A=w(100-2w)\).
The maximum area occurs at the vertex. Find the vertex by locating the zeros of the relation, when \(A=0\).
This occurs when
\(\begin{align*} 100-2w&=0 \\ -2w &= -100 \\ w &= 50\end{align*}\)
The zeros are \(0\) and \(50\) and the maximum occurs at a width halfway between.
That is, the maximum area occurs when \(w=25 \).
Substitute \(w=25\) into the relation to find the maximum area:
\(\begin{align*} A &= 25(100-2(25)) \\ &= 25(100-50) \\ &= 25 (50) \\ &= 1250 \end{align*}\)
Therefore, the maximum area they can enclose with \(200\) m of fencing is \(1250\) m2.
Check your answer
If \(w=25\), here are all of the side lengths of the enclosure.

Notice that there is a total of \(200\) m of fencing.
The area is \(25 \times 50 = 1250\) m2, as predicted.
If \(w=24\), the enclosure looks like this:

There is still \(200\) m of fencing, but the area is \(24 \times 52=1248\).
If \(w=26\), the enclosure looks like this:

There is still \(200\) m of fencing, but the area is \(26 \times 48=1248\).
This suggests that the maximum area occurs when \(w=25\), since widths that are slightly lower and slightly higher both produce smaller areas.