2026 09 21 Math219 03
Overview
The lesson develops the multivariable chain rule by treating derivatives as factors that transform input velocities into output velocities: for a composition, the Jacobian matrices multiply in the order the functions act. It then shows how to extract a single partial derivative from the Jacobian product, why partial-derivative notation cannot be canceled like fractions, and how to derive the component formula by summing contributions along intermediate-variable paths.
Key takeaways
- A derivative can be interpreted as a factor that maps an input velocity to an output velocity, so the derivative of a composition is the product of the successive derivative factors.
- For z = g(f(x)), the Jacobian is Dg(f(x))Df(x): the rightmost matrix acts first, and the outer derivative is evaluated at the inner function's output.
- To extract ∂zᵢ/∂xⱼ from a composite Jacobian, use row i for the output and column j for the input.
- Partial-derivative symbols cannot generally be canceled because each derivative specifies which variables change and which are held fixed.
- The component chain rule sums over intermediate variables: ∂zᵢ/∂xⱼ = Σₖ (∂zᵢ/∂yₖ)(∂yₖ/∂xⱼ), with each term representing one dependency path.
- When only one composite partial is needed, the row-column dot product or path-sum method avoids computing unused entries of the full Jacobian product.
Chapters
- Treat a derivative as the factor that converts an input velocity into an output velocity.
- For y = f(x) followed by z = g(y), the overall factor is f′(a) multiplied by g′(f(a)).
- Evaluate each derivative where its own function acts: f′ at a and g′ at f(a).
- For a composition x → f(x) → g(f(x)), each derivative matrix transforms the velocity at one stage into the next.
- The composite derivative is the matrix product Dg(f(a))Df(a), applying Df first and Dg second.
- The scalar chain rule and multivariable chain rule share the same factor-multiplication argument, with matrices replacing scalars.
- The chain-rule argument works when the input, intermediate, and output spaces have different dimensions, including one-dimensional or three-dimensional spaces.
- Evaluate Dg at f(a), because g acts on the output of f.
- Matrix multiplication is not commutative: write the first-acting derivative on the right and the second-acting derivative on the left.
- Track which function acts first rather than relying on visual left-to-right placement in composition notation.
- Apply the chain rule to a two-stage composition, substituting the supplied derivative matrices at the correct evaluation points.
- Use f(1, 2) = (3, 10) to select the given value of Dg at (3, 10).
- In a derivative matrix, input variables identify columns and output variables identify rows.
- To find ∂z₃/∂x₁, select the third row and first column of the composite Jacobian.
- When the original input is a single parameter t, the relevant Jacobian matrices have one column.
- A map applied to a parametric curve sends its input velocity to the corresponding output velocity, an interpretation already captured by the derivative matrix.
- With one output variable, the derivative matrix has one row and the chain-rule product reduces to a gradient-based dot product.
- These familiar velocity and gradient rules appear as special cases of the general matrix chain rule.
- If only one entry of the composite derivative is needed, avoid calculating the entire product matrix.
- Compute that entry as the dot product of the appropriate row of the outer Jacobian and column of the inner Jacobian.
- The row selects the desired output variable, while the column selects the input variable being differentiated against.
- Do not cancel matching y symbols in expressions such as ∂zᵢ/∂yₖ and ∂yₖ/∂xⱼ as though they were ordinary fractions.
- The two partial derivatives refer to different scenarios: changing xⱼ can change multiple y variables, while a partial with respect to yₖ holds the other y variables fixed.
- The correct composite partial derivative requires the full sum of intermediate-variable contributions, not a single canceled term.
- For zᵢ depending on intermediate variables y₁ through yₘ, a change in xⱼ can affect zᵢ through every yₖ.
- The path through yₖ contributes (∂zᵢ/∂yₖ)(∂yₖ/∂xⱼ), multiplying the factor from xⱼ to yₖ by the factor from yₖ to zᵢ.
- Add the contributions from all intermediate variables to obtain the component form of the chain rule.
- This path-based method computes a requested partial directly without requiring the full Jacobian matrices.
- For the example requesting ∂z₂/∂x₂, identify y₁ and y₂ as the intermediate variables and write one contribution for each path.
- Keep the target output z₂ and input x₂ in their corresponding derivative positions in every term.
- When engineering variables use names such as P, L, R, α, or ω instead of x, y, and z, draw the dependency diagram and follow paths rather than memorizing a template.
Transcript excerpt
0:01 Okay, off we go. Um, so new section for today. Um, uh, we talk about the chain rule. Um, and I know you all remember the single variable Oh, uh, tennis quiz, attendance code. Clock's ticking. Make sure to get that done. Um, I know you all know the single variable chain rule, but I'm going to talk about the single variable chain rule a little bit. Anyway, um, and it's not because I'm trying to teach you single variable calculus. is because there is a particular point of view and I know there's a lot of different points of view ways to think about the single variable chain rule. There's a particular one that I think is very well suited for just naturally extending to the multivariable context and that's our goal here. We are setting up a um an extension that'll start on the next page. Okay. So among many different points of view that you have on what
0:51 derivatives are. I want to think of derivatives as being factors and we've talked about this before. A derivative is what you multiply by for example an input velocity uh to get an output velocity. Right? If you have y as a function of x, if you start moving the input, that's going to start moving the output. And a derivative can be thought of as what you Whoa, wrong color. Uh what you multiply by the input change or rate of change to get the output rate of change. So this is the point of view I want us to be thinking about for derivatives. Forget about slopes, forget about whatever other points of view you might have. They're all fine, but for our current purposes, derivatives are factors.
1:40 And with that in mind, let's think about a composition of functions. So uh here
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Clark Bray Math.