The number of distinct terms in the expansion of (x^2-2x+1)^25 - (x^2+1+2x)^25 are

Check the final answer first, then review the worked steps.

Answer

(b) 26

Work

Let $f(x) = (x-1)^{50} - (x+1)^{50}$.
$f(x) = \sum_{k=0}^{50} \binom{50}{k} x^k (-1)^{50-k} - \sum_{k=0}^{50} \binom{50}{k} x^k (1)^{50-k}$.
Terms with odd $k$ cancel out. Terms with even $k$ remain: $2 \sum_{j=0}^{25} \binom{50}{2j} x^{2j} (-1)^{50-2j}$.
Number of terms = $25 - 0 + 1 = 26$.

Step-by-step solution

The expression is $(x-1)^{50} - (x+1)^{50}$. The expansion of $(x-1)^{50}$ has 51 terms and $(x+1)^{50}$ has 51 terms. Since the powers are even, the odd-degree terms cancel out, leaving only even-degree terms. There are 26 such terms (degrees 0, 2, ..., 50).