# How do you simplify (p^2 + 2p - 80)/(2p^3 - 24p^2 + 64p) and what are the restrictions?

$\frac{{p}^{2} + 2 p - 80}{2 {p}^{3} - 24 {p}^{2} + 64 p}$
$= \frac{\left(p + 10\right) \left(p - 8\right)}{2 p \left({p}^{2} - 12 p + 32\right)}$
$= \frac{\left(p + 10\right) \left(p - 8\right)}{2 p \left(p - 4\right) \left(p - 8\right)}$
$= \frac{p + 10}{2 p \left(p - 4\right)}$
with the restrictions: $p \ne 0$, $p \ne 4$ and $p \ne 8$.