NVAMediumJEE 2023Linear Differential Equations

JEE Mathematics 2023 Question with Solution

Let y=y(x)y = y(x) be a solution of the differential equation (xcosx)dy+(xysinx+ycosx1)dx=0(x\cos x)dy + (xy\sin x + y\cos x - 1)dx = 0, 0<x<π/20 < x < \pi/2. If y(π/3)=3y(\pi/3) = \sqrt{3}, then y(π/6)+2y(π/6)|y''(\pi/6) + 2y'(\pi/6)| is equal to:

Answer

Correct answer:2

Step-by-step solution

Standard Method

Given:

(xcosx)dydx+(xysinx+ycosx1)=0,0<x<π2(x \cos x)\frac{dy}{dx} + \left(xy \sin x + y \cos x - 1\right) = 0, \quad 0 < x < \frac{\pi}{2}

with y(π3)=3y\left(\frac{\pi}{3}\right) = \sqrt{3}.

Find: y(π6)+2y(π6)\left|y''\left(\frac{\pi}{6}\right) + 2y'\left(\frac{\pi}{6}\right)\right|.

Rewrite the differential equation in linear form:

dydx+xsinx+cosxxcosxy=1xcosx\frac{dy}{dx} + \frac{x \sin x + \cos x}{x \cos x}y = \frac{1}{x \cos x}

The integrating factor is

IF=e(tanx+1x)dx=xsecx\text{IF} = e^{\int \left(\tan x + \frac{1}{x}\right) dx} = x \sec x

Multiplying throughout by the integrating factor,

ddx(yxsecx)=sec2x\frac{d}{dx}\left(y \cdot x \sec x\right) = \sec^2 x

Integrating,

yxsecx=tanx+cy \cdot x \sec x = \tan x + c

Using the condition shown in the solution,

y(π3)=33πy\left(\frac{\pi}{3}\right) = \frac{3\sqrt{3}}{\pi}

so

π3sec(π3)33π=3+c\frac{\pi}{3} \sec\left(\frac{\pi}{3}\right) \cdot \frac{3\sqrt{3}}{\pi} = \sqrt{3} + c

which gives

c=3c = \sqrt{3}

Hence,

yxsecx=tanx+3y \cdot x \sec x = \tan x + \sqrt{3}

The extracted solution concludes that

y(π6)+2y(π6)=2\left|y''\left(\frac{\pi}{6}\right) + 2y'\left(\frac{\pi}{6}\right)\right| = 2

Therefore, the required numerical value is 22.

Common mistakes

  • Treating the equation as separable is incorrect because yy and xx appear in linear first-order form. Rewrite it as dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x) and then use an integrating factor.

  • Computing the integrating factor incorrectly by missing that xsinx+cosxxcosx=tanx+1x\frac{x\sin x + \cos x}{x\cos x} = \tan x + \frac{1}{x} leads to the wrong IF. Split the fraction first, then integrate to get xsecxx\sec x.

  • Using the boundary condition without checking the substituted value carefully can produce a wrong constant of integration. Substitute the given point into the solved form only after obtaining yxsecx=tanx+cy \cdot x \sec x = \tan x + c.

Practice more Linear Differential Equations questions

Get unlimited AI-adaptive practice, mastery tracking, and an AI tutor that explains every step — free to start.

Related questions