Exact & Linear 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:
Exact Equation Solution Visualizer
Potential Function:
$F(x,y) = x^2 y - x^3 - y^2 = C$
Adjust the constant $C$ to see different level curves (solutions) of the exact equation $(2xy - 3x^2)dx + (x^2 - 2y)dy = 0$.
C = 0.0
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 .
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
Integrating Factor Process
Follow the steps to see how \mu(x) transforms the equation.
The Problem: Non-Exact Equation
Consider the differential equation:
(3xy + y^2)dx + (x^2 + xy)dy = 0
M(x,y)
3xy + y^2Partial w.r.t. y
\frac{\partial M}{\partial y} = 3x + 2y
\neq
N(x,y)
x^2 + xyPartial w.r.t. x
\frac{\partial N}{\partial x} = 2x + y
Not Exact! The cross derivatives don't match.
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.
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 .
- Divide: Divide the entire equation by to get: .
- Substitute: Introduce a new variable .
- Differentiate: Differentiate with respect to : . Note that this is proportional to the first term in step 2.
- Transform: Substitute and into the equation from step 2. You will obtain a standard linear DE in terms of and : .
- Solve for v: Multiply by and solve this new linear equation using the Integrating Factor method.
- Back-substitute: Replace with to find the solution in terms of .
Key Takeaways
- 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 .
- Always try to identify if an equation is Exact or Linear first, as these have reliable algorithmic solutions.