Derivative involving Summation Notation

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 5K views
Lucid Dreamer
Messages
25
Reaction score
0
Hello, I am looking at a derivation that involves (note x is a column vector)
[tex]\frac {d(\vec{x}^T\vec{x})} {d\vec{x}} = \vec{x}^{T}[/tex]

So I convert to summation notation and evaluate as follows
[tex]\sum_{i,j} \frac {d(x_{i}x^{i})} {dx^{j}}[/tex]
[tex]\sum_{i,j} \frac {dx_{i}} {dx^{j}} x^{i} + \sum_{i,j} x_{i} \frac {dx^{i}} {dx^{j}}[/tex]
[tex]\sum_{i,j} \frac {dx_{i}} {dx^{j}} x^{i} + \sum_{i,j} x_{i} \delta_{ij}[/tex]
[tex]\sum_{i,j} \frac {dx_{i}} {dx^{j}} x^{i} + \sum_{i} x_{i}[/tex]

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:
Physics news on Phys.org
I have only encountered this notation in metric spaces.
You will need to write the covector field Fi(x) = xi as a function of the vector field Gi(x) = xi. This depends on the inner product of the vector space you are working in. If the induced metric of your space is M, then xi = Mijxj. Thus, (d/dxj)(xi) = (d/dxj)(Mikxk). If the components of the metric Mik are constants, then we have (d/dxj)(Mikxk) = Mik(d/dxj)(xk) = Mikδkj = Mij.
If your metric is the standard Euclidean metric, then Mij = δij, so
[tex]\sum_{i, j} \frac{dx_i}{dx^j}x^i = \sum_{i, j} \delta_{ij} x^i = \sum_j x_j[/tex]
If your metric is not standard Euclidean, you replace it as above.
 
Last edited: