Evaluating the Dot Product of 3D Vectors

  • Context: High School 
  • Thread starter Thread starter Joza
  • Start date Start date
  • Tags Tags
    3d Vector
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 4K views
Joza
Messages
139
Reaction score
0
I have 2 vectors with their x, y and z components.


How do I evaluate A dot B? I know it is the product of their magnitudes and cosine of the angle between them. But it's this angle I can't figure out.


I have very limited experience with vectors so far, and none in 3 dimensional.
 
Physics news on Phys.org
It's hard to answer your question because you haven't given any "context". Their are two equivalent ways of defining "dot product of two vectors":

1. [itex]\vec{u}\cdot \vec{v}= |v||u|cos(\theta)[/itex] where [itex]\theta[/itex] is the angle between the two vectors

2. If [itex]\vec{u}= a\vec{i}+ b\vec{j}+ c\vec{k}[/tex] and [itex]v= d\vec{i}+ e\vec{j}+ f\vec{k}[/itex], then [itex]\vec{u}\cdot\vec{v}= ad +be+ cf[/itex]<br /> <br /> Which are you using?[/itex]
 
HallsofIvy said:
2. If [itex]\vec{u}= a\vec{i}+ b\vec{j}+ c\vec{k}[/tex] and [itex]v= d\vec{i}+ e\vec{j}+ f\vec{k}[/itex], then [itex]\vec{u}\cdot\vec{v}= ad +be+ cf[/itex]<br /> [/itex]
[itex] <br /> definitely like this[/itex]
 
You can think of it like this:

[tex]\vec{u}= a_1\vec{}i+ b_1\vec{j}+ c_1\vec{k}[/tex]

and

[tex]\vec{u}= a_2\vec{i}+ b_2\vec{j}+ c_2\vec{k}[/tex]

If you want to find [tex]\vec{u}\cdot\vec{v}[/tex] you can think of it as expanding the two vectors through multiplication.

[itex]\vec{u}\cdot\vec{v} = (a_1*a_2)\vec{i}\cdot\vec{i}+(a_1*b_2)\vec{i}\cdot\vec{j}+(a_1*c_2)\vec{i}\cdot\vec{k}+(b_1*a_2)\vec{j}\cdot\vec{i}+(b_1*b_2)\vec{j}\cdot\vec{j}+(b_1*c_2)\vec{j}\cdot\vec{k}+(c_1*a_2)\vec{k}\cdot\vec{i}+(c_1*b_2)\vec{k}\cdot\vec{j}+(c_1*c_2)\vec{k}\cdot\vec{k}[/itex]

But we know that if the terms are not the same (i.e., i dot j or j dot k) then they are perpendicular to each other right? The dot product, in a sense measures parallel-ness. So all the terms that are not the same become 0 since cos(90) = 0 which is their angle if they are perpendicular. All the terms that are the same go to 0 since they are parallel and cos(0) = 1 So we're left with:

[itex]\vec{u}\cdot\vec{v} = (a_1*a_2)(1)+(b_1*b_2)(1)+(c_1*c_2)(1)[/itex]
 
Last edited: