RankRizz
JEE MAIN 2025 · 02 APR S2+4 / −1MEDIUMTRANSCRIBED

JEE Main 2025 Mathematics question — Linear first-order differential equations

Let y=y(x)y = y(x) be the solution of the differential equation dydx+2ysec⁡2x=2sec⁡2x+3tan⁡x⋅sec⁡2x\frac{dy}{dx} + 2y\sec^2 x = 2\sec^2 x + 3\tan x \cdot \sec^2 x such that y(0)=54y(0) = \frac{5}{4}. Then 12(y(π4)−e−2)12\left(y\left(\frac{\pi}{4}\right) - e^{-2}\right) is equal to __________.

SOLUTION

The given differential equation is a first-order linear form
dydx+P(x) y=Q(x)\frac{dy}{dx}+P(x)\,y = Q(x)
with P(x)=2sec⁡2xP(x)=2\sec^{2}x and Q(x)=2sec⁡2x+3tan⁡x sec⁡2xQ(x)=2\sec^{2}x+3\tan x\,\sec^{2}x.

Step 1: Find the integrating factor (IF).
IF=e∫P(x) dx=e∫2sec⁡2x dx=e2tan⁡x\text{IF}=e^{\int P(x)\,dx}=e^{\int 2\sec^{2}x\,dx}=e^{2\tan x}

Step 2: Multiply every term of the differential equation by the IF.
e2tan⁡xdydx+2sec⁡2x e2tan⁡x y=(2sec⁡2x+3tan⁡x sec⁡2x) e2tan⁡xe^{2\tan x}\frac{dy}{dx}+2\sec^{2}x\,e^{2\tan x}\,y=(2\sec^{2}x+3\tan x\,\sec^{2}x)\,e^{2\tan x}

The left side is now the derivative of y e2tan⁡xy\,e^{2\tan x} because
ddx(y e2tan⁡x)=e2tan⁡xdydx+2sec⁡2x e2tan⁡x y.\frac{d}{dx}\bigl(y\,e^{2\tan x}\bigr)=e^{2\tan x}\frac{dy}{dx}+2\sec^{2}x\,e^{2\tan x}\,y.

Therefore,
ddx(y e2tan⁡x)=sec⁡2x e2tan⁡x (2+3tan⁡x).\frac{d}{dx}\bigl(y\,e^{2\tan x}\bigr)=\sec^{2}x\,e^{2\tan x}\,(2+3\tan x).

Step 3: Integrate both sides with respect to xx.
∫ddx(y e2tan⁡x) dx=∫sec⁡2x e2tan⁡x (2+3tan⁡x) dx.\int\frac{d}{dx}\bigl(y\,e^{2\tan x}\bigr)\,dx=\int\sec^{2}x\,e^{2\tan x}\,(2+3\tan x)\,dx.

Put u=tan⁡x  ⇒  du=sec⁡2x dxu=\tan x \;\Rightarrow\; du=\sec^{2}x\,dx to transform the right integral:
∫e2u (2+3u) du.\int e^{2u}\,(2+3u)\,du.

Break this into two parts:
2∫e2u du+3∫u e2u du.2\int e^{2u}\,du+3\int u\,e^{2u}\,du.

First integral: 2∫e2u du=2(e2u2)=e2u.2\int e^{2u}\,du=2\left(\frac{e^{2u}}{2}\right)=e^{2u}.

Second integral: use integration by parts, A=u,  dB=e2uduA=u,\; dB=e^{2u}du.
Then B=e2u2B=\frac{e^{2u}}{2} and
∫u e2u du=ue2u2−∫e2u2 du=u e2u2−e2u4.\int u\,e^{2u}\,du=u\frac{e^{2u}}{2}-\int\frac{e^{2u}}{2}\,du =\frac{u\,e^{2u}}{2}-\frac{e^{2u}}{4}.
Multiply by the coefficient 33:
3∫u e2u du=3u e2u2−3e2u4.3\int u\,e^{2u}\,du=\frac{3u\,e^{2u}}{2}-\frac{3e^{2u}}{4}.

Add the two parts:
e2u+(3u e2u2−3e2u4)=3u e2u2+e2u4.e^{2u}+\left(\frac{3u\,e^{2u}}{2}-\frac{3e^{2u}}{4}\right) =\frac{3u\,e^{2u}}{2}+\frac{e^{2u}}{4}.

Thus
y e2tan⁡x=3tan⁡x e2tan⁡x2+e2tan⁡x4+C,y\,e^{2\tan x}=\frac{3\tan x\,e^{2\tan x}}{2}+\frac{e^{2\tan x}}{4}+C,
where CC is the constant of integration.

Step 4: Divide by e2tan⁡xe^{2\tan x} to isolate yy:
y=32tan⁡x+14+C e−2tan⁡x.y=\frac{3}{2}\tan x+\frac{1}{4}+C\,e^{-2\tan x}.

Step 5: Use the initial condition y(0)=54y(0)=\frac{5}{4}.
At x=0x=0, tan⁡0=0\tan 0=0 and e−2tan⁡0=1e^{-2\tan 0}=1, so
54=0+14+C  (1)  ⟹  C=1.\frac{5}{4}=0+\frac{1}{4}+C\;(1)\;\Longrightarrow\;C=1.

Hence the particular solution is
y=32tan⁡x+14+e−2tan⁡x.y=\frac{3}{2}\tan x+\frac{1}{4}+e^{-2\tan x}.

Step 6: Evaluate yy at x=π4x=\frac{\pi}{4}.
tan⁡ ⁣(π4)=1,e−2tan⁡(π/4)=e−2.\tan\!\left(\frac{\pi}{4}\right)=1,\quad e^{-2\tan(\pi/4)}=e^{-2}.
Therefore
y ⁣(π4)=32(1)+14+e−2=74+e−2.y\!\left(\frac{\pi}{4}\right)=\frac{3}{2}(1)+\frac{1}{4}+e^{-2} =\frac{7}{4}+e^{-2}.

Step 7: Compute the required expression:
12(y ⁣(π4)−e−2)=12(74+e−2−e−2)=12⋅74=21.12\left(y\!\left(\frac{\pi}{4}\right)-e^{-2}\right) =12\left(\frac{7}{4}+e^{-2}-e^{-2}\right) =12\cdot\frac{7}{4}=21.

Final answer: 2121.

Tagged Linear first-order differential equations. Machine-assigned, so read it as a strong shortlist rather than a verdict.

TopicLinear first-order differential equations
TypeNumerical answer