Skip to content
Skip to page content
soylai.com

Vector Algebra — chapter notes

7 sections 6 min readBeta

1. Vectors, scalars and types of vectors

A scalar has magnitude only (mass, time, temperature, speed). A vector has magnitude and direction (displacement, velocity, force). A vector is drawn as a directed line segment AB→\overrightarrow{AB} from the initial point AA to the terminal point BB; its length ∣AB→∣|\overrightarrow{AB}| is its magnitude.

Types: zero vector (∣0⃗∣=0|\vec{0}| = 0, direction arbitrary); unit vector (magnitude 11); coinitial vectors (same initial point); collinear vectors (parallel to one line, whatever their magnitudes or senses); equal vectors (same magnitude and direction); negative of a vector (same magnitude, opposite direction): BA→=−AB→\overrightarrow{BA} = -\overrightarrow{AB}.

Six words you must use precisely.
TypeMeaningExample
zero vectormagnitude 00, any direction0⃗=AA→\vec{0} = \overrightarrow{AA}
unit vectormagnitude 11i^\hat{i}, 35i^+45j^\dfrac{3}{5}\hat{i} + \dfrac{4}{5}\hat{j}
coinitialsame initial pointOA→\overrightarrow{OA}, OB→\overrightarrow{OB}
collinearparallel to one linea⃗\vec{a} and −2a⃗-2\vec{a}
equalsame magnitude and directionAB→=DC→\overrightarrow{AB} = \overrightarrow{DC} in a parallelogram
negativesame magnitude, opposite directionBA→=−AB→\overrightarrow{BA} = -\overrightarrow{AB}

Formulas

  • Negative of a vector
    BA→=−AB→\overrightarrow{BA} = -\overrightarrow{AB}

Key terms

Vector

A quantity with magnitude and direction.

Equal vectors

Vectors with the same magnitude and the same direction, wherever they are drawn.

Collinear vectors

Vectors parallel to the same line.

2. Components, magnitude and direction cosines

With unit vectors i^,j^,k^\hat{i}, \hat{j}, \hat{k} along the axes, r⃗=xi^+yj^+zk^\vec{r} = x\hat{i} + y\hat{j} + z\hat{k} has components x,y,zx, y, z and magnitude ∣r⃗∣=x2+y2+z2|\vec{r}| = \sqrt{x^2 + y^2 + z^2}. The unit vector along a⃗\vec{a} is a^=a⃗∣a⃗∣\hat{a} = \dfrac{\vec{a}}{|\vec{a}|}.

If r⃗\vec{r} makes angles α,β,γ\alpha, \beta, \gamma with the positive axes, its direction cosines are l=cos⁡α=x∣r⃗∣l = \cos\alpha = \dfrac{x}{|\vec{r}|}, m=cos⁡β=y∣r⃗∣m = \cos\beta = \dfrac{y}{|\vec{r}|}, n=cos⁡γ=z∣r⃗∣n = \cos\gamma = \dfrac{z}{|\vec{r}|}, and l2+m2+n2=1l^2 + m^2 + n^2 = 1. Numbers proportional to l,m,nl, m, n (such as x,y,zx, y, z) are direction ratios.

Example: 6i^−2j^+3k^6\hat{i} - 2\hat{j} + 3\hat{k} has magnitude 77 and direction cosines 67,−27,37\dfrac67, -\dfrac27, \dfrac37.

Direction angles $\alpha, \beta, \gamma$; direction cosines $l = \cos\alpha$, $m = \cos\beta$, $n = \cos\gamma$ (sketch, not to scale).

Formulas

  • Magnitude
    ∣xi^+yj^+zk^∣=x2+y2+z2|x\hat{i} + y\hat{j} + z\hat{k}| = \sqrt{x^2 + y^2 + z^2}
  • Direction cosines
    l2+m2+n2=1l^2 + m^2 + n^2 = 1

Key terms

Unit vector

A vector of magnitude 11; a^=a⃗/∣a⃗∣\hat{a} = \vec{a}/|\vec{a}|.

Direction cosines

Cosines of the angles a vector makes with the three axes.

Direction ratios

Any three numbers proportional to the direction cosines.

3. Addition and scalar multiplication

Triangle law: AB→+BC→=AC→\overrightarrow{AB} + \overrightarrow{BC} = \overrightarrow{AC}. Parallelogram law: for coinitial a⃗\vec{a}, b⃗\vec{b}, the diagonal of the parallelogram on them is a⃗+b⃗\vec{a} + \vec{b}. Addition is commutative and associative; a⃗+0⃗=a⃗\vec{a} + \vec{0} = \vec{a}; a⃗+(−a⃗)=0⃗\vec{a} + (-\vec{a}) = \vec{0}. Around a closed triangle AB→+BC→+CA→=0⃗\overrightarrow{AB} + \overrightarrow{BC} + \overrightarrow{CA} = \vec{0}.

