The Chain Rule
Public: UniversityCatégorie: Math
Description
Visualizes the chain rule through three stacked number lines representing the input x, the intermediate value g(x), and the output f(g(x)). Animated small changes Îx propagate through the composition, making the multiplicative structure of the chain rule visually intuitive.
The Chain Rule
Description
Visualizes the chain rule through three stacked number lines representing the input x, the intermediate value g(x), and the output f(g(x)). Animated small changes Îx propagate through the composition, making the multiplicative structure of the chain rule visually intuitive.
Phases
| # | Phase Name | Duration | Description |
|---|---|---|---|
| 1 | Introduction | 5s | Title, show three labeled number lines stacked vertically |
| 2 | Function Composition | 6s | Animate a point x mapping to g(x) then to f(g(x)) with arrows |
| 3 | Small Change Îx | 7s | Introduce Îx perturbation on bottom line, show how it propagates |
| 4 | Magnification Effect | 8s | Show Îg â g'(x)·Îx and Î(fâg) â f'(g(x))·Îg visually |
| 5 | Chain Rule Formula | 8s | Derive and display (fâg)' = f'(g(x))·g'(x) |
| 6 | Concrete Example | 8s | Work through d/dx sin(xÂČ): g=xÂČ, f=sin, g'=2x, f'=cos |
| 7 | Summary | 5s | Display chain rule formula prominently with the example result |
Layout
+--------------------------------------------------+
| Title: "The Chain Rule" |
+--------------------------------------------------+
| |
| âââââââââââââââ Number line x âââââââââââââââ |
| â g |
| âââââââââââââââ Number line g(x) ââââââââââââ |
| â f |
| ââââââââââââââ Number line f(g(x)) ââââââââââ |
| |
| Right panel: chain rule formula |
| d/dx f(g(x)) = f'(g(x))·g'(x) |
| |
+--------------------------------------------------+
Area Descriptions
- Main area: Three stacked horizontal number lines with mapping arrows
- Left labels: "x", "g(x)", "f(g(x))" identifying each line
- Right panel: Formula panel building up the chain rule equation
- Highlighted deltas: Îx, Îg, Î(fâg) shown as bracket intervals on lines
Assets & Dependencies
- Fonts: LaTeX
- Manim version: ManimCE 0.19.1
Notes
- Example: h(x) = sin(xÂČ); g(x) = xÂČ, f(u) = sin(u)
- h'(x) = cos(xÂČ) · 2x demonstrated at x=1 numerically
- Number lines use NumberLine objects with custom tick marks
- Î brackets shown as braces (BraceBetweenPoints or Brace) with labels