Unit 2: Differentiation: Definition and Fundamental Properties
From Average Rate of Change to the Derivative
What “rate of change” really means
A major goal of calculus is to describe how quantities change. Before calculus, you probably worked with average rate of change: how much an output changes per unit change in input over an interval. If a function represents position (in meters) at time (in seconds), then the average velocity from to is
This same expression is also the slope of the secant line through the points and on the graph. In coordinate form, the same idea is often written as “rise over run”:
This works perfectly for a straight (linear) line, but for a curved graph, the slope changes from point to point, so you approximate using a secant line over a small interval.
Why this matters: in real life, many questions are about an instant (speed at exactly 3 seconds, marginal cost at exactly 100 units, slope at a point on a curve). Average rate of change can’t answer “at an instant” by itself because it needs an interval.
The key idea: zooming in to get instantaneous change
To get an instantaneous rate of change at , you shrink the interval. Let the second point be , where is a small number (positive or negative). The secant slope becomes the difference quotient
The closer the two points are, the more accurate the secant slope is as an approximation of the “true” slope at . As gets closer to 0, the secant line “turns into” the tangent line—provided the graph behaves nicely at that point.
Slopes on curves: secant lines vs tangent lines
For a linear function, slope is constant, so “rise over run” gives the slope everywhere. For a non-linear curve, there isn’t one constant slope, so you approximate the slope at a point by drawing a secant line through two nearby points. The tangent line is the limiting position of these secant lines as the points merge.
Definition of the derivative at a point (instantaneous rate of change)
The derivative of at is the limit of the difference quotient (if the limit exists):
You will also see an equivalent form that approaches directly:
These are the same idea: measure the slope of a secant line and then take the limit as the two points merge. This is the formal version of instantaneous rate of change.
Why this matters: this limit definition is the foundation that justifies all differentiation rules. Even when you later use shortcuts like the power rule, the “truth underneath” is this limit.
Worked example: using the definition to find a derivative value
Find for .
Start with the definition:
Compute each piece:
Substitute:
Simplify the numerator:
Factor out and cancel (this is the critical algebra step):
Now take the limit:
Interpretation: the tangent line slope to at is 4.
What can go wrong
A very common error is trying to plug in too early. In the definition,
is undefined at . You must simplify first (usually by factoring and canceling), and only then take the limit.
Exam Focus
- Typical question patterns:
- “Use the definition of the derivative to find for a given function.”
- “Write the expression for the derivative at as a limit.”
- “Interpret the derivative as the slope of a tangent line or instantaneous rate of change.”
- Common mistakes:
- Plugging in before algebraic simplification.
- Cancelling incorrectly (you may cancel a factor of , but never cancel terms across addition).
- Mixing up the two equivalent forms and substituting the wrong point (for example, using instead of ).
The Derivative as a Function (Not Just a Number)
From “the slope at one point” to “a new function that gives slopes”
When you compute , you get one number. But you can repeat the process at every input value and produce a brand-new function, the **derivative function** , which gives the slope of the tangent line at each .
Using the limit definition at a general :
Why this matters: thinking of as a function lets you analyze how slope changes across an interval, which leads directly to graph analysis and optimization later.
Worked example: deriving from first principles
Let again, but now find .
Expand:
Simplify:
Factor and cancel:
Take the limit:
Now you have a rule: at any input , the tangent slope is .
Notation you must be comfortable with
AP Calculus uses multiple equivalent notations. They look different, but they represent the same derivative concept.
| Meaning | Common notations |
|---|---|
| Derivative of | , , , |
| Derivative evaluated at a point | , |
You should also recognize second derivative notation (derivative of the derivative):
| Function | First Derivative | Second Derivative |
|---|---|---|
| or |
A key conceptual point: is read “derivative of with respect to .” On AP problems, this notation often appears in contexts involving units or rates.
Connecting derivative function to a graph
If on an interval, then is increasing there. If on an interval, then is decreasing there. If at a point, the tangent is horizontal (but that alone does not guarantee a max or min).
Exam Focus
- Typical question patterns:
- “Find using the limit definition.”
- “Given a graph of , sketch a graph of (conceptually).”
- “Evaluate from a table or from a derivative expression.”
- Common mistakes:
- Treating as a single number rather than a function.
- Confusing with .
- Forgetting that a horizontal tangent (derivative zero) does not automatically mean a local extremum.
Interpreting Derivatives: Slope, Velocity, and Units
The derivative is a meaning-maker
AP problems often test whether you can interpret derivatives, not just compute them. The derivative is best understood as:
- the slope of the tangent line to at a point
- the instantaneous rate of change of with respect to
These are the same idea in two languages: geometry (slope) and real-world change (rate).
Units: one of the most tested interpretation skills
If has units and has units, then has units “units of per unit of .”
Example: If is position in meters and is seconds, then is meters per second.
Motion interpretation (a classic application)
If is position, then velocity and acceleration are derivatives:
This reinforces that derivatives can be taken repeatedly, and each derivative has a distinct meaning.
Tangent line approximation (linearization idea, informal)
Near , the graph of looks almost like its tangent line if is smooth there. The tangent line at is
You may see questions asking you to approximate values using tangent lines.
Worked example: interpreting a derivative in context
Suppose is the population of a town (people) at time (years). If , then at years the population is increasing at a rate of 120 people per year.
Common misunderstanding: saying “the population is 120.” That would be , not .
Worked example: writing a tangent line
Let . Find the tangent line at .
First compute :
Compute the derivative (later you’ll justify this with rules):
Evaluate at 4:
Use point-slope form:
Simplify if desired:
Interpretation: near , is close to .
Exam Focus
- Typical question patterns:
- “Interpret in context, including units.”
- “Find the equation of the tangent line to at .”
- “Use a tangent line to approximate a nearby function value.”
- Common mistakes:
- Confusing function value with derivative value (quantity vs rate).
- Dropping or mis-stating units.
- Using the wrong point in the tangent line formula (using as a point, or forgetting ).
When Does a Derivative Exist? Differentiability and Continuity
Differentiability is a stronger condition than continuity
A function is differentiable at if the derivative exists (the limit defining it exists and is finite).
A function is continuous at if
Key relationship:
- If is differentiable at , then is continuous at .
- The converse is not always true: a function can be continuous but not differentiable.
Geometric situations where differentiability fails
From the tangent-line viewpoint, differentiability can fail when there is no single well-defined tangent slope.
- Corner: left-hand slope and right-hand slope are finite but different.
- Cusp: slopes approach infinity but in opposite directions.
- Vertical tangent: slope becomes infinite (derivative does not exist as a finite number).
- Discontinuity: if the function jumps, has a hole, or blows up, it cannot be differentiable there.
A crisp way to detect non-differentiability at is to compare one-sided limits of the difference quotient:
and
If these one-sided limits are not equal (or not finite), then does not exist.
Worked example: a corner with an absolute value
Consider at .
Compute the difference quotient:
If , then , so the quotient is 1. If , then , so the quotient is . The left-hand limit is and the right-hand limit is 1, so there is no single limit as . Therefore does not exist.
But is continuous at 0, which is the classic example showing continuity does not guarantee differentiability.
Piecewise functions: continuity and differentiability at the join
When a function is defined piecewise, AP questions often ask you to find values of constants that make the function continuous or differentiable at a boundary point.
For continuity at , match function values:
For differentiability at , also match derivatives (and continuity is required as well):
Exam Focus
- Typical question patterns:
- “Is differentiable at ? Justify using continuity/corners/one-sided behavior.”
- “Find constants that make a piecewise function continuous and differentiable at a point.”
- “Given a graph, identify where does not exist.”
- Common mistakes:
- Claiming a function is differentiable just because it is continuous.
- Forgetting to check both one-sided derivatives at a corner.
- Saying “vertical tangent means derivative is 0” (it actually means the slope is infinite, so the derivative does not exist as a finite number).
Linear Properties of Derivatives and the Power Rule
Why rules exist: derivatives are limits with structure
The limit definition is the foundation, but calculating every derivative from scratch would be slow. Derivatives obey predictable algebraic rules because limits interact nicely with addition and constant multiples.
Constant rule and constant multiple rule
If is a constant and is differentiable, then:
Example (constant rule): if then
Intuition: constants do not change, so their rate of change is 0. Multiplying by scales all outputs, so it scales the rate of change by .
Sum and difference rule
If and are differentiable, then:
The power rule (for integer powers)
For powers of , the most-used rule is the power rule:
for integers (positive, zero, or negative), on domains where the expression is defined.
A common way to describe the power rule is: “multiply down and decrease the power.” For example, becomes , and becomes .
Why this matters: combined with the sum rule, this gives derivatives of all polynomials quickly.
Worked example: polynomial differentiation
Let
Differentiate term-by-term:
Notice the constant term disappears because its derivative is 0.
Negative powers and rational expressions
If
then
You can rewrite to avoid negative exponents:
A common mistake is to change the sign incorrectly or to reduce the exponent the wrong way (the exponent always goes down by 1).
A quick note on extending the power rule
You will eventually apply the power rule to fractional exponents as well, using the idea that roots are rational powers:
Then
This is consistent with the idea that derivatives of smooth power functions follow the same pattern.
Exam Focus
- Typical question patterns:
- “Differentiate a polynomial or a sum of power functions.”
- “Find for a given function expression.”
- “Compute the derivative and interpret it (slope or rate) at a point.”
- Common mistakes:
- Forgetting to multiply by the exponent (writing instead of ).
- Incorrectly claiming rather than 0.
- Distributing the power rule over sums incorrectly (for example, thinking without the chain rule justification).
Product and Quotient Rules (When Functions Multiply or Divide)
Why “differentiate each part” is not enough
When you have a sum, you can differentiate term-by-term. But multiplication behaves differently: the rate of change of a product depends on how both factors change, not just one.
A common misconception is:
- Incorrect idea:
This is not true in general.
The product rule
If and are differentiable functions of , then
Many students remember this as “1d2 + 2d1”: first times derivative of second, plus second times derivative of first.
Worked example: using the product rule
Differentiate
Identify parts:
Derivatives:
Apply product rule:
You may expand if desired:
The quotient rule
If and are differentiable and , then
The order in the numerator matters. A helpful memory aid is “low d-high minus high d-low, over low squared.”
Worked example: using the quotient rule
Differentiate
Let
Then
Apply the quotient rule:
Simplify the numerator:
Choosing a method: simplify first or use a rule?
Sometimes it’s easier to expand before differentiating; sometimes not.
- For products of polynomials, expanding first can be quicker and less error-prone.
- For complicated products (involving trig, exponentials, radicals), the product rule is usually better.
For quotients, you can sometimes rewrite as a product using negative exponents, which may let you use the product rule and power rule instead.
Exam Focus
- Typical question patterns:
- “Differentiate a function that is a product or quotient of two expressions.”
- “Find and evaluate where involves multiplication/division.”
- “Show setup clearly: identify and and apply the rule correctly.”
- Common mistakes:
- Using for a product.
- Reversing terms in the quotient rule numerator (sign errors are very common).
- Forgetting to square the denominator in the quotient rule.
Derivatives of Exponential Functions
Exponentials as “self-replicating change”
Exponential functions model processes where the rate of change is proportional to the current amount (population growth, continuously compounded interest, radioactive decay). In calculus, exponentials are powerful because their derivatives have especially clean forms.
The natural exponential function
The function is special because its rate of change matches its value:
This is one of the classic “memory derivatives” that is usually faster to memorize than to re-derive during an exam.
General exponential functions
For and ,
Why this matters: it connects all exponentials to the natural log .
Worked example: differentiating an exponential expression
Differentiate
Use linearity and the exponential rules:
Growth/decay interpretation
If a model is
then
So the instantaneous growth rate satisfies
Here has units of “per unit time.” If you have growth; if you have decay. A common misunderstanding is thinking is the amount added each time unit; it is not additive, it is multiplicative (a proportional rate).
Exam Focus
- Typical question patterns:
- “Differentiate functions containing or .”
- “Interpret parameters in using derivatives.”
- “Evaluate an exponential derivative at a point (often in context).”
- Common mistakes:
- Forgetting the factor for .
- Confusing with (very different types of functions).
- Treating exponential growth as linear (mixing up constant additive change with proportional change).
Derivatives of Logarithmic Functions
Logarithms undo exponentials
A logarithm answers: “What exponent produces this value?” The natural logarithm is the inverse of .
The derivative of the natural logarithm
For ,
This is another classic “memory derivative” that you should know automatically.
Other logarithms and change of base
For and ,
In AP Calculus, you can often rewrite using change of base:
Then differentiate using constants and the derivative of .
Worked example: differentiating a log function
Differentiate
Differentiate term-by-term:
You may combine terms if desired:
Logarithms and rates: interpreting
The derivative
tells you that changes quickly when is small and slowly when is large. This matches the idea that logarithms compress large scales.
Exam Focus
- Typical question patterns:
- “Differentiate expressions involving or .”
- “Rewrite a logarithm using change of base and differentiate.”
- “Interpret derivative behavior for log functions (increasing, decreasing, rate).”
- Common mistakes:
- Ignoring domain: requires (unless using in later contexts).
- Differentiating as without the factor.
- Treating as algebraic and trying to use the power rule on it.
Derivatives of Trigonometric Functions
Trig derivatives connect geometry and change
Trigonometric functions model periodic behavior (sound waves, seasonal temperatures, circular motion). Their derivatives follow patterns that reflect how sine and cosine are related.
Core trig derivative rules
These are fundamental derivatives you must know:
From these, you can also differentiate tangent:
These are also commonly treated as “memory derivatives” because they come up constantly.
Worked example: differentiating a trig combination
Differentiate
Differentiate term-by-term:
Notice the sign change: derivative of becomes because .
A key conceptual check: derivative values at special angles
Because and values at special angles are familiar, you can sanity-check derivatives.
For example, since and near 0 the sine graph increases, you expect to be positive, and indeed
Similarly, and near 0 cosine decreases, so the derivative should not be positive. In fact,
At exactly 0 the slope is 0, matching the flatness of cosine at its maximum.
Common misconception: degrees vs radians
All standard trig derivatives are true when the input is measured in radians. In AP Calculus, trig differentiation assumes radians unless explicitly stated otherwise.
Exam Focus
- Typical question patterns:
- “Differentiate functions involving , , and .”
- “Evaluate a trig derivative at a point (often at a special angle).”
- “Use trig derivatives in tangent line problems.”
- Common mistakes:
- Missing the negative sign in .
- Confusing with notation (they mean the same thing, but students sometimes write by mistake).
- Forgetting the radians requirement and making inconsistent interpretations.
Putting It Together: Derivative Skills You’re Expected to Use Fluently
How AP expects you to combine ideas
By the end of this unit, you’re expected to move between three modes smoothly:
- Limit definition mode: set up and sometimes compute derivatives from first principles.
- Rule mode: use derivative rules accurately and efficiently (constant, constant multiple, sum/difference, power, product, quotient, and key “memory derivatives” like , , , and ).
- Interpretation mode: explain what a derivative means in context, including units.
Many exam questions are designed to test not just whether you can compute, but whether you know when a derivative exists and what it means.
Worked mixed example: derivative at a point, tangent line, and interpretation
Let
1) Find .
Use the power rule:
2) Find the slope of the tangent at .
3) Find the tangent line at .
Compute the point:
Point-slope form with slope 1 through :
Simplify:
4) Interpret: at , the function is increasing at a rate of 1 output unit per input unit, and the best local linear approximation near is .
What goes wrong when students “pattern match” too fast
Errors often come from trying to apply a memorized rule to an expression without understanding its structure.
- If you see sums of terms, linearity is safe.
- If you see products or quotients, decide whether to simplify first or apply the product/quotient rule.
- If you are asked explicitly for a derivative “using the definition,” you must show the difference quotient limit setup, not just the final derivative rule.
Exam Focus
- Typical question patterns:
- “Find and use it to compute a tangent line equation.”
- “A free response problem that mixes computation and interpretation (including units).”
- “Determine where a function is differentiable based on a graph or piecewise definition.”
- Common mistakes:
- Ignoring the instruction “use the definition” and applying shortcuts without justification.
- Algebra errors when simplifying difference quotients (especially factoring and canceling).
- Writing a tangent line with the wrong slope (using instead of ) or wrong point (forgetting ).