Medium MCQ +4 / -1 PYQ · JEE Mains 2020

Let y = y(x) be the solution of the differential equation,
xy'- y = x2(xcosx + sinx), x > 0. if y ($\pi$) = $\pi$ then
$y''\left( {{\pi \over 2}} \right) + y\left( {{\pi \over 2}} \right)$ is equal to :

  1. A $1 + {\pi \over 2}$
  2. B $2 + {\pi \over 2} + {{{\pi ^2}} \over 4}$
  3. C $2 + {\pi \over 2}$ Correct answer
  4. D $1 + {\pi \over 2} + {{{\pi ^2}} \over 4}$

Solution

$$xy' - y = {x^2}(x{\mathop{\rm cosx}\nolimits} + sinx),\,x &gt; 0,\,y(\pi ) = \pi $$<br><br>$y' - {1 \over x}y = x\{ x\cos x\, + \,\sin x\}$<br><br>$I.F. = {e^{ - \int {{1 \over 2}dx} }} = {e^{ - \ln x}} = {1 \over x}$<br><br>$\therefore$ $y.{1 \over x} = \int {{1 \over x}.x(x\,cos\,x + sin\,x)<br>dx}$<br><br>${{y \over x}}$ = $\int ( x\,\cos \,x + \sin \,x)dx$<br><br>$= x\,\sin \,x + C$<br><br>${{y \over x}}$ = $x\,\sin \,x + C$<br><br>$\Rightarrow y = {x^2} = \sin \,x + cx$<br><br>x = $\pi$, y = $\pi$<br><br>$\pi$ = $\pi$c $\Rightarrow$ C = 1<br><br>$$y = {x^2}\sin x + x \Rightarrow y\left( {{\pi \over 2}} \right) = {{{\pi ^2}} \over 4} + {\pi \over 2}$$<br><br>$y' = 2x\sin x + {x^2}\cos x + 1$<br><br>y" = $2\sin x + 2x\cos x + 2x\cos x - {x^2}\sin x$<br><br>y" $\left( {{\pi \over 2}} \right) = 2 - {{{\pi ^2}} \over 4}$ <br><br>$\Rightarrow y\left( {{\pi \over 2}} \right)$ + y" $\left( {{\pi \over 2}} \right) = 2 + {\pi \over 2}$

About this question

Subject: Mathematics · Chapter: Differential Equations · Topic: Order and Degree

This question is part of PrepWiser's free JEE Main question bank. 172 more solved questions on Differential Equations are available — start with the harder ones if your accuracy is >70%.

Drill 25 more like these. Every day. Free.

PrepWiser turns these solved questions into a daily practice loop. Chapter-wise drills, full mocks, AI doubt chat. No auto-renew.

Start free →