Skip to main content

Thomas’ Calculus · Chapter 02 · Section 2.2

By Muhammad Abdullah Athar · SymPy Verified

Limit of a Function and Limit Laws

❦

Read this page the way you would a book: first the notes, then the key ideas, then every worked example in order — each step explains not only what to do, but why it works.

Part One

Section Notes

❧

Section 2.2: Limit of a Function and Limit Laws

The concept of a limit is the cornerstone of calculus. It allows us to examine the behavior of a function near a point of interest, even when the function cannot be directly evaluated at that point.


1. The Limit Concept

When we write:

lim⁡x→cf(x)=L\lim_{x \to c} f(x) = L

we mean that we can make the output values f(x)f(x) as close to LL as desired by choosing xx sufficiently close to cc, with x≠cx \neq c.

Critical Principle:

The value of f(c)f(c) has zero influence on whether lim⁡x→cf(x)\lim_{x \to c} f(x) exists or what its value is:

  • f(c)f(c) can equal LL.
  • f(c)f(c) can be completely different from LL.
  • f(c)f(c) may be completely undefined!

2. The Limit Laws

Suppose lim⁡x→cf(x)=L\lim_{x \to c} f(x) = L and lim⁡x→cg(x)=M\lim_{x \to c} g(x) = M, where LL and MM are finite real numbers. Then:

  1. Sum & Difference Rule: lim⁡x→c[f(x)±g(x)]=L±M\lim_{x \to c} [f(x) \pm g(x)] = L \pm M
  2. Product Rule: lim⁡x→c[f(x)g(x)]=L⋅M\lim_{x \to c} [f(x) g(x)] = L \cdot M
  3. Quotient Rule: lim⁡x→cf(x)g(x)=LM,provided M≠0\lim_{x \to c} \frac{f(x)}{g(x)} = \frac{L}{M}, \quad \text{provided } M \neq 0
  4. Power & Root Rules: lim⁡x→c[f(x)]n=Ln,lim⁡x→cf(x)n=Ln(L>0 if n is even)\lim_{x \to c} [f(x)]^n = L^n, \quad \lim_{x \to c} \sqrt[n]{f(x)} = \sqrt[n]{L} \quad (L > 0 \text{ if } n \text{ is even})

3. Techniques for Indeterminate Forms 00\frac{0}{0}

When direct substitution yields 00\frac{0}{0}, the limit is an indeterminate form:

  • Factoring and Cancellation: Factor (x−c)(x - c) from polynomial expressions.
  • Conjugate Rationalization: For square roots, multiply numerator and denominator by the conjugate (A+B)(\sqrt{A} + B).
  • Sandwich (Squeeze) Theorem: For bounded oscillatory terms like sin⁡(1/x)\sin(1/x), bound between −x2-x^2 and x2x^2.

Part Two

Key Ideas to Remember

4 essential statements for this section, each with a plain-words explanation.

Definition #1Sec 2.2

Informal Definition of a Limit

lim⁡x→cf(x)=L\lim_{x \to c} f(x) = L

If f(x) becomes arbitrarily close to a single number L as x approaches c from both sides (without ever requiring x = c), we say that the limit of f(x) as x approaches c is L.

Conditions: f must be defined in an open interval containing c, except possibly at c itself; L must be a unique, finite real number

In plain words: The value of f at x = c is completely irrelevant to the existence or value of the limit. The limit describes local behavior near c, not at c.

Remember — Limits describe the target value of f(x) near c, independent of f(c).

Theorem #2Sec 2.2

Algebraic Limit Laws

lim⁡x→c[f(x)±g(x)]=L±M,lim⁡x→c[f(x)g(x)]=LM,lim⁡x→cf(x)g(x)=LM(M≠0)\lim_{x \to c} [f(x) \pm g(x)] = L \pm M, \quad \lim_{x \to c} [f(x)g(x)] = LM, \quad \lim_{x \to c} \frac{f(x)}{g(x)} = \frac{L}{M} \quad (M \neq 0)

If lim_{x->c} f(x) = L and lim_{x->c} g(x) = M exist, then limits distribute linearly across sums, differences, constant multiples, products, quotients (with non-zero denominator), powers, and roots.

Conditions: Both individual limits must exist as finite numbers; In quotient law, the limit of the denominator M must be non-zero

In plain words: These laws allow evaluation of complicated expressions term-by-term without recurring to epsilon-delta proofs.

Remember — Limits distribute over standard algebraic operations provided each individual limit exists.

Theorem #3Sec 2.2

The Sandwich (Squeeze) Theorem

g(x)≤f(x)≤h(x)  ⟹  lim⁡x→cf(x)=Lwhen lim⁡x→cg(x)=lim⁡x→ch(x)=Lg(x) \le f(x) \le h(x) \implies \lim_{x \to c} f(x) = L \quad \text{when } \lim_{x \to c} g(x) = \lim_{x \to c} h(x) = L

