The Derivative: Foundations, Difference Quotients & Differentiation Rules
Rigorous theory of differentiation: secant-to-tangent limiting process, Newton difference quotient, one-sided derivatives, proof that differentiability implies continuity, failure modes (cusps, vertical tangents, wild oscillations), power rule, product rule proof, quotient rule, and derivatives of trigonometric, exponential, and hyperbolic functions.
§5.1 The Tangent Line Problem, Instantaneous Rates & Difference Quotients
1. The Tangent Line as a Limiting Secant Line
Let $P(x_0, f(x_0))$ be a fixed point on the curve $y = f(x)$. Let $Q(x_0 + h, f(x_0 + h))$ be a neighboring point with $h \ne 0$. The slope of the secant line passing through $P$ and $Q$ is given by the Newton-Leibniz difference quotient:
As $h \to 0$, point $Q$ slides along the curve toward $P$. If the secant slopes approach a unique finite limiting value, that limit is defined as the slope of the tangent line to the curve at $P$:
2. Equations of Tangent and Normal Lines
- Tangent Line: Passing through $(x_0, y_0)$ with slope $m = f'(x_0)$:
$$y - f(x_0) = f'(x_0)(x - x_0)$$
- Normal Line: The line perpendicular to the tangent line at $(x_0, y_0)$ (provided $f'(x_0) \ne 0$, having slope $m_{\perp} = -1/f'(x_0)$):
$$y - f(x_0) = -\frac{1}{f'(x_0)}(x - x_0)$$
§5.2 One-Sided Derivatives & Differentiability Implying Continuity
1. One-Sided Derivatives
A function is differentiable at $x_0$ if and only if both one-sided derivatives exist as finite numbers and are equal: $f'(x_0) = f'_+(x_0) = f'_-(x_0)$.
2. Theorem: Differentiability Implies Continuity
Proof: To prove continuity, we must show that $\lim_{x \to x_0} [f(x) - f(x_0)] = 0$. For $x \ne x_0$, write:
Taking the limit as $x \to x_0$ using the product limit law:
Thus $\lim_{x \to x_0} f(x) = f(x_0)$, proving that $f$ is continuous at $x_0 \quad \blacksquare$
3. The Converse is False: Geometric Non-Differentiability Modes
Continuity is a strictly weaker condition than differentiability. Functions may fail to be differentiable at points where they are continuous due to:
- Corner Point (Cusp): Left and right derivatives differ ($f(x) = |x|$ at $x = 0$, where $f'_-(0) = -1 \ne f'_+(0) = +1$).
- Vertical Tangent: The difference quotient diverges to $\pm\infty$ ($f(x) = x^{1/3}$ at $x = 0$, where $f'(0) = \lim_{h \to 0} h^{1/3}/h = \lim_{h \to 0} 1/h^{2/3} = \infty$).
- Wild Oscillation: $f(x) = x \sin(1/x)$ for $x \ne 0$ and $f(0) = 0$ is continuous at $x = 0$, but its difference quotient $\sin(1/h)$ oscillates indefinitely between $-1$ and $+1$ as $h \to 0$.
§5.3 Fundamental Algebraic Differentiation Rules & Rigorous Proofs
1. The Power Rule
Proof for $n \in \mathbb{N}$ via Binomial Theorem:
2. Linearity of the Derivative Operator
3. The Product Rule & Line-by-Line Deductive Proof
Proof: Form the difference quotient for the product $P(x) = f(x) g(x)$:
Add and subtract the strategic intermediate term $f(x) g(x + h)$ in the numerator:
Taking the limit as $h \to 0$: since $g$ is differentiable at $x$, it is continuous at $x$, so $\lim_{h \to 0} g(x + h) = g(x)$. Therefore:
4. The Quotient Rule
§5.4 Derivatives of Trigonometric, Exponential & Hyperbolic Functions
1. Derivatives of Trigonometric Functions
Using the angle addition identity $\sin(x + h) = \sin x \cos h + \cos x \sin h$:
Similarly, using the Quotient Rule:
2. Derivatives of Exponential & Logarithmic Functions
3. Derivatives of Hyperbolic Functions
Step-by-Step Solved Examination Problems
Comprehensive analytical derivations, multi-tier solutions (Foundational, Intermediate Exam, and Honors/Proof Challenge) with complete line-by-line verification.
Compute the exact derivative $f'(x)$ for: (a) $f(x) = (3x^2 - 5x + 2) e^x$, and (b) $g(x) = \frac{x^2 \sin x}{x + \cos x}$.
Differentiating term by term and factoring out $e^x$.
Combining like algebraic polynomial coefficients.
Compute numerator derivative: $\frac{d}{dx}[x^2 \sin x] = 2x \sin x + x^2 \cos x$. Compute denominator derivative: $\frac{d}{dx}[x + \cos x] = 1 - \sin x$.
This gives the exact derivative.
f'(x) = (3x^2 + x - 3) e^x, \qquad g'(x) = \frac{(2x \sin x + x^2 \cos x)(x + \cos x) - x^2 \sin x (1 - \sin x)}{(x + \cos x)^2}
Find the exact Cartesian equations of the tangent line and the normal line to the curve $y = f(x) = x^2 \ln(x) - 3x$ at the point where $x = 1$.
The point of tangency on the curve is $(1, -3)$.
Applying the Product Rule to $x^2 \ln x$.
The tangent slope is $m = -2$. The normal slope is $m_{\perp} = -1/(-2) = 1/2$.
Writing in slope-intercept form.
\text{Tangent Line: } y = -2x - 1, \qquad \text{Normal Line: } y = \frac{1}{2}x - \frac{7}{2}
Consider the function $f(x) = \begin{cases} x^2 \sin\left(\frac{1}{x}\right), & x \ne 0 \\ 0, & x = 0 \end{cases}$. (a) Prove using the limit definition that $f'(0)$ exists and find its value. (b) For $x \ne 0$, compute $f'(x)$. (c) Prove that $\lim_{x \to 0} f'(x)$ does NOT exist, and explain why this demonstrates that a derivative function need not be continuous.
We must evaluate this limit as $h o 0$.
Because $\lim_{h o 0} (\pm|h|) = 0$, the Squeeze Theorem guarantees that $f'(0) = 0$ exists.
Applying product and chain rules for $x e 0$.
As $x o 0$, $2x \sin(1/x) o 0$ by squeezing, but $\cos(1/x)$ oscillates between $-1$ and $+1$ infinitely often. Thus $\lim_{x o 0} f'(x)$ does not exist. Since $\lim_{x o 0} f'(x) e f'(0) = 0$, the derivative $f'(x)$ is discontinuous at $x = 0$, providing a classic counterexample.
f'(0) = 0 \text{ exists}; \quad f'(x) = 2x\sin(1/x) - \cos(1/x) \text{ for } x \ne 0; \quad \lim_{x \to 0} f'(x) \text{ DNE (discontinuous derivative)}