The Timpson Lyceum seal

The Timpson Lyceum · Real Analysis (2020)

Lecture 13 (Real Analysis 2020)

Overview

This lecture introduces the derivative — the third of the four big ideas of calculus (limit, continuity, derivative, integral). Intuitively, the derivative is the slope of a function at a single point, made precise as a special kind of limit. We start from the familiar middle-school slope of a line (rise over run), generalize it to the slope of a curve by letting two points slide together, and arrive at the formal definition as the limit of a difference quotient. We then build the basic machinery: the tangent line, the fact that differentiability implies continuity, and the standard rules for differentiating sums, products, reciprocals, quotients, and power functions.

Key Concepts

Slope of a line (motivation). For a straight line through two points (x1,f(x1))(x_1, f(x_1)) and (x2,f(x2))(x_2, f(x_2)), the slope is the rise over the run: m=f(x2)−f(x1)x2−x1.m = \frac{f(x_2) - f(x_1)}{x_2 - x_1}. The slope is the same no matter which two points you pick — the defining feature of a line.

The difference quotient. For a general function and a fixed point x0x_0, the slope of the secant line through (x0,f(x0))(x_0, f(x_0)) and (x,f(x))(x, f(x)) is f(x0)−f(x)x0−x.\frac{f(x_0) - f(x)}{x_0 - x}. This expression is called the difference quotient (a difference of values in a quotient). As xx moves closer to x0x_0, the secant slope better approximates the slope at x0x_0.

Neighborhood. An open interval (a,b)(a,b) is the set of all points strictly between aa and bb. An open interval containing x0x_0 is called a neighborhood of x0x_0. We typically write II for a neighborhood of x0x_0.

Definition of the derivative. Let II be a neighborhood of x0x_0 and f:I→Rf : I \to \mathbb{R}. We say ff is differentiable at x0x_0 provided the limit f′(x0)=lim⁡x→x0f(x0)−f(x)x0−xf'(x_0) = \lim_{x \to x_0} \frac{f(x_0) - f(x)}{x_0 - x} exists, in which case this limit is the derivative of ff at x0x_0. (Because it is a limit, xx never actually equals x0x_0, so the denominator is never zero in the limiting process.) If ff is differentiable at every point of II, we call ff differentiable.

When the derivative fails to exist. A function has no derivative where the slope is not well defined — at a sharp corner (e.g. ∣x∣|x| at 00), or anywhere it is discontinuous (no derivative without continuity).

The tangent line. If ff is differentiable at x0x_0, the tangent line to ff at (x0,f(x0))(x_0, f(x_0)) is y=f(x0)+f′(x0) (x−x0).y = f(x_0) + f'(x_0)\,(x - x_0). This mirrors the point–slope form of a line; y=mx+by = mx + b is the special case x0=0x_0 = 0. Once the derivative exists at a point, this tangent line is unique.

Differentiability implies continuity. If ff is differentiable at x0x_0, then ff is continuous at x0x_0 (i.e. lim⁡x→x0f(x)=f(x0)\lim_{x \to x_0} f(x) = f(x_0)). The converse fails: ∣x∣|x| is continuous everywhere but not differentiable at 00, and there even exist functions continuous everywhere yet nowhere differentiable.

Differentiation rules. For functions differentiable at x0x_0:

Worked Example

Prove from the definition that if f(x)=x2f(x) = x^2, then f′(x0)=2x0f'(x_0) = 2x_0. The key trick is to factor the numerator so the troublesome x0−xx_0 - x in the denominator cancels, after which the limit is found by direct substitution.

f′(x0)=lim⁡x→x0f(x0)−f(x)x0−x=lim⁡x→x0x0 2−x2x0−x=lim⁡x→x0(x0−x)(x0+x)x0−x=lim⁡x→x0(x0+x)=x0+x0=2x0.\begin{aligned} f'(x_0) &= \lim_{x \to x_0} \frac{f(x_0) - f(x)}{x_0 - x} \\ &= \lim_{x \to x_0} \frac{x_0^{\,2} - x^{2}}{x_0 - x} \\ &= \lim_{x \to x_0} \frac{(x_0 - x)(x_0 + x)}{x_0 - x} \\ &= \lim_{x \to x_0} (x_0 + x) \\ &= x_0 + x_0 = 2x_0. \end{aligned}

As a check on the product rule, take f(x)=3x2⋅2x3=6x5f(x) = 3x^2 \cdot 2x^3 = 6x^5, whose derivative is 30x430x^4. Applying the rule gives the same result:

(fg)′=f′ g+g′ f=(6x)(2x3)+(6x2)(3x2)=12x4+18x4=30x4.\begin{aligned} (fg)' &= f'\,g + g'\,f \\ &= (6x)(2x^3) + (6x^2)(3x^2) \\ &= 12x^4 + 18x^4 = 30x^4. \end{aligned}

Summary