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
EasyQuadratic EquationsAlgebra

Solve x2−5x+6=0x^2 - 5x + 6 = 0.

A quadratic that factors over the integers.

Try it first: work the problem on paper, then open the solution below and compare each step.
Show the step-by-step solution

Final answer

x1=2,x2=3x_1 = 2,\quad x_2 = 3

How we read your problem

A quadratic equation in x: solve with the quadratic formula.

x2−5 x+6=0{ x}^{2}-5~ x+6 = 0

Step-by-step solution

  1. Start with the equation

    x2−5 x+6=0{ x}^{2}-5~ x+6 = 0
  2. Move every term to one side to get standard form

    x2−5x+6=0x^{2} - 5x + 6 = 0
  3. Compute the discriminant

    Δ=b2−4ac=(−5)2−4⋅1⋅6=1\Delta = b^2 - 4ac = (-5)^2 - 4 \cdot 1 \cdot 6 = 1
  4. Δ > 0, so there are two distinct real roots

  5. Apply the quadratic formula

    x=−b±Δ2a=5±12=5±12x = \frac{-b \pm \sqrt{\Delta}}{2a} = \frac{5 \pm \sqrt{1}}{2} = \frac{5 \pm 1}{2}
  6. Simplify each root

    x1=5−12=2,x2=5+12=3x_1 = \frac{5 - 1}{2} = 2,\quad x_2 = \frac{5 + 1}{2} = 3
  7. Factored form

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

Formulas used

  • Quadratic formula

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

    Δ=b2−4ac\Delta = b^2 - 4ac
  • Vertex

    (−b2a, c−b24a)\left(-\frac{b}{2a},\ c - \frac{b^2}{4a}\right)

The quadratic formula gives every solution of ax² + bx + c = 0.

Verification

  • x = 2: left side = 0, right side = 0 ✓
  • x = 3: left side = 0, right side = 0 ✓

About quadratic equations

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

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

Check your own work