Professional Documents
Culture Documents
In order to master the techniques explained here it is vital that you undertake plenty of practice
exercises so that all this becomes second nature. To help you to achieve this, the unit includes
a substantial number of such exercises.
After reading this text, and/or viewing the video tutorial on this topic, you should be able to:
Contents
1. Introduction 2
2. The minimum value of a quadratic function 2
3. What is meant by a complete, or exact, square ? 2
4. Completing the square - when the coecient of x2 is 1 3
5. Completing the square - when the coecient of x2 is not 1 5
1
c mathcentre August 7, 2003
1. Introduction
Completing the Square is a technique which can be used to nd maximum or minimum
values of quadratic functions. We can also use this technique to change or simplify the form of
algebraic expressions. We can use it for solving quadratic equations.
In this unit we will be using Completing the Square to nd maximum and minimum values of
quadratic functions.
c mathcentre August 7, 2003 2
4. Completing the square - when the coefficient of x2 is 1
We now return to the quadratic expression x2 + 5x 2 and we are going to try to write it in
the form of a single term squared, that is a complete square, in this case (x + a)2 .
Compare the two expressions:
x2 + 2ax + a2 and x2 + 5x 2
Clearly the coecients of x2 in both expressions are the same - they match up.
We would like to match up the term 2ax with the term 5x. To do this note that 2a must equal
5
5, so that a = .
2
Recall that
(x + a)2 = x2 + 2ax + a2
With this value of a 2 2
5 2 5
x+ = x + 5x +
2 2
At this stage we have nished completing the square for the quadratic expression x2 + 5x 2.
This
expression
2 is not a complete or exact square because in addition to the complete square
5 33
x+ there is the constant term .
2 4
Having written the expression x2 + 5x 2 in this formit2 is now straightforward to nd its
5
minimum value. This is because the rst part, x + being a square, is always positive
2
unless it is equal to zero. Zero is its lowest possible value andso the lowest possible value of
2
33 5
x2 + 5x 2 must be . This lowest value will occur when x + is zero, that is when
4 2
5
x= .
2
3
c mathcentre August 7, 2003
33
In conclusion, we have shown that the minimum value of x2 + 5x 2 is and this occurs
4
5
when x = .
2
Example
Suppose we wish to nd the minimum value of the quadratic function f (x) = x2 6x 12.
Compare the two expressions:
x2 2ax + a2 and x2 6x 12
Clearly the coecients of x2 in both expressions are the same - they match up.
We would like to match up the term 2ax with the term 6x. To do this note that 2a must
be 6, so that a = 3.
Recall that
(x a)2 = x2 2ax + a2
With this value of a
(x 3)2 = x2 6x + 9
However the right hand side is not yet the same as our original function x2 6x 12. To make
it the same we subtract 9 from both sides:
(x 3)2 9 = x2 6x + 9 9
(x 3)2 9 12 = x2 6x 12
So we have
x2 6x 12 = (x 3)2 9 12
= (x 3)2 21
Exercises
1. Complete the square for each of the following expressions
c mathcentre August 7, 2003 4
5. Example where the coefficient of x2 is not 1
We now consider a more complicated example where the coecient of x2 is not 1.
Consider f (x) = 2x2 6x + 1.
The rst step is to take the 2 out as a common factor as follows:
1
2x 6x + 1 = 2 x 3x +
2 2
2
We now complete the square as before with the bracketed term.
Compare the two expressions:
1
x2 2ax + a2 and x2 3x +
2
Clearly the coecients of x2 in both expressions are the same - they match up.
We would like to match up the term 2ax with the term 3x. To do this note that 2a must be
3
3, so that a = .
2
Recall that
(x a)2 = x2 2ax + a2
With this value of a 2 2
3 3
x = x 3x +
2
2 2
1
However the right hand side is not yet the same as the original bracketed expression x 3x + . 2
2
2
3
To make it the same we subtract from both sides
2
2 2 2 2
3 3 3 3
x = x 3x +
2
2 2 2 2
1
and then add to both sides:
2
2 2
3 3 1 1
x + = x2 3x +
2 2 2 2
So
2
2
1 3 3 1
x 3x +
2
= x +
2 2 2 2
2 2
3 3 1
= x +
2 2 2
2
3 7
= x
2 4
So 2
3 7
2x2 6x + 1 = 2 x
2 4
We have completed the square for the quadratic function 2x2 6x + 1.
5
c mathcentre August 7, 2003
7 7 3
The minimum value of the function f (x) will be 2 = when x = .
4 2 2
Example
In this Example we will consider a quadratic function for which the coecient of x2 is negative.
Consider the function f (x) = 3 + 8x 2x2 . We operate in the same way as before, taking out
the factor multiplying the x2 .
3
3 + 8x 2x2 = 2(x2 4x )
2
We now deal with just the bracketed term as before.
Compare the two expressions:
3
x2 2ax + a2 and x2 4x
2
Clearly the coecients of x2 in both expressions are the same - they match up.
We would like to match up the term 2ax with the term 4x. To do this note that 2a must be
4, so that a = 2. As before we note
(x a)2 = x2 2ax + a2
With a = 2
(x 2)2 = x2 4x + 4
3
This is not yet the same as the original expression x2 4x . To make it the same we can
2
subtract 4 from each side:
(x 2)2 4 = x2 4x + 4 4
3
and subtract from each side:
2
3 3
(x 2)2 4 = x2 4x
2 2
so that
3 3
x2 4x = (x 2)2 4
2 2
11
= (x 2)2
2
Then multiplying both sides by 2 in order to recover our original function
11
3 + 8x 2x = 2 (x 2)
2 2
2
c mathcentre August 7, 2003 6
Exercises
Answers
4. 17 369
a) b) 9 c)
2 20
2 2
5. 9 2
a) [(x 2)2 14] b) x + 129
4
c) 3 x+ 28
9
2 3
2 2 2
3 1 1
d) 2 x 23
4
e) 3 x + 49 f) 3 x 4
9
2 3 3
6. a) 10 b) 17 c) 11
7
c mathcentre August 7, 2003