Skip to content
Family Table Math
Auto

Equations of Lines in 2-Space

You already know y=mx+by = mx + b. Vectors give you new ways to describe the same line: by a point and a direction, or by a point and a vector perpendicular to the line. These forms look like extra work in 2-space, but they’re the ones that carry over to 3-space, where slope stops making sense.

Components are written in square brackets, like [3,2][3, 2], as in most Ontario textbooks. Some books write (3,2)(3, 2) or ⟨3,2⟩\langle 3, 2 \rangle; they mean the same thing.

A line is fixed by one point on it and its direction. Let P0(x0,y0)P_0(x_0, y_0) be a point on the line, with position vector r⃗0=[x0,y0]\vec{r}_0 = [x_0, y_0], and let m⃗=[m1,m2]\vec{m} = [m_1, m_2] be a direction vector: any non-zero vector parallel to the line. Then every point on the line has position vector

r⃗=r⃗0+tm⃗,t∈R\vec{r} = \vec{r}_0 + t\vec{m}, \qquad t \in \mathbb{R}

Here r⃗=[x,y]\vec{r} = [x, y] and tt is a parameter. Think of it as a set of instructions: start at P0P_0 and walk tt copies of m⃗\vec{m}. Positive tt goes one way, negative tt the other, and t=0t = 0 gives P0P_0 itself.

Write the vector equation one component at a time:

x=x0+tm1,y=y0+tm2,t∈Rx = x_0 + t m_1, \qquad y = y_0 + t m_2, \qquad t \in \mathbb{R}

These are the parametric equations of the line. They’re handy for finding points: pick a value of tt and compute xx and yy.

The scalar equation (or Cartesian equation) of a line is

Ax+By+C=0Ax + By + C = 0

The vector n⃗=[A,B]\vec{n} = [A, B] is a normal vector: it is perpendicular to the line.

Here’s why. Take a fixed point P0(x0,y0)P_0(x_0, y_0) and any point P(x,y)P(x, y) on the line. The vector P0P→=[x−x0, y−y0]\overrightarrow{P_0P} = [x - x_0,\ y - y_0] lies along the line, so it is perpendicular to n⃗\vec{n}, and their dot product is zero:

n⃗⋅P0P→=0A(x−x0)+B(y−y0)=0Ax+By+(−Ax0−By0)=0\begin{aligned} \vec{n} \cdot \overrightarrow{P_0P} &= 0 \\ A(x - x_0) + B(y - y_0) &= 0 \\ Ax + By + (-Ax_0 - By_0) &= 0 \end{aligned}

The bracket is a constant, CC. So to write a scalar equation, you need a normal vector and one point.

The line 2x - 3y + 7 = 0 with a direction vector and a normal vector at the point (-2, 1) P₀(−2, 1) m = [3, 2] n = [2, −3] 2x − 3y + 7 = 0 −4 −2 2 4 −2 2 4
The line 2x−3y+7=02x - 3y + 7 = 0: the direction vector runs along it, the normal sticks out at right angles.

Switching between a normal and a direction

Section titled “Switching between a normal and a direction”

In 2-space, swapping the components and changing one sign turns a normal into a direction vector (and back):

n⃗=[A,B]⟺m⃗=[B,−A]  or  [−B,A]\vec{n} = [A, B] \quad\Longleftrightarrow\quad \vec{m} = [B, -A] \ \text{ or } \ [-B, A]

Check: [A,B]⋅[B,−A]=AB−BA=0[A, B] \cdot [B, -A] = AB - BA = 0, so they are perpendicular. The slope of the line is m2m1\dfrac{m_2}{m_1}, which also equals −AB-\dfrac{A}{B} (when the line isn’t vertical).

Vertical lines have no slope, but the vector forms handle them easily. The line 2x−6=02x - 6 = 0 (that is, x=3x = 3) has normal [2,0][2, 0], which is horizontal, so the line is vertical, with direction [0,1][0, 1]: r⃗=[3,0]+t[0,1]\vec{r} = [3, 0] + t[0, 1].

FromToHow
vectorparametricread off the components
vector or parametricscalarget n⃗\vec{n} from m⃗\vec{m}, then find CC using the point
parametricscalaror: solve one equation for tt and substitute into the other
scalarvectorget m⃗\vec{m} from n⃗\vec{n}; find any point (set x=0x = 0 or y=0y = 0)

