RankRizz
JEE MAIN 2021 · 20 JUL S2+4 / −1MEDIUMTRANSCRIBED

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

Let y=y(x)y = y(x) satisfies the equation dydx−∣A∣=0\frac{dy}{dx} - |A| = 0, for all x>0x > 0, where A=[ysin⁡x10−11201x]A = \begin{bmatrix} y & \sin x & 1 \\ 0 & -1 & 1 \\ 2 & 0 & \frac{1}{x} \end{bmatrix}. If y(π)=π+2y(\pi) = \pi + 2, then the value of y(π2)y\left(\frac{\pi}{2}\right) is:

SOLUTION

We first compute ∣A∣=det⁡(A)|A| = \det(A) where A=[ysin⁡x10−11201x]A = \begin{bmatrix} y & \sin x & 1 \\ 0 & -1 & 1 \\ 2 & 0 & \frac{1}{x} \end{bmatrix}.

Expanding along the first row: ∣A∣=y(−1x−0)−sin⁡x(0−2)+1(0+2)=−yx+2sin⁡x+2.|A| = y\left(-\frac{1}{x} - 0\right) - \sin x\left(0 - 2\right) + 1\left(0 + 2\right) = -\frac{y}{x} + 2\sin x + 2.

The ODE becomes dydx=−yx+2sin⁡x+2\frac{dy}{dx} = -\frac{y}{x} + 2\sin x + 2, i.e., dydx+yx=2sin⁡x+2.\frac{dy}{dx} + \frac{y}{x} = 2\sin x + 2.

The integrating factor is e∫1xdx=xe^{\int \frac{1}{x}dx} = x. Multiplying through: d(xy)dx=2xsin⁡x+2x.\frac{d(xy)}{dx} = 2x\sin x + 2x.

Integrating: xy=∫2xsin⁡x dx+∫2x dxxy = \int 2x\sin x\,dx + \int 2x\,dx. Using integration by parts, ∫2xsin⁡x dx=−2xcos⁡x+2sin⁡x\int 2x\sin x\,dx = -2x\cos x + 2\sin x, so: xy=−2xcos⁡x+2sin⁡x+x2+C.xy = -2x\cos x + 2\sin x + x^2 + C.

Applying the condition y(π)=π+2y(\pi) = \pi + 2: π(π+2)=−2πcos⁡π+2sin⁡π+π2+C=2π+π2+C.\pi(\pi + 2) = -2\pi\cos\pi + 2\sin\pi + \pi^2 + C = 2\pi + \pi^2 + C. π2+2π=2π+π2+C  ⟹  C=0.\pi^2 + 2\pi = 2\pi + \pi^2 + C \implies C = 0.

Thus y=−2cos⁡x+2sin⁡xx+xy = -2\cos x + \frac{2\sin x}{x} + x. Evaluating at x=π2x = \frac{\pi}{2}: y ⁣(π2)=−2cos⁡π2+2sin⁡π2π2+π2=0+4π+π2=π2+4π.y\!\left(\frac{\pi}{2}\right) = -2\cos\frac{\pi}{2} + \frac{2\sin\frac{\pi}{2}}{\frac{\pi}{2}} + \frac{\pi}{2} = 0 + \frac{4}{\pi} + \frac{\pi}{2} = \frac{\pi}{2} + \frac{4}{\pi}.

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