AP Calculus BC: Composite, Implicit, and Inverse Derivatives

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

This unit moves beyond basic differentiation rules (Power, Product, Quotient) to handle more complex function relationships. Mastery of the Chain Rule is the prerequisite for everything else in this unit. In AP Calculus BC, you are expected to apply these concepts to find first and second derivatives of implicit relations and inverse trigonometric functions.


1. The Chain Rule (Topic 3.1)

The Chain Rule is the tool used to differentiate composite functions—functions nested inside other functions, like mathematical "onions."

Concept & Formula

If $y = f(g(x))$, where $f$ is the "outside" function and $g$ is the "inside" function, then the derivative is:

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 $y$ is a function of $u$ and $u$ is a function of $x$:

dydx=dydududx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}

The "Peeling the Onion" Method

A reliable mental model for the Chain Rule:

  1. Differentiate the Outside: Take the derivative of the outer function, keeping the inside exactly as it is (do not change the inside yet!).
  2. Multiply by the Inside: Multiply the result by the derivative of the inside function.
  3. Repeat if Necessary: If the inside function is also composite, chain again.

Mnemonic: A popular trick (from the reference notes) is "Douter, Inner, Dinner":

  • Douter: Derivative of the outer.
  • Inner: Keep the inner function the same.
  • Dinner: Derivative of the inner.

Visual representation of the Chain Rule showing function decomposition

Worked Example: Three Layers

Find $y'$ for y=sin3(4x)y = \sin^3(4x).

Analysis: Rewrite this as y=[sin(4x)]3y = [\sin(4x)]^3. We have three layers: Cube (outer), Sine (middle), $4x$ (inner).

  1. Outer (Power Rule): Drop the 3, keep the inside. 3[sin(4x)]2\rightarrow 3[\sin(4x)]^2
  2. Middle (Trig Rule): Derivative of sin\sin is cos\cos, keep the inside ($4x$). cos(4x)\rightarrow \cos(4x)
  3. Inner (Linear): Derivative of $4x$ is $4$.

y=3sin2(4x)cos(4x)4y' = 3\sin^2(4x) \cdot \cos(4x) \cdot 4
y=12sin2(4x)cos(4x)y' = 12\sin^2(4x)\cos(4x)

Common Mistakes
  • Changing the inside too early: Differentiating cos(x2)\cos(x^2) as sin(2x)-\sin(2x). Correction: It should be sin(x2)2x-\sin(x^2) \cdot 2x.
  • Forgetting the chain: Stopping after the first derivative.
  • Parenthesis Errors: sin(2x)\sin(2x) is very different from sin(x)2\sin(x) \cdot 2. Watch your grouping symbols.

2. Implicit Differentiation (Topic 3.2)

Explicit equations have $y$ isolated (e.g., $y = x^2$). Implicit equations have $x$ and $y$ mixed together (e.g., $x^2 + y^2 = 25$) and cannot easily be solved for $y$.

