RankRizz
JEE MAIN 2021 · 16 MAR S2+4 / −1MEDIUMTRANSCRIBED

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

If y=y(x)y = y(x) is the solution of the differential equation dydx+(tan⁡x)y=sin⁡x\frac{dy}{dx} + (\tan x)y = \sin x, 0≤x≤π30 \leq x \leq \frac{\pi}{3}, with y(0)=0y(0) = 0, then y(π4)y\left(\frac{\pi}{4}\right) is equal to:

SOLUTION

The differential equation is dydx+(tan⁡x)y=sin⁡x\frac{dy}{dx} + (\tan x) y = \sin x with y(0)=0y(0) = 0. This is a first-order linear ODE.

The integrating factor is μ=e∫tan⁡x dx=eln⁡∣sec⁡x∣=sec⁡x\mu = e^{\int \tan x \, dx} = e^{\ln |\sec x|} = \sec x.

Multiplying both sides by sec⁡x\sec x: ddx(ysec⁡x)=sin⁡x⋅sec⁡x=tan⁡x\frac{d}{dx}(y \sec x) = \sin x \cdot \sec x = \tan x.

Integrating: ysec⁡x=∫tan⁡x dx=−ln⁡∣cos⁡x∣+C=ln⁡∣sec⁡x∣+Cy \sec x = \int \tan x \, dx = -\ln|\cos x| + C = \ln|\sec x| + C.

Applying the initial condition y(0)=0y(0) = 0: 0⋅1=ln⁡1+C0 \cdot 1 = \ln 1 + C, so C=0C = 0.

Therefore, ysec⁡x=ln⁡(sec⁡x)y \sec x = \ln(\sec x), giving y=cos⁡x⋅ln⁡(sec⁡x)y = \cos x \cdot \ln(\sec x).

At x=π4x = \frac{\pi}{4}: y(π4)=cos⁡π4⋅ln⁡(sec⁡π4)=12⋅ln⁡(2)=12⋅12ln⁡2=ln⁡222y\left(\frac{\pi}{4}\right) = \cos\frac{\pi}{4} \cdot \ln\left(\sec\frac{\pi}{4}\right) = \frac{1}{\sqrt{2}} \cdot \ln(\sqrt{2}) = \frac{1}{\sqrt{2}} \cdot \frac{1}{2}\ln 2 = \frac{\ln 2}{2\sqrt{2}}.

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

TopicLinear first-order differential equations
TypeMultiple choice