MathIsimple

Lesson 4-2: First-Order Differential Equations

Master separable and linear first-order differential equations with integrating factors, logistic growth models, and real-world applications.

Learning Objectives

  • Identify and solve separable first-order differential equations.
  • Apply the integrating factor method to linear first-order ODEs.
  • Model real-world phenomena using differential equations.
  • Solve logistic growth and RC circuit problems.

Core Solution Methods

Separable Equations

dydx=f(x)g(y)\frac{dy}{dx} = f(x) g(y)
dyg(y)=f(x)dx\frac{dy}{g(y)} = f(x) dx

Separate variables and integrate

Linear Equations

y+P(x)y=Q(x)y' + P(x) y = Q(x)
μ(x)=eP(x)dx\mu(x) = e^{\int P(x) dx}

Use integrating factor

Separable Equations

Method

1. Separate variables:

dyg(y)=f(x)dx\frac{dy}{g(y)} = f(x) dx

2. Integrate both sides:

dyg(y)=f(x)dx+C\int \frac{dy}{g(y)} = \int f(x) dx + C

3. Solve for y and apply initial conditions

Linear First-Order Equations

Integrating Factor Method

1. Find integrating factor:

μ(x)=eP(x)dx\mu(x) = e^{\int P(x) dx}

2. Multiply equation by μ(x):

μ(x)y+μ(x)P(x)y=μ(x)Q(x)\mu(x) y' + \mu(x) P(x) y = \mu(x) Q(x)

3. Left side becomes derivative of μ(x)y:

ddx[μ(x)y]=μ(x)Q(x)\frac{d}{dx}[\mu(x) y] = \mu(x) Q(x)

Worked Examples

Example 1: Separable Equation

Solve dydx=2xy\frac{dy}{dx} = 2xy with y(0)=1y(0) = 1.

Solution:

dyy=2xdx\frac{dy}{y} = 2x dx
lny=x2+C\ln|y| = x^2 + C
y=Cex2y = Ce^{x^2}
y=ex2y = e^{x^2}

Example 2: Linear Equation

Solve y+2y=exy' + 2y = e^{-x} with y(0)=1y(0) = 1.

Solution:

μ(x)=e2dx=e2x\mu(x) = e^{\int 2 dx} = e^{2x}
e2xy+2e2xy=exe^{2x} y' + 2e^{2x} y = e^{x}
ddx[e2xy]=ex\frac{d}{dx}[e^{2x} y] = e^{x}
y=e2x+Ce2xy = e^{-2x} + Ce^{-2x}

Real-World Applications

Logistic Growth Model

dPdt=rP(1PK)\frac{dP}{dt} = rP\left(1 - \frac{P}{K}\right)

Models population growth with carrying capacity K and growth rate r.

RC Circuit

RCdVdt+V=V0RC\frac{dV}{dt} + V = V_0

Describes voltage across capacitor in RC circuit with source voltage V₀.

Practice Problems

Problem 1

Solve the separable equation: dydx=x2y\frac{dy}{dx} = \frac{x^2}{y} with y(1)=2y(1) = 2.

y=2x33+103y = \sqrt{\frac{2x^3}{3} + \frac{10}{3}}

Problem 2

Solve the linear equation: y+3y=6xy' + 3y = 6x with y(0)=0y(0) = 0.

y=2x23+23e3xy = 2x - \frac{2}{3} + \frac{2}{3}e^{-3x}

Key Takeaways

  • Separable equations can be solved by separating variables and integrating.
  • Linear equations require the integrating factor method for solution.
  • Initial conditions are essential for finding unique solutions.
  • Differential equations model many real-world phenomena in science and engineering.
Continue to Lesson 4-3 for parametric and polar systems.