1. Home
  2. Explore
  3. Mathematics
  4. Limits and Continuity

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Limits and Continuity

Limits and Continuity: Comprehensive Study Notes

The concept of a limit is the foundational idea that distinguishes calculus from algebra. Understanding limits is essential for grasping continuity, derivatives, and integrals.


What is a Limit?

A limit describes the value that a function f(x)f(x)f(x) approaches as xxx gets arbitrarily close to a certain point (but does not necessarily equal that point). The notation is:

lim⁡x→af(x)=L\lim_{x \to a} f(x) = Llimx→a​f(x)=L

This means: as xxx gets closer and closer to aaa (from either side), the output f(x)f(x)f(x) gets closer and closer to LLL. The actual value of f(a)f(a)f(a) (if it exists) is irrelevant to the limit — only the behavior near aaa matters.

Intuitive definition: The limit exists if we can make f(x)f(x)f(x) as close to LLL as we like by taking xxx sufficiently close to aaa (but not equal to aaa).

One-sided limits are limits from only one direction:

  • Left-hand limit: lim⁡x→a−f(x)\displaystyle \lim_{x \to a^-} f(x)x→a−lim​f(x) — approach aaa from values less than aaa.

  • Right-hand limit: lim⁡x→a+f(x)\displaystyle \lim_{x \to a^+} f(x)x→a+lim​f(x) — approach aaa from values greater than aaa.

For the two-sided limit lim⁡x→af(x)\displaystyle \lim_{x \to a} f(x)x→alim​f(x) to exist, both one-sided limits must exist and be equal.


Continuity

A function fff is continuous at x=ax = ax=a if three conditions hold:

  1. f(a)f(a)f(a) is defined.

  2. lim⁡x→af(x)\displaystyle \lim_{x \to a} f(x)x→alim​f(x) exists.

  3. lim⁡x→af(x)=f(a)\displaystyle \lim_{x \to a} f(x) = f(a)x→alim​f(x)=f(a).

Intuitively: A function is continuous over an interval if you can draw its graph without lifting your writing utensil. Discontinuities occur where you must pick up the pencil (holes, jumps, vertical asymptotes).


Problem 1: Analyzing Continuity and Limits from a Graph

Given a graph of a function fff, we determine where it's discontinuous and evaluate various limits.

Part a: Values of xxx where fff is not continuous

In the given graph, fff is not continuous at x=−1x = -1x=−1 and x=1x = 1x=1. These are the points where the graph has a jump or hole — you would have to lift your pencil.

Part b: Largest open intervals of continuity

The function is continuous on the open intervals:

  • (−3,−1)(-3, -1)(−3,−1)

  • (−1,1)(-1, 1)(−1,1)

  • (1,3)(1, 3)(1,3)

(Even though endpoints may be included in the domain, the problem specifies open intervals.)

