Set it equal to zero and you get the roots x = 0 and x = 25. Below is the method in plain words, so you can handle any expression with no constant term on your own.
How do you factor x² − 25x step by step?
Look at the two terms, x² and −25x. Written out, x² is x × x and 25x is 25 × x, so the one thing they share is a single x. That shared piece is the greatest common factor. If finding common factors with bigger numbers feels shaky, the greatest common factor of 32 and 48 shows the same idea with plain numbers.
- Find the greatest common factor of x² and 25x: it is x.
- Write x outside a pair of brackets.
- Divide each term by x: x² ÷ x = x and −25x ÷ x = −25.
- Put those results inside: x(x − 25).
- Check by expanding: x × x = x² and x × (−25) = −25x, which gives back x² − 25x.
The solver on this page frames it as a number search. It looks for two numbers that multiply to a × c = 0 and add to b = −25. Those numbers are 0 and −25, which gives (x + 0)(x − 25), and (x + 0) is just x. Same answer, different route.
Why does taking out x work?
Factoring is the distributive property run backwards. Expanding x(x − 25) means multiplying x by each term inside: x × x = x² and x × (−25) = −25x. Factoring starts with the result and rebuilds the product.
Because there is no constant term, one of the two numbers in the pair is always 0. That is why one factor is simply x on its own.
When an expression looks like x² + bx, with nothing added at the end, take out x. You never need to hunt for a number pair.
Is x² − 25x a difference of squares?
No, and this is the mix-up I see most often with this exact search. The similar-looking x² − 25 is a difference of squares, and it factors as (x + 5)(x − 5) because x² and 25 are both perfect squares.
In x² − 25x the second term is 25x, not 25. It is not a perfect square, because a square would need an x² in it. So the shortcut does not apply, and the common factor x is the tool to use.
The answers are easy to tell apart. x² − 25 has roots 5 and −5. x² − 25x has roots 0 and 25. If your answer has 5 in it, the x probably got lost along the way.
What are the roots of x² − 25x = 0?
Once the expression is factored, use the zero product rule: if two things multiply to give zero, at least one of them is zero. So x(x − 25) = 0 means x = 0 or x − 25 = 0, which gives x = 25.

The quadratic formula agrees. The discriminant is b² − 4ac = (−25)² − 4 × 1 × 0 = 625, and √625 = 25. Then x = (25 ± 25) ÷ 2, which gives 50 ÷ 2 = 25 and 0 ÷ 2 = 0.
On a graph, y = x² − 25x is a parabola opening upward that crosses the x-axis at 0 and 25. The lowest point sits halfway between the roots, at x = 12.5, where y = −156.25.
| x | 0 | 5 | 12.5 | 20 | 25 | 30 |
|---|---|---|---|---|---|---|
| x² − 25x | 0 | −100 | −156.25 | −100 | 0 | 150 |
The values are symmetric around 12.5, which is a handy way to catch an arithmetic slip.
Is there a quick mental trick?
Yes. Any expression of the form x² − kx factors as x(x − k), and x² + kx factors as x(x + k). Read the number off the middle term and put it next to the x. For x² − 25x, k is 25, so the answer is x(x − 25) with no working at all.

The roots follow just as fast: they are 0 and the number k, with its sign flipped. The vertex is always halfway between them, so for 0 and 25 it is at 25 ÷ 2 = 12.5.
Try this: Without writing anything, factor x² − 18x and x² + 7x. Then expand your answers in your head to check them.
What mistakes do students make with x² − 25x?
The one that costs the most marks: dividing both sides by x when solving x² − 25x = 0. It looks tidy, you get x − 25 = 0, and you find x = 25. But you have thrown away the root x = 0. Factor and use the zero product rule instead, and both answers survive.
Other slips to watch for:
- Writing only (x − 25) and forgetting the x out front. Expanding that gives x − 25, not x² − 25x.
- Writing x(x − 25x), which means you did not divide the second term by x. It expands to x² − 25x², which is wrong.
- Flipping the sign and writing x(x + 25), which expands to x² + 25x.
- Treating it as x² − 25 and answering (x − 5)(x + 5).
The fix for all of these is the same five-second habit: expand your answer and see whether you get the original back.
Where does this lead next?
Taking out a common factor is step one in almost every factoring problem. When there is a constant term, you look for two numbers that multiply to c and add to b. For example, x² − x − 6 uses −3 and 2, and x² − 11x − 80 uses −16 and 5.
Some trinomials are special. y² − 8y + 16 is a perfect square, and x² − 12x + 27 is a standard case where both numbers are negative. In each one, finish with the same check: expand it and compare.
Try the practice problems below the solver. They start with simple cases like x² − 9x and build up to ones with a number in front of x², where you take out that number as well as the x.
Practice problems
Try these on paper first, then check your answer or load the full steps into the solver.
- x² - 9xx(x − 9)
- x² + 18xx(x + 18)
- 3x² - 21x3x(x − 7)
- 4x² - 100x4x(x − 25)
Factor x² − 25x: common questions
What is x² − 25x factored?
It factors as x(x − 25). Both terms share a factor of x, so you take it out and leave x − 25 inside the brackets.
What are the solutions of x² − 25x = 0?
The solutions are x = 0 and x = 25. Set each factor in x(x − 25) equal to zero and solve.
Is x² − 25x the same as x² − 25?
No. x² − 25 is a difference of squares and factors as (x − 5)(x + 5). x² − 25x has an x in the second term, so you take out the common factor x instead.
Can x(x − 25) be factored any further?
No. The factor x is a single variable and x − 25 is a linear expression, so neither can be broken down more. The expression is fully factored.