Understand Summation Notation & Clear Confusion

  • Context: Undergrad 
  • Thread starter Thread starter Lucid Dreamer
  • Start date Start date
  • Tags Tags
    Notation Summation
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 · 3K views
Lucid Dreamer
Messages
25
Reaction score
0
I am trying to understand summation notation and there are a few inconsistencies in my head that I would like to clear up.

Suppose C is an m*n matrix and [itex]\vec{x}[/itex] is a 1*m row vector. Then,

[tex]\vec{x}C = \sum_{i} x_{i}C_{ij} = \sum_{i} C_{ij}x_{i} = \sum_{i} {C_{ji}}^Tx_{i} = C^T \vec{x}[/tex]

This is clearly wrong but I'm not sure which operation is wrong. In terms of dimensions it doesn't make sense since [itex]C^T[/itex] is n*m and [itex]\vec{x}[/itex] is 1*m.
 
Physics news on Phys.org
The discrepancy arises because this way of defining a matrix and vector does not differentiate between (e.g.) a row vector and a column vector. Have a look at this for a general introduction to Einstein's notation and this for it's implementation in your case. No issues there!
 
Specifically, it is saying that
[tex]\begin{bmatrix}x & y\end{bmatrix}\begin{bmatrix}a & b \\ c & d\end{bmatrix}= \begin{bmatrix}a & c \\ b & d\end{bmatrix}\begin{bmatrix}x \\ y\end{bmatrix}[/tex]