DOT PRODUCT TEACH-O-MATIC

By Zach Barth

go to Cross Product Teach-O-Matic

Important stuff to take note of:

* Dot product is an area *

It can be calculated by either ||u|| * ||v|| * cos(theta) or ux*vx + uy*vy + uz*vz, which both work for random reasons. Using the ||u|| * ||v|| * cos(theta) method, we can conclude that the dot product ranges from 0 to the area of ||u|| * ||v|| depending on the value of the angle between the two vectors. In the simulation, dot product is represented by the red shaded area.

* How projections work *

projv u =  ( u·v ) v

(||v||2)

Since u and v are both vectors, this means that (u·v) / (||v||^2) is a constant, meaning that (u·v) and (||v||^2) cancel out to leave a ratio which scales the vector v, creating a projected vector. In the simulation, the area of ||v||^2 is represented by the blue shaded area (some of which is covered by the dot product area, so note that ||v||^2 starts at orgin!).

Generated by NetBeans IDE
{"ft_lang_label":"__label__en","ft_lang_prob":0.92996293,"math_prob":0.96687895,"size":956,"snap":"2022-27-2022-33","text_gpt3_token_len":266,"char_repetition_ratio":0.13340336,"word_repetition_ratio":0.011428571,"special_character_ratio":0.30125523,"punctuation_ratio":0.07653061,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9913114,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-08-17T07:52:04Z\",\"WARC-Record-ID\":\"<urn:uuid:a9db5264-68bc-4cec-8c49-043ad7fe8519>\",\"Content-Length\":\"3286\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:296ee1e4-81a5-4994-bc57-b7438c737d25>\",\"WARC-Concurrent-To\":\"<urn:uuid:d0508297-aa0b-44c8-9187-7c37320da6c1>\",\"WARC-IP-Address\":\"23.108.108.219\",\"WARC-Target-URI\":\"https://trashworldnews.com/high-school/calc/dotproduct.htm\",\"WARC-Payload-Digest\":\"sha1:47HW5TNQ4S3C6PRLCLVNAAPOF4SJUHM5\",\"WARC-Block-Digest\":\"sha1:2BPKDRDLFIFCGQTIHBCBBS4IXVOLO65N\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-33/CC-MAIN-2022-33_segments_1659882572870.85_warc_CC-MAIN-20220817062258-20220817092258-00548.warc.gz\"}"}