• Advertisement
Sign in to follow this  

Dot Product Confusion

This topic is 2039 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

It's my understand that given two vectors (A & B ) the dot product should be equal to the magnitude of the project of A onto B...

However in this example (and any other I can find):

http://www.falstad.com/dotproduct/

The dot product is double what I would expect it to be. The magnitude of the projection of A onto B (yellow line) in this example is 0.5, but its reported as 1


What am I missing? Edited by Jcoose

Share this post


Link to post
Share on other sites
Advertisement
The projection of A onto B has length |A| cos(theta), which is dot(A,B)/|B| = 1/sqrt(2). Does that help?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement