NOTE: You may view the original PDFs of the notes written in class by clicking on the link for the 1:30 Section or 2:30 Section, respectively.
Lecture 3: Finding Limits Analytically
GOAL: Compute limits without guessing.
We start with non-piecewise functions.
To find \( \lim_{x \to a} f(x) \):
Case 1:
\( f(a) \) is well-defined [i.e., not undefined, not \(\infty\), not \(-\infty\)]. Here, the limit is just \(f(a)\).
Example 1
\[ \lim_{x \to 1} (x^2 + x - 2) = 1^2 + 1 - 2 = 0 \]Figure 1
In this example, we say \( f(x) \) is continuous at \( x = 1 \) (we will talk more about continuous functions next lecture). In general,
\[ \lim_{x \to a} f(x) = f\left( \lim_{x \to a} x \right) = f(a) \]Case 2:
\( f(a) \) takes the form \( \frac{[\text{Non-Zero}]}{0} \). Then the limit is either \( \infty \), \( -\infty \), or DNE. To determine the limit, we look at the sign of the function around \(a\).
Example 2
To compute \(\lim_{x \to 0} \frac{1}{2x}\), we break it up into its left and right limits. Then we look at whether \(f(x)\) is positive or negative to the left and right of \(0\) [Make sure to be close to 0]. The results are in the sign chart below
| \( x < 0 \) | 0 | \( x > 0 \) | |
|---|---|---|---|
| Top | + | + | |
| Bottom | − | + | |
| Fraction \(\frac{1}{2x}\) | − | + |
Figure 2
Example 3
We compute \(\lim_{x \to 0} \frac{1}{x^2}\) in a similar way.| \( x < 0 \) | 0 | \( x > 0 \) | |
|---|---|---|---|
| Top | + | + | |
| Bottom | + | + |
Figure 4
Example 4
We compute \(\lim_{x \to -1} \frac{-5}{(x+1)^2} \) in a similar way.| \( x < -1 \) | \( -1 \) | \( x > -1 \) | |
|---|---|---|---|
| Top | − | − | |
| Bottom | + | + |
Figure 3
Case 3
\( f(a) \) gets us an indeterminate form \( \left(\text{for example,} \frac{0}{0} \right) \)
Example 5
Compute \(\lim_{x \to 1} \frac{x^3 - 1}{x - 1}\)
Here we need the Difference of Cubes Formula:
\( a^3 - b^3 = (a-b)(a^2 + ab +
b^2) \)
This example highlights the main strategy we use to deal with limits in this case: Use Algebra to reduce the limit to Case 1 or Case 2.
Example 6
Compute \(\lim_{x \to 5} \frac{x^3 - 5x^2}{(x-5)^2} \).
\[ \lim_{x \to 5} \frac{x^3 - 5x^2}{(x-5)^2} = \lim_{x \to 5} \frac{x^2(x-5)}{(x-5)^2} = \lim_{x \to 5} \frac{x^2}{x-5}\] Here, factoring shows this limit is in Case 2. Using the sign chart below, we see the limit DNE.| \( x < 5 \) | 5 | \( x > 5 \) | |
|---|---|---|---|
| Top | + | + | |
| Bottom | − | + |
Example 7
Compute \(\lim_{x \to 2} \frac{x^2 - 3x + 2}{x^2 + 2x - 8}\).
\[ \lim_{x \to 2} \frac{x^2 - 3x + 2}{x^2 + 2x - 8} = \lim_{x \to 2} \frac{(x-1)(x-2)}{(x+4)(x-2)} = \lim_{x \to 2} \frac{x-1}{x+4} = \frac{2-1}{2+4} = \frac{1}{6} \]Piecewise Functions
This is best seen through an example. Suppose
\[ f(x) = \begin{cases} \sin x & \text{if } -\pi \le x \le \pi \\ x - \pi & \text{if } \pi < x \le 2\pi \\ 5 & \text{if } 2\pi < x \le 3\pi \end{cases} \]Figure 5
Case 1
Our point of interest is not a “boundary point.” By “boundary point” I mean where the formula changes. So, in the example the boundary points are \( \pi \) and \( 2\pi \).
Example 7
Compute \(\lim_{x \to \frac{\pi}{2}} f(x) \).
\[ \lim_{x \to \frac{\pi}{2}} f(x) = \lim_{x \to \frac{\pi}{2}} \sin x = \sin \frac{\pi}{2} = 1 \]Case 2
The point is a boundary point.
Example 8
Compute \(\lim_{x \to 2\pi} f(x) \). Since the formula changes, we are forced to break it up into the left and right limits.
\[ \begin{gathered} \lim_{x \to 2\pi} f(x) \begin{cases} \lim_{x \to 2\pi^-} f(x) = \lim_{x \to 2\pi^-} (x - \pi) = 2\pi - \pi = \pi \\[2ex] \lim_{x \to 2\pi^+} f(x) = \lim_{x \to 2\pi^+} 5 = 5 \end{cases} \\[0.5em] \implies \lim_{x \to 2\pi} f(x) \text{ DNE} \end{gathered} \]Limit Laws
Loosely speaking, if \( \lim_{x \to a} f(x) \) and \( \lim_{x \to a} g(x) \) exist, then the limits “play well” with arithmetic.
- \[ \lim_{x \to a} \left[ f(x) \pm g(x) \right] = \lim_{x \to a} f(x) \pm \lim_{x \to a} g(x) \]
- \[ \lim_{x \to a} \left[ f(x) \right]\left[ g(x) \right] = \left[ \lim_{x \to a} f(x) \right]\left[ \lim_{x \to a} g(x) \right] \]
- \[ \lim_{x \to a} \frac{f(x)}{g(x)} = \frac{\lim_{x \to a} f(x)}{\lim_{x \to a} g(x)} \text{ provided }\lim_{x \to a} g(x)\neq 0\]
In particular,
- \[ \lim_{x \to a} k \cdot f(x) = k \lim_{x \to a} f(x) \quad \text{for constant } k \]
- \[ \lim_{x \to a} \left[ f(x) \right]^n = \left[ \lim_{x \to a} f(x) \right]^n \quad \text{for } n = 1, 2, 3, \ldots \]
Example 9
If \( \lim_{x \to 3} f(x) = 5 \) and \( \lim_{x \to 3} g(x) = 2 \), then
\begin{align*} \lim_{x \to 3} \left[ f(x) + g(x) + 3 \right]^2 =&~ \left[ \lim_{x \to 3} \left( f(x) + g(x) + 3 \right) \right]^2\\ =&~ \left[ \lim_{x \to 3} f(x) + \lim_{x \to 3} g(x) + \lim_{x \to 3} 3 \right]^2\\ =&~ \left[ 5 + 2 + 3 \right]^2\\ =&~ 10^2\\ =&~ 100 \end{align*}Remark The limits need to exist to apply the Limit Laws.
Example 10
Compute \(\lim_{x \to 0} \left( \frac{1}{x} - \frac{1}{x + x^2} \right)\)
Notably, since the limits of each term DNE.
\[ \lim_{x \to 0} \left( \frac{1}{x} - \frac{1}{x + x^2}\right) \neq \lim_{x \to 0} \frac{1}{x} - \lim_{x \to 0} \frac{1}{x + x^2} \]We need to do some algebra before we can compute the limit (mainly combining the fractions together).
\begin{align*} \lim_{x \to 0} \left( \frac{1}{x} - \frac{1}{x + x^2} \right) =&~ \lim_{x \to 0} \frac{x + x^2 - x}{x(x + x^2)}\\ =&~ \lim_{x \to 0} \frac{x^2}{x(x + x^2)}\\ =&~ \lim_{x \to 0}\frac{x^2}{x^2(x+1)}\\ =&~ \lim_{x \to 0} \frac{1}{x+1}\\ =&~ 1 \end{align*}