[Math] Calculating the sum of coefficients for binomial expression

binomial theorembinomial-coefficients

The question is:

Calculate the sum of the coefficients of $(a-b)^{250}$.

My reasoning was that we can take the example of $(a-b)^2$, which would have the coefficients of $1$, $-2$, and $1$, according to Pascal's triangle. This would add up to $0$.

Then, to calculate the sum of coefficients for the original problem, $((a-b)^2)^{125}$ would equate to $(a-b)^{250}$, and since the sum of the coefficients of $(a-b)^2$ is $0$, then $(0)^{125}$ would be $0$, so the sum of the coefficients of $(a-b)^{250}$ would be 0.

Is my methodology correct? If not, is there another methodology that is better?

Best Answer

HINT: If $f(a,b)$ is a polynomial in $a$ and $b$ of the form $$f(a,b) = \sum_{k=0}^n c_k a^kb^{n-k}$$ the sum of coefficients is given by $f(1,1) = \displaystyle\sum_{k=0}^n c_k$.