Prerequisites: lines, exponents, logs, trig

Solving quadratic equations

A quadratic equation is solved from a product equal to 00 when it factors, and with the quadratic formula when it does not.

ax2+bx+c=0 (a≠0)⇒ x=−b±b2−4ac2a\begin{gathered} ax^2+bx+c=0\ (a\neq 0) \\[4pt] \Rightarrow\ x=\frac{-b\pm\sqrt{b^2-4ac}}{2a} \end{gathered}

If AB=0AB=0, then A=0A=0 or B=0B=0. For (x+2)(x−3)=0(x+2)(x-3)=0, x+2=0x+2=0 or x−3=0x-3=0, so x=−2, 3x=-2,\ 3. The sign of each solution is opposite to the sign inside its parentheses.

Conversely, an equation with solutions x=α, βx=\alpha,\ \beta is (x−α)(x−β)=x2−(α+β)x+αβ=0(x-\alpha)(x-\beta)=x^2-(\alpha+\beta)x+\alpha\beta=0. With solutions −5, −2-5,\ -2, it is x2+7x+10=0x^2+7x+10=0.

When factoring is hard, use the quadratic formula. aa, bb and cc are the coefficient of x2x^2, the coefficient of xx and the constant term, read together with their signs.

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

Examples

  1. 01What is a in the quadratic formula?3x2−6x−1=0\displaystyle 3x^2-6x-1 = 0AnswerHide
    Answer3\displaystyle 3

    Steps

    1. a\displaystyle a=3\displaystyle = 3b\displaystyle b=−6\displaystyle = -6c\displaystyle c=−1\displaystyle = -1
  2. 02What are the solutions?(x+2)(x−3)=0\displaystyle (x+2)(x-3) = 0AnswerHide
    Answerx=−2, 3\displaystyle x=-2,\ 3

    Steps

    1. x+2=0\displaystyle x+2 = 0⇒x=−2\displaystyle \Rightarrow x = -2x−3=0\displaystyle x-3 = 0⇒x=3\displaystyle \Rightarrow x = 3
  3. 03Which is the larger root?(x+1)(x−4)=0\displaystyle (x+1)(x-4) = 0AnswerHide
    Answer4\displaystyle 4

    Steps

    1. x+1=0\displaystyle x+1 = 0⇒x=−1\displaystyle \Rightarrow x = -1x−4=0\displaystyle x-4 = 0⇒x=4\displaystyle \Rightarrow x = 4
  4. 04What is b in the quadratic formula?3x2+x+4=0\displaystyle 3x^2+x+4 = 0AnswerHide
    Answer1\displaystyle 1

    Steps

    1. a\displaystyle a=3\displaystyle = 3b\displaystyle b=1\displaystyle = 1c\displaystyle c=4\displaystyle = 4
  5. 05What are the solutions?(x+4)(x−1)=0\displaystyle (x+4)(x-1) = 0AnswerHide
    Answerx=−4, 1\displaystyle x=-4,\ 1

    Steps

    1. x+4=0\displaystyle x+4 = 0⇒x=−4\displaystyle \Rightarrow x = -4x−1=0\displaystyle x-1 = 0⇒x=1\displaystyle \Rightarrow x = 1
  6. 06What are the solutions?x2=16\displaystyle x^2 = 16AnswerHide
    Answerx=±4\displaystyle x=\pm 4

    Steps

    1. 42\displaystyle 4^2=16\displaystyle = 16(−4)2\displaystyle (-4)^2=16\displaystyle = 16
    2. Both square to the same value, so
    3. x\displaystyle x=±4\displaystyle = \pm 4

FAQ

Q1Are the solutions of (x+4)(x−1)=0(x+4)(x-1)=0 x=4, −1x=4,\ -1?AnswerHide
A
The signs are reversed. x+4=0x+4=0 gives x=−4x=-4, and x−1=0x-1=0 gives x=1x=1, so the solutions are x=−4, 1x=-4,\ 1.
Q2For 3x2−6x−1=03x^2-6x-1=0, is b=6b=6 in the quadratic formula?AnswerHide
A
bb includes its sign, so b=−6b=-6. Substitute a=3a=3, b=−6b=-6, c=−1c=-1.

Published 2026-10-14 · Updated 2026-10-14