Skip to study

CHAPTER 09 · GEOMETRY & TRIGONOMETRY

Vectors

Progress stays on this device

papers AA HL chapter & section analysis

Your chapter

Model space with vectors, then use consistency, projection and optimisation to answer geometric questions.

Read all chapter notes

9.1

Geometrical representation of vectors

A position vector locates a point relative to an origin; a displacement vector describes a directed change. Equal displacement vectors have equal components even if drawn at different locations.

The magnitude is the Euclidean length. A unit vector in a non-zero vector’s direction is obtained by dividing by its magnitude. Negative multiples reverse the direction; the zero vector has no defined direction.

Geometrical addition follows the triangle or parallelogram rule. The displacement along a multi-stage path is the sum of its stage vectors, independently of the intermediate route.

AB→=OB−OA\displaystyle \overrightarrow{AB} = OB - OA; ∣(x, y, z)∣=x2+y2+z2\displaystyle \left|\left(x,\,y,\,z\right)\right| = \sqrt{x^{2} + y^{2} + z^{2}}; unit vector along a is a∣a∣\displaystyle \frac{\mathbf{a}}{\left|\mathbf{a}\right|} for a≠0\displaystyle \mathbf{a} \ne 0.

Watch out: AB and BA have opposite signs. A position vector is not automatically the displacement between two named points.

Worked example

A=(1, 2, −1)\displaystyle A = \left(1,\,2,\,-1\right) and B=(4, 0, 3)\displaystyle B = \left(4,\,0,\,3\right). Find the components of AB, in x,y,z order.

  1. Subtract A from B component by component.
  2. AB→=(4−1, 0−2, 3−(−1))=(3−24)\displaystyle \overrightarrow{AB} = \left(4 - 1,\,0 - 2,\,3 - \left(-1\right)\right) = \begin{pmatrix}3\\-2\\4\end{pmatrix}.

9.2

Introduction to vector algebra

Addition and scalar multiplication operate component by component. Vector equations impose all component conditions simultaneously. Do not solve one coordinate and ignore a contradictory coordinate.

If AP:PB=m\displaystyle PB = m:n internally, the position vector of P is na+mbm+n\displaystyle \frac{n \mathbf{a} + m \mathbf{b}}{m + n}. For external division or extrapolation, it is often safer to write P=A+t(B−A)\displaystyle P = A + t \left(B - A\right) and interpret t geometrically.

Points A,B,C are collinear when AC is a scalar multiple of AB. Linear combinations can also establish coplanarity; justify the required relation rather than relying on a sketch.

a+b=(a1+b1a2+b2a3+b3)\displaystyle \mathbf{a} + \mathbf{b} = \begin{pmatrix}a_{1} + b_{1}\\a_{2} + b_{2}\\a_{3} + b_{3}\end{pmatrix}; P=A+t(B−A)\displaystyle P = A + t \left(B - A\right); internal AP:PB=m\displaystyle PB = m:n gives p=na+mbm+n\displaystyle p = \frac{n \mathbf{a} + m \mathbf{b}}{m + n}.

Watch out: A scalar multiple may be negative. In a ratio formula, the weight on one endpoint is the opposite segment length.

Worked example

For a=(12−1)\displaystyle \mathbf{a} = \begin{pmatrix}1\\2\\-1\end{pmatrix} and b=(2−13)\displaystyle \mathbf{b} = \begin{pmatrix}2\\-1\\3\end{pmatrix}, find 2a−3b\displaystyle 2 \mathbf{a} - 3 \mathbf{b}, in component order.

  1. 2a=(24−2)\displaystyle 2 \mathbf{a} = \begin{pmatrix}2\\4\\-2\end{pmatrix} and 3b=(6−39)\displaystyle 3 \mathbf{b} = \begin{pmatrix}6\\-3\\9\end{pmatrix}.
  2. Subtract componentwise: 2a−3b=(−47−11)\displaystyle 2 \mathbf{a} - 3 \mathbf{b} = \begin{pmatrix}-4\\7\\-11\end{pmatrix}.

9.3

The scalar product and its properties

The scalar product can be computed from components or from lengths and the angle between vectors. Its sign distinguishes acute, right and obtuse angles for non-zero vectors.

Perpendicular vectors have scalar product zero. The converse needs both vectors to be non-zero when an angle is being discussed. Use the absolute value in the cosine formula if the question asks for the acute angle between unoriented lines.

