Ch 2FREE

Understanding Limits and Rates of Change

15 min

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:

  1. Pick a point PPP on the curve where you want the tangent line
  2. Choose a nearby point QQQ on the curve
  3. Calculate the slope of the line through PPP and QQQ (the secant line)
  4. Move QQQ closer and closer to PPP
  5. The slopes of these secant lines get closer to the slope of the tangent line

Example: For the parabola y=x2y = x^2y=x2 at point P(1,1)P(1, 1)P(1,1):

  • When QQQ is at (1.5,2.25)(1.5, 2.25)(1.5,2.25), the secant slope is 2.2511.51=2.5\frac{2.25 - 1}{1.5 - 1} = 2.51.512.251=2.5
  • When QQQ is at (1.1,1.21)(1.1, 1.21)(1.1,1.21), the secant slope is 1.2111.11=2.1\frac{1.21 - 1}{1.1 - 1} = 2.11.111.211=2.1
  • When QQQ is at (1.01,1.0201)(1.01, 1.0201)(1.01,1.0201), the secant slope is 1.020111.011=2.01\frac{1.0201 - 1}{1.01 - 1} = 2.011.0111.02011=2.01

As QQQ approaches PPP, the secant slopes approach 2, so the tangent slope is 2, and the tangent line is y1=2(x1)y - 1 = 2(x - 1)y1=2(x1), or y=2x1y = 2x - 1y=2x1.

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 ttt seconds is given by: s(t)=4.9t2s(t) = 4.9t^2s(t)=4.9t2

To find the velocity at exactly t=5t = 5t=5 seconds:

  1. Calculate the average velocity over a short time interval: average velocity=change in positiontime elapsed\text{average velocity} = \frac{\text{change in position}}{\text{time elapsed}}average velocity=time elapsedchange in position

  2. For the interval from t=5t = 5t=5 to t=5.1t = 5.1t=5.1: average velocity=s(5.1)s(5)0.1=4.9(5.1)24.9(5)20.1=49.49 m/s\text{average velocity} = \frac{s(5.1) - s(5)}{0.1} = \frac{4.9(5.1)^2 - 4.9(5)^2}{0.1} = 49.49 \text{ m/s}average velocity=0.1s(5.1)s(5)=0.14.9(5.1)24.9(5)2=49.49 m/s

  3. Now repeat with shorter intervals:

    • From t=5t = 5t=5 to t=5.05t = 5.05t=5.05: average velocity =49.245= 49.245=49.245 m/s
    • From t=5t = 5t=5 to t=5.01t = 5.01t=5.01: average velocity =49.049= 49.049=49.049 m/s
    • From t=5t = 5t=5 to t=5.001t = 5.001t=5.001: average velocity =49.0049= 49.0049=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 PQPQPQ 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 limxaf(x)=L\lim_{x \to a} f(x) = Llimxaf(x)=L (read: "the limit of f(x)f(x)f(x) as xxx approaches aaa equals LLL") if we can make the values of f(x)f(x)f(x) as close to LLL as we want by taking xxx sufficiently close to aaa (but not equal to aaa).

Key insight: The value f(a)f(a)f(a) doesn't matter. We only care about the behavior of fff near aaa. The function might not even be defined at aaa—what matters is what happens in the neighborhood around aaa.

Example: Consider f(x)=x21x21f(x) = \frac{x^2 - 1}{x^2 - 1}f(x)=x21x21. Wait—this simplifies to f(x)=1f(x) = 1f(x)=1 everywhere except at x=1x = 1x=1 where it's undefined. But: limx1x21x21=1\lim_{x \to 1} \frac{x^2 - 1}{x^2 - 1} = 1limx1x21x21=1

Even though f(1)f(1)f(1) doesn't exist, the limit exists because as xxx approaches 1 from either side, f(x)f(x)f(x) approaches 1.

