Skip to content
Cambridge AS & A Level9709

Vectors

Mathematics 9709 Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Vectors notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Vectors notes as text: skim, search, and jump between subtopics.

~10 min read

1. Vectors: notation, addition, magnitude

A vector is written as a column beginpmatrixx y zendpmatrix, as xi+yj+zk, or as overrightarrowAB or a. Vectors add and subtract component by component. Multiplying by a scalar multiplies every component. Geometrically, 'OABC is a parallelogram' is equivalent to overrightarrowOB=overrightarrowOA+overrightarrowOC.

A position vector gives a point relative to the origin O. The displacement vector from A to B is overrightarrowAB=overrightarrowOB-overrightarrowOA: end point minus start point.

The magnitude of a vector is its length. A unit vector has magnitude 1: divide a vector by its magnitude. The midpoint of AB has position vector 1/2(overrightarrowOA+overrightarrowOB).

|xi+yj+zk|=√(x²+y²+z²)

hata=a/(|a|)

overrightarrowAB=overrightarrowOB-overrightarrowOA

Examiner insight

“Several candidates found half of the vector rather than the position vector of the midpoint of AB.”

Worked example 13 marks

Relative to an origin O, the position vectors of the points A, B and C are given by overrightarrowOA=beginpmatrix1 -3 2endpmatrix, overrightarrowOB=beginpmatrix-1 3 5endpmatrix and overrightarrowOC=beginpmatrix3 1 -2endpmatrix. The point M is the mid-point of AC. Find the unit vector in the direction of overrightarrowOM.

  1. 1

    overrightarrowOM=1/2(overrightarrowOA+overrightarrowOC)=1/2beginpmatrix4 -2 0endpmatrix=beginpmatrix2 -1 0endpmatrix [1]

  2. 2

    |overrightarrowOM|=√(2²+(-1)²+0²)=√5 [1]

  3. 3

    unit vector =1/(√5)(2i-j) [1]

2. The vector equation of a line

A line is written r=a+tb. Here a is the position vector of a point on the line, b is a direction vector (parallel to the line) and t is a scalar parameter. Each value of t gives one point on the line.

Given two points A and B, use A as the point and overrightarrowAB as the direction. Using B as the point instead gives an equally correct equation.

r=a+tb

r=overrightarrowOA+toverrightarrowAB

Examiner insight

“Most candidates could establish vector AB correctly, although some candidates thought that this was the vector equation of the line.” “The left-hand side should be an underlined r i.e. not left blank, expressed in words or just denoted as l.”

Worked example 13 marks

The points A and B have position vectors 2i+j+k and i-2j+2k respectively. Find a vector equation for the line through A and B.

  1. 1

    direction overrightarrowAB=beginpmatrix1 -2 2endpmatrix-beginpmatrix2 1 1endpmatrix=-i-3j+k [1]

  2. 2

    use a point and the direction: r=overrightarrowOA+λoverrightarrowAB [1]

  3. 3

    r=2i+j+k+λ(-i-3j+k), with r on the left [1]

3. Parallel, intersecting or skew lines

Two lines are parallel if their direction vectors are scalar multiples of each other.

If they are not parallel, write a general point of each line in component form. Equate two pairs of components and solve for the two parameters. Then check whether all three component equations are satisfied. If they are, the lines intersect. If not, the lines are skew: they are neither parallel nor intersecting.

Examiner insight

“Candidates also need to be aware that just stating that the two direction vectors are not equal is not enough to show that they are not parallel.” “Following the identification of the direction vectors, it must be clearly shown or stated that these two vectors are not scalar multiples of each other.”

Worked example 15 marks

Two lines have equations r=beginpmatrix1 3 2endpmatrix+sbeginpmatrix2 -1 3endpmatrix and r=beginpmatrix2 1 4endpmatrix+tbeginpmatrix1 -1 4endpmatrix. Show that the lines are skew.

  1. 1

    general points (1+2s, 3-s, 2+3s) and (2+t, 1-t, 4+4t) [1]

  2. 2

    equate x and y: 1+2s=2+t and 3-s=1-t [1]

  3. 3

    solving: s=-1, t=-3 [1]

  4. 4

    z: 2+3(-1)=-1 but 4+4(-3)=-8, so the lines do not intersect [1]

  5. 5

    (2,-1,3) is not a multiple of (1,-1,4), so not parallel: the lines are skew [1]

