Skip to content
Learn Motion
ExploreHow it worksPricing

Download Learn Motion

Scan the QR code with your phone to install the app.

App Store

Scan to download Learn Motion from the App StoreOpen store page

Google Play

Scan to download Learn Motion from Google PlayOpen store page
Log in
Learn Motion

A Repeatable Setup System for Chain Rule Problems

1Naming the Layers Before Differentiating2Writing the Derivative as a Labeled Product3Running the Layout on the Standard Function Families4Keeping the Layout Intact Inside Products and Quotients5Extending the Layout to Implicit Differentiation and Diagnosing Setup Errors
Naming the Layers Before Differentiating

Counting Layers in a Three-Level Composite

4 / 4
Now push it further. Sine of cosine of two x has more than two layers, and the only safe way to count them is to peel one at a time.
0:00 / 0:00

Two-layer composites are the common case, but the same peeling procedure handles deeper nesting. Take

\[h(x)=\sin(\cos(2x)).\]

Peel from the outside in, naming one layer per peel:

  1. Layer 1 (outermost): the last operation is the sine. Outer function \(\sin(\square)\), contents \(\cos(2x)\).
  2. Layer 2 (middle): inside that, the last operation is the cosine. Outer function \(\cos(\square)\), contents \(2x\).
  3. Layer 3 (innermost): inside that, the operation is multiplication by 2. Outer function \(2(\square)\), contents \(x\).

Once a peel leaves plain \(x\), you have reached the bottom and the count is finished. Here the count is three layers.

Two habits make this reliable:

  • Peel, do not skip. Each peel removes exactly one operation. If you try to name two layers at once, you will usually miscount.
  • Stop at plain \(x\). A layer that acts on plain \(x\) is still a layer, but there is nothing below it. In \(\sin(\cos(2x))\), the factor of 2 is a genuine layer, not a decoration.

Why the count matters: the chain rule produces one derivative factor per layer. A three-layer composite will need three factors, and knowing that in advance is what lets you notice a dropped factor later instead of discovering it on the exam.

References

  1. [1]Chain rule - Wikipediaen.wikipedia.org
  2. [2]3.6: The Chain Rule - Mathematics LibreTextsmath.libretexts.org
  3. [3]The Chain Rule Explained: Differentiating Composite Functions Step by Stepstudentlifeonline.org
Previous4 / 4Next

Learn Motion

Generate a course. Learn it properly.

Operated by Wuhan Daoyin Technology Co., Ltd.

Contact: [email protected]
Privacy PolicyTerms of Service

© 2026 Learn Motion