# How do you factor x^3 + 125?

Note that in general ${x}^{3} + {a}^{3}$ can be factored as $\left(x - a\right) \left({x}^{2} + a x + {a}^{2}\right)$
${x}^{3} + 125$
$= \left({x}^{3} + {5}^{3}\right)$
$= \left(x - 5\right) \left({x}^{2} + 5 x + 25\right)$