Matrix Multiplication and sigma notation

Click For Summary

Discussion Overview

The discussion revolves around the concept of matrix multiplication and its representation using sigma notation. Participants explore the definitions, clarify the summation process involved in matrix multiplication, and examine the relationship between the elements of the matrices being multiplied.

Discussion Character

  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants define sigma notation as summation and relate it to matrix multiplication as the summation of the rows of one matrix multiplied by the columns of another.
  • One participant questions the clarity of the sigma notation definition found on Wikipedia, specifically regarding the indexing variables i, j, and k, and how they run through their values.
  • Another participant asserts that their explanation aligns with Wikipedia's definition, emphasizing the dot product of row and column vectors in the calculation of matrix products.
  • A participant provides a numerical example of matrix multiplication, illustrating the process of multiplying columns of one matrix by rows of another and summing the products, while also attempting to visually represent the multiplication process.
  • One participant expresses that they are beginning to understand the concept better after reviewing the posts.

Areas of Agreement / Disagreement

There is no clear consensus among participants, as some express confusion regarding the sigma notation and its application, while others assert that their interpretations align with established definitions. The discussion remains somewhat unresolved with differing viewpoints on clarity and understanding.

Contextual Notes

Participants highlight potential ambiguities in the definitions and representations of matrix multiplication, particularly in relation to the indexing of elements in sigma notation. There are also varying interpretations of how to illustrate the multiplication process.

Bashyboy
Messages
1,419
Reaction score
5
Hello,

I have read several different sources on this very topic, and the one thing that confused a little was defining it using sigma notation. Could some please explain to be what it means?
 
Physics news on Phys.org
"Sigma" notation is simply summation.

Matrix multiplication is the summation of the rows of one matrix multiplied by the columns of another matrix.
 
The way you explain makes it seem that Wikipedia has defined it incorrectly.

http://en.wikipedia.org/wiki/Matrix_multiplication#Matrix_product_.28two_matrices.29

The one thing that I don't quite understand about their sigma definition is, how does does i and j run through their values? I can see that k runs from 1 element to m elements, which would be the elements in the column for A, and the elements in the row for B.
 
Last edited:
Bashyboy said:
The way you explain makes it seem that Wikipedia has defined it incorrectly.
That's exactly how Wikipedia defines it. Look at the picture: A row times a column. Or read the text regarding the calculation of (AB)ij: "Treating the rows and columns in each matrix as row and column vectors respectively, this entry is also their vector dot product."
 
I think my explanation agrees with Wikipedia. Here's an example:

Say we have two tables "A" and "B":

Code:
  A
1 3
5 7

   B
2 4
6 8

Matrix multiply (in the linear executable notation J - see jsoftware.com):

Code:
   A+/ . *B
20 28
52 76

This is illustrated below by positioning B above and to the right with A down and to the left to highlight that we
1) multiply the columns of B by the rows of A and
2) sum those products (add them together)

Here's my attempt to illustrate this procedure (assuming multiplication before addition):
Code:
            2          4
                  6          8
1   3     1*2 + 3*6  1*4 + 3*8  =   20  28          
5   7     5*2 + 7*6  5*4 + 7*8  =   52  76

I've also staggered the rows of B to align them with the relevant portion of the cross-product (and tagged it as "code" when it isn't in order to preserve the spacing).
 
I think I am beginning to understand it, now. I'll have to re-read the posts a few more times. Thank you, all.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 124 ·
5
Replies
124
Views
10K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K