Not every quadratic factorises neatly. has no pair of whole numbers that multiply to 2 and add to 6. Completing the square works every time, and the picture below shows why it’s called that.
See it as area
x² + 6x
Step through the stages, then change the number in front of and step through again. The corner is always half the number, squared.
Solving an equation this way
- Get the and terms on one side and the number on the other.
- Add to both sides, so the left side becomes a perfect square.
- Take the square root of both sides, remembering .
- Solve for .
For :
So or (to 2 decimal places).
When there’s a number in front of x²
Take it out as a factor of the terms, or divide the whole equation by it. Don’t divide an expression that isn’t set equal to 0: that changes it.
For , divide through by 3:
so , giving or .
Using the perfect squares
The same picture gives two expansions worth knowing by heart: and . An expression is a perfect square when it fits one of these exactly, and they link with , and . For example, if and , then .
Finding the vertex, and the least or greatest value
Once is written as , the vertex is easy to see. A square is never negative, so is smallest (0) when . Then .
A past question, step by step
Worked example · WAEC 2022
What value of will make a perfect square?
What a perfect square looks like
A perfect square is for some number . Here the term is , so is half of .
Think first. Half of is . What do you get when you expand ?
Expand it
Comparing with gives . The answer is C.
Your turn
JAMB 1997 · UME · Q13
Find the minimum value of for all real values of .
Worked solution (try it first)
- Complete the square: half of is , so .
- So.
- A square is never negative, so the minimum value is , option A.
More past questions like this
- NECO 2023 · Paper 1 · Q28What must be added to to make it a perfect square?
- JAMB 1989 · UME · Q24What value of will make the expression a complete square?
- JAMB 1987 · UME · Q28The minimum value of in the equation is
- JAMB 2002 · UME · Q31Find the maximum value of in the equation .
- JAMB 1999 · UME · Q33If the maximum value of is 13, find .
- WAEC 2017 · Paper 2 · Q12Using the method of completing the square, solve, correct to 2 decimal places, the equation .
- JAMB 1987 · UME · Q21Find the values of which make the quadratic function a perfect square.
- JAMB 1990 · UME · Q20What must be added to to make it a perfect square?
- JAMB 1997 · UME · Q15What value of will make the expression a perfect square?
- JAMB 2015 · UTME · Q30What value of will make the expression a perfect square?
- WAEC 2016 · Paper 2 · Q7Using the completing the square method, solve, correct to 2 decimal places, .
- WAEC 2018 · Paper 2 · Q12Mr John paid ₦8,400.00 for ₦1.00 ordinary shares of a company which sold at ₦2.50 per share. If a dividend was declared at …
- WAEC 2020 · Paper 2 · Q13Using a ruler and a pair of compasses only: (i) construct (α) with , …
- WAEC 2025 · Paper 2 · Q7Given , find in terms of , and .
- WAEC 2014 · Paper 2 · Q7A spherical tank of diameter is filled with water from a pipe of radius at per …
- JAMB 1990 · UME · Q17If and , find all the possible values of .
- JAMB 1990 · UME · Q19If , find .
- JAMB 2000 · UME · Q20A trader realizes naira profit from the sale of bags of corn. How many bags will give him the maximum profit?
- JAMB 2010 · UTME · Q42At what value of does the function attain a minimum value?
- JAMB 2014 · UTME · Q40Find the minimum value of .
- JAMB 2016 · UTME · Q17What value of will make the function a maximum?
- NECO 2022 · Paper 2 · Q1If , rationalise correct to 2 significant figures.