Courses / Computer Science I
Calculus

Limits and Continuity

Computer Science I 286 words Free to read

Approaching Without Arriving

Calculus is built on the limit — the value a function approaches as its input approaches some point, even if the function is never actually evaluated there. We write limxaf(x)=L\lim_{x \to a} f(x) = L to say "as xx gets arbitrarily close to aa, f(x)f(x) gets arbitrarily close to LL." Crucially, the limit is about the approach, not the value at aa — the function might be undefined at aa yet still have a limit there.

A subtlety is one-sided limits: the value approached from the left (xax \to a^-) may differ from the value approached from the right (xa+x \to a^+). The (two-sided) limit exists only when both sides agree. A jump in the graph is exactly a case where the two one-sided limits differ, so no limit exists.

Continuity captures "no breaks in the graph." A function ff is continuous at aa when three things all hold:

  1. f(a)f(a) is defined,
  2. limxaf(x)\lim_{x \to a} f(x) exists, and
  3. the two are equal: limxaf(x)=f(a)\lim_{x \to a} f(x) = f(a).

Intuitively, you can draw a continuous function without lifting your pen. Polynomials are continuous everywhere; a function with a hole, jump, or vertical asymptote is discontinuous there. Continuity matters because the powerful theorems of calculus (and reliable numerical computation) depend on it.

Common pitfall: confusing the limit of a function at a point with its value at that point. limxaf(x)\lim_{x \to a} f(x) can exist even when f(a)f(a) is undefined or different — the limit ignores the single point aa and looks only at nearby behavior. Continuity is precisely the special case where the limit and the value agree; assuming they always agree erases the whole point of a limit.

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

11practice questions
2interactive scenes
Start Computer Science I free

Calculus