Differentiating Composites and Implicit Relations (AP Calculus BC Unit 3 Notes)
The Chain Rule
What the chain rule is (and what problem it solves)
When you differentiate, you’re usually trying to measure how fast an output changes when you slightly change an input. Many functions in calculus aren’t “simple” inputs straight into a formula—they’re built by feeding one function into another. A composite function is exactly that: one function inside another.
For example, in , the “outside” function is sine, and the “inside” function is . If you increase a bit, it changes first, and that change then affects . The chain rule formalizes this two-step (or multi-step) dependency.
The chain rule tells you how to differentiate a composite function by multiplying the rate of change at each layer.
Why it matters
The chain rule is one of the most used differentiation tools in AP Calculus because:
- Many realistic models are built from layers (geometry inside trig, exponentials of polynomials, etc.).
- It connects directly to important topics later, like derivatives of inverse functions and integration by substitution.
- It’s essential for higher-order derivatives whenever the original function is composite.
A good mental model: if a quantity depends on an intermediate variable , and depends on , then changes “flow” from to to .
How it works (core formula)
Suppose and , so . The chain rule says:
In function notation, that’s:
The key idea is that you differentiate the outer function while leaving the inside alone, and then multiply by the derivative of the inside.
Notation you must recognize (they all mean “derivative”)
AP problems mix notations, so you need to translate fluidly.
| Meaning | Common notations |
|---|---|
| Derivative of with respect to | , |
| Derivative of at input | |
| Operator form |
When chaining, the “Leibniz-style” form is especially helpful because you can literally see the intermediate variable cancel conceptually.
How to apply it reliably (a step-by-step process)
When you see something like :
- Identify layers. Ask: “What’s the outermost operation?”
- Differentiate the outer layer as if the inside were a single placeholder.
- Multiply by the derivative of the inside.
- If there are more layers (like ), repeat: the derivative becomes a product of derivatives from each layer.
A common mistake is trying to “simplify first” in a way that hides structure. Simplifying can help, but only if it doesn’t cause you to lose track of what is inside what.
Worked example 1: A basic composite
Differentiate:
Step 1: Identify outer and inner.
- Outer:
- Inner:
Step 2: Differentiate outer, then multiply by inner derivative.
So:
You can rewrite as:
What can go wrong: forgetting the factor is the classic chain rule error.
Worked example 2: Multiple layers (chain rule repeated)
Differentiate:
There are three layers:
- Outer:
- Middle:
- Inner:
Differentiate layer by layer:
Now differentiate the middle layer (still a chain rule):
Combine:
So:
What can go wrong: students sometimes stop too early and forget to differentiate the inner linear piece .
Real-world connection: “rates through a pipeline”
If temperature depends on altitude , and altitude depends on time during a flight, then temperature depends on time indirectly. The chain rule is exactly:
This interpretation (rate of temperature change per time equals temperature change per altitude times altitude change per time) is the same logic as differentiating composite functions.
Exam Focus
- Typical question patterns:
- Differentiate a composite function given as a formula (often with trig, exponential, logarithmic, or power layers).
- Evaluate a derivative at a point, e.g., find for a composite expression.
- Combine chain rule with product/quotient rules, e.g., differentiate .
- Common mistakes:
- Differentiating the outer function but forgetting to multiply by the inner derivative.
- Treating as (missing the factor from differentiating ).
- Losing parentheses: writing instead of changes the meaning.
Implicit Differentiation
What “implicit” means
So far, many functions have been written explicitly, meaning is isolated on one side, like . But sometimes relationships are given with and mixed together, like:
This equation still defines a relationship between and (in this case, a circle), but isn’t neatly solved as a single formula across the whole graph. In these situations, you use **implicit differentiation**: you differentiate both sides with respect to while treating as a function of .
Why it matters
Implicit differentiation is important because:
- Many curves (circles, ellipses, and more complicated relations) are naturally written implicitly.
- It’s a powerful method when solving for first would be difficult or messy.
- It shows up frequently in AP free-response and multiple-choice questions involving slopes of curves and higher-order derivatives.
The key idea: depends on
When you differentiate something like with respect to , you can’t treat like a constant. Since , is a composite function:
- Outer:
- Inner:
So by the chain rule:
That extra factor is the signature of implicit differentiation. Forgetting it is the most common error.
How to do implicit differentiation (workflow)
- Differentiate both sides with respect to .
- Every time you differentiate a term containing , multiply by (because of the chain rule).
- Collect all terms containing on one side.
- Factor out .
- Solve for .
Worked example 1: Circle slope
Find if:
Differentiate both sides:
Compute each derivative:
Solve for :
Interpretation: the slope depends on where you are on the circle. At points where (left and right endpoints), the slope is undefined (vertical tangent), which matches the geometry.
Worked example 2: Product + mixed terms
Find if:
Differentiate both sides with respect to .
For you must use the product rule, remembering :
For , use the chain rule:
Right side:
So the differentiated equation is:
Group the terms:
Factor:
Solve:
What can go wrong:
- Differentiating as only, forgetting .
- Differentiating as instead of .
Tangent lines from implicit curves
A very common AP task is: “Find the equation of the tangent line to the curve at a given point.” With implicit equations, the process is:
- Find implicitly.
- Plug in the point to get the slope .
- Use point-slope form:
Second derivatives implicitly (preview, expanded in next section)
Sometimes you’ll be asked for for an implicit curve. The key is: once you have , you differentiate that expression with respect to again—still treating as dependent on .
That means chain rule terms involving can appear again.
Exam Focus
- Typical question patterns:
- Find for an implicitly defined curve, then evaluate the slope at a given point.
- Find the equation of a tangent line (or sometimes a normal line) to an implicit curve at a point.
- Differentiate an equation that mixes algebraic and transcendental terms in (like , , ).
- Common mistakes:
- Forgetting when differentiating terms like , , , or .
- Solving for but leaving it scattered across both sides (not collecting and factoring).
- Plugging in an -value without the corresponding -value from the point (you usually need both).
Higher-Order Derivatives
What higher-order derivatives are
The first derivative measures instantaneous rate of change (slope). A higher-order derivative is simply the derivative of a derivative:
- The second derivative measures how the slope itself is changing.
- The third derivative measures how the second derivative is changing, and so on.
Notation you’ll see:
Also common:
and for functions:
Why it matters
In AP Calculus, higher-order derivatives show up because:
- You may be asked to compute explicitly (especially after implicit differentiation).
- They connect to analyzing motion: if is position, then is velocity and is acceleration.
- The second derivative supports concavity and inflection point reasoning (even if a specific question only asks you to compute it).
How to compute higher-order derivatives (explicit functions)
If you have explicitly, then:
- Differentiate once to get .
- Differentiate again to get .
- Repeat as needed.
The main new difficulty is that the expressions often become more complicated and may require product, quotient, and chain rules.
Worked example 1: Second derivative with chain rule and product rule
Let:
First derivative (product rule):
Chain rule inside the trig:
So:
Now differentiate again to get . Differentiate each term; each term is a product.
Differentiate :
So that becomes:
Differentiate :
Chain rule for cosine:
So the second part is:
Combine both pieces:
What can go wrong: when doing , it’s easy to forget you still need chain rule on and every time they appear.
Higher-order derivatives from implicit equations
When an equation defines implicitly, you often find first, then differentiate again. The important habit is: whenever you differentiate an expression that contains , you must remember .
Worked example 2: Second derivative implicitly
Start with the circle:
We already found:
Now differentiate both sides with respect to to get .
Write:
Treat as a quotient where both numerator and denominator depend on (because depends on ). Use the quotient rule:
If , then:
Here so . Also so .
So:
Simplify the numerator:
Now substitute :
Combine:
Put the numerator over a common denominator :
So:
And since the original equation gives on the circle, you can also write:
That last form is often useful for evaluating at a specific point on the curve.
What can go wrong:
- Treating as a constant when differentiating .
- Substituting too early and losing the ability to simplify correctly.
A quick note on interpreting second derivatives
You’re often not asked to interpret deeply in this unit, but it helps to know what it means: if is slope, then tells you whether slope is increasing or decreasing as changes. In graph terms, corresponds to concave up and corresponds to concave down (when the function is explicitly defined and smooth enough).
Exam Focus
- Typical question patterns:
- Find and then for a given function that requires chain and/or product rules.
- For an implicit curve, compute and , then evaluate at a given point.
- Use higher-order derivatives in motion-style contexts (if position is given), computing velocity and acceleration via derivatives.
- Common mistakes:
- Forgetting that chain rule still applies every time you differentiate trig/exponential/log expressions in while finding .
- For implicit problems, forgetting that when differentiating the second time.
- Algebra errors after differentiating (sign mistakes and missing parentheses), which can overwhelm otherwise-correct calculus steps.