Evaluating the Dot Product of 3D Vectors

  • Thread starter Thread starter Joza
  • Start date Start date
  • Tags Tags
    3d Vector
Click For Summary
To evaluate the dot product of two 3D vectors A and B, you can use either the angle-based formula or the component-based method. The angle-based formula involves the magnitudes of the vectors and the cosine of the angle between them, but determining the angle can be challenging without additional context. The component-based method simplifies the process by calculating the dot product as the sum of the products of corresponding components: A·B = ax * bx + ay * by + az * bz. This approach highlights that only the components aligned along the same axis contribute to the dot product, as perpendicular components yield a result of zero. Understanding these methods allows for effective evaluation of the dot product in 3D vector analysis.
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.
 
Mathematics 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. \vec{u}\cdot \vec{v}= |v||u|cos(\theta) where \theta is the angle between the two vectors

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

\vec{u}= a_1\vec{}i+ b_1\vec{j}+ c_1\vec{k}

and

\vec{u}= a_2\vec{i}+ b_2\vec{j}+ c_2\vec{k}

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

\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}

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:

\vec{u}\cdot\vec{v} = (a_1*a_2)(1)+(b_1*b_2)(1)+(c_1*c_2)(1)
 
Last edited:
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K