QlarIITy

MathematicsJEE Main 2023 · 25 JanuaryInteger

If ∫133∣log⁡ex∣dx=mnlog⁡e(n2e)\int_{\frac{1}{3}}^3|\log_e x|dx = \frac{m}{n}\log_e\left(\frac{n^2}{e}\right), where mm and nn are coprime natural numbers, then m2+n2−5m^2 + n^2 - 5 is equal to ______.

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. A modulus under an integral is removed by splitting the interval where the inside changes sign.

Concept refresher. Integrating by parts,

∫log⁡exdx=xlog⁡ex−x+C\int\log_e xdx = x\log_e x - x + C

Picture the situation. Since log⁡ex<0\log_e x < 0 for x<1x < 1 and log⁡ex>0\log_e x > 0 for x>1x > 1, the integral is −∫1/31log⁡exdx+∫13log⁡exdx-\int_{1/3}^1\log_e xdx + \int_1^3\log_e xdx.

Graph of the modulus of the logarithm from x = 1/3 to x = 3: the curve falls to zero at x = 1 and rises again, and the two regions under it, left and right of 1, are shaded.

Approach. Evaluate the two parts and bring the sum to the given form.

  1. Step 1: The two parts

    On [1,3][1, 3] the antiderivative gives (3log⁡e3−3)−(0−1)=3log⁡e3−2(3\log_e 3 - 3) - (0 - 1) = 3\log_e 3 - 2. On [13,1]\left[\dfrac{1}{3}, 1\right] it gives

    (0−1)−(−13log⁡e3−13)=13log⁡e3−23\begin{aligned} &(0 - 1) - \left(-\dfrac{1}{3}\log_e 3 - \dfrac{1}{3}\right) \\[4pt] &= \dfrac{1}{3}\log_e 3 - \dfrac{2}{3} \end{aligned}

    and the minus sign in front makes this part 23−13log⁡e3\dfrac{2}{3} - \dfrac{1}{3}\log_e 3.

  2. Step 2: The form

    Adding, the integral is

    83log⁡e3−43=43(2log⁡e3−1)=43log⁡e9e\begin{aligned} \dfrac{8}{3}\log_e 3 - \dfrac{4}{3} &= \dfrac{4}{3}(2\log_e 3 - 1) \\[4pt] &= \dfrac{4}{3}\log_e\dfrac{9}{e} \end{aligned}

    So m=4m = 4 and n=3n = 3, which are coprime, and m2+n2−5=16+9−5=20m^2 + n^2 - 5 = 16 + 9 - 5 = 20.

Answer. 20

Sanity check. Numerically the two parts are about 0.30 and 1.30, and 43log⁡e9e\dfrac{4}{3}\log_e\dfrac{9}{e} is about 1.60, their sum.

Common wrong answers

  • 68: Reading mn=83\dfrac{m}{n} = \dfrac{8}{3} from the coefficient of log⁡e3\log_e 3 gives 64+9−5=6864 + 9 - 5 = 68.

Key takeaway

The trap. The given form fixes how the common factor must be taken out.

How toppers think. They match the form by writing the constant 1 as the logarithm of e.

Remember. ∫log⁡exdx=xlog⁡ex−x+C\int\log_e xdx = x\log_e x - x + C

More on Evaluation Techniques