TutorChase logo
Login
AP Calculus AB/BC Study Notes

1.8.1 Understanding the Squeeze Theorem

The Squeeze Theorem, also known as the Sandwich Theorem, plays a pivotal role in calculus for determining the limits of functions that are difficult to evaluate directly. It relies on the concept of "squeezing" a function between two others to find its limit.

📚 Introduction to the Squeeze Theorem

The theorem is founded on a simple yet powerful premise: if a function f(x)f(x) is always caught between two other functions g(x)g(x) and h(x)h(x) near a certain point, and the limits of g(x)g(x) and h(x)h(x) at that point are equal, then the limit of f(x)f(x) at that point must exist and be equal to the same value. This principle is crucial for dealing with functions that oscillate or approach indeterminate forms.

Squeeze Theorem

Image courtesy of Calcworkshop

💡 Prerequisites for Applying the Squeeze Theorem

  • Functions g(x)g(x) and h(x)h(x) must bound f(x)f(x) near the point of interest.

  • Limits of g(x)g(x) and h(x)h(x) at the point must exist and be equal.

💡 Significance in Calculus

  • Dealing with Indeterminate Forms: Offers a method to evaluate limits of functions that are otherwise challenging to approach directly.

  • Understanding Oscillations: Enables the calculation of limits for functions that oscillate within a certain range.

Worked Examples

🔍 Example 1: Evaluating a Basic Limit

Consider the functions g(x)=x2),(f(x)=x2sin(1x)g(x) = x^2), (f(x) = x^2 \sin(\frac{1}{x}) for x0),x \neq 0),, and h(x)=x2h(x) = -x^2 and evaluate limx0f(x)\lim_{x \to 0} f(x).

  • Step 1: Establish the inequalities h(x)f(x)g(x)h(x) \leq f(x) \leq g(x) for all xx near 0.

  • Step 2: Calculate the limits of g(x)g(x) and h(x)h(x) as xx approaches 0.

limx0g(x)=limx0x2=0,limx0h(x)=limx0x2=0.\begin{aligned} \lim_{x \to 0} g(x) &= \lim_{x \to 0} x^2 = 0, \\ \lim_{x \to 0} h(x) &= \lim_{x \to 0} -x^2 = 0. \end{aligned}

  • Step 3: Apply the Squeeze Theorem to conclude that limx0f(x)=0\lim_{x \to 0} f(x) = 0.

🔍 Example 2: Oscillating Function

Evaluate limx0xsin(1x)\lim_{x \to 0} x \sin(\frac{1}{x}).

  • Step 1: Identify the bounding functions. Here, g(x)=xg(x) = x and h(x)=xh(x) = -x.

  • Step 2: Note that for all x0,xxsin(1x)xx \neq 0, -x \leq x \sin(\frac{1}{x}) \leq x.

  • Step 3: Calculate the limits of the bounding functions as xx approaches 0.

limx0(x)=0,limx0x=0.\begin{aligned} \lim_{x \to 0} (-x) &= 0, \\ \lim_{x \to 0} x &= 0. \end{aligned}

  • Step 4: By the Squeeze Theorem, limx0xsin(1x)=0\lim_{x \to 0} x \sin(\frac{1}{x}) = 0.

These examples illustrate the theorem's utility in resolving limits that are not straightforward to evaluate directly. By setting up appropriate bounding functions and applying the Squeeze Theorem, students can tackle a wide range of problems involving limits.

✏️ Practice Questions

📝 Question 1

Evaluate the limit limx0x2cos(1x)\lim_{x \to 0} x^2 \cos(\dfrac{1}{x}).

📝 Question 2

Determine the limit limx0x4sin(1x)\lim_{x \to 0} x^4 \sin(\dfrac{1}{x}).

Solutions to Practice Questions

🧩 Solution to Question 1

Step 1: Identify the function to be evaluated: f(x)=x2cos(1x)f(x) = x^2 \cos(\frac{1}{x}) for x0x \neq 0.

Step 2: Choose appropriate bounding functions. Since 1cos(1x)1-1 \leq \cos(\frac{1}{x}) \leq 1 for all xx, we can use g(x)=x2g(x) = -x^2 and h(x)=x2h(x) = x^2 as the lower and upper bounds, respectively.

Step 3: Evaluate the limits of the bounding functions as xx approaches 0.

limx0g(x)=limx0x2=0,limx0h(x)=limx0x2=0.\begin{aligned} \lim_{x \to 0} g(x) &= \lim_{x \to 0} -x^2 = 0, \\ \lim_{x \to 0} h(x) &= \lim_{x \to 0} x^2 = 0. \end{aligned}

Step 4: Apply the Squeeze Theorem. Since g(x)f(x)h(x)g(x) \leq f(x) \leq h(x) and both g(x)g(x) and h(x)h(x) approach 0 as xx approaches 0, by the Squeeze Theorem, f(x)f(x) also approaches 0.

limx0x2cos(1x)=0.\lim_{x \to 0} x^2 \cos(\frac{1}{x}) = 0.

🧩 Solution to Question 2

Step 1: Consider the function f(x)=x4sin(1x))f(x) = x^4 \sin(\frac{1}{x})) for x0x \neq 0.

Step 2: For bounding functions, use g(x)=x4g(x) = -x^4 and h(x)=x4h(x) = x^4, leveraging the fact that 1sin(1x)1-1 \leq \sin(\frac{1}{x}) \leq 1.

Step 3: Calculate the limits of g(x)g(x) and h(x)h(x) as xx approaches 0.

limx0g(x)=limx0x4=0,limx0h(x)=limx0x4=0.\begin{aligned} \lim_{x \to 0} g(x) &= \lim_{x \to 0} -x^4 = 0, \\ \lim_{x \to 0} h(x) &= \lim_{x \to 0} x^4 = 0. \end{aligned}

Step 4: By the Squeeze Theorem, since g(x)f(x)h(x)g(x) \leq f(x) \leq h(x) and the limits of g(x)g(x) and h(x)h(x) as xx approaches 0 are both 0, the limit of f(x)f(x) as xx approaches 0 must also be 0.

limx0x4sin(1x)=0.\lim_{x \to 0} x^4 \sin(\frac{1}{x}) = 0.



Other:

Final stored value at location 10: 8
# Simple simulation of the Fetch-Execute Cycle

# Example program stored in memory (a list of instructions)
memory = [
    "LOAD 5",     # Load the number 5 into the accumulator
    "ADD 3",      # Add 3 to the accumulator
    "STORE 10",   # Store the result at memory location 10
]

# Simple registers
program_counter = 0    # Holds the address of the next instruction
accumulator = 0        # Holds the result of calculations
memory_store = [0] * 20  # Create a simple memory store with 20 locations

while program_counter < len(memory):
    # FETCH
    instruction = memory[program_counter]

    # DECODE
    parts = instruction.split()
    operation = parts[0]
    value = int(parts[1])

    # EXECUTE
    if operation == "LOAD":
        accumulator = value
    elif operation == "ADD":
        accumulator += value
    elif operation == "STORE":
        memory_store[value] = accumulator

    # Move to the next instruction
    program_counter += 1

# Output final result stored in memory
print("Final stored value at location 10:", memory_store[10])

Hire a tutor

Please fill out the form and we'll find a tutor for you.

1/2
Your details
Alternatively contact us via
WhatsApp, Phone Call, or Email