Skip to content

Lesson 34 ยท Introduction to Limits

Continuity and Infinite Limits

Define continuity with limits, classify removable, jump and infinite discontinuities, and apply the Intermediate Value Theorem with a bisection tool.

Informally, a function is continuous if you can draw its graph without lifting your pencil. Limits turn that picture into a precise test, and the test has a surprising consequence: continuous functions cannot skip values.

Definition of continuity at a point

A function f is continuous at x = a if all three conditions hold:

  1. f(a) is defined,
  2. lim (xโ†’a) f(x) exists,
  3. lim (xโ†’a) f(x) = f(a).

If any condition fails, f is discontinuous at a. A function is continuous on an interval if it is continuous at every point of it. Polynomials, exponentials, sine and cosine are continuous everywhere; rational functions are continuous everywhere except where the denominator is zero; โˆšx is continuous on [0, โˆž); ln x on (0, โˆž).

Sums, products, quotients (denominator not zero) and compositions of continuous functions are continuous, which is why direct substitution works for such functions.

Types of discontinuity

Type What happens Example at x = a
Removable the limit exists but f(a) is missing or different (xยฒ โˆ’ 1)/(x โˆ’ 1) at x = 1
Jump the one-sided limits exist but differ โŒŠxโŒ‹ (floor) at an integer
Infinite f grows without bound 1/(x โˆ’ 2) at x = 2
Oscillating no limit because of endless oscillation sin(1/x) at x = 0

A removable discontinuity can be "repaired" by redefining the function at that one point: f(1) = 2 for the example, making it continuous.

Making a piecewise function continuous

Find k so that

Text
f(x) = { xยฒ + k   if x < 2
       { 3x โˆ’ 1   if x โ‰ฅ 2

is continuous at x = 2. The right side gives f(2) = 5 and the right limit is 5. The left limit is 4 + k. Set 4 + k = 5, so k = 1.

Python Test continuity at a point

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Infinite limits and vertical asymptotes

If f(x) grows without bound as x โ†’ a, we write lim f(x) = โˆž (or โˆ’โˆž). Strictly the limit does not exist as a real number; the notation describes how it fails.

The line x = a is a vertical asymptote when at least one one-sided limit is ยฑโˆž. For rational functions, look for zeros of the denominator that do not cancel.

Example: f(x) = (x + 1)/((x โˆ’ 2)(x + 1)). The factor x + 1 cancels, giving a hole at x = โˆ’1 (removable), and a vertical asymptote at x = 2.

Sign analysis tells you which infinity. For g(x) = 1/(x โˆ’ 2):

  • as x โ†’ 2โบ, x โˆ’ 2 is a small positive number, so g โ†’ +โˆž;
  • as x โ†’ 2โป, x โˆ’ 2 is a small negative number, so g โ†’ โˆ’โˆž.

For 1/(x โˆ’ 2)ยฒ both sides go to +โˆž.

The Intermediate Value Theorem

If f is continuous on [a, b] and N is any number between f(a) and f(b), then there is at least one c in [a, b] with f(c) = N.

The graph cannot jump from below N to above it without crossing. The most common use is to prove a root exists: if f(a) and f(b) have opposite signs, then f(c) = 0 somewhere between.

Example: f(x) = xยณ + x โˆ’ 1 has f(0) = โˆ’1 and f(1) = 1. Since it is continuous, it has a root in (0, 1).

The theorem tells you a root exists; the bisection method finds it by halving the interval each time.

Python Bisection: find a root guaranteed by the IVT

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which condition is NOT required for f to be continuous at a?

    Continuity needs only the three limit conditions; differentiability is stronger.
  2. 2. What kind of discontinuity does (xยฒ - 4)/(x - 2) have at x = 2?

    It simplifies to x + 2, so the limit is 4 but f(2) is undefined.
  3. 3. Where does f(x) = (x + 3)/(xยฒ - 9) have a vertical asymptote?

    Factor: (x + 3)/((x - 3)(x + 3)). The x + 3 cancels (hole at -3); x = 3 stays an asymptote.
  4. 4. f is continuous, f(1) = -2 and f(4) = 5. What does the IVT guarantee?

    0 lies between -2 and 5, so a root exists in the interval.

Summary

  • f is continuous at a if f(a) exists, the limit exists, and they are equal.
  • Discontinuities are removable, jump, infinite or oscillating.
  • A vertical asymptote at x = a means a one-sided limit is infinite; cancelling factors give holes instead.
  • The Intermediate Value Theorem guarantees roots when a continuous function changes sign, and bisection locates them.

Next: Practice Set: Trigonometry and Identities