# How do you factor 125 - x^3?

Jun 6, 2016

$125 - {x}^{3} = \left(5 - x\right) \left(25 + 5 x + {x}^{2}\right)$

#### Explanation:

because of the known identity
${a}^{3} - {b}^{3} = \left(a - b\right) \left({a}^{2} + a b + {b}^{2}\right)$

we have

$125 - {x}^{3} = \left(5 - x\right) \left(25 + 5 x + {x}^{2}\right)$