Sequence: Difference between revisions
No edit summary |
mNo edit summary |
||
| Line 61: | Line 61: | ||
== The problem with Cauchy == | == The problem with Cauchy == | ||
All those things are examples of sequences. But are they, or could they be, examples of ''Cauchy'' sequences? | All those things are examples of sequences. But are they, or could they be, examples of ''Cauchy'' sequences? Unfortunately, will see that there can be no Cauchy sequences in reality. | ||
Suppose I identify a real life thing <math>R</math> as being a unit of a sequence <math>\{S_n \} </math>. In my specification of <math>\{S_n \} </math> I had to be very precise, so it makes perfect sense to ask whether or not <math>\{S_n \} </math> is Cauchy. However, to ''answer'' whether or not <math>\{S_n \} </math> is Cauchy, I have to go to arbitrarily large <math>n</math>; I have to think about parts of <math>\{S_n \} </math> that have no actual referent in <math>R</math>. | Suppose I identify a real life thing <math>R</math> as being a unit of a sequence <math>\{S_n \} </math>. In my specification of <math>\{S_n \} </math> I had to be very precise, so it makes perfect sense to ask whether or not <math>\{S_n \} </math> is Cauchy. However, to ''answer'' whether or not <math>\{S_n \} </math> is Cauchy, I have to go to arbitrarily large <math>n</math>; I have to think about parts of <math>\{S_n \} </math> that have no actual referent in <math>R</math>. So being Cauchy is only a property of the concept <math>\{S_n \} </math> itself, not a property of the actual physical concrete thing <math>R</math>. | ||
This might seem like a trivial difference, but it's not. It renders the question "is <math>R</math> Cauchy?" meaningless. Worse than that, it also makes the concept of Cauchy useless. Indeed, since any real sequence <math>R</math> is finite, and since sequences are open-ended, I can, in ''all situations'', identify <math>R</math> as being a unit of <math>\{S'_n\}</math> and also as being a unit of <math>\{S_n \} </math>, where <math>\{S_n \} </math> is Cauchy and <math>\{S'_n\}</math> is not. <math>\{S_n \} </math> and <math>\{S'_n\}</math> agree for observable values of <math>n</math>, which is why they are both potentially valid identifications of <math>R</math>. | |||
is | |||
Revision as of 20:20, 8 July 2024
A sequence is a function which takes natural numbers as inputs, and returns numbers as outputs.
The Cauchy condition
[TODO I now think this notion is problematic. See below. ]
Suppose that Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \{ a_n \}_{n=1}^\infty} is a sequence that computes π. [TODO what does this even mean? Does it actually make sense? If π is the ratio between a real circle's circumference and a real circle's diameter, then it's not a single number, but some class of numbers. Sometimes the ratio is 3.14, sometimes it's 3.18, etc.]
The practical question to answer, for someone computing this sequence on a computer, is "after how many steps can I stop running the computer program?" The answer is that you should wait until successive steps of the sequence vary by amounts smaller than your desired accuracy.
For example, if your target accuracy is 0.01, and if the printout looks like
| Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n} | Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a_n} |
|---|---|
| 1 | 4 |
| 2 | 3.0 |
| 3 | 3.2 |
| 4 | 3.09 |
| 5 | 3.16 |
| 6 | 3.139 |
| 7 | 3.143 |
| 8 | 3.1408 |
| 9 | 3.1419 |
| 10 | 3.14149 |
| ... | ... |
then we can stop computing around step 9, because at that point the output of the programming is varying by amounts much smaller than 0.01.
But how do we know that later, after many more steps, the sequence won't change in such a way that the earlier digits are affected? E.g. what if the 11th element of the sequence is 3.15? The answer is that what I have done in the above paragraph is I have implicitly assumed that the sequence Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \{a_n\}_{n=1}^\infty} satisfies the Cauchy condition. A sequence is said to satisfy the Cauchy condition if, for any level of desired accuracy, there is some point beyond which any two outputs of the algorithm differ by an amount smaller than the desired accuracy. More formally, Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \{a_n\}_{n=1}^\infty} satisfies the Cauchy condition if for any Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \epsilon : \mathbb{Q}} such that Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \epsilon > 0, } there exists an Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle N : \mathbb{N}} such that if Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n,m \geq N} then Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |a_n - a_m | \leq \epsilon} .
Note that the Cauchy condition is only an idealization of the property that we would actually want a sequence to satisfy in real life. Some Cauchy sequences are not practical: For example, someone could define a Cauchy sequence for which we must choose Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle N} to be at least a googolplex whenever Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \epsilon = 0.1} . Conversely, there are some practical sequences which are not Cauchy: For example, some sequences of partial sums that arise in perturbation theory are divergent, but give accurate and useful results if we only go a dozen terms deep into the sequence.
Examples
The sequence Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \{2n+1\}_{n=0}^\infty} could be properly thought of as that concept which---in appropriate contexts---subsumes the following concretes:
- the method that a child uses to produce the nth odd number
- a C++ program which takes in a uint32, n, and outputs 2n+1
- the following table on my screen [a screenshot of a few rows of an excel table where the entries are 2*row + 1 ]
- a succession of locations of a bouncing ball at various times
The problem with Cauchy
All those things are examples of sequences. But are they, or could they be, examples of Cauchy sequences? Unfortunately, will see that there can be no Cauchy sequences in reality.
Suppose I identify a real life thing Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R} as being a unit of a sequence Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \{S_n \} } . In my specification of Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \{S_n \} } I had to be very precise, so it makes perfect sense to ask whether or not Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \{S_n \} } is Cauchy. However, to answer whether or not Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \{S_n \} } is Cauchy, I have to go to arbitrarily large Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n} ; I have to think about parts of Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \{S_n \} } that have no actual referent in Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R} . So being Cauchy is only a property of the concept Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \{S_n \} } itself, not a property of the actual physical concrete thing Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R} .
This might seem like a trivial difference, but it's not. It renders the question "is Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R} Cauchy?" meaningless. Worse than that, it also makes the concept of Cauchy useless. Indeed, since any real sequence Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R} is finite, and since sequences are open-ended, I can, in all situations, identify Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R} as being a unit of Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \{S'_n\}} and also as being a unit of Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \{S_n \} } , where Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \{S_n \} } is Cauchy and Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \{S'_n\}} is not. Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \{S_n \} } and Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \{S'_n\}} agree for observable values of Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n} , which is why they are both potentially valid identifications of Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle R} .