4. Finding the point of intersection

For lines that intersect, solve two of the three component equations for the parameters. Then verify that all three equations are satisfied. Substitute each parameter into its own line: both must give the same point, and different points show an error.

State the position vector of the point of intersection, or its coordinates, as the question asks.

Examiner insight

“The two common errors were to overlook the need to verify that the equations for all three components were satisfied, or to show that the two lines do intersect but not state the point of intersection.” “When solving the two line equations, both parameters should be found and used to establish the intersection point, as different points reveal an error in the solution of equations part of the question.”

Worked example 15 marks

Two lines l and m have equations r=3i+2j+5k+s(4i-j+3k) and r=i-j-2k+t(-i+2j+2k) respectively. Show that l and m intersect and state the position vector of the point of intersection.

  1. 1

    general points (3+4s, 2-s, 5+3s) and (1-t, -1+2t, -2+2t) [1]

  2. 2

    equate two pairs: 3+4s=1-t and 2-s=-1+2t [1]

  3. 3

    solving: s=-1, t=2 [1]

  4. 4

    third component: 5+3(-1)=2 and -2+2(2)=2, so all three are satisfied [1]

  5. 5

    point of intersection -i+3j+2k [1]

5. The scalar product and the angle between vectors

The scalar product of a and b is found from components, or from the angle between them. Two non-zero vectors are perpendicular when their scalar product is zero.

To find an angle, rearrange for cosθ. For the angle at B in triangle ABC, use overrightarrowBA and overrightarrowBC, both pointing away from B. For the angle between two lines, use their direction vectors.

a·b=a₁b₁+a₂b₂+a₃b₃=|a||b|cosθ

cosθ=(a·b)/(|a||b|)

Examiner insight

“Some candidates used the position vectors rather than vectors representing sides of the triangle.” “Some candidates with correct work in the scalar product, including a negative value for the cosine of the angle, gave the final answer as an acute angle.”

Worked example 14 marks

Two vectors, u and v, are such that u=beginpmatrixq 2 6endpmatrix and v=beginpmatrix8 q-1 q²-7endpmatrix, where q is a constant. Find the angle between u and v when q=0.

  1. 1

    q=0: u=beginpmatrix0 2 6endpmatrix, v=beginpmatrix8 -1 -7endpmatrix; u·v=0-2-42=-44 [1]

  2. 2

    |u|=√40 and |v|=√(64+1+49)=√(114) [1]

  3. 3

    cosθ=(-44)/(√40×√(114)) [1]

  4. 4

    θ=130.7^(°) [1]

6. Perpendiculars from a point to a line

To find the foot of the perpendicular from a point P to a line, take a general point X on the line. Form overrightarrowPX. Set the scalar product overrightarrowPX·b equal to zero, where b is the line's direction. Solve for the parameter.

The foot is the position vector of X at that value. The perpendicular distance is |overrightarrowPX| at that value.

Examiner insight

“To make any progress with this part of the question, a candidate needed to start by considering a general point P on the line and using the scalar product to determine the position vector of P; very few candidates used a strategy that did this.” “A few candidates did not set out all of their methods clearly, for example, missing out the calculation of the magnitude of the vector. This meant the final two marks could not be awarded because in a question with a given answer, all the steps in the working must be shown.”

Worked example 14 marks

Show that the length of the perpendicular from the origin to the line m is 1/3√5. (Line m: r=i-j-2k+t(-i+2j+2k).)

  1. 1

    general point P on m: overrightarrowOP=(1-t)i+(2t-1)j+(2t-2)k; overrightarrowOP·(-i+2j+2k)=-(1-t)+2(2t-1)+2(2t-2)=9t-7=0 [1]

  2. 2

    t=7/9 [1]

  3. 3

    overrightarrowOP=1/9(2i+5j-4k), so |overrightarrowOP|=1/9√(4+25+16)=1/9√45 [1]

  4. 4

    =1/3√5 [1]

