Lesson 10

Solving quadratics using the quadratic formula

Theory and examples

Why we need another method

Factorising is excellent when the quadratic breaks apart nicely. But some quadratics do not have obvious integer factors. The quadratic formula is the reliable tool we use when factorising feels messy, slow, or impossible.

Factorising feels friendly

x2−5x+6=0x^2-5x+6=0
(x−2)(x−3)=0(x-2)(x-3)=0

The factors are easy to spot.

Factorising is ugly

2x2+3x−7=02x^2+3x-7=0

This equation has unfriendly factors, spotting them is nearly impossible.

see factors
2(x−−3+654)(x−−3−654)=02\left(x-\frac{-3+\sqrt{65}}{4}\right)\left(x-\frac{-3-\sqrt{65}}{4}\right)=0

This is where the formula becomes useful.

Standard form first

The quadratic formula only works cleanly after the equation is written in standard/expanded form.

Standard form

ax2+bx+c=0ax^2+bx+c=0
aa

coefficient of x2x^2

bb

coefficient of xx

cc

constant term

The signs matter. In 2x2−3x+7=02x^2-3x+7=0, the value of bb is −3-3, not 33.

The quadratic formula

Key idea

If ax2+bx+c=0ax^2+bx+c=0, then the solutions are:

x=−b±b2−4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}

The symbol ±\pm means two calculations: one with plus, and one with minus.

Plus

x=−b+b2−4ac2ax=\frac{-b+\sqrt{b^2-4ac}}{2a}

Minus

x=−b−b2−4ac2ax=\frac{-b-\sqrt{b^2-4ac}}{2a}

Sometimes those two calculations give two different answers. Sometimes they collapse into the same answer. The next lesson explains exactly how to predict that.

Exact answers

Unless a question asks for decimals, leave square-root answers in exact surd form.

−3+654is exact\frac{-3+\sqrt{65}}{4}\quad \text{is exact}
−3+8.06226...4is not exact\frac{-3+8.06226...}{4}\quad \text{is not exact}

Worked examples

Example 1: use the formula on a familiar quadratic

Solve x2−5x+6=0x^2-5x+6=0 using the quadratic formula.

Identify the values.

a=1,b=−5,c=6a=1,\quad b=-5,\quad c=6

Substitute carefully.

x=−(−5)±(−5)2−4(1)(6)2(1)x=\frac{-(-5)\pm\sqrt{(-5)^2-4(1)(6)}}{2(1)}

Simplify.

x=5±25−242x=\frac{5\pm\sqrt{25-24}}{2}
x=5±12x=\frac{5\pm1}{2}
x=3orx=2x=3 \quad \text{or} \quad x=2

These are the same answers factorising would have given. The formula agrees with what we already know.

Example 2: when factorising is not neat

Solve 2x2+3x−7=02x^2+3x-7=0.

Identify the values.

a=2,b=3,c=−7a=2,\quad b=3,\quad c=-7

Substitute into the formula.

x=−3±32−4(2)(−7)2(2)x=\frac{-3\pm\sqrt{3^2-4(2)(-7)}}{2(2)}

Simplify the square root part.

x=−3±9+564x=\frac{-3\pm\sqrt{9+56}}{4}
x=−3±654x=\frac{-3\pm\sqrt{65}}{4}

The answers are exact. They are not neat integers, and that is exactly why the formula is useful.

Example 3: rearrange first

Solve x2+4x=1x^2+4x=1.

First, make one side zero.

x2+4x−1=0x^2+4x-1=0

Now identify the values.

a=1,b=4,c=−1a=1,\quad b=4,\quad c=-1

Use the formula.

x=−4±42−4(1)(−1)2(1)x=\frac{-4\pm\sqrt{4^2-4(1)(-1)}}{2(1)}
x=−4±202x=\frac{-4\pm\sqrt{20}}{2}
x=−2±5x=-2\pm\sqrt{5}

Common traps

Trap 1: losing the sign of b

If b=−5b=-5, then −b=5-b=5. The negative sign in the formula must be handled carefully.

−(−5)=5-(-5)=5

Trap 2: forgetting the whole denominator

The denominator is 2a2a for the whole numerator, not just part of it.

x=−b±b2−4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}

Summary

The quadratic formula is a reliable way to solve any quadratic in standard form. First identify aa, bb, and cc, then substitute carefully and simplify.

Optional mastery

Mastery questions

Do you want a high study score? Be disciplined. Do the mastery questions.

Open mastery questions

Checkpoint

Multiple-choice questions

Answer every question correctly to unlock the next lesson. If something is marked red, change your answer and check again.

Question 1
Before using the quadratic formula, what form should the equation be in?
Question 2
For 3x2−5x+2=03x^2-5x+2=0, what are aa, bb, and cc?
Question 3
In the formula x=−b±b2−4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}, what does ±\pm mean?
Question 4
Which substitution correctly begins solving x2−4x−1=0x^2-4x-1=0?
Question 5
Why is the quadratic formula useful for equations like 2x2+3x−7=02x^2+3x-7=0?