Vector field calculations- dumb question

AI Thread Summary
The discussion revolves around calculating the angle between two vectors, barX and barY, in a vector field defined in the x and y plane. The magnitude of the vectors is calculated using the formula sqrt(x² + y²), with tails originating from specified input points. The question arises on how to determine the angle theta using the dot product, which results in zero due to the perpendicular nature of the vectors. Consequently, this indicates that the angle between the two vectors is 90 degrees. The provided reference clarifies that the dot product formula confirms this relationship, reinforcing the understanding of vector angles in this context.
bookdad
Messages
2
Reaction score
0
Given 2 vectors, say x and y with a relationship of barXx-barYy (barX =1,0,0 and barY=0,1,0) calculations for the vector field in x and y plane are:
Magnitude = sqrt(x2+y2)
tails of vectors begin at input points (IE: if I choose 1,0 or 0,-1 etc) and the magnitudes are calcluated from these values with the equation above.
Question: how to find the angle of the vectors? If I use ones and zeros and the BarX dot BarYCos theta how to get theta? also barXdot BarY is zero making the whole thing zero?
 
Physics news on Phys.org
bookdad said:
Given 2 vectors, say x and y with a relationship of barXx-barYy (barX =1,0,0 and barY=0,1,0) calculations for the vector field in x and y plane are:
Magnitude = sqrt(x2+y2)
tails of vectors begin at input points (IE: if I choose 1,0 or 0,-1 etc) and the magnitudes are calcluated from these values with the equation above.
Question: how to find the angle of the vectors? If I use ones and zeros and the BarX dot BarYCos theta how to get theta? also barXdot BarY is zero making the whole thing zero?

Does this reference help?

http://www.algebralab.org/lessons/lesson.aspx?file=Trigonometry_TrigVectorDotProd.xml

.
 
this gives the formula cos theta = barV dot bar U / the magnitudes of vu. as mentioned before this returns a value of zero whether the y component or the x component is zero. so this means each vector with a zero Y component has a 90 degree vector and this cannot be.
 
bookdad said:
this gives the formula cos theta = barV dot bar U / the magnitudes of vu. as mentioned before this returns a value of zero whether the y component or the x component is zero. so this means each vector with a zero Y component has a 90 degree vector and this cannot be.
Since the two vectors are obviously perpendicular, their dot product is zero, and hence the angle between them is 90 degrees.

One way that the dot product of two vectors is defined is:
\vec{u} \cdot \vec{v} = |\vec{u}||\vec{v}| \cos(\theta)

You can solve this equation for cos(theta) like so:
\cos(\theta) = \frac{\vec{u} \cdot \vec{v}}{|\vec{u}||\vec{v}| }
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top