None of these forms is unique. A different point, or a direction vector that is a non-zero multiple of m⃗\vec{m}, gives a different-looking equation for the same line.

  • Two lines are parallel when their direction vectors (or their normals) are scalar multiples of each other.
  • Two lines are perpendicular when their direction vectors have a dot product of zero (equivalently, their normals do).

Parallel lines can still be the same line. To tell, check whether a point on one line is on the other.

  • Scalar equation: substitute the point; it’s on the line if you get 00.
  • Vector or parametric equation: solve each component equation for tt. The point is on the line only if every component gives the same tt.

Two lines in 2-space that aren’t parallel always meet in exactly one point. How you find it depends on the forms:

  • One line in vector form, one scalar: substitute the parametric equations into the scalar equation and solve for tt.
  • Both in vector form: give the lines different parameters, say r⃗=r⃗1+tm⃗1\vec{r} = \vec{r}_1 + t\vec{m}_1 and r⃗=r⃗2+sm⃗2\vec{r} = \vec{r}_2 + s\vec{m}_2. Set the xx-components equal and the yy-components equal. That’s two equations in tt and ss. Solve them, then substitute tt into the first line (and check with ss in the second).

Why two parameters? The meeting point is usually reached at a different parameter value on each line. Using tt for both would ask for a point that both lines reach at the same tt, which is a different question.

That different question matters when tt is time. If two objects move along the lines, their paths cross at the intersection point, but they only collide if they get there at the same time, that is, with t=st = s.

The shortest distance from a point PP to a line is measured along the perpendicular. Any other segment from PP to the line is the hypotenuse of a right triangle, so it’s longer.

To find the closest point QQ:

  1. Write QQ as a general point of the line, in terms of tt.
  2. Write PQ→\overrightarrow{PQ} in terms of tt.
  3. Set PQ→⋅m⃗=0\overrightarrow{PQ} \cdot \vec{m} = 0 (perpendicular to the line) and solve for tt.

The distance from PP to the line is then ∣PQ→∣|\overrightarrow{PQ}|. You’ll meet a formula for this distance in distances to lines and planes; this method also gives you the point.

A line passes through A(4,−1)A(4, -1) and is parallel to m⃗=[2,5]\vec{m} = [2, 5].

  • (a) Write its vector and parametric equations.
  • (b) Find two more points on the line.
  • (c) Are (10,14)(10, 14) and (0,−10)(0, -10) on the line?

Solution.

(a) Use r⃗0=[4,−1]\vec{r}_0 = [4, -1]:

r⃗=[4,−1]+t[2,5],t∈Rx=4+2t,y=−1+5t\vec{r} = [4, -1] + t[2, 5], \quad t \in \mathbb{R} \qquad\qquad x = 4 + 2t, \quad y = -1 + 5t

(b) t=1t = 1 gives (6,4)(6, 4). t=−1t = -1 gives (2,−6)(2, -6).

(c) For (10,14)(10, 14): 4+2t=104 + 2t = 10 gives t=3t = 3, and −1+5t=14-1 + 5t = 14 gives t=3t = 3. Same tt, so the point is on the line.

For (0,−10)(0, -10): 4+2t=04 + 2t = 0 gives t=−2t = -2, but then y=−1+5(−2)=−11≠−10y = -1 + 5(-2) = -11 \ne -10. The point is not on the line.

Write a vector equation of the line 3x+4y−12=03x + 4y - 12 = 0.

Solution. The normal is n⃗=[3,4]\vec{n} = [3, 4], so a direction vector is m⃗=[4,−3]\vec{m} = [4, -3].

For a point, set x=0x = 0: 4y=124y = 12, so y=3y = 3. The point (0,3)(0, 3) is on the line.

r⃗=[0,3]+t[4,−3],t∈R\vec{r} = [0, 3] + t[4, -3], \quad t \in \mathbb{R}

Check: t=1t = 1 gives (4,0)(4, 0), and 3(4)+4(0)−12=03(4) + 4(0) - 12 = 0 ✓.

