Learn

Limits and Continuity

Contents

The gradient of a straight line is rise over run between two points. A curve has a different gradient at every point, so that formula cannot give the gradient at one point. A limit answers that question: it asks what a calculation approaches as its input approaches a value, without calculating at that value.

What problem is calculus actually solving?

Calculus measures change on curves, where straight-line methods stop working. A straight line has one gradient everywhere. A curve steepens as you move along it, so no single number describes it.

A curve is flat near the bottom and steep further out. So what is its gradient? Full lesson: The Gradient of a Curve

Ask instead for the gradient at one point, and draw the tangent there.

Ask instead for the gradient at one point, and draw the line that just touches the curve there: the tangent. Full lesson: The Gradient of a Curve

To calculate it, find the gradient of the chord from that point to a nearby second point, then slide the second point toward the first. The value the chord gradient approaches is the gradient of the curve. See The Gradient of a Curve and Limits.

Slide the two points together and the chord settles onto the tangent. Full lesson: Limits

What is a limit?

A limit is the value a function approaches as its input approaches a point. What the function does at the point itself does not matter, and it need not be defined there at all.

A limit at x = 2 asks what happens near 2, never what happens exactly at 2. Full lesson: The Idea of a Limit

(x² − 4)/(x − 2) is undefined at x = 2, and its limit there is 4. Factor the numerator as (x + 2)(x − 2) and cancel the common factor. Away from x = 2 the function is x + 2, which is near 4 when x is near 2.

This function is undefined at x = 2, yet it approaches 4. The hole does not stop the limit. Full lesson: The Idea of a Limit
This is what makes the derivative possible. The chord gradient (f(x + h) − f(x))/h is 0/0 at h = 0, but its limit as h approaches 0 exists, and that limit is the derivative. See The Idea of a Limit.

Does a limit have to agree from both sides?

Yes. A one-sided limit is the value a function approaches from the left only, or from the right only. The two-sided limit exists only when the left limit and the right limit are equal.

Approaching from the left, the values settle on −1. From the right, they settle on +1. Full lesson: One Sided Limits

A step function shows the rule. Both one-sided limits exist at the jump, but they disagree, so the limit does not exist there. See One Sided Limits.

The two sides give different answers, so there is no single value to approach. Full lesson: One Sided Limits

Now you

The left limit is 0 and the right limit is 0. Does the limit exist?

The left limit is 3 and the right limit is 3. Does the limit exist?

How do you actually calculate a limit?

Substitute first. If substitution gives a number, that number is the limit. The limit laws allow this: a limit passes through sums, products and quotients. See The Limit Laws.

Quotients carry one condition: the limit of the denominator must not be zero. Full lesson: The Limit Laws

Substitution fails when it gives an indeterminate form such as 0/0 or /. That does not mean there is no limit. It means the expression in this form has not decided the question.

Substitute x = 2 into (x² − 4) / (x − 2) and you get 0 over 0 — a signal, not an answer. Full lesson: Indeterminate Forms
  1. Substitute. A number means you are done.
  2. If you get 0/0, rewrite the expression: factor and cancel, rationalize a surd, or combine the fractions.
  3. Substitute again into the new expression.

lim (x² − 9)/(x − 3) as x → 3: factor the numerator to get (x + 3)(x − 3)/(x − 3), cancel the (x − 3), then substitute x = 3 into x + 3. The limit is 6. See Indeterminate Forms.

Factor the numerator and the (x − 2) cancels, because x is near 2 and never equal to 2. Full lesson: Indeterminate Forms

Now you

What is the limit of (x² − 9) / (x − 3) as x → 3?

What is the limit of (x² − 16) / (x − 4) as x → 4?

What happens to a function far out?

A limit at infinity asks what a function approaches as x grows without bound. For a fraction of two polynomials, only the highest power of x matters when x is large.

Divide numerator and denominator by the highest power of x present. Full lesson: Limits at Infinity

(3x² + 5)/(x² − 1) → 3 as x → ∞. Divide the numerator and the denominator by to get (3 + 5/x²)/(1 − 1/x²). As x grows, 5/x² and 1/x² both approach 0, leaving 3. The line y = 3 is a horizontal asymptote.

Every 1/x term shrinks to 0, leaving the ratio of the leading coefficients. Full lesson: Limits at Infinity

Compare the degrees: equal degrees give the ratio of the leading coefficients, a smaller degree on top gives 0, and a larger degree on top means the function grows without bound. See Limits at Infinity.

Now you

What is the limit of (2x + 3) / (3x + 5) as x → ∞?

What is the limit of (8x + 3) / (1x + 5) as x → ∞?

How do you find a limit you cannot compute directly?

Trap the function between two others whose limits you know. If the upper and lower functions approach the same value, the function between them must approach it too. This is the squeeze theorem. See The Squeeze Theorem.