If g(x) <= f(x) <= h(x) for all x in an open interval containing c (except possibly c), and lim_{x->c} g(x) = lim_{x->c} h(x) = L, then lim_{x->c} f(x) = L.

Conditions: Inequality holds in a punctured neighborhood of c; Both bounding functions converge to the exact same limit L

In plain words: Essential for evaluating oscillatory limits such as x^2 * sin(1/x) near 0 where direct substitution fails.

Remember — Trap an unknown function between two known bounds that converge to the same limit.

Rule #4Sec 2.2

Cancellation Rule for 0/0 Forms

P(x)Q(x)=(x−c)P1(x)(x−c)Q1(x)=P1(x)Q1(x)for x≠c\frac{P(x)}{Q(x)} = \frac{(x - c)P_1(x)}{(x - c)Q_1(x)} = \frac{P_1(x)}{Q_1(x)} \quad \text{for } x \neq c

If direct substitution into a rational function yields 0/0, (x - c) is a common factor of both numerator and denominator. Factoring and canceling (x - c) produces an identical function near c.

Conditions: P(c) = 0 and Q(c) = 0; Cancellation is valid because x approaches c but never equals c

In plain words: By the Factor Theorem, c being a zero implies (x - c) divides the polynomial.

Remember — Always factor and cancel common linear factors (x - c) when encountering 0/0 in rational functions.

Part Three

Worked Examples

5 exercises, solved in full. Every answer has been checked symbolically with SymPy before printing.

Example 01(Section 2.2, Exercise 1)

Warm-up

Problem. Evaluate the limit lim_{x -> -2} (2x^3 - 5x + 4) using the limit laws.

Step-by-Step Derivation (2 steps)

1

Apply the Sum and Difference Limit Laws

lim⁡x→−2(2x3−5x+4)=2lim⁡x→−2x3−5lim⁡x→−2x+lim⁡x→−24\lim_{x \to -2} (2x^3 - 5x + 4) = 2\lim_{x \to -2} x^3 - 5\lim_{x \to -2} x + \lim_{x \to -2} 4

Distribute the limit operator across the individual polynomial terms using linearity of limits.

Why this works: Limit of a linear combination of functions is the linear combination of individual limits.
2

Evaluate Each Power Limit

2(−2)3−5(−2)+4=2(−8)+10+4=−16+14=−22(-2)^3 - 5(-2) + 4 = 2(-8) + 10 + 4 = -16 + 14 = -2

Substitute x = -2 directly into each term by the direct substitution property of polynomials.

Why this works: Every polynomial function is continuous everywhere on the real line.

Answer: lim⁡x→−2(2x3−5x+4)=−2\lim_{x \to -2} (2x^3 - 5x + 4) = -2

✓ Verified by SymPy CAS

Example 02(Section 2.2, Exercise 2)

Warm-up

Problem. Evaluate the limit: lim_{x -> 3} (x^2 - 9)/(x - 3).

Step-by-Step Derivation (3 steps)

1

Identify the Indeterminate Form

32−93−3=00\frac{3^2 - 9}{3 - 3} = \frac{0}{0}

Direct substitution yields 0/0, indicating the presence of a common factor (x - 3).

Why this works: The form 0/0 proves that x = 3 is a root of both numerator and denominator.
2

Factor the Numerator

x2−9x−3=(x−3)(x+3)x−3\frac{x^2 - 9}{x - 3} = \frac{(x - 3)(x + 3)}{x - 3}

Factor the difference of squares x^2 - 9 into (x - 3)(x + 3).

Why this works: Standard algebraic factorization identity a^2 - b^2 = (a - b)(a + b).
3

Cancel Common Factor and Evaluate

lim⁡x→3(x+3)=3+3=6\lim_{x \to 3} (x + 3) = 3 + 3 = 6

Cancel (x - 3) since x approaches 3 but x != 3, then substitute x = 3.

Why this works: If two functions agree everywhere except at x = c, their limits as x -> c are identical.

Answer: lim⁡x→3x2−9x−3=6\lim_{x \to 3} \frac{x^2 - 9}{x - 3} = 6

✓ Verified by SymPy CAS

Example 03(Section 2.2, Exercise 3)

Core practice

Problem. Evaluate the limit: lim_{x -> 1} (x^3 - 1)/(x^2 - 1).

Step-by-Step Derivation (3 steps)

1

Factor Numerator and Denominator

x3−1=(x−1)(x2+x+1),x2−1=(x−1)(x+1)x^3 - 1 = (x - 1)(x^2 + x + 1), \quad x^2 - 1 = (x - 1)(x + 1)

Apply difference of cubes to numerator and difference of squares to denominator.

Why this works: Difference of cubes identity: a^3 - b^3 = (a - b)(a^2 + ab + b^2).
2

Cancel Common Factor (x - 1)

