← 2026 Paper 1

UPSC 2026 Maths Optional Paper 1 Q1d — Step-by-Step Solution

10 marks · Section A

Taylor's theorem with remainders · Calculus · asked 3× in 14 yrs · Read the full method →

Question

Using Maclaurin’s theorem, obtain the first four terms of the expansion of excos⁡xe^{x\cos x} in ascending powers of xx. Hence or otherwise find the limit of ex−excos⁡xx−sin⁡x\dfrac{e^x - e^{x\cos x}}{x - \sin x} as xx tends to zero.

Technique

Composition of standard Maclaurin series: substitute t=xcos⁡xt=x\cos x (itself expanded) into et=∑tk/k!e^{t}=\sum t^{k}/k! and collect powers of xx. For the limit, expand numerator and denominator to the same order — here x3x^3 — and take the ratio of the leading coefficients. (L’Hôpital works but needs three differentiations of excos⁡xe^{x\cos x}; series is far cheaper and is what scores.)

Solution

Step 1 — Expand the exponent t=xcos⁡xt=x\cos x.

cos⁡x=1−x22!+x44!−⋯=1−x22+x424−⋯\cos x = 1-\frac{x^{2}}{2!}+\frac{x^{4}}{4!}-\cdots = 1-\frac{x^{2}}{2}+\frac{x^{4}}{24}-\cdots ∴t=xcos⁡x=x−x32+x524−⋯\therefore\quad t = x\cos x = x-\frac{x^{3}}{2}+\frac{x^{5}}{24}-\cdots

Note t=O(x)t=O(x), so to reach terms up to x4x^{4} in ete^{t} we need t,t2,t3,t4t,t^{2},t^{3},t^{4} only.

Step 2 — Powers of tt (retaining up to x4x^{4}).

t=x−x32+O(x5)t = x-\frac{x^{3}}{2}+O(x^{5}) t2=(x−x32)2+O(x6)=x2−x4+O(x6)t^{2} = \left(x-\frac{x^{3}}{2}\right)^{2}+O(x^{6}) = x^{2}-x^{4}+O(x^{6}) t3=(x−x32)3+O(x7)=x3−32x5+⋯=x3+O(x5)t^{3} = \left(x-\frac{x^{3}}{2}\right)^{3}+O(x^{7}) = x^{3}-\frac{3}{2}x^{5}+\cdots = x^{3}+O(x^{5}) t4=x4+O(x6)t^{4} = x^{4}+O(x^{6})

Step 3 — Substitute into ete^{t}.

et=1+t+t22!+t33!+t44!+⋯e^{t}=1+t+\frac{t^{2}}{2!}+\frac{t^{3}}{3!}+\frac{t^{4}}{4!}+\cdots =1+(x−x32)+12(x2−x4)+16(x3)+124(x4)+O(x5).= 1+\left(x-\frac{x^{3}}{2}\right)+\frac{1}{2}\left(x^{2}-x^{4}\right)+\frac{1}{6}\left(x^{3}\right)+\frac{1}{24}\left(x^{4}\right)+O(x^{5}).

Collect coefficients power by power:

∴excos⁡x=1+x+x22−x33−1124x4+⋯\therefore\quad e^{x\cos x}=1+x+\frac{x^{2}}{2}-\frac{x^{3}}{3}-\frac{11}{24}x^{4}+\cdots

Step 4 — State the first four terms.

“First four terms in ascending powers of xx” means the terms of degree 0,1,2,30,1,2,3. All four of these are non-zero, so the alternative reading — “first four non-zero terms” — produces exactly the same four; there is no ambiguity to resolve here. The required answer is

excos⁡x=1+x+x22−x33+⋯e^{x\cos x}=1+x+\frac{x^{2}}{2}-\frac{x^{3}}{3}+\cdots

i.e. the terms 1,  x,  x22,  −x331,\;x,\;\dfrac{x^{2}}{2},\;-\dfrac{x^{3}}{3}. (The next term −1124x4-\tfrac{11}{24}x^{4} is not required; it was computed in Step 3 and is retained through Step 5 only to make the error term in the limit visible.)

