Matrix multiplication vs dot product

In summary, matrix multiplication and the dot product of two matrices are different concepts. While the dot product is typically defined for vectors and outputs a real or complex number, with matrices it is not defined in the same way. Instead, the dot product between two matrices can be seen as a collection of dot products between the rows and columns of the matrices, and is equivalent to the traditional matrix multiplication. This can be visually represented as the product of the elements in each row of the first matrix with the corresponding elements in each column of the second matrix.
  • #1
jabers
15
0
What is the difference between matrix multiplication and the dot product of two matrices? Is there a difference?

If,

[tex]A =
\begin{pmatrix}
a & b \\
c & d
\end{pmatrix}[/tex]

and

[tex]B =
\begin{pmatrix}
e & f \\
g & h
\end{pmatrix}[/tex]

then does
[tex]
{\mathbf{A} \cdot \mathbf{B}} =
\begin{pmatrix}
ae & bf \\
cg & dh
\end{pmatrix}[/tex]

and

[tex]AB =
\begin{pmatrix}
ae + bg & af + bh \\
ce + dg & cf + dh
\end{pmatrix}[/tex]

? Is this correct? Any help would be appreciated.
 
Physics news on Phys.org
  • #2
Don't confuse dot product of matrix with vectors. The second product is correct.
 
  • #3
so,

[tex]{\mathbf{A} \cdot \mathbf{B}} = AB =
\begin{pmatrix}
ae + bg & af + bh \\
ce + dg & cf + dh
\end{pmatrix}[/tex]

With matrices the dot product means that you need to multiply the matrices? Correct?
 
  • #4
Usually the "dot product" of two matrices is not defined. I think a "dot product" should output a real (or complex) number. So one definition of A[itex]\bullet[/itex]B is ae + bf + cg + df. This is thinking of A, B as elements of R^4. If we want our dot product to be a bi-linear map into R this is how we need to define it (up to multiplication by a constant).
 
  • #5
You should view AB as a collection of dot products ie.
ab11 (top left of AB) can be described as the dot product of

\begin{pmatrix}
a & b
\end{pmatrix}dot\begin{pmatrix}
e \\
g
\end{pmatrix}

and so on for the rest of the positions.
 

What is the difference between matrix multiplication and dot product?

Matrix multiplication is a mathematical operation that combines two matrices to produce a third matrix. Dot product, on the other hand, is a mathematical operation that combines two vectors to produce a scalar value. In other words, matrix multiplication results in a matrix, while dot product results in a single value.

What are the similarities between matrix multiplication and dot product?

Both matrix multiplication and dot product involve the multiplication of two mathematical entities. Additionally, both operations are used in linear algebra and have various applications in fields such as physics, engineering, and computer graphics.

Can dot product be performed on matrices?

No, dot product can only be performed on vectors. Matrices can only be multiplied together using matrix multiplication, which involves multiplying each element of one matrix with the corresponding element of the other matrix and summing the results.

Which operation is more computationally efficient, matrix multiplication or dot product?

Dot product is typically more computationally efficient than matrix multiplication. This is because dot product only involves multiplying and summing scalars, while matrix multiplication involves more complex operations such as multiplication and addition of matrices.

What are the main differences in terms of applications between matrix multiplication and dot product?

Matrix multiplication is commonly used in transformations, such as rotating or scaling objects in computer graphics. Dot product, on the other hand, is often used in vector projections and calculating the angle between two vectors. Additionally, matrix multiplication is used to solve systems of linear equations, while dot product is used in vector calculus and physics equations.

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
271
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Linear and Abstract Algebra
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Linear and Abstract Algebra
Replies
10
Views
969
  • Programming and Computer Science
Replies
9
Views
1K
  • Linear and Abstract Algebra
Replies
14
Views
2K
  • Linear and Abstract Algebra
Replies
16
Views
1K
  • Calculus and Beyond Homework Help
Replies
13
Views
9K
  • Quantum Physics
Replies
3
Views
1K
Back
Top