QlarIITy

MathematicsJEE Main 2019 · 8 AprilSingle correct

If f(x)=2−xcos⁡x2+xcos⁡xf(x) = \frac{2 - x\cos x}{2 + x\cos x} and g(x)=log⁡exg(x) = \log_e x, then the value of the integral ∫−π4π4g(f(x))dx\int_{-\frac{\pi}{4}}^{\frac{\pi}{4}}g(f(x))dx is

  1. Option A: log⁡ee\log_e e
  2. Option B: log⁡e2\log_e 2
  3. Option C: log⁡e1\log_e 1
  4. Option D: log⁡e3\log_e 3
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. The logarithm of a fraction that inverts under a sign change of the variable is an odd function.

Concept refresher. If f(−x)=1f(x)f(-x) = \dfrac{1}{f(x)} with f>0f > 0, then log⁡ef\log_e f is an odd function, and

∫−aalog⁡ef(x)dx=0\int_{-a}^{a}\log_e f(x)dx = 0

Picture the situation. Since (−x)cos⁡(−x)=−xcos⁡x(-x)\cos(-x) = -x\cos x, f(−x)=2+xcos⁡x2−xcos⁡x=1f(x)f(-x) = \dfrac{2 + x\cos x}{2 - x\cos x} = \dfrac{1}{f(x)}. On the interval ∣xcos⁡x∣<1|x\cos x| < 1, so f(x)>0f(x) > 0 and g(f(x))=log⁡ef(x)g(f(x)) = \log_e f(x) is defined.

Approach. Use the oddness of the integrand.

  1. Step 1: Odd function

    The logarithm of a reciprocal is minus the logarithm, so g(f(−x))=−g(f(x))g(f(-x)) = -g(f(x)) and the integrand is odd.

  2. Step 2: The value

    Over the symmetric interval the integral of an odd function is 0, and 0 is written among the options as log⁡e1\log_e 1.

Answer. (C) log⁡e1\log_e 1

Sanity check. At x=0x = 0 the fraction is 1 and its logarithm is 0, as an odd function requires at the origin.

Why the other options are wrong

  • (A) The value log⁡ee\log_e e is 1, but an odd integrand over a symmetric interval gives 0.
  • (B) The value log⁡e2\log_e 2 is about 0.69, but the two halves of the integral cancel exactly.
  • (D) The value log⁡e3\log_e 3 is about 1.10, but the integral of an odd function over this interval is 0.

Key takeaway

The trap. The answer 0 may be disguised among the options as the logarithm of 1.

How toppers think. They test the integrand for oddness before anything else.

Remember. log⁡ef(−x)=−log⁡ef(x)\log_e f(-x) = -\log_e f(x)

More on Symmetry & Periodicity