MHB How should this matrix be multiplied

  • Thread starter Thread starter mathlearn
  • Start date Start date
  • Tags Tags
    Matrix
AI Thread Summary
The discussion focuses on the multiplication of two matrices, A and B, where A is a 1x2 matrix and B is a 2x1 matrix. The resulting matrix AB is a 1x1 matrix, calculated by taking the inner product of A's row and B's column. The calculation shows that c_{11} equals 7, leading to the result AB being a 1x1 matrix with the value of 7. Additionally, the process for determining which rows and columns to multiply is clarified, emphasizing that each row of A is multiplied with each column of B to form the resulting matrix.
mathlearn
Messages
331
Reaction score
0
$A=\begin{bmatrix}
3&2\\
\end{bmatrix} B=\begin{bmatrix}
1\\
2\end{bmatrix}$

Find the value of the matrix $AB$.

The order of the first matrix is 1*2

The order of the second matrix is 2*1

Matrix AB should be 1*1

I am a bit struggling in determining the way that these two matrices should be multiplied

Many thanks :)
 
Mathematics news on Phys.org
You are correct about the order of the matrices! (Yes)

We have the following:
$$AB=\begin{bmatrix}
3&2\\
\end{bmatrix} \begin{bmatrix}
1\\
2\end{bmatrix}=\begin{bmatrix}
c_{11}
\end{bmatrix}$$

To calculate the element $c_{11}$ we have to multiply the $1$st row of $A$ with the $1$st column of $B$, as an inner product. So we get the following:
$$c_{11}=3\cdot 1+2\cdot 2=3+4=7$$ So, the result is $$AB=\begin{bmatrix}
7
\end{bmatrix}$$
 
mathmari said:
You are correct about the order of the matrices! (Yes)

We have the following:
$$AB=\begin{bmatrix}
3&2\\
\end{bmatrix} \begin{bmatrix}
1\\
2\end{bmatrix}=\begin{bmatrix}
c_{11}
\end{bmatrix}$$

To calculate the element $c_{11}$ we have to multiply the $1$st row of $A$ with the $1$st column of $B$, as an inner product. So we get the following:
$$c_{11}=3\cdot 1+2\cdot 2=3+4=7$$ So, the result is $$AB=\begin{bmatrix}
7
\end{bmatrix}$$

Thanks :) I can see it in this problem now

But how do we know which row are to be multiplied with what column ?
 
mathlearn said:
But how do we know which row are to be multiplied with what column ?

Let $A=\begin{pmatrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{pmatrix}$ and $B=\begin{pmatrix}
1 & 2 \\
3 & 4 \\
5 & 6
\end{pmatrix}$.

We have the following:
$$AB=\begin{pmatrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{pmatrix}\begin{pmatrix}
1 & 2 \\
3 & 4 \\
5 & 6
\end{pmatrix}=\begin{pmatrix}
c_{11} & c_{12} \\
c_{21} & c_{22} \\
c_{31} & c_{32}
\end{pmatrix}$$ To calculate the element $c_{ij}$ we have to multiply the $i$-th row of $A$ with the $j$-th column of $B$, as an inner product.

So, we get the following elements:
$$c_{11}=1\cdot 1+2\cdot 3+3\cdot 5=1+6+15=22 \\
c_{12}=1\cdot 2+2\cdot 4+3\cdot 6=2+8+18=28 \\
c_{21}=4\cdot 1+5\cdot 3+6\cdot 5=4+15+30=49 \\
c_{22}=4\cdot 2+5\cdot 4+6\cdot 6=8+20+36=64 \\
c_{31}=7\cdot 1+8\cdot 3+9\cdot 5=7+24+45=76 \\
c_{32}=7\cdot 2+8\cdot 4+9\cdot 6=14+32+54=100$$ Therefore, the result is the following:
$$AB=\begin{pmatrix}
22 & 28 \\
49 & 64 \\
76 & 100
\end{pmatrix}$$
 
mathlearn said:
Thanks :) I can see it in this problem now

But how do we know which row are to be multiplied with what column ?
To multiply AB, all rows of A are multiplied with all columns of B.
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...

Similar threads

Replies
3
Views
1K
Replies
16
Views
4K
Replies
5
Views
2K
Replies
10
Views
2K
Replies
1
Views
1K
Back
Top