Substitution Methods
Transforming hard problems into solvable ones
The Art of Transformation
By now, you have several techniques for solving first-order differential equations: separation of variables, integrating factors for linear equations, and the potential function method for exact equations. But many equations stubbornly refuse to fit any of these forms.
The key insight of this chapter is that an equation that looks unsolvable might actually be a solvable equation in disguise. The right substitution can transform a complicated problem into one you already know how to solve.
This is pattern recognition at its finest. Once you learn to spot certain structures, equations that seemed impossibly tangled become straightforward.
Homogeneous Equations
The word "homogeneous" means different things in different contexts. In linear algebra, it refers to equations equal to zero. Here, it means something quite specific: a first-order equation is homogeneous if it can be written in the form
where the right-hand side depends only on the ratio , not on and separately.
How do you recognize such equations? Look for terms where and appear with the same total degree. For instance, is homogeneous because the numerator has degree 2 and the denominator has degree 2, making the overall degree 0. You can always factor out powers of and be left with a function of alone.
Practice: Identify Homogeneous Equations
Is this equation homogeneous?
The Substitution v = y/x
Once you recognize a homogeneous equation, the substitution that cracks it open is
This means , where both and are variables. To find , we use the product rule:
This is the crucial transformation. The original equation becomes
Rearranging:
This is always separable:
What seemed like a complicated equation involving both and has become a separable equation in and . After integrating both sides, we substitute back to get the solution in terms of and .
Step-by-Step: Homogeneous Substitution
Step 1: Original Equation
Recognize this as a homogeneous equation: dy/dx depends only on y/x.
The slope field shows dy/dx = 1 + y/x. Toggle solutions to see how they follow the field.
Bernoulli Equations
Another important class of equations that yield to substitution are Bernoulli equations, which have the form
where is any real number except 0 or 1. When , the equation is linear. When , the term combines with the term, again giving a linear equation. But for other values of , the term makes the equation nonlinear.
The remarkable fact is that the substitution
always transforms a Bernoulli equation into a linear equation in .
To see why this works, start by dividing the original equation by :
Now notice that , so . Substituting:
Multiplying through by :
This is a standard linear first-order equation in , which you can solve using integrating factors. Once you find , you recover .
Interactive: Bernoulli Equation Solver
Step 1: Bernoulli Equation
This is a Bernoulli equation with P(x) = 1, Q(x) = x, and n = 2. The y^2 term makes it nonlinear.
Adjust n to see how the equation and solution curves change. The key insight: the v = y^(1-n) substitution always linearizes.
Why These Substitutions Work
The substitutions for homogeneous and Bernoulli equations are not arbitrary tricks. They work because they exploit the structure of the equation.
For homogeneous equations, the key is that treats and as a ratio. By making that ratio into a new variable , we capture the essential structure and eliminate the interaction between and .
For Bernoulli equations, the term creates nonlinearity. The substitution is precisely chosen so that when you differentiate and substitute, the powers of cancel in exactly the right way to leave a linear equation.
This is a general principle in mathematics: when an equation has hidden structure, the right change of variables can make that structure explicit and turn a hard problem into an easy one.
Comparing Approaches
To appreciate the power of substitution, consider what happens when you try to solve a homogeneous equation without recognizing its structure.
Direct vs. Substitution
Solutions are circles through the origin
Direct Approach (Difficult)
The direct approach gets stuck. Without recognizing the homogeneous structure, this equation is quite difficult.
The direct approach—trying to separate variables, checking for exactness—leads to dead ends or complicated integrating factors. The substitution approach cuts straight through to the solution.
Building Intuition
Recognizing when to use a substitution comes with practice. Here are some heuristics:
Check for homogeneity: If every term in your equation has the same degree (counting and together), try . Expressions like , , or are clues.
Spot Bernoulli form: If your equation is "almost linear" except for a term with , use the Bernoulli substitution .
Consider the goal: A good substitution simplifies the equation's structure. Ask yourself: what makes this equation hard? Can I introduce a new variable that absorbs that complexity?
Sometimes you will try a substitution and it will not work cleanly. That is information too—it tells you to look for a different structure.
Beyond These Methods
Homogeneous and Bernoulli equations are the most common cases where substitution helps, but the principle extends further. Some equations become tractable with substitutions like , , or . The art is in recognizing what transformation will expose the underlying solvable structure.
In later chapters, you will see even more powerful transformations: the Laplace transform, which converts differential equations into algebraic ones, and series substitutions that handle equations with no closed-form solution. The theme remains the same—transformation is one of the most powerful tools in the differential equations toolkit.
Key Takeaways
- Substitution transforms difficult equations into forms you already know how to solve
- Homogeneous equations have the form ; use , so
- Bernoulli equations have the form ; use to linearize
- The chain rule is essential: always compute how transforms under your substitution
- Pattern recognition improves with practice—learn to spot homogeneous and Bernoulli structures
- When stuck, ask: what substitution would simplify this equation's structure?