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

3.8 Q-2

Question Statement

Solve the following differential equation:

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

Background and Explanation

This is a first-order linear differential equation. To solve it, we use the method of separation of variables, which involves rewriting the equation so that all terms involving yy are on one side and all terms involving xx are on the other side. After separation, we can integrate both sides to find the solution.


Solution

  1. Rewrite the equation using separation of variables:

    Starting with the given equation:

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

We separate the variables yy and xx:

1y,dy=βˆ’dx \frac{1}{y} , dy = -dx
  1. Integrate both sides:

    Next, we integrate both sides:

∫1y,dy=βˆ’βˆ«1,dx \int \frac{1}{y} , dy = -\int 1 , dx

The left side integrates to ln⁑y\ln y and the right side integrates to βˆ’x-x. We also introduce a constant of integration C1C_1 on the right side:

ln⁑y=βˆ’x+C1 \ln y = -x + C_1
  1. Exponentiate both sides to solve for yy:

    To solve for yy, we exponentiate both sides of the equation:

y=eβˆ’x+C1 y = e^{-x + C_1}

We can break this down using the properties of exponents:

y=eβˆ’xβ‹…eC1 y = e^{-x} \cdot e^{C_1}
  1. Simplify the constant:

    We define a new constant C=eC1C = e^{C_1} (since eC1e^{C_1} is just a constant) and the solution becomes:

y=Ceβˆ’x y = C e^{-x}

Key Formulas or Methods Used

  • Separation of variables: Used to rearrange the differential equation into a solvable form.
  • Integration: Both sides of the separated equation were integrated to find the solution.
  • Exponentiation: To solve for yy, we exponentiated the equation to eliminate the natural logarithm.

Summary of Steps

  1. Separate the variables: 1y,dy=βˆ’dx\frac{1}{y} , dy = -dx
  2. Integrate both sides: ln⁑y=βˆ’x+C1\ln y = -x + C_1
  3. Exponentiate both sides: y=eβˆ’x+C1y = e^{-x + C_1}
  4. Simplify to: y=Ceβˆ’xy = C e^{-x}