How to solve differential equations by substitution
If the same combination of x and y keeps showing up in a differential equation, we can try giving that combination its own name. The new variable can turn the equation into one we already know how to solve. Let’s see how to make the substitution and get back to y.
Use the expression inside the function
For an equation of the form , set . Differentiating gives , so the equation becomes . Now the right side depends only on . When , we can solve for after finding .
Work through a first example
For , set . Then . The shifted variable has a derivative equal to itself, so it equals . This includes the constant solution when .
Use substitution when the expression is squared
For , set . This time differentiating gives , so
The constant values and give the solutions and . On intervals where is between or outside those values, separate and integrate.
The last expression is defined on intervals where .