Scalar multiple: λa⃗\lambda\vec{a} has magnitude ∣λ∣∣a⃗∣|\lambda||\vec{a}|, the same direction as a⃗\vec{a} if λ>0\lambda > 0 and the opposite if λ<0\lambda < 0. In components, add (or multiply) component by component.

Collinear test: a⃗\vec{a} and b⃗\vec{b} are collinear iff b⃗=λa⃗\vec{b} = \lambda\vec{a}, i.e. b1a1=b2a2=b3a3\dfrac{b_1}{a_1} = \dfrac{b_2}{a_2} = \dfrac{b_3}{a_3} (zero components must match).

Parallelogram law: the diagonal $\overrightarrow{OC} = \vec{a} + \vec{b}$.
Collinear vectors: $\vec{b} = \lambda\vec{a}$; $\lambda > 0$ same direction, $\lambda < 0$ opposite.

Formulas

  • Sum in components
    a⃗+b⃗=(a1+b1)i^+(a2+b2)j^+(a3+b3)k^\vec{a} + \vec{b} = (a_1 + b_1)\hat{i} + (a_2 + b_2)\hat{j} + (a_3 + b_3)\hat{k}

Key terms

Triangle law

Head-to-tail addition: the third side is the sum.

Scalar multiple

λa⃗\lambda\vec{a}: length scaled by ∣λ∣|\lambda|, direction reversed if λ<0\lambda < 0.

4. Position vectors and the section formula

The position vector of P(x,y,z)P(x, y, z) is OP→=xi^+yj^+zk^\overrightarrow{OP} = x\hat{i} + y\hat{j} + z\hat{k}. For any two points, AB→=b⃗−a⃗\overrightarrow{AB} = \vec{b} - \vec{a} ("head minus tail").

If RR divides PQPQ in the ratio m:nm : n:

  • internally: r⃗=mq⃗+np⃗m+n\vec{r} = \dfrac{m\vec{q} + n\vec{p}}{m + n};
  • externally: r⃗=mq⃗−np⃗m−n\vec{r} = \dfrac{m\vec{q} - n\vec{p}}{m - n};
  • midpoint: r⃗=p⃗+q⃗2\vec{r} = \dfrac{\vec{p} + \vec{q}}{2}.

Collinear points A,B,CA, B, C: show AB→=λAC→\overrightarrow{AB} = \lambda\overrightarrow{AC} (parallel vectors with the common point AA).

Example: P(1,3,−2)P(1, 3, -2), Q(4,−3,7)Q(4, -3, 7), ratio 1:21 : 2: internal point (2,1,1)(2, 1, 1), external point (−2,9,−11)(-2, 9, -11).

$R$ divides $PQ$ in $m : n$ (drawn for $2 : 1$): $\vec{r} = \dfrac{m\vec{q} + n\vec{p}}{m + n}$.
$\overrightarrow{AB} = \vec{b} - \vec{a}$: "head minus tail".

Formulas

  • Internal division
    r⃗=mq⃗+np⃗m+n\vec{r} = \dfrac{m\vec{q} + n\vec{p}}{m + n}
  • External division
    r⃗=mq⃗−np⃗m−n\vec{r} = \dfrac{m\vec{q} - n\vec{p}}{m - n}

Key terms

Position vector

The vector from the origin to the point.

External division

The dividing point lies on line PQ but outside the segment.

5. Dot product, angle and projection

a⃗⋅b⃗=∣a⃗∣∣b⃗∣cos⁡θ=a1b1+a2b2+a3b3\vec{a} \cdot \vec{b} = |\vec{a}||\vec{b}|\cos\theta = a_1b_1 + a_2b_2 + a_3b_3, a scalar, with 0≤θ≤π0 \le \theta \le \pi.

Properties: a⃗⋅b⃗=b⃗⋅a⃗\vec{a} \cdot \vec{b} = \vec{b} \cdot \vec{a}; a⃗⋅(b⃗+c⃗)=a⃗⋅b⃗+a⃗⋅c⃗\vec{a} \cdot (\vec{b} + \vec{c}) = \vec{a} \cdot \vec{b} + \vec{a} \cdot \vec{c}; a⃗⋅a⃗=∣a⃗∣2\vec{a} \cdot \vec{a} = |\vec{a}|^2; i^⋅i^=1\hat{i} \cdot \hat{i} = 1, i^⋅j^=0\hat{i} \cdot \hat{j} = 0.

