Skip to main content
Logo image

Section 5.4 Implicit General Solutions

Notice that Step 3 of the SOV method states: β€œIf possible, explicitly solve for \(y\text{.}\) If not, leave the solution in implicit form.” In the examples we’ve seen, it was always possible to explicitly isolate \(y\) after integrating. However, in some cases, this is not possible (or practical), and we call such solutions implicit solutions.

Subsection Implicit Solutions

The best way to understand why and how you can get implicit solutions using the separation of variables method is to see it in a concrete example. So, let’s solve the following initial-value problem:
\begin{equation*} Q Q' + e^Q Q' = t, \quad Q(2) = 0. \end{equation*}
Notice the variables separate naturally once we factor out \(Q'\text{:}\)
\begin{equation*} (Q + e^Q)\frac{dQ}{dt} = t\text{.} \end{equation*}
Now the SOV method proceeds as usual:
\begin{align*} (Q + e^Q)\ dQ \amp = t\ dt \\ \int(Q + e^Q)\ dQ \amp = \int t\ dt \\ \frac{Q^2}{2} + e^Q \amp = \frac{t^2}{2} + c_1\\ Q^2 + 2e^Q \amp = t^2 + 2c_1. \end{align*}
The general implicit solution is:
\begin{equation*} Q^2 + 2e^Q = t^2 + c.\qquad (c=2c_1) \end{equation*}
Although we can’t isolate \(Q\) neatly, we can still find \(c\) using \(Q(2) = 0\text{:}\)
\begin{align*} \text{set}\ t=2, Q=0: \quad (0)^2 + 2e^0 \amp = 2^2 + c\\ 2 \amp = 4 + c \quad\Rightarrow\quad c=-2. \end{align*}
Thus, the particular implicit solution is:
\begin{equation*} Q^2 + 2e^Q = t^2 - 2. \end{equation*}

Checkpoint 57. πŸ“–β“ Select the Implicit Solutions.

Subsection Handling Absolute Values in General Solutions

Checkpoint 58. πŸ“–β“ Review the Absolute Value.

Select the solutions to the equation
\begin{equation*} |x| = 14\text{.} \end{equation*}
  • \(\pm 14\)
  • \(-14\)
  • \(7\)
  • \(1\)
  • \(0\)
When solving differential equations, it’s common to encounter absolute values in the general solution. For instance, suppose you want to solve for \(y\text{,}\) but arrive at:
\begin{equation} |y| = e^{\sin(x) + c}.\tag{5.2} \end{equation}
To fully isolate \(y\text{,}\) you need to replace the absolute value with β€œ\(\pm\)”, like so:
\begin{equation} y = \pm e^{\sin(x) + c}.\tag{5.3} \end{equation}
To understand why, consider a simplified problem with the same goal:
\begin{equation*} |y| = 5. \end{equation*}
Clearly, both \(5\) and \(-5\) satisfy this equation, so \(\ |y| = 5\ \Rightarrow\ y=\pm 5\text{.}\)

🌌 Example 59.

Find the general solution to the differential equation
\begin{equation*} x\frac{dy}{dx} + 10x^2y = 6x^2 \end{equation*}
Solution.
Start by verifying the equation is separable:
\begin{align*} x\frac{dy}{dx} + 10x^2y \amp= 6x^2\\ \frac{dy}{dx} + 10xy \amp= 6x\\ \frac{dy}{dx} \amp= 6x - 10xy = 2x(3 - 5y). \end{align*}
Now, we apply the separation of variables method.
Separate variables
\begin{equation*} \frac{1}{3 - 5y}dy = 2x\ dx \end{equation*}
u-sub \(\quad\left. \begin{array}{c} u = 3-5y\\ du = -5dy \end{array} \right| \rightarrow\)
\begin{equation*} \int \frac{1}{3 - 5y}dy = \int 2x\ dx \end{equation*}
Isolate up to \(|3 - 5y|\)
\begin{align*} \ln|3 - 5y| \amp = x^2 + c_1 \\ |3 - 5y| \amp = e^{x^2 + c_1} \end{align*}
At this point, we replace the absolute value with \(\pm\text{:}\)
\begin{equation*} 3 - 5y = \pm e^{x^2 + c_1}. \end{equation*}
With \(y\) free, we can fully isolate it and combine constants:
\begin{align*} -5y \amp = \pm e^{c_1} e^{x^2} - 3\\ y \amp = \frac{\pm e^{c_1}}{-5} e^{x^2} + \frac{3}{5}. \end{align*}
Setting the combined constant, \(c=\dfrac{\pm e^{c_1}}{5}\text{,}\) we get the general solution:
\begin{equation*} y = ce^{x^2} + \frac{3}{5}\text{.} \end{equation*}

Subsection IVPs with β€œ\(\pm\)” in the General Solution

For some initial-value problems, the particular solution can be expressed explicitly even when the general solution is implicit. To see this, consider the following example:

🌌 Example 60.

Solve the initial-value problem
\begin{equation*} \frac{dy}{dx} = \frac{\cos x}{y}, \quad y(0) = -5\text{.} \end{equation*}
Solution.
Applying the SOV method
\begin{align*} \frac{dy}{dx} \amp = (\cos x)\cdot\frac{1}{y} \\ y\ dy \amp = \cos(x)\ dx \\ \int y\ dy \amp = \int \cos(x)\ dx \\ \frac{y^2}{2} \amp = \sin(x) + c_1 \end{align*}
we arrive at the implicit general solution:
\begin{equation*} y^2 = 2\sin(x) + c \end{equation*}
where \(c=2c_1\text{.}\)
Explicitly solving for \(y\text{,}\) shows our general solution has two branches:
\begin{equation*} y(x) = \pm\sqrt{2\sin(x) + c} = \left\{ \begin{array}{c} -\sqrt{2\sin(x) + c} \\ \sqrt{2\sin(x) + c} \end{array} \right. \end{equation*}
Since our solution must satisfy \(y(0)=-5\text{,}\) which has a negative \(y\)-value, our particular solution must come from the negative branch:
\begin{equation*} y(x) = -\sqrt{2\sin x + c}. \end{equation*}
Finally, we find \(c\) with the initial condition \(y(0) = -5\text{:}\)
\begin{equation*} -5 = -\sqrt{2\sin(0) + c} \ \Rightarrow\ c = 25. \end{equation*}
Thus, the explicit particular solution is:
\begin{equation*} y = -\sqrt{2\sin x + 25}. \end{equation*}
The separation of variables method is a flexible and powerful tool for solving a wide range of differential equations, including nonlinear ones. As you’ve seen, the method is systematic: separate, integrate, and isolate. While the mechanics of the method are straightforward, the complexity often lies in the algebraic manipulation and integration.

Checkpoint 61. πŸ“–β“ Reorder the Solution.

Reorder the scrambled steps used to solve
\begin{equation*} \frac{dq}{dt} - 3qt^2 = 2q \end{equation*}
using the Separation of Variables method.
You have attempted of activities on this page.