Another example: Let f(x)=x2+1x21f(x) = \frac{x^2 + 1}{x^2 - 1}f(x)=x21x2+1 for xxx near 1. Building a table:

  • f(0.5)=0.667f(0.5) = 0.667f(0.5)=0.667
  • f(0.9)=0.526f(0.9) = 0.526f(0.9)=0.526
  • f(0.99)=0.503f(0.99) = 0.503f(0.99)=0.503
  • f(0.999)=0.5003f(0.999) = 0.5003f(0.999)=0.5003

And approaching from the right:

  • f(1.5)=0.4f(1.5) = 0.4f(1.5)=0.4
  • f(1.1)=0.476f(1.1) = 0.476f(1.1)=0.476
  • f(1.01)=0.4975f(1.01) = 0.4975f(1.01)=0.4975
  • f(1.001)=0.49975f(1.001) = 0.49975f(1.001)=0.49975

The values cluster around 0.5, so limx1x2+1x21=0.5\lim_{x \to 1} \frac{x^2 + 1}{x^2 - 1} = 0.5limx1x21x2+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)={0if t<01if t>0H(t) = \begin{cases} 0 & \text{if } t < 0 \\ 1 & \text{if } t > 0 \end{cases}H(t)={01if t<0if t>0

As ttt approaches 0:

  • From the left, H(t)H(t)H(t) approaches 0
  • From the right, H(t)H(t)H(t) approaches 1

These are one-sided limits:

One-Sided Limit (Left): limxaf(x)=L\lim_{x \to a^-} f(x) = Llimxaf(x)=L means the values of f(x)f(x)f(x) approach LLL as xxx approaches aaa from the left (with x<ax < ax<a).

One-Sided Limit (Right): limxa+f(x)=L\lim_{x \to a^+} f(x) = Llimxa+f(x)=L means the values of f(x)f(x)f(x) approach LLL as xxx approaches aaa from the right (with x>ax > ax>a).

For the Heaviside function: limt0H(t)=0\lim_{t \to 0^-} H(t) = 0limt0H(t)=0 and limt0+H(t)=1\lim_{t \to 0^+} H(t) = 1limt0+H(t)=1.

Critical relationship: A two-sided limit exists if and only if both one-sided limits exist and are equal: limxaf(x)=L    limxaf(x)=L and limxa+f(x)=L\lim_{x \to a} f(x) = L \iff \lim_{x \to a^-} f(x) = L \text{ and } \lim_{x \to a^+} f(x) = Llimxaf(x)=Llimxaf(x)=L and limxa+f(x)=L

If the left and right limits differ, the two-sided limit does not exist.

Common Limit Examples

Example 1: Estimate limt0t2+93t2\lim_{t \to 0} \frac{\sqrt{t^2 + 9} - 3}{t^2}limt0t2t2+93

Building a table (calculator values):

  • t=±0.1t = \pm 0.1t=±0.1: function 0.166620\approx 0.1666200.166620
  • t=±0.01t = \pm 0.01t=±0.01: function 0.166667\approx 0.1666670.166667
  • t=±0.001t = \pm 0.001t=±0.001: function 0.166667\approx 0.1666670.166667

The limit appears to be 160.1667\frac{1}{6} \approx 0.1667610.1667.

Note: Be cautious with calculators for very small values. When ttt is extremely small, the numerator t2+93\sqrt{t^2 + 9} - 3t2+93 is nearly 0, and rounding errors can make the calculator give garbage results.

Example 2: Estimate limx0sinxx\lim_{x \to 0} \frac{\sin x}{x}limx0xsinx (where xxx is in radians)

This is a famous limit in calculus:

  • x=±0.1x = \pm 0.1x=±0.1: function 0.998334\approx 0.9983340.998334
  • x=±0.01x = \pm 0.01x=±0.01: function 0.999983\approx 0.9999830.999983
  • x=±0.001x = \pm 0.001x=±0.001: function 1.000000\approx 1.0000001.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 limxaf(x)=L\lim_{x \to a} f(x) = Llimxaf(x)=L and limxag(x)=M\lim_{x \to a} g(x) = Mlimxag(x)=M, where LLL and MMM are real numbers. Then:

  1. Sum Law: limxa[f(x)+g(x)]=L+M\lim_{x \to a} [f(x) + g(x)] = L + Mlimxa[f(x)+g(x)]=L+M

  2. Difference Law: limxa[f(x)g(x)]=LM\lim_{x \to a} [f(x) - g(x)] = L - Mlimxa[f(x)g(x)]=LM

  3. Constant Multiple Law: limxa[cf(x)]=cL\lim_{x \to a} [c \cdot f(x)] = c \cdot Llimxa[cf(x)]=cL for any constant ccc

  4. Product Law: limxa[f(x)g(x)]=LM\lim_{x \to a} [f(x) \cdot g(x)] = L \cdot Mlimxa[f(x)g(x)]=LM

  5. Quotient Law: limxaf(x)g(x)=LM\lim_{x \to a} \frac{f(x)}{g(x)} = \frac{L}{M}limxag(x)f(x)=ML provided that M0M \neq 0M=0

  6. Power Law: If nnn is a positive integer, then limxa[f(x)]n=Ln\lim_{x \to a} [f(x)]^n = L^nlimxa[f(x)]n=Ln

  7. Root Law: If nnn is a positive integer (and L>0L > 0L>0 when nnn is even), then limxaf(x)n=Ln\lim_{x \to a} \sqrt[n]{f(x)} = \sqrt[n]{L}limxanf(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: limxaf(x)=f(a)\lim_{x \to a} f(x) = f(a)limxaf(x)=f(a)

This works because polynomials and rational functions are continuous at every point in their domain.

Example: Find limx2(x35x+1)\lim_{x \to 2} (x^3 - 5x + 1)limx2(x35x+1)

By direct substitution: (2)35(2)+1=810+1=1(2)^3 - 5(2) + 1 = 8 - 10 + 1 = -1(2)35(2)+1=810+1=1

Factoring and Cancellation

When direct substitution produces the indeterminate form 00\frac{0}{0}00, try factoring:

Example: Find limx1x21x1\lim_{x \to 1} \frac{x^2 - 1}{x - 1}limx1x1x21

Direct substitution gives 00\frac{0}{0}00, which is indeterminate. Factor: x21x1=(x1)(x+1)x1=x+1 (for x1)\frac{x^2 - 1}{x - 1} = \frac{(x-1)(x+1)}{x-1} = x + 1 \text{ (for } x \neq 1 \text{)}x1x21=x1(x1)(x+1)=x+1 (for x=1)

Now: limx1(x+1)=2\lim_{x \to 1} (x + 1) = 2limx1(x+1)=2

Rationalizing the Numerator

Sometimes multiplying by a conjugate helps:

Example: Find limx0x+42x\lim_{x \to 0} \frac{\sqrt{x + 4} - 2}{x}limx0xx+42

Multiply by the conjugate: x+42xx+4+2x+4+2=(x+4)4x(x+4+2)=xx(x+4+2)=1x+4+2\frac{\sqrt{x+4} - 2}{x} \cdot \frac{\sqrt{x+4} + 2}{\sqrt{x+4} + 2} = \frac{(x+4) - 4}{x(\sqrt{x+4} + 2)} = \frac{x}{x(\sqrt{x+4} + 2)} = \frac{1}{\sqrt{x+4} + 2}xx+42x+4+2x+4+2=x(x+4+2)(x+4)4=x(x+4+2)x=x+4+21

Now: limx01x+4+2=14+2=14\lim_{x \to 0} \frac{1}{\sqrt{x+4} + 2} = \frac{1}{\sqrt{4} + 2} = \frac{1}{4}limx0x+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)g(x) \leq f(x) \leq h(x)g(x)f(x)h(x) near aaa and limxag(x)=limxah(x)=L\lim_{x \to a} g(x) = \lim_{x \to a} h(x) = Llimxag(x)=limxah(x)=L, then limxaf(x)=L\lim_{x \to a} f(x) = Llimxaf(x)=L.

Example: Using the Squeeze Theorem to prove limx0xsin(1/x)=0\lim_{x \to 0} x \sin(1/x) = 0limx0xsin(1/x)=0

We know that 1sin(1/x)1-1 \leq \sin(1/x) \leq 11sin(1/x)1 for all x0x \neq 0x=0. Multiplying by xxx (for x>0x > 0x>0): xxsin(1/x)x-x \leq x \sin(1/x) \leq xxxsin(1/x)x

Since limx0+(x)=0\lim_{x \to 0^+} (-x) = 0limx0+(x)=0 and limx0+x=0\lim_{x \to 0^+} x = 0limx0+x=0, the Squeeze Theorem tells us limx0+xsin(1/x)=0\lim_{x \to 0^+} x \sin(1/x) = 0limx0+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\frac{0}{0}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 limxaf(x)=L\lim_{x \to a} f(x) = Llimxaf(x)=L if for every number ϵ>0\epsilon > 0ϵ>0, there exists a corresponding number δ>0\delta > 0δ>0 such that: if 0<xa<δ then f(x)L<ϵ\text{if } 0 < |x - a| < \delta \text{ then } |f(x) - L| < \epsilonif 0<xa<δ then f(x)L<ϵ

In plain language: No matter how close you want f(x)f(x)f(x) to get to LLL (specified by ϵ\epsilonϵ), you can always find an interval around aaa (specified by δ\deltaδ) such that if xxx is in that interval (but not equal to aaa), then f(x)f(x)f(x) is within ϵ\epsilonϵ of LLL.

Interpreting Epsilon and Delta

  • ϵ\epsilonϵ (epsilon) represents the "tolerance" for how close f(x)f(x)f(x) should be to LLL. It's given to us as a challenge: "Make f(x)f(x)f(x) within this distance of LLL."
  • δ\deltaδ (delta) is our response: "If you let xxx be within this distance of aaa, then I can guarantee f(x)f(x)f(x) is within ϵ\epsilonϵ of LLL."

Proving Limits with Epsilon-Delta

The formal definition is used to prove that limits exist and equal specific values.

Example: Prove that limx2(3x5)=1\lim_{x \to 2} (3x - 5) = 1limx2(3x5)=1

We need to show: for any ϵ>0\epsilon > 0ϵ>0, there exists δ>0\delta > 0δ>0 such that if 0<x2<δ0 < |x - 2| < \delta0<x2∣<δ, then (3x5)1<ϵ|(3x-5) - 1| < \epsilon(3x5)1∣<ϵ.

Simplify (3x5)1=3x6=3x2|(3x - 5) - 1| = |3x - 6| = 3|x - 2|(3x5)1∣=∣3x6∣=3∣x2∣

We want 3x2<ϵ3|x - 2| < \epsilon3∣x2∣<ϵ, which means x2<ϵ3|x - 2| < \frac{\epsilon}{3}x2∣<3ϵ

So, if we choose δ=ϵ3\delta = \frac{\epsilon}{3}δ=3ϵ, then whenever 0<x2<δ0 < |x - 2| < \delta0<x2∣<δ, we have (3x5)1=3x2<3δ=3ϵ3=ϵ|(3x-5) - 1| = 3|x-2| < 3 \cdot \delta = 3 \cdot \frac{\epsilon}{3} = \epsilon(3x5)1∣=3∣x2∣<3δ=33ϵ=ϵ

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\epsilon > 0ϵ>0 such that no matter what δ>0\delta > 0δ>0 you choose, you can find an xxx with 0<xa<δ0 < |x - a| < \delta0<xa<δ but f(x)Lϵ|f(x) - L| \geq \epsilonf(x)Lϵ.

Example: limx0sign(x)\lim_{x \to 0} \text{sign}(x)limx0sign(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)f(x)f(x) approaches LLL": for any tolerance ϵ\epsilonϵ, we can find a window δ\deltaδ around aaa where f(x)f(x)f(x) stays within ϵ\epsilonϵ of LLL. 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 fff is continuous at aaa if:

  1. f(a)f(a)f(a) is defined
  2. limxaf(x)\lim_{x \to a} f(x)limxaf(x) exists
  3. limxaf(x)=f(a)\lim_{x \to a} f(x) = f(a)limxaf(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)limxaf(x)f(a) \neq \lim_{x \to a} f(x)f(a)=limxaf(x). Example: f(x)=x21x1f(x) = \frac{x^2-1}{x-1}f(x)=x1x21 at x=1x=1x=1 has a hole.

  • Jump discontinuity: Left and right limits exist but are different. Example: the Heaviside function at t=0t=0t=0.

  • Infinite discontinuity: The function approaches ±\pm\infty±. Example: f(x)=1xf(x) = \frac{1}{x}f(x)=x1 at x=0x=0x=0.

  • Oscillating discontinuity: The function oscillates wildly. Example: f(x)=sin(1/x)f(x) = \sin(1/x)f(x)=sin(1/x) at x=0x=0x=0.

The Intermediate Value Theorem

If fff is continuous on the closed interval [a,b][a, b][a,b] and NNN is any number between f(a)f(a)f(a) and f(b)f(b)f(b), then there exists at least one point ccc in (a,b)(a, b)(a,b) where f(c)=Nf(c) = Nf(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\pi/2π/2

If fff and ggg are continuous, so are f+gf+gf+g, fgf-gfg, fgf \cdot gfg, and f/gf/gf/g (where g0g \neq 0g=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)f(x)f(x) as xxx grows very large (positive or negative)? These "limits at infinity" describe the long-term behavior of functions.

Infinite Limits

Infinite Limit: We write limxaf(x)=\lim_{x \to a} f(x) = \inftylimxaf(x)= if the values of f(x)f(x)f(x) become arbitrarily large as xxx approaches aaa.

For example, limx0+1x=\lim_{x \to 0^+} \frac{1}{x} = \inftylimx0+x1= because as xxx approaches 0 from the right, 1x\frac{1}{x}x1 grows without bound.

Similarly, limxaf(x)=\lim_{x \to a} f(x) = -\inftylimxaf(x)= means f(x)f(x)f(x) becomes arbitrarily large and negative.

Limits as x Approaches Infinity

Limit as xx \to \inftyx: We write limxf(x)=L\lim_{x \to \infty} f(x) = Llimxf(x)=L if the values of f(x)f(x)f(x) approach LLL as xxx becomes arbitrarily large.

Example: limx1x=0\lim_{x \to \infty} \frac{1}{x} = 0limxx1=0 because as xxx grows without bound, 1x\frac{1}{x}x1 gets closer to 0.

Example: limx3x2+5x+1x22=3\lim_{x \to \infty} \frac{3x^2 + 5x + 1}{x^2 - 2} = 3limxx223x2+5x+1=3

To find this, divide numerator and denominator by the highest power of xxx: 3x2+5x+1x22=3+5x+1x212x2\frac{3x^2 + 5x + 1}{x^2 - 2} = \frac{3 + \frac{5}{x} + \frac{1}{x^2}}{1 - \frac{2}{x^2}}x223x2+5x+1=1x223+x5+x21

As xx \to \inftyx, the fractions 5x\frac{5}{x}x5, 1x2\frac{1}{x^2}x21, and 2x2\frac{2}{x^2}x22 all approach 0, so: limx3x2+5x+1x22=3+0+010=3\lim_{x \to \infty} \frac{3x^2 + 5x + 1}{x^2 - 2} = \frac{3 + 0 + 0}{1 - 0} = 3limxx223x2+5x+1=103+0+0=3

Horizontal and Vertical Asymptotes

  • Vertical asymptote at x=ax = ax=a: The function has an infinite limit as xax \to axa (often written f(x)±f(x) \to \pm\inftyf(x)±).
  • Horizontal asymptote at y=Ly = Ly=L: limxf(x)=L\lim_{x \to \infty} f(x) = Llimxf(x)=L or limxf(x)=L\lim_{x \to -\infty} f(x) = Llimxf(x)=L.

A rational function p(x)q(x)\frac{p(x)}{q(x)}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 ppp < degree of qqq: horizontal asymptote at y=0y = 0y=0
    • If degree of ppp = degree of qqq: horizontal asymptote at y=leading coeff of pleading coeff of qy = \frac{\text{leading coeff of } p}{\text{leading coeff of } q}y=leading coeff of qleading coeff of p
    • If degree of ppp > degree of qqq: no horizontal asymptote

📝 Section Recap: Infinite limits describe functions growing without bound near a point. Limits at infinity describe long-term behavior as xxx becomes very large. Vertical asymptotes are lines where functions shoot to infinity. Horizontal asymptotes are values that functions approach as x±x \to \pm\inftyx±. 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))P(a, f(a))P(a,f(a)) and Q(a+h,f(a+h))Q(a+h, f(a+h))Q(a+h,f(a+h)) is: msecant=f(a+h)f(a)hm_{\text{secant}} = \frac{f(a+h) - f(a)}{h}msecant=hf(a+h)f(a)

As h0h \to 0h0, this approaches the slope of the tangent line. This limit is called the derivative of fff at aaa:

Derivative (Definition): The derivative of fff at aaa, denoted f(a)f'(a)f(a), is: f(a)=limh0f(a+h)f(a)hf'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}f(a)=limh0hf(a+h)f(a) provided this limit exists.