Recap

  • Displacement overrightarrowAB=overrightarrowOB-overrightarrowOA. Midpoint of AB: 1/2(overrightarrowOA+overrightarrowOB).
  • Magnitude √(x²+y²+z²). Unit vector = vector ÷ its magnitude.
  • Line: r=a+tb, with a a point and b a direction.
  • Parallel: directions are scalar multiples. Not parallel and no intersection: skew.
  • Intersection: equate two components, solve, check the third, state the point.
  • a·b=|a||b|cosθ; perpendicular means a·b=0. Lines use direction vectors.
  • Foot of perpendicular from P: overrightarrowPX·b=0 for a general point X on the line.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. Write the position vector of the point (3,-2,5) in the form xi+yj+zk.1 mark
    Answer
    1. 3i-2j+5k.

    Trap: The sign belongs to the term: -2j, not +2j.

  2. The points A and B have position vectors 4i-j+3k and -2i+5j+k. Find overrightarrowAB and the position vector of the midpoint of AB.3 marks
    Answer
    1. overrightarrowAB=overrightarrowOB-overrightarrowOA=-6i+6j-2k.
    2. Midpoint =1/2(overrightarrowOA+overrightarrowOB)=1/2(2i+4j+4k)=i+2j+2k.

    Trap: Subtracting the wrong way (overrightarrowOA-overrightarrowOB) gives overrightarrowBA, the reverse vector.

  3. a=2i-6j+3k. Find |a|, the unit vector in the direction of a, and a vector of magnitude 21 in the same direction.3 marks
    Answer
    1. |a|=√(4+36+9)=√49=7.
    2. Unit vector =1/7(2i-6j+3k).
    3. Magnitude 21 is 3×7, so the vector is 3a=6i-18j+9k.

    Trap: Dividing by |a|²=49 instead of |a|=7.

  4. A line passes through P(1,0,-2) and is parallel to 2i-j+3k. Write down a vector equation of the line. Determine whether the point Q(5,-2,4) lies on it.4 marks
    Answer
    1. r=i-2k+λ(2i-j+3k).
    2. x: 1+2λ=5, so λ=2.
    3. y: -λ=-2 gives λ=2. z: -2+3λ=4 gives λ=2.
    4. All three agree, so Q lies on the line.

    Trap: Checking one component only. All three must give the same λ.

  5. Line l₁: r=i+2j+3k+s(i-2j+2k). Line l₂: r=4i-j+2k+t(2i-4j+4k). Determine whether the lines are parallel, intersect or are skew.3 marks
    Answer
    1. (2,-4,4)=2(1,-2,2), so the lines are parallel.
    2. Is (4,-1,2) on l₁? x: 1+s=4 gives s=3. Then y=2-2(3)=-4≠-1, so it is not.
    3. The lines are parallel and distinct: they do not intersect and are not skew.

    Trap: Concluding 'skew' because there is no intersection. Skew lines are not parallel.

  6. Line l: r=2i+j+s(i+2j-k). Line m: r=i+5j-5k+t(i-j+2k). Show that the lines intersect and find the position vector of the point of intersection.4 marks
    Answer
    1. x: 2+s=1+t, so t=s+1. y: 1+2s=5-t=4-s, so s=1 and t=2.
    2. Check z: -s=-1 and -5+2t=-1. All three agree, so the lines intersect.
    3. Point: s=1 in l gives 3i+3j-k.

    Trap: Stopping after two equations. The third must be checked.

  7. Two lines have direction vectors 2i-j+2k and i+2j-2k. Find the acute angle between the lines, in degrees to 1 decimal place.3 marks
    Answer
    1. Scalar product =2-2-4=-4. Both magnitudes are √9=3.
    2. cosθ=(-4)/9, so θ=116.4^(°).
    3. The acute angle between the lines is 180^(°)-116.4^(°)=63.6^(°).

    Trap: Giving 116.4^(°). A negative cosine means the angle is obtuse, but the question asks for the acute angle.

  8. p=ki+2j-k and q=3i+(k-1)j+2k. Find k so that p is perpendicular to q.3 marks
    Answer
    1. p·q=3k+2(k-1)-2=0.
    2. 5k-4=0, so k=4/5.

    Trap: Expanding 2(k-1) as 2k-1, or losing the minus sign in (-1)(2).

  9. A cuboid has vertices O(0,0,0), A(6,0,0), B(6,4,0) and C(0,4,0). The vertices D, E, F and G are vertically above O, A, B and C respectively, and the cuboid has height 3 units. M is the midpoint of EF. Find angle AMG, in degrees to 1 decimal place.5 marks
    Answer
    1. E=(6,0,3), F=(6,4,3), G=(0,4,3), so overrightarrowOM=1/2(overrightarrowOE+overrightarrowOF)=6i+2j+3k.
    2. overrightarrowMA=-2j-3k and overrightarrowMG=-6i+2j.
    3. overrightarrowMA·overrightarrowMG=0-4+0=-4. |overrightarrowMA|=√13, |overrightarrowMG|=√40.
    4. cosAMG=(-4)/(√13×√40)=-0.1754.
    5. Angle AMG =100.1^(°). The cosine is negative, so the angle is obtuse.

    Trap: Using the position vectors overrightarrowOA and overrightarrowOG instead of sides from M, or giving the acute 79.9^(°) when the cosine is negative.

  10. A straight cable runs along the line l: r=i+2k+t(2i-j+2k). A post stands at P(5,3,4). Find the position vector of the point F on the cable nearest to P, and the shortest distance from P to the cable. The point Q is the reflection of P in l. Find the position vector of Q.7 marks
    Answer
    1. General point X=(1+2t, -t, 2+2t). overrightarrowPX=(2t-4)i+(-t-3)j+(2t-2)k.
    2. overrightarrowPX·(2i-j+2k)=2(2t-4)-(-t-3)+2(2t-2)=9t-9=0, so t=1.
    3. overrightarrowOF=3i-j+4k.
    4. overrightarrowPF=-2i-4j, so the distance is √(4+16)=√20=2√5.
    5. F is the midpoint of PQ: overrightarrowOQ=overrightarrowOF+overrightarrowPF=(3-2)i+(-1-4)j+4k=i-5j+4k.

    Trap: Giving -overrightarrowOP or -overrightarrowOF as the reflection. Q lies beyond F on the perpendicular, so overrightarrowOQ=2overrightarrowOF-overrightarrowOP.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
