Calculus I: Foundations

Limit Laws and Advanced Computations

Imron Rosyadi

Introduction to Limits: Powerful Rules for Calculus

Unlocking Complex Limit Problems

Why Do We Need Limit Laws?

Breaking Down Complexity

Limit laws allow us to compute limits by breaking down complex expressions into simpler, manageable pieces.

These laws are theorems, rigorously proven from the technical definition of a limit.

Our goal: Transform difficult limit calculations into a series of easier ones.

For example, finding \(\displaystyle\lim_{x \to a} \left(3x^2 - \frac{\sin(x)}{x}\right)\) can be challenging directly.

But with limit laws, we can evaluate \(\displaystyle\lim_{x \to a} 3x^2\) and \(\displaystyle\lim_{x \to a} \frac{\sin(x)}{x}\) separately.

Why Do We Need Limit Laws?

graph LR
    A["Complex Limit: 
    lim f(x)g(x)"] --> B{Apply Limit 
    Laws};
    B --> C["Limit of 
    f(x)"];
    B --> D["Limit of 
    g(x)"];
    C --> E["Evaluate 
    lim f(x)"];
    D --> F["Evaluate 
    lim g(x)"];
    E & F --> G[Combine 
    Results];

The Fundamental Limit Laws

Building Blocks for Limit Evaluation

Suppose that \(\displaystyle\lim_{x \to a} f(x)\) and \(\displaystyle\lim_{x \to a} g(x)\) exist, and that \(c\) is a constant. Then:

  • Sum Rule: \(\lim_{x \to a} \left(f(x)+g(x)\right) = \left(\lim_{x \to a} f(x)\right) + \left(\lim_{x \to a} g(x)\right).\)
  • Difference Rule: \(\lim_{x \to a} \left(f(x)-g(x)\right) = \left(\lim_{x \to a} f(x)\right) - \left(\lim_{x \to a} g(x)\right).\)
  • Constant Multiple Rule: \(\lim_{x \to a} c \cdot f(x) = c \cdot \lim_{x \to a} f(x).\)
  • Product Rule: \(\lim_{x \to a} \left(f(x)\cdot g(x)\right) = \left(\lim_{x \to a} f(x)\right) \cdot \left(\lim_{x \to a} g(x)\right).\)
  • Quotient Rule: \(\lim_{x \to a} \frac{f(x)}{g(x)} = \frac{\displaystyle\lim_{x \to a} f(x)}{\displaystyle\lim_{x \to a} g(x)}, \;\text{ if }\; \lim_{x \to a} g(x) \ne 0.\)

These rules apply to one-sided limits as well (\(x \to a^+\) or \(x \to a^-\)).

Intuition Behind Denominator Issues

non-zero/0 vs. 0/0

What happens when the denominator approaches zero?

Case 1: \(\frac{\text{non-zero number}}{0}\)

Consider \(f(x)\) close to 4 and \(g(x)\) close to 0.

Examples: \(\frac{3.99}{0.00001} = 399000\), or \(\frac{4.01}{-0.00001} = -401000\).

This often indicates a vertical asymptote.

The limit must be \(\infty\), \(-\infty\), or DNE (if left/right limits differ).

Note

Not Indeterminate! We can determine the behavior (positive/negative infinity) by checking one-sided limits.

Intuition Behind Denominator Issues

non-zero/0 vs. 0/0

Case 2: \(\frac{0}{0}\)

When both \(f(x)\) and \(g(x)\) approach zero.

Example ratios: \(\frac{0.001}{0.0001} = 10\), or \(\frac{0.0001}{0.001} = 0.1\), or \(\frac{0.001}{-0.00001} = -100\).

This form tells us very little about the actual limit value.

Warning

Indeterminate Form! \(\frac{0}{0}\) is called an indeterminate form. We cannot determine its value without “more work.”

Theorem 1: Direct Substitution

When Limits Are “Easy”

If \(f\) is a polynomial or a rational function, and \(a\) is in the domain of \(f\), then \(\lim _{x\to a} f(x)=f(a).\)

This theorem is true because polynomials and rational functions are “well-behaved” (continuous) where they are defined. It’s a direct consequence of applying the limit laws repeatedly.

In practice: If you can plug \(a\) into \(f(x)\) and get a defined value (no division by zero, no square roots of negative numbers, etc.), then that value is the limit!

Example 1:

Find \(\displaystyle\lim_{x\rightarrow 3} (x^2-4)\).

Since \(f(x)=x^2-4\) is a polynomial, and \(3\) is in its domain: \(\lim_{x\rightarrow 3} (x^2-4) = (3)^2-4 = 9-4=5.\)

Theorem 1: Direct Substitution

When Limits Are “Easy”

Example 2:

Find \(\displaystyle\lim_{x\rightarrow 4}\frac{x-2}{x+2}\).

Since \(f(x)=\frac{x-2}{x+2}\) is a rational function, and \(a=4\) does not make the denominator \(0\): \(\lim_{x\rightarrow 4}\frac{x-2}{x+2}=\frac{4-2}{4+2}=\frac{2}{6}=\frac{1}{3}.\)

Tip

Always Try Direct Substitution First! This is the simplest method. If it works, you’re done!

Theorem 2: Equivalent Functions

When Functions Differ Only at a Point

If \(f(x) = g(x)\) whenever \(x \ne a\), then \(\displaystyle\lim_{x \to a} f(x) = \lim_{x \to a} g(x)\).

This theorem is crucial for many indeterminate forms (like \(\frac{0}{0}\)). It allows us to algebraically simplify a function at points other than \(a\), without changing its limit as \(x \to a\).

Theorem 2: Equivalent Functions

When Functions Differ Only at a Point

Example:

Evaluate \(\displaystyle\lim_{x \to 1} \frac{x^2-1}{x-1}\).

If we try direct substitution, we get \(\frac{1^2-1}{1-1} = \frac{0}{0}\), an indeterminate form. We need “more work.”

Notice that \(x^2-1 = (x-1)(x+1)\). So, \(\frac{x^2-1}{x-1} = \frac{(x-1)(x+1)}{x-1}\).

For any \(x \ne 1\), we can cancel the \((x-1)\) terms, simplifying the expression: \(\frac{(x-1)(x+1)}{x-1} = x+1\).

Thus, \(f(x)=\frac{x^2-1}{x-1}\) is equivalent to \(g(x)=x+1\) for all \(x \ne 1\). By Theorem 2: \(\displaystyle\lim_{x \to 1} \frac{x^2-1}{x-1} = \lim_{x \to 1} (x+1) = 1+1 = 2.\) (using Theorem 1 for \(g(x)\)).

Algebraic Strategy 1: Factoring

Taming \(\frac{0}{0}\) Forms with Polynomials

When direct substitution yields \(\frac{0}{0}\) for rational functions involving polynomials, factoring is your go-to strategy.

Process:

  1. Attempt direct substitution. If \(\frac{0}{0}\) appears, proceed.
  2. Factor the numerator and the denominator.
  3. Look for common factors that cause the zero in both numerator and denominator.
  4. Cancel the common factors. Remember this cancellation is valid because we are considering \(x \ne a\).
  5. Evaluate the limit of the simplified expression using direct substitution.

Algebraic Strategy 1: Factoring

Taming \(\frac{0}{0}\) Forms with Polynomials

Example:

Evaluate \(\displaystyle\lim_{h \to 0} \frac{(2+h)^2 - 4}{h}\).

  1. Direct substitution: \(\frac{(2+0)^2 - 4}{0} = \frac{4-4}{0} = \frac{0}{0}\). Indeterminate.
  2. Expand numerator: \((2+h)^2 - 4 = (4+4h+h^2) - 4 = 4h+h^2 = h(4+h)\).
  3. Rewrite the limit: \(\displaystyle\lim_{h \to 0} \frac{h(4+h)}{h}\).
  4. Cancel common factor \(h\) (since \(h \ne 0\) for the limit): \(\displaystyle\lim_{h \to 0} (4+h)\).
  5. Direct substitute \(h=0\): \(4+0 = 4\).

Thus, \(\displaystyle\lim_{h \to 0} \frac{(2+h)^2 - 4}{h} = 4\).

Important

“Do More Work” through Factoring! Factoring often reveals the underlying behavior of the function, allowing us to resolve the indeterminate form.

Algebraic Strategy 2: Fractions

Simplifying Indeterminate Forms Involving Rational Expressions

You might encounter limits of the form \(\infty-\infty\) or \(\frac{0}{0}\) when dealing with sums or differences of fractions.

The key is to combine these fractions into a single rational expression.

Process:

  1. Identify the indeterminate form.
  2. Find a common denominator for the fractions.
  3. Combine the fractions into a single rational expression.
  4. Simplify the numerator and denominator. This often leads to a factor that can be canceled.
  5. Evaluate the limit of the simplified expression.

Algebraic Strategy 2: Fractions

Simplifying Indeterminate Forms Involving Rational Expressions

Example 1: \(\infty-\infty\) form

Evaluate \(\displaystyle\lim_{t\to{0}}\left(\frac{1}{t} - \frac{1}{t^2+t}\right)\).

  1. As \(t \to 0^+\), \(\frac{1}{t} \to \infty\) and \(\frac{1}{t^2+t} = \frac{1}{t(t+1)} \to \infty\). So, \(\infty-\infty\).
  2. Common denominator is \(t(t+1)\). \(\frac{1}{t} - \frac{1}{t(t+1)} = \frac{t+1}{t(t+1)} - \frac{1}{t(t+1)} = \frac{(t+1)-1}{t(t+1)}.\)
  3. Simplify: \(\frac{t}{t(t+1)}\).
  4. Cancel \(t\) (since \(t \ne 0\)): \(\frac{1}{t+1}\).
  5. \(\displaystyle\lim_{t\to{0}}\frac{1}{t+1} = \frac{1}{0+1}=1.\)

Algebraic Strategy 2: Fractions

Simplifying Indeterminate Forms Involving Rational Expressions

Example 2: \(\frac{0}{0}\) form

Evaluate \(\displaystyle\lim_{x\to{-4}}\frac{\frac{1}{4} + \frac{1}{x}}{4+x}\).

  1. As \(x \to -4\), numerator \(\frac{1}{4} + \frac{1}{-4} = 0\), denominator \(4+(-4)=0\). So, \(\frac{0}{0}\).
  2. Common denominator for numerator is \(4x\). \(\frac{1}{4} + \frac{1}{x} = \frac{x}{4x} + \frac{4}{4x} = \frac{x+4}{4x}.\)
  3. Rewrite: \(\frac{\frac{x+4}{4x}}{4+x} = \frac{x+4}{4x(4+x)}.\)
  4. Cancel \((x+4)\) (since \(x \ne -4\)): \(\frac{1}{4x}\).
  5. \(\displaystyle\lim_{x\to{-4}}\frac{1}{4x} = \frac{1}{4(-4)}=-\frac{1}{16}.\)

Limits with Absolute Values

Piecewise Definitions and Case Analysis

Recall the definition of the absolute value: \[ |a|=\begin{cases}a &\text { if } a\ge 0;\\-a&amp;\text { if } a< 0.\end{cases} \]

This definition extends to functions: \[ |f(x)|=\begin{cases} f(x), &\text{ if } f(x)\ge0;\\ -f(x), &amp;\text{ if } f(x)<0.\end{cases} \]

Working with absolute values almost always involves considering different cases based on where the expression inside the absolute value is positive or negative.

Limits with Absolute Values

Piecewise Definitions and Case Analysis

Example:

Evaluate \(\displaystyle\lim_{x \to 0} \frac{|x|}{x}\).

  • If \(x > 0\), then \(|x|=x\), so \(\frac{|x|}{x} = \frac{x}{x}=1\). Thus, \(\lim_{x \to 0^+} \frac{|x|}{x} = 1\).
  • If \(x < 0\), then \(|x|=-x\), so \(\frac{|x|}{x} = \frac{-x}{x}=-1\). Thus, \(\lim_{x \to 0^-} \frac{|x|}{x} = -1\).

Since the left-hand limit (\(\neq -1\)) and right-hand limit (\(\neq 1\)) are not equal, \(\displaystyle\lim_{x \to 0} \frac{|x|}{x}\) Does Not Exist (DNE).

Algebraic Strategy 3: Rationalizing

Resolving Indeterminate Forms with Square Roots

When sums or differences of square roots lead to indeterminate forms (typically \(\frac{0}{0}\) or \(\infty-\infty\)), rationalizing is a powerful technique. This involves multiplying by the conjugate of the expression containing square roots.

Key Identity: Difference of Squares: \(A^2-B^2=(A+B)(A-B)\). Applied to square roots: \((\sqrt{A}-\sqrt{B})(\sqrt{A}+\sqrt{B})=(A)-(B)\).

Process:

  1. Identify the indeterminate form, usually \(\frac{0}{0}\).
  2. Multiply the numerator and denominator by the conjugate of the expression containing square roots.
  3. Simplify the expression, utilizing the difference of squares identity.
  4. Look for common factors to cancel.
  5. Evaluate the limit of the simplified expression.

Algebraic Strategy 3: Rationalizing

Resolving Indeterminate Forms with Square Roots

Example:

Evaluate \(\displaystyle\lim_{x \to 0} \frac{\sqrt{x+1}-1}{x}\).

  1. Direct substitution: \(\frac{\sqrt{0+1}-1}{0} = \frac{1-1}{0} = \frac{0}{0}\). Indeterminate.
  2. Multiply by the conjugate of the numerator, \((\sqrt{x+1}+1)\): \[ \frac{\sqrt{x+1}-1}{x} \cdot \frac{\sqrt{x+1}+1}{\sqrt{x+1}+1} \]
  3. Simplify the numerator: \((\sqrt{x+1})^2 - (1)^2 = (x+1) - 1 = x\). \[ \frac{x}{x(\sqrt{x+1}+1)} \]
  4. Cancel \(x\) (since \(x \ne 0\)): \(\frac{1}{\sqrt{x+1}+1}\).
  5. Evaluate the limit: \(\displaystyle\lim_{x \to 0} \frac{1}{\sqrt{x+1}+1} = \frac{1}{\sqrt{0+1}+1} = \frac{1}{1+1} = \frac{1}{2}\).

Note

“Do More Work” through Rationalization! This technique clears the square roots from the expression, often leading to a cancelable factor.

Limits of Piecewise Functions

Checking at the “Break Points”

Limits with piece-wise defined functions operate similarly to those with absolute values. You must consider the specific rule for the function in the region around the limit point.

Key Approach:

When the limit point \(a\) is a “break point” (where the function definition changes):

  1. Evaluate the left-hand limit using the function definition valid for \(x < a\).
  2. Evaluate the right-hand limit using the function definition valid for \(x > a\).
  3. If the left-hand and right-hand limits are equal, then the overall limit exists and is that value. Otherwise, the limit does not exist.

Limits of Piecewise Functions

Checking at the “Break Points”

Example:

Let \(f(x) = \begin{cases} x^2+1, & \text{if } x < 2 \\ 3x-1, & \text{if } x \ge 2 \end{cases}\). Evaluate \(\displaystyle\lim_{x \to 2} f(x)\).

  • Left-hand limit: For \(x < 2\), we use \(f(x)=x^2+1\). \(\displaystyle\lim_{x \to 2^-} f(x) = \lim_{x \to 2^-} (x^2+1) = (2)^2+1 = 5\).
  • Right-hand limit: For \(x \ge 2\), we use \(f(x)=3x-1\). \(\displaystyle\lim_{x \to 2^+} f(x) = \lim_{x \to 2^+} (3x-1) = 3(2)-1 = 5\).

Since \(\displaystyle\lim_{x \to 2^-} f(x) = \lim_{x \to 2^+} f(x) = 5\), the overall limit exists: \(\displaystyle\lim_{x \to 2} f(x) = 5\).

The Squeeze Theorem

Bounding Functions to Find Limits

The Squeeze Theorem (also known as the Sandwich Theorem) is a powerful tool for finding limits of functions that are difficult to evaluate directly, especially those involving oscillatory behavior.

Theorem Statement:

Suppose that \(f(x) \le g(x) \le h(x)\) for all \(x\) that are close to (but not equal to) \(a\).

And suppose that \(\displaystyle\lim_{x \to a} f(x) = L\) and \(\displaystyle\lim_{x \to a} h(x) = L\).

Then, \(\displaystyle\lim_{x \to a} g(x) = L\).

Intuition: If a function \(g(x)\) is always trapped between two other functions, \(f(x)\) and \(h(x)\), and both \(f(x)\) and \(h(x)\) are heading towards the same limit \(L\) as \(x\) approaches \(a\), then \(g(x)\) has no choice but to be “squeezed” to that same limit \(L\).

The Squeeze Theorem

Bounding Functions to Find Limits

graph LR
    A[x --> a] --> B["lim f(x) = L"];
    A --> C["lim h(x) = L"];
    B & C --> D["f(x) <= g(x) <= h(x)"];
    D --> E["Therefore, lim g(x) = L"];

Squeeze Theorem: A Classic Example

Visualizing the “Squeeze”

Example: Evaluate \(\displaystyle{\lim_{x \to 0} x^2 \sin\left(1/x\right)}\).

We know that for any value \(\theta\): \(-1 \le \sin(\theta) \le 1\). So, for \(\theta = 1/x\), we have: \(-1 \le \sin(1/x) \le 1\).

Now, multiply all parts of the inequality by \(x^2\). Since \(x^2 \ge 0\), the inequality signs do not flip:

\(-x^2 \le x^2 \sin(1/x) \le x^2\).

Let \(f(x) = -x^2\), \(g(x) = x^2 \sin(1/x)\), and \(h(x) = x^2\).

We find the limits of \(f(x)\) and \(h(x)\) as \(x \to 0\):

  • \(\displaystyle\lim_{x \to 0} (-x^2) = -(0)^2 = 0\).
  • \(\displaystyle\lim_{x \to 0} (x^2) = (0)^2 = 0\).

Since \(f(x) \le g(x) \le h(x)\) and both \(f(x)\) and \(h(x)\) approach \(0\) as \(x \to 0\), by the Squeeze Theorem, \(\displaystyle\lim_{x \to 0} x^2 \sin(1/x) = 0\).

Important

The Squeeze Theorem is particularly powerful for functions involving \(\sin(1/x)\) or \(\cos(1/x)\) oscillating near a point.

Squeeze Theorem: Interactive Visualization

See the Squeeze in Action!

The oscillating function \(g(x)=x^2\sin(1/x)\) is “squeezed” between \(f(x)=-x^2\) and \(h(x)=x^2\) as \(x\) approaches \(0\).

Key Takeaways: Mastering Limit Computations

Strategies for Success

  • Direct Substitution: Always try this first for continuous functions (polynomials, rational functions not dividing by zero).

    Tip

    The simplest path! If it works, you’re done.

  • Indeterminate Forms are Signals:

    • \(\frac{\text{non-zero}}{0}\): Implies \(\pm \infty\) or DNE (\(\implies\) vertical asymptote).
    • \(\frac{0}{0}, \infty - \infty\): Require “more work.”

    Warning

    Don’t stop here; these mean there’s more to uncover!

Key Takeaways: Mastering Limit Computations

Strategies for Success

  • Algebraic Manipulation is Key:

    • Factoring: For polynomial \(\frac{0}{0}\) forms.
    • Common Denominators: For fractional \(\frac{0}{0}\) or \(\infty - \infty\) forms.
    • Rationalizing (Conjugates): For \(\frac{0}{0}\) forms involving square roots.
  • Case Analysis: For functions with absolute values or piecewise definitions, evaluate one-sided limits at “break points.”

  • Squeeze Theorem: For oscillatory functions bounded by simpler functions.

    Note

    A powerful tool when algebraic methods fail for bounded, oscillating functions.