Worked example · Quadratic Equations

Solve the quadratic equation x² − 5x + 6 = 0

Press play to watch the AI teacher solve this algebra question on the whiteboard, step by step. This is exactly what you get when you upload your own question.

Step 1 of 5
Whiteboard
Identify the equation

We have a quadratic in the standard form ax² + bx + c = 0 with a = 1, b = −5, c = 6.

ax² + bx + c = 0
Let us start by comparing the given equation with the standard form ax squared plus bx plus c equals zero.
Step 1 · 0.0s / 7.0s0% complete

Written solution

  1. Step 1: Identify the equation

    We have a quadratic in the standard form ax² + bx + c = 0 with a = 1, b = −5, c = 6.

    ax² + bx + c = 0

  2. Step 2: Find two numbers that multiply to c and add to b

    We need two numbers whose product is 6 (the value of c) and whose sum is −5 (the value of b).

    product = 6, sum = −5

  3. Step 3: Split the middle term

    Rewrite −5x as −2x − 3x using the numbers we found.

    x² − 2x − 3x + 6 = 0

  4. Step 4: Factor by grouping

    Group the first two and last two terms and take out common factors.

    x(x − 2) − 3(x − 2) = 0 ⇒ (x − 2)(x − 3) = 0

  5. Step 5: Solve for x

    A product equals zero when either factor is zero, so x − 2 = 0 or x − 3 = 0.

    x = 2 or x = 3

Answer: x = 2 or x = 3