Projection onto a non-zero vector b has vector value (a⋅bb⋅b)b\displaystyle \left(\frac{\mathbf{a} \cdot \mathbf{b}}{\mathbf{b} \cdot \mathbf{b}}\right) \mathbf{b}. The signed scalar component is a⋅b∣b∣\displaystyle \frac{\mathbf{a} \cdot \mathbf{b}}{\left|\mathbf{b}\right|}; its sign records orientation along b.

a⋅b=a1b1+a2b2+a3b3=∣a∣∣b∣cos⁡θ\displaystyle \mathbf{a} \cdot \mathbf{b} = a_{1} b_{1} + a_{2} b_{2} + a_{3} b_{3} = \left|\mathbf{a}\right| \left|\mathbf{b}\right| \cos \theta; proj⁡b(a)=(a⋅bb⋅b)b\displaystyle \operatorname{proj}_{\mathbf{b}}\left(\mathbf{a}\right) = \left(\frac{\mathbf{a} \cdot \mathbf{b}}{\mathbf{b} \cdot \mathbf{b}}\right) \mathbf{b}.

Watch out: The scalar product is a number, while a vector projection is a vector. Distinguish the angle between directed vectors from the acute angle between lines.

Worked example

Find a⋅b\displaystyle \mathbf{a} \cdot \mathbf{b} for a=(123)\displaystyle \mathbf{a} = \begin{pmatrix}1\\2\\3\end{pmatrix} and b=(4−12)\displaystyle \mathbf{b} = \begin{pmatrix}4\\-1\\2\end{pmatrix}.

  1. Multiply corresponding components.
  2. a⋅b=1×4+2×(−1)+3×2=8\displaystyle \mathbf{a} \cdot \mathbf{b} = 1 \times 4 + 2 \times \left(-1\right) + 3 \times 2 = 8.

9.4

Vector equation of a line

A line can be written r=a+td\displaystyle \mathbf{r} = \mathbf{a} + t \mathbf{d}, where a is a position vector on the line and d is a non-zero direction vector. Equivalent equations can use another point, a rescaled direction or a reparameterisation.

When all direction components are non-zero, the symmetric Cartesian form is x−a1d1=y−a2d2=z−a3d3=t\displaystyle \frac{x - a_{1}}{d_{1}} = \frac{y - a_{2}}{d_{2}} = \frac{z - a_{3}}{d_{3}} = t. If a direction component is zero, its coordinate is constant; do not divide by zero.

A point belongs to the line only if one value of t satisfies all three coordinates. To intersect two lines, use separate parameters and solve the component equations simultaneously; check any remaining equation.

In three dimensions, non-parallel lines need not intersect: they may be skew. Parallel direction vectors imply parallel or coincident lines; test one point to distinguish these cases.

r=a+td\displaystyle \mathbf{r} = \mathbf{a} + t \mathbf{d}, t∈R\displaystyle t \in \mathbb{R}, d≠0\displaystyle \mathbf{d} \ne 0. For d1d2d3≠0\displaystyle d_{1} d_{2} d_{3} \ne 0: x−a1d1=y−a2d2=z−a3d3\displaystyle \frac{x - a_{1}}{d_{1}} = \frac{y - a_{2}}{d_{2}} = \frac{z - a_{3}}{d_{3}}. A segment from A to B uses r=A+t(B−A)\displaystyle \mathbf{r} = A + t \left(B - A\right), 0≤t≤1\displaystyle 0 \le t \le 1.

Watch out: Do not use the same parameter for two independent lines unless the question explicitly describes synchronised time.

Worked example

A line passes through A=(1, −2, 3)\displaystyle A = \left(1,\,-2,\,3\right) and B=(3, 1, 7)\displaystyle B = \left(3,\,1,\,7\right). In r=A+td\displaystyle \mathbf{r} = A + t d, choose d=AB\displaystyle d = AB and give its components.

  1. A direction vector is endpoint minus starting point.
  2. AB→=(3−11+27−3)=(234)\displaystyle \overrightarrow{AB} = \begin{pmatrix}3 - 1\\1 + 2\\7 - 3\end{pmatrix} = \begin{pmatrix}2\\3\\4\end{pmatrix}.

9.5

The vector product and its properties

