JEE Main 2021MathematicsDifferential EquationsMediumMCQ

JEE Main 2021Differential Equations Question with Solution

JEE Main 2021 (25 Jul Shift 2)

Question

Let y=yx be the solution of the differential equation xdy=y+x3cosxdx with yπ=0, then yπ2 is equal to:

Choose an option

Show full solutionCorrect option: A
Correct answer
Aπ24+π2

Step-by-step explanation

We have, xdy=y+x3cosxdx

xdy=ydx+x3cosxdx

xdy-ydxx2=x3cosxdxx2

ddxyx=xcosxdx

yx=xsinx-1.sinxdx

Therefore, yx=xsinx+cosx+C

At x=π, y=0,

0=-1+C

C=1,x=π,y=0

So, yx=xsinx+cosx+1

y=x2sinx+xcosx+x

Hence, yπ2=π24+π2.

Practice this on the real CBT interface

Solve this JEE Main question (and the rest of the Differential Equations chapter) on PrepSharp's TCS iON-style CBT player — with timer, bookmarks and session analytics.

Solve interactively →

About this question

This is a previous-year question from JEE Main 2021, covering the Differential Equations chapter of Mathematics. PrepSharp catalogues every PYQ from JEE Main with a verified answer key and step-by-step solution prepared by IIT alumni — so you can search by chapter, topic or year and revise efficiently.