RankRizz
JEE MAIN 2024 · 04 APR S1+4 / −1MEDIUMTRANSCRIBED

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

Let the solution y=y(x)y = y(x) of the differential equation dydx−y=1+4sin⁡x\frac{dy}{dx} - y = 1 + 4\sin x satisfy y(π)=1y(\pi) = 1. Then y(π2)+10y\left(\frac{\pi}{2}\right) + 10 is equal to ______.

SOLUTION

We need to solve the differential equation dydx−y=1+4sin⁡x\frac{dy}{dx} - y = 1 + 4\sin x with the condition y(π)=1y(\pi) = 1 and then find y(π2)+10y\left(\frac{\pi}{2}\right) + 10.

This is a first-order linear ODE of the form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x) where P(x)=−1P(x) = -1 and Q(x)=1+4sin⁡xQ(x) = 1 + 4\sin x. We use an integrating factor to solve it.

The integrating factor is given by IF=e∫P(x) dx=e∫−1 dx=e−x\text{IF} = e^{\int P(x)\,dx} = e^{\int -1\,dx} = e^{-x}

Multiplying both sides of the original equation by this factor and applying the product rule yields y e−x=∫(1+4sin⁡x) e−x dx+Cy\,e^{-x} = \int (1 + 4\sin x)\,e^{-x}\,dx + C

The integral of the first term is ∫e−x dx=−e−x .\int e^{-x}\,dx = -e^{-x}\,.

To evaluate the second integral ∫4sin⁡x e−x dx\int 4\sin x\,e^{-x}\,dx we use the standard result ∫eaxsin⁡(bx) dx=eax(asin⁡bx−bcos⁡bx)a2+b2\int e^{ax}\sin(bx)\,dx = \frac{e^{ax}(a\sin bx - b\cos bx)}{a^2 + b^2} with a=−1a = -1 and b=1b = 1. Hence ∫e−xsin⁡x dx=e−x(−sin⁡x−cos⁡x)(−1)2+12=e−x(−sin⁡x−cos⁡x)2\int e^{-x}\sin x\,dx = \frac{e^{-x}(-\sin x - \cos x)}{(-1)^2 + 1^2} = \frac{e^{-x}(-\sin x - \cos x)}{2} and therefore ∫4sin⁡x e−x dx=4⋅e−x(−sin⁡x−cos⁡x)2=−2e−x(sin⁡x+cos⁡x) .\int 4\sin x\,e^{-x}\,dx = 4 \cdot \frac{e^{-x}(-\sin x - \cos x)}{2} = -2e^{-x}(\sin x + \cos x)\,.

Combining these results gives y e−x=−e−x−2e−x(sin⁡x+cos⁡x)+C .y\,e^{-x} = -e^{-x} - 2e^{-x}(\sin x + \cos x) + C\,.

Multiplying through by exe^{x} to solve for yy leads to y=−1−2(sin⁡x+cos⁡x)+Cex .y = -1 - 2(\sin x + \cos x) + Ce^{x}\,.

Applying the initial condition y(π)=1y(\pi) = 1 gives the equation 1=−1−2(sin⁡π+cos⁡π)+Ceπ .1 = -1 - 2(\sin\pi + \cos\pi) + Ce^{\pi}\,. Since sin⁡π=0\sin\pi = 0 and cos⁡π=−1\cos\pi = -1 this becomes 1=−1−2(0+(−1))+Ceπ=1+Ceπ ,1 = -1 - 2(0 + (-1)) + Ce^{\pi} = 1 + Ce^{\pi}\,, so Ceπ=0Ce^{\pi} = 0 and hence C=0C = 0.

Substituting back yields the particular solution y=−1−2(sin⁡x+cos⁡x) .y = -1 - 2(\sin x + \cos x)\,.

Evaluating at x=π2x = \frac{\pi}{2} gives y(π2)=−1−2(sin⁡π2+cos⁡π2)=−1−2(1+0)=−3 .y\left(\frac{\pi}{2}\right) = -1 - 2\Bigl(\sin\frac{\pi}{2} + \cos\frac{\pi}{2}\Bigr) = -1 - 2(1 + 0) = -3\,.

Therefore, y(π2)+10=−3+10=7 .y\left(\frac{\pi}{2}\right) + 10 = -3 + 10 = 7\,.

The answer is 7.

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