The tidiness of elementary mathematics

Aus DMUW-Wiki
Version vom 8. November 2011, 23:16 Uhr von Sangwinc (Diskussion | Beiträge)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

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 x^k. Calculus provides us with the formula Fehler beim Parsen(Unbekannte Funktion „\label“): \label{eq:int_xk} \int x^k\mathrm{d}x = \frac{x^{k+1}}{k+1}.

However, this equation is only correct for k\neq -1. If we try to take k=-1 the right hand side is meaningless because we have a zero on the denominator of the fraction, i.e. \frac{1}{0}. But in this case a separate argument gives the answer Fehler beim Parsen(Unbekannte Funktion „\label“): \label{eq:int_log}     \int x^{-1}\mathrm{d}x = \int \frac{1}{x}\mathrm{d}x = \ln(x).%\ln(|x|). 
Our expectation is that these two formulae should be reconciled. Indeed, if we let k approach -1 in the first we should end up with the second, but that fails to happen. For each x, \lim_{k\rightarrow -1} \frac{x^{k+1}}{k+1}  is undefined. You can try this on the graph below.

This is 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 x^{k} with respect to x we certainly have two choices

  1. Ignore the special case k=1.
  2. Ask the user if k=-1.

Both of these approaches are problematic. k=-1 is only one point out of an infinity of other values for k. 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 k at random. Asking the user can also be problematic as they many not yet know the value of k, 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.

What we would really like is a formula that works for all k. Here we are going to consider the comment in that really, at a symbolic level, the answer to \int x^k\mathrm{d}x might better be written as Fehler beim Parsen(Unbekannte Funktion „\label“): \label{eq:int_xk2} \int x^k\mathrm{d}x = \frac{x^{k+1}-1}{k+1}+c.


First consider the (easy) case k\neq -1. If we fix k and differentiate then we obtain \frac{\mathrm{d}}{\mathrm{d}x}\frac{x^{k+1}-1}{k+1} = x^k. So \frac{x^{k+1}-1}{k+1}=\frac{x^{k+1}}{k+1}-\frac{1}{k+1} is an anti-derivative of x^k. Really we have chosen a slightly different constant of integration.

Whereas we originally had the form \frac{x^{0}}{0}=\frac{1}{0}, the new formula gives \frac{x^{0}-1}{0}=\frac{0}{0}. To understand what is going on we need to look at this expression for k close to -1 and take a { limit}, i.e. \lim_{k\rightarrow -1} \frac{x^{k+1}-1}{k+1}. If we can make sense of this limit, then we will define the value of the expression at k=-1 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.