Welcome to Unit 3: Mastering Complex Derivatives!

In Unit 2, you learned the basic "building blocks" of derivatives—like the Power Rule and the Product Rule. But what happens when functions get messy? What if one function is tucked inside another, or if \(x\) and \(y\) are all tangled up together? Don't worry if this seems tricky at first! This unit is all about learning the special tools you need to handle these "messy" situations. By the end of this chapter, you’ll be able to differentiate almost any function thrown your way.

Why is this important? In the real world, things rarely change in simple ways. The Chain Rule and Implicit Differentiation allow us to model complex systems, from how the radius of a balloon changes as you blow air into it to how the price of a product affects its demand.


3.1 The Chain Rule: The "Nesting Doll" Rule

The Chain Rule is used when you have a composite function—basically, a function inside another function, written as \(f(g(x))\).

The Analogy: The Gift Box

Imagine a gift wrapped inside a box. To get to the gift, you first have to unwrap the outer box, and then deal with the inner contents. The Chain Rule works the same way:

  1. Differentiate the "outside" function (leave the inside alone!).
  2. Multiply by the derivative of the "inside" function.

The Formula

If \(y = f(g(x))\), then the derivative is:
\( \frac{dy}{dx} = f'(g(x)) \cdot g'(x) \)

Quick Memory Aid: "Outie then Innie." Take the derivative of the outside, keep the inside the same, then multiply by the derivative of the inside.

Example: \(y = (3x^2 + 5)^7\)

  1. Identify the "Outside": something raised to the 7th power. Its derivative is \(7(\text{inside})^6\).
  2. Identify the "Inside": \(3x^2 + 5\). Its derivative is \(6x\).
  3. Chain them together: \(y' = 7(3x^2 + 5)^6 \cdot 6x\).
  4. Simplify: \(y' = 42x(3x^2 + 5)^6\).

Common Mistake to Avoid: Forgetting to multiply by the derivative of the inside! Many students stop after the first step. Always ask yourself: "Is there an 'inside' part I haven't differentiated yet?"

Key Takeaway: Use the Chain Rule whenever you see a function "trapped" inside a power, a square root, or a trig function.


3.2 Implicit Differentiation: Untangling x and y

So far, you’ve seen equations like \(y = x^2\). This is explicit because \(y\) is all by itself. But what if you have \(x^2 + y^2 = 25\)? Here, \(y\) is implicit.

The Process: Treat y like a Function

The secret to implicit differentiation is remembering that \(y\) is a function of \(x\). This means every time you take the derivative of a term containing \(y\), you must attach a \(\frac{dy}{dx}\) (or \(y'\)) to it because of the Chain Rule!

Step-by-Step Guide:
  1. Differentiate both sides of the equation with respect to \(x\).
  2. Every time you differentiate a term with \(y\), multiply by \(\frac{dy}{dx}\).
  3. Move all terms with \(\frac{dy}{dx}\) to one side and everything else to the other.
  4. Factor out \(\frac{dy}{dx}\) and solve for it.

Example: \(x^2 + y^2 = 25\)

  1. Derivative of \(x^2\) is \(2x\).
  2. Derivative of \(y^2\) is \(2y \cdot \frac{dy}{dx}\) (don't forget that \(\frac{dy}{dx}\)!).
  3. Derivative of \(25\) is \(0\).
  4. Equation becomes: \(2x + 2y\frac{dy}{dx} = 0\).
  5. Solve: \(2y\frac{dy}{dx} = -2x \rightarrow \frac{dy}{dx} = -\frac{x}{y}\).

Did you know? This method allows us to find the slope of a circle or an ellipse at any point, even though they aren't technically functions!

Key Takeaway: If you touch a \(y\), add a \(\frac{dy}{dx}\)!


3.3 Differentiating Inverse Functions

If you know the derivative of a function \(f(x)\), you can find the derivative of its inverse, \(f^{-1}(x)\), even if you don't know the equation for the inverse!

The Relationship

The slope of a function and its inverse are reciprocals at corresponding points. If the point \((a, b)\) is on \(f\), then the point \((b, a)\) is on \(f^{-1}\).

The Formula:
\( (f^{-1})'(a) = \frac{1}{f'(f^{-1}(a))} \)

Example Step-by-Step:

Suppose \(f(3) = 10\) and \(f'(3) = 5\). Find the derivative of the inverse at \(x = 10\).

  1. We want \((f^{-1})'(10)\).
  2. Since \(f(3) = 10\), we know \(f^{-1}(10) = 3\).
  3. The formula says: \((f^{-1})'(10) = \frac{1}{f'(3)}\).
  4. Plug in the value: \(\frac{1}{5}\).

Key Takeaway: The derivative of the inverse is just 1 divided by the derivative of the original function at the "partner" point.


3.4 Differentiating Inverse Trigonometric Functions

These formulas are some of the only things in Unit 3 you simply have to memorize. However, there are patterns to help you!

The "Big Three" to Know:
  • Arcsin: \(\frac{d}{dx}(\arcsin u) = \frac{1}{\sqrt{1-u^2}} \cdot \frac{du}{dx}\)
  • Arctan: \(\frac{d}{dx}(\arctan u) = \frac{1}{1+u^2} \cdot \frac{du}{dx}\)
  • Arcsec: \(\frac{d}{dx}(\text{arcsec } u) = \frac{1}{|u|\sqrt{u^2-1}} \cdot \frac{du}{dx}\)

Mnemonic/Trick:

  • Sine starts with an 's', and its formula has a Square root and a Subtraction.
  • Tangent is the "nice" one—no square root, just Addition.
  • "Co-" functions (Arccos, Arccot, Arccosec) have the exact same formulas as their partners, just with a negative sign!

Key Takeaway: Always remember the Chain Rule (\(\cdot \frac{du}{dx}\)) when the inside of the inverse trig function is more than just \(x\).


3.5 & 3.6 Higher-Order Derivatives & Selecting Procedures

Sometimes you need the second derivative (\(\frac{d^2y}{dx^2}\)) of an implicit equation. This requires a two-step process.

Finding the Second Derivative Implicitly:

  1. Find the first derivative (\(\frac{dy}{dx}\)) as usual.
  2. Differentiate that result again using the Quotient Rule or Product Rule.
  3. The Secret Step: Your second derivative will likely contain a \(\frac{dy}{dx}\) term. Substitute your original expression for \(\frac{dy}{dx}\) back into the equation to get your final answer in terms of \(x\) and \(y\).

Choosing the Right Tool:

When you see a problem, ask yourself these questions in order:

  1. Is it a basic power? → Power Rule.
  2. Are two things multiplied or divided? → Product/Quotient Rule.
  3. Is there a "nested" function? → Chain Rule.
  4. Are \(x\) and \(y\) mixed together? → Implicit Differentiation.

Quick Review Box:
- Chain Rule: \(f'(g(x)) \cdot g'(x)\)
- Implicit: Add \(\frac{dy}{dx}\) whenever you differentiate \(y\).
- Inverse: \(Slope = \frac{1}{\text{Original Slope}}\).
- Inverse Trig: Memorize the "Big Three" patterns.

You've reached the end of Unit 3! These tools are the "Swiss Army Knife" of calculus. Keep practicing, and soon these rules will feel like second nature.