Vector Algebra • Topic 1 of 3

Vectors: Types & Basic Operations

A vector has both magnitude and direction (e.g. displacement, force), unlike a scalar which has magnitude only. In space a vector is written $\vec{a}=a_1\hat{i}+a_2\hat{j}+a_3\hat{k}$.

Magnitude and unit vectors

The magnitude is $|\vec a|=\sqrt{a_1^2+a_2^2+a_3^2}$. A unit vector in the direction of $\vec a$ is $\hat a=\dfrac{\vec a}{|\vec a|}$.

Types of vectors

  • Zero vector $\vec 0$: magnitude $0$, no definite direction.
  • Unit vector: magnitude $1$.
  • Equal vectors: same magnitude and direction.
  • Collinear/parallel: $\vec a=\lambda\vec b$ for some scalar $\lambda$.

Addition and scalar multiplication

Add componentwise; scalar $\lambda$ multiplies each component (triangle/parallelogram law geometrically). The position vector of a point $P(x,y,z)$ is $x\hat i+y\hat j+z\hat k$, and the vector from $A$ to $B$ is $\overrightarrow{AB}=\vec b-\vec a$ (position vector of $B$ minus that of $A$). The section formula gives the point dividing $AB$ in ratio $m:n$ as $\dfrac{m\vec b+n\vec a}{m+n}$.

1
Worked Example
Find $|\vec a|$ for $\vec a=3\hat i+4\hat k$.
Solution

$|\vec a|=\sqrt{3^2+0^2+4^2}=\sqrt{25}=5.$

2
Worked Example
Find the unit vector along $\vec a=2\hat i+3\hat j+6\hat k$.
Solution

$|\vec a|=\sqrt{4+9+36}=\sqrt{49}=7$. So $\hat a=\dfrac{1}{7}(2\hat i+3\hat j+6\hat k).$

3
Worked Example
Find $\overrightarrow{AB}$ where $A(1,2,3)$, $B(4,6,3)$.
Solution

$\overrightarrow{AB}=\vec b-\vec a=(4-1)\hat i+(6-2)\hat j+(3-3)\hat k=3\hat i+4\hat j.$

4
Worked Example
Find the midpoint of $A(2,0,4)$ and $B(0,2,0)$ as a position vector.
Solution

Midpoint $=\dfrac{\vec a+\vec b}{2}=\dfrac{(2\hat i+4\hat k)+(2\hat j)}{2}=\hat i+\hat j+2\hat k.$

Key Points

  • $\vec a=a_1\hat i+a_2\hat j+a_3\hat k$; $|\vec a|=\sqrt{a_1^2+a_2^2+a_3^2}$.
  • Unit vector $\hat a=\dfrac{\vec a}{|\vec a|}$.
  • $\overrightarrow{AB}=\vec b-\vec a$; section formula $\dfrac{m\vec b+n\vec a}{m+n}$.
  • Parallel vectors satisfy $\vec a=\lambda\vec b$.
Tap an option to check your answer0 / 4
Q1.$|3\hat i+4\hat j|=$
Explanation: $\sqrt{9+16}=5$.
Q2.The unit vector along $2\hat i+3\hat j+6\hat k$ is $\tfrac1k(2\hat i+3\hat j+6\hat k)$ with $k=$
Explanation: $|\vec a|=\sqrt{49}=7$.
Q3.$\overrightarrow{AB}$ equals:
Explanation: Head minus tail position vectors.
Q4.A unit vector has magnitude:
Explanation: By definition, magnitude $1$.