Skip to main content
Logo image

Section 1.3 Dependent & Independent Variables

πŸ“: 🎧 Listen.

Every differential equation involves two kinds of variables: a dependent variable and an independent variable. The dependent variable is the unknown function to be determined. It depends on the independent variable and is always differentiated with respect to it.
For example, consider the equation:
\begin{equation} \frac{dy}{dx} + 2y = 4x^2.\tag{1.1} \end{equation}
Here, we solve for \(y\text{,}\) the dependent variable. Since we’re taking the derivative of \(y\) with respect to \(x\text{,}\) \(x\) is the independent variable.
Identifying the dependent variable not only tells us what we are solving for but also helps determine which methods we can use to solve the equation.

🌌 Example 6. Identify the Variables.

Identify the dependent and independent variables 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\text{,}\) independent variable \(\rightarrow s\text{.}\)
The middle equation contains \(u\) and \(t\text{,}\) but \(u''\) is the second derivative of \(u\text{.}\) So, \(u\) must change as \(t\) changes. Therefore:
  • \(u\) is the unknown function we solve for that depends on \(t\text{.}\)
  • dependent variable \(\rightarrow u\text{,}\) independent variable \(\rightarrow t\text{.}\)
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 the context of the problem, but in this case, just assume whatever variable you like.

Checkpoint 7.

(a) πŸ“–β“ Which Variable has the Derivative.

In a differential equation, you would expect to see a derivative applied to the dependent variable.
  • True
  • Correct! The dependent variable in a differential equation always has a derivative applied to it.
  • False
  • Incorrect. By definition, a differential equation involves derivatives of the dependent variable.

(b) πŸ“–β“ Dependent vs. Independent.

Which variable in the differential equation,
\begin{equation*} \frac{dP}{ds} + \frac{P}{s^2} = 17s\text{,} \end{equation*}
represents the unknown function we would like to find?
  • dependent variable, \(s\)
  • Incorrect. \(s\) is neither the dependent variable nor what we are solving for.
  • independent variable, \(s\)
  • Incorrect! \(s\) is the independent variable, but it is not what we are solving for.
  • dependent variable, \(P\)
  • Yes! We are solving for the unknown \(P\text{,}\) the dependent variable in this equation.
  • independent variable, \(P\)
  • Incorrect. We are solving for \(P\text{,}\) but \(P\) is not the independent variable.

(c) πŸ“–β“ Identify the Unknown.

You have attempted of activities on this page.