In short
The general term of (a + b)^n is T_{r+1} = \binom{n}{r}\,a^{n-r}\,b^r. The middle term is T_{(n/2)+1} when n is even (one middle term) or T_{(n+1)/2} and T_{(n+3)/2} when n is odd (two middle terms). A term independent of x is one where the power of x is zero. The greatest coefficient is \binom{n}{\lfloor n/2 \rfloor}. This article shows how to find each of these in any binomial expansion.
A JEE question asks: "In the expansion of \left(x^2 + \dfrac{1}{x}\right)^{12}, which term does not contain x?" Expanding all 13 terms by brute force is possible but painful. The general-term formula solves it in three lines: write the power of x in the general term, set it to zero, and solve for r.
That is the theme of this article. The binomial theorem gives you the expansion; the general term formula gives you surgical access to any single term without computing the rest.
The general term
From the binomial theorem, the expansion of (a + b)^n is:
General term
The (r + 1)-th term of (a + b)^n is:
The expansion has n + 1 terms in total. The index r counts how many factors of b appear; the remaining n - r factors are a. Since r starts at 0, the first term is T_1 (with r = 0) and the last term is T_{n+1} (with r = n).
Finding a specific term. To find the k-th term, set r = k - 1 in the formula. The offset by 1 is the most common source of errors in binomial-expansion problems.
Middle term(s)
The expansion of (a + b)^n has n + 1 terms. Whether there is one middle term or two depends on whether n is even or odd.
Case 1: n is even. There are n + 1 (odd) terms, so there is exactly one middle term. It is the \left(\frac{n}{2} + 1\right)-th term:
For (a + b)^{10}: the middle term is T_6 = \binom{10}{5}\, a^5\, b^5 = 252\,a^5b^5.
Case 2: n is odd. There are n + 1 (even) terms, so there are two middle terms. They are the \left(\frac{n+1}{2}\right)-th and \left(\frac{n+3}{2}\right)-th terms:
For (a + b)^7: the two middle terms are T_4 = \binom{7}{3}\,a^4b^3 = 35\,a^4b^3 and T_5 = \binom{7}{4}\,a^3b^4 = 35\,a^3b^4.
Term independent of x
When the binomial involves powers of x in both a and b, the general term T_{r+1} has a power of x that depends on r. The term independent of x (also called the constant term) is the term where this power is zero.
Method. Write the power of x in T_{r+1} as a function of r. Set it equal to 0 and solve for r. If r is a non-negative integer \leq n, the corresponding term is independent of x. If not, there is no such term.
Example. For \left(x^2 + \dfrac{1}{x}\right)^{12}:
Set 24 - 3r = 0: r = 8. So the term independent of x is:
Greatest coefficient
The binomial coefficient \binom{n}{r} is largest when r is as close to n/2 as possible.
When n is even: the unique maximum is \binom{n}{n/2}.
When n is odd: there are two equal maxima: \binom{n}{(n-1)/2} = \binom{n}{(n+1)/2}.
To see why, examine the ratio of consecutive coefficients:
This ratio is > 1 when r < (n+1)/2 (meaning \binom{n}{r} > \binom{n}{r-1}) and < 1 when r > (n+1)/2. The coefficients increase up to the centre and then decrease symmetrically.
When the expansion is (pa + qb)^n with specific numerical values of p and q, the greatest term (not just the greatest coefficient) depends on p, q, and the point of evaluation. The ratio test T_{r+1}/T_r > 1 identifies the crossover.
Interactive: explore the general term
Drag the red point to choose r from 0 to 8 in the expansion of (x + 2)^8. The readouts show the term number, the binomial coefficient, and the numerical value of the term at x = 1.
Two worked examples
Example 1: Find the middle term of $\left(\dfrac{x}{3} + 9y\right)^{10}$
Step 1. Determine whether n is even or odd. Here n = 10 (even), so there is exactly one middle term.
Why: n + 1 = 11 terms, and the middle one is the 6th (position \frac{10}{2} + 1 = 6).
Step 2. Find the middle term's r-value. The 6th term has r = 5.
Why: T_{r+1} with r = 5 gives T_6. The power of a = x/3 is 5 and the power of b = 9y is 5.
Step 3. Compute the coefficient.
Why: 3^5 = 243 and 9^5 = (3^2)^5 = 3^{10} = 59{,}049.
Step 4. Multiply everything together.
Verify the numerical part: 59{,}049 / 243 = 243 (since 243 \times 243 = 59{,}049). Then 252 \times 243: 252 \times 200 = 50{,}400, 252 \times 43 = 10{,}836, total = 61{,}236.
Result. The middle term is 61{,}236\, x^5 y^5.
The large numerical coefficient (61{,}236) arises because 9y carries a factor of 9 that compounds rapidly when raised to the 5th power. In contrast, x/3 shrinks. The middle term captures the collision between these two trends.
Example 2: Find the term independent of $x$ in $\left(\sqrt{x} - \dfrac{3}{x^2}\right)^{10}$
Step 1. Identify a, b, n. Here a = \sqrt{x} = x^{1/2}, b = -3/x^2 = -3x^{-2}, n = 10.
Why: expressing everything in terms of powers of x makes it possible to track the exponent through the general term.
Step 2. Write the general term and compute the power of x.
Why: combine the exponents of x: \frac{10-r}{2} + (-2r) = \frac{10 - r - 4r}{2} = \frac{10 - 5r}{2}.
Step 3. Set the power of x to zero. \frac{10 - 5r}{2} = 0 \implies 10 - 5r = 0 \implies r = 2.
Why: the term independent of x is the term where the exponent of x is exactly 0. Solving gives r = 2, which is an integer in the range [0, 10], so such a term exists.
Step 4. Compute T_3.
Spot-check the sign: (-3)^2 = 9 > 0, so the term is positive. And \binom{10}{2} = 45. The constant term is 405.
Result. The term independent of x is 405.
The linear relationship between the power of x and r is typical. Whenever a and b are both powers of x, the exponent in T_{r+1} is a linear function of r, and finding the independent term reduces to solving a linear equation.
Common confusions
-
"The middle term of (a+b)^n is always T_{n/2}." When n is even, the middle term is T_{n/2 + 1} (not T_{n/2}), because the terms are numbered starting from T_1, not T_0. For n = 10, the middle term is T_6, not T_5.
-
"There is always one middle term." When n is odd, there are two middle terms. For n = 7, the eight terms have two equally central ones: T_4 and T_5.
-
"The greatest coefficient is the same as the greatest term." The greatest binomial coefficient \binom{n}{r} is always at r = \lfloor n/2 \rfloor. But the greatest term in (pa + qb)^n depends on the values of p, q, and the variable. The coefficient and the power parts must both be accounted for.
-
"If the power of x in T_{r+1} never equals zero, the expansion has no constant term." Correct. But make sure to check whether r is a non-negative integer. Solving 10 - 5r = 0 gives r = 2 (valid). Solving 10 - 3r = 0 gives r = 10/3 (not an integer), so no constant term exists.
-
"The term independent of x has a coefficient of 1." It has a coefficient of \binom{n}{r} times whatever numerical factors come from a and b. In Example 2, the coefficient is 45 \times 9 = 405, not 1.
Going deeper
If you can find specific terms using the general-term formula, identify the middle term(s), and locate terms independent of x, you are fully equipped for the standard binomial-expansion problems. The rest of this section explores a few extensions.
The greatest term — ratio method
To find which term T_{r+1} is greatest in absolute value, examine the ratio:
The terms increase (in absolute value) as long as this ratio exceeds 1:
The greatest term is at r = \left\lfloor \frac{(n+1)|b|}{|a| + |b|} \right\rfloor, or at two consecutive values of r if the expression is exactly an integer.
Example. For (1 + 3)^8 (that is, a = 1, b = 3, n = 8): the critical r is \frac{9 \times 3}{1 + 3} = \frac{27}{4} = 6.75. So r = 6 gives the greatest term: T_7 = \binom{8}{6} \cdot 3^6 = 28 \times 729 = 20{,}412.
Multinomial middle terms
For expansions of the form (a + b + c)^n (the multinomial case), the concept of a "middle term" does not directly apply — the terms are indexed by pairs (r, s) rather than a single index. The greatest-coefficient problem generalises to finding the maximum of \frac{n!}{r!\,s!\,(n-r-s)!}, which occurs when r, s, and n - r - s are as equal as possible.
Connection to probability
The binomial coefficients \binom{n}{r} appear in the binomial probability distribution. If you flip a fair coin n times, the probability of getting exactly r heads is \binom{n}{r}/2^n. The "hill shape" of the coefficients — peaking at r = n/2 — explains why getting close to half heads is the most likely outcome. The greatest coefficient corresponds to the mode of the distribution.
Where this leads next
- Binomial Theorem for Positive Integer — the theorem itself, with the statement, proof, and general-term formula.
- Binomial Coefficients — sum identities, alternating sums, and weighted sums of the coefficients.
- Polynomials — Introduction — degree, terms, and the language used to describe expansions.
- Quadratic Equations — Introduction — quadratics arise as special cases when n = 2.
- Exponents and Powers — the exponent laws that underpin every step of the general-term calculation.