Equivalent form using x=a+hx = a + hx=a+h: f(a)=limxaf(x)f(a)xaf'(a) = \lim_{x \to a} \frac{f(x) - f(a)}{x - a}f(a)=limxaxaf(x)f(a)

Interpreting the Derivative

The derivative f(a)f'(a)f(a) represents:

  • The slope of the tangent line to the curve y=f(x)y = f(x)y=f(x) at the point (a,f(a))(a, f(a))(a,f(a))
  • The instantaneous rate of change of fff at x=ax = ax=a
  • For a position function, the instantaneous velocity

The Derivative as a Function

Instead of just finding f(a)f'(a)f(a) at a single point, we can define the derivative function f(x)f'(x)f(x):

f(x)=limh0f(x+h)f(x)hf'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}f(x)=limh0hf(x+h)f(x)

This function gives the derivative at every point in the domain.

Example: Find the derivative of f(x)=x2f(x) = x^2f(x)=x2

f(x)=limh0(x+h)2x2h=limh0x2+2xh+h2x2hf'(x) = \lim_{h \to 0} \frac{(x+h)^2 - x^2}{h} = \lim_{h \to 0} \frac{x^2 + 2xh + h^2 - x^2}{h}f(x)=limh0h(x+h)2x2=limh0hx2+2xh+h2x2 =limh02xh+h2h=limh0(2x+h)=2x= \lim_{h \to 0} \frac{2xh + h^2}{h} = \lim_{h \to 0} (2x + h) = 2x=limh0h2xh+h2=limh0(2x+h)=2x

