spec / vectors.mdon commit vectors - 20a&b (b1c3adb)
   1---
   2header-includes:
   3  - \documentclass{standalone}
   4  - \usepackage{cleveref}
   5  - \usepackage{harpoon}
   6  - \usepackage{accent} \newcommand{\vect}[1]{\accentset{\rightharpoonup}{#1}}
   7---
   8
   9# Vectors
  10
  11- **vector:** a directed line segment  
  12- arrow indicates direction
  13- length indicates magnitude
  14- notated as $\vec{a}, \widetilde{A}, \overrightharp{a}$
  15- column notation: $\begin{bmatrix}
  16       x \\ y
  17     \end{bmatrix}$
  18- vectors with equal magnitude and direction are equivalent
  19
  20
  21![](graphics/vectors-intro.png)
  22
  23## Vector addition
  24
  25$\vec{u} + \vec{v}$ can be represented by drawing each vector head to tail then joining the lines.  
  26Addition is commutative (parallelogram)
  27
  28## Scalar multiplication
  29
  30For $k \in \mathbb{R}^+$, $k\vec{u}$ has the same direction as $\vec{u}$ but length is multiplied by a factor of $k$.
  31
  32When multiplied by $k < 0$, direction is reversed and length is multplied by $k$.
  33
  34## Vector subtraction
  35
  36To find $\vec{u} - \vec{v}$, add $\vec{-v}$ to $\vec{u}$
  37
  38## Parallel vectors
  39
  40Parallel vectors have same direction or opposite direction.
  41
  42**Two non-zero vectors $\vec{u}$ and $\vec{v}$ are parallel if there is some $k \in \mathbb{R} \setminus \{0\}$ such at $\vec{u} = k \vec{v}$**
  43
  44## Position vectors
  45
  46Vectors may describe a position relative to $O$.
  47
  48For a point $A$, the position vector is $\vec{OA}$
  49
  50## Linear combinations of non-parallel vectors
  51
  52If two non-zero vectors $\vec{a}$ and $\vec{b}$ are not parallel, then:
  53
  54$$m\vec{a} + n\vec{b} = p \vec{a} + q \vec{b}\quad\text{implies}\quad m = p, \> n = q$$
  55
  56## Column vector notation
  57
  58A vector between points $A(x_1,y_1), \> B(x_2,y_2)$ can be represented as $\begin{bmatrix}x_2-x_1\\ y_2-y_1 \end{bmatrix}$
  59
  60## Component notation
  61
  62A vector $\vec{u} = \begin{bmatrix}x\\ y \end{bmatrix}$ can be written as $\vec{u} = x\vec{i} + y\vec{j}$.  
  63$\vec{u}$ is the sum of two components $x\vec{i}$ and $y\vec{j}$  
  64Magnitude of vector $\vec{u} = x\vec{i} + y\vec{j}$ is denoted by $|u|=\sqrt{x^2+y^2}$
  65
  66Basic algebra applies:  
  67$(x\vec{i} + y\vec{j}) + (m\vec{i} + n\vec{j}) = (x + m)\vec{i} + (y+n)\vec{j}$  
  68Two vectors equal if and only if their components are equal.
  69
  70## Unit vectors
  71
  72A vector of length 1. $\vec{i}$ and $\vec{j}$ are unit vectors.
  73
  74A unit vector in direction of $\vec{a}$ is denoted by $\hat{\vec{a}}$
  75