How do I use Pascal's triangle to expand the binomial #(a-b)^6#?

1 Answer
May 12, 2015

The 7th row of Pascal's triangle is 1, 6, 15, 20, 15, 6, 1, which are the absolute values of the coefficients you are looking for, but the signs will be alternating.

#(a-b)^6#

#= a^6 - 6a^5b + 15a^4b^2 - 20a^3b^3 + 15a^2b^4 - 6ab^5 + b^6#

Compare with the 'positive' case

#(a+b)^6#

#= a^6 + 6a^5b + 15a^4b^2 + 20a^3b^3 + 15a^2b^4 + 6ab^5 + b^6#

For the 'negative' case, we replace #b# with #-b# and notice that the signs follow the odd/even parity of the power of #b#, because #(-b)^n = (-1)^nb^n#.