Vector product VS dot product in matrix

Click For Summary

Discussion Overview

The discussion revolves around the differences between vector products and dot products in the context of matrices, exploring their definitions, applications, and implications in various mathematical scenarios. Participants also touch on related concepts such as determinants, triple products, and rotational matrices.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants express confusion about the distinction between vector products and dot products when applied to matrices, questioning whether matrix multiplication can be classified as either.
  • One participant asserts that multiplying rows by columns results in a matrix product, not a vector product, and clarifies that the dot product is defined for vectors, not matrices.
  • Another participant inquires about the significance of the triple product in relation to the volume of a parallelepiped, questioning the use of cross and dot products for different vectors.
  • There is a discussion about the implications of using different symbols (x for cross product and . for dot product) and whether these apply to matrices or only to vectors.
  • Some participants explore the relationship between the magnitude of vectors and the results of dot products, including specific examples involving unit vectors.
  • One participant raises a question about the expression of a rotational matrix and its connection to the Taylor series expansion.
  • Another participant seeks clarification on the term "scalar and vector products in terms of matrices" as mentioned by their tutor, indicating a need for further understanding of these concepts.

Areas of Agreement / Disagreement

Participants generally do not reach a consensus on the definitions and applications of vector and dot products in the context of matrices, with multiple competing views and ongoing confusion about the terminology and concepts involved.

Contextual Notes

Participants express uncertainty regarding the definitions of terms such as "basic box" and the specific properties of matrices versus vectors. There are unresolved questions about the application of trigonometric functions in relation to vector products and the implications of using different multiplication symbols.

Who May Find This Useful

This discussion may be useful for students and educators in mathematics and physics who are exploring the concepts of vector and dot products, matrix operations, and their applications in higher-dimensional geometry.

quietrain
Messages
648
Reaction score
2
hi, i don't really understand what's the difference between vector product and dot product in matrix form.

for example

(1 2) X (1 2)
(3 4) (3 4) = ?

so when i take rows multiply by columns, to get a 2x2 matrix, i am doing vector product?

so what then is dot producT?

lastly, my notes says |detT| = final area of basic box/ initial area of basic box

where detT = (Ti) x (Tj) . (Tk)

so, what's the difference between how i should work out x VS . ?

also, |detT| = magnitude of T right? so is there a formula i should use to find magnitude?

so why is |k . k| = 1?
thanks
 
Physics news on Phys.org
quietrain said:
hi, i don't really understand what's the difference between vector product and dot product in matrix form.

for example

(1 2) X (1 2)
(3 4) (3 4) = ?

so when i take rows multiply by columns, to get a 2x2 matrix, i am doing vector product?
No, you are doing a "matrix product". There are no vectors here.

so what then is dot producT?
With matrices? It isn't anything. The matrix product is the only multiplication defined for matrices. The dot product is defined for vectors, not matrices.


lastly, my notes says |detT| = final area of basic box/ initial area of basic box

where detT = (Ti) x (Tj) . (Tk)
Well, we don't have your notes so we have no idea what "T", "Ti", "Tj", "Tk" are nor do we know what a "basic box" is.

I do know that if you have a "parallelpiped" with adjacent sides given by the vectors \vec{u}, \vec{v}, and \vec{w}, then the volume (not area) of the parallelpiped is given by the "triple product", (\vec{u}\times\vec{v})\cdot\vec{w} which can be represented by determinant having the components of the vectors as rows. That has nothing at all to do with matrices.

so, what's the difference between how i should work out x VS . ?

also, |detT| = magnitude of T right?
No, "det" applies only to square arrays for which "magnitude" is not defined.

so is there a formula i should use to find magnitude?

so why is |k . k| = 1?
thanks
I guess you mean "k" to be the unit vector in the z direction in a three dimensional coordinate system. If so, then |k.k| is, by definition, the length of k which is, again by definition of "unit vector", 1.

You seem to be confusing a number of very different concepts. Go back and review.
 
Last edited by a moderator:
oh.. em..

ok let's say we have

(1 2) x (4 5)
(3 4) (6 7) = so this is just rows multiply by column to get a 2x2 matrix right? so what is the difference if i replace the x sign with the dot sign now. do i still get the same?
i presume one is cross (x) product , one is dot (.) product? or is it for matrix there is no such things as cross or dot product? that's weird. my tutor tells us to know the difference between cross and dot matrix product

so for the case of the parallelpiped, what's the significance of the triple product (u x v) .w? why do we use x for u&v but . for w?

is it just to tell us that we have to use sin and cos respectively? but if u v and w were square matrix, then there won't be any sin and cos to use? so we just multiply as usual rows by columns?

oh by definition . so that means |k.k| = (k)(k)cos(0) = (1)(1)cos(0) = 1
so |i.k| = (1)(1)cos(90) = 0 ?
so if i x k gives us -j by the right hand rule, then does it mean the magnitude, which is |i.k| = 0 is 0? in the direction of the -j?? or are they 2 totally different aspects?

btw, sry for another question,
why is e(w)(A),
where A =
(0 -1)
(1 0)

can be expressed as
( cosw -sinw)
( sinw cosw)
which is the rotational matrix anti-clockwise about the x-axis right?

thanks
 
quietrain said:
oh.. em..

ok let's say we have

(1 2) x (4 5)
(3 4) (6 7) = so this is just rows multiply by column to get a 2x2 matrix right? so what is the difference if i replace the x sign with the dot sign now. do i still get the same?
You can replace it by whatever symbol you like. As long as your multiplication is "matrix multiplication" you will get the same result.

i presume one is cross (x) product , one is dot (.) product?
No, just changing the symbol doesn't make it one or the other.