Find the scalar equation of the line r⃗=[−2,1]+t[3,2]\vec{r} = [-2, 1] + t[3, 2].

Solution. The direction is m⃗=[3,2]\vec{m} = [3, 2], so a normal is n⃗=[2,−3]\vec{n} = [2, -3]. The scalar equation has the form

2x−3y+C=02x - 3y + C = 0

The point (−2,1)(-2, 1) is on the line, so 2(−2)−3(1)+C=02(-2) - 3(1) + C = 0, which gives C=7C = 7:

2x−3y+7=02x - 3y + 7 = 0

Another way: from the parametric equations x=−2+3tx = -2 + 3t and y=1+2ty = 1 + 2t, solve the first for tt: t=x+23t = \dfrac{x + 2}{3}. Substitute:

y=1+2(x+2)33y=3+2x+4multiply by 30=2x−3y+7\begin{aligned} y &= 1 + \frac{2(x + 2)}{3} \\ 3y &= 3 + 2x + 4 && \text{multiply by } 3 \\ 0 &= 2x - 3y + 7 \end{aligned}

Both methods agree. This is the line in the figure above.

Example 4: Parallel and perpendicular through a point

Section titled “Example 4: Parallel and perpendicular through a point”

Let LL be the line 2x−y+6=02x - y + 6 = 0 and let P(5,−2)P(5, -2).

  • (a) Find the scalar equation of the line through PP parallel to LL.
  • (b) Find a vector equation of the line through PP perpendicular to LL.

Solution.

(a) A parallel line has the same normal, [2,−1][2, -1], so its equation is 2x−y+C=02x - y + C = 0. Substitute PP: 2(5)−(−2)+C=02(5) - (-2) + C = 0, so C=−12C = -12.

2x−y−12=02x - y - 12 = 0

(b) A perpendicular line runs in the direction of LL‘s normal, so use m⃗=[2,−1]\vec{m} = [2, -1]:

r⃗=[5,−2]+t[2,−1],t∈R\vec{r} = [5, -2] + t[2, -1], \quad t \in \mathbb{R}

Check: LL has direction [1,2][1, 2], and [1,2]⋅[2,−1]=2−2=0[1, 2] \cdot [2, -1] = 2 - 2 = 0 ✓.

Find the point of intersection of

L1: r⃗=[2,−3]+t[1,2]andL2: r⃗=[1,2]+s[−3,1]L_1: \ \vec{r} = [2, -3] + t[1, 2] \qquad\text{and}\qquad L_2: \ \vec{r} = [1, 2] + s[-3, 1]

Solution. The directions [1,2][1, 2] and [−3,1][-3, 1] aren’t multiples, so the lines aren’t parallel and must meet. Set the components equal:

2+t=1−3s(x)−3+2t=2+s(y)\begin{aligned} 2 + t &= 1 - 3s && (x) \\ -3 + 2t &= 2 + s && (y) \end{aligned}

From (y)(y), s=2t−5s = 2t - 5. Substitute into (x)(x):

2+t=1−3(2t−5)=16−6t⇒7t=14⇒t=22 + t = 1 - 3(2t - 5) = 16 - 6t \quad\Rightarrow\quad 7t = 14 \quad\Rightarrow\quad t = 2

Then s=2(2)−5=−1s = 2(2) - 5 = -1.

L1L_1 at t=2t = 2: [2+2, −3+4]=[4,1][2 + 2,\ -3 + 4] = [4, 1]. Check with L2L_2 at s=−1s = -1: [1+3, 2−1]=[4,1][1 + 3,\ 2 - 1] = [4, 1] ✓. The lines meet at (4,1)(4, 1).

Notice tt and ss came out different. Had you used tt for both lines, you’d have found no solution and wrongly concluded the lines don’t meet.

Example 6: The closest point and the distance

Section titled “Example 6: The closest point and the distance”

Find the point on the line r⃗=[1,4]+t[2,−1]\vec{r} = [1, 4] + t[2, -1] closest to P(7,6)P(7, 6), and the distance from PP to the line.

Solution. A general point on the line is Q(1+2t, 4−t)Q(1 + 2t,\ 4 - t), so

