← 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 excosx in ascending powers of x. Hence or otherwise find the limit of x−sinxex−excosx as x tends to zero.
Technique
Composition of standard Maclaurin series: substitute t=xcosx (itself expanded) into et=∑tk/k! and collect powers of x. For the limit, expand numerator and denominator to the same order — here x3 — and take the ratio of the leading coefficients. (L’Hôpital works but needs three differentiations of excosx; series is far cheaper and is what scores.)
Solution
Step 1 — Expand the exponent t=xcosx.
cosx=1−2!x2+4!x4−⋯=1−2x2+24x4−⋯
∴t=xcosx=x−2x3+24x5−⋯
Note t=O(x), so to reach terms up to x4 in et we need t,t2,t3,t4 only.
Step 2 — Powers of t (retaining up to x4).
t=x−2x3+O(x5)
t2=(x−2x3)2+O(x6)=x2−x4+O(x6)
t3=(x−2x3)3+O(x7)=x3−23x5+⋯=x3+O(x5)
t4=x4+O(x6)
Step 3 — Substitute into et.
et=1+t+2!t2+3!t3+4!t4+⋯
=1+(x−2x3)+21(x2−x4)+61(x3)+241(x4)+O(x5).
Collect coefficients power by power:
- x0: 1
- x1: 1 (from t)
- x2: 21 (from t2/2)
- x3: −21 (from t) +61 (from t3/6) =−31
- x4: −21 (from t2/2) +241 (from t4/24) =−2412+241=−2411
∴excosx=1+x+2x2−3x3−2411x4+⋯
Step 4 — State the first four terms.
“First four terms in ascending powers of x” means the terms of degree 0,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
excosx=1+x+2x2−3x3+⋯
i.e. the terms 1,x,2x2,−3x3. (The next term −2411x4 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. sinx=x−6x3+120x5−⋯, so
x−sinx=6x3−120x5+⋯=6x3(1−20x2+⋯).
The denominator vanishes to order 3; therefore the numerator must be expanded to x3 at least — precisely the four terms already obtained. (This is why the first half of the question was asked.)
Numerator. ex=1+x+2x2+6x3+24x4+⋯, and from Step 3,
ex−excosx=(6x3−(−3x3))+(24x4−(−2411x4))+O(x5)
(the 1, x, 2x2 terms cancel exactly)
=(61+31)x3+(241+2411)x4+O(x5)=2x3+2x4+O(x5).
So the numerator also vanishes to order exactly 3 (its leading coefficient 21=0) — the orders match and the limit is finite and non-zero.
Step 6 — Take the ratio.
x−sinxex−excosx=6x3(1−20x2+⋯)2x3(1+x+O(x2))=6121⋅1−20x2+⋯1+x+O(x2).
Cancelling x3 (x=0) and letting x→0, both bracketed factors tend to 1:
x→0limx−sinxex−excosx=1/61/2=3.
Numerical sanity check. The expansion predicts the ratio behaves like 3(1+x) near 0; at x=0.1, numerator ≈5.520×10−4 and denominator =0.1−sin(0.1)≈1.6658×10−4, giving ≈3.31≈3(1+0.1) ✓ — the correct trend towards 3.
Answer
excosx=1+x+2x2−3x3+⋯andx→0limx−sinxex−excosx=3.