The tidiness of elementary mathematics: Unterschied zwischen den Versionen
(→Main article) |
(→Main article) |
||
Zeile 10: | Zeile 10: | ||
== Main article == | == Main article == | ||
− | [[Media:Integral.pdf| | + | 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 <math>x^{k}</math> with respect to <math>x</math> we certainly have two choices |
+ | |||
+ | # Ignore the special case <math>k=-1</math>. | ||
+ | # Ask the user if <math>k=-1</math>. | ||
+ | |||
+ | Both of these approaches are problematic. <math>k=-1</math> is only one point out of an infinity of other values for <math>k</math>. 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 <math>k</math> at random. Asking the user can also be problematic as they many not yet know the value of <math>k</math>, 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 <math>k</math>. Here we are going to consider the comment in that really, at a symbolic level, the answer to <math>\int x^k\mathrm{d}x </math> might better be written as <math> | ||
+ | \int x^k\mathrm{d}x = \frac{x^{k+1}-1}{k+1}+c. | ||
+ | </math> | ||
+ | |||
+ | First consider the (easy) case <math>k\neq -1</math>. If we fix <math>k</math> and differentiate then we obtain <math>\frac{\mathrm{d}}{\mathrm{d}x}\frac{x^{k+1}-1}{k+1} = x^k.</math> So <math>\frac{x^{k+1}-1}{k+1}=\frac{x^{k+1}}{k+1}-\frac{1}{k+1}</math> is an anti-derivative of <math>x^k</math>. Really we have chosen a slightly different constant of integration. | ||
+ | |||
+ | Whereas we originally had the form <math>\frac{x^{0}}{0}=\frac{1}{0}</math>, the new formula gives <math>\frac{x^{0}-1}{0}=\frac{0}{0}</math>. To understand what is going on we need to look at this expression for <math>k</math> close to <math>-1</math> and take a limit, i.e. <math>\lim_{k\rightarrow -1} \frac{x^{k+1}-1}{k+1}.</math> If we can make sense of this limit, then we will define the value of the expression at <math>k=-1</math> 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. | ||
+ | |||
+ | [[Media:Integral.pdf|Main article]] | ||
== Applets == | == Applets == |
Version vom 10. November 2011, 23:30 Uhr
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.
Main article
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 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.
What we would really like is a formula that works for all . Here we are going to consider the comment in 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 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.
Applets
In this applet move the slider so that .
In this applet move the slider so that .