Skip to content
🚨 This site is a work in progress. Exciting updates are coming soon!

3.8 Q-19

Question Statement

Find the general solution of the differential equation:

dydxβˆ’x=xy2\frac{d y}{d x} - x = x y^{2}

Also, find the particular solution if y=1y = 1 when x=0x = 0.


Background and Explanation

This is a first-order nonlinear differential equation. The method to solve this involves separation of variables, where we attempt to isolate terms involving yy on one side and terms involving xx on the other. Once the variables are separated, we integrate both sides to obtain the general solution.


Solution

  1. Rewrite the equation:

    Start with the given equation:

dydxβˆ’x=xy2 \frac{d y}{d x} - x = x y^{2}
  1. Isolate the derivative term:

    Move all terms involving yy to one side and the terms involving xx to the other:

dydx=x+xy2 \frac{d y}{d x} = x + x y^{2}
  1. Separate the variables:

    Factor out xx from the right-hand side:

dydx=x(1+y2) \frac{d y}{d x} = x (1 + y^{2})

Now, separate the variables so that all terms with yy are on one side and all terms with xx are on the other:

11+y2,dy=x,dx(i) \frac{1}{1 + y^{2}} , d y = x , d x \tag{i}
  1. Integrate both sides:

    Integrating both sides:

∫11+y2,dy=∫x,dx \int \frac{1}{1 + y^{2}} , d y = \int x , d x

The integral on the left is a standard integral:

∫11+y2,dy=tanβ‘βˆ’1y \int \frac{1}{1 + y^{2}} , d y = \tan^{-1} y

The integral on the right is straightforward:

∫x,dx=x22 \int x , d x = \frac{x^{2}}{2}

So, after integrating:

tanβ‘βˆ’1y=x22+C(a) \tan^{-1} y = \frac{x^{2}}{2} + C \tag{a}
  1. Find the particular solution:

    To find the particular solution, use the initial condition y=1y = 1 when x=0x = 0. Substitute these values into equation (a):

tanβ‘βˆ’1(1)=022+C \tan^{-1}(1) = \frac{0^{2}}{2} + C

We know that tanβ‘βˆ’1(1)=Ο€4\tan^{-1}(1) = \frac{\pi}{4}, so:

Ο€4=C \frac{\pi}{4} = C
  1. Write the particular solution:

    Now that we know C=Ο€4C = \frac{\pi}{4}, substitute this into the general solution:

tanβ‘βˆ’1y=x22+Ο€4 \tan^{-1} y = \frac{x^{2}}{2} + \frac{\pi}{4}

Key Formulas or Methods Used

  • Separation of Variables: Rearranging the equation to isolate the terms with yy on one side and xx on the other.
  • Standard Integrals: Recognizing the integral ∫11+y2,dy=tanβ‘βˆ’1y\int \frac{1}{1 + y^{2}} , d y = \tan^{-1} y and integrating xx.
  • Initial Conditions: Using the given initial values to find the constant of integration.

Summary of Steps

  1. Start with the equation: dydxβˆ’x=xy2\frac{d y}{d x} - x = x y^{2}.
  2. Rearrange to isolate dydx\frac{d y}{d x}: dydx=x(1+y2)\frac{d y}{d x} = x(1 + y^{2}).
  3. Separate the variables: 11+y2,dy=x,dx\frac{1}{1 + y^{2}} , d y = x , d x.
  4. Integrate both sides: tanβ‘βˆ’1y=x22+C\tan^{-1} y = \frac{x^{2}}{2} + C.
  5. Use the initial condition y=1y = 1 when x=0x = 0 to find CC, giving C=Ο€4C = \frac{\pi}{4}.
  6. The particular solution is: tanβ‘βˆ’1y=x22+Ο€4\tan^{-1} y = \frac{x^{2}}{2} + \frac{\pi}{4}.