Part c: Evaluating limits

  1. lim⁡x→−2f(x)=0\displaystyle \lim_{x \to -2} f(x) = 0x→−2lim​f(x)=0

    • As xxx approaches −2-2−2 from either side, f(x)f(x)f(x) approaches 000. The function is continuous at −2-2−2, so the limit equals the function value.

  2. lim⁡x→−1f(x)=1\displaystyle \lim_{x \to -1} f(x) = 1x→−1lim​f(x)=1

    • Even though f(−1)=2f(-1) = 2f(−1)=2 (a hole with a point above), the limit is 111 because the function approaches 111 from both sides. The limit does not equal the function value — demonstrating a removable discontinuity.

  3. lim⁡x→0f(x)=−1\displaystyle \lim_{x \to 0} f(x) = -1x→0lim​f(x)=−1

    • The function approaches −1-1−1 from both sides, and f(0)=−1f(0) = -1f(0)=−1. The graph has a corner at x=0x=0x=0 but that does not affect continuity or the limit.

  4. lim⁡x→1−f(x)=1\displaystyle \lim_{x \to 1^-} f(x) = 1x→1−lim​f(x)=1

    • Left-hand limit: as xxx approaches 111 from the left, f(x)f(x)f(x) approaches 111.

  5. lim⁡x→1+f(x)=2\displaystyle \lim_{x \to 1^+} f(x) = 2x→1+lim​f(x)=2

    • Right-hand limit: as xxx approaches 111 from the right, f(x)f(x)f(x) approaches 222.

  6. lim⁡x→1f(x)\displaystyle \lim_{x \to 1} f(x)x→1lim​f(x) does not exist

    • Because the one-sided limits are not equal (1≠21 \neq 21=2). The function has a jump discontinuity at x=1x=1x=1. Note that the right-hand limit equals f(1)=2f(1)=2f(1)=2, so fff is right-continuous at 111, but not fully continuous.

  7. lim⁡x→2f(x)=3\displaystyle \lim_{x \to 2} f(x) = 3x→2lim​f(x)=3

    • The function is continuous at x=2x=2x=2, so the limit equals f(2)=3f(2)=3f(2)=3.

Key takeaway: When a function is continuous at a point, the limit equals the function value. When it is not continuous, the limit may still exist (as at x=−1x=-1x=−1) but differ, or may not exist (as at x=1x=1x=1).


Problem 2: Finding the Largest Interval of Continuity Algebraically

Consider f(x)=13x−9f(x) = \dfrac{1}{\sqrt{3x - 9}}f(x)=3x−9​1​.

For a function involving a square root in the denominator, we must ensure:

  • The radicand is positive (cannot be zero because denominator, and cannot be negative because square root of a negative is not real).

  • So we solve 3x−9>0  ⟹  x>33x - 9 > 0 \implies x > 33x−9>0⟹x>3.

Thus the domain of fff is (3,∞)(3, \infty)(3,∞). Since fff is continuous wherever it is defined (as a composition of continuous functions), the largest open interval of continuity is:

(3,∞)(3, \infty)(3,∞)

In set-builder notation: {x∈R∣x>3}\{x \in \mathbb{R} \mid x > 3\}{x∈R∣x>3}.

Graphical behavior: As x→3+x \to 3^+x→3+, 3x−9→0\sqrt{3x-9} \to 03x−9​→0, so f(x)→+∞f(x) \to +\inftyf(x)→+∞ (vertical asymptote). As x→∞x \to \inftyx→∞, f(x)→0f(x) \to 0f(x)→0 (horizontal asymptote). The function is decreasing and concave up on its domain.


Problem 3: Modeling a Drug Injection with a Continuous Piecewise Function

A 0.8 mL dose of a drug is injected steadily for half a second, then decays exponentially at a continuous rate of 0.1% per second.

Understanding the graph

  • Time ttt in seconds (horizontal axis), quantity qqq in mL (vertical axis).

  • From t=0t=0t=0 to t=0.5t=0.5t=0.5: injection at constant rate → straight line from (0,0)(0,0)(0,0) to (0.5,0.8)(0.5, 0.8)(0.5,0.8). Slope = 0.80.5=1.6\frac{0.8}{0.5} = 1.60.50.8​=1.6 mL/s.

  • For t>0.5t > 0.5t>0.5: exponential decay → curve decreasing, concave up, approaching q=0q=0q=0 asymptotically.

  • To be physically realistic, the function must be continuous (no jump in drug quantity).

Piecewise formula

We need two formulas:

For 0≤t≤0.50 \le t \le 0.50≤t≤0.5:

q(t)=1.6tq(t) = 1.6 tq(t)=1.6t

For t>0.5t > 0.5t>0.5: The initial value at t=0.5t=0.5t=0.5 is 0.80.80.8. Exponential decay at continuous rate 0.1%0.1\%0.1% per second means the base is eee, and the rate constant is −0.001-0.001−0.001 (since 0.1%=0.0010.1\% = 0.0010.1%=0.001). To shift the exponential so it starts at t=0.5t=0.5t=0.5, we use t−0.5t-0.5t−0.5 in the exponent:

