- Thread starter
- #1

- Thread starter Voldyy
- Start date

- Thread starter
- #1

- Aug 30, 2012

- 1,162

How did you know how to calculate dp?

Please post the

-Dan

- Thread starter
- #3

this is the problem i don't know if what i wrote is true

How did you know how to calculate dp?

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

-Dan

- Jan 30, 2018

- 580

I THINK you mean that

\(\displaystyle A= \begin{pmatrix} 1 & 2 & 3\\ 4 & 5 & 6 \\7 & 8 & 9 \end{pmatrix}\)

that

\(\displaystyle B= \begin{pmatrix}10 & 11 & 12 \\ 13 & 14 & 15 \\ 16 & 17 & 18 \end{pmatrix}\)

and you want to find the product

\(\displaystyle 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}\).

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 \(\displaystyle \begin{pmatrix}84 & 90 & 96\end{pmatrix}\).

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

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