Calculating the Dot Product: A*B

AI Thread Summary
To calculate the dot product of vectors A and B, you need the angle between them, not the angles each makes with the x-axis. The angle between the vectors can be found by subtracting the angles you calculated for each vector, resulting in 15.2 degrees. The dot product can be computed using the formula A·B = ||A|| ||B|| cos(θ) or the alternative method A·B = AxBx + AyBy. Both methods yield the same result, providing a way to verify your calculations. Understanding the distinction between the angles is crucial for accurate dot product computation.
Crauven
Messages
7
Reaction score
0
I need some major help with some dot products. I was curious if when getting the dot product, you add the angles of each one to each other. I'll give the problem:

theta=(/)

Find A*B(dot product)
A=8.6i+5j
B=9.7i+2.6j

So i used the formula my teacher gave me to find the angle, theta, tan(/)=y/x. So i got the Angle for each:
tan(/)=5/8.6
(/)=tan^-1(5/8.6)
(/)=30.2

and then for B:
tan(/)=2.6/9.7
(/)=tan^-1(2.6/9.7)
(/)=15

So now, I am given two formulas to get the dot product
A*B=ABcos(/)
AB means the magnitude of A multiplied by the magnitude of B. I can get that, but it asks for one angle... what do I do? Add the two angles together? Or subtract them? I'm confused, please help!
 
Physics news on Phys.org
In the formula

\vec A \cdot \vec B = || \vec A || \, || \vec B || \cos \theta

the angle \theta is the angle between the two vectors. When you found the "angle" for each vector, what you were really finding was the angle between each vector and the positive x-axis. If one vector makes an angle of 30.2 degress with the positive x-axis, and the other makes an angle of 15 degrees, the angle between them is 30.2 - 15 = 15.2 degrees.

When it doubt, draw a picture! You'll see that the two vectors make an angle of 15.2 degrees between them.

- Warren
 
For the lazy among us, there's an alternative formula:
if
\vec{A}=<A_x,A_y>
and
\vec{B}=<B_x,B_y>
then
\vec{A}\cdot\vec{B}=A_xB_x+A_yB_y
 
I use both formulas, the first that Warren mentioned to get the answer, then i use the lazy way to check it. Thanks guys!
 
Thread 'Question about pressure of a liquid'
I am looking at pressure in liquids and I am testing my idea. The vertical tube is 100m, the contraption is filled with water. The vertical tube is very thin(maybe 1mm^2 cross section). The area of the base is ~100m^2. Will he top half be launched in the air if suddenly it cracked?- assuming its light enough. I want to test my idea that if I had a thin long ruber tube that I lifted up, then the pressure at "red lines" will be high and that the $force = pressure * area$ would be massive...
I feel it should be solvable we just need to find a perfect pattern, and there will be a general pattern since the forces acting are based on a single function, so..... you can't actually say it is unsolvable right? Cause imaging 3 bodies actually existed somwhere in this universe then nature isn't gonna wait till we predict it! And yea I have checked in many places that tiny changes cause large changes so it becomes chaos........ but still I just can't accept that it is impossible to solve...
Back
Top