Lucid Dreamer
- 25
- 0
Hello, I am looking at a derivation that involves (note x is a column vector)
\frac {d(\vec{x}^T\vec{x})} {d\vec{x}} = \vec{x}^{T}
So I convert to summation notation and evaluate as follows
\sum_{i,j} \frac {d(x_{i}x^{i})} {dx^{j}}
\sum_{i,j} \frac {dx_{i}} {dx^{j}} x^{i} + \sum_{i,j} x_{i} \frac {dx^{i}} {dx^{j}}
\sum_{i,j} \frac {dx_{i}} {dx^{j}} x^{i} + \sum_{i,j} x_{i} \delta_{ij}
\sum_{i,j} \frac {dx_{i}} {dx^{j}} x^{i} + \sum_{i} x_{i}
So I do recover the answer in the second term, but I am not sure what the derivative in the first term means. This derivative is of a row vector with respect to a column vector.
\frac {d(\vec{x}^T\vec{x})} {d\vec{x}} = \vec{x}^{T}
So I convert to summation notation and evaluate as follows
\sum_{i,j} \frac {d(x_{i}x^{i})} {dx^{j}}
\sum_{i,j} \frac {dx_{i}} {dx^{j}} x^{i} + \sum_{i,j} x_{i} \frac {dx^{i}} {dx^{j}}
\sum_{i,j} \frac {dx_{i}} {dx^{j}} x^{i} + \sum_{i,j} x_{i} \delta_{ij}
\sum_{i,j} \frac {dx_{i}} {dx^{j}} x^{i} + \sum_{i} x_{i}
So I do recover the answer in the second term, but I am not sure what the derivative in the first term means. This derivative is of a row vector with respect to a column vector.
Last edited: