AP Calculus AB Unit 3: Advanced Differentiation Techniques

Unit 3: Differentiation: Composite, Implicit, and Inverse Functions

Unit Overview

In Units 1 and 2, you mastered the definition of the derivative and basic rules (Power, Product, Quotient) for explicit functions. Unit 3 dramatically expands your toolkit, determining how to differentiate composite functions (Chain Rule), relations where yy cannot be isolated (Implicit Differentiation), and inverse functions. These techniques are the backbone of differential calculus and are heavily tested in both Multiple Choice and Free Response questions on the AP Exam.


The Chain Rule (Topic 3.1)

The Chain Rule is arguably the most vital differentiation rule in Calculus. It is used when differentiating composite functions—functions inside of other functions.

Definition and Formula

If y=f(g(x))y = f(g(x)), where ff is a differentiable function of g(x)g(x) and gg is a differentiable function of xx, then:

ddx[f(g(x))]=f′(g(x))⋅g′(x)\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)

In Leibniz notation, if yy is a function of uu and uu is a function of xx:

dydx=dydu⋅dudx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}

Conceptual Approach: The "Onion" Analogy

Think of a composite function like an onion with layers. To get to the center, you must peel the layers one by one, starting from the outside.

  1. Differentiate the Outside Function: Treat the inside stuff as a single variable chunk. Do not change the inside yet.
  2. Multiply by the Derivative of the Inside: Apply the chain rule by multiplying your result by the derivative of what was inside.

Structure of the Chain Rule

Mnemonic: "Douter, Inner, Dinner"

A helpful memory trick introduced in previous study circles is "Douter, Inner, Dinner":

  • Douter: Derivative of the outer function (keep the inner function inside parentheses unchanged).
  • Inner: Keep the inner function alone initially.
  • Dinner: Multiply by the Derivative of the inner function.
Worked Example

Problem: Differentiate y=sin⁡(x3+5)y = \sin(x^3 + 5).

  • Outer function (ff): sin⁡(… )\sin(\dots) →\rightarrow Derivative is cos⁡(… )\cos(\dots)
  • Inner function (gg): x3+5x^3 + 5 →\rightarrow Derivative is 3x23x^2

Apply the rule:
y′=cos⁡(x3+5)⏟<em>f′(g(x))⋅(3x2)⏟</em>g′(x)y' = \underbrace{\cos(x^3 + 5)}<em>{f'(g(x))} \cdot \underbrace{(3x^2)}</em>{g'(x)}
y′=3x2cos⁡(x3+5)y' = 3x^2\cos(x^3 + 5)

Note: A common trap is forgetting to leave the inside function alone during the first step. The derivative is NOT cos⁡(3x2)\cos(3x^2).


Implicit Differentiation (Topic 3.2)

Explicit functions look like y=x2−4y = x^2 - 4. Implicit relations have xx and yy mixed together, such as x2+y2=25x^2 + y^2 = 25 (a circle). You often cannot isolate yy easily, so you differentiate with respect to xx across the entire equation.

The Procedure
  1. Differentiate both sides of the equation with respect to xx.
  2. Crucial Step: Whenever you differentiate a term containing yy, you must multiply by the chain rule factor dydx\frac{dy}{dx} (or y′y'). This is because yy is a function of xx.
  3. Collect all terms with dydx\frac{dy}{dx} on one side.
  4. Factor out dydx\frac{dy}{dx} and solve for it.

This method is essential when the variable you are deriving doesn't match the variable in the denominator of the derivative notation (e.g., differentiating y2y^2 with respect to xx).

Implicit Differentiation Graph

Worked Example

Problem: Find dydx\frac{dy}{dx} for the circle x2+y2=25x^2 + y^2 = 25 at the point (3,4)(3, 4).

  1. Differentiate with respect to xx:
    ddx(x2)+ddx(y2)=ddx(25)\frac{d}{dx}(x^2) + \frac{d}{dx}(y^2) = \frac{d}{dx}(25)
    2x+2y⋅dydx=02x + 2y \cdot \frac{dy}{dx} = 0

  2. Isolate dydx\frac{dy}{dx}:
    2y(dydx)=−2x2y(\frac{dy}{dx}) = -2x
    dydx=−2x2y=−xy\frac{dy}{dx} = \frac{-2x}{2y} = -\frac{x}{y}

  3. Evaluate at (3,4)(3, 4):
    dydx∣(3,4)=−34\frac{dy}{dx}\bigg|_{(3,4)} = -\frac{3}{4}

Tangent Line: Since we know the slope is −34-\frac{3}{4} and the point is (3,4)(3,4), the tangent line equation is:
y−4=−34(x−3)y - 4 = -\frac{3}{4}(x - 3)

Higher-Order Implicit Differentiation

The AP Exam loves to ask for the second derivative (d2ydx2\frac{d^2y}{dx^2}) of an implicit relation.

Process:

  1. Find dydx\frac{dy}{dx} first.
  2. Differentiate your result again using Quotient Rule or Product Rule.
  3. Substitution: Your answer will likely contain a dydx\frac{dy}{dx} term. You MUST substitute your expression from Step 1 back into this term to express the final answer solely in terms of xx and yy.

Differentiating Inverse Functions (Topic 3.3)

Inverse functions swap inputs and outputs. If f(a)=bf(a) = b, then f−1(b)=af^{-1}(b) = a. Geometrically, the graph of f−1(x)f^{-1}(x) is the reflection of f(x)f(x) across the line y=xy=x. This reflection creates a specific relationship between their slopes.

The Rule

The derivative of the inverse function at a point is the reciprocal of the derivative of the original function at the corresponding point.

(f−1)′(x)=1f′(f−1(x))(f^{-1})'(x) = \frac{1}{f'(f^{-1}(x))}

Or, simpler terms:
(f−1)′(b)=1f′(a)(f^{-1})'(b) = \frac{1}{f'(a)}

