Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matrix multiplication: index / suffix notation issues!

  1. Apr 11, 2013 #1
    Hey everyone,

    I'm struggling with the summation notation for matrices and vector operations, multiplication in particular. Please refer to the image below where I've typed it all out in Word, its too cumbersome here and I want my meaning to be clear:
    https://imageshack.us/scaled/large/580/indicesquestion1.jpg [Broken]
     
    Last edited by a moderator: May 6, 2017
  2. jcsd
  3. Apr 11, 2013 #2
    Ah man that image turned out tiny....If you guys need it to be bigger please let me know!
     
  4. Apr 11, 2013 #3

    AlephZero

    User Avatar
    Science Advisor
    Homework Helper

    Your first summation for ##(AB)_{ij}## is ok.

    Your notation for the next one isn't right. If you want to multiply (AB) by C, you have
    $$(ABC)_{ij} = \sum_l^L (AB){}_{il}C_{lj}$$

    Now plug in the summation for ##(AB)_{il}## and you get
    $$(ABC)_{ij} = \sum_l^L (\sum_k^K A_{ik}B_{kl})C_{lj}$$

    You got to the right formula in the end, but (as you said) not in a very logical way.
     
  5. Apr 11, 2013 #4
    Okay, thank you, I still have a few more questions but for the time being, can you tell me if I can swap the sigma symbols without reordering the suffixes?
     
  6. Apr 11, 2013 #5

    AlephZero

    User Avatar
    Science Advisor
    Homework Helper

    It doesn't matter what order you add up the terms. Changing the order is the same as saying a+b+c+d+e+f = a+d+b+e+c+f, or whatever order you like.
     
  7. Apr 12, 2013 #6
    Alright. Just to make sure that I understand this properly...let's say I want to multiply 4 matrices A B C D together, where the multiplication is possible. Does it go like this:

    https://imageshack.us/scaled/large/853/summationquestion.jpg [Broken]

    Hopefully its right T_T and now the image is too big :(
     
    Last edited by a moderator: May 6, 2017
  8. Apr 12, 2013 #7
    That's right but I would say make sure you get your brackets right. (AB)C_ij is a very confusing notation, when what you mean is (ABC)_ij. ABC is the matrix, and ij indexes an element in ABC, not just C.

    Strictly, (AB)C_ij is the matrix AB times a scalar C_ij.
     
  9. Apr 14, 2013 #8
    aaah alright. Yea the notation is a bit of an issue but thanks a lot for your help! I got some more questions but I think I'll make a new thread cos its a bit different :)
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Matrix multiplication: index / suffix notation issues!
  1. Notation issues (Replies: 2)

  2. Index Notation (Replies: 3)

  3. Index notation (Replies: 2)

Loading...