Angle: cos⁡θ=a⃗⋅b⃗∣a⃗∣∣b⃗∣\cos\theta = \dfrac{\vec{a} \cdot \vec{b}}{|\vec{a}||\vec{b}|}. Perpendicular (non-zero vectors): a⃗⋅b⃗=0\vec{a} \cdot \vec{b} = 0. Positive dot product: acute angle; negative: obtuse.

Projection of a⃗\vec{a} on b⃗\vec{b}: a⃗⋅b⃗∣b⃗∣\dfrac{\vec{a} \cdot \vec{b}}{|\vec{b}|}; the vector component of a⃗\vec{a} along b⃗\vec{b} is this number times b^\hat{b}.

Expansions: ∣a⃗±b⃗∣2=∣a⃗∣2±2 a⃗⋅b⃗+∣b⃗∣2|\vec{a} \pm \vec{b}|^2 = |\vec{a}|^2 \pm 2\,\vec{a} \cdot \vec{b} + |\vec{b}|^2; (a⃗+b⃗)⋅(a⃗−b⃗)=∣a⃗∣2−∣b⃗∣2(\vec{a} + \vec{b}) \cdot (\vec{a} - \vec{b}) = |\vec{a}|^2 - |\vec{b}|^2.

$OM = |\vec{a}|\cos\theta = \dfrac{\vec{a} \cdot \vec{b}}{|\vec{b}|}$.
They work because $\vec{a} \cdot \vec{a} = |\vec{a}|^2$ and $\vec{a} \cdot \vec{b} = \vec{b} \cdot \vec{a}$.
ExpressionExpands to
∣a⃗+b⃗∣2|\vec{a} + \vec{b}|^2∣a⃗∣2+2 a⃗⋅b⃗+∣b⃗∣2|\vec{a}|^2 + 2\,\vec{a} \cdot \vec{b} + |\vec{b}|^2
∣a⃗−b⃗∣2|\vec{a} - \vec{b}|^2∣a⃗∣2−2 a⃗⋅b⃗+∣b⃗∣2|\vec{a}|^2 - 2\,\vec{a} \cdot \vec{b} + |\vec{b}|^2
(a⃗+b⃗)⋅(a⃗−b⃗)(\vec{a} + \vec{b}) \cdot (\vec{a} - \vec{b})∣a⃗∣2−∣b⃗∣2|\vec{a}|^2 - |\vec{b}|^2

Formulas

  • Angle between vectors
    cos⁡θ=a⃗⋅b⃗∣a⃗∣∣b⃗∣\cos\theta = \dfrac{\vec{a} \cdot \vec{b}}{|\vec{a}||\vec{b}|}
  • Projection
    projb⃗ a⃗=a⃗⋅b⃗∣b⃗∣\text{proj}_{\vec{b}}\,\vec{a} = \dfrac{\vec{a} \cdot \vec{b}}{|\vec{b}|}

Key terms

Dot (scalar) product

∣a⃗∣∣b⃗∣cos⁡θ|\vec{a}||\vec{b}|\cos\theta, a number.

Projection

The signed length of the shadow of one vector on the line of another.

6. Cross product, perpendicular vectors and areas

a⃗×b⃗=∣a⃗∣∣b⃗∣sin⁡θ n^\vec{a} \times \vec{b} = |\vec{a}||\vec{b}|\sin\theta\,\hat{n}, a vector perpendicular to both a⃗\vec{a} and b⃗\vec{b} (right-hand rule).

Components: a⃗×b⃗=(a2b3−a3b2)i^+(a3b1−a1b3)j^+(a1b2−a2b1)k^\vec{a} \times \vec{b} = (a_2b_3 - a_3b_2)\hat{i} + (a_3b_1 - a_1b_3)\hat{j} + (a_1b_2 - a_2b_1)\hat{k}.

Properties: b⃗×a⃗=−a⃗×b⃗\vec{b} \times \vec{a} = -\vec{a} \times \vec{b}; a⃗×a⃗=0⃗\vec{a} \times \vec{a} = \vec{0}; non-zero a⃗×b⃗=0⃗\vec{a} \times \vec{b} = \vec{0} iff a⃗∥b⃗\vec{a} \parallel \vec{b}; i^×j^=k^\hat{i} \times \hat{j} = \hat{k}, j^×k^=i^\hat{j} \times \hat{k} = \hat{i}, k^×i^=j^\hat{k} \times \hat{i} = \hat{j}; ∣a⃗×b⃗∣2+(a⃗⋅b⃗)2=∣a⃗∣2∣b⃗∣2|\vec{a} \times \vec{b}|^2 + (\vec{a} \cdot \vec{b})^2 = |\vec{a}|^2|\vec{b}|^2.

Unit vectors perpendicular to both: ±a⃗×b⃗∣a⃗×b⃗∣\pm\dfrac{\vec{a} \times \vec{b}}{|\vec{a} \times \vec{b}|}.

