Problem with dot product of vectors

Click For Summary

Discussion Overview

The discussion revolves around the calculation of the dot product of two vectors, specifically addressing the confusion arising from the angle associated with one of the vectors. Participants explore different methods for computing the dot product and the implications of the angle's definition in relation to the vectors involved.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant presents two methods for calculating the dot product: using component multiplication and using the magnitude and angle between the vectors.
  • Another participant points out that the angle given for vector v2 is with respect to the x-axis, not the angle between the two vectors.
  • There is a suggestion that the formula for the dot product holds true only when one of the vectors lies along the x-axis, which is contested by others.
  • Some participants express confusion about the relationship between the angle of v2 and the angle θ used in the dot product formula.
  • Clarifications are made regarding the definition of θ as the angle between the two vectors, rather than being dependent on the x-axis.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the implications of the angle definitions and their effects on the dot product calculations. Confusion remains regarding the relationship between the angles and the vectors involved.

Contextual Notes

There is uncertainty about the assumptions made regarding the angles and the conditions under which the dot product formulas are applied. The discussion highlights the need for clarity in defining angles in vector calculations.

cshum00
Messages
215
Reaction score
0
It began in class with this problem.

Find the dot product of 2 vectors:
v1 a vector with components <4, 8>
v2 a vector of length 1 angle pi/4

So, i have 2 ways of doing it.
1) v1.v2 = v1x.v2x + v1y.v2y
2) v1.v2 = |v1||v2|cos(theta)
And they should come out the same but.

1) v1.v2 = 4cos(pi/4) + 8sin(pi/4) = 6√(2)
1) v1.v2 = √(42 + 82)cos(pi/4) = 2√(10)

and 6√(2) ≠ 2√(10), so i wondered if i did something wrong. Then it tried different numbers and found out these two ways of computing the dot product of two vectors are never the same for an angle pi/4 except for vectors with components <a, 0> or <0, a> where a is any real number.

I wonder if i computed anything wrong causing different results or is is that they are not the same?
 
Physics news on Phys.org
cshum00 said:
Find the dot product of 2 vectors:
v1 a vector with components <4, 8>
v2 a vector of length 1 angle pi/4

So, i have 2 ways of doing it.
1) v1.v2 = v1x.v2x + v1y.v2y
2) v1.v2 = |v1||v2|cos(theta)

Hi cshum00!

(have a pi: π and a theta: θ and a root: √ :smile:)

θ is the angle between the two vectors.

If v2 is at π/4 to the x-axis, it is at (1/√2,1/√2), but the angle between it and (4,8) is not π/4. :smile:
 


I see so it means that, v1x.v2x + v1y.v2y = |v1||v2|cosθ is true only if v1 or v2 is on the x-axis and therefore the angle making between them is θ.

Thanks, it clarifies at lot.
 
Stop!

No, θ in that formula has nothing to do with the x-axis.

θ is the angle between whatever two vectors you're dot-producting. :smile:
 
|v1||v2|cosθ this formula doesn't but
v1x.v2x + v1y.v2y this formula does

so, if the angle of v2 is θ and
v1x.v2x + v1y.v2y = |v1||v2|cosθ
then v1 have to be in the x-axis

although now you cleared me that in the original problem, the angle in v2 was not θ but with the x-axis

thanks again
 
cshum00 said:
|v1||v2|cosθ this formula doesn't but
v1x.v2x + v1y.v2y this formula does

so, if the angle of v2 is θ and
v1x.v2x + v1y.v2y = |v1||v2|cosθ
then v1 have to be in the x-axis
NO, v1 and v2 can be any two vectors, [itex]\theta[/itex] the angle between them. It is only if v1 lies on the (positive) x-axis that the angle between then is the angle v2 makes with the positive x-axis.

although now you cleared me that in the original problem, the angle in v2 was not θ but with the x-axis

thanks again
 
Yes, you are right. I am making so much confusion with the angle given for v2 which is the one between v2 and the x-axis and not θ
 

Similar threads

  • · Replies 33 ·
2
Replies
33
Views
5K
  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K