IB Practice / Maths AA HL / Geometry and trigonometry

Vector equations of lines (intersecting, parallel and skew lines): practice worksheet

6 questions · 44 marks · about 53 minutes

This worksheet practises writing lines in vector, parametric and Cartesian form, finding angles between lines, deciding whether two lines are parallel, intersecting or skew, locating points of intersection, and applying these ideas to kinematics and to planes. Question 6(d) also uses the vector product and the equation of a plane (syllabus points 3.16 and 3.17).

Download the PDFFree, no sign-up. The markscheme is on the last pages.
  1. Question 1warm-up · no calculator

    The points AA and BB have coordinates (2, −1, 4)(2,\,-1,\,4) and (5, 1, 0)(5,\,1,\,0) respectively. The line LL passes through AA and BB.

    (a)Find a vector equation of LL.[2]

    Markscheme
    AB→=(32−4)\overrightarrow{AB} = \begin{pmatrix} 3 \\ 2 \\ -4 \end{pmatrix} (or any scalar multiple)M1
    r=(2−14)+λ(32−4)\mathbf{r} = \begin{pmatrix} 2 \\ -1 \\ 4 \end{pmatrix} + \lambda \begin{pmatrix} 3 \\ 2 \\ -4 \end{pmatrix}A1

    Award A0 if "r=\mathbf{r} =" is not seen. Accept the position vector of BB as the point and any non-zero scalar multiple of the direction vector.

    Answer: r=(2−14)+λ(32−4)\mathbf{r} = \begin{pmatrix} 2 \\ -1 \\ 4 \end{pmatrix} + \lambda \begin{pmatrix} 3 \\ 2 \\ -4 \end{pmatrix}

    (b)Write down the equation of LL in Cartesian form.[1]

    Markscheme
    x−23=y+12=z−4−4\dfrac{x-2}{3} = \dfrac{y+1}{2} = \dfrac{z-4}{-4}A1

    Accept 4−z4\dfrac{4-z}{4} for the third fraction. Follow through from their direction vector in part (a).

    Answer: x−23=y+12=z−4−4\dfrac{x-2}{3} = \dfrac{y+1}{2} = \dfrac{z-4}{-4}

  2. Question 2warm-up · no calculator

    The lines L1L_1 and L2L_2 have equations L1: r=(13−2)+λ(122), λ∈RL2: r=(016)+μ(2−12), μ∈R.L_1:\ \mathbf{r} = \begin{pmatrix} 1 \\ 3 \\ -2 \end{pmatrix} + \lambda \begin{pmatrix} 1 \\ 2 \\ 2 \end{pmatrix},\ \lambda \in \mathbb{R} \qquad L_2:\ \mathbf{r} = \begin{pmatrix} 0 \\ 1 \\ 6 \end{pmatrix} + \mu \begin{pmatrix} 2 \\ -1 \\ 2 \end{pmatrix},\ \mu \in \mathbb{R}.

    (a)Show that the point P(3, 7, 2)P(3,\,7,\,2) lies on L1L_1.[2]

    Markscheme
    equating one component, e.g. 1+λ=3⇒λ=21 + \lambda = 3 \Rightarrow \lambda = 2M1
    verifying the other two components: 3+2(2)=73 + 2(2) = 7 and −2+2(2)=2-2 + 2(2) = 2, so PP lies on L1L_1A1
    AG

    All three components must be checked for the A1.

    Answer: λ=2\lambda = 2 gives (1+2, 3+4, −2+4)=(3, 7, 2)(1+2,\ 3+4,\ -2+4) = (3,\,7,\,2), so PP lies on L1L_1.

    (b)Find the cosine of the acute angle between L1L_1 and L2L_2.[2]

    Markscheme
    (122)⋅(2−12)=2−2+4=4\begin{pmatrix} 1 \\ 2 \\ 2 \end{pmatrix} \cdot \begin{pmatrix} 2 \\ -1 \\ 2 \end{pmatrix} = 2 - 2 + 4 = 4 and ∣b1∣=∣b2∣=3|\mathbf{b}_1| = |\mathbf{b}_2| = 3M1
    cos⁡θ=43×3=49\cos\theta = \dfrac{4}{3 \times 3} = \dfrac{4}{9}A1

    Answer: cos⁡θ=49\cos\theta = \dfrac{4}{9}

  3. Question 3exam-style · no calculator

    The lines L1L_1 and L2L_2 have equations L1: r=(123)+λ(1−12), λ∈RL2: r=(1−18)+μ(21−1), μ∈R.L_1:\ \mathbf{r} = \begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix} + \lambda \begin{pmatrix} 1 \\ -1 \\ 2 \end{pmatrix},\ \lambda \in \mathbb{R} \qquad L_2:\ \mathbf{r} = \begin{pmatrix} 1 \\ -1 \\ 8 \end{pmatrix} + \mu \begin{pmatrix} 2 \\ 1 \\ -1 \end{pmatrix},\ \mu \in \mathbb{R}.

    (a)Show that L1L_1 and L2L_2 are not parallel.[1]

    Markscheme
    direction vectors are not scalar multiples of each other (e.g. k=12k = \tfrac{1}{2} from the xx-components but k=−1k = -1 from the yy-components), so not parallelR1
    AG

    A statement that the vectors are not parallel without justification scores R0.

    Answer: (1−12)\begin{pmatrix} 1 \\ -1 \\ 2 \end{pmatrix} is not a scalar multiple of (21−1)\begin{pmatrix} 2 \\ 1 \\ -1 \end{pmatrix} (the ratios of the first two components are 12\tfrac{1}{2} and −1-1), so the lines are not parallel.

    (b)Find the coordinates of the point of intersection of L1L_1 and L2L_2.[4]

    Markscheme
    equating components: 1+λ=1+2μ1 + \lambda = 1 + 2\mu,  2−λ=−1+μ\ 2 - \lambda = -1 + \mu,  3+2λ=8−μ\ 3 + 2\lambda = 8 - \muM1
    solving two equations: μ=1\mu = 1, λ=2\lambda = 2A1
    checking the third equation: 3+4=7=8−13 + 4 = 7 = 8 - 1, so the lines intersectA1
    point of intersection (3, 0, 7)(3,\,0,\,7)A1

    Award M0 if the same parameter is used for both lines. Accept the answer as a position vector.

    Answer: (3, 0, 7)(3,\,0,\,7)

    (c)Find the acute angle between L1L_1 and L2L_2, giving your answer in the form arccos⁡k\arccos k where k∈Qk \in \mathbb{Q}.[2]

    Markscheme
    (1−12)⋅(21−1)=−1\begin{pmatrix} 1 \\ -1 \\ 2 \end{pmatrix} \cdot \begin{pmatrix} 2 \\ 1 \\ -1 \end{pmatrix} = -1,  ∣b1∣=∣b2∣=6\ |\mathbf{b}_1| = |\mathbf{b}_2| = \sqrt{6}M1
    cos⁡θ=∣−1∣6⇒θ=arccos⁡(16)\cos\theta = \dfrac{|-1|}{6} \Rightarrow \theta = \arccos\left(\dfrac{1}{6}\right)A1

    Award A0 for arccos⁡(−16)\arccos\left(-\tfrac{1}{6}\right) as the final answer since the acute angle is required.

    Answer: θ=arccos⁡(16)\theta = \arccos\left(\dfrac{1}{6}\right)

  4. Question 4exam-style · no calculator

    The lines L1L_1 and L2L_2 have equations L1: r=(102)+s(211), s∈RL2: r=(34−1)+t(1−12), t∈R.L_1:\ \mathbf{r} = \begin{pmatrix} 1 \\ 0 \\ 2 \end{pmatrix} + s \begin{pmatrix} 2 \\ 1 \\ 1 \end{pmatrix},\ s \in \mathbb{R} \qquad L_2:\ \mathbf{r} = \begin{pmatrix} 3 \\ 4 \\ -1 \end{pmatrix} + t \begin{pmatrix} 1 \\ -1 \\ 2 \end{pmatrix},\ t \in \mathbb{R}.

    (a)Show that L1L_1 and L2L_2 are not parallel.[1]

    Markscheme
    direction vectors are not scalar multiples (e.g. k=2k = 2 from the xx-components, k=−1k = -1 from the yy-components), hence not parallelR1
    AG

    Answer: (211)≠k(1−12)\begin{pmatrix} 2 \\ 1 \\ 1 \end{pmatrix} \neq k\begin{pmatrix} 1 \\ -1 \\ 2 \end{pmatrix} for any kk (e.g. k=2k = 2 from xx but k=−1k = -1 from yy), so the lines are not parallel.

    (b)Show that L1L_1 and L2L_2 do not intersect, and hence deduce that L1L_1 and L2L_2 are skew.[4]

    Markscheme
    equating components: 1+2s=3+t1 + 2s = 3 + t,  s=4−t\ s = 4 - t,  2+s=−1+2t\ 2 + s = -1 + 2tM1
    solving the first two equations: t=2t = 2, s=2s = 2A1
    substituting into the third equation: 2+2=42 + 2 = 4 but −1+4=3-1 + 4 = 3, 4≠34 \neq 3, so there is no common point and the lines do not intersectR1
    the lines are not parallel (from part (a)) and do not intersect, so they are skewR1
    AG

    Award the final R1 only if both conditions (not parallel and not intersecting) are explicitly stated. Any pair of equations may be solved first, with the remaining equation used for the contradiction.

    Answer: From the xx- and yy-components s=t=2s = t = 2, but then the zz-components give 4≠34 \neq 3; the lines do not intersect and, being non-parallel, are skew.

    (c)The line L3L_3 has equation r=(34−1)+t(1−1k)\mathbf{r} = \begin{pmatrix} 3 \\ 4 \\ -1 \end{pmatrix} + t \begin{pmatrix} 1 \\ -1 \\ k \end{pmatrix}, t∈Rt \in \mathbb{R}, where k∈Rk \in \mathbb{R}. Find the value of kk for which L1L_1 and L3L_3 intersect.[3]

    Markscheme
    the xx- and yy-components are unchanged, so s=t=2s = t = 2 (or re-solving 1+2s=3+t1 + 2s = 3 + t, s=4−ts = 4 - t)M1
    substituting into the zz-components: 2+2=−1+2k2 + 2 = -1 + 2kM1
    k=52k = \dfrac{5}{2}A1

    Note that (1−1k)\begin{pmatrix} 1 \\ -1 \\ k \end{pmatrix} is never parallel to (211)\begin{pmatrix} 2 \\ 1 \\ 1 \end{pmatrix}, so this value of kk gives a unique point of intersection.

    Answer: k=52k = \dfrac{5}{2}

  5. Question 5exam-style · calculator

    Two drones, AA and BB, fly in straight lines with constant velocities. At time tt seconds after launch, their position vectors, in metres relative to a fixed origin, are given by rA=(0510)+t(421)rB=(28−97)+t(−131),t≥0.\mathbf{r}_A = \begin{pmatrix} 0 \\ 5 \\ 10 \end{pmatrix} + t \begin{pmatrix} 4 \\ 2 \\ 1 \end{pmatrix} \qquad \mathbf{r}_B = \begin{pmatrix} 28 \\ -9 \\ 7 \end{pmatrix} + t \begin{pmatrix} -1 \\ 3 \\ 1 \end{pmatrix}, \qquad t \geq 0.

    (a)Write down the speed of drone AA.[1]

    Markscheme
    42+22+12=21\sqrt{4^2 + 2^2 + 1^2} = \sqrt{21} (=4.58= 4.58 m s−1^{-1})A1

    Units are not required for the mark.

    Answer: 21≈4.58\sqrt{21} \approx 4.58 m s−1^{-1}

    (b)Find the acute angle between the flight paths of the two drones.[3]

    Markscheme
    (421)⋅(−131)=−4+6+1=3\begin{pmatrix} 4 \\ 2 \\ 1 \end{pmatrix} \cdot \begin{pmatrix} -1 \\ 3 \\ 1 \end{pmatrix} = -4 + 6 + 1 = 3M1
    cos⁡θ=32111\cos\theta = \dfrac{3}{\sqrt{21}\sqrt{11}} (=3231)\left(= \dfrac{3}{\sqrt{231}}\right)A1
    θ=78.6∘\theta = 78.6^\circ (accept 1.371.37 radians)A1

    Accept 78.62∘78.62^\circ. Award A1A0 for 101∘101^\circ unless the acute angle is subsequently stated.

    Answer: θ=78.6∘\theta = 78.6^\circ (exact: arccos⁡3231\arccos\dfrac{3}{\sqrt{231}})

    (c)Show that the flight paths of the two drones intersect, and find the coordinates of the point of intersection.[4]

    Markscheme
    using different parameters for the two paths: 4λ=28−μ4\lambda = 28 - \mu,  5+2λ=−9+3μ\ 5 + 2\lambda = -9 + 3\mu,  10+λ=7+μ\ 10 + \lambda = 7 + \muM1
    solving two of the equations (e.g. μ=λ+3\mu = \lambda + 3 then 5λ=255\lambda = 25): λ=5\lambda = 5, μ=8\mu = 8A1
    checking the remaining equation: 5+10=155 + 10 = 15 and −9+24=15-9 + 24 = 15, consistent, so the paths intersectR1
    point of intersection (20, 15, 15)(20,\,15,\,15)A1

    Award M0 if the same parameter tt is used for both drones, as this only tests for a collision rather than an intersection of paths.

    Answer: (20, 15, 15)(20,\,15,\,15)

    (d)Explain whether or not the two drones collide.[1]

    Markscheme
    AA is at the point of intersection when t=5t = 5 and BB when t=8t = 8; since the times are different the drones do not collideR1

    Follow through from their parameter values in part (c).

    Answer: They do not collide: AA reaches the intersection point at t=5t = 5 but BB reaches it at t=8t = 8.

  6. Question 6challenge · no calculator

    The lines L1L_1 and L2L_2 have equations L1: r=(12−1)+λ(2−21), λ∈RL2: r=(303)+μ(a22), μ∈R,L_1:\ \mathbf{r} = \begin{pmatrix} 1 \\ 2 \\ -1 \end{pmatrix} + \lambda \begin{pmatrix} 2 \\ -2 \\ 1 \end{pmatrix},\ \lambda \in \mathbb{R} \qquad L_2:\ \mathbf{r} = \begin{pmatrix} 3 \\ 0 \\ 3 \end{pmatrix} + \mu \begin{pmatrix} a \\ 2 \\ 2 \end{pmatrix},\ \mu \in \mathbb{R}, where a∈Ra \in \mathbb{R}.

    (a)Show that L1L_1 and L2L_2 are not parallel for any value of aa.[2]

    Markscheme
    supposing (2−21)=k(a22)\begin{pmatrix} 2 \\ -2 \\ 1 \end{pmatrix} = k\begin{pmatrix} a \\ 2 \\ 2 \end{pmatrix} for some kkM1
    yy-components give k=−1k = -1, zz-components give k=12k = \tfrac{1}{2}, contradiction independent of aa, so not parallel for any aaR1
    AG

    The argument must not depend on the xx-component, since that is the only component involving aa.

    Answer: If (2−21)=k(a22)\begin{pmatrix} 2 \\ -2 \\ 1 \end{pmatrix} = k\begin{pmatrix} a \\ 2 \\ 2 \end{pmatrix} then k=−1k = -1 from the yy-components and k=12k = \tfrac{1}{2} from the zz-components, a contradiction, so the lines are never parallel.

    (b)Find the value of aa for which L1L_1 and L2L_2 intersect, and find the coordinates of the point of intersection.[5]

    Markscheme
    equating components: 1+2λ=3+aμ1 + 2\lambda = 3 + a\mu,  2−2λ=2μ\ 2 - 2\lambda = 2\mu,  −1+λ=3+2μ\ -1 + \lambda = 3 + 2\muM1
    from the yy-components λ=1−μ\lambda = 1 - \muA1
    substituting into the zz-components: −μ=3+2μ⇒μ=−1-\mu = 3 + 2\mu \Rightarrow \mu = -1, λ=2\lambda = 2A1
    substituting into the xx-components: 5=3−a⇒a=−25 = 3 - a \Rightarrow a = -2A1
    point of intersection (5, −2, 1)(5,\,-2,\,1)A1

    Since the lines are never parallel (part (a)), a=−2a = -2 gives a unique point of intersection. Accept the point as a position vector.

    Answer: a=−2a = -2; point of intersection (5, −2, 1)(5,\,-2,\,1)

    (c)Find the value of aa for which L1L_1 and L2L_2 are perpendicular.[2]

    Markscheme
    (2−21)⋅(a22)=0⇒2a−4+2=0\begin{pmatrix} 2 \\ -2 \\ 1 \end{pmatrix} \cdot \begin{pmatrix} a \\ 2 \\ 2 \end{pmatrix} = 0 \Rightarrow 2a - 4 + 2 = 0M1
    a=1a = 1A1

    Answer: a=1a = 1

    (d)In the case a=−2a = -2, find the Cartesian equation of the plane Π\Pi that contains both L1L_1 and L2L_2. Give your answer in the form px+qy+rz=dpx + qy + rz = d where p,q,r,d∈Zp, q, r, d \in \mathbb{Z}.[4]

    Markscheme
    normal vector n=(2−21)×(−222)\mathbf{n} = \begin{pmatrix} 2 \\ -2 \\ 1 \end{pmatrix} \times \begin{pmatrix} -2 \\ 2 \\ 2 \end{pmatrix}M1
    n=(−6−60)\mathbf{n} = \begin{pmatrix} -6 \\ -6 \\ 0 \end{pmatrix} (or (110)\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix})A1
    substituting a point on the plane, e.g. (1,2,−1)(1, 2, -1) or (3,0,3)(3, 0, 3) or (5,−2,1)(5, -2, 1): x+y=1+2x + y = 1 + 2M1
    x+y=3x + y = 3 (accept 6x+6y=186x + 6y = 18)A1

    Accept any correct integer scalar multiple. Award the first M1 for any valid attempt at the cross product, including determinant notation.

    Answer: x+y=3x + y = 3

Common errors

  • Using the same parameter for both lines when testing for intersection, which only detects a collision at equal times rather than a common point on the two paths.
  • Solving two of the three component equations and stating the intersection point without checking that the third equation is also satisfied.
  • Claiming lines are skew without first showing that the direction vectors are not scalar multiples of each other.
  • Giving the obtuse angle from a negative scalar product when the acute angle between the lines is required.
  • Omitting "r=\mathbf{r} =" in a vector equation or making sign errors in the denominators when converting to Cartesian form.

Original questions and notes written by Pietro Meloni, PhD, from the IB syllabus. Not endorsed by or affiliated with the International Baccalaureate Organization. Found a mistake? Please tell me privately at pietro@pietromeloni.com. More questions on this topic: Geometry and trigonometry practice.

Find out what is costing the marks.

Twenty minutes, one to one, online. No charge, no commitment.

Request an initial assessment