Completing the Square
How to write in the form by halving the coefficient of and squaring it, with even, odd and negative coefficients, and how that form shows the least value of the expression.
Before you start
In Secondary 2 you expanded perfect squares: and
Look at the number term. It is the square of half the coefficient of : half of is , and its square is . This lesson uses the identity the other way round.
Example: Expanding a perfect square
Expand and .
Solution
In each, the number term is the square of half the coefficient of : and
and
Half the Coefficient of , Squared
The expression is not a perfect square. Adding the right number makes it one: The right number is always found the same way: halve the coefficient of , and square the result.
By area. Draw as a square of side , and as a rectangle by beside it.
Cut the rectangle in half along its length, into two strips by . Put one strip down the right side of the square and the other along the bottom. The shape is now nearly a square of side : only the corner, by , is missing. Adding that corner, , completes the square.
Completing the square
To make a perfect square, add the square of half the coefficient of :
The number in the bracket is half the coefficient of , with its sign: half of is , so
When is odd, half of it is a fraction, and so is the number added: half of is , and Fractions and decimals are both fine: and .
Example 1: The number that completes the square
Find the number that must be added to each expression to make it a perfect square, and write the result as a square. (a) (b) (c) (d)
Solution
(a) Half of is , and :
(b) Half of is , and : The number added is positive although the coefficient is negative, because a square is never negative.
(c) Half of is , and
(d) Half of is , and
Check (d) by expanding: ✓
(a) , ; (b) , ; (c) , ; (d) ,
Writing as
An expression such as already has a number term. We cannot simply add to it: that would make a different expression. Instead, add and subtract . Together they add , so the value does not change, and the first three terms make the square:
Writing as , where and are numbers, is called completing the square, and is the completed-square form of the expression.
Completing the square for
1. Halve the coefficient of : .
2. Square it: .
3. Add it and subtract it:
4. Write the first three terms as a square, and collect the numbers:
Check by expanding your answer, or by putting the same number for into both forms.
Example 2: An even coefficient of
Express in the form .
Solution
Half of is , and . Add and subtract :
Check by expanding: ✓
so and .
Example 3: A negative coefficient of
Express in the form .
Solution
Half of is , and . Add and subtract :
The sign in the bracket is the sign of the coefficient of . The number is subtracted whatever that sign is.
In the form , the bracket is , so here is negative.
Check with : , and ✓
so and .
Example 4: An odd coefficient of
Express each in the form . (a) (b)
Solution
(a) Half of is , and There is no number term to collect:
(b) Half of is , and
since In decimals, this is .
Check (b) with : , and ✓
(a) (b)
Example 5: Finding the unknowns
Given that for all values of , find and .
Solution
Expand the right side:
Compare the terms: , so .
Compare the number terms: , so and .
Or complete the square: half of is , , and which is with .
and
The Least Value of
The completed-square form shows at once the smallest value an expression can take. Take . A square is never negative, so is or more, and is or more. It equals only when the square is , that is, when , or .
The least value
For every value of , , so .
The least value of is . It occurs when the bracket is , that is, when .
There is no greatest value: as moves away from , the square grows without end.
On the graph
In Secondary 2 you drew graphs such as from a table and read the minimum point, the lowest point of the curve. Since its minimum point is , the least value of is , and the line of symmetry is . Lesson 1.7 sketches graphs from the completed-square form.
Example 6: Reading the least value
Find the least value of each expression and the value of at which it occurs. (a) (b)
Solution
(a) Half of is , and :
The least value is , when , that is, .
Check: ✓
(b) Half of is , and :
The least value is , when , that is, . The bracket is at , not at .
Check: ✓
(a) The least value is , when . (b) The least value is , when .
Example 7: An odd coefficient
Find the least value of and the value of at which it occurs.
Solution
Half of is , and
The least value is , when , that is, .
Check in decimals: ✓
The least value is (or ), when (or ).
Example 8: Positive for every value of
Show that is positive for every value of .
Solution
Half of is , and :
For every , , so .
An expression that is always or more is always positive. So the equation has no real solutions; lesson 1.2 meets this again.
which is or more, so it is positive for every value of .
Example 9: The least cost
A factory in Tuas makes bottles of soya bean drink. When it makes thousand bottles in a day, each bottle costs cents to make, where . Find the least cost of a bottle and the number of bottles a day that gives it.
Solution
Half of is , and :
The least value of is , when , that is, .
counts thousands of bottles, so means bottles.
Check: ✓
The least cost is cents a bottle, when the factory makes bottles a day.
Common Mistakes
- Adding the square without subtracting it: The inside the square must be taken away again:
- Squaring the whole coefficient instead of half of it: for the number is , not .
- The wrong sign in the bracket: not .
- Squaring a fraction wrongly: half of is , and its square is (square the top and the bottom), not .
- The wrong sign for : has its least value when , not when .
- Mixing up the least value and the value of : in the least value is , and it occurs when .
Practice
Try each question before you open its solution. Fractions may be given as fractions or as decimals.
Question 1
Find the number that must be added to make each expression a perfect square, and write the result as a square. (a) (b) (c) (d)
ShowHide solution
(a) Half of is , and :
(b) Half of is , and :
(c) Half of is , and
(d) The coefficient of is . Half of is , and
(a) , ; (b) , ; (c) , ; (d) ,
Question 2
The figure shows cm² as a square of side cm with two strips, each cm by cm, along two of its sides. (a) Find the area of the corner piece that would complete the square. (b) Write plus that piece as the square of a bracket, and state the side of the completed square.
ShowHide solution
(a) The corner piece is cm by cm, so its area is cm². (Half of is , and .)
(b) The completed square has side .
Check: ✓
(a) cm²; (b) a square of side cm.
Question 3
Express in the form .
ShowHide solution
Half of is , and :
Check with : , and ✓
Question 4
Express in the form , and state and .
ShowHide solution
Half of is , and :
The bracket is , so and .
Check with : , and ✓
so and .
Question 5
Express each in the form . (a) (b)
ShowHide solution
(a) Half of is , and
since
Check with : , and ✓
(b) Half of is , and
Check with : , and ✓
(a) (b)
Question 6
Write each expression in descending powers of , then express it in the form . (a) (b)
ShowHide solution
(a) Half of is , and :
(b) Expand: Half of is , and :
Check (b) with : , and ✓
(a) ; (b)
Question 7
Given that for all values of , find and .
ShowHide solution
Expand the right side:
Compare the terms: .
Compare the number terms: , so .
Check: ✓
and
Question 8
Find the least value of and the value of at which it occurs.
ShowHide solution
Half of is , and :
The least value is , when , that is, .
Check: ✓
The least value is , when .
Question 9
Find the least value of and the value of at which it occurs.
ShowHide solution
Half of is , and
The least value is , when .
Check in decimals: ✓
The least value is (or ), when (or ).
Question 10
Show that is positive for every value of , and state its least value.
ShowHide solution
Half of is , and :
For every , , so , which is positive.
The least value, , occurs when .
is or more for every , so it is always positive. Its least value is .
Question 11
A fish supplier tests a new cold room at Jurong Fishery Port. Part-way through the test, the cooling is switched off for defrosting. The temperature in the room hours after it is switched on is °C, where for . (a) What is the temperature when the room is switched on? (b) Find the lowest temperature in the room, and when it occurs.
ShowHide solution
(a) When it is switched on, : .
(b) Complete the square in exactly as in . Half of is , and :
The least value of is , when , that is, , which lies between and .
Check: ✓
(a) °C; (b) the lowest temperature is °C, hours after the room is switched on.
Question 12
Two numbers differ by . The smaller number is . (a) Show that their product is . (b) Find the least possible value of their product, and the two numbers that give it.
ShowHide solution
(a) The larger number is , so the product is .
(b) Half of is , and :
The least value is , when , that is, . The larger number is then .
Check: ✓ and ✓
(b) The least product is , given by the numbers and .
Key Points
- To complete the square for , add the square of half the coefficient of :
- For an expression, add and subtract it:
- The bracket takes the sign of the coefficient of :
- An odd coefficient gives fractions:
- Check by expanding, or by putting the same number for into both forms.
- The least value of is , when , because a square is never negative.