Matrix Multiplication and sigma notation

Click For Summary
SUMMARY

This discussion clarifies the concept of matrix multiplication using sigma notation, emphasizing that it represents the summation of products of rows from one matrix and columns from another. The participants confirm that Wikipedia's definition aligns with this understanding, particularly in the context of calculating the (AB)ij entry as a vector dot product. An example with matrices A and B illustrates the multiplication process, demonstrating how to compute the resulting matrix by summing the products of corresponding elements.

PREREQUISITES
  • Understanding of matrix operations
  • Familiarity with sigma notation in mathematics
  • Basic knowledge of vector dot products
  • Experience with linear executable notation, specifically J programming language
NEXT STEPS
  • Study matrix multiplication in detail, focusing on sigma notation
  • Learn about vector dot products and their applications in linear algebra
  • Explore the J programming language and its syntax for matrix operations
  • Review additional resources on matrix algebra, including academic papers and textbooks
USEFUL FOR

Students of mathematics, data scientists, and software developers interested in linear algebra and matrix computations.

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.
 
Relativistic Momentum, Mass, and Energy Momentum and mass (...), the classic equations for conserving momentum and energy are not adequate for the analysis of high-speed collisions. (...) The momentum of a particle moving with velocity ##v## is given by $$p=\cfrac{mv}{\sqrt{1-(v^2/c^2)}}\qquad{R-10}$$ ENERGY In relativistic mechanics, as in classic mechanics, the net force on a particle is equal to the time rate of change of the momentum of the particle. Considering one-dimensional...

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 124 ·
5
Replies
124
Views
9K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 13 ·
Replies
13
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K