How to Solve x^2 - 5x + 6 = 0 Step by Step
By Know.it editorial teamPublished Updated 7 min readEnglish
Voice + animated visuals, free — no sign-in needed.
Quick answer
To solve x^2 - 5x + 6 = 0, factor it into (x - 2)(x - 3) = 0. Since a product is zero only when one factor is zero, either x - 2 = 0 or x - 3 = 0. That gives x = 2 or x = 3, and both answers check out.
In one lineA quadratic equation is an equation of the form ax^2 + bx + c = 0, where a is not zero, and solving it means finding every x value that makes the equation true.
Picture two locks on a treasure box. The equation x^2 - 5x + 6 = 0 is the box, and you need to find which keys open it. Turns out there are two keys: 2 and 3.
Let's find them the smart way, using factoring. It's just reverse multiplication, and once you spot the pattern, these puzzles become quick and even a little fun.
What is a quadratic equation?
A quadratic equation is any equation where the highest power of x is 2. The general shape is ax^2 + bx + c = 0, with a not equal to zero. In our puzzle, a = 1, b = -5 and c = 6.
Why does the power matter? Because a squared term makes the graph a U-shaped curve called a parabola. That curve can cross the x-axis at two points, one point, or not at all. Those crossing points are the solutions we're hunting for.
So when we say solve x^2 - 5x + 6 = 0, we're really asking: at which x values does this parabola touch the x-axis? For this equation, the answer is two points, x = 2 and x = 3.
Why does factoring work?
Factoring is reverse multiplication. When you expand (x - 2)(x - 3), you multiply each term and get back x^2 - 5x + 6. So writing the equation in factored form doesn't change it, it just shows its hidden structure.
The magic step is the zero product rule. If two things multiply to give zero, at least one of them must be zero. Think about it: 5 times 0 is 0, and 0 times anything is 0. There's no other way to land on zero by multiplying.
That rule is what lets us split one equation into two simple ones. It's the heart of the whole method, so it's worth saying out loud: if (x - 2)(x - 3) = 0, then x - 2 = 0 or x - 3 = 0.
Step-by-step: solve x^2 - 5x + 6 = 0
Here's the full process, one small step at a time. Follow along with a pencil, it sticks better that way.
- Write the equation in standard form: x^2 - 5x + 6 = 0. It already is, good.
- Find two numbers that multiply to +6 (the constant term) and add up to -5 (the coefficient of x).
- Those numbers are -2 and -3, because (-2) x (-3) = 6 and (-2) + (-3) = -5.
- Rewrite the middle term using them: x^2 - 2x - 3x + 6 = 0.
- Group and factor: x(x - 2) - 3(x - 2) = 0, which gives (x - 2)(x - 3) = 0.
- Set each factor to zero: x - 2 = 0 or x - 3 = 0.
- Solve each: x = 2 or x = 3. Done!
A quick check that both answers are right
Put x = 2 back in: 4 - 10 + 6 = 0. Yes. Put x = 3 back in: 9 - 15 + 6 = 0. Yes again. Both keys open the lock, so both are correct. Always do this check, it takes ten seconds and saves marks in exams.
Common mistake to avoid
The most common slip is writing x = -2 and x = -3 because those were the numbers we found. Careful: the numbers -2 and -3 are what go inside the brackets, so the factors are (x - 2) and (x - 3), and the solutions are +2 and +3. Flip the sign when you move from factor to answer.
What do the two solutions mean on a graph?
Plot y = x^2 - 5x + 6 and you get a U-shaped parabola opening upwards. It cuts the x-axis exactly at x = 2 and x = 3. Those crossing points are the solutions, also called roots or zeros.
This gives you a nice picture in your head. Solving the equation and finding where the curve meets the x-axis are the same job, just described in two languages, algebra and geometry.
If the parabola sat on the axis at only one point, you'd get one repeated solution. If it floated above the axis without touching, there would be no real solutions. Here we're lucky: two clean crossings.
Can you solve it without factoring?
Yes, and it's good to know a backup. The quadratic formula, x = (-b ± √(b^2 - 4ac)) / 2a, works on every quadratic, whether it factors neatly or not.
For our equation, b^2 - 4ac = 25 - 24 = 1. So x = (5 ± 1) / 2, which gives x = 3 or x = 2. Same answers, different road.
Factoring is faster when the numbers are friendly, like here. The formula is your reliable friend when the numbers get messy. Knowing both means you're never stuck.
Practice questions on this method
Try these in your head or on paper. Each one uses the same idea: find two numbers that multiply to the constant and add to the middle coefficient.
- x^2 - 7x + 12 = 0: the numbers are -3 and -4, so x = 3 or x = 4.
- x^2 + 5x + 6 = 0: the numbers are +2 and +3, so x = -2 or x = -3. Notice the sign flip.
- x^2 - x - 6 = 0: the numbers are -3 and +2, so x = 3 or x = -2.
- If you get stuck, fall back on the quadratic formula. It never lets you down.
Key takeaways
- A quadratic equation has the form ax^2 + bx + c = 0, and its graph is a U-shaped parabola.
- To factor x^2 - 5x + 6, find two numbers that multiply to 6 and add to -5: they are -2 and -3.
- The zero product rule says if two factors multiply to zero, at least one factor is zero.
- The solutions are x = 2 and x = 3, and both can be checked by substitution.
- The quadratic formula gives the same answers and works even when factoring is hard.
Key terms
- Quadratic equation
- An equation of the form ax^2 + bx + c = 0 where a is not zero.
- Parabola
- The U-shaped curve you get when you graph a quadratic equation.
- Factorising
- Rewriting an expression as a product of simpler expressions, the reverse of expanding.
- Zero product rule
- If two factors multiply to zero, at least one of the factors must be zero.
- Roots
- The x values that make the equation true, also called solutions or zeros.
- Coefficient
- The number multiplying a variable, like -5 in the term -5x.
- Constant term
- The number without an x in the equation, like 6 in x^2 - 5x + 6.
Practice questions
What are the solutions of x^2 - 5x + 6 = 0?
- (a) x = 2 or x = 3
- (b) x = -2 or x = -3
- (c) x = 1 or x = 6
- (d) x = 5 or x = 6
Answer key
(a) x = 2 or x = 3 — The factors are (x - 2)(x - 3), so setting each to zero gives x = 2 or x = 3.
Which two numbers multiply to 6 and add to -5?
- (a) 2 and 3
- (b) -2 and -3
- (c) 1 and 6
- (d) -1 and -6
Answer key
(b) -2 and -3 — (-2) x (-3) = 6 and (-2) + (-3) = -5, which matches the equation.
What is the factored form of x^2 - 5x + 6?
- (a) (x + 2)(x + 3)
- (b) (x - 2)(x + 3)
- (c) (x - 2)(x - 3)
- (d) (x - 1)(x - 6)
Answer key
(c) (x - 2)(x - 3) — Expanding (x - 2)(x - 3) gives x^2 - 5x + 6, matching the original expression.
Which rule lets you split (x - 2)(x - 3) = 0 into two equations?
- (a) The quadratic formula
- (b) The zero product rule
- (c) The distributive law
- (d) The Pythagoras theorem
Answer key
(b) The zero product rule — The zero product rule says a product is zero only when at least one factor is zero.
Where does the graph of y = x^2 - 5x + 6 cross the x-axis?
- (a) At x = -2 and x = -3
- (b) At x = 2 and x = 3
- (c) At x = 5 and x = 6
- (d) It never crosses the x-axis
Answer key
(b) At x = 2 and x = 3 — The x-intercepts are the solutions of the equation, which are x = 2 and x = 3.
Frequently asked questions
What are the solutions of x^2 - 5x + 6 = 0?
The solutions are x = 2 and x = 3. You get them by factoring the equation as (x - 2)(x - 3) = 0 and setting each bracket to zero. Both values satisfy the original equation, which you can confirm by substituting them back in.
Why do we set each factor equal to zero?
Because of the zero product rule: if two numbers multiply to give zero, at least one of them must be zero. So once the equation is written as (x - 2)(x - 3) = 0, either x - 2 = 0 or x - 3 = 0. That splits one equation into two easy ones.
Why are the answers +2 and +3 when the numbers we found were -2 and -3?
The numbers -2 and -3 tell you what goes inside the brackets, giving factors (x - 2) and (x - 3). To find x, you solve x - 2 = 0 and x - 3 = 0, which flips the signs. So the factors carry the minus signs, and the solutions come out positive.
What does the graph of x^2 - 5x + 6 look like?
It's a parabola opening upwards, because the coefficient of x^2 is positive. The curve crosses the x-axis at x = 2 and x = 3, and those crossing points are exactly the solutions of the equation. The lowest point of the curve sits halfway between them.
Can I use the quadratic formula instead of factoring?
Yes. The formula x = (-b ± √(b^2 - 4ac)) / 2a works for every quadratic equation. Here b^2 - 4ac = 25 - 24 = 1, so x = (5 ± 1) / 2, giving x = 3 or x = 2. Factoring is quicker when the numbers are simple, but the formula always works.
Quick recap: We took x^2 - 5x + 6 = 0, found two numbers that multiply to 6 and add to -5, and wrote it as (x - 2)(x - 3) = 0. The zero product rule then gave us x = 2 and x = 3, and both checked out. Same method, any friendly quadratic.
Sources and further reading
- Watch the animated lesson: How to Solve x^2 - 5x + 6 = 0 Step by Step (Know.it)
- Quadratic equation - Wikipedia — en.wikipedia.org
- Factoring quadratics - Khan Academy — khanacademy.org
- Parabola - Wikipedia — en.wikipedia.org
Know.it editorial team
Written by the Know.it editorial team from the script of an animated Know.it lesson, checked against the lesson's own facts and the sources listed below. Know.it turns any question into a short visual lesson with voice and animation.
Reviewed: 10 November 2026 · Editorial standards · AI transparency
Related lessons and guides
- General · EnglishWhy is the sky blue?
- General · EnglishHttps://www.youtube.com/watch?v=Jm00rs_H4yS8o summerize it and and imp formulas for solveing tmrs exam and i…
- General · EnglishEasy explanation and number system
- General · EnglishSmall conversation
- General · EnglishWhat is Consumer Psychology?
- General · EnglishARM Cortex-M architecture. Draw and the architecture diagram step by step

