Clear Notion Academy

JEE Main 2020 Mathematics PYQ: Let y=y(x) be the solution of the differential equation xy'-y=x 2(x x+ x) , x>0 . If y(…

Question

Let y=y(x)y=y(x) be the solution of the differential equation xy′−y=x2(xcos⁡x+sin⁡x)xy'-y=x^2(x\cos x+\sin x), x>0x>0. If y(π)=πy(\pi)=\pi, then y′′(π2)+y(π2)y''\left(\dfrac{\pi}{2}\right)+y\left(\dfrac{\pi}{2}\right) is equal to:

Options

  1. 2+π22+\dfrac{\pi}{2}
  2. 1+π2+π241+\dfrac{\pi}{2}+\dfrac{\pi^2}{4}
  3. 2+π2+π242+\dfrac{\pi}{2}+\dfrac{\pi^2}{4}
  4. 1+π21+\dfrac{\pi}{2}

Answer

Correct option: A

Hint

Divide through by x2x^2 to recognize the left side as ddx(yx)\dfrac{d}{dx}\left(\dfrac{y}{x}\right), then integrate.

Solution

Dividing by x2x^2: xy′−yx2=xcos⁡x+sin⁡x\dfrac{xy'-y}{x^2} = x\cos x+\sin x, i.e. ddx(yx)=xcos⁡x+sin⁡x\dfrac{d}{dx}\left(\dfrac{y}{x}\right) = x\cos x+\sin x. Integrating: yx=∫(xcos⁡x+sin⁡x)dx=xsin⁡x+C\dfrac{y}{x} = \displaystyle\int(x\cos x+\sin x)dx = x\sin x + C (since ∫xcos⁡x dx=xsin⁡x+cos⁡x\int x\cos x\,dx = x\sin x+\cos x and ∫sin⁡x dx=−cos⁡x\int\sin x\,dx=-\cos x, the cos⁡x\cos x terms cancel). So y=x2sin⁡x+Cxy = x^2\sin x + Cx. Using y(π)=πy(\pi)=\pi: π2sin⁡π+Cπ=π  ⟹  C=1\pi^2\sin\pi + C\pi = \pi \implies C=1. So y(x)=x2sin⁡x+xy(x) = x^2\sin x + x. Then y(π/2)=π24+π2y(\pi/2) = \dfrac{\pi^2}{4}+\dfrac{\pi}{2}. y′(x)=2xsin⁡x+x2cos⁡x+1y'(x) = 2x\sin x+x^2\cos x+1, y′′(x)=2sin⁡x+4xcos⁡x−x2sin⁡xy''(x) = 2\sin x+4x\cos x - x^2\sin x. At x=π/2x=\pi/2: y′′(π/2)=2(1)+0−π24=2−π24y''(\pi/2) = 2(1)+0-\dfrac{\pi^2}{4} = 2-\dfrac{\pi^2}{4}. So y′′(π/2)+y(π/2)=(2−π24)+(π24+π2)=2+π2y''(\pi/2)+y(\pi/2) = \left(2-\dfrac{\pi^2}{4}\right)+\left(\dfrac{\pi^2}{4}+\dfrac{\pi}{2}\right) = 2+\dfrac{\pi}{2}.

More questions from JEE Main 2020 Mathematics PYQ

Practise the full set: JEE Main Mathematics PYQs 2020