Finding the angel between two vectors

  • Thread starter Thread starter ssb
  • Start date Start date
  • Tags Tags
    Vectors
Click For Summary

Homework Help Overview

The discussion revolves around finding the angle between two vectors, A and B, defined by their components. The original poster attempts to use the dot product to calculate the angle but questions the correctness of their approach.

Discussion Character

  • Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the calculation of the dot product and the correct formula for finding the angle between vectors. There are questions about how to find the magnitudes of the vectors and the implications of the results obtained.

Discussion Status

Some participants have provided guidance on the correct formula and the need to calculate the magnitudes of the vectors. There is ongoing exploration of the calculations, with participants questioning assumptions and clarifying steps without reaching a consensus on the final angle.

Contextual Notes

There are mentions of potential errors in calculations and confusion regarding the components of the vectors, particularly in relation to the use of Pythagorean theorem for magnitude calculations.

ssb
Messages
119
Reaction score
0
I have two vectors

Vector A and B
Axi = -3
Ayj = 5.4

Bxi = 1.3
Byj = -3.9

I want the angle between them so I do the dot product

(-3)(1.3)+(5.4)(-3.9) = -24.96

Therefore the angle between them is

-24.96 = |-24.96|cos(theta)

Arccos(-24.96/24.96) = theta

Arccos(-1) = theta

Theta = pi = 180 degrees.

Is this correct? :confused:
 
Physics news on Phys.org
Your calculation for the dot product is correct, however you have used the wrong formula: the formula you need is [tex]\vec{a}\cdot\vec{b}=|\vec{a}||\vec{b}|\cos\theta[/tex]. How do you find the magnitude of a vector? (i.e. [itex]|\vec{a}|[/itex])
 
Last edited:
cristo said:
How do you find the magnitude of a vector? (i.e. [itex]|\vec{a}|[/itex])


Ok so the magnitude of vector a would be
= sqrt(5.4^2 + 3^2)
= (3*sqrt(106))/5
= 6.18

Magnitude of B would be
= sqrt(-3.9^2 + 1.3^2)
= (13*sqrt(10))/10
= 4.11

therefore

-24.96 = abs(4.11) * abs(6.18) cos(theta)

Theta = arccos [(-24.96)/(abs(4.11) * abs(6.18))]

theta = 90 degrees = pi/2 radians

Does this look accurate?
 
It can't be 90. That would imply the dot product is zero (see the formula mentioned)
 
[tex]\vec{a}\cdot\vec{b}=|\vec{a}||\vec{b}|\cos\theta[/tex]

I guess I am still confused on the [tex]|\vec{a}||\vec{b}|[/tex] part

this would be finding the magnitudes then multiplying their absolute values together right? The magnitudes are found with pathegoran's theorem correct?
 
ssb said:
Ok so the magnitude of vector a would be
= sqrt(5.4^2 + 3^2)
= (3*sqrt(106))/5
= 6.18

Magnitude of B would be
= sqrt(-3.9^2 + 1.3^2)
= (13*sqrt(10))/10
= 4.11

therefore

-24.96 = abs(4.11) * abs(6.18) cos(theta)

Theta = arccos [(-24.96)/(abs(4.11) * abs(6.18))]

What is the value of [(-24.96)/(abs(4.11) * abs(6.18))]?
 
cristo said:
What is the value of [(-24.96)/(abs(4.11) * abs(6.18))]?
its just about -1.

Find the angle between
A = -3i + 5.4j
B = 1.3i - 3.9j

(-3 * 1.3)+(5.4 * -3.9) = -24.96

-24.96 = ab cos(theta)

therefore

theta = arccos (-24.96/sqrt[(2^2+1.3^2)(5.4^2+(-3.9)^2)]

theta = domain error when I try to calculate it.
 
ssb said:
its just about -1.

Find the angle between
A = -3i + 5.4j
B = 1.3i - 3.9j

(-3 * 1.3)+(5.4 * -3.9) = -24.96

-24.96 = ab cos(theta)

therefore

theta = arccos (-24.96/sqrt[(2^2+1.3^2)(5.4^2+(-3.9)^2)]

theta = domain error when I try to calculate it.
Where did you get that "2" in the square root? You should have
sqrt[((-3.9)^2+ 1.3^3)(5.4^2+ (-3.9)^2)].
 
HallsofIvy said:
Where did you get that "2" in the square root? You should have
sqrt[((-3.9)^2+ 1.3^3)(5.4^2+ (-3.9)^2)].

When you replaced my 2 with a -3.9, did you mean to replace it with a -3?

If this is the case then my questions have been answered!

thanks everybody for helping me with this most basic topic
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
56
Views
6K
  • · Replies 6 ·
Replies
6
Views
4K
Replies
1
Views
1K
Replies
5
Views
910
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 9 ·
Replies
9
Views
2K