Contents
1 Introduction
I was playing around with formulae involving rectangles and figured out a different take on the geometry of completing the square. My aim was to create an activity with the various formulae relating the width and height of a rectangle to its perimeter and area. Obviously, starting with the width and height then one can easily calculate the perimeter and width, but going the other way involves solving a quadratic. The level at which I was aiming this activity meant that I didn't want to make that explicit, but wondered if I could figure out how to make solving it a natural progression.
2 The Quadratic Equation
The quadratic equation for the width is simple to set up. The equations linking area, , perimeter, , height, , and width, , are:
So if we know and , we can get an equation for by eliminating :
Multiplying up and rearranging yields:
Completing the square on this produces:
|
The goal is to find a way to effectively get that formula without doing the algebra or mentioning the phrase "quadratic equation".
3 Finding the Square
Key to Equation (1) is the quantity . So to find a route to Equation (1), we need to find a justification for the quantity .
This is quite straightforward to come up with since the quantity is the perimeter of a rectangle. If it were the perimeter of a square then would be the side length. So is the side length of a square with the same perimeter as our original rectangle.
Looking at Equation (1), the quantity is then the area of that square and is the difference between the area of the square and the original rectangle.
If we then tried to solve for , we would square root . Geometrically, this again means finding a square but this time with area .
So the pieces we have are:
-
A square with the same perimeter as the original rectangle,
-
A second square whose area is the difference between the new square and the original rectangle.
We want to put those together in a way that makes the story clear.
4 Completing the Square Geometrically
The obvious thing to do is to draw the squares. The first square is straightforward.
The second square has area the difference between this and the rectangle. We model differences by subtraction, so we can subtract the second square from the first.
As the smaller square has area and the larger square area , what is left over has area . This means that the left over region has area and, as we've drawn it, perimeter .
So that region is almost what we want: it has area and perimeter . Unfortunately, it's not a rectangle. Fortunately, rearranging it into a rectangle doesn't change either the area or the perimeter because the two green line segments are the same length.
The red rectangle is what we're after: it has perimeter and area .
The picture makes clear that its width and height are the sum and difference of the sides of the two squares:
5 Hiding the Details
In the previous section, we worked from Equation (1) to a geometric picture. We can run that in reverse. Let's start with actual numbers. Consider a rectangle with perimeter and area .
We want a rectangle with these details. Let's focus on the perimeter, and look at rectangles with perimeter . The simplest such would be a square, and to get a square with perimeter we need a side length of .
This has an area of which is too much. So we want to remove an area of from this square, which we can do by removing a square of side length .
Finally, rearrange the remaining shape into a rectangle.
We can run this algorithm from an arbitrary starting point, i.e., perimeter and area . To get a square with perimeter we need side length . This square has area , which is too much. So we remove a square of side length to make a (symmetric) –shape. This has perimeter and area and can be rearranged into a rectangle without changing its perimeter or area. The final dimensions of this rectangle are:
6 Negatives
The above strategy can be used to solve a quadratic of the form: with and positive. If we start instead with then this is like having a rectangle with both width and height negative. This simply means that the ruler was the wrong way around. However, one of the form is a little more complicated.
To get a quadratic of the form we need the roots to be of opposite signs. Then with we have that and . So to solve this type of quadratic, the –coefficient wouldn't be the perimeter of a rectangle but would be related to the difference in the lengths.
With that as our guide, let's define the excess perimeter, , of a rectangle to be the perimeter of the rectangle minus the perimeter of the largest included square. For definiteness, let us suppose that our rectangle is wider than it is high, so then the perimeter of the largest included square is and the excess perimeter is thus:
Eliminating results in the quadratic
and completing the square produces:
Comparing this with Equation (1) and the construction that followed, we build squares, one of side length and another of area .
The justification for the first square in Section 4 was that of making a square with the same perimeter as our sought-for rectangle. In this case, it is a little harder to explain why we would make a square of side length as is the excess perimeter. At the simplest level, we can argue that since making a square worked in the first situation, it's worth trying again in this one. Looking a little more carefully at the earlier construction, when we make the rectangle from the –shape then the inner length of the is half the excess perimeter.
Therefore we want to draw an –shape with inner length and we can start by drawing a square of side length to be the inside of the .
The should have area , and so the full square should have area plus the area of the inner square. That is, . Thus the side lengths of this square are .
Making this –shape into a rectangle gives us the rectangle we're looking for.
Putting this together, we get a rectangle with dimensions:
and we observe that
One noticeable difference between the situation here and the previous one is that the two solutions of this quadratic are not the values of and . This makes sense since we assumed at the outset that the width was bigger than the height. The other solution to the quadratic corresponds to a rectangle with width and height , noting that both of these are negative and so again we had the ruler the wrong way around.
7 Conclusion
There are several things I like about this approach, particularly the initial method with the perimeter.
-
It can be done without mentioning quadratics at all.
This may seem a bit of a bizarre thing to note, but the idea originally came about because I was designing an activity aimed at students who won't have met quadratics. It's more about manipulating formulae and expressions. But by using quadratics underneath, it will link to that topic when it is introduced.
-
It shows why there can be two, one, or no solutions.
The two solutions come from drawing the rectangle in both orientations. We get one solution when the original rectangle was a square (in which case the algorithm terminates early). No solutions might need a bit of explanation as to the fact that a square is the largest rectangle with a given perimeter, but so long as the students are happy with that then we see that if is less than , we can't make a rectangle with area as is the maximum size.
-
The squares appear naturally.
The usual picture version of "completing the square" involves trying to build a square out of some pieces with areas, say, an , lots of , and units. But why should one want to make a square out of those pieces? And why do they have the shape that they do? Here, it feels, the squares are linked directly to the problem: right from the outset we're trying to build a shape.
-
The divisions appear naturally.
One thing my students find tricky with completing the square is why we halve the coefficient of . "Because it works" is, at present, my best response. Here, though, the division makes sense. To get a square with perimeter we need side length 1.
-
It leads on to quadratics.
If we're trying to solve then we're looking for and such that and . Taking and as the sides of a rectangle, it has area and perimeter . Hence its solutions are:
1That it is and not is because the coefficient of corresponds to the half-perimeter, not the actual perimeter.