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.
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...

Similar threads

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