Knaph

Solving Quadratic Equations76 of 1002 min read

The Quadratic Formula

Completing the square works on every quadratic. Do it once with letters and you get a formula that solves them all. What is it, and how do you use it without slips?

Where it comes from

Start with ax2+bx+c=0ax^2 + bx + c = 0.

  1. Divide by aa: x2+bax+ca=0x^2 + \dfrac{b}{a}x + \dfrac{c}{a} = 0.
  2. Move the constant: x2+bax=−cax^2 + \dfrac{b}{a}x = -\dfrac{c}{a}.
  3. Add b24a2\dfrac{b^2}{4a^2} to both sides to complete the square: (x+b2a)2=b2−4ac4a2\left(x + \dfrac{b}{2a}\right)^2 = \dfrac{b^2 - 4ac}{4a^2}.
  4. Take both square roots: x+b2a=±b2−4ac2ax + \dfrac{b}{2a} = \pm\dfrac{\sqrt{b^2 - 4ac}}{2a}.
  5. Subtract b2a\dfrac{b}{2a}: the quadratic formula.

The formula x equals minus b plus or minus the square root of b squared minus 4ac, all over 2a, with a, b and c labelled as the numbers in front of x squared, in front of x, and alone.

Using it

The formula is x=−b±b2−4ac2ax = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a}. Read aa, bb, cc with their signs, from ax2+bx+c=0ax^2 + bx + c = 0. For 3x2−4x−1=03x^2 - 4x - 1 = 0: a=3a = 3, b=−4b = -4, c=−1c = -1. Then x=4±16+126=4±276=2±73x = \dfrac{4 \pm \sqrt{16 + 12}}{6} = \dfrac{4 \pm 2\sqrt{7}}{6} = \dfrac{2 \pm \sqrt{7}}{3}.

A missing term is 0. In x2−7x=0x^2 - 7x = 0, c=0c = 0. In 2x2−8=02x^2 - 8 = 0, b=0b = 0. Your turn: 2x2+3x−1=02x^2 + 3x - 1 = 0. Answer: a=2a = 2, b=3b = 3, c=−1c = -1, so x=−3±174x = \dfrac{-3 \pm \sqrt{17}}{4}.

Which method?

Use square roots when there is no xx term or a squared bracket. Use factoring when the quadratic factors quickly. Use the formula when nothing else is easy: it always works.

Three boxes: x squared equals 20 or (x minus 2) squared equals 9 uses square roots, x squared minus 5x equals 0 uses factoring, and 3x squared minus 4x minus 1 equals 0 uses the formula.

Careful

When bb is negative, −b-b is positive. For b=−4b = -4, −b=4-b = 4.

Try it at home

  1. Write 2x2=5x−32x^2 = 5x - 3 as ax2+bx+c=0ax^2 + bx + c = 0 and name aa, bb, cc.
  2. Solve it with the formula, then check by putting the answers back.
  3. Solve x2−2x−5=0x^2 - 2x - 5 = 0 with the formula and with completing the square. Do they agree?

Words in this lesson

  • quadratic formula - the formula x=−b±b2−4ac2ax = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a} that solves ax2+bx+c=0ax^2 + bx + c = 0.

Big idea

For ax2+bx+c=0ax^2 + bx + c = 0, x=−b±b2−4ac2ax = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a}. Get 0 on one side first and keep the signs of aa, bb and cc.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.