Chapter 2: Understanding Limits and Rates of Change
Introduction
This chapter introduces the foundational concepts of calculus: limits and derivatives. You'll learn how these ideas help us solve two classic problems that seem impossible at first: finding the slope of a tangent line to a curve (the tangent problem) and finding the instantaneous velocity of a moving object (the velocity problem). Both problems lead to the same mathematical tool—the limit—which is the heartbeat of calculus.
2.1 The Tangent and Velocity Problems
The Tangent Problem
Imagine trying to draw a line that just barely touches a curve at a single point, following the curve's direction precisely at that spot. This is the tangent line to a curve. For circles, the definition is simple: a tangent is a line that touches the circle at exactly one point. But for more complicated curves, this doesn't work—a line can "touch" a curve at one point while actually crossing it at another.
Tangent Line: A line that touches a curve at a specific point and has the same direction (slope) as the curve at that point.
The clever approach is to use secant lines (lines that cross the curve at two points) to approximate the tangent. Here's the idea:
- Pick a point P on the curve where you want the tangent line
- Choose a nearby point Q on the curve
- Calculate the slope of the line through P and Q (the secant line)
- Move Q closer and closer to P
- The slopes of these secant lines get closer to the slope of the tangent line
Example: For the parabola y=x2 at point P(1,1):
- When Q is at (1.5,2.25), the secant slope is 1.5−12.25−1=2.5
- When Q is at (1.1,1.21), the secant slope is 1.1−11.21−1=2.1
- When Q is at (1.01,1.0201), the secant slope is 1.01−11.0201−1=2.01
As Q approaches P, the secant slopes approach 2, so the tangent slope is 2, and the tangent line is y−1=2(x−1), or y=2x−1.
This limiting process is the foundation for what we'll call the derivative later.
📝 Section Recap: The tangent line problem asks: how do we find the slope of a line touching a curve at a single point? By using secant lines through increasingly close points and taking their limiting slope, we can define the tangent line precisely—this limit process is essential to calculus.
The Velocity Problem
Now consider a different scenario: a car's speedometer shows different speeds as you drive through traffic. The car has an instantaneous velocity at each moment, even though we normally think of velocity as "distance over time" (which requires a time interval). How do we define instantaneous velocity when there's no time interval?
Suppose a ball falls freely from a height, and its distance fallen (in meters) after t seconds is given by: s(t)=4.9t2
To find the velocity at exactly t=5 seconds:
-
Calculate the average velocity over a short time interval: average velocity=time elapsedchange in position
-
For the interval from t=5 to t=5.1: average velocity=0.1s(5.1)−s(5)=0.14.9(5.1)2−4.9(5)2=49.49 m/s
-
Now repeat with shorter intervals:
- From t=5 to t=5.05: average velocity =49.245 m/s
- From t=5 to t=5.01: average velocity =49.049 m/s
- From t=5 to t=5.001: average velocity =49.0049 m/s
As the time interval shrinks toward zero, the average velocities approach 49 m/s. This limiting value is the instantaneous velocity.
Instantaneous Velocity: The limit of average velocities over shorter and shorter time intervals. It represents the velocity at a single moment in time.
Notice something powerful: the tangent problem and velocity problem are mathematically identical! The slope of the secant line PQ on a distance-time graph equals the average velocity. The slope of the tangent line equals the instantaneous velocity. Both require computing a limit.
📝 Section Recap: The velocity problem asks: how do we find the speed at a single instant when we only know how to calculate average speed over intervals? By taking average velocities over increasingly small time intervals and finding their limit, we can define instantaneous velocity—which geometrically equals the slope of the tangent line to the position graph.
2.2 The Limit of a Function
Understanding Limits Intuitively
Now that we've seen why we need limits, let's study them rigorously. The intuitive idea is straightforward:
Intuitive Definition of a Limit: We write limx→af(x)=L (read: "the limit of f(x) as x approaches a equals L") if we can make the values of f(x) as close to L as we want by taking x sufficiently close to a (but not equal to a).
Key insight: The value f(a) doesn't matter. We only care about the behavior of f near a. The function might not even be defined at a—what matters is what happens in the neighborhood around a.
Example: Consider f(x)=x2−1x2−1. Wait—this simplifies to f(x)=1 everywhere except at x=1 where it's undefined. But: limx→1x2−1x2−1=1
Even though f(1) doesn't exist, the limit exists because as x approaches 1 from either side, f(x) approaches 1.
Another example: Let f(x)=x2−1x2+1 for x near 1. Building a table:
- f(0.5)=0.667
- f(0.9)=0.526
- f(0.99)=0.503
- f(0.999)=0.5003
And approaching from the right:
- f(1.5)=0.4
- f(1.1)=0.476
- f(1.01)=0.4975
- f(1.001)=0.49975
The values cluster around 0.5, so limx→1x2−1x2+1=0.5.
One-Sided Limits
Sometimes a function approaches different values from the left and right. Consider the Heaviside function, used in electrical engineering to model a switch that turns on: H(t)={01if t<0if t>0
As t approaches 0:
- From the left, H(t) approaches 0
- From the right, H(t) approaches 1
These are one-sided limits:
One-Sided Limit (Left): limx→a−f(x)=L means the values of f(x) approach L as x approaches a from the left (with x<a).
One-Sided Limit (Right): limx→a+f(x)=L means the values of f(x) approach L as x approaches a from the right (with x>a).
For the Heaviside function: limt→0−H(t)=0 and limt→0+H(t)=1.
Critical relationship: A two-sided limit exists if and only if both one-sided limits exist and are equal: limx→af(x)=L⟺limx→a−f(x)=L and limx→a+f(x)=L
If the left and right limits differ, the two-sided limit does not exist.
Common Limit Examples
Example 1: Estimate limt→0t2t2+9−3
Building a table (calculator values):
- t=±0.1: function ≈0.166620
- t=±0.01: function ≈0.166667
- t=±0.001: function ≈0.166667
The limit appears to be 61≈0.1667.
Note: Be cautious with calculators for very small values. When t is extremely small, the numerator t2+9−3 is nearly 0, and rounding errors can make the calculator give garbage results.
Example 2: Estimate limx→0xsinx (where x is in radians)
This is a famous limit in calculus:
- x=±0.1: function ≈0.998334
- x=±0.01: function ≈0.999983
- x=±0.001: function ≈1.000000
The limit is exactly 1. This result will be proven later using geometry.
📝 Section Recap: A limit describes the value a function approaches as the input gets closer to a target value. One-sided limits distinguish approaching from the left versus right. A two-sided limit exists only when both one-sided limits exist and agree. Limits can be estimated numerically (using tables) and graphically (by zooming in on a curve).
2.3 Calculating Limits Using the Limit Laws
Instead of building tables and graphs for every limit, we can use algebraic rules. Just as derivatives and integrals have rules, limits have laws.
The Limit Laws
Suppose limx→af(x)=L and limx→ag(x)=M, where L and M are real numbers. Then:
-
Sum Law: limx→a[f(x)+g(x)]=L+M
-
Difference Law: limx→a[f(x)−g(x)]=L−M
-
Constant Multiple Law: limx→a[c⋅f(x)]=c⋅L for any constant c
-
Product Law: limx→a[f(x)⋅g(x)]=L⋅M
-
Quotient Law: limx→ag(x)f(x)=ML provided that M=0
-
Power Law: If n is a positive integer, then limx→a[f(x)]n=Ln
-
Root Law: If n is a positive integer (and L>0 when n is even), then limx→anf(x)=nL
Direct Substitution
For polynomial functions and rational functions (where the denominator is nonzero at the point), you can find limits by direct substitution: limx→af(x)=f(a)
This works because polynomials and rational functions are continuous at every point in their domain.
Example: Find limx→2(x3−5x+1)
By direct substitution: (2)3−5(2)+1=8−10+1=−1
Factoring and Cancellation
When direct substitution produces the indeterminate form 00, try factoring:
Example: Find limx→1x−1x2−1
Direct substitution gives 00, which is indeterminate. Factor: x−1x2−1=x−1(x−1)(x+1)=x+1 (for x=1)
Now: limx→1(x+1)=2
Rationalizing the Numerator
Sometimes multiplying by a conjugate helps:
Example: Find limx→0xx+4−2
Multiply by the conjugate: xx+4−2⋅x+4+2x+4+2=x(x+4+2)(x+4)−4=x(x+4+2)x=x+4+21
Now: limx→0x+4+21=4+21=41
The Squeeze Theorem
If you have a function trapped between two others that approach the same limit, the trapped function must also approach that limit:
Squeeze Theorem: If g(x)≤f(x)≤h(x) near a and limx→ag(x)=limx→ah(x)=L, then limx→af(x)=L.
Example: Using the Squeeze Theorem to prove limx→0xsin(1/x)=0
We know that −1≤sin(1/x)≤1 for all x=0. Multiplying by x (for x>0): −x≤xsin(1/x)≤x
Since limx→0+(−x)=0 and limx→0+x=0, the Squeeze Theorem tells us limx→0+xsin(1/x)=0. The same argument works from the left.
📝 Section Recap: The limit laws allow us to break complex limits into simpler pieces. Direct substitution works for continuous functions. When substitution gives 00, we use algebraic techniques: factoring, rationalizing, or the Squeeze Theorem to find the limit.
2.4 The Precise Definition of a Limit
The intuitive definition of a limit served us well, but for rigorous mathematics, we need precision. In this section, we give the epsilon-delta definition, which is the formal foundation for all limit work.
The Epsilon-Delta Definition
Precise Definition of a Limit: We write limx→af(x)=L if for every number ϵ>0, there exists a corresponding number δ>0 such that: if 0<∣x−a∣<δ then ∣f(x)−L∣<ϵ
In plain language: No matter how close you want f(x) to get to L (specified by ϵ), you can always find an interval around a (specified by δ) such that if x is in that interval (but not equal to a), then f(x) is within ϵ of L.
Interpreting Epsilon and Delta
- ϵ (epsilon) represents the "tolerance" for how close f(x) should be to L. It's given to us as a challenge: "Make f(x) within this distance of L."
- δ (delta) is our response: "If you let x be within this distance of a, then I can guarantee f(x) is within ϵ of L."
Proving Limits with Epsilon-Delta
The formal definition is used to prove that limits exist and equal specific values.
Example: Prove that limx→2(3x−5)=1
We need to show: for any ϵ>0, there exists δ>0 such that if 0<∣x−2∣<δ, then ∣(3x−5)−1∣<ϵ.
Simplify ∣(3x−5)−1∣=∣3x−6∣=3∣x−2∣
We want 3∣x−2∣<ϵ, which means ∣x−2∣<3ϵ
So, if we choose δ=3ϵ, then whenever 0<∣x−2∣<δ, we have ∣(3x−5)−1∣=3∣x−2∣<3⋅δ=3⋅3ϵ=ϵ ✓
When Limits Don't Exist
The epsilon-delta definition can also be used to show that a limit does NOT exist. A limit fails to exist if there's some ϵ>0 such that no matter what δ>0 you choose, you can find an x with 0<∣x−a∣<δ but ∣f(x)−L∣≥ϵ.
Example: limx→0sign(x) does not exist (where sign gives -1 for negative, 0 for zero, and 1 for positive), because the left and right limits are different.
📝 Section Recap: The epsilon-delta definition is the rigorous, formal definition of a limit. It quantifies what we mean by "f(x) approaches L": for any tolerance ϵ, we can find a window δ around a where f(x) stays within ϵ of L. This definition is the foundation for proving limit properties and showing when limits fail to exist.
2.5 Continuity
A function is continuous at a point if there's no break, jump, or hole in its graph at that point. Formally:
Definition of Continuity
Continuity at a Point: A function f is continuous at a if:
- f(a) is defined
- limx→af(x) exists
- limx→af(x)=f(a)
In other words, the function is defined at the point, has a limit there, and the limit equals the function's value.
Continuity on an Interval
A function is continuous on an interval if it's continuous at every point in that interval.
Types of Discontinuities
-
Removable discontinuity (hole): The limit exists, but either the function is undefined or f(a)=limx→af(x). Example: f(x)=x−1x2−1 at x=1 has a hole.
-
Jump discontinuity: Left and right limits exist but are different. Example: the Heaviside function at t=0.
-
Infinite discontinuity: The function approaches ±∞. Example: f(x)=x1 at x=0.
-
Oscillating discontinuity: The function oscillates wildly. Example: f(x)=sin(1/x) at x=0.
The Intermediate Value Theorem
If f is continuous on the closed interval [a,b] and N is any number between f(a) and f(b), then there exists at least one point c in (a,b) where f(c)=N.
Practical insight: If a continuous function is negative at one point and positive at another, it must cross zero somewhere in between. This is why root-finding algorithms work.
Which Functions are Continuous?
- Polynomials are continuous everywhere
- Rational functions are continuous except where the denominator is zero
- Roots and exponentials are continuous on their domains
- Trigonometric functions (sine, cosine) are continuous everywhere; tangent has discontinuities at odd multiples of π/2
If f and g are continuous, so are f+g, f−g, f⋅g, and f/g (where g=0).
📝 Section Recap: A function is continuous at a point if the limit exists and equals the function's value. Discontinuities come in several types: removable holes, jump discontinuities, infinite discontinuities, and oscillations. Polynomials and other elementary functions are continuous on their domains. The Intermediate Value Theorem guarantees that continuous functions hit all values between any two inputs.
2.6 Limits at Infinity
What happens to f(x) as x grows very large (positive or negative)? These "limits at infinity" describe the long-term behavior of functions.
Infinite Limits
Infinite Limit: We write limx→af(x)=∞ if the values of f(x) become arbitrarily large as x approaches a.
For example, limx→0+x1=∞ because as x approaches 0 from the right, x1 grows without bound.
Similarly, limx→af(x)=−∞ means f(x) becomes arbitrarily large and negative.
Limits as x Approaches Infinity
Limit as x→∞: We write limx→∞f(x)=L if the values of f(x) approach L as x becomes arbitrarily large.
Example: limx→∞x1=0 because as x grows without bound, x1 gets closer to 0.
Example: limx→∞x2−23x2+5x+1=3
To find this, divide numerator and denominator by the highest power of x: x2−23x2+5x+1=1−x223+x5+x21
As x→∞, the fractions x5, x21, and x22 all approach 0, so: limx→∞x2−23x2+5x+1=1−03+0+0=3
Horizontal and Vertical Asymptotes
- Vertical asymptote at x=a: The function has an infinite limit as x→a (often written f(x)→±∞).
- Horizontal asymptote at y=L: limx→∞f(x)=L or limx→−∞f(x)=L.
A rational function q(x)p(x) has:
- Vertical asymptotes where the denominator is zero (and numerator is nonzero)
- Horizontal asymptotes determined by comparing degrees:
- If degree of p < degree of q: horizontal asymptote at y=0
- If degree of p = degree of q: horizontal asymptote at y=leading coeff of qleading coeff of p
- If degree of p > degree of q: no horizontal asymptote
📝 Section Recap: Infinite limits describe functions growing without bound near a point. Limits at infinity describe long-term behavior as x becomes very large. Vertical asymptotes are lines where functions shoot to infinity. Horizontal asymptotes are values that functions approach as x→±∞. These concepts help us understand function behavior at extreme values.
2.7 Derivatives
We've now built all the tools needed to return to the tangent and velocity problems. The derivative is the formal name for the instantaneous rate of change.
The Derivative at a Point
Recall that the slope of the secant line through P(a,f(a)) and Q(a+h,f(a+h)) is: msecant=hf(a+h)−f(a)
As h→0, this approaches the slope of the tangent line. This limit is called the derivative of f at a:
Derivative (Definition): The derivative of f at a, denoted f′(a), is: f′(a)=limh→0hf(a+h)−f(a) provided this limit exists.
Equivalent form using x=a+h: f′(a)=limx→ax−af(x)−f(a)
Interpreting the Derivative
The derivative f′(a) represents:
- The slope of the tangent line to the curve y=f(x) at the point (a,f(a))
- The instantaneous rate of change of f at x=a
- For a position function, the instantaneous velocity
The Derivative as a Function
Instead of just finding f′(a) at a single point, we can define the derivative function f′(x):
f′(x)=limh→0hf(x+h)−f(x)
This function gives the derivative at every point in the domain.
Example: Find the derivative of f(x)=x2
f′(x)=limh→0h(x+h)2−x2=limh→0hx2+2xh+h2−x2 =limh→0h2xh+h2=limh→0(2x+h)=2x
So f′(x)=2x for the function f(x)=x2.
When Derivatives Don't Exist
A derivative fails to exist at a point if:
- The function is discontinuous there
- There's a sharp corner or cusp (left and right derivatives don't match)
- The tangent line is vertical
Example: f(x)=∣x∣ is not differentiable at x=0 because the left tangent slope is -1 and the right tangent slope is +1.
Notation
Different notations for the derivative:
- f′(x) or f′(a) — Lagrange notation
- dxdf or dxdfx=a — Leibniz notation
- Dxf(x) — operator notation
- s˙(t) — dot notation (common in physics for time derivatives)
Differentiability and Continuity
Key relationship: If f is differentiable at a, then f is continuous at a.
Proof sketch: Differentiability means f′(a)=limh→0hf(a+h)−f(a) exists.
We can rewrite: limh→0[f(a+h)−f(a)]=limh→0[hf(a+h)−f(a)⋅h]=f′(a)⋅0=0
This means limh→0f(a+h)=f(a), which is the definition of continuity.
Contrapositive: If f is not continuous at a point, it cannot be differentiable there.
However, the converse is false: a continuous function might not be differentiable. The classic example is ∣x∣ at x=0.
Interpretation in Context
- For position functions: derivative = velocity (meters per second)
- For velocity functions: derivative = acceleration (meters per second squared)
- For population functions: derivative = rate of population growth (individuals per year)
- For cost functions: derivative = marginal cost (cost per additional unit)
📝 Section Recap: The derivative is the instantaneous rate of change of a function, obtained by taking the limit of secant slopes as two points merge. The derivative function f′(x) gives the slope of the tangent line (and instantaneous rate of change) at every point. Derivatives don't exist at discontinuities, corners, cusps, or vertical tangents. Differentiability implies continuity, but continuity doesn't guarantee differentiability.
2.8 The Derivative as a Function
We introduced the derivative at a single point (f′(a)), but we can extend this to define the derivative as a function itself.
The Derivative Function
Starting with the limit definition: f′(x)=limh→0hf(x+h)−f(x)
The domain of f′ consists of all values of x for which this limit exists.
Common Derivatives
From first principles, you can derive:
| Function | Derivative |
|---|---|
| f(x)=c (constant) | f′(x)=0 |
| f(x)=xn | f′(x)=nxn−1 (Power Rule) |
| f(x)=ex | f′(x)=ex |
| f(x)=sinx | f′(x)=cosx |
| f(x)=cosx | f′(x)=−sinx |
Tangent Line at a Point
Once you have f′(x), the equation of the tangent line at (a,f(a)) is: y−f(a)=f′(a)(x−a)
Example: Find the tangent line to f(x)=x2 at x=1
We found earlier that f′(x)=2x, so f′(1)=2. The tangent line at (1,1) is: y−1=2(x−1) y=2x−1
Geometric Interpretation
The graph of f′ tells you where f is increasing (where f′>0), decreasing (where f′<0), and has horizontal tangents (where f′=0). This is the foundation for curve sketching and optimization.
📝 Section Recap: The derivative function f′(x) gives the instantaneous rate of change at every point. From f′(x), you can immediately write the equation of the tangent line at any point (a,f(a)). The sign and magnitude of f′(x) reveal where the original function is increasing, decreasing, and where it has extrema—key information for understanding and sketching functions.
Chapter Summary
In this chapter, you've learned:
-
The tangent problem: Finding the slope of a line touching a curve at one point requires taking the limit of secant slopes.
-
The velocity problem: Finding instantaneous velocity requires taking the limit of average velocities over shrinking time intervals.
-
Limits: The limit limx→af(x)=L means f(x) approaches L as x approaches a. Limits can be found numerically, graphically, or algebraically.
-
One-sided limits: Limits from the left and right can differ; both must exist and be equal for a two-sided limit to exist.
-
Limit laws: Algebraic rules let us compute complex limits from simpler ones. Direct substitution works for continuous functions.
-
Rigorous definition: The epsilon-delta definition precisely quantifies what "approaching" means.
-
Continuity: Functions are continuous where they have no breaks, jumps, or holes. Intermediate Value Theorem applies to continuous functions.
-
Limits at infinity: Describe long-term behavior and horizontal asymptotes.
-
The derivative: The limit f′(a)=limh→0hf(a+h)−f(a) is the instantaneous rate of change, geometrically the tangent slope. Differentiable functions are continuous, but not all continuous functions are differentiable.
These concepts form the foundation for all of calculus. Everything that follows—optimization, related rates, integration, and applications—builds on the derivative.