Continuity and DifferentiabilityContinuity
We start with two informal examples to get a feel for continuity. Both are defined at every point of the real line, and both are interesting only near one point, . The first is
Walk in on x = 0 from both sides. Each tap brings the green walker (from the left) or the purple walker (from the right) ten times closer to 0.
Fig 5.1 — for and for .
At points just to the left of 0, like −0.1, −0.01, −0.001, the value of the function is always
Now try to draw the graph in one stroke. Coming from the left you reach the filled dot at (0, 1), and then you must lift the pen to start again at the empty ring at (0, 2). This is our first example of a function that is not continuous at .
In the language of Class XI, the
A Point Out of Place
Here is the second function. It is also defined at every point:
Its graph is the flat line with one point lifted out of it: the empty ring at (0, 1) marks the missing point, and the dot at (0, 2) is where f(0) actually sits.
Close to 0, on either side, the value is 1. So the left hand limit and the right hand limit at 0 are both
This time the two one-sided limits agree with each other, but not with the value of the function. You still cannot draw the graph without lifting the pen: once to jump up to the lone dot, and once to come back. So this function is not continuous at either.
Fig 5.2 — the line with the point at moved up to (0, 2).
The Three-Part Test
Naively, a function is continuous at a point if its graph around that point can be drawn without lifting the pen from the paper. Mathematically, we say it like this:
Definition 1 Suppose f is a real function on a subset of the real numbers, and let c be a point in the domain of f. Then f is continuous at c if
Spelled out, three numbers must exist and be equal: the left hand limit , the right hand limit , and the value . When the two one-sided limits coincide, their common value is the
If f is not continuous at c, we say f is discontinuous at c, and c is called a point of discontinuity of f.
Put the two functions you just met through the test. In Fig 5.1, which part failed?
Tip
In the board exam, write the three numbers on three separate lines, LHL, RHL and f(c), and only then compare them. That layout alone earns most of the marks of a continuity question.
The Continuity Tester
Here is the three-part test as a machine. The green ring sits at the left hand limit, the purple ring at the right hand limit, and the blue dot at f(c). Continuity at c means all three land on the same spot.
Pick a graph, slide c along the x-axis and read the three numbers.
Graphs A, B and C are the functions of Examples 10, 4 and 13 below.
Graph A jumps, graph B has one point moved off the curve, and graph C has a sharp bend at 0 but no break. A bend is allowed: only a break spoils continuity. You will meet all three again in the examples.
One Point at a Time
Example 1 Check the continuity of the function f given by at .
Solution : The function is defined at and its value there is
So , and f
Example 2 Examine whether the function f given by is continuous at .
Solution : f is defined at 0 and . Also
So , and f is continuous at .
Example 3 Discuss the continuity of the function f given by at .
Solution : By definition of the
f is defined at 0 and .
Left hand limit:
Right hand limit:
The left hand limit, the right hand limit and the value at 0 all coincide, so f is continuous at .
Example 4 Show that the function f given by is not continuous at .
Solution : f is defined at 0 and . When , f is given by a polynomial, so
The limit of f at 0 is 3 but its value is 1, so f is not continuous at . This is graph B of the tester, and is its only point of discontinuity.
Example 5 Check the points where the
Solution : f is defined at every real number and its value at any real c is k. Also
Since for every real c, the constant function is continuous at every real number.
Example 6 Prove that the
Solution : f is defined everywhere and for every real number c. Also .
So for every c, and the function is continuous at every real number.
From One Point to the Whole Function
So far we tested one point at a time. The natural next step is to ask about all of them together.
Definition 2 A real function f is said to be continuous if it is continuous at every point in the domain of f.
One detail needs care at the edges. Suppose f is defined on a closed interval [a, b]. For f to be continuous it must be continuous at every point of [a, b], including the end points. Continuity at a means , and continuity at b means . There is nothing to the left of a or to the right of b to approach from, so and do not make sense. (A curious consequence: a function whose domain is a single point is continuous.)
Example 7 Is the function defined by a
Solution : We may write for and for . By Example 3, f is continuous at 0.
If c < 0, then and , because near a negative c every x is negative too. So f is continuous at all negative real numbers.
If c > 0, then and . So f is continuous at all positive real numbers.
Hence f is continuous at
Example 8 Discuss the continuity of the function f given by .
Solution : f is defined at every real number c, and its value there is . Also
So f is continuous at every real number: f is a continuous function.
Example 9 Discuss the continuity of the function f defined by , .
Solution : Fix any non-zero real number c. Then , and .
So f is continuous at every point in its domain, and
Note: 0 is not in the domain
The graph of 1/x does break at 0, but 0 is not in the domain of f, so there is nothing to test there. Definition 2 only asks about points in the domain.
Running Off to Infinity
This is a good moment to explain the idea of infinity. What does do as x creeps towards 0? We find the value of the function at real numbers close to 0, first from the right.
Table 5.1
| 1 | 0.3 | 0.2 | 0.1 | 0.01 | 0.001 | ||
|---|---|---|---|---|---|---|---|
| 1 | 3.333… | 5 | 10 | 100 | 1000 |
As x gets closer to 0 from the right, f(x) shoots up higher and higher: it can be made larger than any number you name by taking x positive and close enough to 0. In symbols,
read as "the right hand limit of f at 0 is plus infinity". The left side works the same way:
Table 5.2
| −1 | −0.3 | −0.2 | −0.1 | −0.01 | −0.001 | ||
|---|---|---|---|---|---|---|---|
| −1 | −3.333… | −5 | −10 | −100 | −1000 |
From the left, f(x) drops below any number you name, and we write .
But and are not real numbers. So the right hand limit of f at 0
The graph of the reciprocal function shows both facts at once: the right branch climbs up along the y-axis and the left branch plunges down along it.
Fig 5.3 — .
Jumps and Moved Points
Example 10 Discuss the continuity of the function f defined by
Solution : f is defined at all points of the real line.
Case 1 If c < 1, then and . So f is continuous at all real numbers less than 1.
Case 2 If c > 1, then and . So f is continuous at all points x > 1.
Case 3 If c = 1, the left hand limit of f at 1 is
The left and right hand limits at 1 do not coincide, so f is not continuous at 1, and is its only point of discontinuity. In Fig 5.4 the left piece ends in a filled dot at (1, 3), while the right piece starts at the empty ring at (1, −1). This is graph A of the tester.
Example 11 Find all the points of discontinuity of the function f defined by
Solution : Exactly as in Example 10, f is continuous at every real number
Fig 5.4 — Example 10: the right piece starts at the empty ring at (1, −1).
Fig 5.5 — Example 11.
Example 12 Discuss the continuity of the function defined by
Solution : This function is defined at all real numbers except 0. Its domain is
Case 1 If
Case 2 If
So f is continuous at every point of its domain, and therefore f
To draw its graph (Fig 5.6) you do have to lift the pen, at the empty ring at (0, 2). But that is only where the function is not defined, and Definition 2 does not care about points outside the domain.
Example 13 Discuss the continuity of the function f given by
Solution : f is defined at every real number. Its graph (Fig 5.7) suggests splitting the real line into three parts:
Case 1 At any point of
Case 2 At any point of
Case 3 At 0:
So
Fig 5.6 — Example 12: the pen lifts at the empty ring at (0, 2).
Fig 5.7 — Example 13: the two pieces meet at the dot at the origin.
Example 14 Show that every
Solution : A function p is a polynomial function if
By definition p is continuous at c. Since c is any real number, p is continuous at every real number, so p is a continuous function.
Example 15 Find all the points of discontinuity of the
Solution : f is defined for all real numbers. Its graph (Fig 5.8) is a staircase, just like Riya's parking fee, and it looks discontinuous at every integer. Let us check.
Case 1 Let c be a real number that is not an integer. For all x close enough to c,
Case 2 Let c be an integer. For a small enough r > 0,
These can never be equal, so the greatest integer function is discontinuous at every integer: each step ends in a dot and the next one starts at an empty ring.
Fig 5.8 —
Algebra of continuous functions
In Class XI, once you understood limits, you learnt the algebra of limits: the limit of a sum is the sum of the limits, and so on. Continuity is decided entirely by limits, so we can expect the same kind of rules for continuous functions.
Theorem 1 Suppose f and g are two real functions continuous at a real number c. Then
(1)
(2)
(3)
(4)
Test the theorem before we prove it. Build h out of f and g and look for breaks in the purple curve. The faint blue and green curves are f and g themselves.
The faint blue curve is f and the faint green curve is g; the purple curve is the h you build from them.
The purple curve never broke for a sum, a difference or a product, and a quotient broke only where g was 0. Now the proof.
Proof of (1). The function f + g is clearly defined at c, and
Hence f + g is continuous at
Remarks
(i) Taking f to be a constant function,
(ii) Taking
Theorem 1 turns a few simple continuous functions into a whole factory of them.
Example 16 Prove that every
Solution : Every rational function f is given by
Example 17 Discuss the continuity of the sine function.
Solution : We use the fact that
So
Example 18 Prove that the function defined by
Solution :
Continuous Inside Continuous
Continuous functions also behave well under
Theorem 2 Suppose f and g are real valued functions such that
Example 19 Show that the function defined by
Solution : f is defined for every real number, and it is the composite
Example 20 Show that the function f defined by
Solution : Define g by
h is continuous (Example 7). g is the sum of a polynomial function and the modulus function, so g is continuous by Theorem 1. Then f, a composite of two continuous functions, is continuous by Theorem 2.
Speed Round: Break or No Break?
Each small graph shows a function near the dashed line
Get five right to move on.