q(t)=0.8⋅e−0.001(t−0.5)q(t) = 0.8 \cdot e^{-0.001(t-0.5)}q(t)=0.8⋅e−0.001(t−0.5)

Thus the piecewise function is:

q(t)={1.6t,0≤t≤0.50.8 e−0.001(t−0.5),t>0.5q(t) = \begin{cases} 1.6 t, & 0 \le t \le 0.5 \\[4pt] 0.8 \, e^{-0.001(t-0.5)}, & t > 0.5 \end{cases}q(t)={1.6t,0.8e−0.001(t−0.5),​0≤t≤0.5t>0.5​

Verifying continuity at t=0.5t=0.5t=0.5

  • Left-hand limit: lim⁡t→0.5−q(t)=lim⁡t→0.5−1.6t=1.6(0.5)=0.8\displaystyle \lim_{t \to 0.5^-} q(t) = \lim_{t \to 0.5^-} 1.6t = 1.6(0.5) = 0.8t→0.5−lim​q(t)=t→0.5−lim​1.6t=1.6(0.5)=0.8.

  • Right-hand limit: lim⁡t→0.5+q(t)=lim⁡t→0.5+0.8e−0.001(t−0.5)=0.8e0=0.8\displaystyle \lim_{t \to 0.5^+} q(t) = \lim_{t \to 0.5^+} 0.8 e^{-0.001(t-0.5)} = 0.8 e^{0} = 0.8t→0.5+lim​q(t)=t→0.5+lim​0.8e−0.001(t−0.5)=0.8e0=0.8.

  • Function value: q(0.5)=0.8q(0.5) = 0.8q(0.5)=0.8 (using either piece).

Since both one-sided limits equal 0.80.80.8 and q(0.5)=0.8q(0.5)=0.8q(0.5)=0.8, the function is continuous at t=0.5t=0.5t=0.5 (and everywhere else on its domain).

Note: Continuous rate (using base eee) is different from a periodic rate; it models instantaneous compounding in many natural processes.


Problem 4: Estimating a Limit Numerically and Making a Function Continuous

Define

f(x)={e2x−1x,x≠0c,x=0f(x) = \begin{cases} \dfrac{e^{2x} - 1}{x}, & x \neq 0 \\[6pt] c, & x = 0 \end{cases}f(x)=⎩⎨⎧​xe2x−1​,c,​x=0x=0​

Part a: Table of values near x=0x=0x=0

xxx

f(x)f(x)f(x) (approx)

−0.1-0.1−0.1

1.811.811.81

−0.01-0.01−0.01

1.981.981.98

0.010.010.01

2.022.022.02

0.10.10.1

2.212.212.21

As xxx gets closer to 000 from either side, f(x)f(x)f(x) approaches 222. More refined values (e.g., x=±0.001x = \pm 0.001x=±0.001) give 1.9981.9981.998 and 2.0022.0022.002, further confirming the trend.

Important: The function is undefined at x=0x=0x=0 in the first piece, but the limit as x→0x\to 0x→0 can still exist. The numerical evidence suggests lim⁡x→0e2x−1x=2\displaystyle \lim_{x \to 0} \frac{e^{2x}-1}{x} = 2x→0lim​xe2x−1​=2.

Part c: Making fff continuous at x=0x=0x=0

For fff to be continuous at x=0x=0x=0, we need f(0)=lim⁡x→0f(x)f(0) = \displaystyle \lim_{x \to 0} f(x)f(0)=x→0lim​f(x). Since the limit appears to be 222, we set the constant c=2c = 2c=2.

Graphing the function (ignoring the hole) shows a curve that passes through (0,2)(0,2)(0,2); the algebraic limit is indeed 222 (this can be proven using more advanced limit techniques or L'Hôpital's rule later in calculus).


Problem 5: Evaluating Limits Algebraically by Simplification

Sometimes direct substitution gives 00\frac{0}{0}00​ (indeterminate form), but the limit exists. We use algebra to simplify.

Part a: lim⁡x→−4x2−x−20x+4\displaystyle \lim_{x \to -4} \frac{x^2 - x - 20}{x + 4}x→−4lim​x+4x2−x−20​

Factor numerator:

x2−x−20=(x+4)(x−5)x^2 - x - 20 = (x+4)(x-5)x2−x−20=(x+4)(x−5)

Thus

x2−x−20x+4=(x+4)(x−5)x+4=x−5for x≠−4\frac{x^2 - x - 20}{x+4} = \frac{(x+4)(x-5)}{x+4} = x-5 \quad \text{for } x \neq -4x+4x2−x−20​=x+4(x+4)(x−5)​=x−5for x=−4

Since the limit only cares about xxx near −4-4−4 (not equal to −4-4−4), we cancel and evaluate:

lim⁡x→−4(x−5)=−4−5=−9\lim_{x \to -4} (x-5) = -4 - 5 = -9limx→−4​(x−5)=−4−5=−9

Graphically: The original function is the line y=x−5y = x-5y=x−5 with a hole at x=−4x=-4x=−4; the limit is −9-9−9.

Part b: lim⁡h→0(5+h)2−25h\displaystyle \lim_{h \to 0} \frac{(5+h)^2 - 25}{h}h→0lim​h(5+h)2−25​

Expand numerator:

(5+h)2−25=(25+10h+h2)−25=10h+h2=h(10+h)(5+h)^2 - 25 = (25 + 10h + h^2) - 25 = 10h + h^2 = h(10+h)(5+h)2−25=(25+10h+h2)−25=10h+h2=h(10+h)

Thus for h≠0h \neq 0h=0:

h(10+h)h=10+h\frac{h(10+h)}{h} = 10 + hhh(10+h)​=10+h

Now evaluate the limit:

lim⁡h→0(10+h)=10\lim_{h \to 0} (10 + h) = 10limh→0​(10+h)=10

This type of limit is crucial for finding derivatives (the difference quotient).

Part c: lim⁡h→014+h−14h\displaystyle \lim_{h \to 0} \frac{\frac{1}{4+h} - \frac{1}{4}}{h}h→0lim​h4+h1​−41​​

Combine the fractions in the numerator:

14+h−14=4−(4+h)4(4+h)=−h4(4+h)\frac{1}{4+h} - \frac{1}{4} = \frac{4 - (4+h)}{4(4+h)} = \frac{-h}{4(4+h)}4+h1​−41​=4(4+h)4−(4+h)​=4(4+h)−h​

Then the whole expression becomes:

−h4(4+h)h=−h4(4+h)⋅1h=−14(4+h)(h≠0)\frac{\frac{-h}{4(4+h)}}{h} = \frac{-h}{4(4+h)} \cdot \frac{1}{h} = \frac{-1}{4(4+h)} \quad (h \neq 0)h4(4+h)−h​​=4(4+h)−h​⋅h1​=4(4+h)−1​(h=0)

Now take the limit:

lim⁡h→0−14(4+h)=−14(4+0)=−116\lim_{h \to 0} \frac{-1}{4(4+h)} = \frac{-1}{4(4+0)} = \frac{-1}{16}limh→0​4(4+h)−1​=4(4+0)−1​=16−1​

Key technique: For limits that produce 00\frac{0}{0}00​, try factoring, expanding, or simplifying the fraction (common denominator) to cancel the problematic factor. The resulting simplified expression is continuous at the point of interest, allowing direct substitution.


Problem 6: Why lim⁡x→0sin⁡(1x)\displaystyle \lim_{x \to 0} \sin\left(\frac{1}{x}\right)x→0lim​sin(x1​) Does Not Exist

The function f(x)=sin⁡(1x)f(x) = \sin\left(\frac{1}{x}\right)f(x)=sin(x1​) is undefined at x=0x=0x=0, but that alone doesn't mean the limit doesn't exist. However, this limit fails to exist because the function oscillates infinitely often between −1-1−1 and 111 as xxx approaches 000.

Intuitive explanation

  • As x→0+x \to 0^+x→0+, 1x\frac{1}{x}x1​ becomes very large (tends to +∞+\infty+∞).

  • The sine function oscillates between −1-1−1 and 111 with period 2π2\pi2π as its argument increases.

  • Therefore, sin⁡(1/x)\sin(1/x)sin(1/x) completes infinitely many oscillations as xxx gets arbitrarily close to 000. On any tiny interval around 000, the function takes on every value between −1-1−1 and 111 infinitely many times.

  • The function does not approach a single value LLL — it keeps oscillating, so the limit does not exist.

More rigorous argument

We can find sequences of xxx-values where f(x)=1f(x) = 1f(x)=1 and others where f(x)=−1f(x) = -1f(x)=−1, both approaching 000.

For f(x)=1f(x) = 1f(x)=1:

sin⁡(1x)=1⟹1x=π2+2πn(n∈Z)\sin\left(\frac{1}{x}\right) = 1 \quad \Longrightarrow \quad \frac{1}{x} = \frac{\pi}{2} + 2\pi n \quad (n \in \mathbb{Z})sin(x1​)=1⟹x1​=2π​+2πn(n∈Z)

Solving for xxx:

x=2π(1+4n)x = \frac{2}{\pi(1 + 4n)}x=π(1+4n)2​

As n→∞n \to \inftyn→∞, these xxx values approach 000, and at each such xxx, f(x)=1f(x)=1f(x)=1.

For f(x)=−1f(x) = -1f(x)=−1:

sin⁡(1x)=−1⟹1x=3π2+2πn\sin\left(\frac{1}{x}\right) = -1 \quad \Longrightarrow \quad \frac{1}{x} = \frac{3\pi}{2} + 2\pi nsin(x1​)=−1⟹x1​=23π​+2πn
x=2π(3+4n)x = \frac{2}{\pi(3 + 4n)}x=π(3+4n)2​

Again, these xxx approach 000, and at each, f(x)=−1f(x) = -1f(x)=−1.

Since we can find xxx arbitrarily close to 000 where f(x)=1f(x)=1f(x)=1 and others where f(x)=−1f(x)=-1f(x)=−1, the function cannot settle on any single limit. Therefore lim⁡x→0sin⁡(1x)\displaystyle \lim_{x \to 0} \sin\left(\frac{1}{x}\right)x→0lim​sin(x1​) does not exist.

Calculator warning: Graphing this function near 000 may produce misleading artifacts due to limited resolution; the true behavior is infinitely oscillatory.

Important distinction: Unlike Problem 5 where algebraic simplification resolved the 00\frac{0}{0}00​ form, here no simplification can remove the oscillation — the limit genuinely does not exist due to unbounded oscillation of constant amplitude.


Summary

  • Limits describe behavior near a point, not necessarily at the point.

  • One-sided limits must agree for the two-sided limit to exist.

  • Continuity at a point requires the limit to exist and equal the function value.

  • Functions are typically continuous on their domain, but must be checked at boundaries of pieces (piecewise functions) and at points where denominators vanish or radicands become negative.

  • Algebraic techniques (factoring, expanding, combining fractions) can evaluate limits that initially give 00\frac{0}{0}00​.

  • Some limits do not exist due to oscillation (like sin⁡(1/x)\sin(1/x)sin(1/x)) or unbounded behavior (infinite limits).

  • The concept of limit is the gateway to derivatives and integrals — mastering it is essential for calculus.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent