Binomial theorem expansion. Why do the powers flip in certain circumstances?

84 Views Asked by At

Okay given an expression like $(x+y)^5$

we have terms

$x^ky^{n-k}$

So we have ${5 \choose 0} x^0y^5 + {5 \choose 1} x^1y^4+ {5 \choose 2} x^2y^3+ {5 \choose 3} x^3y^2+ {5 \choose 4} x^4y^1+ {5 \choose 5} x^5$

However when we have $(3x^2+y)^5$

we supposedly have $x^{n-k}y^k$ and we get:

${5 \choose 0} (3x^2)^5y^0+ {5 \choose 1} (3x^2)^4y^1+{5 \choose 2} (3x^2)^3y^2+{5 \choose 3} (3x^2)^2y^3 + {5 \choose 4} (3x^2)y^4+ {5 \choose 5} (3x^2)^0y^5$

which ends up as:

$243x^{10}y^0+ 625x^8y+27x^6y^2+9x^4y^3+3x^2y^4+y^5$

somehow my coefficients are off for the second term : it's apparently $5$ times $3^4$. How in the heck does that arise do we always multiply coefficients by the power n, in this case 5 and secondly my biggest question is why on earth is n-k on x instead of y?

What would happen in a situation where we have $(4x^3+5y^2)^3$ which term would get n-k and would I have to multiply some coefficients by 3?

What if we had $(x^2+7y^3)^2$? would n-k go on the $7y^3$?

1

There are 1 best solutions below

0
On

Expansion of the expression $\left(x+y\right)^n$ gives :

$$\left(x+y\right)^n=\sum_{k=0}^n{n\choose k}x^ky^{n-k}$$

but you can also write it as :

$$\left(x+y\right)^n=\sum_{k=0}^n{n\choose k}x^{n-k}y^k$$

simply because addition and multiplication are commutative.

So you can put the exponent $n-k$ to whatever term you wish and put the exponent $k$ to the other one.