Checking continuity straight from the definition every time would be exhausting. Fortunately continuity survives the usual ways of building functions. Once you know a few basic functions are continuous, everything you can build from them is too, and that is why plugging in the point works for so many limits.
Key terms
Algebra of continuous functions
Definition Suppose and are both continuous at and is a constant. Then the following functions are continuous at .
The proof is one line for each, using the limit laws. For the product it reads
The same rules hold for one-sided continuity.
In plain words Add, subtract, multiply or divide continuous functions and the result is still continuous, as long as you never divide by zero.
Example The functions and constants are continuous everywhere, so by repeated products and sums every polynomial is continuous everywhere. So the rational function
is continuous at every except and , where the denominator is zero. In particular
Compositions
Definition If is continuous at and is continuous at , then , given by , is continuous at . More generally, suppose , is continuous at , and is defined for all in some open interval around . Then
In plain words A continuous function can be moved past a limit sign. Feed a continuous inner function into a continuous outer function and the chain stays unbroken.
Example With and , both continuous, the limit is
The second form also handles inner functions with a hole. The inner limit is
the quotient is positive for near , and is continuous at , so
Continuity of elementary functions
Definition The following functions are continuous at every point of their domains. These are polynomials, rational functions, root functions , the trigonometric functions , , and the others, the inverse trigonometric functions, exponential functions with , and logarithms with , . Every function built from these by finitely many sums, differences, products, quotients and compositions is continuous at every point of its domain. At an endpoint of the domain this means continuity from the inside.
In plain words For any formula made of the usual functions, you can find the limit at a point of the domain by plugging the point in.
Example The function is defined when , that is on , and it is continuous there. So . Similarly, since the denominator below is never zero,
Continuous images of intervals
Definition If is continuous on an interval , then its image is also an interval, possibly a single point. If is closed and bounded, then is a closed bounded interval . For intervals of other kinds the image can be open, closed or half-open.
In plain words A continuous function cannot tear an interval apart. The outputs fill a whole interval with no gaps, and a closed bounded interval goes to a closed bounded interval.
Example For on the image is , with and . On the open interval the image is . It still contains , but is now missing because is no longer allowed. So an open interval does not have to go to an open interval.
The max-min theorem
Definition If is continuous on a closed bounded interval , then attains an absolute maximum value and an absolute minimum value on . That is, there are numbers and in with
Each hypothesis matters. The interval must be closed, it must be bounded, and must be continuous on all of it.
In plain words On a closed bounded interval a continuous function has a highest point and a lowest point that it actually reaches. The theorem says they exist, not where they are.
Example Take on . Completing the square gives , so the minimum is at and the maximum is . Now drop one hypothesis at a time. On the open interval the function has no largest or smallest value. On the unbounded interval the function has no maximum. On the function equal to for and to at is not continuous at , and it has no maximum, because its values come as close to as you like but never reach it. In each case the conclusion fails.
Check yourself
- Where is continuous?
Show the answer
The root needs and the denominator needs . So is continuous on , from the right at .
- Compute and say which theorem justifies plugging in.
Show the answer
The limit is . The inner polynomial is continuous at and the square root is continuous at , so the composition is continuous at .
- Does have a largest value among the inputs in with ? Why does the max-min theorem not apply?
Show the answer
No, its values grow without bound as . The theorem needs continuous at every point of , and is not even defined at .