Mathematics · Differential Equations

JEE Main 2025 — 7 April, Evening Shift — Question 36

Let y=y(x)y=y(x) be the solution of the differential equation

(x2+1)y′−2xy=(x4+2x2+1)cos⁡x\left(x^{2}+1\right) y^{\prime}-2 x y=\left(x^{4}+2 x^{2}+1\right) \cos x, y(0)=1y(0)=1. Then ∫−33y(x)dx\int_{-3}^{3} y(x) d x is :

  1. Option A:

    24

    Correct
  2. Option B:

    18

  3. Option C:

    30

  4. Option D:

    36

Answer: A

Step-by-step solution

(1+x2)dydx−2xy=(x4+2x2+1)cos⁡x\left(1+x^{2}\right) \frac{d y}{d x}-2 x y=\left(x^{4}+2 x^{2}+1\right) \cos x

dydx−(2x1+x2)y=(x2+1)cos⁡x(x2+1)\frac{d y}{d x}-\left(\frac{2 x}{1+x^{2}}\right) y=\frac{\left(x^{2}+1\right) \cos x}{\left(x^{2}+1\right)}

IF=e−∫2x1+x2dx=11+x2\mathrm{IF}=e^{-\int \frac{2 x}{1+x^{2}} d x}=\frac{1}{1+x^{2}}

y1+x2=∫cos⁡xdx\frac{y}{1+x^{2}}=\int \cos x d x y1+x2=∫sin⁡x+c\frac{y}{1+x^{2}}=\int \sin x+c

∵y(0)=1\because y(0)=1

⇒1=c\Rightarrow 1=c

∴y=(1+sin⁡x)(1+x2)\therefore y=(1+\sin x)\left(1+x^{2}\right)

∫−33y(x)dx∫−33(1+sin⁡x)(1+x2)dx\int_{-3}^{3} y(x) d x \int_{-3}^{3}(1+\sin x)\left(1+x^{2}\right) d x

=∫032(1+x2)dx=\int_{0}^{3} 2\left(1+x^{2}\right) d x

=2x+2x33]03\left.=2 x+\frac{2 x^{3}}{3}\right]_{0}^{3}

=6+18=24=6+18=24

Answer key and solution verified before publishing.

Practise Differential Equations

Start with this question, then two more from the same chapter — with a tutor that explains every step. Free.

Exam
JEE Main 2025
Subject
Mathematics
Chapter
Differential Equations
Topic
Methods of solving a First Order,First Degree Differential
Let y=y(x) be the solution of the differential equation (x 2 +1 ) y… | JEE Main 2025 PYQ with Solution · DhiX AI