Simplify the expression
Look for a factoring pattern instead of expanding blindly. Multiplying out directly produces six terms before any cancellation. The second bracket is the unmistakable signature of the sum-of-cubes identity , so the goal is to make the first bracket look like times something.
Factor out of the first bracket.
so the expression becomes
Apply the sum of cubes. Since ,
What would have been a six-term expansion is now a two-term product.
Distribute and cancel.
The subtracted term was engineered to cancel exactly one of the two products — that is why the problem collapses to a single monomial.
Check numerically at two points. At : first bracket , second , product , minus , giving ; and ✓. At : , and ✓.
Need to solve a different problem like this? Open the solver →