Algebra • Step-by-Step

Solve x² - 6x + 8 = 0 with Steps

Find the roots of x² - 6x + 8 = 0 step by step. Factor into (x - 2)(x - 4) = 0 to get x = 2 and x = 4.

Problem Statement
x2−6x+8=0x^2 - 6x + 8 = 0
Final Result
x1=2,x2=4x_1 = 2, \quad x_2 = 4

Formula Required: Trinomial Factoring

-2 and -4 multiply to 8 and add to -6.

(x−2)(x−4)=0(x - 2)(x - 4) = 0

Step-by-Step Solution

6 Steps
1

Write the equation in standard quadratic form $ax^2 + bx + c = 0$.

x2−6x+8=0x^2 - 6x + 8 = 0
2

Find two numbers that multiply to $c = 8$ and add up to $b = -6$.

(−2)×(−4)=8,(−2)+(−4)=−6(-2) \times (-4) = 8, \quad (-2) + (-4) = -6
3

Write the quadratic expression in factored form.

(x−2)(x−4)=0(x - 2)(x - 4) = 0
4

Set each factor equal to zero and solve for $x$.

x−2=0  ⟹  x1=2orx−4=0  ⟹  x2=4x - 2 = 0 \implies x_1 = 2 \quad \text{or} \quad x - 4 = 0 \implies x_2 = 4
5

Verify each root by substituting back into the original equation.

Check x=2:  (2)2−6(2)+8=4−12+8=0  ✓Check x=4:  (4)2−6(4)+8=16−24+8=0  ✓\text{Check } x = 2: \; (2)^2 - 6(2) + 8 = 4 - 12 + 8 = 0 \;\checkmark \\[6pt] \text{Check } x = 4: \; (4)^2 - 6(4) + 8 = 16 - 24 + 8 = 0 \;\checkmark
6

Structural Insight (Vieta's Formulas): Notice how the sum and product of the roots directly confirm the original coefficients.

Sum of roots: x1+x2=−ba=6,Product: x1⋅x2=ca=8\text{Sum of roots: } x_1 + x_2 = -\frac{b}{a} = 6, \quad \text{Product: } x_1 \cdot x_2 = \frac{c}{a} = 8

Try It Yourself or Edit Equation

Interactive Calculator
1. Operation

Awaiting Input

Enter any equation like 2x + 8 = 20 or x² - 5x + 6 = 0 to get step-by-step solutions.

Common Questions About Solve x² - 6x + 8 = 0

What are the roots of x² - 6x + 8 = 0?

x = 2 and x = 4.

Related Math Problems with Steps