Pratidin
2026 · Mathematics Optional Paper I · 10 marksMainsQuestion 1d

Using Maclaurin's theorem, obtain the first four terms of the expansion of e^(x cos x) in ascending powers of x. Hence or otherwise find the limit of (eˣ − e^(x cos x))/(x − sin x) as x tends to zero.

10 marks · directive: Find

Answer

The core of a good answer

e^(x cos x) = 1 + x + x²/2 − x³/3 + ..., so eˣ − e^(x cos x) = x³/2 + O(x⁴) while x − sin x = x³/6 + O(x⁵); the limit is (1/2)/(1/6) = 3.

An outline written by upsc.help, not an official UPSC answer; every fact checked by a separate review. How we work

What the question asks

Two tasks: a Maclaurin expansion up to the x³ term (four terms), found either by successive derivatives at 0 or by composing known series, and then a 0/0 limit evaluated by comparing the leading terms of numerator and denominator.

Answer outline

Introduction

Let f(x) = e^(x cos x) = e^g with g(x) = x cos x. Maclaurin's theorem: f(x) = f(0) + x f'(0) + x²/2! f''(0) + x³/3! f'''(0) + ....

Step 1: Derivatives of g at 0

Step 2: Derivatives of f = eᵍ

Step 3: Expansion

Step 4: The limit

Conclusion

The first four terms are 1 + x + x²/2 − x³/3, and the required limit is 3. Both were confirmed with sympy (series and limit).

Examples and data to cite

Facts

Facts to remember

Sources used for the explanation

Write a timed answer in the app