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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


\begin{align} y&=Ax\\ z&=f(y) \end{align}

Then, is it true that: \begin{align} \nabla_xz&=\nabla_yf(y)\nabla_xy \\ &=\nabla_yf(y)A \end{align}


  • $A: m \times n$
  • $x: n \times 1$
  • $y: m \times 1$
  • $z: 1 \times 1$
  • $\nabla_yf(y): 1 \times m$?
  • $\nabla_xz: 1 \times n$?
share|cite|improve this question
up vote 1 down vote accepted

\begin{align} \nabla_xz&=(\nabla_xy)^\text{T}\nabla_yf(y) \\ &=A^\text{T}\nabla_yf(y) \end{align}

Should clarify things, and get $\nabla_xz$ and $\nabla_yf(y)$ into column vectors. The dimensions you've listed are right, with the exception of the transposition of the last two vectors.

share|cite|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.