Could you find the x³ coefficient in (2 − x)⁵ without expanding every bracket?
Suppose a Leaving Cert question asks for the coefficient of x cubed in two minus x, all raised to the fifth power. You could multiply out all five brackets, but can you find just the piece you need?
Think back to multiplying two brackets. You pick one term from each bracket and multiply your picks. Here you get a squared, then a b twice, then b squared. You gather the two matching products into two a b.
Write three copies of a plus b. To choose two b’s, take a from the first, second or third bracket. Each product is a times b squared. Collect the products by the number of b’s chosen, from zero to three. The coefficients are one, three, three, one.
Now picture four copies of a plus b. To make a cubed times b, you need exactly one bracket to supply b. How many ways can you choose that bracket? Pick an answer.
Start at row zero with one. Put a one at each end of every new row, and add the two numbers above each inside spot. In row three, two plus one gives three for the two b's. These entries are called binomial coefficients.
The general term is n choose r times a to the power n minus r times b to the power r. You pick b from r of the n brackets. Entry r in row n counts those choices. Start at entry zero and add the terms up to entry n.
Write two minus x as two plus negative x. For x cubed, pick negative x three times and two twice. Entry three in row five is ten. Two squared is four, and cubing negative x gives negative x cubed. The term is negative forty times x cubed, so the coefficient is negative forty.
Now try three minus x, all raised to the fourth power. Focus on the choices that give x squared. What number multiplies x squared once you include the sign of each pick of negative x? Pick an answer.
If you treat negative x as x, you get x squared for two picks and x cubed for three. Keep the minus sign inside the power. Two minus signs cancel, giving x squared. With three, one minus sign remains. That’s why the coefficients alternate in sign as the powers of x rise.
Find the coefficient of x squared in one minus two x, all raised to the sixth power. Pick negative two x twice and one four times. Six choose two is fifteen. Multiply fifteen by one and by four x squared to get sixty times x squared. Give sixty as the coefficient.