Skip to content
dronacharya.ai
JEE Main 2026MathematicsInteger+4 / -1

JEE Main 2026 Maths Q23: General and middle terms

From the JEE Main 2026 · 5 Apr · Shift 1 paper. Try it, check your answer, then read the worked solution below.

If the sum of the coefficients of x7x^7 and x14x^{14} in the expansion of (1x3−x4)n\left(\dfrac1{x^3}-x^4\right)^n, x≠0x\ne0, is zero, then the value of nn is ________.

Answer and worked solution

Try it yourself first, then check your working against this.

Official answer21

Worked solution

General term. (nr)(x−3)n−r(−x4)r=(−1)r(nr)x7r−3n\binom nr\left(x^{-3}\right)^{n-r}(-x^4)^r=(-1)^r\binom nr x^{7r-3n}.

The two powers. x7x^7 needs 7r=3n+77r=3n+7 and x14x^{14} needs 7r′=3n+147r'=3n+14, so r′=r+1r'=r+1 (and 7∣n7\mid n).

Condition. (−1)r[(nr)−(nr+1)]=0(-1)^r\left[\binom nr-\binom n{r+1}\right]=0 gives 2r+1=n2r+1=n. With r=3n7+1r=\tfrac{3n}7+1: 6n7+3=n\tfrac{6n}7+3=n, so n=21n=21.

Answer: 21

Concepts used: C(n, r) = C(n, r + 1) ⇒ n = 2r + 1

Practise this topic

Every past question tagged to the same part of the syllabus, with solutions.

Similar questions from other papers

Past questions on the same topic (General and middle terms), each with a worked solution.

full papers
217
questions
18,571
worked solutions
18,550

Sit a paper tonight. See exactly where you stand.

Timed, in the real format, and marked the moment you submit.