Continuity at a point and on an interval
A function f is continuous at a when three things are true: f(a) exists, the limit of f(x) as x goes to a exists, and the two are equal: lim f(x) = f(a).
In simple words: as x creeps up on a from the left and from the right, f(x) creeps up on the same number f(a). There is no hole, no jump, no blow-up.
f is continuous on an interval if it is continuous at every point of it. At the end points of a closed interval [a, b] we only use the one side that exists.
Good news: polynomials, sin, cos, exp are continuous everywhere. A fraction like 1/x is continuous everywhere it is defined, but it is not defined at 0, so there it breaks. Sums, products, and compositions of continuous functions are continuous.
Differentiable implies continuous
If f has a derivative at a, then f is continuous at a. A tangent line can only exist on a curve that has no break. So differentiable ā continuous.
The other way is false. The function |x| is continuous at 0 (no break) but has a sharp corner, so it has no derivative at 0. Continuous is a weaker idea than differentiable.
The image of a convergent sequence
Take a sequence uā that converges to L. If f is continuous at L, then the sequence f(uā) converges to f(L). We write: lim f(uā) = f(lim uā).
Example: uā = 2 + 1/n goes to 2. For f(x) = x², f(uā) goes to f(2) = 4. This lets us move the limit inside a continuous function. If uāāā = f(uā) and uā converges to L, then L = f(L): the limit is a fixed point.
Intermediate value theorem (IVT)
Let f be continuous on [a, b]. If k is any number between f(a) and f(b), then there is at least one c in [a, b] with f(c) = k.
Use it to show a root exists: if f(a) and f(b) have opposite signs, take k = 0, so f has a zero between a and b. Example: f(x) = x² ā 5 has f(2) = ā1 and f(3) = 4, so x² = 5 has a solution between 2 and 3.
Both conditions matter: f must be continuous on the whole closed interval. On 1/x over [ā1, 1] the signs change but there is no root, because 1/x breaks at 0.
Bisection: keep halving the interval, keeping the half where the sign changes, to trap the root as tightly as you like.
The strictly monotone case
If f is continuous and strictly increasing (or strictly decreasing) on [a, b], then each value k between f(a) and f(b) is reached exactly once. Monotone gives "at most one", IVT gives "at least one".
This is how we prove that an equation f(x) = k has a unique solution, for example x³ + x = 5 (the derivative 3x² + 1 is positive, so f is strictly increasing). It is also why inverse functions of continuous strictly monotone functions exist.
Key formulas and definitions
- Continuous at a: lim(xāa) f(x) = f(a)
- Differentiable at a ā continuous at a
- If uā ā L and f continuous at L: f(uā) ā f(L)
- IVT: f continuous on [a, b], k between f(a) and f(b) ā f(c) = k for some c in [a, b]
- Root test: f(a) Ć f(b) < 0 ā a root in (a, b)
- Bisection midpoint: m = (a + b) / 2
Worked examples
1. Is f(x) = 3x² ā 2x continuous at x = 4? Find f(4).
f is a polynomial, so it is continuous everywhere. lim f(x) = f(4) = 3(16) ā 8 = 40.
2. f(x) = x + 1 for x < 2 and f(x) = ax ā 1 for x ā„ 2. Find a so that f is continuous at 2.
Left limit = 2 + 1 = 3. Value at 2 = 2a ā 1. Set equal: 2a ā 1 = 3, so a = 2.
3. f(x) = (x² ā 4)/(x ā 2) for x ā 2. What value of f(2) makes f continuous at 2?
For x ā 2, f(x) = (x ā 2)(x + 2)/(x ā 2) = x + 2. The limit at 2 is 4, so define f(2) = 4.
4. Show that x³ ā x ā 1 = 0 has a root between 1 and 2.
f(x) = x³ ā x ā 1 is a polynomial, so continuous. f(1) = ā1 < 0 and f(2) = 5 > 0. By the IVT there is c in (1, 2) with f(c) = 0.
5. Use one bisection step for x² ā 2 = 0 on [1, 2]. Which half has the root?
Midpoint 1.5: f(1.5) = 2.25 ā 2 = 0.25 > 0. f(1) = ā1 < 0. The sign changes between 1 and 1.5, so the root is in [1, 1.5].
6. Show x³ + x = 5 has exactly one solution.
f(x) = x³ + x ā 5 is continuous. f(1) = ā3 and f(2) = 5, so there is a root in (1, 2) by the IVT. fā²(x) = 3x² + 1 > 0, so f is strictly increasing and can cross zero only once. Exactly one solution.
Common mistakes
- Thinking "limit exists" is enough. The limit must also equal f(a), and f(a) must exist.
- Using the IVT on an interval where f is not continuous (like 1/x over [ā1, 1]).
- Saying continuous means differentiable. |x| is continuous at 0 but has no derivative there.
- Believing the IVT gives the exact root or says there is only one. It only says at least one exists.