1st major update src/3_vector_spaces.md
Compare changes
- Maciej Topyla authored
+ 121
− 126
@@ -2,28 +2,33 @@
@@ -34,172 +39,162 @@ $$\vec{v} = (v_1, v_2,\ldots, v_n) \, ,$$
In this figure, you can see how the same vector $\vec{v}$ can be expressed in two different bases. In the first one (left panel), the Cartesian basis is used and its components are $\vec{v}=(2,2)$. In the second basis (right panel), the components are different, namely $\vec{v}=(2.4 ,0.8)$, while the magnitude and direction of the vector remain unchanged.
A special vector is the **unit vector**, which has a norm of 1 *by definition*. A unit vector is often denoted with a hat, rather than an arrow ($\hat{i}$ instead of $\vec{i}$). To find the unit vector in the direction of an arbitrary vector $\vec{v}$, we divide by the norm: $$\hat{v} = \frac{\vec{v}}{|\vec{v}|}$$