Solving quadratic equations
Three ways to solve a quadratic equation (factoring, completing the square and the quadratic formula), how many solutions to expect, and how to choose the quickest method.
There are three methods. Factoring is quickest but only works when the numbers are kind. Completing the square always works. The quadratic formula is completing the square done once in general, so you never have to do it again.
Method 1: factoring
This rests on one fact: if two numbers multiply to zero, at least one of them is zero. So get everything on one side, with zero on the other, and factor.
Solve $2x^2 + 5x = 12$.
Method 2: completing the square
From 1B, $(x + 5)^2 = x^2 + 10x + 25$. The constant $25$ is half of $10$, squared. So to turn $x^2 + bx$ into a perfect square, add $\left(\tfrac{b}{2}\right)^2$.
Solve $x^2 - 6x - 2 = 0$ by completing the square. Give exact answers.
If the coefficient of $x^2$ isn't $1$, divide the whole equation by it first. If you end with a square equal to a negative number, such as $(x + 1)^2 = -4$, there are no real solutions, because no square is negative.
Method 3: the quadratic formula
Always work out $b^2 - 4ac$ on its own first. It is called the discriminant, and it tells you how many solutions there are before you go any further:
- positive: two solutions
- zero: one solution
- negative: no real solutions
Solve $3x^2 - 2x - 2 = 0$. Give exact answers, then answers correct to two decimal places.
The solutions of ax² + bx + c = 0 are where y = ax² + bx + c crosses the x-axis. It starts on Example 3.
Make the discriminant exactly $0$. What does the graph do? Now make it negative.
Which method should I use?
| If the question… | Use |
|---|---|
| factors easily (check $ac$ for a nice pair) | Factoring |
| asks for exact answers and doesn't factor | The formula |
| says "complete the square", or you need the vertex of a parabola | Completing the square |
Solve $2x^2 + 5x = 12$. Enter both solutions separated by &.
$2x^2 + 5x - 12 = (2x - 3)(x + 4) = 0$.
Solve $x^2 = 5x$. Enter both solutions separated by &.
$x(x - 5) = 0$. Don't divide by $x$, or you lose $x = 0$.
What number completes the square in $x^2 + 8x + \dots$?
Half of $8$ is $4$, and $4^2 = 16$.
Completing the square, $x^2 - 6x - 2 = 0$ becomes:
$x^2 - 6x + 9 = 2 + 9$.
Find the discriminant of $3x^2 - 2x - 2 = 0$.
$(-2)^2 - 4(3)(-2) = 4 + 24 = 28$.
$x^2 + 2x + 5 = 0$ has:
$b^2 - 4ac = 4 - 20 = -16$, which is negative.
The exact solutions of $x^2 - 4x + 1 = 0$ are:
$x = \dfrac{4 \pm \sqrt{12}}{2} = \dfrac{4 \pm 2\sqrt3}{2} = 2 \pm \sqrt3$.
Solve $3x^2 - 2x - 2 = 0$. Enter the positive solution correct to two decimal places.
$x = \dfrac{1 + \sqrt7}{3} \approx 1.22$.
Exam style: $x^2 - 6x + k = 0$ has exactly one solution. Find $k$.
One solution means the discriminant is zero: $36 - 4k = 0$, so $k = 9$. It is the perfect square $(x - 3)^2$.
Coaching Centre