The vector product a×b\displaystyle \mathbf{a} \times \mathbf{b} is perpendicular to both input vectors. Its direction follows the right-hand rule; reversing the order changes its sign. Its magnitude is ∣a∣∣b∣sin⁡θ\displaystyle \left|\mathbf{a}\right| \left|\mathbf{b}\right| \sin \theta.

The magnitude of a cross product gives parallelogram area; half of it gives the triangle area formed by the same two edge vectors. A zero cross product means non-zero vectors are parallel.

The scalar triple product a⋅(b×c)\displaystyle \mathbf{a} \cdot \left(\mathbf{b} \times c\right) is signed volume. Its absolute value gives the volume of the associated parallelepiped. A zero triple product tests coplanarity of three displacement vectors.

a×b=(a2b3−a3b2a3b1−a1b3a1b2−a2b1)\displaystyle \mathbf{a} \times \mathbf{b} = \begin{pmatrix}a_{2} b_{3} - a_{3} b_{2}\\a_{3} b_{1} - a_{1} b_{3}\\a_{1} b_{2} - a_{2} b_{1}\end{pmatrix}; triangle area=∣AB→×AC∣2\displaystyle \frac{\left|\overrightarrow{AB} \times AC\right|}{2}; volume=∣a⋅(b×c)∣\displaystyle \left|\mathbf{a} \cdot \left(\mathbf{b} \times c\right)\right|.

Watch out: A cross product is a vector, not a scalar. A triangle needs the factor one half, and volume requires an absolute value.

Worked example

Calculate (1, 2, 0)×(0, 1, 3)\displaystyle \left(1,\,2,\,0\right) \times \left(0,\,1,\,3\right), in component order.

  1. Use the component cross-product formula.
  2. The components are (2×3−0×1, 0×0−1×3, 1×1−2×0)=(6, −3, 1)\displaystyle \left(2 \times 3 - 0 \times 1,\,0 \times 0 - 1 \times 3,\,1 \times 1 - 2 \times 0\right) = \left(6,\,-3,\,1\right).

9.6

Vector equation of a plane

A plane has a parametric form r=a+su+tv\displaystyle \mathbf{r} = \mathbf{a} + s \mathbf{u} + t \mathbf{v}, where u and v are non-parallel direction vectors. Their cross product is a normal vector n. The normal form is n⋅(r−a)=0\displaystyle n \cdot \left(\mathbf{r} - \mathbf{a}\right) = 0.

In Cartesian form ax+by+cz=d\displaystyle +cz = d, the coefficient vector (a, b, c)\displaystyle \left(\mathbf{a},\,\mathbf{b},\,c\right) is normal to the plane and is not the zero vector. A point and normal determine one plane; three non-collinear points do so by giving two independent edge vectors.

A line lies in a plane precisely when one line point is in the plane and its direction is perpendicular to the normal. If the direction has non-zero scalar product with the normal, substitution gives one intersection.

r=a+su+tv\displaystyle \mathbf{r} = \mathbf{a} + s \mathbf{u} + t \mathbf{v}; n=u×v\displaystyle \mathbf{n} = \mathbf{u} \times \mathbf{v}; n⋅r=n⋅a\displaystyle \mathbf{n} \cdot \mathbf{r} = \mathbf{n} \cdot \mathbf{a}; for n=(abc)\displaystyle \mathbf{n} = \begin{pmatrix}\mathbf{a}\\\mathbf{b}\\c\end{pmatrix}, ax+by+cz=d\displaystyle +cz = d.

Watch out: Two parallel direction vectors do not define a plane. A normal is perpendicular to plane directions, not parallel to them.

Worked example

A plane has normal (2, −1, 1)\displaystyle \left(2,\,-1,\,1\right) and passes through (1, 2, 3)\displaystyle \left(1,\,2,\,3\right). Write it as 2x−y+z=d\displaystyle 2 x - y + z = d and find d.

  1. Substitute the point into the left side.
  2. d=2(1)−2+3=3\displaystyle d = 2 \left(1\right) - 2 + 3 = 3.

9.7

Lines, planes and angles

The acute angle between two lines is found from their direction vectors using the absolute scalar product. The acute angle between two planes is similarly found from their normals.

