Skip to content

Commit 8cacd7e

Browse files
authored
Update appendix-e.md
1 parent 84de38a commit 8cacd7e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

calculus/appendix-e.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22

33
## 1) The dot product:
44

5-
$$u.v = ||u|| * ||v|| * cos(\theta)$$
5+
- Recall, 2 intersecting vectors $u$ and $v$ together with the resultant vetcor $w$; such that, $$w = u + v$$
6+
7+
- From the "Law of Cosines":
8+
$$Since, ||w||^2 = ||u||^2 + ||v||^2 - 2 * ||u|| * ||v|| * cos(\theta)$$
9+
$$cos(\theta) = (||w||^2 - ||u||^2 - ||v||^2) / -2 * ||u|| * ||v||$$
10+
11+
$$Hence, cos(\theta) = u.v / ||u|| * ||v||$$
12+
$$Thence, u.v = ||u|| * ||v|| * cos(\theta)$$
613

714
## 2) Projection vectors:
815

0 commit comments

Comments
 (0)