So f(x)=2xf'(x) = 2xf(x)=2x for the function f(x)=x2f(x) = x^2f(x)=x2.

When Derivatives Don't Exist

A derivative fails to exist at a point if:

  1. The function is discontinuous there
  2. There's a sharp corner or cusp (left and right derivatives don't match)
  3. The tangent line is vertical

Example: f(x)=xf(x) = |x|f(x)=x is not differentiable at x=0x = 0x=0 because the left tangent slope is -1 and the right tangent slope is +1.

Notation

Different notations for the derivative:

  • f(x)f'(x)f(x) or f(a)f'(a)f(a) — Lagrange notation
  • dfdx\frac{df}{dx}dxdf or dfdxx=a\frac{df}{dx}\bigg|_{x=a}dxdfx=a — Leibniz notation
  • Dxf(x)D_x f(x)Dxf(x) — operator notation
  • s˙(t)\dot{s}(t)s˙(t) — dot notation (common in physics for time derivatives)

Differentiability and Continuity

Key relationship: If fff is differentiable at aaa, then fff is continuous at aaa.

Proof sketch: Differentiability means f(a)=limh0f(a+h)f(a)hf'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}f(a)=limh0hf(a+h)f(a) exists.

We can rewrite: limh0[f(a+h)f(a)]=limh0[f(a+h)f(a)hh]=f(a)0=0\lim_{h \to 0} [f(a+h) - f(a)] = \lim_{h \to 0} \left[ \frac{f(a+h) - f(a)}{h} \cdot h \right] = f'(a) \cdot 0 = 0limh0[f(a+h)f(a)]=limh0[hf(a+h)f(a)h]=f(a)0=0

