JEE Main 2026 Mathematics question — Linear first-order differential equations
Let f be twice differentiable function such that f(x)=∫0xtan(t−x)dt−∫0xf(t)tantdt, x∈(−2π,2π). Then f′′(6π)+12f′(−6π)+f(6π) is equal to :
SOLUTION
We are given f(x)=∫0xtan(t−x)dt−∫0xf(t)tantdt,x∈(−2π,2π).
Step 1: Evaluate the first integral.
Put s=t−x.
When t=0,s=−x and when t=x,s=0.
Thus
∫0xtan(t−x)dt=∫−x0tansds.
Since ∫tansds=−ln∣coss∣, we get
∫−x0tansds=[−ln∣coss∣]−x0=0+lncosx=lncosx.
Therefore
f(x)=lncosx−∫0xf(t)tantdt.−(1)
Step 2: Differentiate once.
Differentiate both sides of (1) with respect to x (using Leibniz rule for the integral):
f′(x)=dxd(lncosx)−f(x)tanx.
Because dxdlncosx=−tanx, we get
f′(x)=−tanx−f(x)tanx=−tanx(1+f(x)).−(2)
Step 3: Differentiate again.
Differentiate (2):f′′(x)=−sec2x(1+f(x))−tanxf′(x).
Substitute f′(x) from (2):f′′(x)=−sec2x(1+f(x))−tanx[−tanx(1+f(x))].
Since sec2x=tan2x+1, the bracket simplifies: −sec2x+tan2x=−1.
Hence
f′′(x)=−(1+f(x))⟹f′′(x)+f(x)+1=0.−(3)
Step 4: Initial conditions.
From (1) at x=0: f(0)=lncos0=0.
From (2) at x=0: f′(0)=−tan0(1+f(0))=0.
Step 5: Solve the differential equation.
The homogeneous part of (3) is fh′′+fh=0, giving fh=C1cosx+C2sinx.
Seek a particular solution fp=A (constant). Substituting in (3): 0+A+1=0⇒A=−1.
Thus
f(x)=C1cosx+C2sinx−1.
Apply the initial conditions:
f(0)=C1−1=0⟹C1=1,f′(x)=−C1sinx+C2cosx, so f′(0)=C2=0.
Therefore
f(x)=cosx−1,f′(x)=−sinx,f′′(x)=−cosx.
Step 6: Compute the required expression.
At x=6π:f(6π)=cos6π−1=23−1,f′′(6π)=−cos6π=−23.
At x=−6π:f′(−6π)=−sin(−6π)=21.
Hence
f′′(6π)+12f′(−6π)+f(6π)=(−23)+12(21)+(23−1)=−23+6+23−1=5.
Therefore the required value is 5.
Tagged Linear first-order differential equations. Machine-assigned, so read it as a strong shortlist rather than a verdict.