The tidiness of elementary mathematics
We all expect a certain tidiness to mathematics, and for many this provides a gratifying aesthetic pleasure. However, there are some wrinkles. One of these arises in the integral of . Calculus provides us with the formula However, this equation is only correct for . If we try to take the right hand side is meaningless because we have a zero on the denominator of the fraction, i.e. . But in this case a separate argument gives the answer
Our expectation is that these two formulae should be reconciled. Indeed, if we let approach in the first we should end up with the second, but that fails to happen. For each , is undefined.
This vingette explores this issue.
Inhaltsverzeichnis |
Main article
Exceptional cases such as this are particularly problematic when we attempt to automate knowledge, that is when we seek to devise a computer algebra system which will symbolically manipulate expressions. If we want to integrate with respect to we certainly have two choices
- Ignore the special case .
- Ask the user if .
Both of these approaches are problematic. is only one point out of an infinity of other values for . However, in mathematics such exceptional cases occur rather more often than you might expect if you just stuck a pin in the number line, or even if you chose an integer at random. Asking the user can also be problematic as they many not yet know the value of , or the integral might occur deep within some other function and the user may have no idea what the question is asking! Automatically using the formula might result in an error creeping into a much longer calculation. Mistakes like this are very hard to track down and can be serious. These issues are addressed more fully by [2].
What we would really like is a formula that works for all . Here we are going to consider the comment in [2] that really, at a symbolic level, the answer to might better be written as
First consider the (easy) case . If we fix and differentiate then we obtain So is an anti-derivative of . Really we have chosen a slightly different constant of integration.
Whereas, for we originally had the form , the new formula gives . To understand what is going on we need to look at this expression for close to and take a limit, i.e. If we can make sense of this limit, then we will define the value of the expression at by the value of the limit, thus removing the exceptional case in a meaningful way. This sort of thing is a standard mathematician’s move.
Euler’s formula for
To consider the special case we shall need to make use of a special formula discovered by Euler.
If we consider the Taylor series for , on the left hand side we have
On the right, we can expand out the product using the Binomial Theorem
Consider the coefficients of . This equals As each term here containing converges to giving or exactly the Taylor series for .
You might think this argument has made somewhat cavalier use of limits. The following argument, adapted from [1], is close to Euler’s original. He was even more bold in his use of limits!
Euler unhesitatingly accepts the existence of both infinitely small and infinitely large numbers, and uses them to such effect that the modern reader’s own hesitation must be tinged with envy. [1]
Thinking about near , and its gradient, we see that, for infinitely small Let be any given number then is infinitely large. So Written in terms of limits, the infinitely large would give us our formula.
In this applet move the slider so that .
The awkward integral when
We shall make use of Euler’s limit to evaluate the awkward integral when .
Let
Rearranging this we have and then
Let so
Now, set , to give and we are coming somewhat closer to the right hand side of the formula for our integral.
If , then and . But if then we may apply to and conclude that . Taking the inverse gives . Hence and so is indeed valid for all , including the special case , when we define the value of in this case by the limit . This limit happens to give the right answer to the integral for .
We can see this limit in the applet below. Mve the slider so that .
The mathematical moral
They key to all of this is to choose the constant of integration in so that the resulting formula also holds in the awkward limiting case, . Like many tricks in mathematics it is a technique which occasionally has useful applications elsewhere.
There is a deep consistency to elementary mathematics, sometimes we just have to search to find it.
References
[1] C. H. Edwards. The Historical Development of the Calculus. Springer-Verlag, 1979.
[2] D. R. Stoutemyer. Crimes and misdemeanors in the computer algebra trade. Notices of the American Mathematical Society, 38(7):778-785, September 1991.