Skip to content
Exercise 9.5 · Q14

Q.Solve the following differential equation: (1+x2)dydx+2xy=11+x2; y=0 when x=1(1+x^2)\frac{dy}{dx} + 2xy = \frac{1}{1+x^2}; \ y=0 \text{ when } x=1

Yanam BieapTextbookSubjective· 3mImportance★★★★★
43% · 96/222 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

This is a first-order linear ODE solved by rewriting it in standard form, finding the integrating factor μ(x)=1+x2\mu(x)=1+x^2, and then integrating both sides. The particular solution satisfying y(1)=0y(1)=0 is y=tan⁡−1x−π41+x2y = \frac{\tan^{-1}x - \frac{\pi}{4}}{1+x^2}.

The problem gives us a differential equation with an initial condition — an Initial Value Problem (IVP). The equation is:

(1+x2)dydx+2xy=11+x2,y(1)=0(1+x^2)\frac{dy}{dx} + 2xy = \frac{1}{1+x^2}, \quad y(1)=0

When you see a first-order ODE where the left side looks like it might be the derivative of a product, your first instinct should be: can I write this as ddx[something]\frac{d}{dx}[\text{something}]? That’s the heart of the integrating factor method.

Let’s check: the derivative of y⋅(1+x2)y \cdot (1+x^2) is (1+x2)dydx+2xy(1+x^2)\frac{dy}{dx} + 2xy — exactly the left-hand side! So the equation is already in “exact derivative” form. No need to hunt for an integrating factor; it’s already there.

  1. Rewrite as a perfect derivative Notice that:

ddx[y(1+x2)]=(1+x2)dydx+2xy\frac{d}{dx}\left[y(1+x^2)\right] = (1+x^2)\frac{dy}{dx} + 2xy

So the ODE becomes:

ddx[y(1+x2)]=11+x2\frac{d}{dx}\left[y(1+x^2)\right] = \frac{1}{1+x^2}

  1. Integrate both sides with respect to xx

∫ddx[y(1+x2)] dx=∫11+x2 dx\int \frac{d}{dx}\left[y(1+x^2)\right]\,dx = \int \frac{1}{1+x^2}\,dx

The left side gives y(1+x2)y(1+x^2). The right side is a standard integral:

∫11+x2 dx=tan⁡−1x+C\int \frac{1}{1+x^2}\,dx = \tan^{-1}x + C

So:

y(1+x2)=tan⁡−1x+Cy(1+x^2) = \tan^{-1}x + C

  1. Apply the initial condition y(1)=0y(1)=0 Substitute x=1x=1, y=0y=0:

0⋅(1+12)=tan⁡−1(1)+C⇒0=π4+C0 \cdot (1+1^2) = \tan^{-1}(1) + C \quad\Rightarrow\quad 0 = \frac{\pi}{4} + C

Hence C=−π4C = -\frac{\pi}{4}.

  1. Write the particular solution

y(1+x2)=tan⁡−1x−π4y(1+x^2) = \tan^{-1}x - \frac{\pi}{4}

Therefore: …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.