Convergence of a sequence
Let be a sequence of real numbers. The sequence is said to be convergent towards , if for every there exists an such that for all with it holds that In this case, is called the limit of the sequence . We write
How to use the applet
-
for the sequence and the limit .
-
Drag the green point up/down to choose an error tolerance.
-
The two green dashed lines show the -neighborhood of the limit:
-
The purple vertical line marks the computed threshold .
-
Red points correspond to indices : the inequality may fail.
-
Purple points correspond to indices : all of them lie inside the green band, i.e.
- Hold Shift + scroll to zoom
- Hold Shift + drag to move
- Points shaped like <> act as sliders
Description
Reference: Lecture Notes Calculus 1 ( May22,2022 ) Definition 2.2 page 15
For the example i’ve selected the sequence with limit 0.
The epsilon neighborhood from the limit is adjustable.
The index is calculated, when epsilon changes, by giving .
function findN(epsilon: number): number {
return Math.ceil(1 / epsilon);
}
The points are created from a loop:
for (let n = 1; n <= maxPoints; n++) {
const an = sequence(n);
const isAfterN = n >= N;
const point = board.create('point', [n, an], {
name: '',
size: 3,
fillColor: isAfterN ? '#9C27B0' : '#F44336',
strokeColor: isAfterN ? '#6A1B9A' : '#C62828',
fixed: true,
});
sequencePoints.push(point);
}