Unit 2 · Differentiation — Definition and Fundamental Properties
📌 AP Calc AB Unit 2 — Differentiation10–12% of exam · Limit definition of derivative · Power, product, quotient rules · Differentiability & continuity · Higher-order derivatives
Unit 2 establishes the foundational machinery of differential calculus: the derivative defined as the instantaneous rate of change via limits, algebraic differentiation shortcuts, the fundamental relationship between differentiability and continuity, and higher-order derivatives.
Level 1 · Foundations — The Limit Definition of the Derivative & Power Rule
The derivative measures the instantaneous rate of change and the exact slope of the tangent line to a curve.
Instantaneous rate of change f'(2) = \lim_{h approaches 0}fraction f(2+h)-f(2) over h = 2f′(2)=limh→0hf(2+h)−f(2)=2 visualized as the slope of the tangent line at (2, 2)(2,2).Horizontal tangents on \(f(x)\) at \(x = \pm 1\) align directly with the \(x\)-intercepts of \(f'(x) = x^2 - 1\).
● Two Equivalent Formulations of the Derivative at a Point
The derivative of \(f\) at \(x = c\), denoted \(f'(c)\), is defined by either of the two equivalent limits (provided the limit exists):
Difference Quotient (h-formulation): \[ f'(c) = \lim_{h \to 0} \frac{f(c + h) - f(c)}{h} \] Here \(h = \Delta x\) represents the horizontal displacement from \(c\).
Secant Line Formulation (x-formulation): \[ f'(c) = \lim_{x \to c} \frac{f(x) - f(c)}{x - c} \] Here \(x\) moves along the domain toward fixed point \(c\).
If the limit is finite, \(f\) is said to be differentiable at \(c\), and \(f'(c)\) represents the slope of the tangent line to \(y = f(x)\) at \((c, f(c))\).
● Rigorous Proofs of Fundamental Differentiation Rules
1. Power Rule Proof for Positive Integers \(n\): Let \(f(x) = x^n\). By definition: \[ f'(x) = \lim_{h\to 0} \frac{(x+h)^n - x^n}{h} \] By the Binomial Theorem: \((x+h)^n = x^n + n x^{n-1}h + \binom{n}{2}x^{n-2}h^2 + \cdot s + h^n\). Subtracting \(x^n\) and dividing by \(h\): \[ \frac{(x+h)^n - x^n}{h} = n x^{n-1} + \binom{n}{2}x^{n-2}h + \cdot s + h^{n-1} \] Taking the limit as \(h \to 0\), every term containing \(h\) vanishes: \[ f'(x) = \mathbf{n x^{n-1}}. \quad \blacksquare \]
2. Product Rule Proof: Let \(u(x) = f(x)g(x)\). By definition: \[ u'(x) = \lim_{h\to 0} \frac{f(x+h)g(x+h) - f(x)g(x)}{h} \] Add and subtract \(f(x+h)g(x)\) in the numerator: \[ u'(x) = \lim_{h\to 0} \frac{f(x+h)g(x+h) - f(x+h)g(x) + f(x+h)g(x) - f(x)g(x)}{h} \] Group and factor: \[ = \lim_{h\to 0} \left[ f(x+h) \cdot \frac{g(x+h) - g(x)}{h} + g(x) \cdot \frac{f(x+h) - f(x)}{h} \right] \] Since \(f\) is differentiable, \(\lim_{h\to 0} f(x+h) = f(x)\). Thus: \[ u'(x) = \mathbf{f(x)g'(x) + g(x)f'(x)}. \quad \blacksquare \]
◆ Why It Works — First-Principles Derivation (Unit 2 · Differentiation — Definition and Fundamental Properties)
Why Differentiability Implies Continuity & How Implicit Differentiation Works: Notice that for \(x \ne a\), we can write \(f(x) - f(a) = \dfrac{f(x) - f(a)}{x - a}\cdot (x - a)\). Taking the limit as \(x \to a\) by the Product Law gives:
Similarly, when differentiating an implicit relation \(F(x, y) = c\) with respect to \(x\), \(y = y(x)\) is an inner function of \(x\). By the Chain Rule, \(\dfrac{d}{dx}\bigl[y^n\bigr] = ny^{n-1}\dfrac{dy}{dx}\), and for product terms \(\dfrac{d}{dx}[xy] = y + x\dfrac{dy}{dx}\).
Level 1 (Foundations) — Worked Example · Recognizing Derivative Limits
Problem. Evaluate the following limits without using L'Hôpital's Rule by identifying them as derivatives:
Match to \(\lim_{h \to 0} \frac{f(c+h) - f(c)}{h} = f'(c)\). Here \(f(x) = \cos x\) and \(c = \pi/3\) (since \(\cos(\pi/3) = 1/2\)). The derivative is \(f'(x) = -\sin x\). Therefore: \[ \lim_{h\to 0}\frac{\cos(\pi/3+h)-1/2}{h} = -\sin(\pi/3) = \mathbf{-\frac{\sqrt{3}}{2}}. \]
Match to \(\lim_{x \to c} \frac{f(x) - f(c)}{x - c} = f'(c)\). Here \(f(x) = \sqrt{x}\) and \(c = 4\) (since \(\sqrt{4} = 2\)). The derivative is \(f'(x) = \frac{1}{2\sqrt{x}}\). Therefore: \[ \lim_{x\to 4}\frac{\sqrt{x}-2}{x-4} = f'(4) = \frac{1}{2\sqrt{4}} = \mathbf{\frac{1}{4}}. \]
Worked Example \(B\) — Unit 2 · Differentiation — Definition and Fundamental Properties (Easy Application)
Problem. The graph of a differentiable function \( f(x) \) is shown below. Which of the following statements about the derivative of \( f(x) \), denoted \( f'(x) \), at \( x = 1 \) is true?
▸ Show step-by-step solution
The derivative of a function at a point represents the slope of the tangent line to the graph of the function at that point. Observing the graph at \( x = 1 \), the function \( f(x) \) has a positive slope. Therefore, \( f'(1) \) is positive. A negative slope would indicate a decreasing function, and a zero slope would indicate a horizontal tangent line.
⚠️ Common Exam Traps — Unit 2 · Differentiation — Definition and Fundamental Properties
1. Premature L'Hôpital's Rule Application: On College Board AP Calculus AB, applying L'Hôpital's Rule to \(\lim_{x \to 4} \dfrac{g(x)}{h(x)}\) when the fraction is not an indeterminate form \(0/0\) or \(\infty/\infty\) produces completely false limits. Always verify \(g(4) = 0\) and \(h(4) = 0\) explicitly first.
2. Parametric Second Derivative Trap: For parametric curves \((x(t), y(t))\), \(\dfrac{d^2y}{dx^2} = \dfrac{\frac{d}{dt}(dy/dx)}{dx/dt}\), never \(\dfrac{d^2y/dt^2}{d^2x/dt^2}\).
Error Diagnosis — Common Student Traps vs. Exam-Board Method (Unit 2 · Differentiation — Definition and Fundamental Properties)
Common Student Trap
Why It Fails Mathematically
Correct Exam-Board Method
Assuming \(f'(c) = 0\) guarantees a local extremum
Inflection points like \(f(x) = x^3\) at \(x = 0\) have \(f'(0) = 0\) without changing sign.
Verify that \(f'(x)\) actually changes sign across \(x = c\) (or check \(f''(c) \ne 0\)).
Computing parametric \(\frac{d^2y}{dx^2}\) as \(\frac{\ddot{y}}{\ddot{x}}\)
violates the Chain Rule \(\frac{d}{dx} = \frac{1}{dx/dt}\frac{d}{dt}\).
Differentiate \(dy/dx\) with respect to \(t\), then divide by \(dx/dt\).
Forgetting product rule on \(xy\) in implicit differentiation
Treats \(y\) as a constant instead of \(y(x)\).
Always expand \(\frac{d}{dx}(xy) = y + x\frac{dy}{dx}\).
▲ Exam Pacing & Verification Strategy — Unit 2 · Differentiation — Definition and Fundamental Properties
Exam Justification Rule (College Board AP Calculus AB): When justifying local extrema or points of inflection on free-response questions, state "because \(f'(x)\) changes sign from positive to negative at \(x = c\)" rather than referring vaguely to "it" or "the graph."
Level 1 · Foundations
Find the derivative of \(f(x) = x^4 e^x - \frac{\sin x}{x^2 + 1}\).
💡 Hint 1 of 3
Apply Product Rule to \(x^4 e^x\) and Quotient Rule to \(\frac{\sin x}{x^2+1}\): \(\frac{d}{dx}[x^4 e^x] = 4x^3 e^x + x^4 e^x = x^3 e^x(4 + x)\).
💡 Hint 2 of 3
Rewrite and simplify to obtain: \(\frac{d}{dx}\left[\frac{\sin x}{x^2+1}\right] = \frac{(\cos x)(x^2+1) - (\sin x)(2x)}{(x^2+1)^2} = \frac{(x^2+1)\cos x - 2x\sin x}{(x^2+1)^2}\).
Level 2 · Medium — Tangent Lines & Differentiability vs Continuity
Every differentiable function is continuous, but continuity does not guarantee differentiability. Tangent lines provide linear approximations to curved functions.
Theorem: If \(f\) is differentiable at \(x = c\), then \(f\) is continuous at \(x = c\).
Proof: We show that \(\lim_{x\to c} f(x) = f(c)\), or equivalently \(\lim_{x\to c}[f(x) - f(c)] = 0\). For \(x \neq c\): \[ f(x) - f(c) = \frac{f(x) - f(c)}{x - c} \cdot (x - c) \] Taking limits as \(x \to c\): \[ \lim_{x\to c}[f(x) - f(c)] = \lim_{x\to c}\left[\frac{f(x) - f(c)}{x - c}\right] \cdot \lim_{x\to c}(x - c) = f'(c) \cdot 0 = 0 \] Therefore, \(\lim_{x\to c} f(x) = f(c)\), confirming continuity. \(\blacksquare\)
The Converse is FALSE: A function can be continuous at \(x = c\) yet fail to be differentiable:
Sharp Corner: \(f(x) = |x|\) at \(x = 0\). Left-hand derivative is \(-1\); right-hand derivative is \(+1\). The limits disagree, so \(f'(0)\) does not exist.
Cusp: \(f(x) = x^{2/3}\) at \(x = 0\). One-sided difference quotients approach \(-\infty\) on the left and \(+\infty\) on the right.
Vertical Tangent: \(f(x) = x^{1/3}\) at \(x = 0\). The difference quotient \(\lim_{h\to 0} h^{-2/3} = +\infty\). The tangent line is vertical (slope undefined).
Discontinuity: If \(f\) is discontinuous at \(c\), it is automatically non-differentiable at \(c\).
⊙ Explorer · A function and its derivative
interactive
Sampled points on \(f(x)\) and its derivative \(f'(x)\)
\(x\)
\(f(x)\)
\(f'(x)\) (slope)
\(f(x)\)—
\(f'(x)\) = tangent slope—
Where \(f(x)\) has a horizontal tangent (local maximum or minimum at \(x\) = ±1), the amber derivative curve crosses zero \((f'(x) = 0)\).
Level 2 (Medium) — Worked Example · Tangent & Normal Line Equations
Problem. Find the equations of the tangent line and the normal line (perpendicular line) to the curve \(f(x) = \frac{2x}{x+1}\) at the point where \(x = 1\).
▸ Show step-by-step solution
Point of tangency: \(f(1) = \frac{2(1)}{1+1} = \frac{2}{2} = 1\). Coordinate: \((1, 1)\).
Tangent line equation: \[ y - 1 = \frac{1}{2}(x - 1) \implies y = \frac{1}{2}x + \frac{1}{2}. \]
Normal line slope: \(m_{\text{norm}} = -\frac{1}{m_{\text{tan}}} = -2\). \[ y - 1 = -2(x - 1) \implies y = -2x + 3. \]
Level 2 · Medium
Find the value of \(a\) and \(b\) such that the line \(y = 4x - 1\) is tangent to \(f(x) = ax^2 + bx\) at \(x = 1\).
💡 Hint 1 of 3
Value match at \(x = 1\): The tangent line gives \(y(1) = 4(1) - 1 = 3\). Thus \(f(1) = a(1)^2 + b(1) = 3 \implies a + b\).
💡 Hint 2 of 3
Slope match at \(x = 1\): The tangent line has slope \(m = 4\). Derivative: \(f'(x) = 2ax + b\). Thus \(f'(1) = 2a + b\).
💡 Hint 3 of 3
Solve system: Subtract equations: \((2a + b) - (a + b) = 4 - 3\). Then \(b = 3 - a\).
1. Value match at \(x = 1\): The tangent line gives \(y(1) = 4(1) - 1 = 3\). Thus \(f(1) = a(1)^2 + b(1) = 3 \implies a + b = 3\). 2. Slope match at \(x = 1\): The tangent line has slope \(m = 4\). Derivative: \(f'(x) = 2ax + b\). Thus \(f'(1) = 2a + b = 4\). 3. Solve system: Subtract equations: \((2a + b) - (a + b) = 4 - 3 \implies \mathbf{a = 1}\). Then \(b = 3 - a = \mathbf{2}\).
For a piecewise function to be differentiable at a junction boundary, it must satisfy two separate conditions: continuity at the boundary AND agreement of one-sided derivatives.
Level 3 (Advanced) — Worked Example · Piecewise Differentiability Conditions
Problem. Determine constants \(m\) and \(k\) so that \(g(x)\) is differentiable for all \(x \in \mathbb{R}\): \[ g(x) = \begin{cases} mx^2 + 2x & x \le 2 \\ x^3 + kx & x > 2 \end{cases} \]
Step 2: Enforce Equal One-Sided Derivatives at \(x = 2\): Differentiate piecewise: \[ g'(x) = \begin{cases} 2mx + 2 & x < 2 \\ 3x^2 + k & x > 2 \end{cases} \] \[ \lim_{x\to 2^-} g'(x) = 2m(2) + 2 = 4m + 2 \] \[ \lim_{x\to 2^+} g'(x) = 3(2)^2 + k = 12 + k \] Equating: \(4m + 2 = 12 + k \implies \mathbf{4m - k = 10}\).
Step 3: Solve the Linear System: Subtract Step 1 from Step 2: \[ (4m - k) - (2m - k) = 10 - 2 \implies 2m = 8 \implies \mathbf{m = 4}. \] Substitute back: \(2(4) - k = 2 \implies 8 - k = 2 \implies \mathbf{k = 6}\).
Level 3 · Advanced
Find the 42nd derivative \(f^{(42)}(x)\) of \(f(x) = \sin(2x)\).
💡 Hint 1 of 3
Each differentiation introduces a factor of 2 by the Chain Rule and cycles through sine and cosine with period 4: \(f'(x) = 2\cos(2x)\).
💡 Hint 2 of 3
Rewrite and simplify to obtain: \(f''(x) = -2^2\sin(2x)\) \(f'''(x) = -2^3\cos(2x)\) \(f^{(4)}(x) = 2^4\sin(2x)\).
💡 Hint 3 of 3
Divide order by 4: \(42 = 4(10) + 2\), so \(f^{(42)}\) has the same trigonometric phase as \(f''(x)\): \(f^{(42)}(x) = -2^{42}\sin(2x)\).
Each differentiation introduces a factor of 2 by the Chain Rule and cycles through sine and cosine with period 4: \(f'(x) = 2\cos(2x)\) \(f''(x) = -2^2\sin(2x)\) \(f'''(x) = -2^3\cos(2x)\) \(f^{(4)}(x) = 2^4\sin(2x)\) Divide order by 4: \(42 = 4(10) + 2\), so \(f^{(42)}\) has the same trigonometric phase as \(f''(x)\): \[ f^{(42)}(x) = -2^{42}\sin(2x) = \mathbf{-4{,}398{,}046{,}511{,}104\sin(2x)}. \]
[Practice 4 · Medium] The graph of a differentiable function \(f(x)\) is shown below. The tangent line to the graph at \(x=1\) has the equation \(y = 2x + k\). Given that \(f(1) = 3\), determine the value of \(k\).
💡 Hint 1 of 3
The equation of a tangent line to a function \(f(x)\) at a point \((a, f(a))\) is given by \(y - f(a) = f'(a)(x - a)\). We are given that the tangent line at \(x=1\) has the equation \(y = 2x + k\). The slope of this tangent line is \(2\), which means \(f'(1) = 2\). We are also given that \(f(1) = 3\). Substituting these values into the point-slope form of the tangent line equation: \(y - 3 = 2(x - 1)\).
💡 Hint 2 of 3
Rewrite and simplify to obtain: \(y - 3 = 2x - 2\) \(y = 2x - 2 + 3\).
💡 Hint 3 of 3
Use the resulting form to finish: \(k = 3 - 2\).
The equation of a tangent line to a function \(f(x)\) at a point \((a, f(a))\) is given by \(y - f(a) = f'(a)(x - a)\). We are given that the tangent line at \(x=1\) has the equation \(y = 2x + k\). The slope of this tangent line is \(2\), which means \(f'(1) = 2\). We are also given that \(f(1) = 3\). Substituting these values into the point-slope form of the tangent line equation:
\(y - 3 = 2(x - 1)\)
\(y - 3 = 2x - 2\)
\(y = 2x - 2 + 3\)
\(y = 2x + 1\)
Comparing this to the given tangent line equation \(y = 2x + k\), we can see that \(k=1\).
Alternatively, since the point \((1, f(1))\) lies on the tangent line, we can substitute \(x=1\) and \(y=f(1)=3\) into the equation of the tangent line:
\(3 = 2(1) + k\)
\(3 = 2 + k\)
\(k = 3 - 2\)
\(k = 1\).
What is the value of \( \lim_{h \to 0} \frac{(2+h)^4 - 16}{h} \)?
💡 Hint 1 of 3
By definition, the derivative of a function \( f \) at \( x = a \) is given by: \(f'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}\).
💡 Hint 2 of 3
The expression \( \lim_{h \to 0} \frac{(2+h)^4 - 16}{h} \) matches this definition for the function \( f(x) = x^4 \) evaluated at \( a = 2 \), since \( f(2) = 2^4 = 16 \). Applying the power rule to find the derivative: \(f'(x) = 4x^3\).
💡 Hint 3 of 3
Evaluating at \(x = 2\): \(f'(2) = 4(2)^3 = 4(8)\).
By definition, the derivative of a function \( f \) at \( x = a \) is given by:
\[ f'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h} \]
The expression \( \lim_{h \to 0} \frac{(2+h)^4 - 16}{h} \) matches this definition for the function \( f(x) = x^4 \) evaluated at \( a = 2 \), since \( f(2) = 2^4 = 16 \).
Applying the power rule to find the derivative:
\[ f'(x) = 4x^3 \]
Evaluating at \( x = 2 \):
\[ f'(2) = 4(2)^3 = 4(8) = 32 \]
Common Misconceptions:
- Choice A (8): Results from incorrectly applying the power rule as \( 4x \) and evaluating at \( x = 2 \).
- Choice B (16): Confuses the value of the limit with the value of the function at the point, \( f(2) = 16 \).
- Choice D (64): Results from evaluating \( 4^3 \) instead of \( 4(2)^3 \).
● Master Atlas of the 9 Main Parent Functions & Universal Transformation Law
Every algebraic and elementary transcendental model is built by transforming one of the nine core parent functions via \(g(x) = a\,f(x - h) + k\), where \(|a|\) scales vertically (reflecting across the \(x\)-axis if \(a < 0\)), \(h\) shifts horizontally, and \(k\) shifts vertically:
⊙ Explorer · Cubic Inflection & Polynomial Parent Functions Lab
interactive
Comparison of parent function \(f(x)\) and transformed function \(g(x) = a\,f(x - h) + k\) across integer inputs.
\(x\)
Parent \(f(x)\)
Transformed \(g(x)\)
Active Equationf(x) = x³
Domain(−∞, ∞)
Range(−∞, ∞)
Vertex / AsymptotesInflection point (0, 0)
Interceptsy-int: (0, 0) · x-int: (0, 0)
Starts on the cubic polynomial family \(f(x) = a(x - h)^3 + k\) centered at its inflection point \((h, k)\). Explore end behavior, zero multiplicity, and transformations across all 9 parent functions.
Unit 2 · Differentiation — Definition and Fundamental Properties — 9-Point 4-Part FRQ
9 pts
No Calculator
In wind turbine telemetry study #19, differentiable functions \(f\) and \(g\) take the values shown in the table. Let \(P(x) = f(x)g(x)\), \(Q(x) = \dfrac{f(x)}{g(x)}\), and \(H(x) = f(g(x))\).