RankRizz
JEE MAIN 2025 · 07 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 (x2+1)y′−2xy=(x4+2x2+1)cos⁡x(x^2 + 1)y' - 2xy = (x^4 + 2x^2 + 1)\cos x, y(0)=1y(0) = 1. Then ∫−33y(x) dx\int_{-3}^{3} y(x) \, dx is :

SOLUTION

The given differential equation is(x2+1) y′  −  2x y  =  (x4+2x2+1)cos⁡x,y(0)=1(x^{2}+1)\,y' \;-\;2x\,y \;=\;(x^{4}+2x^{2}+1)\cos x,\qquad y(0)=1

Step 1: Write it in standard linear form y′+P(x) y=Q(x).y'+P(x)\,y=Q(x).
Divide by (x2+1):(x^{2}+1):
y′  −  2xx2+1 y  =  x4+2x2+1x2+1 cos⁡x.y' \;-\;\frac{2x}{x^{2}+1}\,y \;=\;\frac{x^{4}+2x^{2}+1}{x^{2}+1}\,\cos x.

Notice that x4+2x2+1=(x2+1)2,x^{4}+2x^{2}+1=(x^{2}+1)^{2}, so the right-hand side simplifies to(x2+1)cos⁡x.(x^{2}+1)\cos x.
Thusy′  −  2xx2+1 y  =  (x2+1)cos⁡x−(1)y' \;-\;\frac{2x}{x^{2}+1}\,y \;=\;(x^{2}+1)\cos x\qquad -(1)

Step 2: Find the integrating factor (I.F.).
For y′+P(x) y=Q(x)y' + P(x)\,y = Q(x), I.F. is e∫P(x) dx.e^{\int P(x)\,dx}. Here P(x)=−2xx2+1.P(x)= -\frac{2x}{x^{2}+1}. ThereforeI.F.=e∫−2xx2+1 dx=e−ln⁡(x2+1)=1x2+1.\text{I.F.}=e^{\int -\frac{2x}{x^{2}+1}\,dx} =e^{-\ln(x^{2}+1)} =\frac{1}{x^{2}+1}.

Step 3: Multiply equation −(1)-(1) by the I.F.

1x2+1 y′  −  2x(x2+1)2  y  =  cos⁡x\frac{1}{x^{2}+1}\,y' \;-\;\frac{2x}{(x^{2}+1)^{2}}\;y \;=\;\cos x

The left side is the derivative of yx2+1\frac{y}{x^{2}+1} because ddx(yx2+1)=y′(x2+1)−y(2x)(x2+1)2=1x2+1 y′−2x(x2+1)2 y.\frac{d}{dx}\left(\frac{y}{x^{2}+1}\right)= \frac{y'(x^{2}+1)-y(2x)}{(x^{2}+1)^{2}} =\frac{1}{x^{2}+1}\,y' -\frac{2x}{(x^{2}+1)^{2}}\,y.

Henceddx(yx2+1)=cos⁡x.\frac{d}{dx}\left(\frac{y}{x^{2}+1}\right)=\cos x.(Integrate)

Step 4: Integrate both sides.

yx2+1=∫cos⁡x dx=sin⁡x+C\frac{y}{x^{2}+1}= \int \cos x\,dx = \sin x + C

Thereforey(x)=(x2+1)(sin⁡x+C).y(x)=(x^{2}+1)\bigl(\sin x + C\bigr).

Step 5: Apply the initial condition y(0)=1.y(0)=1. At x=0x=0,
1=(02+1)(sin⁡0+C)=1⋅(0+C)=C.1=(0^{2}+1)\bigl(\sin 0 + C\bigr)=1\cdot(0+C)=C. So C=1.C=1.

Hence the required solution isy(x)=(x2+1)(sin⁡x+1).y(x)=(x^{2}+1)\bigl(\sin x + 1\bigr).

Step 6: Evaluate ∫−33y(x) dx.\displaystyle\int_{-3}^{3}y(x)\,dx.
∫−33y(x) dx=∫−33(x2+1)(sin⁡x+1) dx\int_{-3}^{3}y(x)\,dx =\int_{-3}^{3}(x^{2}+1)\bigl(\sin x + 1\bigr)\,dx =∫−33(x2+1)sin⁡x dx  +  ∫−33(x2+1) dx−(2)=\int_{-3}^{3}(x^{2}+1)\sin x\,dx \;+\;\int_{-3}^{3}(x^{2}+1)\,dx \qquad -(2)

Case 1: ∫−33(x2+1)sin⁡x dx\displaystyle\int_{-3}^{3}(x^{2}+1)\sin x\,dx
(x2+1)(x^{2}+1) is even, sin⁡x\sin x is odd ⟹\Longrightarrow their product is odd.
The integral of an odd function over [−a,a][-a,a] is 0.0.
So this part contributes 0.0.

Case 2: ∫−33(x2+1) dx=∫−33x2 dx+∫−331 dx\displaystyle\int_{-3}^{3}(x^{2}+1)\,dx =\int_{-3}^{3}x^{2}\,dx+\int_{-3}^{3}1\,dx Even function property:
∫−33x2 dx=2∫03x2 dx=2[x33]03=2⋅273=18.\int_{-3}^{3}x^{2}\,dx=2\int_{0}^{3}x^{2}\,dx =2\left[\frac{x^{3}}{3}\right]_{0}^{3}=2\cdot\frac{27}{3}=18. Constant term:
∫−331 dx=6.\int_{-3}^{3}1\,dx = 6. Therefore the second integral equals 18+6=24.18+6=24.

Combining both cases in −(2)-(2):
∫−33y(x) dx=0+24=24.\int_{-3}^{3}y(x)\,dx = 0 + 24 = 24.

Thus the value of ∫−33y(x) dx\displaystyle\int_{-3}^{3}y(x)\,dx is 24,24, which corresponds to Option A.

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