PQ→=[1+2t−7, 4−t−6]=[2t−6, −t−2]\overrightarrow{PQ} = [1 + 2t - 7,\ 4 - t - 6] = [2t - 6,\ -t - 2]

Set PQ→⋅[2,−1]=0\overrightarrow{PQ} \cdot [2, -1] = 0:

2(2t−6)−(−t−2)=04t−12+t+2=05t=10t=2\begin{aligned} 2(2t - 6) - (-t - 2) &= 0 \\ 4t - 12 + t + 2 &= 0 \\ 5t &= 10 \\ t &= 2 \end{aligned}

So Q=(5,2)Q = (5, 2) and PQ→=[−2,−4]\overrightarrow{PQ} = [-2, -4]. Check: [−2,−4]⋅[2,−1]=−4+4=0[-2, -4] \cdot [2, -1] = -4 + 4 = 0 ✓.

The distance is

∣PQ→∣=(−2)2+(−4)2=20=25≈4.47|\overrightarrow{PQ}| = \sqrt{(-2)^2 + (-4)^2} = \sqrt{20} = 2\sqrt{5} \approx 4.47

(rounded to two decimal places).

Using the normal as the direction vector. In Ax+By+C=0Ax + By + C = 0, the vector [A,B][A, B] is perpendicular to the line, not along it. Swap the components and change one sign to get a direction vector.

Checking only one component. To test a point with parametric equations, you need the same tt from every component. In Example 1, (0,−10)(0, -10) gives t=−2t = -2 from xx, but that tt fails the yy equation.

Thinking there’s only one right answer. r⃗=[0,3]+t[4,−3]\vec{r} = [0, 3] + t[4, -3] and r⃗=[4,0]+s[−8,6]\vec{r} = [4, 0] + s[-8, 6] are the same line. If your answer looks different from the back of the book, check that your point satisfies their equation and your direction is a multiple of theirs.

Sign slips when finding C. Substitute carefully: for 2x−y+C=02x - y + C = 0 at (5,−2)(5, -2) you get 10+2+C=010 + 2 + C = 0, so C=−12C = -12, not −8-8.

Assuming parallel means different. Two lines with parallel direction vectors might be the same line. Test a point from one in the other.

Using the same parameter for two lines. When you intersect two lines in vector form, use tt for one and ss for the other. In Example 5 the lines meet at t=2t = 2 and s=−1s = -1; forcing t=st = s gives no solution at all. (The only time you want the same parameter is when you’re asking whether two moving objects are in the same place at the same time.)

1. (Warm-up) For the line r⃗=[3,−2]+t[1,4]\vec{r} = [3, -2] + t[1, 4]:

  • (a) State a point on the line and a direction vector.
  • (b) Write the parametric equations.
  • (c) Find the point where t=2t = 2.
Solution

(a) Point (3,−2)(3, -2); direction vector [1,4][1, 4].

(b) x=3+tx = 3 + t, y=−2+4ty = -2 + 4t.

(c) x=3+2=5x = 3 + 2 = 5 and y=−2+8=6y = -2 + 8 = 6, so (5,6)(5, 6).

2. (Warm-up) State a normal vector and a direction vector for the line 5x−2y+7=05x - 2y + 7 = 0.

Solution

Normal: n⃗=[5,−2]\vec{n} = [5, -2]. Direction: swap and change a sign, m⃗=[2,5]\vec{m} = [2, 5].

Check: [5,−2]⋅[2,5]=10−10=0[5, -2] \cdot [2, 5] = 10 - 10 = 0 ✓.

3. (Warm-up) The line LL has parametric equations x=2−3tx = 2 - 3t, y=1+2ty = 1 + 2t. Is (−1,7)(-1, 7) on LL? Is (8,−3)(8, -3)?

Solution

For (−1,7)(-1, 7): 2−3t=−12 - 3t = -1 gives t=1t = 1, but then y=1+2=3≠7y = 1 + 2 = 3 \ne 7. Not on LL.

For (8,−3)(8, -3): 2−3t=82 - 3t = 8 gives t=−2t = -2, and y=1+2(−2)=−3y = 1 + 2(-2) = -3 ✓. On LL.

4. (Core) Find vector, parametric, and scalar equations of the line through A(−3,2)A(-3, 2) and B(1,8)B(1, 8).

