First-Order Linear Equations
Master the integrating factor method, variation of constants, Bernoulli equations, Riccati equations, and real-world applications in mixing problems, cooling, and electrical circuits.
- Identify and write first-order linear ODEs in standard form
- Derive and apply the integrating factor method systematically
- Understand the structure of solutions: homogeneous plus particular
- Apply variation of constants to find particular solutions
- Transform Bernoulli equations into linear equations via substitution
- Reduce Riccati equations using a known particular solution
- Model and solve real-world problems: mixing, cooling, circuits
- State and apply the existence-uniqueness theorem for linear ODEs
1. First-Order Linear Equations: Standard Form
First-order linear differential equations are among the most important equations in applied mathematics. They appear in countless applications from physics to biology to economics.
Definition 2.1: First-Order Linear ODE
A first-order linear ordinary differential equation has the form:
where and are given functions of . This is the standard form. The equation is homogeneous if and nonhomogeneous otherwise.
Remark:
Any equation with can be converted to standard form by dividing by .
Theorem 2.1: Existence and Uniqueness for Linear First-Order ODEs
Let and be continuous on an open interval . Then for any and any , the IVP:
has a unique solution that exists on the entire interval .
Proof of Theorem 2.1:
Existence: Constructed via integrating factor method (Section 2).
Uniqueness: If and are both solutions, let . Then with . The homogeneous solution is . Using gives , so . ∎
2. The Integrating Factor Method
The integrating factor method is the primary technique for solving first-order linear ODEs. The idea is to multiply by a function that makes the left side a perfect derivative.
Definition 2.2: Integrating Factor
For , the integrating factor is:
Theorem 2.2: Integrating Factor Solution Formula
The general solution is:
where .
Proof of Theorem 2.2:
Multiply by : . Since , the left side is . Integrating: . ∎
Algorithm 2.1: Integrating Factor Method
Input: , possibly with IVP
1. Compute
2. Multiply both sides by
3. Recognize left side as
4. Integrate:
5. Solve for
Example 2.2: Integrating Factor with IVP
Solve: ,
Solution: . Then , so .
Thus . Using : . Answer:
Example 2.3: Variable Coefficient
Solve: ,
Standard form: . Integrating factor: .
, so . Answer:
3. Variation of Constants
Variation of constants provides an alternative perspective based on the solution structure.
Theorem 2.3: Structure of Solutions
The general solution of is , where is the homogeneous solution and is any particular solution.
Algorithm 2.2: Variation of Constants
1. Solve homogeneous:
2. Assume
3. Substitute and solve for
Example 2.4: Variation of Constants
Solve:
Homogeneous: . Assume .
Substituting: , so , .
Answer:
4. Bernoulli Equations
Definition 2.3: Bernoulli Equation
A Bernoulli equation has the form:
where .
Theorem 2.4: Linearization of Bernoulli Equations
The substitution transforms the Bernoulli equation into:
Proof of Theorem 2.4:
Let . Then . From :
Rearranging gives the linear equation. ∎
Example 2.5: Bernoulli Equation
Solve:
Here . Substitute : .
Transform: . Solve: .
Answer: and .
5. Riccati Equations
Definition 2.4: Riccati Equation
A Riccati equation has the form:
Theorem 2.5: Reduction of Riccati Equations
If is a known particular solution, the substitution transforms the Riccati equation into a linear equation:
Example 2.6: Riccati Equation
Solve: , given .
Verify: , ✓
Substitute . With , : .
Solve: . Answer:
6. Applications
6.1 Mixing Problems
Example 2.7: Salt Mixing Problem
Problem: A tank has 200 L of brine with 50 kg salt. Brine (0.5 kg/L) flows in at 6 L/min; solution flows out at 6 L/min. Find .
Model: , .
Integrating factor: . Solution: .
Using IC: . Answer:
6.2 Newton's Law of Cooling
Example 2.8: Cooling Problem
Problem: Coffee at 90°C in a 20°C room cools to 70°C in 5 min. Find .
Model: , .
Solution: . Using : .
Using : , so , .
Answer: where
Note:
In both applications, the solution approaches an equilibrium: salt concentration matches input (0.5 kg/L → 100 kg total); temperature approaches room temperature (20°C).
Frequently Asked Questions
Where does the integrating factor formula come from?
The integrating factor is chosen so that . This makes the left side of equal to by the product rule. The exponential form ensures since .
Why can any first-order linear equation be written in standard form?
Any equation with can be divided by to get . This is standard form with and . The only restriction is , which must hold for the equation to be well-defined.
When can a Bernoulli equation be linearized?
A Bernoulli equation can always be linearized when . For , it's already linear. For , it becomes , which is also linear. The substitution works for all other values of .
Why are Riccati equations difficult, and when can they be solved?
Riccati equations are difficult because the quadratic term prevents direct linearization. Unlike Bernoulli equations, no general substitution works. They can be solved when: (1) a particular solution is known (reduce to linear); (2) (try ); (3) coefficients have special structure allowing polynomial solutions.
How do initial conditions affect the solution?
For linear first-order ODEs, the initial condition uniquely determines the constant in the general solution. The existence-uniqueness theorem guarantees exactly one solution passes through any given point where and are continuous. Different initial conditions give different particular solutions from the same family.
What is the physical meaning of the superposition principle?
For linear equations, the general solution is . The homogeneous solution represents the system's natural response (transient), while represents the forced response (steady-state). In circuits, is the transient that decays; in cooling, it's the departure from equilibrium. The superposition principle reflects linearity: responses to different inputs can be added.