This means limh0f(a+h)=f(a)\lim_{h \to 0} f(a+h) = f(a)limh0f(a+h)=f(a), which is the definition of continuity.

Contrapositive: If fff 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|x|x at x=0x = 0x=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)f'(x)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)f'(a)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)=limh0f(x+h)f(x)hf'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}f(x)=limh0hf(x+h)f(x)

The domain of ff'f consists of all values of xxx for which this limit exists.

Common Derivatives

From first principles, you can derive:

Function Derivative
f(x)=cf(x) = cf(x)=c (constant) f(x)=0f'(x) = 0f(x)=0
f(x)=xnf(x) = x^nf(x)=xn f(x)=nxn1f'(x) = nx^{n-1}f(x)=nxn1 (Power Rule)
f(x)=exf(x) = e^xf(x)=ex f(x)=exf'(x) = e^xf(x)=ex
f(x)=sinxf(x) = \sin xf(x)=sinx f(x)=cosxf'(x) = \cos xf(x)=cosx
f(x)=cosxf(x) = \cos xf(x)=cosx f(x)=sinxf'(x) = -\sin xf(x)=sinx

Tangent Line at a Point

Once you have f(x)f'(x)f(x), the equation of the tangent line at (a,f(a))(a, f(a))(a,f(a)) is: yf(a)=f(a)(xa)y - f(a) = f'(a)(x - a)yf(a)=f(a)(xa)