Solution

AB→=[4,6]\overrightarrow{AB} = [4, 6], so [2,3][2, 3] is also a direction vector (half of it).

r⃗=[−3,2]+t[2,3]x=−3+2t,y=2+3t\vec{r} = [-3, 2] + t[2, 3] \qquad x = -3 + 2t, \quad y = 2 + 3t

A normal is [3,−2][3, -2], so 3x−2y+C=03x - 2y + C = 0. Using AA: −9−4+C=0-9 - 4 + C = 0, so C=13C = 13:

3x−2y+13=03x - 2y + 13 = 0

Check with BB: 3(1)−2(8)+13=03(1) - 2(8) + 13 = 0 ✓.

5. (Core) Write the line y=−23x+4y = -\dfrac{2}{3}x + 4 as a scalar equation and as a vector equation.

Solution

Multiply by 33: 3y=−2x+123y = -2x + 12, so

2x+3y−12=02x + 3y - 12 = 0

Normal [2,3][2, 3], so direction [3,−2][3, -2] (which matches the slope −23-\dfrac{2}{3}). The yy-intercept gives the point (0,4)(0, 4):

r⃗=[0,4]+t[3,−2]\vec{r} = [0, 4] + t[3, -2]

6. (Core) Decide whether each pair of lines is parallel, perpendicular, or neither. If parallel, decide whether they’re the same line.

  • (a) 4x−6y+1=04x - 6y + 1 = 0 and r⃗=[0,2]+t[3,2]\vec{r} = [0, 2] + t[3, 2]
  • (b) r⃗=[1,1]+t[2,−5]\vec{r} = [1, 1] + t[2, -5] and x=3+10sx = 3 + 10s, y=4sy = 4s
Solution

(a) The first line has normal [4,−6][4, -6], so direction [6,4]=2[3,2][6, 4] = 2[3, 2]. The directions are parallel. Test (0,2)(0, 2) in the first equation: 0−12+1=−11≠00 - 12 + 1 = -11 \ne 0. So the lines are parallel and distinct.

(b) [2,−5]⋅[10,4]=20−20=0[2, -5] \cdot [10, 4] = 20 - 20 = 0, so the lines are perpendicular.

7. (Core) Find the point of intersection of L1:r⃗=[−1,5]+t[3,−2]L_1: \vec{r} = [-1, 5] + t[3, -2] and L2:r⃗=[2,−8]+s[1,3]L_2: \vec{r} = [2, -8] + s[1, 3]. Check your point in both equations.

Solution

Set the components equal:

−1+3t=2+s(x),5−2t=−8+3s(y)-1 + 3t = 2 + s \quad (x), \qquad 5 - 2t = -8 + 3s \quad (y)

From (x)(x), s=3t−3s = 3t - 3. Substitute into (y)(y): 5−2t=−8+9t−95 - 2t = -8 + 9t - 9, so 22=11t22 = 11t and t=2t = 2. Then s=3s = 3.

L1L_1 at t=2t = 2: [−1+6, 5−4]=[5,1][-1 + 6,\ 5 - 4] = [5, 1]. L2L_2 at s=3s = 3: [2+3, −8+9]=[5,1][2 + 3,\ -8 + 9] = [5, 1] ✓. The lines meet at (5,1)(5, 1).

8. (Core) Find the point on the line r⃗=[0,−3]+t[1,3]\vec{r} = [0, -3] + t[1, 3] closest to P(11,0)P(11, 0), and the distance from PP to the line.

Solution

A general point is Q(t, −3+3t)Q(t,\ -3 + 3t), so PQ→=[t−11, 3t−3]\overrightarrow{PQ} = [t - 11,\ 3t - 3]. Set PQ→⋅[1,3]=0\overrightarrow{PQ} \cdot [1, 3] = 0:

(t−11)+3(3t−3)=10t−20=0⇒t=2(t - 11) + 3(3t - 3) = 10t - 20 = 0 \quad\Rightarrow\quad t = 2

So Q=(2,3)Q = (2, 3) and PQ→=[−9,3]\overrightarrow{PQ} = [-9, 3]. Check: [−9,3]⋅[1,3]=−9+9=0[-9, 3] \cdot [1, 3] = -9 + 9 = 0 ✓.

