Sign up ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

How do I use chain rule to calculate the derivative of $ h(\textbf{x}) $, where $ h(\textbf{x}) = f(\textbf{Sx}), f:R^n \to R$ and $ \textbf{S}$ is a matrix.

I know how to use chain rule to compute derivative of single variable functions, and I know basic operations on matrix and vectors. But I'm not sure how to use chain rule on matrix functions. Any reference will be appreciated.

share|cite|improve this question
What is $\mathbf{Sy}$? –  William Feb 10 '12 at 6:29
Seems to be a matrix-vector product... –  Guess who it is. Feb 10 '12 at 6:40
Your lecture / text / notes should have a multivariable form of the chain rule, like $$\frac{d f}{d t}=\sum_{i=1}^n \frac{\partial f}{\partial x_i}\frac{\partial x_i}{\partial t}.$$ –  anon Feb 10 '12 at 7:22
OK, so changing $\mathbf{y}$ to $\mathbf{x}$ didn't really clarify anything, but I'll go with J. M.'s assumption. Here you go: and also That has all you need (I presume you are really asking about what is explained in the second link). –  William Feb 10 '12 at 7:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.