2.4 Solving quadratic equations, including in a function of the unknown — Learn
Prerequisites: factorising from 2.3; the discriminant; completing the square; the index laws from 2.1 and surds from 2.2.
By the end of this section you can: solve a quadratic equation by factorising, by completing the square, and by the formula; choose the method that fits; and recognise and solve an equation that is quadratic in a function of the unknown, such as , or .
1. Choose a method
A quadratic equation has the form . Four methods solve it, and the numbers tell you which to use.
| Method | Use it when | What it gives |
|---|---|---|
| Factorising | the roots are whole numbers or simple fractions | exact roots, quickly |
| Completing the square | the coefficient is and the roots contain a surd | exact roots, and the vertex |
| The formula | factorising fails and | exact roots, always |
| A graph | the question asks where the curve meets a line | an estimate |
The formula solves every quadratic equation:
The expression is the discriminant from 2.3. When it is negative, there is no real solution and the method stops there.
2. Factorising and the formula
Example 1. Solve .
Look for two numbers that multiply to and add to . The numbers are and . Split the middle term and factorise in pairs:
A product is zero when one of its factors is zero:
so or .
Example 2. Solve , giving the answer in surd form.
No whole-number pair multiplies to and adds to , so use the formula with , and :
Work out the discriminant:
The two roots are and .
3. Completing the square to solve
When and the roots contain a surd, completing the square is often quicker than the formula.
Example 3. Solve by completing the square.
Move the constant to the right:
Complete the square on the left. Half of is , and , so
Add to both sides, then take the square root:
So
4. Quadratic in a function of the unknown
An equation can be a quadratic even when it is not written with an . Look for a repeated expression, such as inside an , or inside a . Replace the repeated expression with a single letter, solve the quadratic, then put the expression back.
Example 4. Solve .
The term is , so let . Then
Factorise:
so or . Now replace with :
Taking both signs of each square root gives and .
Example 5. Solve .
The term is , so let . Then
which factorises as . So or . Replace with :
Since and , the solutions are and .
Example 6. Solve , where .
The expression appears twice, once squared, so let :
Factorise as , so or . Replace with :
so or . Both values are allowed, because neither is zero.
Watch out. The substitution is not finished until you replace and check every value.
Stopping at . The answer to Example 4 is a value of , not a value of . Writing or leaves the question unanswered.
Throwing away a root. has two solutions, and . Do not drop the negative one.
Adding a root by squaring. Squaring both sides of gives , so or . The value is extraneous: it makes the right side , while a square root is never negative. Re-check: substitute every answer into the original equation, and reject any value that fails.
Progress check
Return to the chapter problem. The arch is , and the lorry roof is m above the road.
- The lorry fits under the arch at a distance from the centre if . Solve the equation .
- The two solutions are the points where the roof grazes the arch. How wide is the arch at the height of the lorry roof?
- The lorry is m wide. Explain why this calculation answers a different question from the one about the lorry's width.
- Solve .
You should now be able to
- choose between factorising, completing the square and the formula;
- solve a quadratic equation with surd roots by completing the square;
- recognise a repeated expression and substitute for it;
- solve a quadratic in and then recover the values of ;
- reject an extraneous root created by squaring both sides.