RankRizz
JEE MAIN 2026+4 / −1TRANSCRIBED

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

Let y=y(x)y=y(x) satisfy 1ydydx−2excos⁡xy=1\frac{1}{y}\frac{dy}{dx}-\frac{2e^x\cos x}{y}=1 and y(0)=0y(0)=0. Then y(π2)=y\left(\frac{\pi}{2}\right)=

SOLUTION

The given differential equation can be rearranged into a standard linear form.

1ydydx−2excos⁡xy=1\frac{1}{y} \frac{dy}{dx} - \frac{2e^x \cos x}{y} = 1

Multiply the entire equation by yy to remove the denominator.

dydx−2excos⁡x=y\frac{dy}{dx} - 2e^x \cos x = y

Bring the yy term to the left side to form a first-order linear differential equation.

dydx−y=2excos⁡x\frac{dy}{dx} - y = 2e^x \cos x

This equation is of the standard form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x), where P(x)=−1P(x) = -1 and Q(x)=2excos⁡xQ(x) = 2e^x \cos x.

Next, calculate the integrating factor (IF).

IF=e∫P(x)dx=e∫−1dx=e−x\text{IF} = e^{\int P(x) dx} = e^{\int -1 dx} = e^{-x}

Multiply both sides of the differential equation by the integrating factor.

The left side simplifies to the derivative of the product of yy and the IF.

e−xdydx−e−xy=2exe−xcos⁡xe^{-x} \frac{dy}{dx} - e^{-x} y = 2e^x e^{-x} \cos x

ddx(ye−x)=2cos⁡x\frac{d}{dx} (y e^{-x}) = 2 \cos x

Integrate both sides with respect to xx.

∫ddx(ye−x)dx=∫2cos⁡xdx\int \frac{d}{dx} (y e^{-x}) dx = \int 2 \cos x dx

ye−x=2sin⁡x+Cy e^{-x} = 2 \sin x + C

Use the given initial condition y(0)=0y(0) = 0 to find the constant of integration CC.

Substitute x=0x = 0 and y=0y = 0 into the equation.

0⋅e−0=2sin⁡(0)+C0 \cdot e^{-0} = 2 \sin(0) + C

0=0+C0 = 0 + C

C=0C = 0

Substitute C=0C = 0 back into the general solution to obtain the particular solution.

ye−x=2sin⁡xy e^{-x} = 2 \sin x

y=2exsin⁡xy = 2e^x \sin x

Finally, evaluate the function at x=π2x = \frac{\pi}{2}.

y(π2)=2eπ2sin⁡(π2)y\left(\frac{\pi}{2}\right) = 2e^{\frac{\pi}{2}} \sin\left(\frac{\pi}{2}\right)

Since sin⁡(π2)=1\sin(\frac{\pi}{2}) = 1, the expression simplifies to the final answer.

y(π2)=2eπ2y\left(\frac{\pi}{2}\right) = 2e^{\frac{\pi}{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