JEE Advanced 2023 Mathematics question — Linear first-order differential equations
For x∈R, let y(x) be a solution of the differential equation (x2−5)dxdy−2xy=−2x(x2−5)2 such that y(2)=7. Then the maximum value of the function y(x) is
SOLUTION
The given differential equation is(x2−5)dxdy−2xy=−2x(x2−5)2
Divide by (x2−5) (which is non-zero everywhere except at x=±5, the points where the original equation is not defined): dxdy−x2−52xy=−2x(x2−5)
This is a linear first-order ODE of the form dxdy+P(x)y=Q(x) with P(x)=−x2−52x,Q(x)=−2x(x2−5).
Put u=x2−5⇒du=2xdx, so ∫−x2−52xdx=−∫udu=−ln∣u∣=ln∣u∣−1.
Thus I.F.=∣x2−5∣−1. Ignoring the absolute value (it affects the sign only in regions where x2−5<0), we take I.F.=x2−51.
Multiplying the differential equation by the integrating factor: x2−51dxdy−(x2−5)22xy=−2x.
The left side is the derivative of x2−5y because dxd(x2−5y)=(x2−5)2(x2−5)dy/dx−2xy=x2−51dxdy−(x2−5)22xy.
So we have dxd(x2−5y)=−2x.
Integrate with respect to x: x2−5y=∫−2xdx=−x2+C,
where C is the constant of integration.
Therefore y=(−x2+C)(x2−5).
Use the initial condition y(2)=7:
For x=2(x2=4),y(2)=(C−4)(−1)=7⇒C−4=−7⇒C=−3.
Hence the particular solution is y(x)=(−x2−3)(x2−5).
Simplify by letting t=x2(t≥0): y=−(t+3)(t−5)=−(t2−2t−15)=−t2+2t+15.
The quadratic y(t)=−t2+2t+15 opens downwards (coefficient of t2 is −1), so its maximum occurs at the vertex t=2a−b=2(−1)−2=1.(That means x2=1⇒x=±1.)
Maximum value: ymax=−(1)2+2(1)+15=−1+2+15=16.
Therefore, the maximum value of y(x) is 16.
Tagged Linear first-order differential equations. Machine-assigned, so read it as a strong shortlist rather than a verdict.