The distance is 81+9=90=310≈9.49\sqrt{81 + 9} = \sqrt{90} = 3\sqrt{10} \approx 9.49 (rounded to two decimal places).

9. (Challenge) Find the point where the line r⃗=[1,−2]+t[2,1]\vec{r} = [1, -2] + t[2, 1] meets the line 3x−4y−1=03x - 4y - 1 = 0.

Solution

Any point on the first line is (1+2t, −2+t)(1 + 2t,\ -2 + t). Substitute into the second equation:

3(1+2t)−4(−2+t)−1=03+6t+8−4t−1=02t+10=0t=−5\begin{aligned} 3(1 + 2t) - 4(-2 + t) - 1 &= 0 \\ 3 + 6t + 8 - 4t - 1 &= 0 \\ 2t + 10 &= 0 \\ t &= -5 \end{aligned}

The point is (1−10, −2−5)=(−9,−7)(1 - 10,\ -2 - 5) = (-9, -7).

Check: 3(−9)−4(−7)−1=−27+28−1=03(-9) - 4(-7) - 1 = -27 + 28 - 1 = 0 ✓.

10. (Challenge) A survey drone near Guelph starts at the point (2,1)(2, 1) on a map grid measured in kilometres and flies in a straight line with velocity [3,4][3, 4] km/h, so after tt hours its position is r⃗=[2,1]+t[3,4]\vec{r} = [2, 1] + t[3, 4].

  • (a) Where is the drone after 1.5 hours?
  • (b) What is its speed?
  • (c) Does it fly over a cabin at (14,17)(14, 17)? If so, when?
  • (d) A second drone’s position after tt hours is r⃗=[14,3]+t[−2,2]\vec{r} = [14, 3] + t[-2, 2]. Where do the two flight paths cross? Are the drones ever in the same place at the same time?
Solution

(a) r⃗=[2,1]+1.5[3,4]=[2+4.5, 1+6]=[6.5,7]\vec{r} = [2, 1] + 1.5[3, 4] = [2 + 4.5,\ 1 + 6] = [6.5, 7], so the point (6.5,7)(6.5, 7).

(b) Speed is the magnitude of the velocity: ∣[3,4]∣=9+16=5|[3, 4]| = \sqrt{9 + 16} = 5 km/h.

(c) 2+3t=142 + 3t = 14 gives t=4t = 4, and 1+4t=171 + 4t = 17 gives t=4t = 4. Same tt, so yes: the drone passes over the cabin after 4 hours.

(d) For the paths, give the second drone its own parameter ss:

2+3t=14−2s(x),1+4t=3+2s(y)2 + 3t = 14 - 2s \quad (x), \qquad 1 + 4t = 3 + 2s \quad (y)

Add the equations: 3+7t=173 + 7t = 17, so t=2t = 2, and then s=3s = 3. The first drone at t=2t = 2 is at [2+6, 1+8]=[8,9][2 + 6,\ 1 + 8] = [8, 9]; the second at s=3s = 3 is at [14−6, 3+6]=[8,9][14 - 6,\ 3 + 6] = [8, 9] ✓. The paths cross at (8,9)(8, 9).

But the first drone is there after 2 hours and the second after 3 hours. The paths cross only at that one point, so the drones are never in the same place at the same time.

Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.

Equations of lines aren’t unique, so your answer may look different from someone else’s and still be right. Check it by testing points and comparing directions.

H1. (Foundations) A line passes through P(−5,3)P(-5, 3) and is parallel to m⃗=[4,−1]\vec{m} = [4, -1].

  • (a) Write its vector equation and its parametric equations.
  • (b) Find the points on the line where t=3t = 3 and where t=−2t = -2.
  • (c) Show that (11,−1)(11, -1) is on the line, and state the value of tt that gives it.
  • (d) Is (3,2)(3, 2) on the line? Explain.

H2. (Foundations) Consider the line 6x−5y+30=06x - 5y + 30 = 0.

  • (a) State a normal vector and a direction vector for the line. Use the dot product to show they are perpendicular.
  • (b) Find the xx- and yy-intercepts.
  • (c) Write a vector equation of the line that starts at the xx-intercept. Check that your equation passes through the yy-intercept too.

