Definition · General term of a binomial expansionIn the expansion of (a + b)ⁿ, the general term is C(n,k)aⁿ⁻ᵏbᵏ, where k runs from 0 to n. Written in descending powers of a, it is the (k + 1)-th term of the expansion.
The k + 1 is not decoration. k is a count of bs and starts at 0; the terms of a written-out expansion are counted from 1. Some books index the general term by the term number instead, putting r - 1 everywhere this course puts k. Both conventions are in use, and the safest habit is to describe a term by the power it contains rather than by its position.
When a and b carry powers of x
If a and b are more than single letters, each contributes to the power of x in the term, and the two contributions have to be collected before anything can be solved. Take (x + 2/x)⁶, small enough to expand completely and check.
general term C(6,k) x⁶⁻ᵏ (2/x)ᵏ = C(6,k)·2ᵏ·x⁶⁻ᵏ·x⁻ᵏ
= C(6,k)·2ᵏ·x⁶⁻²ᵏ
k C(6,k) 2ᵏ coefficient power of x
0 1 1 1 6
1 6 2 12 4
2 15 4 60 2
3 20 8 160 0
4 15 16 240 -2
5 6 32 192 -4
6 1 64 64 -6
sum of the coefficients 1+12+60+160+240+192+64 = 729 = 3⁶
and at x = 1 the bracket is (1 + 2)⁶ = 729 ✓
Example · The constant term of (x + 2/x)⁶The power of x is 6 - 2k, which is 0 when k = 3. The term is C(6,3)·2³ = 20·8 = 160, and the table above shows the same 160 in the row for k = 3. Six of the seven terms never had to be computed to answer the question.
The equation to solve is always the same shape. Collect the power of x in the general term, set it equal to the power wanted, and solve. The exponent is linear in k, and unless a and b carry the same power of x — in which case every term carries it too, and there is nothing to solve — there is exactly one candidate. It then has to survive two tests: it must be a whole number, and it must lie between 0 and n.
Example · An expansion with no constant termIn (x² + 1/x)⁸ the general term is C(8,k)x¹⁶⁻²ᵏx⁻ᵏ = C(8,k)x¹⁶⁻³ᵏ. Setting 16 - 3k = 0 gives k = 16/3, which is not a whole number. The powers of x in the nine terms run 16, 13, 10, 7, 4, 1, -2, -5, -8, stepping over 0 between the sixth and seventh terms. The expansion has no constant term, and that is the answer.
Middle terms
An expansion of (a + b)ⁿ has n + 1 terms. If n is even there is a single middle term, at k = n/2. If n is odd there are two, at k = (n - 1)/2 and k = (n + 1)/2, and their binomial coefficients are equal by the symmetry of the triangle — but the terms themselves need not be, once a and b carry numbers.
Example · The two middle terms of (2x - 1)⁷n = 7, so the middle terms are k = 3 and k = 4, and C(7,3) = C(7,4) = 35. At k = 3: 35(2x)⁴(-1)³ = 35·16·(-1)x⁴ = -560x⁴. At k = 4: 35(2x)³(-1)⁴ = 35·8x³ = 280x³. Equal binomial coefficients, and terms differing in size and in sign: the symmetry belongs to C(n,k), and (2x)⁴ against (2x)³, (-1)³ against (-1)⁴, breaks it.
Signs come from b and nowhere else. Writing b = -3 rather than carrying a minus sign outside means the factor (-3)ᵏ handles the alternation with no separate rule to remember, and an even k returns a positive contribution however negative b is.
One caution about checking. Substituting x = 1 turns the whole expansion into the sum of its coefficients, and comparing that with the bracket evaluated at x = 1 is a strong check on a complete expansion. It says nothing about a single term computed on its own: if you have written down one term out of ten, there is nothing for the substitution to check against. What checks a single term is recomputing its exponent from the two factors separately.