π Example 4. Identify the Variables.
Identify the dependent and independent variable in each equation:
\begin{equation*}
\frac{dP}{ds} + \frac{P}{s^2} = 17s,\qquad
u'' + t^2 u = 0,\qquad
Q'' = 11Q
\end{equation*}
Solution.
The first equation contains \(P\) and \(s\text{,}\) but the presence of \(dP/ds\) implies \(P\) changes as \(s\) changes. So,
-
\(P\) is the unknown function we solve for that depends on \(s\text{.}\)
-
dependent variable \(\rightarrow P\) , independent variable \(\rightarrow s\) .
The middle equation contains \(u\) and \(t\text{,}\) but \(u''\) is the second derivative of \(u\text{.}\) So, \(u\) must change as \(t\) changes and
-
\(u\) is the unknown function we solve for that depends on \(t\text{.}\)
-
dependent variable \(\rightarrow u\) , independent variable \(\rightarrow t\) .
Only \(Q\) appears in the last equation, but \(Q''\) indicates that \(Q\) is changing and so it must be the dependent variable. Typically, the independent variable will be clear from context of the problem, but in this case just assume whatever variable you like.