Epsilon Delta Definition
Epsilon Delta Definition:
Let , , and .
Then , such that
How to use the applet
- Drag on the -axis to choose the point where we test continuity.
- Drag the green point to set (this creates the green horizontal band ).
- Drag the orange point to set (this creates the orange vertical band ).
- Drag (blue) inside the interval .
- Use the buttons to switch the function (e.g. a discontinuous example vs. ).
- Click “Find ” to automatically choose a that works for the current , if such a exists.
- The blue segment represents (kept by construction).
- The vertical difference is shown on the -axis and is colored:
- green if ,
- red if .
- For a continuous function at , you can make small and still find some so that the output stays inside the green band whenever stays inside the orange band.
- For the discontinuous example (with at the jump), for sufficiently small there is no that works: the “Find ” button will report that no is found.
Loading graph…
- Hold Shift + scroll to zoom
- Hold Shift + drag to move
- Points shaped like <> act as sliders
Description
Reference: Lecture Notes Calculus 1 ( May22,2022 ) Theorem4.11 page 64
This example is adapted from the JSXGraph documentation.
The function is defined with a discontinuity at the point where is placed:
const DISCONTINUITY = 1.25;
const f = (x: number) => {
if (x < DISCONTINUITY) {
return Math.pow(x, 3) * 0.3;
} else {
return Math.pow(x, 2);
}
};
...
const pointA = board.create('glider', [DISCONTINUITY, 0 ...
This is to show how the definition works in particular when a function is discontinuous.
The value is constrained by .
In the code, is represented as the horizontal
distance between deltaPoint and the point :
const getDelta = () => Math.abs(deltaPoint.X() - pointA.X());
...
// ===== POINT X =====
// Line for x glider (constrained to delta neighborhood)
const xLine = board.create('line', [
[() => pointA.X() - getDelta(), 0],
[() => deltaPoint.X(), 0]
], ...);
// x glider
const xPoint = board.create('glider', [
pointA.X() + getDelta() / 2,
0,
xLine
], ...);
The segment between and changes color depending on whether the continuity condition holds:
board.create('line', [pointYfpointA, point0fx], {
...
strokeColor: () => {
const epsilon = getEpsilon();
const dist = Math.abs(point0fx.Y() - pointYfpointA.Y());
return dist < epsilon ? '#ff00ff' : '#ff0e0eff';
},
...
});
Here, dist corresponds to , and the color changes depending on
whether .
The student should first choose a relatively large and a corresponding , and then move within the interval to observe how behaves.