2D vectors in P1; 3D vectors, scalar product in P2
Edexcel
P1, P2
Similar split
OCR (A)
Paper 1, 2
Includes vector equations of lines
CIE (9709)
P1, P2, P3
2D in P1; 3D and lines in P2/P3
:::info The formula booklet gives the scalar product formula. You must be comfortable working in 3D
And converting between column and i,j,k notation.
:::
1. Vectors in 2D and 3D
1.1 Definition
Definition. A vector is a quantity with both magnitude and direction. A scalar is a
Quantity with magnitude only.
Vectors in 2D are written as column vectors: (ba) or ai+bj.
Vectors in 3D: abc or ai+bj+ck.
The unit vectors i=(01), j=(10) point along the positive
x- and y-axes respectively. In 3D, k=001.
1.2 Position vectors
The position vector of a point P relative to an origin O is the vector
OPWritten as rP or p.
2. Magnitude, Unit Vectors, Direction Cosines
2.1 Magnitude
The magnitude (length) of a=a1a2a3 is
∣a∣=a12+a22+a32
This follows directly from Pythagoras’ theorem applied in 3D.
2.2 Unit vectors
A unit vector has magnitude 1. The unit vector in the direction of a is
Intuition. The dot product a⋅b measures the extent to which a
And b point in the same direction. It equals the product of the magnitude of a
And the projection of b onto a:
a⋅b=∣a∣⋅(shadowofbona).
If they are perpendicular, the shadow is zero. If they point the same way, the dot product is
Positive; if opposite, negative.
5. Vector Equation of a Line
5.1 Definition
Definition. The vector equation of a line passing through point A with position vector
aIn the direction of vector bIs
r=a+tb,t∈R
Where r is the position vector of a general point on the line, and t is a parameter.
5.2 Parametric form
If a=a1a2a3 and
b=b1b2b3The parametric equations are
x=a1+tb1,y=a2+tb2,z=a3+tb3
5.3 Cartesian form (2D)
In 2D, eliminating t: b1x−a1=b2y−a2.
:::caution Warning aAnd the direction vector b can be any non-zero scalar
multiple of the Direction. Always check your answer gives a point and direction consistent with the
question.
:::
5.4 Vector equation of a line in 3D
The vector equation of a line in 3D has the same form as in 2D, but now operates in three
Dimensions. Given a point A(x0,y0,z0) on the line and a direction vector
d=d1d2d3:
r=x0y0z0+td1d2d3,t∈R
The parametric form is:
x=x0+td1,y=y0+td2,z=z0+td3
:::tip Tip And AB as the direction vector. Alternatively, use B and
BA --- both give the same line.
:::
Example. Find the vector equation of the line through P(2,−1,3) and Q(5,1,−2).
Direction: PQ=32−5.
r=2−13+t32−5
To check: at t=0 we get P; at t=1 we get 51−2=Q. ✓
6. Intersection of Lines
6.1 Two lines in 3D
Given r1=a1+tb1 and
r2=a2+sb2:
Method:
Equate the x-, y-, and z-components.
Solve two equations for t and s.
Check the third equation is consistent.
If consistent: the lines intersect at the point found.
If inconsistent: the lines are skew (non-parallel and non-intersecting).
If b1=kb2 for some scalar k: the lines are parallel (coincident if
also a2−a1 is parallel to b1).
6.2 Skew lines
Definition. Two lines in 3D are skew if they are not parallel and do not intersect.
To verify skewness, show that the system of equations for t and s is inconsistent.
7. Angle Between Two Vectors
From the dot product formula:
cosθ=L◆B◆a⋅b◆RB◆◆LB◆∣a∣∣b∣◆RB◆
The angle between two lines is found using the direction vectors.
8. Distance from a Point to a Line
To find the shortest distance from point P to line r=a+tb:
Let Q be the closest point on the line to P.
PQ is perpendicular to bSo
PQ⋅b=0.
If P has position vector pThen
PQ=a+tb−p.
(a+tb−p)⋅b=0 gives t.
Substitute back to find Q and compute ∣PQ∣.
8.1 Formula for distance from a point to a line
The above procedure yields the general formula. For a line through A with direction d
And a point P with position vector p:
d=L◆B◆∣(p−a)×d∣◆RB◆◆LB◆∣d∣◆RB◆
This uses the cross product (vector product), which gives a vector perpendicular to both
AP and d whose magnitude equals the area of the parallelogram they
Span. Dividing by ∣d∣ (the base) gives the perpendicular height, i.e. The shortest
Distance.
:::info When the cross product is not on your syllabus, use the dot-product method from Section 8.
The cross-product formula is listed here for reference and is examined on CIE P3 and some OCR
Papers.
:::
Example using the dot-product method. Find the distance from P(4,1,−1) to the line
r=102+t21−1.
Definition. The scalar triple product of three vectors a, bc is
[a,b,c]=a⋅(b×c)
In component form, this equals the determinant:
[a,b,c]=a1b1c1a2b2c2a3b3c3
9.2 Geometric interpretation: volume of a parallelepiped
Theorem. The absolute value of the scalar triple product equals the volume of the parallelepiped
With edges defined by a, bAnd c.
V=∣a⋅(b×c)∣
Proof. The vector b×c has magnitude
∣b∣∣c∣sinθ equal to the area of the parallelogram with sides b
And cAnd direction perpendicular to both. The height of the parallelepiped is the
Projection of a onto b×cWhich is ∣a∣cosϕ where
ϕ is the angle between a and b×c.
V=basearea×height=∣b×c∣⋅∣a∣cosϕ=∣a⋅(b×c)∣■
9.3 Properties of the scalar triple product
Cyclic permutation:[a,b,c]=[b,c,a]=[c,a,b]
Anti-symmetry: Swapping any two vectors changes the sign:
[a,c,b]=−[a,b,c]
Coplanarity test:\mathbf{a}$$\mathbf{b}$$\mathbf{c} are coplanar if and only if
[a,b,c]=0 (the parallelepiped has zero volume).
Volume of a tetrahedron:Vtet=61∣a⋅(b×c)∣Since a tetrahedron
is 61 of a parallelepiped.
Example. Find the volume of the parallelepiped with edges
a=201b=13−1c=024.
[a,b,c]=2100321−14
=232−14−010−14+11032
=2(12+2)+0+1(2)=28+2=30.
Volume =∣30∣=30 cubic units.
10. Vector Proof Techniques
10.1 Proving collinear points
Points A$$B$$C are collinear if and only if AB is parallel to
BCI.e. AB=kBC for some scalar k.
Equivalently, AB×BC=0 (zero vector).
Method:
Compute AB=b−a and
BC=c−b.
Check if one is a scalar multiple of the other.
Alternatively, check if AC is parallel to AB.
Example. Show that A(1, 2, 3)$$B(3, 4, 5)$$C(5, 6, 7) are collinear.
AB=222BC=222.
Since AB=BC (i.e. k=1), the points are collinear.
■
10.2 Proving perpendicular lines
Two lines are perpendicular if and only if their direction vectors have dot product zero.
Method:
Identify the direction vectors d1 and d2 of the two lines.
Compute d1⋅d2.
If the result is zero (and neither direction vector is zero), the lines are perpendicular.
Example. Show that the lines
r1=012+t12−2 and
r2=30−1+s2−10 are
Perpendicular.
d1⋅d2=(1)(2)+(2)(−1)+(−2)(0)=2−2+0=0.
Since the dot product is zero, the lines are perpendicular. ■
10.3 Proving points form a parallelogram
Points A$$B$$C$$D form a parallelogram (in order) if and only if
AB=DC (or equivalently
AD=BC).
Method:
Compute the relevant displacement vectors.
Show opposite sides are equal as vectors (same components).
:::tip To show a quadrilateral is a rhombus, additionally show that adjacent sides have equal
Magnitude. To show a rectangle, show that adjacent sides are perpendicular. A square
Requires both conditions.
:::
10.4 Using vectors in geometric proofs
Many geometry problems can be solved elegantly using vectors. The general strategy is:
Assign position vectors to key points.
Express the relevant geometric conditions in vector form (parallelism via scalar multiples,
perpendicularity via dot products, midpoints via averages).
Compute and simplify algebraically.
Example. In triangle ABCLet M be the midpoint of AB. Prove that
CM=21CA+21CB.
Problem 1
Given $\mathbf{a} = 3\mathbf{i} - 2\mathbf{j} + \mathbf{k}$ and $\mathbf{b} = \mathbf{i} + 4\mathbf{j} - 3\mathbf{k}$Find $\mathbf{a} + \mathbf{b}$$\mathbf{a} - \mathbf{b}$$|\mathbf{a}|$And a unit vector in the direction of $\mathbf{a}$.
Solution 1
$\mathbf{a} + \mathbf{b} = 4\mathbf{i} + 2\mathbf{j} - 2\mathbf{k} = \begin{pmatrix}4\\2\\-2\end{pmatrix}$.
Problem 3
Find the vector equation of the line through $A(1, 2, -1)$ and $B(3, 0, 4)$.
Solution 3
Direction: $\overrightarrow{AB} = \begin{pmatrix}3-1\\0-2\\4-(-1)\end{pmatrix} = \begin{pmatrix}2\\-2\\5\end{pmatrix}$.
Problem 4
Show that the lines $\mathbf{r} = \begin{pmatrix}1\\0\\2\end{pmatrix} + t\begin{pmatrix}2\\1\\-1\end{pmatrix}$ and $\mathbf{r} = \begin{pmatrix}3\\1\\1\end{pmatrix} + s\begin{pmatrix}1\\-1\\1\end{pmatrix}$ intersect, and find the point of intersection.
Solution 4
Equating components: $1+2t = 3+s$$t = 1-s$$2-t = 1+s$.
From t=1−s and 2−t=1+s: 2−(1−s)=1+s⟹1+s=1+s ✓ (consistent).
Problem 5
Find $\lambda$ such that $\begin{pmatrix}\lambda\\3\\-1\end{pmatrix}$ is perpendicular to $\begin{pmatrix}2\\\lambda\\4\end{pmatrix}$.
Solution 5
Perpendicular $\iff$ dot product $= 0$:
Problem 6
Find the distance from $P(1, 2, 3)$ to the line $\mathbf{r} = \begin{pmatrix}0\\1\\-1\end{pmatrix} + t\begin{pmatrix}1\\1\\1\end{pmatrix}$.
Solution 6
$\overrightarrow{PQ} = \begin{pmatrix}t\\1+t\\-1+t\end{pmatrix} - \begin{pmatrix}1\\2\\3\end{pmatrix} = \begin{pmatrix}t-1\\t-1\\t-4\end{pmatrix}$.
Problem 7
Prove that the direction cosines satisfy $\cos^2\alpha + \cos^2\beta + \cos^2\gamma = 1$.
Solution 7
For $\mathbf{a} = \begin{pmatrix}a_1\\a_2\\a_3\end{pmatrix}$ with $|\mathbf{a}| = m$:
Problem 9
Show that the lines $\mathbf{r} = \begin{pmatrix}0\\0\\1\end{pmatrix} + t\begin{pmatrix}1\\1\\0\end{pmatrix}$ and $\mathbf{r} = \begin{pmatrix}0\\1\\0\end{pmatrix} + s\begin{pmatrix}1\\0\\1\end{pmatrix}$ intersect, and find the point of intersection.
Solution 9
Equating: $t = s$$t = 1$$1 = s$.
From t=1 and t=s: s=1. Check third: 1=s=1 ✓.
Wait — all three are consistent! Let me re-check. Line 1: (t,t,1). Line 2: (s,1,s).
t = s$$t = 1$$1 = s. So t=s=1. Point: (1,1,1).
Actually the lines intersect at (1,1,1)They are not skew.
If you get this wrong, revise:Skew Lines — Section 6.2.
Problem 10
Given $\mathbf{a} = 2\mathbf{i} + \mathbf{j}$ and $\mathbf{b} = \mathbf{i} - 3\mathbf{j}$Find the vector projection of $\mathbf{b}$ onto $\mathbf{a}$.
Solution 10
The projection of $\mathbf{b}$ onto $\mathbf{a}$ is $\mathrm{proj}_{\mathbf{a}}\mathbf{b} = \dfrac◆LB◆\mathbf{a}\cdot\mathbf{b}◆RB◆◆LB◆|\mathbf{a}|^2◆RB◆\,\mathbf{a}$.
Problem 11
Find the angle between the line $\mathbf{r} = \begin{pmatrix}1\\2\\-1\end{pmatrix} + t\begin{pmatrix}3\\-1\\2\end{pmatrix}$ and the plane $2x - y + z = 5$.
Solution 11
The normal to the plane is $\mathbf{n} = \begin{pmatrix}2\\-1\\1\end{pmatrix}$And the direction of the line is $\mathbf{d} = \begin{pmatrix}3\\-1\\2\end{pmatrix}$.
The angle between the line and the plane equals 90∘ minus the angle between d and
n.
Problem 13
Find the vector equation of the line through $A(2, -3, 1)$ that is parallel to the line $\mathbf{r} = \begin{pmatrix}0\\1\\-2\end{pmatrix} + t\begin{pmatrix}4\\-1\\3\end{pmatrix}$.
Solution 13
Since the line is parallel, it has the same direction vector $\begin{pmatrix}4\\-1\\3\end{pmatrix}$.
Problem 15
Determine whether the points $P(1, 2, 3)$$Q(4, 5, 6)$$R(7, 8, 9)$ are collinear. If they are, find the ratio $PQ : QR$.
Solution 15
$\overrightarrow{PQ} = \begin{pmatrix}3\\3\\3\end{pmatrix}$
$\overrightarrow{QR} = \begin{pmatrix}3\\3\\3\end{pmatrix}$.
Since PQ=QRThe points are collinear. The ratio is
PQ:QR=1:1.
Problem 16
Show that the lines $\mathbf{r}_1 = \begin{pmatrix}1\\0\\0\end{pmatrix} + t\begin{pmatrix}1\\2\\3\end{pmatrix}$ and $\mathbf{r}_2 = \begin{pmatrix}0\\1\\-1\end{pmatrix} + s\begin{pmatrix}2\\-1\\1\end{pmatrix}$ are skew.
Solution 16
Equating components: $1+t = 2s$$2t = 1-s$$3t = -1+s$.
From equation 2: s=1−2t. Substitute into equation 1:
1+t=2(1−2t)=2−4t⟹5t=1⟹t=1/5.
Then s=1−2/5=3/5.
Check equation 3: 3(1/5)=3/5 and −1+3/5=−2/5.
3/5=−2/5So the third equation is inconsistent. The lines are skew. ■
If you get this wrong, revise:Skew Lines — Section 6.2.
Problem 17
Find the shortest distance from the point $P(3, -1, 2)$ to the line $\mathbf{r} = \begin{pmatrix}1\\2\\-1\end{pmatrix} + t\begin{pmatrix}1\\0\\3\end{pmatrix}$.
Solution 17
Let $\mathbf{a} = \begin{pmatrix}1\\2\\-1\end{pmatrix}$$\mathbf{d} = \begin{pmatrix}1\\0\\3\end{pmatrix}$
$\mathbf{p} = \begin{pmatrix}3\\-1\\2\end{pmatrix}$.
Problem 18
Points $A$$B$$C$$D$ have position vectors $\mathbf{a} = \begin{pmatrix}0\\0\\0\end{pmatrix}$$\mathbf{b} = \begin{pmatrix}4\\1\\-2\end{pmatrix}$$\mathbf{c} = \begin{pmatrix}6\\3\\1\end{pmatrix}$$\mathbf{d} = \begin{pmatrix}2\\2\\3\end{pmatrix}$. Show that $ABCD$ is a parallelogram, and determine whether it is a rectangle.
Solution 18
$\overrightarrow{AB} = \begin{pmatrix}4\\1\\-2\end{pmatrix}$
$\overrightarrow{DC} = \mathbf{c} - \mathbf{d} = \begin{pmatrix}4\\1\\-2\end{pmatrix}$.
Since \overrightarrow{AB} = \overrightarrow{DC}$$ABCD is a parallelogram. ✓
Check for rectangle:
AB⋅AD=41−2⋅223=8+2−6=4=0.
The adjacent sides are not perpendicular, so ABCD is not a rectangle.
:::tip Tip Ready to test your understanding of Vectors? The contains the hardest questions within
the A-Level specification for this topic, each with a full worked solution.
Unit tests probe edge cases and common misconceptions. Integration tests combine Vectors
with other pure mathematics topics to test synthesis under exam conditions.
See for instructions on self-marking and
building a personal test matrix.
:::
Common Pitfalls
Confusing position vectors with direction vectors — position vectors point from the origin.
Forgetting that the scalar product gives a scalar, not a vector.
Dropping negative signs during algebraic manipulation — substitute back to verify your answer.
Losing marks by not showing sufficient working — always write out each step, especially in proof
questions.
Misreading the question, particularly with ‘hence’ vs ‘hence or otherwise’ — the former requires
using previous work.
Forgetting the +c constant of integration in indefinite integrals, or misusing boundary
conditions in definite integrals.
Summary
The key principles covered in this topic are linked in the sub-pages above. Focus on understanding
the definitions, applying the formulas or frameworks, and evaluating strengths and limitations of
each approach.
Worked Examples
Worked examples demonstrating the application of key concepts are covered in the detailed sub-pages
linked above.