or is it for matrix there is no such things as cross or dot product? that's weird. my tutor tells us to know the difference between cross and dot matrix product
I suspect your tutor was talking about vectors not matrices.

so for the case of the parallelpiped, what's the significance of the triple product (u x v) .w? why do we use x for u&v but . for w?
Because you are talking about vectors not matrices!

is it just to tell us that we have to use sin and cos respectively? but if u v and w were square matrix, then there won't be any sin and cos to use? so we just multiply as usual rows by columns?
They are NOT matrices, they are vectors!

You can think of vectors as "row matrices" (n by 1) or "column matrices" (1 by n) but they still have properties that matrices in general do not have.

oh by definition . so that means |k.k| = (k)(k)cos(0) = (1)(1)cos(0) = 1
so |i.k| =(1)(1)cos(90) = 0 ?
Yes, that is correct.

so if i x k gives us -j by the right hand rule, then does it mean the magnitude, which is |i.k| = 0 is 0? in the direction of the -j?? or are they 2 totally different aspects?
No, the length of i x k is NOT |i.k|, it is |i||j|= 1.

In general, the length of \vec{u}\times\vec{v} is |u||v| sin(\theta) where \theta is the angle between \vec{u} and \vec{v}.

btw, sry for another question,
why is e(w)(A),
where A =
(0 -1)
(1 0)

can be expressed as
( cosw -sinw)
( sinw cosw)
which is the rotational matrix anti-clockwise about the x-axis right?

thanks
For objects other than numbers, where we have a notion of addition and multiplication, we define higher functions by using their "Taylor series", power series that are equal to the functions. In particular, e^x= 1+ x+ (1/2)x^2+ \cdot\cdot\cdot+ (1/n!)x^n+ \cdot\cdot\cdot.

It should be easy to calculate that
A^2= \begin{pmatrix}-1 & 0 \\ 0 & -1\end{pmatrix}
A^3= \begin{pmatrix}0 & 1 \\ -1 & 0\end{pmatrix}
and, since that is the identity matrix, it all repeats:
A^4= \begin{pmatrix}0 & -1 \\ 1 & 0}\end{pmatrix}= A
etc.

That gives
e^{Aw}= \begin{pmatrix}1 & 0 \\ 0 & 1\end{pmatrix}+ \begin{pmatrix}0 & -w \\ w & 0\end{pmatrix}+ \frac{1}{2}\begin{pmatrix}-w^2 & 0 \\ 0 & -w^2\end{pmatrix}+ \frac{1}{3!}\begin{pmatrix}0 & w^3 \\ -w^3 & 0\end{pmatrix}+ \frac{1}{4!}\begin{pmatrix}w^4 & 0 \\ 0 & w^4\end{pmatrix}+ \cdot\cdot\cdot

= \begin{pmatrix}1- \frac{1}{2}w^2+ \frac{1}{4}w^4+ \cdot\cdot\cdot & -w+ \frac{1}{3!} w^3+ \cdot\cdot\cdot \\ w- \frac{1}{3!}w^3+ \cdot\cdot\cdot & -1+ \frac{1}{2}w^2- \frac{1}{4}w^4+ \cdot\cdot\cdot\end{pmatrix}

and you should be able to recognise those as the Taylor's series about 0 for cos(w) and sin(w).
 
Last edited by a moderator:
wow.

ok, i went to check again what my tutor said and it was
"scalar and vector products in terms of matrices". so what does he mean by this?

the scalar product is (A B C) x (D E F)T, (so we can take the transpose of DEF because it is symmetric matrix? or is it for some other reason? )
so rows multiply by columns again?
but what about vector product?

for the parallelpiped, (u x v).w
so let's say u = (1,1) , v = (2,2), w = (3,3)
so u x v = (1x2, 1x2)sin(angle between vectors)
so .w = (2x3,2x3) cos(angle) ?
so if it yields 0, that vector w lies in the plane define by u and v, but if its otherwise, then w doesn't lie in the plane of u v ? for i x k, why is the length |i||j|? why is j introduced here? shouldn't it be |i||k|sin(90) = 1?
oh i see.. so the right hand rule gives the direection but the magnitude for i x k = |i||k|sin(90) = 1?

thanks a ton!
 
quietrain said:
wow.

ok, i went to check again what my tutor said and it was
"scalar and vector products in terms of matrices". so what does he mean by this?

the scalar product is (A B C) x (D E F)T, (so we can take the transpose of DEF because it is symmetric matrix? or is it for some other reason? )
so rows multiply by columns again?
Okay, you think of one vector as a row matrix and the other as a column matrix then the "dot product" is the matrix product
\begin{bmatrix}A & B & C\end{bmatrix}\begin{bmatrix}D \\ E \\ F\end{bmatrix}= AD+ BE+ CF
But the dot product is commutative isn't it? Does it really make sense to treat the two vectors as different kinds of matrices? It is really better here to think of this not as the product of two vectors but a vector in a vector space and functional in the dual space.

but what about vector product

for the parallelpiped, (u x v).w
so let's say u = (1,1) , v = (2,2), w = (3,3)
so u x v = (1x2, 1x2)sin(angle between vectors)
so .w = (2x3,2x3) cos(angle) ?
so if it yields 0, that vector w lies in the plane define by u and v, but if its otherwise, then w doesn't lie in the plane of u v ?


for i x k, why is the length |i||j|? why is j introduced here? shouldn't it be |i||k|sin(90) = 1?
Yes, that was a typo. I meant |i||k|.

oh i see.. so the right hand rule gives the direection but the magnitude for i x k = |i||k|sin(90) = 1?
Yes.

thanks a ton!
 
i see. thank you very much
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 18 ·
Replies
18
Views
3K