Continuity in this visualization
A function f is continuous at a when three things hold: is defined, has a limit as x approaches a, and that limit is . In one line, . On the graph these are three things at a: where the curve heads from the left, where it heads from the right, and the point . Continuity means all three are there, at the same height. Here you change f at a alone and leave the rest of the curve as it is, which shows that continuity belongs to one point together with the values around it.
How far from continuous: the gap
The gap is how far the values near a end up from : . Where both sides have limits it is the larger of their distances from ; for a swing, the distance to its farther bound; for a side that runs off, ∞. So f is continuous at a exactly when is defined and the gap is 0. This is the ε–δ definition seen from the other end. Continuity asks that every band of half-width ε around hold all the values for x close enough to a. With a gap g, every band wider than g does and no narrower one does. Unlike a limit, the test includes itself, and that is why the value at a has to be the limit.
Four ways to break, and which can be mended
Removable: both sides head for the same L, but is missing or somewhere else. Set and the gap closes; any other value leaves a gap equal to its distance from L. Jump: the sides head for different limits. No value closes it; the gap is at least half the jump, reached at the middle. If equals one side's limit, f is continuous from that side only: at 1 is continuous from the right. Infinite: a side runs off to ±∞, as does at 0. Oscillating: swings between −1 and 1 faster and faster near 0 and has no limit, so the gap is at least 1 whatever is. swings just as often, but between and ; it heads for 0, and with it is continuous.
Continuous everywhere
A function is continuous on an interval, or on its domain, when it is continuous at every point of it. Polynomials, , and are continuous at every real number. is continuous at every point of its domain: when it is called discontinuous at 0, that only means 0 is not in the domain and no value put there would make it continuous. is continuous everywhere except at the integers.
Things to notice
- A function with a derivative at a is continuous there, but not the other way round: is continuous at 0 and has a corner there, no derivative.
Controls
- Drag the point at a up or down; it catches where the sides head, a jump's middle and whole numbers. Press the dashed line to put a point there. Defined at a takes the point away or puts a new one where the sides head, and the field takes fractions such as 1/3.
- Choose a function with its key. The zoom keys close in on the point 10, 100 or 1000 times.
- With the keyboard, Tab to the point and use the up and down arrow keys; hold Shift for larger steps. Delete takes the point away and Enter puts a new one in.