Resources For Teachers For Tutors For Students & Parents AI New Pricing
Year 9 Maths Introduction to Quadratic Equations and Graphs

Solving x^2+bx+c=0

20 practice questions 1 video lesson Theory + worked examples
Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 1 video(s)
  • Solving x^2+bx+c=0 - Video - How To Solve Quadratic Equations By Factoring Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

A quadratic equation such as \(x^2 - 5x + 6 = 0\) usually has two solutions. This Year 9 maths page shows how to solve it by factorising and using the null factor law, how to rearrange an equation so that one side is zero, how to find a missing coefficient from a known solution, and how to set up and solve quadratic equations from real problems.

A quadratic equation has \(x^2\) as its highest power. Its standard form is \(x^2 + bx + c = 0\), with every term on one side and zero on the other.

The null factor law: if two numbers multiply to give zero, at least one of them is zero. So if \((x - 2)(x - 5) = 0\), then \(x - 2 = 0\) or \(x - 5 = 0\).

The values of \(x\) that make the equation true are its solutions (or roots). A quadratic equation can have two solutions, one solution (when it is a perfect square), or none.

In a problem, a solution may not make sense, such as a negative length or time. Reject it and say why.

The null factor lawIf A times B equals 0 then A equals 0 or B equals 0. For (x minus 3)(x plus 1) equals 0 this gives x equals 3 or x equals minus 1. A Γ— B = 0 A = 0 B = 0 or (x βˆ’ 3)(x + 1) = 0 x βˆ’ 3 = 0 or x + 1 = 0 x = 3 or x = βˆ’1
The null factor law only works because the right side is \(0\). Make one side zero before factorising.
Solutions of a quadratic equation as x-interceptsThe parabola y equals x squared plus 2x minus 8 crosses the x-axis at x equals minus 4 and x equals 2, the solutions of x squared plus 2x minus 8 equals 0. xyβˆ’6βˆ’24βˆ’6βˆ’4βˆ’2246βˆ’42y = x2 + 2x βˆ’ 8
The solutions of \(x^2 + 2x - 8 = 0\) are where the parabola meets the \(x\)-axis: \((x + 4)(x - 2) = 0\) gives \(x = -4\) or \(x = 2\).

The null factor law:

\[\text{If } ab = 0, \text{ then } a = 0 \text{ or } b = 0\]
ab=0⇒a=0 or b=0

So \((x - p)(x - q) = 0\) has solutions \(x = p\) and \(x = q\). Notice the signs change: \((x + 6) = 0\) gives \(x = -6\).

Factorising \(x^2 + bx + c\). Find two numbers that multiply to \(c\) and add to \(b\). For \(x^2 - 4x - 21\): \(-7 \times 3 = -21\) and \(-7 + 3 = -4\), so \(x^2 - 4x - 21 = (x - 7)(x + 3)\). If \(c\) is negative the two numbers have opposite signs. If \(c\) is positive they have the same sign as \(b\).
A known solution. If \(x = 2\) is a solution of \(x^2 + kx - 10 = 0\), substitute it: \(4 + 2k - 10 = 0\), so \(k = 3\). Then \(x^2 + 3x - 10 = (x + 5)(x - 2) = 0\), and the other solution is \(x = -5\).

How to solve a quadratic equation by factorising

  1. Expand any brackets if the right side is not zero.
  2. Rearrange so that one side is \(0\), with the \(x^2\) term positive.
  3. Divide through by any common number factor (never by \(x\)).
  4. Factorise the quadratic.
  5. Use the null factor law: set each factor equal to \(0\) and solve.
  6. Check each solution in the original equation. In a problem, reject any that do not make sense.

How to set up a quadratic equation from a problem

  1. Choose a pronumeral for one unknown and write the others in terms of it.
  2. Use the fact in the question (an area, a product, a formula) to write an equation. Two consecutive whole numbers are \(x\) and \(x + 1\): if their product is \(56\), then \(x(x + 1) = 56\).
  3. Solve, then answer the question in words with units.
Example 1 β€” The null factor law
Solve:
(i) \((x + 4)(x - 7) = 0\)
(ii) \(5x^2 - 20x = 0\)
Solution

(i) One of the brackets must be zero.

\(x + 4 = 0\)\(\text{or}\)\(x - 7 = 0\)
\(\boldsymbol{x = -4}\)\(\text{or}\)\(\boldsymbol{x = 7}\)

