This equation appears in a question book but the method for factoring (if there is one) is not familiar to me.
$$x^3 + x^2 -4x -4 $$
The solution manual lists the following as the factorised form of the above equation:
$$x^2(x + 1) - 4(x + 1)$$
What is the method for achieving this? Thanks
This is just factoring out the common factor of $x^2$ from the first two terms, and the common factor of $-4$ from the last two terms. However, the correct factorization would be
$$x^2(x+1) - 4(x+1)$$
in that light. This suggests the notion of "factoring by grouping", if this is a keyword you want to look up further, since the next most reasonable factorization is factoring out the common factor of $x+1$:
$$(x^2-4)(x+1)$$
Khan Academy and this site discuss some examples in detail.
Note 1: The original question statement used the factorization of $x^2(x+1) - 4(x-1)$, hence my comment on the factorization being wrong. The question has since been edited.
Note 2: As astutely brought up in the comments, the $x^2-4$ factor can be further factored as $(x-2)(x+2)$. This is often known as the "difference of squares" identity. Further discussion and applications are on Khan Academy, Brilliant, and Wikipedia.