QlarIITy

MathematicsJEE Main 2026 · 4 AprilInteger

Let ff be a twice differentiable function such thatf(x)=∫0xtan⁡(t−x) dt−∫0xf(t)tan⁡t dtf(x) = \int_0^x \tan(t - x)\ dt - \int_0^x f(t)\tan t\ dt, x∈(−π2,π2)x \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right)Thenf′′(π6)+12f′(−π6)+f(π6)f''\left(\frac{\pi}{6}\right) + 12f'\left(-\frac{\pi}{6}\right) + f\left(\frac{\pi}{6}\right)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. Turn an integral equation into a differential equation by differentiating, and take the starting value from x=0x = 0.

Concept refresher. If hh is continuous, then

ddx∫0xh(t) dt=h(x)\frac{d}{dx}\int_0^x h(t)\ dt = h(x)

(the fundamental theorem of calculus). The linear equation dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x) has integrating factor μ=e∫P dx\mu = e^{\int P\ dx} and solution yμ=∫Qμ dx+Cy\mu = \int Q\mu\ dx + C. For ∣x∣<π2|x| < \frac{\pi}{2}, ∫tan⁡u du=−log⁡e(cos⁡u)+C\int \tan u\ du = -\log_e(\cos u) + C.

Approach. Evaluate the first integral, differentiate the equation, solve the linear equation with f(0)=0f(0) = 0, then substitute the three values.

  1. Step 1: Evaluate the first integral

    Its integrand depends on xx, so substitute u=t−xu = t - x, which runs from −x-x to 00:

    ∫0xtan⁡(t−x) dt=∫−x0tan⁡u du=log⁡e(cos⁡x)\begin{aligned} \int_0^x \tan(t - x)\ dt &= \int_{-x}^{0} \tan u\ du \\[4pt] &= \log_e(\cos x) \end{aligned}

    So f(x)=log⁡e(cos⁡x)−∫0xf(t)tan⁡t dtf(x) = \log_e(\cos x) - \int_0^x f(t)\tan t\ dt, and putting x=0x = 0 gives f(0)=0f(0) = 0.

  2. Step 2: Differentiate

    The remaining integral has a fixed lower limit, so the fundamental theorem applies:

    f′(x)=−tan⁡x−f(x)tan⁡xf′+ftan⁡x=−tan⁡x\begin{aligned} f'(x) &= -\tan x - f(x)\tan x \\[4pt] f' + f\tan x &= -\tan x \end{aligned}
  3. Step 3: Solve the linear equation

    The integrating factor is e∫tan⁡x dx=sec⁡xe^{\int \tan x\ dx} = \sec x on (−π2,π2)\left(-\frac{\pi}{2}, \frac{\pi}{2}\right):

    ddx(fsec⁡x)=−tan⁡xsec⁡xfsec⁡x=−sec⁡x+C\begin{aligned} \frac{d}{dx}\left(f\sec x\right) &= -\tan x\sec x \\[4pt] f\sec x &= -\sec x + C \end{aligned}

    With f(0)=0f(0) = 0, C=1C = 1, so f(x)=cos⁡x−1f(x) = \cos x - 1.

  4. Step 4: Substitute the values

    With ff known, differentiate it twice and put in the three points: f′(x)=−sin⁡xf'(x) = -\sin x and f′′(x)=−cos⁡xf''(x) = -\cos x, so

    f′′(π6)+12f′(−π6)+f(π6)=−32+12⋅12+32−1=5\begin{aligned} &f''\left(\frac{\pi}{6}\right) + 12f'\left(-\frac{\pi}{6}\right) + f\left(\frac{\pi}{6}\right) \\[4pt] &= -\frac{\sqrt{3}}{2} + 12 \cdot \frac{1}{2} + \frac{\sqrt{3}}{2} - 1 = 5 \end{aligned}

Answer. 5

Sanity check. Check f(x)=cos⁡x−1f(x) = \cos x - 1 in the original equation: the second integral is ∫0x(sin⁡t−tan⁡t) dt\int_0^x (\sin t - \tan t)\ dt, which equals 1−cos⁡x+log⁡e(cos⁡x)1 - \cos x + \log_e(\cos x). Subtracting it from log⁡e(cos⁡x)\log_e(\cos x) leaves cos⁡x−1\cos x - 1, which is f(x)f(x).

Smart method. Since f′′=−cos⁡xf'' = -\cos x and f=cos⁡x−1f = \cos x - 1, the sum f′′(x)+f(x)=−1f''(x) + f(x) = -1 for every xx, so the two 32\frac{\sqrt{3}}{2} terms cancel without computing them, and only 12f′(−π6)=12⋅12=612f'\left(-\frac{\pi}{6}\right) = 12 \cdot \frac{1}{2} = 6 remains: 6−1=56 - 1 = 5. This needs the solution to have the form cos⁡x+c\cos x + c.

Common wrong answers

  • -5: Taking the first integral as −log⁡e(cos⁡x)-\log_e(\cos x) leads to f(x)=1−cos⁡xf(x) = 1 - \cos x, and then 32−6+1−32=−5\frac{\sqrt{3}}{2} - 6 + 1 - \frac{\sqrt{3}}{2} = -5; the integral is ∫−x0tan⁡u du=+log⁡e(cos⁡x)\int_{-x}^{0} \tan u\ du = +\log_e(\cos x).
  • -1: Dropping the constant of integration gives fsec⁡x=−sec⁡xf \sec x = -\sec x, so f=−1f = -1 and the sum is 0+0−1=−10 + 0 - 1 = -1; the condition f(0)=0f(0) = 0 forces the constant 11, so f=cos⁡x−1f = \cos x - 1.
  • -7: Evaluating f′f' at π6\frac{\pi}{6} instead of −π6-\frac{\pi}{6} gives 12⋅(−12)=−612 \cdot \left(-\frac{1}{2}\right) = -6 and a total of −32−6+32−1=−7-\frac{\sqrt{3}}{2} - 6 + \frac{\sqrt{3}}{2} - 1 = -7; since f′(x)=−sin⁡xf'(x) = -\sin x, f′(−π6)=+12f'\left(-\frac{\pi}{6}\right) = +\frac{1}{2}.

Key takeaway

The trap. A sign slip in ∫−x0tan⁡u du\int_{-x}^{0} \tan u\ du, which flips the whole solution.

How toppers think. They check the solution in the original integral equation, which also confirms the constant.

Remember. ddx∫0xh(t) dt=h(x)\frac{d}{dx}\int_0^x h(t)\ dt = h(x), but an integrand that contains xx must be handled first.

More on Linear Differential Equations