Vector equations of lines

Vector equations of lines

Spec 7.6 · Edexcel International A Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A line through AA parallel to b\mathbf{b} has equation r=a+tb\mathbf{r}=\mathbf{a}+t\mathbf{b}, where tt is a scalar parameter.
  • The line through CC and DD is r=c+t(d−c)\mathbf{r}=\mathbf{c}+t(\mathbf{d}-\mathbf{c}).
  • Parallel lines have direction vectors that are scalar multiples of each other.
  • To test for an intersection use different parameters ss and tt, solve two equations, then check the third.
  • In 3D, non-parallel lines that never meet are skew.

The equation r = a + tb

A line is fixed by one point on it and a direction: r=a+tb\mathbf{r}=\mathbf{a}+t\mathbf{b}, where each value of tt gives one point.

If AA has position vector a\mathbf{a} and the line is parallel to b\mathbf{b}, its equation is r=a+tb\mathbf{r}=\mathbf{a}+t\mathbf{b}.

Here tt is a scalar parameter. Each value of tt gives the position vector of one point on the line.

a\mathbf{a} is a position vector and b\mathbf{b} is the direction vector. Any non-zero multiple of b\mathbf{b} gives the same line.

atbrOAP
PP is reached from OO by going to AA (a\mathbf{a}) then along the line (tbt\mathbf{b}). Here b=(2,1)\mathbf{b}=(2,1) and t=1.5t=1.5.

Worked example

The line is r=(2i−j+3k)+t(3i+2j−2k)\mathbf{r}=(2\mathbf{i}-\mathbf{j}+3\mathbf{k})+t(3\mathbf{i}+2\mathbf{j}-2\mathbf{k}). Find the point when t=2t=2.

The line is r=(2i−j+3k)+t(3i+2j−2k)\mathbf{r}=(2\mathbf{i}-\mathbf{j}+3\mathbf{k})+t(3\mathbf{i}+2\mathbf{j}-2\mathbf{k}). Which is also a direction vector of the line?

A line through two points

The direction is d−c\mathbf{d}-\mathbf{c}, so the line is r=c+t(d−c)\mathbf{r}=\mathbf{c}+t(\mathbf{d}-\mathbf{c}): at t=0t=0 you are at CC and at t=1t=1 at DD.

For points CC and DD with position vectors c\mathbf{c} and d\mathbf{d}, the direction is d−c\mathbf{d}-\mathbf{c}.

To test whether a point lies on a line, equate one coordinate to find tt, then check the other two.

To find where a line meets a coordinate plane, set that coordinate to zero.

cdd − cOCD
Position vectors c and d to points C and D. The direction of the line is the vector d − c (drawn here from C to D).
  • Directiond−c\mathbf{d}-\mathbf{c}
  • Liner=c+t(d−c)\mathbf{r}=\mathbf{c}+t(\mathbf{d}-\mathbf{c})

Worked example

Find the line through C(1,4,−2)C(1,4,-2) and D(3,3,0)D(3,3,0), and show that E(−3,6,−6)E(-3,6,-6) lies on it.

A line passes through CC and DD with r=c+t(d−c)\mathbf{r}=\mathbf{c}+t(\mathbf{d}-\mathbf{c}). Which value of tt gives DD?

Parallel lines

Lines are parallel if their direction vectors are scalar multiples of each other. Parallel lines never intersect.

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

For example, r=a+t(2i−j+4k)\mathbf{r}=\mathbf{a}+t(2\mathbf{i}-\mathbf{j}+4\mathbf{k}) is parallel to any line with direction −4i+2j−8k-4\mathbf{i}+2\mathbf{j}-8\mathbf{k}, since −4,2,−8-4,2,-8 are −2-2 times 2,−1,42,-1,4.

Parallel lines either never meet or are the same line. If they are the same line, a point from one line also lies on the other.

−4−3−2−11234−4−3−2−11234xyLine 1Line 2
Two-dimensional picture: lines whose direction vectors are multiples have the same gradient, so they stay a fixed distance apart and never meet.

Parallel lines

  • Directions are multiples
  • Never meet
  • Never skew

Same line

  • Directions are multiples
  • A point of one lies on the other
  • Infinitely many common points

Is the direction −4i+2j−8k-4\mathbf{i}+2\mathbf{j}-8\mathbf{k} parallel to 2i−j+4k2\mathbf{i}-\mathbf{j}+4\mathbf{k}?

Intersecting lines

Use different parameters for the two lines, equate components, solve two equations and check the third.

To find whether two lines meet, use different parameters, ss and tt, since the point need not be reached by the same parameter.

Equate the i\mathbf{i}, j\mathbf{j} and k\mathbf{k} components to get three equations in two unknowns.

Solve two of them, then check the third. If it holds, the lines intersect and you substitute back to find the point.

  1. 1

    Use s and t

    a different parameter for each line

  2. 2

    Equate components

    i, j and k give three equations

  3. 3

    Solve two

    find s and t

  4. 4

    Check the third

    it must also hold

  5. 5

    Find the point

    substitute s or t back

Testing two lines for an intersection.

Worked example

Do r=(1,1,2)+s(2,1,−1)\mathbf{r}=(1,1,2)+s(2,1,-1) and r=(1,4,5)+t(1,−1,−2)\mathbf{r}=(1,4,5)+t(1,-1,-2) intersect?

Two equations give s=1s=1 and t=2t=2, but they fail the third component. What does this show?

Skew lines

Skew lines are not parallel and never meet: their direction vectors are not multiples and the component equations are inconsistent.

In three dimensions, two lines that are not parallel may still never meet. They are skew.

The test is that the direction vectors are not multiples of each other, and the three component equations are inconsistent: the values of ss and tt from two equations fail in the third.

In a context, skew paths mean the objects never collide.

  1. 1

    Compare directions

    If one is a multiple of the other, the lines are parallel (or the same).

  2. 2

    Equate two components

    Solve for s and t.

  3. 3

    Test the third component

    Substitute s and t into it.

  4. 4

    Decide

    If it holds the lines intersect; if it fails they are skew.

Testing whether two lines are skew

Parallel

Directions parallel:
Yes
In one plane:
Yes
Meet:
Never (or same line)

Intersecting

Directions parallel:
No
In one plane:
Yes
Meet:
Once

Skew

Directions parallel:
No
In one plane:
No
Meet:
Never

Worked example

Show that r=(2,1,0)+s(1,2,3)\mathbf{r}=(2,1,0)+s(1,2,3) and r=(−1,0,4)+t(2,−1,1)\mathbf{r}=(-1,0,4)+t(2,-1,1) are skew.

Two lines are not parallel and the component equations are consistent. What are they?

Try an exam question

Line l1l_1 has equation r=(2i+j+3k)+s(i+2j−k)\mathbf{r}=(2\mathbf{i}+\mathbf{j}+3\mathbf{k})+s(\mathbf{i}+2\mathbf{j}-\mathbf{k}) and line l2l_2 has equation r=(2i+6j)+t(2i−j+k)\mathbf{r}=(2\mathbf{i}+6\mathbf{j})+t(2\mathbf{i}-\mathbf{j}+\mathbf{k}). Show that l1l_1 and l2l_2 intersect, and find the position vector of the point of intersection.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Which of the following is a vector equation of the line l1l_1?

1 mark, marked against the mark scheme

Revision notes