Solving Differential Equations by Substitution
Non-separable differential equations can be sometimes converted into separable differential equations by way of substitution.
This post is part of the book Justin Math: Calculus. Suggested citation: Skycak, J. (2019). Solving Differential Equations by Substitution. In Justin Math: Calculus. https://justinmath.com/solving-differential-equations-by-substitution/
Want to get notified about new posts? Join the mailing list.
Sometimes, non-separable differential equations can be converted into separable differential equations by way of substitution.
For example, $y’+y=x$ is a non-separable differential equation as-is. However, we can make a variable substitution $u=x-y$ to turn it into a separable differential equation. Differentiating both sides of $u=x-y$ with respect to $x$, and interpreting $y$ as a function of $x$, we have $u’=1-y’$, so $y’=1-u’$. Substituting, the equation becomes separable and thus solvable in terms of $u$.
Lastly, to find what $y$ is, we can solve for $y$ in our original substitution $u=x-y$.
Choosing the Right Substitution
In general, to determine what substitution we need to perform, it is helpful to rearrange the equation until we see a group of terms whose derivative also appears in the equation.
After rearranging the above equation, we see that $u=x^2+y^2$ is a good substitution. We rewrite the equation in terms of $u$, solve it, and then solve for $y$ in terms of $x$.
We don’t always have to use addition in our substitutions. In the equation below, for example, we require the substitution $u=xy$.
Exercises
Use substitution to solve the following differential equations. (You can view the solution by clicking on the problem.)
$\begin{align*} 1) \hspace{.5cm} 1+y' = (x+y)^2 \end{align*}$
Solution:
$\begin{align*} u &= x+y\\ y &= \frac{1}{C-x}-x \end{align*}$
$\begin{align*} 2) \hspace{.5cm} 2(y'-y) = 1-x \end{align*}$
Solution:
$\begin{align*} u &= x-2y \\ y &= Ce^x + \frac{1}{2}x \end{align*}$
$\begin{align*} 3) \hspace{.5cm} x^2-y^2 = \frac{1}{2x-2yy'} \end{align*}$
Solution:
$\begin{align*} u &= x^2-y^2 \\ y &= \pm \sqrt{x^2 \pm \sqrt{C+2x}} \end{align*}$
$\begin{align*} 4) \hspace{.5cm} 3y^2y' = e^{x^2+y^3}-2x \end{align*}$
Solution:
$\begin{align*} u &= x^2+y^3 \\ y &= -\sqrt[3]{x^2+\ln(C-x)} \end{align*}$
$\begin{align*} 5) \hspace{.5cm} 2y+xy'=\frac{1}{x} \end{align*}$
Solution:
$\begin{align*} u &= x^2y \\ y &= \frac{C}{x^2}+\frac{1}{x} \end{align*}$
$\begin{align*} 6) \hspace{.5cm} xy^4+2x^2y^3y'=1 \end{align*}$
Solution:
$\begin{align*} u &= xy^2 \\ y &= \pm \sqrt[4]{\frac{C}{x^2}+\frac{2}{x} } \end{align*}$
This post is part of the book Justin Math: Calculus. Suggested citation: Skycak, J. (2019). Solving Differential Equations by Substitution. In Justin Math: Calculus. https://justinmath.com/solving-differential-equations-by-substitution/
Want to get notified about new posts? Join the mailing list.