Thomas’ Calculus · Chapter 09 · Section 9.2
By Muhammad Abdullah Athar · SymPy Verified
First-Order Linear Equations
Read this page the way you would a book: first the notes, then the key ideas, then every worked example in order — each step explains not only what to do, but why it works.
Part One
Section Notes
Section 9.2: First-Order Linear Equations
First-order linear ODEs have standard form .
1. Solution Algorithm
- Standard Form: Put equation into .
- Integrating Factor: Calculate .
- Multiply: .
- Integrate: .
- Solve for : .
Part Two
Key Ideas to Remember
1 essential statements for this section, each with a plain-words explanation.
The Integrating Factor Method
Any first-order linear differential equation in standard form dy/dx + P(x)y = Q(x) can be solved by multiplying through by the integrating factor mu(x) = exp(int P(x)dx), collapsing the left side into the product derivative d/dx[mu(x) y].
Conditions: P(x) and Q(x) are continuous on interval I
Remember — Multiply by mu(x) = exp(int P dx) to collapse left side into d/dx[mu * y].
Part Three
Worked Examples
5 exercises, solved in full. Every answer has been checked symbolically with SymPy before printing.
Example 01(Section 9.2, Exercise 1)
Warm-upProblem. Solve dy/dx + 2y = e^(-x).
Step-by-Step Derivation (3 steps)
Find Integrating Factor mu(x)
Integrate constant coefficient 2.
Multiply and Collapse Left Side
Collapse left side into derivative of product.
Integrate and Solve for y
Divide both sides by e^(2x).
Answer:
✓ Verified by SymPy CAS
Example 02(Section 9.2, Exercise 2)
Core practiceProblem. Solve x dy/dx + 2y = 4x^2 for x > 0.
Step-by-Step Derivation (3 steps)
Convert to Standard Form
Divide all terms by x.
Compute Integrating Factor
Simplify exponential of logarithm.
Multiply and Integrate
Integrate 4x^3 to x^4 and divide by x^2.
Answer:
✓ Verified by SymPy CAS
Example 03(Section 9.2, Exercise 3)
Core practiceProblem. Solve dy/dx + y tan(x) = cos^2(x) with y(0) = 2 on (-pi/2, pi/2).
Step-by-Step Derivation (3 steps)
Compute Integrating Factor
On (-pi/2, pi/2), sec(x) > 0.
Multiply and Integrate
sec(x) * cos^2(x) = cos(x).
Apply Initial Condition y(0) = 2
Solve for C and distribute cos(x).
Answer:
✓ Verified by SymPy CAS
Example 04(Section 9.2, Exercise 4)
ChallengeProblem. Solve dy/dx + y = 1 for 0 <= x <= 1 with y(0) = 0.
Step-by-Step Derivation (3 steps)
Integrating Factor
Simple exponential factor.
Integrate Equation
General solution.
Apply Initial Condition y(0) = 0
Particular solution.
Answer:
✓ Verified by SymPy CAS
Example 05(Section 9.2, Exercise 5)
Core practiceProblem. For dy/dt + 3y = 6, identify the transient and steady-state components of the general solution.
Step-by-Step Derivation (2 steps)
Find Integrating Factor and General Solution
Solve linear ODE.
Identify Limit as t -> oo
Exponential decay term dies out.
Answer:
✓ Verified by SymPy CAS