Where the point (a,b)(a, b) is on the original graph ff, and (b,a)(b, a) is on the inverse graph f−1f^{-1}.

Inverse Function Slope Relationship

Strategic Approach for AP Questions

AP questions usually give you a table of values rather than a function definition. Follow this "Table Method" algorithm:

Question: Given f(x)f(x) is invertible and differentiable, find (f−1)′(3)(f^{-1})'(3).

  1. Identify the Goal: We need the slope of the inverse at x=3x = 3. This means the Input of the Inverse is 3.
  2. Swap to Original: If the Input of the Inverse is 3, then the Output of the Original f(x)f(x) is 3. Find xx such that f(x)=3f(x) = 3. Let's say the table shows f(1)=3f(1) = 3.
  3. Differentiate specific point: Find f′(1)f'(1) from the table/function.
  4. Reciprocate: Your answer is 1f′(1)\frac{1}{f'(1)}.

Memory Aid: The slope of the inverse is "1 over the slope of the original"… but at the swapped xx-value.


Inverse Trigonometric Functions (Topic 3.4)

You must memorize the derivatives of the inverse trig functions (arcsin, arccos, arctan). These appear frequently in multiple-choice sections and integration problems later.

The "Big Three" Formulas

Assuming uu is a differentiable function of xx (Chain Rule applied):

  1. Arcsine:
    ddx[sin⁡−1(u)]=u′1−u2\frac{d}{dx}[\sin^{-1}(u)] = \frac{u'}{\sqrt{1-u^2}}

  2. Arccosine:
    ddx[cos⁡−1(u)]=−u′1−u2\frac{d}{dx}[\cos^{-1}(u)] = -\frac{u'}{\sqrt{1-u^2}}
    (Note: It is just the negative of arcsine)

  3. Arctangent:
    ddx[tan⁡−1(u)]=u′1+u2\frac{d}{dx}[\tan^{-1}(u)] = \frac{u'}{1+u^2}
    (Note: No square root in the denominator)

The "Co" Rule

Just like with regular trig derivatives, the "Co" functions (arccosine, arccotangent, arccosecant) always gain a negative sign in their derivative.

Geometric Derivation Support

If you forget the formula for y=sin⁡−1(x)y = \sin^{-1}(x), you can use implicit differentiation:

  1. Rewrite as sin⁡(y)=x\sin(y) = x.
  2. Differentiate: cos⁡(y)⋅y′=1\cos(y) \cdot y' = 1.
  3. Solve: y′=1cos⁡(y)y' = \frac{1}{\cos(y)}.
  4. Use a reference triangle with hypotenuse 1 and opposite side xx to find cos⁡(y)\cos(y) in terms of xx (1−x2\sqrt{1-x^2}).

Reference Triangle for Inverse Sine


Selecting Procedures & Exponential Bases (Topic 3.5)

In Unit 3, you also formalize derivatives for general exponential and logarithmic functions.

General Exponentials and Logs

While ddx(ex)=ex\frac{d}{dx}(e^x) = e^x, bases other than ee require a correction factor of ln⁡(base)\ln(base).

  • Exponential: ddx(au)=au⋅ln⁡(a)⋅u′\frac{d}{dx}(a^u) = a^u \cdot \ln(a) \cdot u'
  • Logarithmic: ddx(log⁡au)=1u⋅ln⁡(a)⋅u′\frac{d}{dx}(\log_a u) = \frac{1}{u \cdot \ln(a)} \cdot u'
Strategy: When to use what?
  • Variable in base, constant power (x2x^2): Power Rule.
  • Constant base, variable power (2x2^x): Exponential Rule.
  • Variable in base AND variable in power (xxx^x): Logarithmic Differentiation. Take ln⁡\ln of both sides -> ln⁡y=xln⁡x\ln y = x \ln x -> use Implicit Differentiation.

Summary of Common Mistakes & Pitfalls

  1. Chain Rule Incomplete: Students often differentiate the inner function but forget to multiply by it. Or, they change the inner function while differentiating the outer one (e.g., saying the derivative of cos⁡(x2)\cos(x^2) is −sin⁡(2x)-\sin(2x) instead of −sin⁡(x2)⋅2x-\sin(x^2) \cdot 2x).
  2. Implicit Algebra Errors: When finding y′′y'', forgetting to substitute the expression for y′y' back into the equation.
  3. Inverse Function Swaps: Confusing the xx and yy values. Remember: if the question asks for (f−1)′(3)(f^{-1})'(3), look for where y=3y=3 on the original graph, not where x=3x=3.
  4. Trig Chains: Forgetting that sin⁡2(x)\sin^2(x) is (sin⁡(x))2(\sin(x))^2. The derivative requires chain rule: 2sin⁡(x)cos⁡(x)2\sin(x)\cos(x).
  5. Notation Confusion: (f−1(x))′(f^{-1}(x))' is the derivative of the inverse. (f(x))−1(f(x))^{-1} is the reciprocal 1/f(x)1/f(x). These are completely different!

Final Hints from Previous Students

  • When two variables are multiplied (like xyxy), you MUST use the Product Rule during implicit differentiation: x⋅y′+y⋅1x \cdot y' + y \cdot 1.
  • Simplify your first derivative before taking a second derivative. It saves massive amounts of time.
  • If evaluating a derivative at a specific point, plug the numbers in immediately after differentiating. Do not simplify the algebra of the derivative expression first; arithmetic is faster than algebra.
  • For Inverse Trig: Memorize tan⁡−1\tan^{-1} and sin⁡−1\sin^{-1} thoroughly; they appear most often.