Law of Cosines in Linear Algebra: Understanding the Dot Product of Unit Vectors

In summary, the definition of the dot product for two vectors is the product of the lengths and the cosine of the angle between them. If the vectors are unit, the lengths are both 1.
  • #1
TGV320
35
15
TL;DR Summary
Why cosθ?
HI,

I am studying linear algebra, and I just can't understand why "Unit vectors u and U at angle θ have u multiplied by U=cosθ

Why is it like that?

Thanks
 
Physics news on Phys.org
  • #2
Because that is the definition of dot product. It is the product of the lengths and the cos of the angle. If the vectors are unit, the lengths are both 1.
 
  • #3
@TGV320 : can you explain the question? To me it isn't clear what specifically you don't understand.

Do you have the same difficulty with projection of a vector on another ? with coponents in a coordinate system ?

##\ ##
 
  • #5
For 2-d vectors ##a=(a_1,a_2),(b_1,b_2)##, dot product =##(a_1b_1+a_2b_2)##.. Work out trig. to get angle.
 
  • #6
mathman said:
For 2-d vectors ##a=(a_1,a_2),(b_1,b_2)##, dot product =##(a_1b_1+a_2b_2)##.. Work out trig. to get angle.
There are two definitions of the dot product for 2D vectors:
Coordinate definition, as you wrote.
Coordinate-free definition: ##\vec a \cdot \vec b = |\vec a||\vec b|\cos(\theta)##, where ##\theta## is the smaller of the angles between the two vectors.
 
  • Like
Likes Astronuc
  • #7
Mark44 said:
There are two definitions of the dot product for 2D vectors:
Coordinate definition, as you wrote.
Coordinate-free definition: ##\vec a \cdot \vec b = |\vec a||\vec b|\cos(\theta)##, where ##\theta## is the smaller of the angles between the two vectors.
I prefer the first, since we don't know the angle.
 
  • Like
Likes malawi_glenn
  • #8
mathman said:
I prefer the first, since we don't know the angle.
Each definition has its uses. For example, if you know the value of the dot product, and the magnitudes of the vectors, but don't know the coordinates of the vectors, you can use the coordinate-free definition to calculate the angle.

With regard to unit vectors, the subject of this thread, if you know the value of their dot product, you calculate the angle between them.

I've seen many problems where the coordinate definition could not be used.
 
Last edited:
  • Like
Likes Astronuc
  • #9
  • #10
Thanks, I think I have a better understanding now.
Never learned that before at school, confused me quite a lot the first time.
 
  • Like
Likes BvU and berkeman
  • #11
the fact that the two versions are the same is called the law of cosines. perhaps you learned it in that form in trig.
 
  • Like
Likes Astronuc

What is the dot product of unit vectors?

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

How is the dot product of unit vectors calculated?

The dot product of two unit vectors, u and v, is calculated by multiplying the magnitudes of both vectors and the cosine of the angle between them. In mathematical notation, it can be written as u · v = |u||v|cosθ.

What is the significance of the dot product of unit vectors?

The dot product of unit vectors has several applications in mathematics and physics. It is used to calculate the angle between two vectors, determine if two vectors are perpendicular, and to find the projection of one vector onto another.

Can the dot product of unit vectors be negative?

Yes, the dot product of unit vectors can be negative if the angle between them is greater than 90 degrees. This indicates that the two vectors are pointing in opposite directions.

What is the relationship between the dot product of unit vectors and the cross product?

The dot product of unit vectors is related to the cross product as it can be used to calculate the magnitude of the cross product. The magnitude of the cross product of two vectors, u and v, can be written as |u x v| = |u||v|sinθ, where θ is the angle between the two vectors.

Similar threads

  • Linear and Abstract Algebra
Replies
33
Views
837
  • Linear and Abstract Algebra
Replies
7
Views
254
  • Linear and Abstract Algebra
Replies
14
Views
650
  • Linear and Abstract Algebra
Replies
9
Views
204
  • Linear and Abstract Algebra
Replies
16
Views
2K
  • Linear and Abstract Algebra
Replies
4
Views
884
  • Linear and Abstract Algebra
Replies
9
Views
582
  • Linear and Abstract Algebra
Replies
10
Views
362
  • General Math
Replies
7
Views
889
  • Linear and Abstract Algebra
Replies
4
Views
2K
Back
Top