Skip to content

Commit fb8e539

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

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

calculus/appendix-e.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22

33
## 1) The dot product:
44

5-
- Recall, 2 intersecting vectors $u$ and $v$ together with the resultant vetcor $w$; such that, $$w = u + v$$
5+
- Recall, 2 intersecting vectors $u$ and $v$ together with the resultant vetcor $w$; such that, $$w = u - v$$
66

77
- From the "Law of Cosines":
88
$$Since, ||w||^2 = ||u||^2 + ||v||^2 - 2 * ||u|| * ||v|| * cos(\theta)$$
9-
$$cos(\theta) = (||w||^2 - ||u||^2 - ||v||^2) / -2 * ||u|| * ||v||$$
9+
$$Then, cos(\theta) = (||w||^2 - ||u||^2 - ||v||^2) / -2 * ||u|| * ||v||\ Lemma\.01$$
10+
11+
$$Since, ||w|| = \sqrt{(u_x - v_x)^2 + (u_y - v_y)^2 + (u_z - v_z)^2}$$
12+
$$||v|| = \sqrt{{v_x}^2 + {v_y}^2 + {v_z}^2}$$
13+
$$||u|| = \sqrt{$$
1014

1115
$$Hence, cos(\theta) = u.v / ||u|| * ||v||$$
1216
$$Thence, u.v = ||u|| * ||v|| * cos(\theta)$$

0 commit comments

Comments
 (0)