RankRizz
JEE MAIN 2018 · 08 APR OFFLINE+4 / −1TRANSCRIBED

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

Let y=y(x)y = y(x) be the solution of the differential equation sin⁡xdydx+ycos⁡x=4x\sin x \frac{dy}{dx} + y \cos x = 4x, x∈(0,π)x \in (0, \pi). If y(π2)=0y\left(\frac{\pi}{2}\right) = 0, then y(π6)y\left(\frac{\pi}{6}\right) is equal to:

SOLUTION

We start with the given first-order linear differential equation

sin⁡x dydx+ycos⁡x=4x,x∈(0,π).\sin x\,\frac{dy}{dx}+y\cos x = 4x,\qquad x\in(0,\pi).

In order to recognise it in the standard linear form, we divide every term by sin⁡x  (≠0 for x∈(0,π))\sin x\;( \neq 0\text{ for }x\in(0,\pi)). This gives

dydx+cos⁡xsin⁡x y=4xsin⁡x.\frac{dy}{dx}+\frac{\cos x}{\sin x}\,y = \frac{4x}{\sin x}.

The fraction cos⁡xsin⁡x\dfrac{\cos x}{\sin x} is the trigonometric function cot⁡x\cot x and 1sin⁡x\dfrac{1}{\sin x} is csc⁡x\csc x, so we can rewrite the equation compactly as

dydx+ycot⁡x=4xcsc⁡x.\frac{dy}{dx}+y\cot x = 4x\csc x.

For a linear differential equation of the form

dydx+P(x) y=Q(x),\frac{dy}{dx}+P(x)\,y = Q(x),

the integrating factor (I.F.) is defined by the formula

I.F.=e∫P(x) dx.\text{I.F.}=e^{\displaystyle\int P(x)\,dx}.

Here P(x)=cot⁡xP(x)=\cot x, so we compute

∫P(x) dx=∫cot⁡x dx=∫cos⁡xsin⁡x dx=ln⁡∣sin⁡x∣.\int P(x)\,dx=\int\cot x\,dx=\int\frac{\cos x}{\sin x}\,dx=\ln|\sin x|.

Exponentiating, we obtain the integrating factor

I.F.=eln⁡∣sin⁡x∣=∣sin⁡x∣.\text{I.F.}=e^{\ln|\sin x|}=|\sin x|.

Because x∈(0,π)x\in(0,\pi), we have sin⁡x>0\sin x>0 and therefore the absolute value can be dropped, giving simply

I.F.=sin⁡x.\text{I.F.}= \sin x.

We multiply the whole differential equation by this integrating factor:

sin⁡x(dydx)+sin⁡x⋅ycot⁡x=sin⁡x⋅4xcsc⁡x.\sin x\left(\frac{dy}{dx}\right)+\sin x\cdot y\cot x = \sin x\cdot 4x\csc x.

The right-hand side simplifies because sin⁡x⋅csc⁡x=1\sin x\cdot\csc x = 1:

sin⁡x dydx+y(sin⁡xcot⁡x)=4x.\sin x\,\frac{dy}{dx}+y(\sin x\cot x) = 4x.

Recalling that cot⁡x=cos⁡xsin⁡x\cot x = \dfrac{\cos x}{\sin x}, we have sin⁡xcot⁡x=cos⁡x\sin x\cot x = \cos x, so the left-hand side is

sin⁡x dydx+ycos⁡x.\sin x\,\frac{dy}{dx}+y\cos x.

Thus the equation has become

sin⁡x dydx+ycos⁡x=4x,\sin x\,\frac{dy}{dx}+y\cos x = 4x,

which is in fact the same expression we started with, confirming that we have used the correct integrating factor.

By construction of the integrating factor, the left-hand side now represents the derivative of the product ysin⁡xy\sin x, because

ddx(ysin⁡x)=sin⁡x dydx+ycos⁡x.\frac{d}{dx}(y\sin x)=\sin x\,\frac{dy}{dx}+y\cos x.

