3.12 Vectors: concepts and algebra

3.12 Vectors: concepts and algebra

IB Maths: Analysis and Approaches HL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • AB→=b−a\overrightarrow{AB}=\mathbf{b}-\mathbf{a} (end minus start); distance AB=∣b−a∣AB=|\mathbf{b}-\mathbf{a}|.
  • ∣v∣=v12+v22+v32|\mathbf{v}|=\sqrt{v_1^2+v_2^2+v_3^2}; the unit vector is v∣v∣\frac{\mathbf{v}}{|\mathbf{v}|}.
  • u∥v  ⟺  u=kv\mathbf{u}\parallel\mathbf{v}\iff\mathbf{u}=k\mathbf{v}.
  • Midpoint 12(p+q)\frac12(\mathbf{p}+\mathbf{q}); the point dividing ABAB in ratio m:nm:n is a+mm+n(b−a)\mathbf{a}+\frac{m}{m+n}(\mathbf{b}-\mathbf{a}).
  • Collinear points need parallel vectors and a common point.

What is a vector?

A vector has magnitude and direction; AB→=b−a\overrightarrow{AB}=\mathbf{b}-\mathbf{a}.

A vector has both magnitude and direction; a scalar has only magnitude. It can be shown as a directed line segment AB→\overrightarrow{AB}, from AA to BB. Two vectors are equal if they have the same magnitude and direction, wherever they are drawn.

  • A position vector OA→=a\overrightarrow{OA}=\mathbf{a} gives the position of AA relative to the origin OO.
  • A displacement vector AB→=b−a\overrightarrow{AB}=\mathbf{b}-\mathbf{a} describes the move from AA to BB.
abb − aOAB
AB = b − a: back along a to O, then along b.

AA has position vector a\mathbf{a} and BB has position vector b\mathbf{b}. What is BA→\overrightarrow{BA}?

Components and base vectors

Any vector is a sum of multiples of the base vectors i\mathbf{i}, j\mathbf{j}, k\mathbf{k}.

In three dimensions the base vectors i\mathbf{i}, j\mathbf{j}, k\mathbf{k} are unit vectors along the xx-, yy- and zz-axes. The numbers v1v_1, v2v_2, v3v_3 are the components.

The point A(2,−1,3)A(2,-1,3) has position vector a=2i−j+3k\mathbf{a}=2\mathbf{i}-\mathbf{j}+3\mathbf{k}. A zero component means there is no term for that base vector.

3i2jvOP
In two dimensions, v = 3i + 2j: go 3 along the x-axis, then 2 along the y-axis. In three dimensions k adds a third component.
  • (v1v2v3)\begin{pmatrix}v_1\\ v_2\\ v_3\end{pmatrix}v1i+v2j+v3kv_1\mathbf{i}+v_2\mathbf{j}+v_3\mathbf{k}

What is the position vector of B(−3,0,4)B(-3,0,4)?

Adding, subtracting and scaling

Work component by component; geometrically u+v\mathbf{u}+\mathbf{v} is u\mathbf{u} then v\mathbf{v}.

Work component by component. Geometrically, u+v\mathbf{u}+\mathbf{v} is 'u\mathbf{u} then v\mathbf{v}' (the triangle law), and u−v=u+(−v)\mathbf{u}-\mathbf{v}=\mathbf{u}+(-\mathbf{v}).

  • The zero vector 0\mathbf{0} has every component 0.
  • −v-\mathbf{v} has the same magnitude as v\mathbf{v} but the opposite direction.
  • kvk\mathbf{v} is parallel to v\mathbf{v}, with magnitude ∣k∣∣v∣|k||\mathbf{v}|.

Two non-zero vectors are parallel exactly when one is a scalar multiple of the other.

uvu + vOAC
Triangle law: u = (3, 1), v = (1, 2), so u + v = (4, 3).

Worked example

(m2n)\begin{pmatrix}m\\2\\n\end{pmatrix} is parallel to (2−12)\begin{pmatrix}2\\-1\\2\end{pmatrix}. Find mm and nn.

Are (123)\begin{pmatrix}1\\2\\3\end{pmatrix} and (247)\begin{pmatrix}2\\4\\7\end{pmatrix} parallel?

Magnitude, unit vectors and distance

Square the components, add and take the square root; divide by this to get a unit vector.

The magnitude of v\mathbf{v} is ∣v∣=v12+v22+v32|\mathbf{v}|=\sqrt{v_1^2+v_2^2+v_3^2}.

A unit vector has magnitude 1; the unit vector in the direction of v\mathbf{v} is v∣v∣\frac{\mathbf{v}}{|\mathbf{v}|}.

The distance between AA and BB is ∣AB→∣=∣b−a∣|\overrightarrow{AB}|=|\mathbf{b}-\mathbf{a}|.

345OP
For v = 3i + 4j the magnitude is the hypotenuse: |v| = √(3² + 4²) = 5.
  • Magnitude∣v∣=v12+v22+v32|\mathbf{v}|=\sqrt{v_1^2+v_2^2+v_3^2}
  • Unit vectorv∣v∣\dfrac{\mathbf{v}}{|\mathbf{v}|}
  • Distance AB∣b−a∣|\mathbf{b}-\mathbf{a}|

Worked example

Find the distance between A(2,−1,3)A(2,-1,3) and B(5,3,3)B(5,3,3), and a vector of magnitude 6 in the direction of p=(2−12)\mathbf{p}=\begin{pmatrix}2\\-1\\2\end{pmatrix}.

What is the magnitude of (2−36)\begin{pmatrix}2\\-3\\6\end{pmatrix}?

Proving geometric properties

Express the vectors in terms of position vectors, then compare: equal vectors give parallelograms, multiples give collinearity.

  • The midpoint of PQPQ has position vector 12(p+q)\frac12(\mathbf{p}+\mathbf{q}).
  • KL→=NM→\overrightarrow{KL}=\overrightarrow{NM} means KLKL and NMNM are parallel and equal, so KLMNKLMN is a parallelogram.
  • Points OO, DD, FF are collinear if OF→=kOD→\overrightarrow{OF}=k\overrightarrow{OD}: parallel vectors sharing a point.

For the midpoints of any quadrilateral PQRSPQRS, both KL→\overrightarrow{KL} and NM→\overrightarrow{NM} equal 12(r−p)\frac12(\mathbf{r}-\mathbf{p}), so KLMNKLMN is a parallelogram.

PQRSKLMN
The midpoints of any quadrilateral form a parallelogram: KL = NM.
  • Midpoint of PQ12(p+q)\tfrac12(\mathbf{p}+\mathbf{q})
  • Ratio m : n pointa+mm+n(b−a)\mathbf{a}+\dfrac{m}{m+n}(\mathbf{b}-\mathbf{a})

A(1,2,3)A(1,2,3) and B(7,5,9)B(7,5,9). Find the point dividing ABAB in the ratio 1:21:2.

Try an exam question

The points AA and BB have coordinates (1,2,3)(1,2,3) and (7,5,9)(7,5,9). (a) Find AB→\overrightarrow{AB} and the distance ABAB. (b) Find the coordinates of the point PP that divides ABAB in the ratio 1:21:2.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find AB→\overrightarrow{AB}.

1 mark, marked against the mark scheme

Revision notes