Showing dot product is commutative, please

Click For Summary
SUMMARY

The discussion centers on proving the commutative property of the dot product, specifically showing that \( \vec{A} \cdot \vec{B} = \vec{B} \cdot \vec{A} \). Participants demonstrate the proof using both component notation and the geometric definition involving cosine, concluding that the dot product is indeed commutative. Additionally, the conversation touches on the anticommutative nature of the cross product, clarifying that \( \vec{A} \times \vec{B} = -\vec{B} \times \vec{A} \). The distinction between the two operations is emphasized through their mathematical properties.

PREREQUISITES
  • Understanding of vector notation and operations
  • Familiarity with the geometric interpretation of dot and cross products
  • Knowledge of trigonometric functions, specifically sine and cosine
  • Basic algebraic manipulation skills
NEXT STEPS
  • Study the geometric interpretation of the dot product and its applications
  • Learn about the properties of the cross product and its applications in physics
  • Explore vector calculus concepts, including gradients and divergence
  • Investigate the implications of commutativity and anticommutativity in higher dimensions
USEFUL FOR

Students and educators in mathematics and physics, particularly those focusing on vector analysis and linear algebra. This discussion is also beneficial for anyone seeking to deepen their understanding of vector operations and their properties.

mr_coffee
Messages
1,613
Reaction score
1
Hello everyone. I'm trying to show ab = ba. //communative property of dot product
This is what I have, is it enough to show this?
ab = (ax, ay, az) \dot (bx, by, bz) = axbx + ayby + azbz;
a\dotb = (axi + ayj) (bxi + byj); //note: i and j are unit vectors
= axbx(i)(i) + ayby(j)(j) + axby(i)(j) + aybx(j)(i)
= axbx+ayby

b\dota = (bx, by, bz) \dot (ax,ay,az) = bxax + byay + bzaz;

b\dota = (bxi + byj) (axi + ayj)
= bxax(i)(i) + byay(j)(j) + bxay(i)(j) + byax(j)(i)
= bxax + byay

Is this enough to show the dot product is communative?
Any help would be great if it isn't!
 
Physics news on Phys.org
What is a.b, what is b.a? (in terms of components? No idea what those dashes are doing there)
 
a.b is the dot product, a and b are vectors. // that's just a symbol for comment in C++, out of habbit when I want to note somthing I put a //, sorry for the confusion.
 
You've got it, but I'm not sure of why you did it twice.

You need either this form:

ab = (ax, ay, az) (bx, by, bz) = axbx + ayby + azbz,

or this one:

ab = (axi + ayj) (bxi + byj),

but not both.

An even quicker way would be to define the dot product as \vec{A}\cdot\vec{B}=ABcos(\theta).

Then:

\vec{A}\cdot\vec{B}=ABcos(\theta)
\vec{A}\cdot\vec{B}=BAcos(\theta)
\vec{A}\cdot\vec{B}=\vec{B}\cdot\vec{A}.

Done!
 
\vec{A}\cdot\vec{B}=ABcos(\theta)
\vec{A}\cdot\vec{B}=BAcos(\theta)
\vec{A}\cdot\vec{B}=\vec{B}\cdot\vec{A}.

Done!

Doesn't this imply that cross product is commutative then?

\vec{A} \times \vec{B} = AB\sin(\theta) [/tex]<br /> \vec{B} \times \vec{A} = BA\sin(\theta) [/tex]&lt;br /&gt; \vec{A} \times \vec{B} = \vec{B} \times \vec{A} [/tex]&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; or am i just tired?
 
No, it doesn't. \vec{A}\times\vec{B} does not equal ABsin(\theta ).
 
THanks for the help guys! I do like your proof a lot better then mine :)
 
\vec{B}\cdot\vec{A}=BAcos(\theta) minor technicality

\vec{A} \times \vec{B} = - \vec{B} \times \vec{A} the cross product is also known as "vector product".
 
Astronuc, are you saying his proof doesn't work or are you replying to whozum?
 
  • #10
My comment about \vec{B}\cdot\vec{A}=BAcos(\theta) is purely editorial. I believe Tom meant to right that.

Another way to right the proof is \vec{A}\cdot\vec{B}=ABcos(\theta)=BAcos(\theta)=\vec{B}\cdot\vec{A} using the commutative rule of scalars, A*B = B*A.

and I was responding to Whozum also.
 
  • #11
Astronuc said:
My comment about \vec{B}\cdot\vec{A}=BAcos(\theta) is purely editorial. I believe Tom meant to right that.

Um...I did write that. :confused:

Another way to right the proof is \vec{A}\cdot\vec{B}=ABcos(\theta)=BAcos(\theta)=\vec{B}\cdot\vec{A} using the commutative rule of scalars, A*B = B*A.

That is exactly the same as my proof. You just wrote it horizontally instead of vertically. :smile:
 
  • #12
| \vec{A} \times \vec{B}| = AB\sin(\theta) = BA\sin(\theta) = | \vec{B} \times \vec{A}| [/tex]<br /> <br /> That holds true, its just the direction that switches.
 
  • #13
Theta is the angle from A to B. If you switch A and B, theta becomes negative theta. cos(theta) = cos(-theta), so the dot product, which uses cosine, is commutative. On the other hand, sin(-theta) = -sin(theta), so the cross product, which uses sine, is anticommutative.
 
  • #14
JoAuSc said:
Theta is the angle from A to B. If you switch A and B, theta becomes negative theta. cos(theta) = cos(-theta), so the dot product, which uses cosine, is commutative.

I agree with that argument...

On the other hand, sin(-theta) = -sin(theta), so the cross product, which uses sine, is anticommutative.

...but not this one.

Or maybe I just don't understand it. I agree that the cross product is anticommutative, but I do not see how it depends on the oddness of the sine function.

When we say |\vec{A}\times\vec{B}|=ABsin(\theta), that's actually a little sloppy. It's understood that \theta is chosen so that sin(\theta) is nonnegative, because the left side of that equation is nonnegative. A more precise way to say it would be:

|\vec{A}\times\vec{B}|=AB|sin(\theta )|

or:

|\vec{A}\times\vec{B}|=ABsin(\theta ), 0\leq\theta\leq\frac{\pi}{2}.
 
Last edited:

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
5
Views
3K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 7 ·
Replies
7
Views
28K
  • · Replies 5 ·
Replies
5
Views
8K
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
7K
Replies
2
Views
6K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 3 ·
Replies
3
Views
5K