x3−1x2−1=(x−1)(x2+x+1)(x−1)(x+1)=x2+x+1x+1(x≠1)\frac{x^3 - 1}{x^2 - 1} = \frac{(x - 1)(x^2 + x + 1)}{(x - 1)(x + 1)} = \frac{x^2 + x + 1}{x + 1} \quad (x \neq 1)

Cancel the common factor (x - 1) which caused the 0/0 form.

Why this works: In limit evaluation, x approaches 1 but is never equal to 1.
3

Evaluate Limit of Simplified Expression

lim⁡x→1x2+x+1x+1=12+1+11+1=32\lim_{x \to 1} \frac{x^2 + x + 1}{x + 1} = \frac{1^2 + 1 + 1}{1 + 1} = \frac{3}{2}

Substitute x = 1 into the simplified continuous rational function.

Why this works: Direct substitution is valid when denominator does not equal zero.

Answer: lim⁡x→1x3−1x2−1=32\lim_{x \to 1} \frac{x^3 - 1}{x^2 - 1} = \frac{3}{2}

✓ Verified by SymPy CAS

Example 04(Section 2.2, Exercise 4)

Core practice

Problem. Evaluate the limit: lim_{x -> 0} (sqrt(x + 4) - 2) / x.

Step-by-Step Derivation (3 steps)

1

Multiply by the Conjugate

x+4−2x⋅x+4+2x+4+2=(x+4)−4x(x+4+2)=xx(x+4+2)\frac{\sqrt{x + 4} - 2}{x} \cdot \frac{\sqrt{x + 4} + 2}{\sqrt{x + 4} + 2} = \frac{(x + 4) - 4}{x(\sqrt{x + 4} + 2)} = \frac{x}{x(\sqrt{x + 4} + 2)}

Multiply numerator and denominator by the radical conjugate sqrt(x+4) + 2.

Why this works: Conjugate multiplication rationalizes the numerator via (A - B)(A + B) = A^2 - B^2.
2

Cancel Common Factor x

xx(x+4+2)=1x+4+2(x≠0)\frac{x}{x(\sqrt{x + 4} + 2)} = \frac{1}{\sqrt{x + 4} + 2} \quad (x \neq 0)

Cancel the variable x from numerator and denominator.

Why this works: Removing x eliminates the 0 in the denominator.
3

Compute the Limit via Direct Substitution

lim⁡x→01x+4+2=10+4+2=12+2=14\lim_{x \to 0} \frac{1}{\sqrt{x + 4} + 2} = \frac{1}{\sqrt{0 + 4} + 2} = \frac{1}{2 + 2} = \frac{1}{4}

Substitute x = 0 into the rationalized expression.

Why this works: The rationalized function is continuous at x = 0.

Answer: lim⁡x→0x+4−2x=14\lim_{x \to 0} \frac{\sqrt{x + 4} - 2}{x} = \frac{1}{4}

✓ Verified by SymPy CAS

Example 05(Section 2.2, Exercise 5)

Core practice

Problem. Prove using the Sandwich Theorem that lim_{x -> 0} x^2 sin(1/x) = 0.

Step-by-Step Derivation (4 steps)

1

Bound the Sine Function

−1≤sin⁡(1x)≤1∀x≠0-1 \le \sin\left(\frac{1}{x}\right) \le 1 \quad \forall x \neq 0

Recall that the range of the sine function is bounded strictly within [-1, 1].

Why this works: The sine function is bounded for all real arguments regardless of how rapidly the argument oscillates.
2

Multiply the Inequality by x^2

−x2≤x2sin⁡(1x)≤x2-x^2 \le x^2 \sin\left(\frac{1}{x}\right) \le x^2

Multiply through by x^2. Since x^2 > 0 for all x != 0, the inequality directions are preserved.

Why this works: Multiplying an inequality by a strictly positive quantity maintains the order of inequalities.
3

Evaluate the Limits of the Bounding Functions

lim⁡x→0(−x2)=0andlim⁡x→0(x2)=0\lim_{x \to 0} (-x^2) = 0 \quad \text{and} \quad \lim_{x \to 0} (x^2) = 0

Both the lower bound -x^2 and upper bound x^2 converge to 0 as x -> 0.

Why this works: Direct substitution into the quadratic bounding functions gives zero.
4

Conclude via the Sandwich Theorem

lim⁡x→0(−x2)=0=lim⁡x→0x2  ⟹  lim⁡x→0x2sin⁡(1x)=0\lim_{x \to 0} (-x^2) = 0 = \lim_{x \to 0} x^2 \implies \lim_{x \to 0} x^2 \sin\left(\frac{1}{x}\right) = 0

Because the middle function is trapped between bounds converging to 0, it must also converge to 0.

Why this works: Statement and conclusion of the Sandwich (Squeeze) Theorem.

Answer: lim⁡x→0x2sin⁡(1x)=0\lim_{x \to 0} x^2 \sin\left(\frac{1}{x}\right) = 0

✓ Verified by SymPy CAS