Calculating angle between two vectors

L In summary, to calculate the angle between two vectors a and b, we can use the definition of scalar product a·b = ab cos θ, and the fact that a·b = axbx + ayby + azbz. Using this, we can write out the expression for θ in terms of the length of a, the length of b, and the dot product of a and b. This involves using the arccos function and Pythagoras' theorem.
  • #1
jpd5184
76
0

Homework Statement



Use the definition of scalar product, a·b = ab cos θ, and the fact that a·b = axbx + ayby + azbz to calculate the angle between the two vectors given by a = 1.0 ihat + 5.0 jhat + 1.0 khat and b = 6.0 ihat + 3.0 jhat + 4.0 khat.


Homework Equations



a·b = ab cos θ

The Attempt at a Solution



i really don't have any clue were to start
 
Physics news on Phys.org
  • #2
jpd5184 said:

Homework Statement



Use the definition of scalar product, a·b = ab cos θ, and the fact that a·b = axbx + ayby + azbz to calculate the angle between the two vectors given by a = 1.0 ihat + 5.0 jhat + 1.0 khat and b = 6.0 ihat + 3.0 jhat + 4.0 khat.


Homework Equations



a·b = ab cos θ

The Attempt at a Solution



i really don't have any clue were to start
Write out the expression for [itex]\theta[/itex] in terms of the length of a x length of b and [itex]a_xb_x + a_yb_y + a_zb_z[/itex] (hint: you need the arccos function and pythagoras' theorem).

AM
 

1. How do I calculate the angle between two vectors?

To calculate the angle between two vectors, you can use the dot product formula: θ = cos^-1((a · b) / (|a| * |b|)), where a and b are the two vectors and |a| and |b| are the magnitudes of the vectors. Alternatively, you can use the cross product formula: θ = sin^-1(|a x b| / (|a| * |b|)).

2. Can the angle between two vectors be negative?

No, the angle between two vectors cannot be negative. It is always measured in a counterclockwise direction and will always be between 0 and 180 degrees (or 0 and π radians).

3. What is the difference between the dot product and cross product?

The dot product of two vectors results in a scalar quantity, while the cross product results in a vector quantity. The dot product is used to calculate the angle between two vectors, while the cross product is used to determine the perpendicular vector to both of the original vectors.

4. Can the angle between two vectors be greater than 180 degrees?

No, the angle between two vectors cannot be greater than 180 degrees (or π radians). This is because the dot product formula for calculating the angle only gives values between 0 and 180 degrees. However, the cross product formula can give values greater than 180 degrees, but this represents the supplement angle (180 minus the calculated angle).

5. How is the angle between two vectors affected by their direction?

The angle between two vectors is affected by their direction. If the two vectors are in the same direction, the angle between them will be 0 degrees. If they are in opposite directions, the angle between them will be 180 degrees. If they are perpendicular to each other, the angle between them will be 90 degrees.

Similar threads

  • Introductory Physics Homework Help
Replies
1
Views
1K
  • Introductory Physics Homework Help
Replies
7
Views
27K
  • Introductory Physics Homework Help
Replies
2
Views
5K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
980
Replies
7
Views
2K
  • Introductory Physics Homework Help
Replies
2
Views
2K
  • Introductory Physics Homework Help
Replies
5
Views
20K
  • Introductory Physics Homework Help
Replies
29
Views
916
  • Introductory Physics Homework Help
Replies
2
Views
3K
  • Introductory Physics Homework Help
Replies
14
Views
1K
Back
Top