Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Differential Equations / First-order equations

Linear First Order Equations

ODEs of the form y' + P(x)y = Q(x) — solved by an integrating factor.

3 min read · 5 sections · 1 checks

Contents 6 sections
  1. §1Introduction
  2. §2The Integrating Factor
  3. §3Worked Example
  4. §4Common Mistakes
  5. §5Summary
  6. ?Check yourself

By the end you can

  • Identify a linear first order ODE
  • Compute and apply the integrating factor
  • Solve initial value problems for linear equations

Helps to know: First Order ODEs, Separable Equations

§1Introduction

A linear first order ODE has the form y′+P(x)y=Q(x)y' + P(x) y = Q(x). The key trick is an integrating factor that turns the left side into a single derivative.

§2The Integrating Factor

§3Worked Example

Solve y′+2y=exy' + 2y = e^{x}.

Example 1Solution

  1. P=2P = 2, so μ=e2x\mu = e^{2x}.

§4Common Mistakes

  • Forgetting to put the equation in standard form y' + P(x)y = Q(x) first.
  • Omitting the +C after integrating.
  • Miscomputing the integrating factor by forgetting the exponential.

§5Summary

  1. Linear first order ODEs use an integrating factor.
  2. The factor is e^(∫ P dx).
  3. It collapses the left side into a single derivative.

Check yourself

  1. Q1
    An integrating factor for y′+2y=x is…