simplify (9x^(3)+2x^(2)-5x+4)-(5x^(3)-7x+4)

4x^(3)+2x^(2)-12x

4x^3 + 2x^2 - 5x + 4 - 5x^3 + 7x - 4 = (-1)x^3 + 2x^2 + 2x

can you show me the steps to get that answer?

Yes, absolutely! Here are the steps to simplify (9x^(3)+2x^(2)-5x+4)-(5x^(3)-7x+4):

1. First, remove the parentheses while keeping in mind the signs of each term. Distribute the negative sign in front of the second set of parentheses:

9x^(3) + 2x^(2) - 5x + 4 - 5x^(3) + 7x - 4

2. Group like terms (terms with the same degree of x) together:

(9x^(3) - 5x^(3)) + 2x^(2) + (-5x + 7x) + (4 - 4)

3. Combine like terms within each group:

4x^(3) + 2x^(2) + 2x + 0

4. Simplify by removing the term "0":

4x^(3) + 2x^(2) + 2x

So the final answer is 4x^(3) + 2x^(2) + 2x.