Squeeze (Sandwich) Theorem Calculator & Solver

Verify the pinching theorem for functions, limits, and sequences with step-by-step analysis

Squeeze Theorem (Functions & Limits):
If f(x) ≤ g(x) ≤ h(x) near a point and lim(x→a) f(x) = lim(x→a) h(x) = L, then lim(x→a) g(x) = L.
Squeeze Theorem (Sequences):
If aₙ ≤ bₙ ≤ cₙ for all n, and lim(n→∞) aₙ = lim(n→∞) cₙ = L, then lim(n→∞) bₙ = L.

Evaluation Type

Input & Configuration

Expression in x (e.g., -1, -abs(x), cos(x))
Your target function
Expression in x
Where x → a
Sample range around a
Points to check (higher = more precise)
Estimated lim f(x) as x → a
Estimated lim h(x) as x → a
Quick Examples:
Expression in n (e.g., 1/n, (2*n)/(n+1))
Your target sequence
Expression in n
Begin sampling from n =
Sample up to n =
Number of terms to check
Estimated lim aₙ as n → ∞
Estimated lim cₙ as n → ∞
Quick Examples:

Run Verification

Results

Results will appear here after verification.

Practice & Examples