r/calculus•
LanceBPC

How to find the angle between 2 vectors given their dot and cross product?

Vector Calculus

Basically just want to know the formula that we would use.

Posted May 4, 2022, 1:15 AM UTC

29
waldosway•

v.w = |v||w|cosθ

That should be enough since you'd assume the angle to be in [0,π].

3
LanceBPCOP•

How would I use the cross product vector here? Would I just take the magnitude of the cross product and replace |v||w| with the magnitude of the cross product?

1
waldosway•

|v x w| = |v||w|sinθ

but that's not preferred since arcsine assumes the angle is acute. If you can determine that it's not, I guess you can subtract the arcsine from π.

1
random_anonymous_guyPhD•

Not quite, but I would say you are heading in the right direction.

How about this... if you know |v||w|cosθ and |v||w|sinθ, is there a trig identity you can apply to recover |v||w|?

1
2inchesofsteel•

Look at the equations. What do you get if you multiply the dot product and cross product? What if you divide one by the other?

2
AutoModeratorMOD•

As a reminder...

Posts asking for help on homework questions require:

  • the complete problem statement,

  • a genuine attempt at solving the problem, which may be either computational, or a discussion of ideas or concepts you believe may be in play,

  • question is not from a current exam or quiz.

Commenters responding to homework help posts should not do OP’s homework for them.

Please see this page for the further details regarding homework help posts.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1
slides_galore•

This talks about what do to if the dot product is <0.

https://www.youtube.com/watch?v=LcMs1KUfLls

1
Due_Campaign_6313•

For cross product, A x B= |A| |B| sin θ Rearranging algebraicly you can get

Sin^-1((A x B)/|A| |B|) = θ

Unless you are using vectors this is basically the same as simple trig.

For dot product, do something similar with A • B= |A| |B| cosθ To get

Cos^-1((A•B)/|A| |B|) = θ

The ^-1 just means the inverse of the trig function. Kind of like how you would move y to the other side by dividing by y or multiplying y^-1. Or rather they use the same notation even though it's not really division.

And the |A| etc means the magnitude of vector A or squareroot(Ax^2 + Ay^2 + Az^2).

The dot product is just multiplying the x,y,z coordinate of each vector and adding every result together. Ax×Bx+Ay×By+Az×Bz=A•B

For cross product, I recommend looking up how to do that because there is an easy graphical way to do it.

1
Due_Campaign_6313•

Reddit put my vectors in the exponent, only the -1 goes there. Sorry about that.

1