Dot product between two unit vectors

In summary, the problem is that you are doing the dot product between two vectors incorrectly and the result is always less than -1.
  • #1
Marioqwe
68
4
Hello, I am trying to find the angle between two unit vectors but I was wondering what I am supposed to do when the dot product is greater than 1 or less than -1.

For example

-0.0288067i + -0.989524j + -0.141463k
0.169194i + -0.0644865j + -0.983471k
 
Physics news on Phys.org
  • #2
Marioqwe said:
... I am trying to find the angle between two unit vectors ...

The unit vectors [itex]\underline{i}[/itex],[itex]\underline{j}[/itex]and [itex]\underline{k}[/itex] all are at right angles to each other just like the x,y,and z co-ordinate axes.

Does your difficulty refer to the angle between two vectors which are not unit vectors?
 
  • #3
The problem is that the dot product between the two vectors I mentioned above is less than -1, and that won't let me calculate the arccosine. I was wondering if there's another way of calculating the angle between them.
 
  • #4
Nevermind !
 
  • #5
costheta = (v1 dot v2)/(magnitude of v1*magnitude of v2)

The above will always be greater than -1 and less than +1.
 
  • #6
I'm sorry but once again, how would you deal with this vector?

0.444119i + 0.666155j + 0.599163k
-0.0587215i + 0.732467j + 0.678265k

the dot product is 1.73928, and the magnitude of each vector is 1. How do you calculate the angle between them? :(
 
  • #7
Marioqwe said:
I'm sorry but once again, how would you deal with this vector?

0.444119i + 0.666155j + 0.599163k
-0.0587215i + 0.732467j + 0.678265k

the dot product is 1.73928, and the magnitude of each vector is 1. How do you calculate the angle between them? :(

Are you sure? I get a dot product of 0.868249 for these vectors, and 0.198062 for the vectors in your first post.
 
  • #8
It looks like you are just doing the dot product wrong. I get
(-0.0260793338585)+ (0.487936554385)+ (0.406391292195)= 0.8682485127215
just as Rasalhaque did.

Perhaps if you showed more detail on how you are doing the dot product we could see where your error is.
 
  • #9
Was this problem given as a 'punishment'? It is so tedious to calculate!

You must have a mistake in the calculations.

There is NO WAY that (v1 dot v2)/(magnitude of v1*magnitude of v2) is greater than 1 or less than -1.
 
  • #10
I have a feeling that Marioque is enjoying seeing us calculating!
 
  • #11
I also got 0.8682484 for the dot product.
 
  • #12
jaja! grzz. It was my mistake again :(. No more dumb questions. I'm really sorry.
 
  • #13
No need to be sorry. Sometimes I myself make mistakes.

My maxim is:

One may sometimes swallow some water but that is the way one learns to swim!

Enjoy your 'swimming' in PhysicsForums!
 

1. What is a dot product between two unit vectors?

A dot product between two unit vectors is a mathematical operation that calculates the scalar quantity of the projection of one vector onto another. It is also known as the inner product or the scalar product.

2. How is the dot product between two unit vectors calculated?

The dot product between two unit vectors is calculated by multiplying the magnitude of one vector with the cosine of the angle between the two vectors. This can also be represented as the product of the components of the two vectors in the same dimension.

3. What is the significance of the dot product between two unit vectors?

The dot product between two unit vectors is used in various applications, such as physics, engineering, and computer graphics. It can be used to calculate the work done by a force, the angle between two vectors, and the projection of one vector onto another.

4. What is the range of values for the dot product between two unit vectors?

The range of values for the dot product between two unit vectors is between -1 and 1. A value of -1 indicates that the two vectors are perpendicular to each other, 0 indicates that the two vectors are orthogonal, and 1 indicates that the two vectors are parallel to each other.

5. How does the dot product between two unit vectors relate to the angle between them?

The dot product between two unit vectors is directly related to the cosine of the angle between them. The dot product will be equal to the product of the magnitudes of the two vectors only when the angle between them is 0 degrees. As the angle increases, the dot product decreases, and when the angle is 90 degrees, the dot product is 0.

Similar threads

  • Calculus and Beyond Homework Help
Replies
11
Views
419
  • Calculus and Beyond Homework Help
Replies
19
Views
2K
  • Calculus and Beyond Homework Help
Replies
6
Views
533
  • Calculus and Beyond Homework Help
Replies
13
Views
2K
  • Calculus and Beyond Homework Help
Replies
6
Views
897
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus
Replies
4
Views
513
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
21
Views
827
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
Back
Top