# Vector dot products

by mindheavy
Tags: products, vector
 P: 61 I'm reading up on dot products and keep seeing two different examples. One states that u$\cdot$v = u$_{i}$$\cdot$v$_{i}$ + u$_{j}$$\cdot$v$_{j}$ Another: u$\cdot$v = |u|$\cdot$|v|cosθ I'm not understanding when to use the first or second method?
PF Patron
HW Helper
P: 2,567
 Quote by mindheavy I'm reading up on dot products and keep seeing two different examples. One states that u$\cdot$v = u$_{i}$$\cdot$v$_{i}$ + u$_{j}$$\cdot$v$_{j}$ Another: u$\cdot$v = |u|$\cdot$|v|cosθ I'm not understanding when to use the first or second method?
At the risk of stating something obvious, it depends on what information you are given and what you are trying to find. If you know the two vectors then you can find the dot product using the first equation. Then you can find the angle between the vectors using the second equation.

On the other hand, if you are given the lengths of the vectors and the angle between them, you can use the second equation to find the dot product.
 P: 61 Makes sense, I think the way the book I'm looking in words it was confusing me. Thanks
PF Patron
Thanks
Emeritus
P: 38,405

## Vector dot products

For example, if you are given that one vector is <1, 0, 0> and the other is <2, 2, 0> it is easy to calculate that the dot product is 1(2)+ 0(2)+ 0(0)= 2.

But if you are given that one angle has length 1, the other has length $2\sqrt{2}$, and the angle between them is $\pi/4$, it is easiest to calculate $(1)(2\sqrt{2})(cos(\pi'4)= 2$.

By the way, in spaces of dimension higher than 3, we can use the "sum of products of corresponding components" to find the dot product between two vectors, then use $|u||v|cos(\theta)$ to define the "angle between to vectors".

 Related Discussions Introductory Physics Homework 9 Introductory Physics Homework 8 General Math 8 Introductory Physics Homework 3 Introductory Physics Homework 2