Simplify
Expand the two cubes with the binomial formula. Using with :
The odd-power terms keep their sign pattern, which is what makes the next step collapse.
Add the two cubes — the even-power terms cancel.
The terms cancel and so do the constants, because they sit at even and odd positions with opposite signs.
Simplify the product term using difference of squares. Deal with the bracketed pair first:
so
Distributing the across both terms (including the ) is where a sign is most often lost.
Collect everything. Assemble the three pieces:
Cubic column: . Linear column: . There are no or constant terms left.
State and check the result.
A numeric check at : . At : . Both confirm the linear result.
Need to solve a different problem like this? Open the solver →