subtract

(5a^3+a-7)-(8-7a^3-2a^2)

(5a^3+a-7)-(8-7a^3-2a^2)

Distribute the negative to the ride side that's in parentheses.
(5a^3+a-7)-8+7a^3+2a^2
Combine like terms.
12a^3+2a^2+a-15

To subtract the expression (5a^3 + a - 7) from (8 - 7a^3 - 2a^2), we need to distribute the negative sign to each term inside the parentheses of the second expression and then combine like terms.

Let's break it down step by step:

Step 1: Distribute the negative sign to each term inside the second parentheses:
(8 - 7a^3 - 2a^2) = 8 - 7a^3 - 2a^2

After distributing the negative, the expression becomes:
5a^3 + a - 7 - (8 - 7a^3 - 2a^2) = 5a^3 + a - 7 - 8 + 7a^3 + 2a^2

Step 2: Combine like terms:
Add the like terms together, which means we combine the terms with the same exponent:

5a^3 + 7a^3 = 12a^3
a + 2a^2 = a + 2a^2

Thus, the final expression after combining like terms is:
12a^3 + a + 2a^2 - 7 - 8

Simplifying further:
The answer is 12a^3 + a + 2a^2 - 15.