📖 Short lecture
A vector has magnitude and direction; in the plane it is written $\vec v=\begin{pmatrix}a\\b\end{pmatrix}$. Vectors are added component by component (tip-to-tail) and multiplied by scalars. The magnitude is $|\vec v|=\sqrt{a^2+b^2}$.
The dot product $\vec u\cdot\vec v=u_1v_1+u_2v_2=|\vec u||\vec v|\cos\theta$ gives the angle between two vectors; they are perpendicular exactly when $\vec u\cdot\vec v=0$. Vectors describe forces, velocities and displacements.
⚠️ Common mistakes
- $|\vec v|=\sqrt{v_1^2+v_2^2}$, not $v_1+v_2$.
- $\vec u\cdot\vec v$ is a number (a scalar), not a vector.
- Perpendicular vectors have $\vec u\cdot\vec v=0$; parallel vectors are multiples of each other.
🔑 Key formulas
✏️ Worked example
For $\vec u=(3,4)$ and $\vec v=(4,-3)$ find $\vec u+\vec v$, $|\vec u|$ and the angle between them.
- $\displaystyle \vec u+\vec v=(7,1)$
- $\displaystyle |\vec u|=\sqrt{9+16}=5$
- $\displaystyle \vec u\cdot\vec v=12-12=0\Rightarrow\theta=90^\circ$
✔ $(7,1)$, $5$, $90^\circ$.
🧮 More worked examples
Each step says what we do and why.
Example 2$\vec u=(2,-1)$, $\vec v=(-3,4)$. Find $3\vec u-2\vec v$.
- Scale.$$(6,-3)-(-6,8)$$
- Subtract components.$$(12,-11)$$
Example 3Find the angle between $(1,2)$ and $(3,1)$.
- Dot product and lengths.$$5,\quad\sqrt5,\quad\sqrt{10}$$
- Cosine.$$\cos\theta=\frac{5}{\sqrt{50}}=\frac{1}{\sqrt2}\Rightarrow\theta=45^\circ$$
Example 4Find $k$ so that $(k,3)\perp(2,-4)$.
- Dot product $=0$.$$2k-12=0\Rightarrow k=6$$
🖐️ Interactive demo & illustration
Move the sliders or press the buttons: the figure and the numbers update immediately. Try to predict the result before you look.
🎬 Add vectors and measure the angle
Set $\vec u$ and $\vec v$. The sum $\vec u+\vec v$ is the diagonal of the parallelogram they span (tip-to-tail). The dot product $\vec u\cdot\vec v=u_1v_1+u_2v_2=|\vec u||\vec v|\cos\theta$ gives the angle: positive for acute, zero for perpendicular, negative for obtuse.
🌍 Modelling problems
Real-life situations: translate the words into mathematics, solve, then interpret the answer.
✈️ Plane in the wind
A plane heads east at $300$ km/h and the wind blows north at $40$ km/h. Find the ground speed and direction.
Show the solution
- Resultant.$$(300,40)$$
- Speed and angle.$$\sqrt{91\,600}\approx302.7,\qquad\tan^{-1}\tfrac{40}{300}\approx7.6^\circ$$
✔ About $303$ km/h, $7.6^\circ$ north of east.
🚶 A walk
Walk $3$ km north and then $4$ km east. Find the displacement.
Show the solution
- Add vectors.$$(0,3)+(4,0)=(4,3)$$
- Length.$$\sqrt{16+9}=5$$
✔ $5$ km.
📦 Work done
A force $\vec F=(10,5)$ N moves a box by $\vec d=(4,0)$ m. Find the work $W=\vec F\cdot\vec d$.
Show the solution
- Dot product.$$10\cdot4+5\cdot0=40$$
✔ $40$ J.
✅ Multiple-choice quiz
📝 Short essay
A boat heads north at $4$ m/s across a river flowing east at $3$ m/s. Use vectors to describe its actual motion.
The velocities add: $(0,4)+(3,0)=(3,4)$. The actual speed is $|(3,4)|=5$ m/s, at an angle $\tan^{-1}\frac34\approx37^\circ$ east of north. The boat drifts downstream while crossing.