Example: Find the tangent line to f(x)=x2f(x) = x^2f(x)=x2 at x=1x = 1x=1

We found earlier that f(x)=2xf'(x) = 2xf(x)=2x, so f(1)=2f'(1) = 2f(1)=2. The tangent line at (1,1)(1, 1)(1,1) is: y1=2(x1)y - 1 = 2(x - 1)y1=2(x1) y=2x1y = 2x - 1y=2x1

Geometric Interpretation

The graph of ff'f tells you where fff is increasing (where f>0f' > 0f>0), decreasing (where f<0f' < 0f<0), and has horizontal tangents (where f=0f' = 0f=0). This is the foundation for curve sketching and optimization.

📝 Section Recap: The derivative function f(x)f'(x)f(x) gives the instantaneous rate of change at every point. From f(x)f'(x)f(x), you can immediately write the equation of the tangent line at any point (a,f(a))(a, f(a))(a,f(a)). The sign and magnitude of f(x)f'(x)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:

  1. The tangent problem: Finding the slope of a line touching a curve at one point requires taking the limit of secant slopes.

  2. The velocity problem: Finding instantaneous velocity requires taking the limit of average velocities over shrinking time intervals.

  3. Limits: The limit limxaf(x)=L\lim_{x \to a} f(x) = Llimxaf(x)=L means f(x)f(x)f(x) approaches LLL as xxx approaches aaa. Limits can be found numerically, graphically, or algebraically.

  4. One-sided limits: Limits from the left and right can differ; both must exist and be equal for a two-sided limit to exist.

  5. Limit laws: Algebraic rules let us compute complex limits from simpler ones. Direct substitution works for continuous functions.

  6. Rigorous definition: The epsilon-delta definition precisely quantifies what "approaching" means.

  7. Continuity: Functions are continuous where they have no breaks, jumps, or holes. Intermediate Value Theorem applies to continuous functions.

  8. Limits at infinity: Describe long-term behavior and horizontal asymptotes.

  9. The derivative: The limit f(a)=limh0f(a+h)f(a)hf'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}f(a)=limh0hf(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.