If the upper and lower functions approach the same value, the middle one has nowhere else to go. Full lesson: The Squeeze Theorem

The most important use is the limit of sin x over x as x approaches 0. Substituting x = 0 gives 0/0. Near 0 the ratio is trapped between cos x and 1, and both approach 1, so the limit is exactly 1 when x is in radians. See The Limit of sin x over x.

As x approaches 0 the curve approaches height 1, but the point at x = 0 is missing. Full lesson: The Limit of sin x over x
This limit is why the derivative of sin x is cos x. In degrees it is π/180, not 1, and that factor would appear in every later result. That is why calculus uses radians.

For small x in radians, sin x ≈ x, tan x ≈ x and cos x ≈ 1 − x²/2. These are the small-angle approximations. See Small-Angle Approximations.

Near 0, sin x is close to x. Drawn together, the curve and the line almost coincide. Full lesson: Small-Angle Approximations

Now you

For small x, cos x ≈ ?

The approximations hold only when x is measured in which unit?

What does continuity mean?

A function is continuous at a point when three conditions hold: the function is defined there, the limit exists there, and the limit equals the value. Informally, you can draw the graph through that point without lifting the pencil. See Continuity at a Point.

Formally: the value the function approaches must equal the value it actually takes. Full lesson: Continuity at a Point

A discontinuity is one of three types. A removable discontinuity is one missing or misplaced point: the limit exists, but the value does not equal it. At a jump discontinuity the left and right limits differ. At an infinite discontinuity the curve runs off along a vertical asymptote, so there is no limit. See Types of Discontinuity.

A jump discontinuity has two different one-sided limits, and no single point can mend it. Full lesson: Types of Discontinuity

The intermediate value theorem says that a function continuous on an interval takes every value between its values at the two ends. So a continuous function that is negative at one end and positive at the other must equal zero somewhere between: only a jump could cross the axis without touching it, and continuity rules out the jump.

To get from below to above without lifting the pencil, it must cross zero. Full lesson: The Intermediate Value Theorem

This is the guarantee behind every numerical root-finder, including the iteration methods in the applications of differentiation: a sign change between two points traps a root between them. See The Intermediate Value Theorem.

What can you do once you have a derivative?

Differentiating from first principles carries out the limit in full: write the chord gradient (f(x + h) − f(x))/h, simplify, then let h approach 0. For f(x) = x² the chord gradient simplifies to 2x + h, so the derivative is 2x. See From First Principles.

Now shrink h. Each chord lies closer to the tangent than the one before. Full lesson: From First Principles

The same working on gives 3x², and the pattern is the rule for powers: multiply by the power, then take one off the power. So x⁵ differentiates to 5x⁴. See Differentiating Powers.

The derivative at a point is the gradient of the tangent there. The normal is perpendicular to the tangent, and perpendicular gradients multiply to −1, so the gradient of the normal is −1 / m. See Tangents and Normals.

The normal crosses the tangent at a right angle, with gradient −1/4. Full lesson: Tangents and Normals

A stationary point is where the derivative is zero. To find one, set the derivative equal to zero and solve. See Stationary Points.

At the very bottom of this curve the tangent is horizontal, so its gradient is zero. Full lesson: Stationary Points

Now you

Differentiate 3x^3

Differentiate 1x^7

What is integration, and why is it the reverse?

Integration undoes differentiation. Differentiating gives 3x², so integrating 3x² returns . Differentiation destroys any constant term, so an integral always ends with + c. See Integration.

Add one to the power, then divide by the new power — the rule run in reverse. Full lesson: Integration

Integration also measures the area under a curve. Slice the region into thin rectangles and add their areas. The total improves as the rectangles get thinner. See Area Under a Curve.

As the rectangles get thinner without limit, the sum becomes the integral, and that gives the area exactly. Full lesson: Area Under a Curve

The sum 1/2 + 1/4 + 1/8 + … approaches 1. The sum 1 + 1/2 + 1/3 + 1/4 + … grows past every bound, although its terms also shrink to 0. Shrinking terms are not enough for a sum to converge. See Two Infinite Sums, Opposite Fates.

Halve the gap each time and the total closes in on exactly 1. Full lesson: Two Infinite Sums, Opposite Fates

The mistakes worth naming

Learn this properly in the app

Every lesson linked above is in Math Challenge, with a diagram, a worked example and practice questions. The functions and graphs this guide assumes are in functions and rational functions, the differentiation rules that replace first principles are in the rules of differentiation, and convergence is covered in sequences and series.

Your turn

Three to try — tap what you get.

lim as x→2 of (x² − 4)/(x − 2)

lim as x→∞ of 1/x

A function continuous at a point has

Math ChallengePractice that adapts to you, the whole lesson ladder, and your progress saved.
Start with Math Challenge

Mr. Chalk Practice this lesson in the app