Vectors: Physical quantities that have both direction and magnitude.
Represented as.
$$ \vec{R} ~or ~ \vec{R}_{B/A} ~ or ~ \vec{R}_{AB} $$Where A and B are tail and head of the vector.
Vectors can be representated with respect to a fixed or moving coordinate frame.
$$ \vec{a} = a_x \hat{i}+a_y \hat{j}+a_z \hat{k} = (a_x,a_y,a_z) $$Taken from wikipedia.
Given a vector, \( \vec{u} = u_x \hat{i}+u_y \hat{j}+u_z \hat{k} \)
The magnitude of vector is given by,
$$ |\vec{u}| = \sqrt{u_x^2+u_y^2+u_z^2} $$Directions are given via direction cosines,
$$ cos(\alpha) = \frac{u_x}{|\vec{u}|},cos(\beta) = \frac{u_y}{|\vec{u}|},cos(\gamma) = \frac{u_z}{|\vec{u}|}$$Given, a vector \( \vec{u} = u_x \hat{i} + u_y \hat{j} \), the magnitude of the vector is given by,
$$ |\vec{u}| = \sqrt{u_x^2+u_y^2} $$The direction of the vector is given by,
$$ \theta = atan2(u_y,u_x) $$Note, \( tan^{-1} \frac{u_y}{u_x} \) gives the angle, but needs to be corrected for the quadrant.
Sum of two vectors \( \vec{a} \) and \( \vec{b} \) is equal to the vector formed by the sum of their components.
Given two vectors
$$ \vec{a} = a_x \hat{i}+a_y \hat{j}+a_z \hat{k} $$$$ \vec{b} = b_x \hat{i}+b_y \hat{j}+b_z \hat{k} $$$$ \vec{a} + \vec{b} = (a_x + b_x) \hat{i}+ (a_y+b_y) \hat{j}+(a_z+b_z) \hat{k} $$Geometric method, to compute sum, move vectors so the tails of the vectors are aligned, and draw the diagonal of the parallelogram formed by the vectors.
Taken from, http://www.icoachmath.com/math_dictionary/addition_of_vectors.html
Difference of two vectors \( \vec{a} \) and \( \vec{b} \) is equal to the vector formed by the difference of their components.
Given two vectors
$$ \vec{a} = a_x \hat{i}+a_y \hat{j}+a_z \hat{k} $$$$ \vec{b} = b_x \hat{i}+b_y \hat{j}+b_z \hat{k} $$$$ \vec{a} - \vec{b} = (a_x - b_x) \hat{i}+ (a_y-b_y) \hat{j}+(a_z-b_z) \hat{k} $$Geometric method, to compute different of two vectors, move vectors so the tails of the vectors are aligned, and connect head of the vector to be subtracted to the head of the other vector.
Dot product of two vectors \(\overrightarrow {a} \) and \( \overrightarrow {b} \) is defined as,
$$ \overrightarrow {a} \circ \overrightarrow {b} = \overrightarrow {a}^T \overrightarrow {b} = \sum_{i=1}^n a_i b_i $$where \(n\) is the length of the vectors \(\overrightarrow {a} \) and \( \overrightarrow {b}\).
For 3-D vectors,
$$ \overrightarrow {a} \circ \overrightarrow {b} = a_x b_x + a_y b_y + a_z b_z $$Dot product has several interpratations.
\( \hat{u}_{a,b} \) is a unit vector perpendicular to both \( \vec{a} \) and \( \vec{b}\)
Cross product of unit vectors can be obtained using the cycle below.
Given two vectors
$$ \vec{a} = a_x \hat{i}+a_y \hat{j}+a_z \hat{k} $$$$ \vec{b} = b_x \hat{i}+b_y \hat{j}+b_z \hat{k} $$The cross product can be computed as,
$$ \vec{a} \times \vec{b} = (a_x \hat{i}+a_y \hat{j}+a_z \hat{k}) \times ( b_x \hat{i}+b_y \hat{j}+b_z \hat{k} ) $$$$ = a_x \hat{i} \times ( b_x \hat{i}+b_y \hat{j}+b_z \hat{k} ) + a_y \hat{i} \times ( b_x \hat{i}+b_y \hat{j}+b_z \hat{k} ) + a_z \hat{i} \times ( b_x \hat{i}+b_y \hat{j}+b_z \hat{k} ) $$Using formulas from previous slide for cross products of unit vectors,
$$ = (a_yb_z - a_z b_y) \hat{i} - (a_z b_x - a_x b_z) \hat{j} + (a_x b_y - a_y b_x) \hat{k} $$