RankRizz
JEE ADVANCED 2023 · PAPER 2+4MEDIUMTRANSCRIBED

JEE Advanced 2023 Mathematics question — Linear first-order differential equations

For x∈Rx \in \mathbb{R}, let y(x)y(x) be a solution of the differential equation (x2−5)dydx−2xy=−2x(x2−5)2(x^2 - 5)\frac{dy}{dx} - 2xy = -2x(x^2 - 5)^2 such that y(2)=7y(2) = 7. Then the maximum value of the function y(x)y(x) is

SOLUTION

The given differential equation is(x2−5)dydx−2xy=−2x(x2−5)2(x^{2}-5)\frac{dy}{dx}-2xy=-2x(x^{2}-5)^{2}

Divide by (x2−5)(x^{2}-5) (which is non-zero everywhere except at x=±5x=\pm\sqrt5, the points where the original equation is not defined):
dydx−2xx2−5 y=−2x(x2−5)\frac{dy}{dx}-\frac{2x}{x^{2}-5}\,y=-2x(x^{2}-5)

This is a linear first-order ODE of the form dydx+P(x) y=Q(x)\dfrac{dy}{dx}+P(x)\,y=Q(x) with
P(x)=−2xx2−5,Q(x)=−2x(x2−5).P(x)=-\frac{2x}{x^{2}-5},\qquad Q(x)=-2x(x^{2}-5).

Integrating factor (I.F.):
I.F.=e∫P(x) dx=e∫−2xx2−5 dx.\text{I.F.}=e^{\int P(x)\,dx}=e^{\int-\frac{2x}{x^{2}-5}\,dx}.

Put u=x2−5  ⇒  du=2x dx  ,u=x^{2}-5\;\Rightarrow\;du=2x\,dx\;, so
∫−2xx2−5 dx=−∫duu=−ln⁡∣u∣=ln⁡∣u∣−1.\int-\frac{2x}{x^{2}-5}\,dx=-\int\frac{du}{u}=-\ln|u|=\ln|u|^{-1}.
Thus I.F.=∣x2−5∣−1\text{I.F.}=|x^{2}-5|^{-1}. Ignoring the absolute value (it affects the sign only in regions where x2−5<0x^{2}-5\lt 0), we take
I.F.=1x2−5.\text{I.F.}=\frac1{x^{2}-5}.

Multiplying the differential equation by the integrating factor:
1x2−5dydx−2x(x2−5)2 y=−2x.\frac1{x^{2}-5}\frac{dy}{dx}-\frac{2x}{(x^{2}-5)^{2}}\,y=-2x.

The left side is the derivative of yx2−5\dfrac{y}{x^{2}-5} because
ddx ⁣(yx2−5)=(x2−5)dy/dx−2xy(x2−5)2=1x2−5dydx−2x(x2−5)2 y.\frac{d}{dx}\!\left(\frac{y}{x^{2}-5}\right)= \frac{(x^{2}-5)dy/dx-2xy}{(x^{2}-5)^{2}} =\frac1{x^{2}-5}\frac{dy}{dx}-\frac{2x}{(x^{2}-5)^{2}}\,y.

So we have
ddx ⁣(yx2−5)=−2x.\frac{d}{dx}\!\left(\frac{y}{x^{2}-5}\right)=-2x.

Integrate with respect to xx:
yx2−5=∫−2x dx=−x2+C,\frac{y}{x^{2}-5}=\int-2x\,dx=-x^{2}+C,
where CC is the constant of integration.

Therefore
y=(−x2+C)(x2−5).y=( -x^{2}+C)(x^{2}-5).

Use the initial condition y(2)=7y(2)=7:
For x=2 (  x2=4  ),y(2)=(C−4)(−1)=7  ⇒  C−4=−7  ⇒  C=−3.x=2\ (\;x^{2}=4\;),\qquad y(2)=(C-4)(-1)=7\; \Rightarrow\;C-4=-7\; \Rightarrow\;C=-3.

Hence the particular solution is
y(x)=(−x2−3)(x2−5).y(x)=(-x^{2}-3)(x^{2}-5).

Simplify by letting t=x2  ( t≥0 ):t=x^{2}\;(\,t\ge0\,):
y=−(t+3)(t−5)=−(t2−2t−15)=−t2+2t+15.y=-(t+3)(t-5)=-(t^{2}-2t-15)=-t^{2}+2t+15.

The quadratic y(t)=−t2+2t+15y(t)=-t^{2}+2t+15 opens downwards (coefficient of t2t^{2} is −1-1), so its maximum occurs at the vertex
t=−b2a=−22(−1)=1.t=\frac{-b}{2a}=\frac{-2}{2(-1)}=1.(That means x2=1⇒x=±1x^{2}=1\Rightarrow x=\pm1.)

Maximum value:
ymax⁡=−(1)2+2(1)+15=−1+2+15=16.y_{\max}=-(1)^{2}+2(1)+15=-1+2+15=16.

Therefore, the maximum value of y(x)y(x) is 16.

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