Limits and Continuity
Analysis is the branch of mathematics that provides the rigorous foundation for calculus. While introductory calculus often relies on intuitive “infinitesimal” arguments, real analysis formalizes these using the language of limits.
The Formal Definition:
We say that the limit of as approaches is , written as , if for every , there exists a such that:
This definition captures the idea that we can get as close as we want to () by making close enough to (), without actually having to equal .
One-Sided Limits
A limit exists if and only if both the left-hand limit () and the right-hand limit () exist and are equal.
- If , then and . The two-sided limit does not exist.
Continuity
A function is continuous at a point if:
- is defined.
- exists.
- .
In the language, is continuous at if for every , there exists a such that . Note that we no longer require , because the value at is now part of the condition.
Key Theorems of Continuous Functions
Continuous functions on closed intervals possess powerful properties:
1. The Intermediate Value Theorem (IVT)
If is continuous on and is any value between and , then there exists at least one such that .
- Application: This provides a rigorous proof that polynomials of odd degree always have at least one real root.
2. The Extreme Value Theorem (EVT)
If is continuous on a closed and bounded interval , then attains a maximum and a minimum value on that interval.
- Significance: This is the theoretical basis for optimization in calculus.
Uniform Continuity
A function is uniformly continuous on a set if for every , there exists a such that for all : The key difference from ordinary continuity is that depends only on , not on the point .
- is continuous on , but not uniformly continuous on (because it gets steeper as ).
- Heine-Cantor Theorem: If is continuous on a compact set (e.g., ), then is uniformly continuous on that set.
Sequences and Limits at Infinity
In analysis, we often consider the limit of a sequence as . A sequence converges to if for every , there exists an such that: Functions have limits at infinity if approaches a value as or , represented by horizontal asymptotes.
Python: Visualizing
We can write a script to find a suitable for a given , , and .
import math
def f(x):
return 3 * x + 2
def find_delta(c, epsilon, test_range=0.1, steps=1000):
L = f(c)
best_delta = 0
# Search for the largest delta that satisfies the condition
for d in [i * (test_range/steps) for i in range(1, steps)]:
# Check points in (c-d, c+d)
is_valid = True
for test_x in [c - d, c + d]:
if abs(f(test_x) - L) >= epsilon:
is_valid = False
break
if is_valid:
best_delta = d
else:
break
return best_delta
c = 2
epsilon = 0.01
delta = find_delta(c, epsilon)
print(f"For epsilon={epsilon}, a valid delta is: {delta}")
# For f(x) = 3x + 2, we expect delta to be epsilon/3 ≈ 0.0033
Summary
The study of limits is the study of approximation. By mastering the definition, we move from the “hand-waving” of early calculus to the absolute precision of modern analysis. This precision allows us to handle complex phenomena like fractals, non-differentiable functions, and infinite series without falling into logical paradoxes.