This Quantum World/Appendix/Calculus
From Wikibooks, the open-content textbooks collection
[edit] Differential calculus: a very brief introduction
Another method by which we can obtain a well-defined, finite number from infinitesimal quantities is to divide one such quantity by another.
We shall assume throughout that we are dealing with well-behaved functions, which means that you can plot the graph of such a function without lifting up your pencil, and you can do the same with each of the function's derivatives. So what is a function, and what is the derivative of a function?
A function f(x) is a machine with an input and an output. Insert a number x and out pops the number f(x). Rather confusingly, we sometimes think of f(x) not as a machine that churns out numbers but as the number churned out when x is inserted.
The (first) derivative f'(x) of f(x) is a function that tells us how much f(x) increases as x increases (starting from a given value of x, say x0) in the limit in which both the increase Δx in x and the corresponding increase Δf = f(x + Δx) − f(x) in f(x) (which of course may be negative) tend toward 0:
The above diagrams illustrate this limit. The ratio Δf / Δx is the slope of the straight line through the black circles (that is, the tan of the angle between the positive x axis and the straight line, measured counterclockwise from the positive x axis). As Δx decreases, the black circle at x + Δx slides along the graph of f(x) towards the black circle at x, and the slope of the straight line through the circles increases. In the limit
the straight line becomes a tangent on the graph of f(x), touching it at x. The slope of the tangent on f(x) at x0 is what we mean by the slope of f(x) at x0.
So the first derivative f'(x) of f(x) is the function that equals the slope of f(x) for every x. To differentiate a function f is to obtain its first derivative f'. By differentiating f', we obtain the second derivative
of f, by differentiating f'' we obtain the third derivative
and so on.
It is readily shown that if a is a number and f and g are functions of x, then
and 
A slightly more difficult problem is to differentiate the product e = fg of two functions of x. Think of f and g as the vertical and horizontal sides of a rectangle of area e. As x increases by Δx, the product fg increases by the sum of the areas of the three white rectangles in this diagram:
In other "words",
- Δe = f(Δg) + (Δf)g + (Δf)(Δg)
and thus
If we now take the limit in which Δx and, hence, Δf and Δg tend toward 0, the first two terms on the right-hand side tend toward fg' + f'g. What about the third term? Because it is the product of an expression (either Δf or Δg) that tends toward 0 and an expression (either Δg / Δx or Δf / Δx) that tends toward a finite number, it tends toward 0. The bottom line:
- e' = (fg)' = fg' + f'g.
This is readily generalized to products of n functions. Here is a special case:
Observe that there are n equal terms between the two equal signs. If the function f returns whatever you insert, this boils down to
Now suppose that g is a function of f and f is a function of x. An increase in x by Δx causes an increase in f by
and this in turn causes an increase in g by
Thus
In the limit
the
becomes a = :
We obtained
for integers
Obviously it also holds for n = 0 and n = 1.
- Show that it also holds for negative integers n. Hint: Use the product rule to calculate (xnx − n)'.
- Show that
Hint: Use the product rule to calculate 
- Show that
also holds for n = 1 / m where m is a natural number. - Show that this equation also holds if n is a rational number. Use

Since every real number is the limit of a sequence of rational numbers, we may now confidently proceed on the assumption that
holds for all real numbers n.




