# How do you use the sum of two cubes formula to factor xy^4+x^4y?

Use the identity: ${a}^{3} + {b}^{3} = \left(a + b\right) \left({a}^{2} - a b + {b}^{2}\right)$
$f \left(x\right) = x . y . \left(x + y\right) . \left({x}^{2} - x . y + {y}^{2}\right)$