Exact & Linear Differential Equations
Learning Objectives
- Identify and solve exact differential equations.
- Apply integrating factors to solve non-exact and linear differential equations.
- Transform and solve Bernoulli's differential equations.
When separation of variables fails, we look for other structures. Two powerful methods are checking for exactness and transforming the equation into a linear form.
Exact Differential Equation
A differential equation of the form is exact if the mixed partial derivatives are equal:
Method for Exact DEs
If exact, there exists a potential function such that:
Steps to Solve:- Integrate with respect to (treating as constant):
- Differentiate this result with respect to and set it equal to :
- Solve for and integrate to find .
- The general solution is .
Recovering the Exact Potential
Exactness makes M dx + N dy a differential of one potential function; this diagram shows how its missing y-only term is recovered.
Theory of Integrating Factors
An Integrating Factor (IF), denoted by , is a function that, when multiplied by a non-exact differential equation , turns it into an exact differential equation .
This means the new equation must satisfy the exactness condition:
Integrating Factors for Non-Exact DEs
If an equation is not exact (), we can sometimes find an Integrating Factor (IF) that depends only on one variable, either or . We check this by taking the difference of the partials and dividing by or .
- Case 1: IF depends only on Check the quantity: . If this expression simplifies to a function dependent only on (no terms), then the integrating factor is .
- Case 2: IF depends only on Check the quantity: . If this expression simplifies to a function dependent only on (no terms), then the integrating factor is .
Multiplying the original DE by the corresponding will make it exact. You can then solve using the exact equation procedure.
Integrating Factor Visualizer
Interactive Simulation
Interact with the simulation below to explore integrating factors for exact and linear equations.
Linear DE
Find an integrating factor to make it exact.
Select power
✗ Not Exact
To be exact, we need . Match the blue curve to the dashed red curve.
Linear First-Order Differential Equations
A first-order DE is linear if the dependent variable and its derivative appear to the first power.
Standard Linear Form
Method of Integrating Factors (Linear)
To solve a linear DE:
- Calculate IF: Ensure the equation is in the standard form. Find the integrating factor .
- Multiply: Multiply the entire DE by . The left side automatically becomes the derivative of a product:
- Integrate: Integrate both sides with respect to :
- Solve for y: Divide by to obtain the explicit general solution.
Why the Linear Integrating Factor Works
The integrating factor is selected so the left side becomes the derivative of a product, making the equation directly integrable.
Bernoulli's Equation
A Bernoulli Equation is a specific type of non-linear DE that can be systematically reduced to a linear one using a standard substitution.
Bernoulli Equation Form
where is any real number and . (If or , the equation is already linear).
Bernoulli Substitution Method
- Standardize: Write the equation in the Bernoulli form .
- Check the domain: The substitution requires and a domain where the real power is defined. Check separately whether solves the original equation so division does not discard a solution.
- Divide: On a valid nonzero interval, divide by to get .
- Substitute: Introduce .
- Differentiate: , so .
- Transform: Substitute to obtain the linear equation .
- Solve and back-substitute: Solve this linear equation on the valid interval, replace with , and check any excluded solution in the original equation.
Bernoulli Substitution Converts the Equation to Linear Form
The substitution replaces the nonlinear power of y with a new dependent variable; the transformation is valid only on a domain where division and the real power are defined.
Method Selection Across Exact, Linear, and Bernoulli Forms
First-Order Exact, Linear, and Bernoulli Method Selection
Classify a first-order equation before applying an exact-equation, one-variable integrating-factor, linear integrating-factor, or Bernoulli method.
Work on an interval where the equation and every division or substitution used are defined. For M dx + N dy = 0, the x-only test is (M_y − N_x)/N and the y-only test is (N_x − M_y)/M; use each quotient only where its denominator is nonzero. For a Bernoulli equation, v = y^(1−n) is used on a domain where that real power is defined and y is nonzero. Check excluded zero solutions separately when the original equation permits them. Verify the resulting implicit or explicit solution in the original equation and state its valid interval.
Start → Write the equation and valid interval; Write the equation and valid interval → Mᵧ = Nₓ?; Mᵧ = Nₓ? — Yes → Recover F(x,y) = C; Mᵧ = Nₓ? — No → (Mᵧ − Nₓ)/N is x-only?; Recover F(x,y) = C → Substitute into the original equation; (Mᵧ − Nₓ)/N is x-only? — Yes → Use μ(x) = exp ∫[(Mᵧ − Nₓ)/N] dx; (Mᵧ − Nₓ)/N is x-only? — No → (Nₓ − Mᵧ)/M is y-only?; Use μ(x) = exp ∫[(Mᵧ − Nₓ)/N] dx → Substitute into the original equation; (Nₓ − Mᵧ)/M is y-only? — Yes → Use μ(y) = exp ∫[(Nₓ − Mᵧ)/M] dy; (Nₓ − Mᵧ)/M is y-only? — No → Can write y′ + P(x)y = Q(x)?; Use μ(y) = exp ∫[(Nₓ − Mᵧ)/M] dy → Substitute into the original equation; Can write y′ + P(x)y = Q(x)? — Yes → Use μ(x) = exp ∫P(x) dx; Can write y′ + P(x)y = Q(x)? — No → Bernoulli form with n ≠ 0, 1?; Use μ(x) = exp ∫P(x) dx → Substitute into the original equation; Bernoulli form with n ≠ 0, 1? — Yes → Is v = y^(1−n) real with y ≠ 0?; Bernoulli form with n ≠ 0, 1? — No → Use another applicable first-order method; Is v = y^(1−n) real with y ≠ 0? — Yes → Check y = 0 separately and set the valid interval; Is v = y^(1−n) real with y ≠ 0? — No → Use another applicable first-order method; Check y = 0 separately and set the valid interval → Transform to a linear equation in v; Transform to a linear equation in v → Substitute into the original equation; Use another applicable first-order method → End chart and use selected method; Substitute into the original equation → Solution and domain check pass?; Solution and domain check pass? — Yes → Record solution and interval; Solution and domain check pass? — No → Recheck algebra, domain, and method conditions; Recheck algebra, domain, and method conditions → Write the equation and valid interval
- Start: terminator
- Write the equation and valid interval: process
- Mᵧ = Nₓ?: decision
- Recover F(x,y) = C: process
- (Mᵧ − Nₓ)/N is x-only?: decision
- Use μ(x) = exp ∫[(Mᵧ − Nₓ)/N] dx: process
- (Nₓ − Mᵧ)/M is y-only?: decision
- Use μ(y) = exp ∫[(Nₓ − Mᵧ)/M] dy: process
- Can write y′ + P(x)y = Q(x)?: decision
- Use μ(x) = exp ∫P(x) dx: process
- Bernoulli form with n ≠ 0, 1?: decision
- Is v = y^(1−n) real with y ≠ 0?: decision
- Check y = 0 separately and set the valid interval: process
- Transform to a linear equation in v: process
- Use another applicable first-order method: process
- End chart and use selected method: terminator
- Substitute into the original equation: process
- Solution and domain check pass?: decision
- Recheck algebra, domain, and method conditions: process
- Record solution and interval: terminator
- Exact Equations rely on partial derivatives; verify . The solution is a potential surface .
- Integrating Factors (Non-Exact) can convert certain non-exact equations into exact ones by multiplying by or .
- Linear Equations follow the standard form and are solved using an Integrating Factor .
- Bernoulli Equations are non-linear () but can be transformed into linear ones via the substitution .
- The Bernoulli substitution is used on a domain where and division by are valid; check any excluded zero solution separately.
- Always try to identify if an equation is Exact or Linear first, as these have reliable algorithmic solutions.