Expand and simplify
Expand the product first, then deal with the loose term. The sits outside the brackets, so it must not be folded in until the multiplication is finished. Order of operations puts the product before the addition.
Multiply the two binomials. Each term of the first bracket meets each term of the second — four products in all:
The final comes from ; a negative times a negative is positive.
Note that no terms combine. and are different variables, so and are not like terms and cannot be merged into or . The expansion has four distinct terms.
Add the outside 1.
The two constants add rather than cancel, which is the only real subtlety in the problem.
Verify with random substitutions. Comparing the original with at random pairs drawn from gives agreement to machine precision at every point ✓. Spot check at : , and ✓.
Need to solve a different problem like this? Open the solver →