Therefore we can rewrite the differential equation compactly as

ddx(ysin⁡x)=4x.\frac{d}{dx}(y\sin x)=4x.

We integrate both sides with respect to xx:

∫ddx(ysin⁡x) dx=∫4x dx.\int\frac{d}{dx}(y\sin x)\,dx = \int 4x\,dx.

The integral on the left simply returns the product ysin⁡xy\sin x, while the integral on the right is

∫4x dx=4⋅x22=2x2.\int 4x\,dx = 4\cdot\frac{x^{2}}{2}=2x^{2}.

Adding the constant of integration CC, we have

ysin⁡x=2x2+C.y\sin x = 2x^{2}+C.

Solving for yy gives the general solution

y(x)=2x2+Csin⁡x.y(x)=\frac{2x^{2}+C}{\sin x}.

We now use the initial condition y ⁣(π2)=0y\!\left(\dfrac{\pi}{2}\right)=0 to find the constant CC. Substituting x=π2x=\dfrac{\pi}{2}, and recalling that sin⁡π2=1\sin\dfrac{\pi}{2}=1, we get

0=y ⁣(π2)=2(π2)2+C1.0 = y\!\left(\dfrac{\pi}{2}\right)=\frac{2\left(\dfrac{\pi}{2}\right)^{2}+C}{1}.

Simplifying inside the numerator,

2(π2)2=2⋅π24=π22.2\left(\dfrac{\pi}{2}\right)^{2}=2\cdot\frac{\pi^{2}}{4}=\frac{\pi^{2}}{2}.

Thus

0=π22+C⟹C=−π22.0 = \frac{\pi^{2}}{2}+C \quad\Longrightarrow\quad C = -\frac{\pi^{2}}{2}.

Substituting this value of CC back into the expression for y(x)y(x), we obtain

y(x)=2x2−π22sin⁡x.y(x)=\frac{2x^{2}-\dfrac{\pi^{2}}{2}}{\sin x}.

For later convenience we multiply numerator and denominator by 22, giving an equivalent but slightly tidier form:

y(x)=4x2−π22sin⁡x.y(x)=\frac{4x^{2}-\pi^{2}}{2\sin x}.

Now we evaluate y ⁣(π6)y\!\left(\dfrac{\pi}{6}\right). First, sin⁡π6=12\sin\dfrac{\pi}{6}=\dfrac12. Substituting x=π6x=\dfrac{\pi}{6} into the numerator, we compute

4x2−π2=4(π6)2−π2=4⋅π236−π2=π29−π2.4x^{2}-\pi^{2}=4\left(\frac{\pi}{6}\right)^{2}-\pi^{2}=4\cdot\frac{\pi^{2}}{36}-\pi^{2}=\frac{\pi^{2}}{9}-\pi^{2}.

Hence

y ⁣(π6)=π29−π22⋅12.y\!\left(\frac{\pi}{6}\right)=\frac{\dfrac{\pi^{2}}{9}-\pi^{2}}{2\cdot\dfrac12}.

The denominator 2⋅122\cdot\dfrac12 equals 11, so it disappears, leaving simply

y ⁣(π6)=π29−π2.y\!\left(\frac{\pi}{6}\right)=\frac{\pi^{2}}{9}-\pi^{2}.

Combining the terms inside the numerator by taking a common denominator of 99, we obtain

π29−π2=π29−9π29=−8π29.\frac{\pi^{2}}{9}-\pi^{2}=\frac{\pi^{2}}{9}-\frac{9\pi^{2}}{9}=\frac{-8\pi^{2}}{9}.

Therefore

y ⁣(π6)=−89π2.y\!\left(\frac{\pi}{6}\right)=-\frac{8}{9}\pi^{2}.

Among the given options, this value corresponds to Option D.

Hence, the correct answer is Option D.

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