H3. (Core) A line passes through C(2,−7)C(2, -7) and D(−4,2)D(-4, 2).

  • (a) Find CD→\overrightarrow{CD}, and a simpler direction vector parallel to it.
  • (b) Write vector and parametric equations of the line.
  • (c) Find the scalar equation, and check it using both CC and DD.
  • (d) Use the parametric equations to find the xx-intercept. Confirm it with the scalar equation.

H4. (Core) Convert each line to the form asked for.

  • (a) x=−1+6tx = -1 + 6t, y=4−3ty = 4 - 3t to a scalar equation. Do it two ways: using a normal vector, and by eliminating tt.
  • (b) y=3x−5y = 3x - 5 to a vector equation.
  • (c) 2x+9=02x + 9 = 0 to a vector equation. (What kind of line is this? What does its normal vector tell you?)

H5. (Core) Let L1L_1 be the line r⃗=[3,−1]+t[4,6]\vec{r} = [3, -1] + t[4, 6], and let Q(−2,5)Q(-2, 5).

  • (a) Find the scalar equation of the line through QQ that is parallel to L1L_1.
  • (b) Find a vector equation of the line through QQ that is perpendicular to L1L_1.
  • (c) Decide whether each line below is parallel to L1L_1, perpendicular to L1L_1, or neither. If it is parallel, decide whether it is the same line as L1L_1.

The lines for part (c) are

  • L2L_2: x=1+6sx = 1 + 6s, y=2+9sy = 2 + 9s
  • L3L_3: 2x+3y−4=02x + 3y - 4 = 0

H6. (Core) Find the point of intersection of the lines

L1: r⃗=[1,4]+t[2,−1]andL2: r⃗=[−3,−2]+s[2,1]L_1: \ \vec{r} = [1, 4] + t[2, -1] \qquad\text{and}\qquad L_2: \ \vec{r} = [-3, -2] + s[2, 1]

Explain why you need two different parameters, tt and ss. Check your point in both equations.

H7. (Challenge) (Hypothetical data.) On a map grid measured in kilometres off the coast of Nova Scotia, ship A’s position tt hours after noon is

r⃗=[−6,10]+t[8,−3]\vec{r} = [-6, 10] + t[8, -3]
  • (a) Where is ship A at 2:30 p.m.?
  • (b) What is ship A’s speed, to two decimal places?
  • (c) Does ship A pass a lighthouse at (18,1)(18, 1)? If so, at what time?
  • (d) Ship B’s position tt hours after noon is r⃗=[2,−8]+t[2,3]\vec{r} = [2, -8] + t[2, 3]. Find the point where the two ships’ paths cross.
  • (e) Are the two ships ever at the same place at the same time? Explain carefully, using what you found in (d).

H8. (Challenge) Show that these two vector equations describe the same line:

r⃗=[−1,5]+t[3,−2]andr⃗=[8,−1]+s[−6,4]\vec{r} = [-1, 5] + t[3, -2] \qquad\text{and}\qquad \vec{r} = [8, -1] + s[-6, 4]

Then decide whether r⃗=[2,4]+u[3,−2]\vec{r} = [2, 4] + u[3, -2] is also the same line. Explain.

H9. (Challenge) Spot the error. Asked for a vector equation of the line through A(3,−1)A(3, -1) and B(5,4)B(5, 4), a student writes

r⃗=[3,−1]+t[5,4]\vec{r} = [3, -1] + t[5, 4]
  • (a) Show that the student’s line does not pass through BB.
  • (b) Explain the mistake in one or two sentences.
  • (c) Write a correct vector equation and the scalar equation of the line through AA and BB.

H10. (Challenge) Let LL be the line r⃗=[−2,1]+t[3,1]\vec{r} = [-2, 1] + t[3, 1], and let P(6,−3)P(6, -3). You want the point QQ on LL that is closest to PP.

  • (a) Explain why PQ→\overrightarrow{PQ} must be perpendicular to the direction vector of LL. (A quick sketch helps.)
  • (b) Write PQ→\overrightarrow{PQ} in terms of tt, and use the dot product to find QQ.
  • (c) Find the shortest distance from PP to LL, exactly and to two decimal places.