(ii) Factorise with the HCF \(5x\). Do not divide both sides by \(x\): that loses the solution \(x = 0\).

\(5x(x - 4)\)\(=\)\(0\)
\(5x = 0\)\(\text{or}\)\(x - 4 = 0\)
\(\boldsymbol{x = 0}\)\(\text{or}\)\(\boldsymbol{x = 4}\)
x=0 or x=4
Example 2 β€” Make one side zero first
Solve:
(i) \(x^2 = 7x - 10\)
(ii) \((x - 2)(x + 5) = 8\)
Solution

(i) Move every term to the left side, then factorise.

\(x^2 - 7x + 10\)\(=\)\(0\)
\((x - 2)(x - 5)\)\(=\)\(0\)
\(\boldsymbol{x = 2}\)\(\text{or}\)\(\boldsymbol{x = 5}\)

(ii) The right side is \(8\), not \(0\), so the null factor law cannot be used yet. Expand and subtract \(8\).

\(x^2 + 3x - 10\)\(=\)\(8\)
\(x^2 + 3x - 18\)\(=\)\(0\)
\((x + 6)(x - 3)\)\(=\)\(0\)
\(\boldsymbol{x = -6}\)\(\text{or}\)\(\boldsymbol{x = 3}\)
x=−6 or x=3

Check \(x = 3\): \((3 - 2)(3 + 5) = 1 \times 8 = 8\). ✓

Example 3 β€” A common factor and a perfect square
Solve:
(i) \(3x^2 - 3x - 36 = 0\)
(ii) \(x^2 + 14x + 49 = 0\)
Solution

(i) Divide both sides by \(3\) (it is not zero), then factorise.

\(x^2 - x - 12\)\(=\)\(0\)
\((x - 4)(x + 3)\)\(=\)\(0\)
\(\boldsymbol{x = -3}\)\(\text{or}\)\(\boldsymbol{x = 4}\)

(ii) This is a perfect square, so both brackets give the same solution.

\((x + 7)^2\)\(=\)\(0\)
\(x + 7\)\(=\)\(0\)
\(x\)\(=\)\(\boldsymbol{-7}\)
x=−7

A perfect square gives only one solution.

Example 4 β€” A problem in context
A rectangular photo is \(3\) cm longer than it is wide. Its area is \(108\) cm\(^2\). Find its width and length.
Solution

Let the width be \(x\) cm. Then the length is \((x + 3)\) cm. Area \(=\) length \(\times\) width:

\(x(x + 3)\)\(=\)\(108\)
\(x^2 + 3x - 108\)\(=\)\(0\)
\((x + 12)(x - 9)\)\(=\)\(0\)
\(x = -12\)\(\text{or}\)\(x = 9\)

A width cannot be negative, so reject \(x = -12\).

\(\text{width}\)\(=\)\(\mathbf{9}\textbf{ cm}\)
\(\text{length}\)\(=\)\(9 + 3 = \mathbf{12}\textbf{ cm}\)
9×12=108

Check: \(9 \times 12 = 108\). ✓

Common pitfalls

Make one side zero first. \((x - 1)(x + 2) = 10\) does not mean \(x - 1 = 10\). Expand, subtract \(10\), then factorise.
Never divide by \(x\). Dividing \(x^2 = 8x\) by \(x\) gives only \(x = 8\). Rearrange instead: \(x(x - 8) = 0\), so \(x = 0\) or \(x = 8\).
Watch the sign change. \((x + 5)(x - 2) = 0\) gives \(x = -5\) or \(x = 2\), not \(x = 5\) or \(x = -2\).
Answer the question. In a problem, reject impossible solutions such as a negative length, and give the measurement asked for.

Frequently asked questions

What is the null factor law?

If two numbers multiply to give zero, at least one of them must be zero. It lets you solve \((x - p)(x - q) = 0\) by setting each bracket equal to zero.

Why must one side be zero?

The null factor law only works for a product equal to zero. If \((x - 1)(x + 2) = 10\), the brackets could be \(2\) and \(5\), or many other pairs, so you must rearrange first.

How many solutions can a quadratic equation have?

Two, one or none. A perfect square such as \((x - 3)^2 = 0\) has only one solution, \(x = 3\).

Why do some answers get rejected?

In a real problem a solution can be impossible, such as a negative length or a negative time. Both values solve the equation, but only one answers the question.

How do I check my solutions?

Substitute each solution into the original equation. Both sides should give the same value.