MHB How do you multiply indexed matrices?

  • Thread starter Thread starter Voldyy
  • Start date Start date
  • Tags Tags
    Matrices
Click For Summary
SUMMARY

This discussion focuses on the multiplication of indexed matrices, specifically the matrices A and B defined as A = \begin{pmatrix} 1 & 2 & 3\\ 4 & 5 & 6 \\7 & 8 & 9 \end{pmatrix} and B = \begin{pmatrix}10 & 11 & 12 \\ 13 & 14 & 15 \\ 16 & 17 & 18 \end{pmatrix}. The method for calculating the product AB involves taking the dot product of rows from matrix A with columns from matrix B. The first row of the resulting matrix AB is calculated as \begin{pmatrix}84 & 90 & 96\end{pmatrix}, with further calculations required for the remaining rows.

PREREQUISITES
  • Understanding of matrix notation and operations
  • Knowledge of vector dot products
  • Familiarity with indexed matrices
  • Basic linear algebra concepts
NEXT STEPS
  • Study matrix multiplication techniques in linear algebra
  • Learn about vector dot products and their applications
  • Explore indexed matrices and their uses in computational problems
  • Review examples of matrix multiplication with different dimensions
USEFUL FOR

Students, mathematicians, and computer scientists interested in linear algebra, particularly those working with matrix operations and computational algorithms.

Voldyy
Messages
2
Reaction score
0
Hello, I want to ask if anyone can explain to me how to multiply indexed matrices.
This is an example I have made, but I do not know if it is true
20210111_135937.jpg
 
Physics news on Phys.org
Once again you have posted a problem where miracles are expected to occur.

How did you know how to calculate dp?

Please post the whole problem! We can't help you much if we have to guess at what's going on.

-Dan
 
topsquark said:
Once again you have posted a problem where miracles are expected to occur.

How did you know how to calculate dp?

Please post the whole problem! We can't help you much if we have to guess at what's going on.

-Dan
this is the problem i don't know if what i wrote is true
 
It is extremely difficult to understand what you are writing because you are using a very peculiar notation!

I THINK you mean that
[math]A= \begin{pmatrix} 1 & 2 & 3\\ 4 & 5 & 6 \\7 & 8 & 9 \end{pmatrix}[/math]
that
[math]B= \begin{pmatrix}10 & 11 & 12 \\ 13 & 14 & 15 \\ 16 & 17 & 18 \end{pmatrix}[/math]

and you want to find the product
[math]AB= \begin{pmatrix} 1 & 2 & 3\\ 4 & 5 & 6 \\7 & 8 & 9 \end{pmatrix}\begin{pmatrix}10 & 11 & 12 \\ 13 & 14 & 15 \\ 16 & 17 & 18 \end{pmatrix}[/math].

One way to think about this is that each row of matrix A is a vector, that each column of matrix B is a vector, and you want to take the "dot product" of the three vectors from A with each of the three vectors from B. (you appear to have labeled row and columns with "p", "q", etc. but that seems to me more complicated and confusing than useful.)

For example, the first row in A is [1, 2. 3] and the first column in B is [10, 13, 16]. Their "dot product" is 1(10)+ 2(13)+ 3(16)= 10+ 26+ 48= 84. The value in the first row, first column of AB is 84.

The first row in A is [1, 2, 3] and the second column in B is [11, 14, 17]. Their "dot product" is 1(11)+ 2(14)+ 3(17)= 11+ 28+ 51= 90. The value in the first row, second column of AB is 90.

The last number in the first row of AB is 1(12)+2(15)+ 3(18)= 12+ 30+ 54= 96. The first row of AB is [math]\begin{pmatrix}84 & 90 & 96\end{pmatrix}[/math].

Do the same but using the second row of A, [math]\begin{pmatrix}4 & 5 & 6 \end{pmatrix}[/math] with the three columns of B to get the second row of AB.

Do the same but using the third row of A, [math]\begin{pmatrix}7 & 8 & 9 \end{pmatrix}[/math] with the three columns of B to get the third row of AB.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K