QlarIITy

MathematicsIIT-JEE 2000Single correct

If f(x)={ecos⁡xsin⁡x∣x∣≤22otherwisef(x)=\begin{cases}e^{\cos x}\sin x & |x|\le 2\\ 2 & \text{otherwise}\end{cases} then ∫−23f(x)dx=\int_{-2}^{3}f(x)dx= ?

  1. Option A: 00
  2. Option B: 11
  3. Option C: 22
  4. Option D: 33
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. Split a piecewise integral at its break points first; an odd piece over a symmetric interval then contributes zero.

Concept refresher. If hh is odd, ∫−aah(x)dx=0\int_{-a}^{a}h(x)dx=0. A piecewise function is integrated by splitting at the points where its formula changes.

Approach. Split [−2,3][-2,3] into [−2,2][-2,2] and [2,3][2,3]; use oddness on the first part.

  1. Step 1: Split at x=2x=2

    ∫−23f(x)dx=∫−22ecos⁡xsin⁡xdx+∫232dx\int_{-2}^{3}f(x)dx=\int_{-2}^{2}e^{\cos x}\sin x dx+\int_{2}^{3}2dx
  2. Step 2: The odd part vanishes

    For h(x)=ecos⁡xsin⁡xh(x)=e^{\cos x}\sin x, h(−x)=ecos⁡x(−sin⁡x)=−h(x)h(-x)=e^{\cos x}(-\sin x)=-h(x), so hh is odd and

    ∫−22ecos⁡xsin⁡xdx=0\int_{-2}^{2}e^{\cos x}\sin x dx=0

    (Check: an antiderivative is −ecos⁡x-e^{\cos x}, and −ecos⁡2+ecos⁡(−2)=0-e^{\cos 2}+e^{\cos(-2)}=0.)

  3. Step 3: The constant part

    ∫232dx=2\int_{2}^{3}2dx=2

    Hence ∫−23f(x)dx=0+2=2\int_{-2}^{3}f(x)dx=0+2=2.

Answer. (C)

Why the other options are wrong

  • (A) It keeps only the odd part and forgets the constant piece on [2,3][2,3].
  • (B) It treats the constant piece as 11 instead of 22 over an interval of length 11.
  • (D) It would need the odd part to contribute 11, but an odd function integrates to 00 over [−2,2][-2,2].

Key takeaway

The trap. Integrating ecos⁡xsin⁡xe^{\cos x}\sin x by hand invites sign errors, when its oddness on [−2,2][-2,2] already makes that part zero.

How toppers think. They check f(−x)=−f(x)f(-x)=-f(x) for the first piece, discard it, and are left with ∫232dx=2\int_{2}^{3}2dx=2.

Remember. If ff is odd, ∫−aaf(x)dx=0\int_{-a}^{a}f(x)dx=0.

More on Symmetry & Periodicity