RHIT MA113/Vectors

=Vectors=

Scalars vs Vectors
Scalars are numbers, or quantities which represent numbers, such as $$7, x, y, e, \pi, ...$$

Vectors are composed of a direction and a magnitude, or multiple scalar components, such as $$\left \langle 3,4\right\rangle, 5 \hat{i}, 3\hat{i}+4\hat{j}, ...$$ The magnitude of a vector is found with the Pythagorean theorem, $$\left\Vert\vec{a}\right\| = \sqrt{a_x^2 + a_y^2}$$

Vector-Scalar Multiplication
When a vector is multiplied by a scalar, each component of the vector is multiplied by the scalar, such as $$a\left\langle x,y\right\rangle = \left\langle a x, a y\right\rangle$$

Dot Product
The Dot Product (or Scalar Product) of two vectors is given by $$\left\langle a,b\right\rangle\,\cdot\,\left\langle c,d\right\rangle = a\,c + b\,d$$. The dot product is equal to the cosine of the angle between the vectors, multiplied by the product of their magnitudes, and therefore the angle between the vectors can easily be calculated using $$\cos{(\theta)} = \frac{\vec{a} \cdot \vec{b}}{\left\Vert \vec{a} \right\| \, \left\Vert \vec{b} \right\|}$$

Cross Product
The Cross Product of two vectors results in another vector, normal to both initial vectors. The magnitude of the cross product is equal to the area of the parallelogram formed by the two vectors, or $$\left \Vert \vec{a} \times \vec{b} \right \| = \left \Vert \vec{a} \right \| \, \left \Vert \vec{b} \right \| \, \sin{(\theta)}$$