Two Key Principles
  1. Differentiate both sides of the equation with respect to $x$.
  2. The Chain Rule applies to $y$: Since $y$ is a function of $x$, distinct from $x$ itself, whenever you differentiate a term containing $y$, you must multiply by dydx\frac{dy}{dx} (or $y'$).
  • ddx(x3)=3x2\frac{d}{dx}(x^3) = 3x^2 (Variables match, no chain needed)
  • ddx(y3)=3y2dydx\frac{d}{dx}(y^3) = 3y^2 \cdot \frac{dy}{dx} (Variables mismatch, chain needed)
Procedure
  1. Differentiate every term with respect to $x$.
  2. Collect all terms containing dydx\frac{dy}{dx} on one side.
  3. Factor out dydx\frac{dy}{dx}.
  4. Divide to solve for dydx\frac{dy}{dx}.

Graph of a circle or folium where a tangent line is drawn at a point, illustrating implicit slope

Worked Example: Circle & Tangent Line

Consider the circle $x^2 + y^2 = 25$ at the point $(3, 4)$.

Step 1: Differentiate
ddx(x2)+ddx(y2)=ddx(25)\frac{d}{dx}(x^2) + \frac{d}{dx}(y^2) = \frac{d}{dx}(25)
2x+2ydydx=02x + 2y \cdot \frac{dy}{dx} = 0

Step 2: Solve for dydx\frac{dy}{dx}
2ydydx=2x2y \frac{dy}{dx} = -2x
dydx=xy\frac{dy}{dx} = -\frac{x}{y}

Step 3: Evaluate at point $(3,4)$
dydx(3,4)=34\frac{dy}{dx}\bigg|_{(3,4)} = -\frac{3}{4}

Step 4: Tangent Line Equation
Using Point-Slope form ($y - y1 = m(x - x1)$):
y4=34(x3)y - 4 = -\frac{3}{4}(x - 3)

Topic 3.6: Second Derivatives (Implicitly)

A common AP BC question asks for the second derivative d2ydx2\frac{d^2y}{dx^2} of an implicit relation.

Using the result above ($y' = -x/y$), let's find $y''$:

  1. Use Quotient Rule on $-x/y$.
  2. Crucial Step: When $y'$ appears in your result, interpret it by substituting the original first derivative formula back in.

y=ddx(xy)=(1)(y)(x)(y)y2y'' = \frac{d}{dx}\left(-\frac{x}{y}\right) = -\frac{(1)(y) - (x)(y')}{y^2}
Substitute $y' = -x/y$:
y=yx(x/y)y2y'' = -\frac{y - x(-x/y)}{y^2}


3. Inverse Function Derivatives (Topic 3.3)

Inverse functions ($f$ and $f^{-1}$, or $f$ and $g$) switch domain and range. Geometrically, they are reflections across the line $y=x$. This symmetry leads to a specific relationship between their slopes.

The Concept

If $(a, b)$ is on the graph of $f$, then $(b, a)$ is on the graph of $f^{-1}$.
The slope of $f^{-1}$ at $x=b$ is the reciprocal of the slope of $f$ at $x=a$.

The Formula

Let $g(x) = f^{-1}(x)$. If $f$ is differentiable and has an inverse, then:

(f1)(b)=1f(f1(b))=1f(a)(f^{-1})'(b) = \frac{1}{f'(f^{-1}(b))} = \frac{1}{f'(a)}

Where $f(a) = b$.

Step-by-Step Strategy

If asked to find $(f^{-1})'(2)$ represented as $g'(2)$ given function $f(x)$:

  1. Set $f(x) = 2$. Do not plug 2 into $f(x)$. You are looking for the $x$-value that produces a $y$ of 2.
  2. Solve for $x$. Let's call this value $a$. So $f(a) = 2$.
  3. Find $f'(x)$.
  4. Evaluate $f'(a)$.
  5. Take the Reciprocal: The answer is $1 / f'(a)$.

Diagram showing function f and f-inverse reflected over y=x, highlighting the reciprocal slope relationship at corresponding points

Example

Let $f(x) = x^3 + 2x - 1$. Find $(f^{-1})'(2)$.

  1. Set $x^3 + 2x - 1 = 2$. By inspection, $x=1$ works ($1+2-1=2$). So the point on $f$ is $(1, 2)$.
  2. This means the point on $f^{-1}$ is $(2, 1)$. We need the slope at this point.
  3. $f'(x) = 3x^2 + 2$.
  4. Evaluate at $x=1$ (the coordinate from $f$): $f'(1) = 3(1)^2 + 2 = 5$.
  5. Reciprocate: (f1)(2)=15(f^{-1})'(2) = \frac{1}{5}.

4. Inverse Trigonometric Differentiation (Topic 3.4)

These derivatives frequently appear on the AP exam (especially in integration problems later). While you can derive these using implicit differentiation and a geometric triangle, memorization is highly recommended for speed.

Notation Note

Be ready for both notations: arcsin(x)\arcsin(x) is the same as sin1(x)\sin^{-1}(x).

The "Big Three" Formulas

Combine these with the Chain Rule ($u$ is a function of $x$).

Function ($y$)Derivative (dydx\frac{dy}{dx})
sin1(u)\sin^{-1}(u)u1u2\frac{u'}{\sqrt{1-u^2}}
tan1(u)\tan^{-1}(u)u1+u2\frac{u'}{1+u^2}
sec1(u)\sec^{-1}(u)$\frac{u'}{
The "Co" Functions

The derivatives of the "co" functions are simply the negatives of their counterparts.

  • ddx(cos1u)=u1u2\frac{d}{dx}(\cos^{-1} u) = -\frac{u'}{\sqrt{1-u^2}}
  • ddx(cot1u)=u1+u2\frac{d}{dx}(\cot^{-1} u) = -\frac{u'}{1+u^2}
  • ddx(csc1u)=uuu21\frac{d}{dx}(\csc^{-1} u) = -\frac{u'}{|u|\sqrt{u^2-1}}
Common Mistakes
  • Missing the Chain Rule: Writing ddx(arcsin(4x))=11(4x)2\frac{d}{dx}(\arcsin(4x)) = \frac{1}{\sqrt{1-(4x)^2}}. You MUST multiply by the derivative of $u$ ($4$ in this case) in the numerator.
  • Forgetting to square the entire $u$: In tan1(3x)\tan^{-1}(3x), the denominator becomes $1 + (3x)^2 = 1 + 9x^2$, NOT $1+3x^2$.

5. Summary & Exam Tips (Topic 3.5)

Strategy Selection
  • Function of a Function? \rightarrow Chain Rule.
  • Variable in Base AND Exponent? (e.g., y=xsinxy = x^{\sin x}) \rightarrow Logarithmic Differentiation (Take ln\ln of both sides, then use Implicit).
  • X and Y mixed? \rightarrow Implicit Differentiation.
  • Inverse function asking for derivative at a specific value? \rightarrow Use the Reciprocal Slope Formula. Do not try to find the actual inverse function equation first (it is usually impossible algebraically).
AP Exam Hints
  • Simplify First: Log rules (ln(ab)=lna+lnb\ln(ab) = \ln a + \ln b) can turn a nightmare product rule problem into a simple addition problem before you even start differentiating.
  • Evaluate early: If asked for a numerical derivative at a point, plug the number in as soon as you have the derivative expression. Don't simplify the algebra first unless necessary.
  • Product Rule in Implicit: This is the #1 algebraic trap. In $xy^2 = 10$, differentiating $xy^2$ requires product rule: (1)(y2)+(x)(2yy)(1)(y^2) + (x)(2y \cdot y'). Students often write just $y^2 + 2xy'$.