I wrote this for myself to understand the Leibniz notation. Prerequisites for this post are the definition of the derivative and the Lagrange notation. If you don’t understand these yet, please study them first.
So…
You may have already seen something like . This is called the Leibniz notation. The Leibniz notation has many of what Spivak calls “vagaries”. It has multiple interpretations– formal and informal. The informal interpretation doesn’t map to modern mathematics, but can sometimes be useful (while at other times misleading). The full, unambiguous Leibniz notation is verbose, so in practice people end up taking liberties with it. As a consequence, its meaning must often be discerned from the context.
This flexibility makes the notation very useful in science and engineering, but also makes it difficult to learn. I explore it here to make learning easier.
We start with the historical interpretation, where the notation began. Leibniz didn’t know about limits. He thought the derivative is the value of the quotient
when is “infinitesimally small”. He denoted this infinitesimally small quantity of by , and the corresponding difference by . Thus for a given function the Leibniz notation for its derivative is:
Intuitively, we can think of in a historical context as “delta” or “change”. Then we can interpret this notation as Leibniz did– a quotient of a tiny change in and a tiny change in . But this explanation comes with two important disclaimers.
First, is not a value. If it were a value, you could cancel out ’s in the numerator and the denominator. But you can’t. Instead think of as an operator. When applied to or , it produces an infinitesimally small quantity. Alternatively you can think of and as one symbol that happens to look like multiplication, but isn’t.1
Second, denotes a function (the same one denoted by ), not a value at a point (i.e. not ). To denote the image of the derivative function at we use the following notation:
Writing all that is a pain and in practice people rarely do it this way, but we’ll get to that in a minute.
To summarize, the full and unambiguous Leibniz notation is:
In modern mathematics real numbers do not have a notion of infinitesimally small quantities. Thus in a modern interpretation we treat as a symbol denoting , not as a quotient of numbers. Nothing here is being divided, nothing can be canceled out. In a modern interpretation is just one thing that happens to look like a quotient but isn’t, anymore than is a quotient.
A question arises for how to express the second (or nth) derivative in the Leibniz notation. Let (i.e. let be the first derivative of ). Then it follows that the second derivative in Leibniz notation is . Substituting the definition of we get:
Of course this is too verbose and no one wants to write it this way. This is where the vagaries begin. For convenience people use the usual algebraic rules to get a simpler notation, even though formally everything is one symbol and you can’t actually do algebra on it:
Two questions arise here.
First, why ? Shouldn’t it be ? One way to answer this question is to remember that is one symbol, not a multiplication (because is not a value). And so we’re just squaring that one symbol , which doesn’t require parentheses.
Another probably more honest way to answer this question is to recall that this isn’t real algebra– we just use a simularcum of algebra out of convenience. But convenience is a morally flexible thing, and people decided to drop parentheses because they’re a pain to write. So became .
Second, we said before that can be thought of as one symbol. Then what is this business? The answer here is the same– we aren’t doing real algebra but a simularcum of algebra. We aren’t really squaring anything; we’re overloading exponentiation to mean “second derivative”. The symbol is again one symbol.
There are a few more liberties people take with the Leibniz notation. Let . If we want to denote the derivative of we can do it in two ways:
Here is new, but the meaning should be clear. We’re just replacing in with the definition of . This is a little confusing because in the particular case of , it’s visually similar to the notation for second derivative. There are no ambiguities here so far– it’s just a visual artifact of the notation we have to learn to ignore. But now the liberties come.
Suppose we wanted to state what the derivative of at a point is. In Lagrange notation we say . In Leibniz notation the proper way to say it is:
But this is obviously a pain, so people end up taking two liberties. First, everyone drops the vertical line that denotes the application at . So in practice the form above becomes:
This shouldn’t “compile” because . Thus this statement is equivalent to saying , which should be a syntax error. But this is the notation most people use, and you have to get used to it.
Second, people decided that writing is too painful, and in practice everyone writes . This also shouldn’t compile (it would be something like writing , which also is a syntax error). But again, it’s the notation most people use.
To summarize what we have so far:
You’d think that we already pushed the notation past all limits of propriety, but scientists and engineers manage to push it even further. Consider the following simple problem. A circle’s radius is growing at 1 inch per second. How quickly is the area of the circle growing? Let’s solve it with Lagrange’s notation first.
The area of a circle is . We’re trying to understand change by using derivatives to analyze behavior of functions. Since is changing, what we’ll be looking at is the function for the area of a circle . And since the radius is changing with time, we have another function for the radius at a particular time . The problem doesn’t tell us how is defined, but it tells us its derivative is . All we have to do now is take the derivative of :
Thus at a given time the area is increasing at the rate of .
Now here’s the rub. In science and engineering most values are somehow related to other values, and nearly everything is related to time. Explicitly defining functions makes even simple relationships (like the one above) complicated to write down. So people dispense with denoting functions explicitly, and just treat these quantities as functions. In practice, the Leibniz notation for the equation above is something like this:
We’re not explicitly defining or mentioning functions anywhere, but immediately proceed with the understanding that the variables and are really functions.
As a matter of studying advice, I spent hours trying to understand exactly why anyone might want to do this and how the mechanics work, until I sat down to do a bunch of simple related rates problems, at which point abusing the notation in this way quickly became the most natural thing in the world. So if you’re stuck, go solve a bunch of simple problems and then come back here. Hopefully by then everything will make a lot more sense.
I read somewhere that in his notebooks Leibniz experimented with extending with a squiggle on top that went over to indicate that is not a value, but I haven’t been able to verify if that’s true.↩︎
Sep 30, 2024