For a line with direction d and a plane with normal n, the line–plane angle is complementary to the line–normal angle. Hence its sine, rather than its cosine, is ∣d⋅n∣∣d∣∣n∣\displaystyle \frac{\left|d \cdot n\right|}{\left|d\right| \left|n\right|}.

A line is parallel to a plane when d⋅n=0\displaystyle d \cdot n = 0, but it may be contained in that plane. Two planes are perpendicular when their normals are perpendicular, and parallel when their normals are proportional.

cos⁡θ\displaystyle \cos \theta(lines or planes)=∣a⋅b∣∣a∣∣b∣\displaystyle \frac{\left|\mathbf{a} \cdot \mathbf{b}\right|}{\left|\mathbf{a}\right| \left|\mathbf{b}\right|}; sin⁡α\displaystyle \sin \alpha(line–plane)=∣d⋅n∣∣d∣∣n∣\displaystyle \frac{\left|d \cdot n\right|}{\left|d\right| \left|n\right|}, with 0≤θ\displaystyle 0 \le \theta,α≤π2\displaystyle \alpha \le \frac{\pi}{2}.

Watch out: An angle with a plane is not generally the angle with its normal. Use the absolute value when the required geometric angle is acute.

Worked example

Find the acute angle in degrees between planes with normals (1, 1, 0)\displaystyle \left(1,\,1,\,0\right) and (1, 0, 1)\displaystyle \left(1,\,0,\,1\right).

  1. The normals have dot product 1 and magnitudes 2\displaystyle \sqrt{2}.
  2. Their acute angle, and thus the acute plane angle, is arccos⁡(12)=60∘\displaystyle \arccos\left(\frac{1}{2}\right) = 60^{\circ}.

9.8

Applications of vectors

Intersections are consistency problems. Two planes generally meet in a line whose direction is the cross product of their normals; choose a convenient coordinate to find one point on that line. Three planes may meet in one point, a line, a plane or have no common point.

The distance from P to n⋅r=d\displaystyle \mathbf{n} \cdot \mathbf{r} = d is ∣n⋅P−d∣∣n∣\displaystyle \frac{\left|\mathbf{n} \cdot P - d\right|}{\left|\mathbf{n}\right|}. Point–line distance can be found by removing the projection along the line or by ∣AP→×u∣∣u∣\displaystyle \frac{\left|\overrightarrow{AP} \times \mathbf{u}\right|}{\left|\mathbf{u}\right|}. For two skew lines, project a joining vector onto a common normal u×v\displaystyle \mathbf{u} \times \mathbf{v}.

For a vector position r(t), velocity is r′(t)\displaystyle \mathbf{r}^{\prime} \left(t\right), acceleration is r′′(t)\displaystyle \mathbf{r}^{\prime\prime} \left(t\right), and speed is the magnitude of velocity. Constant velocity v gives r(t)=r0+tv\displaystyle \mathbf{r} \left(t\right) = r_{0} + tv; relative velocity is the difference of the two velocity vectors.

For moving points, use a common time only when the motion is synchronised. Minimise the squared separation rather than the square root; completing the square or differentiating produces the same closest-approach time. Check time-domain endpoints and distinguish crossing paths from collision.

d(point,plane)=∣n⋅p−d∣∣n∣\displaystyle \frac{\left|n \cdot p - d\right|}{\left|n\right|}; d(point,line)=∣AP→×u∣∣u∣\displaystyle \frac{\left|\overrightarrow{AP} \times \mathbf{u}\right|}{\left|\mathbf{u}\right|}; d(skew lines)=∣AB→⋅(u×v)∣∣u×v∣\displaystyle \frac{\left|\overrightarrow{AB} \cdot \left(\mathbf{u} \times \mathbf{v}\right)\right|}{\left|\mathbf{u} \times \mathbf{v}\right|}.

Watch out: Skew-line distance formulas require non-parallel directions. In motion, different path parameters are not automatically the same physical time.

Worked example

The planes x+y+z=6\displaystyle x + y + z = 6 and x−y+z=2\displaystyle x - y + z = 2 intersect in a line. Find the point on this line for which z=0\displaystyle z = 0.

  1. Subtracting the equations gives 2y=4\displaystyle 2 y = 4, so y=2\displaystyle y = 2.
  2. Then x+z=4\displaystyle x + z = 4, and z=0\displaystyle z = 0 gives point (4, 2, 0)\displaystyle \left(4,\,2,\,0\right).