Skip to content
  • Open the math solver
  • Ask the AI tutor
  • Find an AP course
  • Create a quiz
  • Open the calculator
  • Graphing Calculator
  • Browse all calculators
  • Read math guides
↑ ↓Enter to open · Esc to close
Solve a problem
AlgebraAlgebra 2High school

Quadratic Equations

Solve by factoring, completing the square or the quadratic formula; use the discriminant.

A quadratic equation can be written as ax2+bx+c=0ax^2 + bx + c = 0 with a≠0a \ne 0. Its graph is a parabola, and the solutions are the xx-intercepts. There can be two real solutions, one repeated solution, or none, depending on whether the parabola crosses, touches or misses the xx-axis.

Three methods solve every quadratic you will meet: factoring when the roots are tidy, completing the square, and the quadratic formula x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}, which always works. The discriminant b2−4acb^2 - 4ac predicts the number of real solutions before you compute them.

Key terms

Quadratic formula
The roots of a quadratic in standard form.
x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
Discriminant
Its sign tells whether there are two real, one repeated, or two complex roots.
Δ=b2−4ac\Delta = b^2 - 4ac

Key ideas

  • Set the equation equal to zero before factoring; the zero-product property needs a zero on one side.
  • Discriminant positive: two real roots; zero: one repeated root; negative: two complex roots.
  • Sum of roots is −ba-\frac{b}{a} and product is ca\frac{c}{a}, a quick check.
  • The vertex lies at x=−b2ax = -\frac{b}{2a}, halfway between the roots.

Worked example

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

  1. Discriminant: (−3)2−4(2)(−5)=9+40=49(-3)^2 - 4(2)(-5) = 9 + 40 = 49.
  2. Formula: x=3±74x = \frac{3 \pm 7}{4}.
  3. Roots: x=104=52x = \frac{10}{4} = \frac{5}{2} and x=−44=−1x = \frac{-4}{4} = -1.
  4. Check the sum: 52+(−1)=32=−ba\frac{5}{2} + (-1) = \frac{3}{2} = -\frac{b}{a}.

Answer: x=52x = \frac{5}{2} or x=−1x = -1

Common mistakes

  • Dividing both sides by xx and losing the root x=0x = 0.
  • Forgetting the ±\pm and reporting only one root.
  • Dividing only −b-b by 2a2a instead of the whole numerator.

Practice questions

Try each one, then open the answer. Numerical answers on this page are verified by an automated calculation check.

  1. 1.What is the larger root of x2−7x+12=0x^2 - 7x + 12 = 0?

    Show answer

    44

  2. 2.What is the discriminant of 3x2+2x+1=03x^2 + 2x + 1 = 0?

    Show answer

    −8-8

  3. 3.What is the positive root of x2+2x−15=0x^2 + 2x - 15 = 0?

    Show answer

    33

Keep practising

More in Algebra 2