1. Home
  2. Explore
  3. Mathematics
  4. Chain Rule for Composite Functions

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Chain Rule for Composite Functions

Speaker 1Speaker 2

Chain Rule for Composite Functions

4:14
0:00-4:14
  1. Anna

    Today we’re looking at the chain rule, sometimes called the composition rule, through one function with three nested layers: f of x equals sine of e to the tangent of x. Each individual operation is familiar—sine, the exponential function, and tangent—but the challenge is combining them in the right order.

  2. Corey

    So the key is to recognize that the whole expression is built by putting one function inside another. Where do you start?

  3. Anna

    In this example, I’ll work from the outside in. The outermost operation is taking the sine of something, so I can call that something u and write f of u equals sine of u. Then I look at what u is: it’s e to the tangent of x. I’ll call the exponent v, so u equals e to the v, and v equals tangent of x.

  4. Corey

    That gives us three simple layers instead of one intimidating expression: sine, e to the v, and tangent of x. And the labels tell us which variable each derivative is with respect to.

  5. Anna

    Exactly. First, the derivative of f with respect to u is cosine of u. Next, the derivative of u with respect to v is e to the v. Finally, the derivative of v with respect to x is secant squared x, because the derivative of tangent x is secant squared x.

  6. Corey

    Now the chain rule says to multiply those derivatives in sequence: df by dx equals df by du times du by dv times dv by dx. The matching intermediate variables give a useful way to remember why the chain fits together: the du and dv are like links that cancel, leaving df by dx.

  7. Anna

    That cancellation is a helpful picture, though we’re applying the chain rule rather than literally canceling symbols. The practical instruction is to multiply the derivative from each layer, moving through the composition.

  8. Corey

    Let’s do that while the intermediate labels are still in place. We get cosine of u, times e to the v, times secant squared x. One easy mistake is to forget that this is a product of all three derivatives.

  9. Anna

    Then we substitute back for the temporary variables. Since u equals e to the tangent of x and v equals tangent of x, the result is cosine of e to the tangent of x, times e to the tangent of x, times secant squared x.

  10. Corey

    So the final derivative is f prime of x equals cos of e to the tan x, multiplied by e to the tan x, multiplied by secant squared x. The argument of the original sine stays inside the cosine, and the derivatives of the inner layers supply the other factors.

  11. Anna

    That’s the careful setup method: name the layers, take each derivative with respect to the appropriate variable, multiply, and replace the temporary variables with expressions in x. It’s especially useful while you’re learning, because it makes each step visible.

  12. Corey

    And with practice, you can often do the same reasoning directly, without writing u and v. You still start with the outermost function: sine becomes cosine, while its entire inside, e to the tangent of x, stays in place.

  13. Anna

    Then keep moving inward. The derivative of e to the tangent of x contributes e to the tangent of x, and because its exponent is itself a function, we must continue by differentiating tangent x. That contributes secant squared x.

  14. Corey

    At the innermost level, the argument is just x. Its derivative with respect to x is 1, so there’s nothing more to change. Once you reach that basic input, you stop.

  15. Anna

    This direct approach produces the same answer: cos of e to the tan x, times e to the tan x, times secant squared x. The temporary-variable method and the outside-in method are two ways to organize the same chain-rule process.

  16. Corey

    So if a nested derivative feels confusing, slow down and identify the layers. Work through one layer at a time, keep the inner expression as the argument of the derivative you’ve just taken, and multiply by the derivative of what’s inside.

  17. Anna

    And if you can do that reliably, you can build up to doing it more quickly. This example shows the full process for a composition of three functions—and with practice, the pattern becomes much easier to recognize.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent