• Practice
  • About 15 min
  • 5 practice questions

Squeeze theorem, discontinuities and the intermediate value theorem

Use the squeeze theorem for bounded-times-vanishing limits, classify discontinuities as removable, jump or infinite, repair removable ones, and use the intermediate value theorem to show that an equation has a root.

If something looks wrong, please tell us.

Some limits cannot be found by algebra because one factor oscillates, as in x sin(1/x). The squeeze theorem handles them. Once limits are secure, the next question is what goes wrong when a function is not continuous, and what continuity guarantees. This lesson covers the squeeze theorem, the types of discontinuity and the intermediate value theorem.

The squeeze theorem

If g(x) ≤ f(x) ≤ h(x) near a, and both g and h tend to the same limit L as x → a, then f(x) also tends to L. A frequent use is a bounded factor multiplied by a factor that tends to 0.

If |f(x)| ≤ M|g(x)| and g(x) → 0, then f(x) → 0. A bounded factor times a vanishing factor vanishes.

Worked example 1: x² sin(1/x)

Find lim(x→0) x² sin(1/x). We know −1 ≤ sin(1/x) ≤ 1, so −x² ≤ x² sin(1/x) ≤ x². Both bounds tend to 0, so the limit is 0. Note that sin(1/x) alone has no limit at 0, since it oscillates between −1 and 1 ever faster. The product settles because x² shrinks it.

Worked example 2: the greatest integer at infinity

Find lim(x→∞) [x]/x, where [x] is the greatest integer not exceeding x. We have x − 1 < [x] ≤ x, so (x − 1)/x < [x]/x ≤ 1 for x > 0. The left side is 1 − 1/x → 1, so the limit is 1. Be careful at 0: for x slightly below 0, [x] = −1 and [x]/x = −1/x, which becomes large and positive, so the left-hand limit at 0 is +∞, while the right-hand limit is 0.

Types of discontinuity

TypeWhat happens at x = aExample
Removablethe limit exists, but f(a) is undefined or differs from the limit(x² − 9)/(x − 3) at x = 3
Jumpleft and right limits exist but are different[x] at x = 2 (left 1, right 2)
Infiniteat least one side tends to ±∞1/x at x = 0
Oscillatingno limit because the values keep swingingsin(1/x) at x = 0

Worked example 3: repairing a removable discontinuity

For f(x) = (x² − 9)/(x − 3), x ≠ 3, the limit at 3 is lim (x + 3) = 6. The function is not defined at 3, so it is discontinuous there. Define f(3) = 6 and the function becomes continuous. A jump or infinite discontinuity cannot be repaired by changing one value.

The intermediate value theorem

If f is continuous on [a, b] and k is any number between f(a) and f(b), then there is at least one c in [a, b] with f(c) = k. Its most common use is to show that a root exists.

Worked example 4: a root without solving

Show that x³ + x − 1 = 0 has a root between 0 and 1. Let f(x) = x³ + x − 1, which is continuous. f(0) = −1 and f(1) = 1. Since f changes sign, there is a c in (0, 1) with f(c) = 0. A second example: for f(x) = cos x − x, f(0) = 1 and f(π/2) = −π/2, so cos x = x has a solution between 0 and π/2.

The condition that matters

The theorem needs continuity on the whole interval. The function 1/x has f(−1) = −1 and f(1) = 1, yet it never takes the value 0, because it is discontinuous at 0. A sign change alone proves nothing without continuity.

Key takeaways: squeeze bounded oscillation with vanishing bounds; classify a discontinuity by comparing the one-sided limits with f(a); only removable ones can be repaired; the intermediate value theorem guarantees a root only for a function continuous on the closed interval.

Check your understanding

  1. 1. What is lim(x→0) x sin(1/x)?

    1. 0
    2. 1
    3. does not exist
    4. ∞
    Show answer

    Answer: A. −|x| ≤ x sin(1/x) ≤ |x|, and both bounds tend to 0, so the squeeze theorem gives 0.

  2. 2. The function f(x) = [x] at x = 3 has which kind of discontinuity?

    1. removable
    2. infinite
    3. jump
    4. oscillating
    Show answer

    Answer: C. The left limit at 3 is 2 and the right limit is 3. Both are finite but unequal, so it is a jump.

  3. 3. For f(x) = (x² − 25)/(x − 5), what value f(5) makes f continuous?

    1. 0
    2. 10
    3. 5
    4. 25
    Show answer

    Answer: B. For x ≠ 5, f(x) = x + 5, which tends to 10 as x → 5. Defining f(5) = 10 removes the gap.

  4. 4. Which statement about f(x) = x³ + 2x − 4 on [1, 2] is guaranteed by the intermediate value theorem?

    1. f is increasing
    2. f(c) = 0 for exactly one c
    3. f(1.5) = 0
    4. f(c) = 0 for some c in (1, 2)
    Show answer

    Answer: D. f(1) = −1 and f(2) = 8, and f is continuous, so there is at least one root in (1, 2). The theorem does not say how many.

  5. 5. Why does the intermediate value theorem fail to give a root of 1/x on [−1, 1]?

    1. f(−1) and f(1) are equal
    2. 1/x is not continuous at 0
    3. 1/x is always positive
    4. the interval is too short
    Show answer

    Answer: B. The sign change from f(−1) = −1 to f(1) = 1 does not force a zero, because 1/x is discontinuous at 0 and skips all values near 0.

Privacy · Terms · Refunds · Delivery