Step 5 — The limit: expand numerator and denominator.

Denominator. sin⁡x=x−x36+x5120−⋯\sin x = x-\dfrac{x^{3}}{6}+\dfrac{x^{5}}{120}-\cdots, so

x−sin⁡x=x36−x5120+⋯=x36(1−x220+⋯ ).x-\sin x = \frac{x^{3}}{6}-\frac{x^{5}}{120}+\cdots = \frac{x^{3}}{6}\left(1-\frac{x^{2}}{20}+\cdots\right).

The denominator vanishes to order 3; therefore the numerator must be expanded to x3x^{3} at least — precisely the four terms already obtained. (This is why the first half of the question was asked.)

Numerator. ex=1+x+x22+x36+x424+⋯e^{x}=1+x+\dfrac{x^{2}}{2}+\dfrac{x^{3}}{6}+\dfrac{x^{4}}{24}+\cdots, and from Step 3,

ex−excos⁡x=(x36−(−x33))+(x424−(−1124x4))+O(x5)e^{x}-e^{x\cos x} = \left(\frac{x^{3}}{6}-\left(-\frac{x^{3}}{3}\right)\right)+\left(\frac{x^{4}}{24}-\left(-\frac{11}{24}x^{4}\right)\right)+O(x^{5})

(the 1, x, x221,\ x,\ \tfrac{x^{2}}{2} terms cancel exactly)

=(16+13)x3+(124+1124)x4+O(x5)=x32+x42+O(x5).= \left(\frac{1}{6}+\frac{1}{3}\right)x^{3}+\left(\frac{1}{24}+\frac{11}{24}\right)x^{4}+O(x^{5}) = \frac{x^{3}}{2}+\frac{x^{4}}{2}+O(x^{5}).

So the numerator also vanishes to order exactly 33 (its leading coefficient 12≠0\tfrac12\neq0) — the orders match and the limit is finite and non-zero.

Step 6 — Take the ratio.

ex−excos⁡xx−sin⁡x=x32(1+x+O(x2))x36(1−x220+⋯ )=1216⋅1+x+O(x2)1−x220+⋯.\frac{e^{x}-e^{x\cos x}}{x-\sin x} = \frac{\dfrac{x^{3}}{2}\left(1+x+O(x^{2})\right)}{\dfrac{x^{3}}{6}\left(1-\dfrac{x^{2}}{20}+\cdots\right)} = \frac{\tfrac12}{\tfrac16}\cdot\frac{1+x+O(x^{2})}{1-\tfrac{x^{2}}{20}+\cdots}.

Cancelling x3x^{3} (x≠0x\neq0) and letting x→0x\to0, both bracketed factors tend to 11:

lim⁡x→0ex−excos⁡xx−sin⁡x=1/21/6=3.\lim_{x\to0}\frac{e^{x}-e^{x\cos x}}{x-\sin x} = \frac{1/2}{1/6} = 3.

Numerical sanity check. The expansion predicts the ratio behaves like 3(1+x)3(1+x) near 00; at x=0.1x=0.1, numerator ≈5.520×10−4\approx 5.520\times10^{-4} and denominator =0.1−sin⁡(0.1)≈1.6658×10−4=0.1-\sin(0.1)\approx1.6658\times10^{-4}, giving ≈3.31≈3(1+0.1)\approx 3.31 \approx 3(1+0.1) ✓ — the correct trend towards 33.

Answer

  excos⁡x=1+x+x22−x33+⋯andlim⁡x→0ex−excos⁡xx−sin⁡x=3.  \boxed{\;e^{x\cos x}=1+x+\frac{x^{2}}{2}-\frac{x^{3}}{3}+\cdots\quad\text{and}\quad \lim_{x\to0}\frac{e^{x}-e^{x\cos x}}{x-\sin x}=3.\;}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 14 years, mapped. Get the take-away PDF free.