7.6 - Finding General Solutions Using Separation of Variables
Review: Implicit Differentiation
Before learning separation of variables, let’s recall implicit differentiation.
When an equation isn’t solved for , meaning it isn’t in the form , we differentiate implicitly with respect to .
Example: Differentiate
Solving for :
Separation of variables works in reverse. We start with and integrate to find .
General vs. Particular Solutions
General solution: contains an arbitrary constant , representing a whole family of solutions.
Particular solution: a specific solution, found by using an initial condition to determine .
This lesson focuses on general solutions, the ones with the . Particular solutions come in the next lesson.
What is Separation of Variables?
It’s a technique for solving differential equations by:
- Separating all the terms with (and ) onto one side
- Separating all the terms with (and ) onto the other side
- Integrating both sides
This only works when can be written as (a function of ) times (a function of ). Some differential equations can’t be separated at all. For example, is a sum that won’t factor into an part times a part, so separation of variables can’t solve it. For equations like that, use a slope field (or, in BC, Euler’s method) instead.
Leibniz Notation
The notation is called Leibniz notation, named after Gottfried Leibniz.
While is not technically a fraction, we can treat it like one for separation of variables.
So we can “multiply both sides by ” to separate the differentials:
The Separation of Variables Process
Step 1: Separate the variables. Rearrange so all the terms (with ) are on one side and all the terms (with ) are on the other.
Step 2: Integrate both sides.
Step 3: Solve for if you can. Manipulate algebraically to get by itself, giving an explicit solution.
Example 1: Basic Separation
Solve the differential equation .
Step 1: Separate the variables
Multiply both sides by :
Treat as a fraction and multiply both sides by :
Step 2: Integrate both sides
Note: we have two constants, but we can combine them:
where is just one combined constant.
Step 3: Solve for to get the explicit solution
Since is still just a constant, we can keep calling it :
Important: don’t forget the when taking even roots.
Answer:
Implicit vs. Explicit Solutions
Implicit Solution
An equation relating and that is not solved for .
Example:
Explicit Solution
is isolated on one side.
Example:
Most problems ask for an explicit solution when one is possible.
Example 2: Trigonometric Differential Equation
Solve .
Step 1: Separate the variables
Multiply both sides by :
Step 2: Integrate
From here on, we only write one constant , on the right side, since we’d combine them anyway.
Step 3: Solve for
Again, is just another constant:
Note: no is needed here, because we’re taking a cube root, which is an odd root.
Answer:
Example 3: Same Idea, Different Wording
Solve .
Step 1: Separate
This is the exact same separated equation as Example 2, just written differently in the original problem.
Step 2: Integrate
Step 3: Solve for
Answer:
Example 4: Negative Exponent Form
Solve .
Step 1: Separate
Rewrite , so:
Step 2: Integrate
Step 3: Multiply by 3
Step 4: Solve for
Answer:
Example 5: The Reciprocal Technique
Solve .
Step 1: Separate
Step 2: Integrate
Rewrite , and recall that :
Step 3: Multiply by
Since a constant can be positive or negative, we just write it as :
Step 4: Take the reciprocal of both sides
Answer:
Key point: the constant has to stay in the denominator when you take the reciprocal.
Example 6: Natural Logarithm and Exponentiating
Solve .
Step 1: Separate
Step 2: Integrate
Step 3: Exponentiate both sides
To solve for , raise to both sides:
Step 4: Simplify using exponent properties
Recall that :
Dropping the absolute value gives . Since is just a constant, we call it :
Answer:
Important: after exponentiating, the constant moves from the exponent to a multiplicative coefficient out front.
Why We Rewrite as
Using exponent rules:
Since is an arbitrary constant, is an arbitrary positive constant. The from dropping the absolute value lets it be negative too, so we just call the whole thing :
This is the form that shows up in multiple choice answers, and it’s the preferred format.
Example 7: Another Exponential Solution
Solve .
Step 1: Separate
Step 2: Integrate
Step 3: Exponentiate
Answer:
Example 8: Factoring Before Separating
Solve .
The Wrong Way
If you just subtract :
The right side is a difference of two terms, so you can’t split it into an part times a part yet. For separation of variables to work, has to equal a product: a function of multiplied by a function of .
The Right Way
Rearrange:
Factor out :
Now it separates:
Integrate:
Exponentiate:
Answer:
Key Technique Summary
Situation | Action |
with separate and functions | Separate and integrate |
Result has | Exponentiate both sides |
After exponentiating: | Rewrite as |
Need an explicit solution | Solve algebraically for |
Even root (square root, 4th root, etc.) | Include |
Odd root (cube root, 5th root, etc.) | No needed |
Strategy Flowchart
Step 1: Can you factor to get multiplied by a function?
↓ Yes
Step 2: Separate the variables:
↓
Step 3: Integrate both sides. One on the right side is enough
↓
Step 4: If you have , exponentiate both sides
↓
Step 5: Simplify:
↓
Step 6: Solve for explicitly if you can
↓
Step 7: Check your answer by differentiating
Key Takeaways
- Separation of variables: rearrange to get all the terms with and all the terms with
- Not every equation separates. has to be a function of times a function of , so something like can’t be separated
- Leibniz notation: treat as if it were a fraction for separation purposes
- General solutions contain the arbitrary constant
- One constant is enough. Write on only one side after integrating
- Factor first. If is added to other terms, factor to get it into multiplication form
- Natural log solutions: becomes after exponentiating
- Exponent rule: , so the constant moves outside
- Even roots need . When solving , write
- Odd roots don’t need . When solving , write