The lines are skew because the direction vectors are not equal.The lines are skew because they do not intersect and the direction vectors are not scalar multiples of each other.
The equation of the line is overrightarrowAB.r=a+tb, with r on the left-hand side and overrightarrowAB as the direction only.
The lines intersect because two of the equations agree.The lines intersect because all three component equations are satisfied. State the point.
The angle between the lines uses the position vectors of the points.The angle between the lines uses their direction vectors.

Frequently asked questions

How do you find the unit vector in the direction of a vector?
Divide the vector by its magnitude. The magnitude is the length, √(x²+y²+z²) for xi+yj+zk. For a=2i-6j+3k, |a|=√49=7, so the unit vector is 1/7(2i-6j+3k), with magnitude 1. The unit vector has magnitude 1, so dividing by the magnitude is the method to use.
How do you find the vector AB from the position vectors of A and B?
Subtract the start point from the end point: overrightarrowAB=overrightarrowOB-overrightarrowOA. End point minus start point gives the displacement. Subtracting the other way, overrightarrowOA-overrightarrowOB, gives overrightarrowBA, the reverse vector. The displacement is the end point minus the start point, so take the start point away from the end point.
How do you find the position vector of the midpoint of a line segment?
Add the position vectors of the two end points and halve the result: 1/2(overrightarrowOA+overrightarrowOB). Several candidates found half of the vector rather than the position vector of the midpoint of AB, so take half of the sum, not half of one vector.
What is the vector equation of a line through two points?
Write r=a+tb, where a is the position vector of a point on the line and b is a direction vector. Use A as the point and overrightarrowAB as the direction, so r=overrightarrowOA+toverrightarrowAB. Using B as the point instead gives an equally correct equation.
How do you tell whether two lines are parallel, intersecting or skew?
Lines are parallel if their direction vectors are scalar multiples of each other. If they are not parallel, equate two pairs of components of the general points and solve for the two parameters. Then check all three component equations: if they all hold the lines intersect, and if not they are skew.
Why do students lose marks when finding the angle between two lines?
Students use the position vectors of the points instead of the direction vectors. The angle between two lines uses their direction vectors. A negative cosine gives an obtuse angle, so the acute angle is 180^(°) minus that angle, for example 180^(°)-116.4^(°)=63.6^(°).

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters