[Math] The thought process of derivatives explained (intermediate calculus) “derivatives with respect to what”

calculusderivativesintuition

My intention here is to contribute, if there is a problem with my solution or explanation–if it is wrong–please add a comment and don't just down vote. My answer represents my understanding and I spent a lot of time writing it; it would be very helpful to know if there is a flaw so I may fix it or take down my answer so nobody learns a mistaken concept.

I had asked a question on here previously about trying to find a deeper understanding of derivatives. There was just a missing link in the whole picture. My question can be found here. Recently I had an epiphany and developed a better understanding of derivatives and I'd like to share that here with an example problem. Since this is a question and answer format forum, I pose the question:

"When we take derivative, how do we know what we have to take them with respect to?"

Note that this information assumes that one already understands the general concept of a derivative… i.e.

$f'(x) = \lim_{h\rightarrow 0 } \frac{f(x+h) – f(x)}{(x+h)-x}$

and how a derivative finds the instantaneous change of a function

Best Answer

It turns out there are two separate issues to consider.

In functional notation, derivatives are things that are applied to functions, not variables. The derivative of a univariate function (i.e. a function with one argument) is always the derivative of the value of the function with respect to the argument of the function.

i.e. if $f$ is the function defined by $f(x) = x^2$, then $f'$ is the function defined by $f'(z) = 2z$.

In the equations above, $x$ and $z$ are dummy variables; they have no meaning on their own, and only purpose in existence is to let us write down an equation for the value of $f$ at a point.


In dependent variable notation, the variables you use all have some intrinsic meaning. (e.g. you might use $t$ to refer to "time"). You can't differentiate variables, but you can take their differentials. The differential of $x$ is $dx$. The differential of $x^2$ is $d(x^2) = 2x~dx$.

Sometimes, two differentials can be proportional. For example, if $x$ and $t$ are dependent one one either via the equation $x = t^2 + 1$, then this equation also holds when we compute the differential on both sides: $dx = 2t~dt$.

In Leibniz notation, when we have such a proportion, we use $dx/dt$ to express the ratio. So if $dx = 2t~dt$, then we say $dx/dt = 2t$. And $dt/dx = 1/(2t)$.

If the relationship between $x$ and $t$ is $x = f(t)$, then fortunately we have $dx = f'(t) dt$, and so in Leibniz notation, $dx/dt = f'(t)$.

If we have two equations, such as

$$ \frac{8.5}{10-x} = \frac{1.5}{y} $$

and

$$ x = 2.2t $$

then we can get two equations between the differentials. Let me first simplify the first equation to

$$ \frac{10-x}{8.5} = \frac{y}{1.5} $$

Now, when we take the differential, we get two equations

$$ dx = 2.2~dt $$ $$ -\frac{1}{8.5} dx = \frac{1}{1.5} dy $$

and if we wanted, we can solve the first for $dx$ and plug it into the second:

$$ -\frac{2.2}{8.5} dt = \frac{1}{1.5} dy $$

We can't always write differentials as proportions. e.g. if $A = xy$, then $dA = x dy + y dx$. If $x$ and $y$ aren't functionally related to each other, then $dA/dx$ and $dA/dy$ simply don't make sense.

Related Question