What is the Dot Product of Two 2x2 Matrices?

Click For Summary

Discussion Overview

The discussion centers around the concept of the dot product of two 2x2 matrices, particularly in the context of image processing and orthonormal basis sets. Participants explore the definitions and calculations involved in matrix multiplication versus the dot product, seeking clarification on how these operations differ.

Discussion Character

  • Conceptual clarification
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant mentions that their teacher indicated the dot product of two basis images (2x2 matrices) is 0, which raises confusion about the nature of the dot product.
  • Another participant suggests representing a 2x2 matrix as a four-dimensional vector to understand the orthonormal basis and its implications for the dot product.
  • A clarification is provided that the operation described by the first participant is matrix multiplication, not the dot product, which is defined as a scalar value.
  • The definition of the Frobenius inner product is introduced, explaining how to compute the dot product of two matrices by treating them as vectors and summing the products of their corresponding entries.

Areas of Agreement / Disagreement

Participants express confusion regarding the distinction between matrix multiplication and the dot product, indicating a lack of consensus on the definitions and applications of these concepts.

Contextual Notes

The discussion highlights the need for clarity on the definitions of matrix operations, particularly in the context of different mathematical frameworks, such as vector spaces and inner products. There may be assumptions about familiarity with these concepts that are not explicitly stated.

Owen-
Messages
40
Reaction score
0
This seems like a very basic question that I should know the answer to, but in my image processing class, my teacher explained that a basis set of images(matrices) are orthonormal.

He said that the DOT product between two basis images (in this case two 2x2 matrices) is 0. so, for example

\begin{equation}
\begin{bmatrix}
a & b\\
c & d
\end{bmatrix}
\cdot
\begin{bmatrix}
e & f\\
g & h
\end{bmatrix}
=0
\end{equation}

I don't understand how this can be. I always thought it gave another matrix, and not a direct value:
\begin{equation}
\begin{bmatrix}
a & b\\
c & d
\end{bmatrix}
\cdot
\begin{bmatrix}
e & f\\
g & h
\end{bmatrix}
=
\begin{bmatrix}
ae+bg & af+bh\\
ce+dg & cf+dh
\end{bmatrix}
\end{equation}

Can someone help me out? It would be unbelieveably helpful,
Thanks!
Owen.
 
Physics news on Phys.org
The only possibility I can think of is to take a 2x2 matrix and write it out in the form ##a e_{11} + b e_{12} + c e_{21} + d e_{22}##, ie as a four dimensional vector space. Then the e's form an orthonormal basis.
 
Owen- said:
I don't understand how this can be. I always thought it gave another matrix, and not a direct value:
\begin{equation}
\begin{bmatrix}
a & b\\
c & d
\end{bmatrix}
\cdot
\begin{bmatrix}
e & f\\
g & h
\end{bmatrix}
=
\begin{bmatrix}
ae+bg & af+bh\\
ce+dg & cf+dh
\end{bmatrix}
\end{equation}

Can someone help me out? It would be unbelieveably helpful,
Thanks!
Owen.
That's the matrix product, not the dot product. A dot product (inner product) is a scalar. Always. For matrices, the typical definition of the dot product is the Frobenius inner product. Simply compute as if the matrix was a vector. For real matrices,

\begin{equation}
A\cdot B \equiv \sum_i \sum_j A_{ij} B_{ij}
\end{equation}
For your pair of 2x2 matrices,
\begin{equation}
\begin{bmatrix}
a & b\\
c & d
\end{bmatrix}
\cdot
\begin{bmatrix}
e & f\\
g & h
\end{bmatrix}
= ae + bf + cg + dh\end{equation}
 
Perfect thanks a lot!
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K