Areas: parallelogram with adjacent sides a⃗,b⃗\vec{a}, \vec{b}: ∣a⃗×b⃗∣|\vec{a} \times \vec{b}|; with diagonals d1⃗,d2⃗\vec{d_1}, \vec{d_2}: 12∣d1⃗×d2⃗∣\dfrac12|\vec{d_1} \times \vec{d_2}|; triangle ABCABC: 12∣AB→×AC→∣\dfrac12|\overrightarrow{AB} \times \overrightarrow{AC}|.

Area $= |\vec{a}|\,|\vec{b}|\sin\theta = |\vec{a} \times \vec{b}|$; the triangle $OAB$ has half of it.
Cyclic order $\hat{i} \to \hat{j} \to \hat{k} \to \hat{i}$ gives $+$; against it gives $-$.
×\timesi^\hat{i}j^\hat{j}k^\hat{k}
i^\hat{i}0⃗\vec{0}k^\hat{k}−j^-\hat{j}
j^\hat{j}−k^-\hat{k}0⃗\vec{0}i^\hat{i}
k^\hat{k}j^\hat{j}−i^-\hat{i}0⃗\vec{0}

Formulas

  • Magnitude of the cross product
    ∣a⃗×b⃗∣=∣a⃗∣∣b⃗∣sin⁡θ|\vec{a} \times \vec{b}| = |\vec{a}||\vec{b}|\sin\theta
  • Triangle area
    Area△ABC=12∣AB→×AC→∣\text{Area}_{\triangle ABC} = \dfrac12|\overrightarrow{AB} \times \overrightarrow{AC}|

Key terms

Cross (vector) product

A vector of length ∣a⃗∣∣b⃗∣sin⁡θ|\vec{a}||\vec{b}|\sin\theta perpendicular to both.

Right-hand rule

Fingers curl from a⃗\vec{a} to b⃗\vec{b}; the thumb gives the direction of a⃗×b⃗\vec{a} \times \vec{b}.

7. Choosing the right tool

  • Length or direction of one vector: magnitude, unit vector, direction cosines.
  • Points on a line, ratios: position vectors, section formula, collinearity.
  • Angles, right angles, shadows, work done (W=F⃗⋅d⃗W = \vec{F} \cdot \vec{d}): dot product.
  • A direction at right angles to two vectors, areas: cross product.

Check your work: a unit vector has magnitude 11; direction cosines square-sum to 11; a cross product dots to 00 with both factors; an area is positive.

Pick the product that matches the question.
Dot product a⃗⋅b⃗\vec{a} \cdot \vec{b}Cross product a⃗×b⃗\vec{a} \times \vec{b}
resulta number (scalar)a vector
size∣a⃗∣∣b⃗∣cos⁡θ|\vec{a}||\vec{b}|\cos\theta∣a⃗∣∣b⃗∣sin⁡θ|\vec{a}||\vec{b}|\sin\theta
ordera⃗⋅b⃗=b⃗⋅a⃗\vec{a} \cdot \vec{b} = \vec{b} \cdot \vec{a}a⃗×b⃗=−b⃗×a⃗\vec{a} \times \vec{b} = -\vec{b} \times \vec{a}
zero whenperpendicularparallel (collinear)
used forangles, projections, workperpendicular vectors, areas

Formulas

  • Work by a constant force
    W=F⃗⋅d⃗W = \vec{F} \cdot \vec{d}

Key terms

Work done

F⃗⋅d⃗\vec{F} \cdot \vec{d} for a constant force through a displacement.

Exam tips

How marks are awarded

  • Objective (1 mark): magnitude, unit vector, direction cosines, a dot or cross product, a value of λ\lambda.
  • Short answer (2–3 marks): method step (formula written) + correct working + final answer in vector form.
  • Long answer (5 marks): several connected parts (angle, projection, cross product, area); each part carries its own step mark.
  • Case-based (4 marks): read the vectors from the situation, then apply the right product.

Common mistakes

  1. Dividing by the wrong magnitude in a projection.
  2. Giving direction ratios when direction cosines are asked.
  3. Pairing mm with p⃗\vec{p} instead of q⃗\vec{q} in the section formula.
  4. Using a⃗−b⃗\vec{a} - \vec{b} for AB→\overrightarrow{AB} (it is b⃗−a⃗\vec{b} - \vec{a}).
  5. Sign errors in the j^\hat{j} component of a cross product.
  6. Forgetting the ±\pm for perpendicular unit vectors.
  7. Forgetting to halve for the area of a triangle (or halving for a parallelogram).
  8. Treating a⃗×b⃗\vec{a} \times \vec{b} and b⃗×a⃗\vec{b} \times \vec{a} as equal.