WordGPT
← Math: from algebra to machine learning

Calculus Β· Part 1 of 6

Limits

Learn what a limit means, how to evaluate simple limits, and how to handle indeterminate forms before moving on to derivatives.

Calculus27 min read

Suppose you walk toward a wall, each step covering half the remaining distance. You never touch it, yet your position approaches a definite number. Calculus needs a way to talk about 'what a quantity approaches' without requiring it to ever arrive β€” that idea is the limit.

Limits are the foundation of everything ahead: derivatives are limits of slopes, integrals are limits of sums. Getting comfortable with them now makes the rest of calculus much easier.

What a limit means

We write to mean: as gets arbitrarily close to (from either side, without ever equaling ), the values of get arbitrarily close to .

The limit is about the neighborhood of , not the value at . The function doesn't even need to be defined at . For example, is undefined at , but for it equals , so its values approach as approaches .

A limit exists only if the left-hand limit (approaching from below) and the right-hand limit (approaching from above) agree. If , the two-sided limit does not exist.

Line y = x + 1 on [-3, 3] with an open circle at (1, 2), showing the limit exists even where the function is undefined.-3-2-1123-112345hole at (1, 2)y = (xΒ² βˆ’ 1)/(x βˆ’ 1)
The graph is the line y = x + 1 with a hole at x = 1: the function is undefined there, yet the values approach 2 from both sides.

Limits you can read off directly

If is built from polynomials, roots, and quotients whose denominator isn't zero at , and is defined on both sides of (on an interval around it), then . Just substitute. At the edge of a function's domain, for example at , only a one-sided limit makes sense: from the right the limit is , and from the left the function does not exist.

Useful standard limits:

Also, for rational functions as , compare the degrees: if numerator and denominator have the same degree, the limit is the ratio of leading coefficients; if the denominator has larger degree, the limit is ; if the numerator has larger degree, the limit is infinite (no finite limit).

Interactive graph of sin(kx)/x with slider k from 0.5 to 4; as x approaches 0 the curve approaches k, and at k = 1 it approaches 1.-6-4-2246-112345y = sin(kx)/x
Drag k: near x = 0 the curve always flattens to height k, illustrating lim x→0 sin(kx)/x = k (the standard limit sin(x)/x → 1 scaled by k).

The 0/0 trick: factoring and canceling

Substituting sometimes gives , which is indeterminate: it doesn't tell you the answer, it tells you to do algebra. The most common fix is to factor and cancel the term causing the zero.

For instance, gives on substitution. But , so for the expression equals , whose limit is . The cancellation is legal because the limit never evaluates at exactly.

Multiplying by a conjugate works for square roots: becomes tractable if you multiply top and bottom by .

Solid line y = (xΒ² βˆ’ 9)/(x βˆ’ 3) coinciding with dashed line y = x + 3, with an open circle at (3, 6).0123456246810hole at (3, 6)y = (xΒ² βˆ’ 9)/(x βˆ’ 3)y = x + 3
After canceling (x βˆ’ 3), the expression is just x + 3 with a hole at x = 3; the limit is 6 even though substitution gives 0/0.

Worked examples

Work through each example line by line, checking every step yourself.

Graph of |x|/x: constant 1 for x > 0 and constant βˆ’1 for x < 0, with a jump at x = 0.-3-2-1123-2-112y = |x|/x
Approaching 0 from the right the values sit at 1, from the left at βˆ’1; the one-sided limits disagree, so the limit does not exist.

Example 1. Direct substitution Evaluate .

The function is defined at and the denominator is not zero there, so substitute directly:

The limit is .

Example 2. A 0/0 form resolved by factoring Evaluate .

Substituting gives , so factor the numerator:

Cancel the common factor (valid for ):

Now substitute:

Check: the original expression at is about , close to , as expected.

Example 3. A limit at infinity Evaluate .

Both polynomials have degree , so divide every term by :

As , every term goes to :

The limit is , the ratio of the leading coefficients.

Example 4. A limit that does not exist Evaluate .

Approach from the right: for , , so and the right-hand limit is .

Approach from the left: for , , so and the left-hand limit is .

Since , the two one-sided limits disagree, so the two-sided limit does not exist.

One-sided limits and continuity

A function is continuous at if three things hold: is defined, exists, and they are equal. Informally, you can draw the graph through without lifting your pen.

Piecewise functions are the classic test case. If for and for , then the left-hand limit at is and the right-hand limit is . They disagree, so the limit doesn't exist and has a jump at .

Continuity matters because many theorems (like the Intermediate Value Theorem) require it, and because derivatives in the next lesson are defined through a limit that only behaves well for continuous functions.

Piecewise graph: line x + 1 up to an open circle at (2, 3), then line 3x βˆ’ 1 starting at filled point (2, 5), showing a jump discontinuity at x = 2.012340246left limit 3f(2) = 5piecewise f(x)
The left-hand limit at 2 is 3 and the right-hand limit is 5, so the two-sided limit does not exist and the graph has a jump.

Why limits matter for what comes next

The derivative of a function at a point is defined as a limit of average slopes:

Plugging in directly gives β€” always. Every derivative rule you will learn is a shortcut for evaluating this limit, and the algebra you practiced here (factoring, conjugates, canceling) is exactly the algebra those evaluations need. Limits are not a detour; they are the engine of calculus.

Common mistakes

  • Believing a limit equals the function's value at the point β€” the limit describes nearby behavior, and may not even exist.
  • Concluding a limit 'equals 0/0' β€” 0/0 is indeterminate and signals that you must simplify, not that the limit is undefined.
  • Canceling and then plugging in without noting the cancellation only holds for β€” state that the limit never evaluates at the point.
  • Assuming the limit at infinity of a rational function is always 0 β€” it is 0 only when the denominator has the larger degree.
  • Treating a one-sided limit as the two-sided limit β€” the two-sided limit exists only when both sides agree.

Practice

  1. Evaluate .
  2. Evaluate .
  3. Evaluate .
  4. Evaluate .
  5. Let for . Evaluate .
Answers
  1. , because the function is a polynomial, so the limit is its value at : .
  2. , since for , which approaches .
  3. , because the numerator factors as , leaving , which approaches as .
  4. , since numerator and denominator have the same degree and the limit is the ratio of leading coefficients .
  5. , found by multiplying top and bottom by the conjugate , giving .

Next, the limit becomes the definition of the derivative β€” see Derivatives.

Part of the free WordGPT Learn section. WordGPT is an AI writing workspace for documents, resumes, websites and study.

    Limits β€” Math: from algebra to machine learning | WordGPT