Unit 2.2 – Defining the Derivative of a Function and Using Derivative Notation
AP® Calculus AB & BC | The Heart of Differential Calculus
Core Concept: The derivative is THE fundamental concept of differential calculus! While Topic 2.1 introduced instantaneous rate of change at a single point, Topic 2.2 extends this idea to create the derivative function—a formula that gives the instantaneous rate of change at every point in the domain. Understanding derivative notation and the formal limit definition is essential for all derivative calculations, applications, and higher-level calculus!
📐 The Derivative as a Function
THE DERIVATIVE FUNCTION
The derivative of a function \(f\) is itself a function, denoted \(f'(x)\), that gives the instantaneous rate of change of \(f\) at any value of \(x\) in its domain.
Formal Definition (h-form):
Alternative Definition (x-form):
Key Distinction: The first form gives \(f'(x)\) as a function (derivative for all x), while the second gives \(f'(a)\) as a specific number (derivative at one point \(x = a\)).
📝 Important: The derivative \(f'(x)\) exists at \(x = a\) if and only if the limit exists. If the limit doesn't exist, we say \(f\) is not differentiable at \(x = a\).
✍️ Derivative Notation: The Many Faces of f'
ALL THESE NOTATIONS MEAN THE SAME THING!
For a function \(y = f(x)\), the derivative can be written in multiple ways:
| Notation | Name | Read As | Best Used For |
|---|---|---|---|
| \(f'(x)\) | Lagrange (Prime) | "f prime of x" | General calculus, clean formulas |
| \(\frac{dy}{dx}\) | Leibniz | "dy dx" or "dee y dee x" | Related rates, implicit differentiation |
| \(y'\) | Lagrange (Short) | "y prime" | Quick algebraic work |
| \(\frac{df}{dx}\) | Leibniz (Function) | "dee f dee x" | When f is named function |
| \(\dot{y}\) | Newton | "y dot" | Physics (time derivatives) |
| \(Df\) or \(D_x f\) | Euler | "D of f" | Differential equations |
When evaluating the derivative at a particular value \(x = a\):
All mean: "the derivative of f evaluated at x = a"
💡 When to Use Which Notation:
- \(f'(x)\): Best for general derivative problems, applying derivative rules, graphing
- \(\frac{dy}{dx}\): Perfect for related rates (emphasizes variables), implicit differentiation, chain rule
- \(y'\): Convenient shorthand when \(y = f(x)\) and context is clear
- \(\dot{x}\): Used almost exclusively in physics for velocity and acceleration (time derivatives)
📊 Geometric Interpretation: Slope of the Tangent Line
The Single Most Important Geometric Fact:
This connection between derivatives (algebra/calculus) and tangent line slopes (geometry) is why derivatives are so powerful for understanding curves!
To find the equation of the line tangent to \(y = f(x)\) at the point \((a, f(a))\):
- Find the slope: \(m = f'(a)\)
- Use point-slope form:
\[ y - f(a) = f'(a)(x - a) \]
- Simplify if needed to slope-intercept form \(y = mx + b\)
📝 Remember: The tangent line touches the curve at exactly one point and has the same slope as the curve at that point. Think of it as the "best linear approximation" to the function near that point!
✅ Differentiability: When Does the Derivative Exist?
DIFFERENTIABILITY
A function \(f\) is differentiable at \(x = a\) if \(f'(a)\) exists—that is, if the limit \(\lim_{h \to 0} \frac{f(a+h) - f(a)}{h}\) exists and is finite.
A function is differentiable on an interval if it's differentiable at every point in that interval.
KEY THEOREM: Differentiability Implies Continuity
If \(f\) is differentiable at \(x = a\), then \(f\) is continuous at \(x = a\).
Contrapositive: If \(f\) is discontinuous at \(x = a\), then \(f\) is NOT differentiable at \(x = a\).
⚠️ Important: The converse is NOT true! A function can be continuous but NOT differentiable (e.g., \(f(x) = |x|\) at \(x = 0\)).
❌ When Derivatives Don't Exist
Four Main Cases Where f'(a) Does NOT Exist:
If \(f\) has a jump, removable, or infinite discontinuity at \(x = a\), then \(f'(a)\) does not exist.
Example: \(f(x) = \begin{cases} x^2 & x < 1 \\ x + 1 & x \geq 1 \end{cases}\) is not differentiable at \(x = 1\) (jump discontinuity)
If the graph has a sharp corner or cusp at \(x = a\), the left and right derivatives are different, so \(f'(a)\) doesn't exist.
Example: \(f(x) = |x|\) at \(x = 0\) has a corner
Left derivative: \(-1\); Right derivative: \(+1\) → No derivative!
If the tangent line at \(x = a\) is vertical (undefined slope), then \(f'(a)\) doesn't exist (limit goes to ±∞).
Example: \(f(x) = \sqrt[3]{x}\) at \(x = 0\) has vertical tangent
If \(f\) oscillates too wildly near \(x = a\), the difference quotient might not have a limit.
Example: \(f(x) = x\sin(\frac{1}{x})\) near \(x = 0\) (though this function IS differentiable at 0!)
💡 Quick Test for Differentiability:
- Check continuity first: If not continuous, definitely not differentiable
- Look for sharp points: If graph has corner/cusp, not differentiable
- Check for vertical tangents: If tangent is vertical, not differentiable
- Verify one-sided derivatives match: Must have \(f'(a^-) = f'(a^+)\)
📖 Comprehensive Worked Examples
Example 1: Finding f'(x) Using Limit Definition
Problem: Use the limit definition to find \(f'(x)\) for \(f(x) = x^2 + 3x\)
Solution:
- Set up the limit:
\[ f'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h} \]
- Find \(f(x + h)\):
- \(f(x + h) = (x + h)^2 + 3(x + h)\)
- \(= x^2 + 2xh + h^2 + 3x + 3h\)
- Compute the numerator:
\[ f(x + h) - f(x) = (x^2 + 2xh + h^2 + 3x + 3h) - (x^2 + 3x) \]\[ = 2xh + h^2 + 3h \]
- Form the difference quotient:
\[ \frac{f(x + h) - f(x)}{h} = \frac{2xh + h^2 + 3h}{h} = \frac{h(2x + h + 3)}{h} \]
- Cancel h and take the limit:
\[ f'(x) = \lim_{h \to 0} (2x + h + 3) = 2x + 3 \]
Answer: \(f'(x) = 2x + 3\)
Interpretation: At any point x, the slope of the tangent line is \(2x + 3\)
Example 2: Finding f'(a) at a Specific Point
Problem: Find \(f'(2)\) for \(f(x) = x^3\) using the limit definition
Solution:
- Set up with \(a = 2\):
\[ f'(2) = \lim_{h \to 0} \frac{f(2 + h) - f(2)}{h} \]
- Evaluate:
- \(f(2 + h) = (2 + h)^3 = 8 + 12h + 6h^2 + h^3\)
- \(f(2) = 8\)
- Substitute:
\[ f'(2) = \lim_{h \to 0} \frac{(8 + 12h + 6h^2 + h^3) - 8}{h} = \lim_{h \to 0} \frac{12h + 6h^2 + h^3}{h} \]
- Factor and cancel:
\[ = \lim_{h \to 0} \frac{h(12 + 6h + h^2)}{h} = \lim_{h \to 0} (12 + 6h + h^2) \]
- Evaluate the limit:
\[ f'(2) = 12 + 0 + 0 = 12 \]
Answer: \(f'(2) = 12\)
Meaning: At the point \((2, 8)\), the slope of the tangent line is 12
Example 3: Finding Equation of Tangent Line
Problem: Find the equation of the line tangent to \(f(x) = \frac{1}{x}\) at \(x = 2\)
Solution:
- Find the point: \(f(2) = \frac{1}{2}\), so point is \((2, \frac{1}{2})\)
- Find the slope using limit definition:
\[ f'(2) = \lim_{h \to 0} \frac{f(2 + h) - f(2)}{h} = \lim_{h \to 0} \frac{\frac{1}{2+h} - \frac{1}{2}}{h} \]
- Common denominator in numerator:
\[ = \lim_{h \to 0} \frac{\frac{2 - (2+h)}{2(2+h)}}{h} = \lim_{h \to 0} \frac{\frac{-h}{2(2+h)}}{h} \]
- Simplify:
\[ = \lim_{h \to 0} \frac{-h}{2(2+h)h} = \lim_{h \to 0} \frac{-1}{2(2+h)} = \frac{-1}{4} \]
- Use point-slope form:
\[ y - \frac{1}{2} = -\frac{1}{4}(x - 2) \]
- Simplify:
\[ y = -\frac{1}{4}x + \frac{1}{2} + \frac{1}{2} = -\frac{1}{4}x + 1 \]
Answer: \(y = -\frac{1}{4}x + 1\)
Example 4: Checking Differentiability at a Point
Problem: Determine if \(f(x) = |x - 1|\) is differentiable at \(x = 1\)
Solution:
- Check continuity: \(f(1) = 0\), \(\lim_{x \to 1} f(x) = 0\) → Continuous ✓
- Check left-hand derivative:
- For \(x < 1\): \(f(x) = -(x - 1) = 1 - x\)
- \(f'(1^-) = \lim_{h \to 0^-} \frac{f(1 + h) - f(1)}{h} = \lim_{h \to 0^-} \frac{-h}{h} = -1\)
- Check right-hand derivative:
- For \(x > 1\): \(f(x) = x - 1\)
- \(f'(1^+) = \lim_{h \to 0^+} \frac{f(1 + h) - f(1)}{h} = \lim_{h \to 0^+} \frac{h}{h} = 1\)
- Compare: \(f'(1^-) = -1 \neq 1 = f'(1^+)\)
Conclusion: NOT differentiable at \(x = 1\) because the one-sided derivatives don't match (corner point)
Example 5: Using Alternative Notation
Problem: If \(y = x^2 - 4x + 3\), find \(\frac{dy}{dx}\) using the limit definition
Solution:
- Set up:
\[ \frac{dy}{dx} = \lim_{h \to 0} \frac{y(x + h) - y(x)}{h} \]
- Expand:
- \(y(x + h) = (x + h)^2 - 4(x + h) + 3\)
- \(= x^2 + 2xh + h^2 - 4x - 4h + 3\)
- Subtract:
\[ y(x + h) - y(x) = 2xh + h^2 - 4h \]
- Divide and simplify:
\[ \frac{dy}{dx} = \lim_{h \to 0} \frac{h(2x + h - 4)}{h} = \lim_{h \to 0} (2x + h - 4) = 2x - 4 \]
Answer: \(\frac{dy}{dx} = 2x - 4\) (same as \(y' = 2x - 4\) or \(f'(x) = 2x - 4\))
🔼 Higher-Order Derivatives
Second Derivative (derivative of the derivative):
Third Derivative:
nth Derivative:
Note: After the third derivative, we use parentheses: \(f^{(4)}(x)\), not \(f''''(x)\)
💡 Tips, Tricks & Strategies
✅ Essential Tips
- Always simplify algebraically: Factor out h before taking the limit
- Never plug in h = 0 too early: You'll get 0/0!
- All notation forms are equivalent: \(f'(x) = \frac{dy}{dx} = y'\) = same thing
- Differentiable implies continuous: But continuous doesn't guarantee differentiable!
- Check one-sided derivatives: At potential problem points (corners, cusps)
- Tangent line needs two things: Point and slope (derivative)
- For notation choice: Use what makes the problem clearest
🎯 The 5-Step Limit Definition Method
Master process for finding f'(x):
- SET UP: Write \(f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}\)
- EXPAND: Find \(f(x + h)\) by substituting
- SUBTRACT: Compute \(f(x + h) - f(x)\) and simplify
- FACTOR: Factor h out of the numerator
- CANCEL & EVALUATE: Cancel h, then let \(h \to 0\)
Memory aid: "SESFC" (Set, Expand, Subtract, Factor, Cancel)
🔥 Quick Notation Guide
| If you see... | Use notation... |
|---|---|
| "Find f' " or "named function" | \(f'(x)\) or \(f'(a)\) |
| "Related rates" or "implicit" | \(\frac{dy}{dx}\), \(\frac{dr}{dt}\) |
| "y = ..." (simple equation) | \(y'\) or \(\frac{dy}{dx}\) |
| Physics/velocity problems | \(\dot{x}\), \(\dot{v}\) (Newton) |
| Differential equations | \(Dy\) or \(\frac{dy}{dx}\) |
❌ Common Mistakes to Avoid
- Mistake 1: Plugging in h = 0 before canceling (gives 0/0—meaningless!)
- Mistake 2: Forgetting to distribute when expanding \(f(x + h)\)
- Mistake 3: Not factoring out h correctly—must factor from entire numerator
- Mistake 4: Assuming continuous means differentiable (false! |x| is continuous but not differentiable at 0)
- Mistake 5: Confusing \(f'(a)\) (number) with \(f'(x)\) (function)
- Mistake 6: Writing \(\frac{dy}{dx}(x)\)—it's just \(\frac{dy}{dx}\), not \(\frac{dy}{dx}(x)\)
- Mistake 7: Forgetting the limit symbol entirely when using definition
- Mistake 8: Not checking for corners/cusps when testing differentiability
📝 Practice Problems
Use the limit definition to find f'(x) for each function:
- \(f(x) = 5x - 2\)
- \(f(x) = 4x^2\)
- \(f(x) = \frac{1}{x+1}\)
- \(f(x) = \sqrt{x}\)
Answers:
- \(f'(x) = 5\) (constant slope—linear function)
- \(f'(x) = 8x\)
- \(f'(x) = -\frac{1}{(x+1)^2}\)
- \(f'(x) = \frac{1}{2\sqrt{x}}\)
Additional:
- Find the equation of the tangent line to \(y = x^2\) at \(x = 3\)
- Is \(f(x) = x^{2/3}\) differentiable at \(x = 0\)? Why or why not?
Answers:
- \(y = 6x - 9\) (slope = 6 at x = 3, point is (3, 9))
- NO — Vertical tangent at x = 0 (derivative limit goes to ±∞)
✏️ AP® Exam Success Tips
What the AP® Exam Expects:
- Show the limit setup: Write \(f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}\) explicitly
- Show all algebraic steps: Expanding, factoring, canceling—graders want to see everything
- Use proper notation: Be consistent with \(f'(x)\), \(\frac{dy}{dx}\), or \(y'\)
- State the derivative value: "Therefore, \(f'(x) = ...\)" as your conclusion
- For tangent lines: Show finding the slope AND using point-slope form
- Justify non-differentiability: Explain WHY (corner, discontinuity, vertical tangent)
- Check one-sided derivatives: When asked about differentiability at a point
Common FRQ Formats:
- "Use the definition of derivative to find f'(x)"
- "Find the equation of the line tangent to f at x = a"
- "Show that f is not differentiable at x = a"
- "Using correct notation, express the instantaneous rate of change"
- "Find f'(3) using the limit definition"
- "Determine if f is differentiable at x = 2. Justify your answer."
⚡ Quick Reference Card
| Concept | Key Formula/Fact |
|---|---|
| Derivative Definition (h-form) | \(f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}\) |
| Derivative Definition (x-form) | \(f'(a) = \lim_{x \to a} \frac{f(x) - f(a)}{x - a}\) |
| Geometric Meaning | Slope of tangent line at point |
| Tangent Line Equation | \(y - f(a) = f'(a)(x - a)\) |
| Differentiable → Continuous | Always true |
| Continuous → Differentiable | NOT always true (e.g., |x| at 0) |
| Equivalent Notations | \(f'(x) = \frac{dy}{dx} = y' = Df\) |
🔗 Why This Topic Matters
Topic 2.2 connects to:
- Topic 2.1: Extends instantaneous rate from a point to a function
- Topics 2.4-2.7: Derivative rules are shortcuts for this limit process
- Topic 2.8: Implicit differentiation uses \(\frac{dy}{dx}\) notation
- Unit 3: All applications (optimization, related rates) use derivatives
- Unit 4: Second derivative \(f''(x)\) for concavity and acceleration
- Unit 5: Integration is "reverse" of differentiation
- All of calculus: This is THE foundational definition!
Remember: The derivative is the instantaneous rate of change function, defined by \(f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}\). It can be written as \(f'(x)\), \(\frac{dy}{dx}\), \(y'\), or other notations—all mean the same thing! Geometrically, \(f'(a)\) is the slope of the tangent line at \(x = a\). The derivative exists only where the function is differentiable (smooth, no corners, no vertical tangents, no discontinuities). Master the limit definition now—later derivative rules are shortcuts for this process. Always show your algebraic work, factor out h before taking the limit, and use proper notation on the AP® exam. This is the heart of calculus! 🎯✨