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

3.8 Q-4

Question Statement

Solve the following differential equation:

dydx=1βˆ’xy\frac{dy}{dx} = \frac{1 - x}{y}

Background and Explanation

This is a first-order differential equation that can be solved using the method of separation of variables. In this method, we aim to separate the terms involving xx and yy on opposite sides of the equation so that we can integrate both sides.


Solution

  1. Rearrange the equation:

    Start with the given equation:

dydx=1βˆ’xy \frac{dy}{dx} = \frac{1 - x}{y}

To separate the variables, multiply both sides by y,dxy , dx:

y,dy=(1βˆ’x),dx y , dy = (1 - x) , dx
  1. Integrate both sides:

    Now, integrate both sides:

∫y,dy=∫(1βˆ’x),dx \int y , dy = \int (1 - x) , dx

The left-hand side integrates to y22\frac{y^2}{2}, and the right-hand side integrates as follows:

∫1,dx=xand∫x,dx=x22 \int 1 , dx = x \quad \text{and} \quad \int x , dx = \frac{x^2}{2}

So, we get:

y22=xβˆ’x22+C1 \frac{y^2}{2} = x - \frac{x^2}{2} + C_1
  1. Simplify the equation:

    Multiply both sides by 2 to simplify:

y2=2xβˆ’x2+2C1 y^2 = 2x - x^2 + 2C_1
  1. Final equation:

    Finally, rewrite the constant term as CC (since 2C12C_1 is just another constant):

y2=x(2βˆ’x)+C y^2 = x(2 - x) + C

This is the general solution to the differential equation.


Key Formulas or Methods Used

  • Separation of variables: Rearranged the equation to separate the variables xx and yy.
  • Integration: Integrated both sides with respect to their respective variables.
  • Constant of integration: Used the constant C1C_1 (which we later simplified to CC) to account for the indefinite integral.

Summary of Steps

  1. Rearrange the equation: y,dy=(1βˆ’x),dxy , dy = (1 - x) , dx
  2. Integrate both sides: y22=xβˆ’x22+C1\frac{y^2}{2} = x - \frac{x^2}{2} + C_1
  3. Simplify the equation: y2=2xβˆ’x2+2C1y^2 = 2x - x^2 + 2C_1
  4. Final equation: y2=x(2βˆ’x)+Cy^2 = x(2 - x) + C