Navigation

Vectors and Geometry in Two and Three Dimensions

1.3 Equations of Lines in 2d

9 problems · hints, answers and solutions shown beside each one

1Stage 1Conceptual

Do you understand the idea? Usually little or no calculation.

Q1Stage 1

A line in R2\mathbb R^2 has direction d\mathbf d and passes through point c\mathbf c.

Which of the following gives its parametric equation: <x,y>=c+td\llt x,y\rgt =\mathbf c + t\mathbf d, or <x,y>=ctd\llt x,y\rgt =\mathbf c - t\mathbf d?

Hint

What, exactly, is tt?

Answer

Both!

Full solution

Since tt can be any real number, these equation describe the same line. They're both valid. For example, the point given by the first parametric equation with t=7t=7, namely c+7d\mathbf c + 7\mathbf d, is exactly the same as the point given by the second parametric equation with t=7t=-7, namely c(7)d\mathbf c -(-7)\mathbf d.

Q2Stage 1

A line in R2\mathbb R^2 has direction d\mathbf d and passes through point c\mathbf c.

Which of the following gives its parametric equation: <x,y>=c+td\llt x,y\rgt =\mathbf c + t\mathbf d, or <x,y>=c+td\llt x,y\rgt =-\mathbf c +t \mathbf d?

Hint

What, exactly, is c\mathbf c?

Answer

Generally, only the first.

Full solution

In contrast to Question 1, the sign on c\mathbf c does generally matter. c\mathbf c is required to be a point on the line, but except in particular circumstances, there's no reason to believe that c=c+tdt=0-\mathbf c =-\mathbf c +t\mathbf d\big|_{t=0} is a point on the line. Indeed c-\mathbf c is on the line if and only if there is a tt with c+td=c\mathbf c + t\mathbf d = -\mathbf c, i.e. td=2ct\mathbf d = -2\mathbf c. That is the case if and only if d\mathbf d is parallel to c\mathbf c. So, only the first equation is correct in general.

Q3Stage 1

Two points determine a line. Verify that the equations

<x1,y9>=t<8,4>\llt x-1,y-9\rgt=t\llt 8,4\rgt

and

<x9,y13>=t<1,12>\llt x-9,y-13\rgt=t\llt 1,\tfrac12\rgt

describe the same line by finding two different points that lie on both lines.

Hint

Set t=0t=0 in both equation to get two different points with integer coordinates; show that these two points are on both lines.

Answer

Since both lines pass through (1,9)(1,9) and (9,13)(9,13), the lines are identical.

Full solution

Here is one answer of many.

Setting t=0t=0 in the first equation shows that (1,9)(1,9) is on the first line. To see that (1,9)(1,9) is also on the second line, we substitute x=1x=1, y=9y=9 into the second equation to give

<19,913>=t<1,12>or<8,4>=t<1,12>\begin{equation*} \llt 1-9,9-13\rgt=t\llt 1,\tfrac12\rgt\qquad \text{or}\qquad \llt -8,-4\rgt=t\llt 1,\tfrac12\rgt \end{equation*}

This equation is satisfied when t=8t=-8. So (1,9)(1,9) is on both lines.

Setting t=0t=0 in the second equation shows that (9,13)(9,13) is on the second line. To see that (9,13)(9,13) is also on the first line, we substitute x=9x=9, y=13y=13 into the first equation to give

<91,139>=t<8,4>or<8,4>=t<8,4>\begin{equation*} \llt 9-1,13-9\rgt=t\llt 8,4\rgt\qquad \text{or}\qquad \llt 8,4\rgt=t\llt 8,4\rgt \end{equation*}

This equation is satisfied when t=1t=1. So (9,13)(9,13) is on both lines.

Since both lines pass through (1,9)(1,9) and (9,13)(9,13), the lines are identical.

Q4Stage 1

A line in R2\mathbb R^2 has parametric equations

x3=9ty5=7t\begin{array}{lcl} x-3&=&9t\\ y-5&=&7t \end{array}

There are many different ways to write the parametric equations of this line. If we rewrite the equations as

xx0=dxtyy0=dyt\begin{array}{lcl} x-x_0&=&d_xt\\ y-y_0&=&d_yt \end{array}

what are all possible values of <x0,y0>\llt x_0,y_0\rgt and <dx,dy>\llt d_x,d_y\rgt?

Hint

A line is specified by two things: one point on the line, and a vector parallel to the direction of the line.

Answer

<dx,dy>\llt d_x,d_y\rgt can be any nonzero scalar multiple of <9,7>\llt 9,7\rgt, and <x0,y0>\llt x_0,y_0\rgt can be any point on the line, i.e. any pair that satisfies 7x0+24=9y07x_0+24=9y_0.

Full solution

<dx,dy>\llt d_x,d_y\rgt is the direction of the line, so it can be any non-zero scalar multiple of <9,7>\llt 9,7\rgt.

<x0,y0>\llt x_0,y_0\rgt can be any point on the line. Describing these is the same as describing the line itself. We're trying to find all doubles <x0,y0>\llt x_0,y_0\rgt that obey

{x03=9ty05=7t\begin{align*} \begin{cases} x_0-3&=9t\\ y_0-5&=7t \end{cases} \end{align*}

for some real number tt. That is,

t=x039=y0577(x03)=9(y05)7x0+24=9y0\begin{align*} t=\frac{x_0-3}{9}&=\frac{y_0-5}{7}\\ 7(x_0-3)&=9(y_0-5)\\ 7x_0+24&=9y_0 \end{align*}

Any of these steps could specify the possible values of <x0,y0>\llt x_0,y_0\rgt. Say, they can be any pair satisfying 7x0+24=9y07x_0+24=9y_0.

2Stage 2Procedural

Practising the skill itself, until applying it is automatic.

Q5Stage 2

Find the vector parametric, scalar parametric and symmetric equations for the line containing the given point and with the given direction.

  1. point (1,2)(1,2), direction <3,2>\llt 3,2\rgt

  2. point (5,4)(5,4), direction <2,1>\llt 2,-1\rgt

  3. point (1,3)(-1,3), direction <1,2>\llt -1,2\rgt

Hint

Remember that the parametric equation of a line with direction d\mathbf d, passing through point c\mathbf c, is <x,y>=c+td\llt x,y\rgt =\mathbf c + t\mathbf d.

Answer

(a) <x,y>=<1,2>+t<3,2>\llt x,y\rgt=\llt 1,2\rgt+t\llt 3,2\rgt,
x=1+3t, y=2+2tx=1+3t,\ y=2+2t,
x13=y22\frac{x-1}{3}=\frac{y-2}{2}

(b) <x,y>=<5,4>+t<2,1>\llt x,y\rgt=\llt 5,4\rgt+t\llt 2,-1\rgt,
x=5+2t, y=4tx=5+2t,\ y=4-t,
x52=y41\frac{x-5}{2}=\frac{y-4}{-1}

(c) <x,y>=<1,3>+t<1,2>\llt x,y\rgt=\llt -1,3\rgt+t\llt -1,2\rgt,
x=1t, y=3+2tx=-1-t,\ y=3+2t,
x+11=y32\frac{x+1}{-1}=\frac{y-3}{2}

Full solution

(a) The vector parametric equation is <x,y>=<1,2>+t<3,2>\llt x,y\rgt=\llt 1,2\rgt+t\llt 3,2\rgt. The scalar parametric equations are x=1+3t, y=2+2tx=1+3t,\ y=2+2t. The symmetric equation is x13=y22\frac{x-1}{3}=\frac{y-2}{2}.

(b) The vector parametric equation is <x,y>=<5,4>+t<2,1>\llt x,y\rgt=\llt 5,4\rgt+t\llt 2,-1\rgt. The scalar parametric equations are x=5+2t, y=4tx=5+2t,\ y=4-t. The symmetric equation is x52=y41\frac{x-5}{2}=\frac{y-4}{-1}.

(c) The vector parametric equation is <x,y>=<1,3>+t<1,2>\llt x,y\rgt=\llt -1,3\rgt+t\llt -1,2\rgt. The scalar parametric equations are x=1t, y=3+2tx=-1-t,\ y=3+2t. The symmetric equation is x+11=y32\frac{x+1}{-1}=\frac{y-3}{2}.

Q6Stage 2

Find the vector parametric, scalar parametric and symmetric equations for the line containing the given point and with the given normal.

  1. point (1,2)(1,2), normal <3,2>\llt 3,2\rgt

  2. point (5,4)(5,4), normal <2,1>\llt 2,-1\rgt

  3. point (1,3)(-1,3), normal <1,2>\llt -1,2\rgt

Hint

Review Equation 1.3.3 in the CLP-3 text.

Answer

(a) <x,y>=<1,2>+t<2,3>\llt x,y\rgt=\llt 1,2\rgt+t\llt -2,3\rgt,
x=12t, y=2+3tx=1-2t,\ y=2+3t,
x12=y23\frac{x-1}{-2}=\frac{y-2}{3}

(b) <x,y>=<5,4>+t<1,2>\llt x,y\rgt=\llt 5,4\rgt+t\llt 1,2\rgt,
x=5+t, y=4+2tx=5+t,\ y=4+2t,
x5=y42x-5=\frac{y-4}{2}

(c) <x,y>=<1,3>+t<2,1>\llt x,y\rgt=\llt -1,3\rgt+t\llt 2,1\rgt,
x=1+2t, y=3+tx=-1+2t,\ y=3+t,
x+12=y3\frac{x+1}{2}=y-3

Full solution

(a) The vector <2,3>\llt -2,3\rgt is perpendicular to <3,2>\llt 3,2\rgt (you can verify this by taking the dot product of the two vectors) and hence is a direction vector for the line. The vector parametric equation is <x,y>=<1,2>+t<2,3>\llt x,y\rgt=\llt 1,2\rgt+t\llt -2,3\rgt. The scalar parametric equations are x=12t, y=2+3tx=1-2t,\ y=2+3t. The symmetric equation is x12=y23\frac{x-1}{-2}=\frac{y-2}{3}.

(b) The vector <1,2>\llt 1,2\rgt is perpendicular to <2,1>\llt 2,-1\rgt and hence is a direction vector for the line. The vector parametric equation for the line is <x,y>=<5,4>+t<1,2>\llt x,y\rgt=\llt 5,4\rgt+t\llt 1,2\rgt. The scalar parametric equations are x=5+t, y=4+2tx=5+t,\ y=4+2t. The symmetric equation is x5=y42x-5=\frac{y-4}{2}.

(c) The vector <2,1>\llt 2,1\rgt is perpendicular to <1,2>\llt -1,2\rgt
and hence is a direction vector for the line. The vector parametric equation is <x,y>=<1,3>+t<2,1>\llt x,y\rgt=\llt -1,3\rgt+t\llt 2,1\rgt. The scalar parametric equations are the two component equations x=1+2t, y=3+tx=-1+2t,\ y=3+t. The symmetric equation is x+12=y3\frac{x+1}{2}=y-3.

Q7Stage 2

Use a projection to find the distance from the point (2,3)(-2,3) to the line 3x4y=43x-4y=-4.

Hint

Review Example 1.3.5 in the CLP-3 text.

Answer

14/514/5

Full solution

(0,1)(0,1) is one point on the line 3x4y=43x-4y=-4. So <20,31>=<2,2>\llt-2-0,3-1\rgt =\llt-2,2\rgt is a vector whose tail is on the line and whose head is at (2,3)(-2,3). <3,4>\llt 3,-4\rgt is a vector perpendicular to the line, so 15<3,4>\frac{1}{5}\llt 3,-4\rgt is a unit vector perpendicular to the line. The distance from (2,3)(-2,3) to the line is the length of the projection of <2,2>\llt-2,2\rgt on 15<3,4>\frac{1}{5}\llt 3,-4\rgt, which is the absolute value of 15<3,4><2,2>\frac{1}{5}\llt 3,-4\rgt\cdot\llt -2,2\rgt. So the distance is 14/514/5.

Q8Stage 2

Let a\va, b\vb and c\vc be the vertices of a triangle. By definition, a median of a triangle is a straight line that passes through a vertex of the triangle and through the midpoint of the opposite side.

  1. Find the parametric equations of the three medians.

  2. Do the three medians meet at a common point? If so, which point?

Answer

(a)

x(t)=a+t(12b+12ca)x(s)=b+s(12a+12cb)x(u)=c+u(12a+12bc)\begin{align*} \vx(t)&=\va+t\big(\half\vb+\half\vc-\va\big)\\ \vx(s)&=\vb+s\big(\half\va+\half\vc-\vb\big)\\ \vx(u)&=\vc+u\big(\half\va+\half\vb-\vc\big) \end{align*}

(b) 13(a+b+c)\frac{1}{3}(\va+\vb+\vc)

Full solution

(a) The midpoint of the side opposite a\va is 12(b+c)\half(\vb+\vc). The vector joining a\va to that midpoint is 12b+12ca\half\vb+\half\vc-\va. The vector parametric equation of the line through a\va and 12(b+c)\half(\vb+\vc) is

x(t)=a+t(12b+12ca)\begin{equation*} \vx(t)=\va+t\big(\half\vb+\half\vc-\va\big) \end{equation*}

Similarly, for the other two medians (but using ss and uu as parameters, rather than tt)

x(s)=b+s(12a+12cb)x(u)=c+u(12a+12bc)\begin{align*} \vx(s)&=\vb+s\big(\half\va+\half\vc-\vb\big)\\ \vx(u)&=\vc+u\big(\half\va+\half\vb-\vc\big) \end{align*}

(b) The three medians meet at a common point if there are values of s,ts,t and uu such that

a+t(12b+12ca) = b+s(12a+12cb) = c+u(12a+12bc)(1t)a+t2b+t2c = s2a+(1s)b+s2c = u2a+u2b+(1u)c\begin{alignat*}{3} \va+t\big(\half\vb+\half\vc-\va\big) &\ =\ \vb+s\big(\half\va+\half\vc-\vb\big) &&\ =\ \vc+u\big(\half\va+\half\vb-\vc\big)\\ (1-t)\va+\frac{t}{2}\vb+\frac{t}{2}\vc &\ =\ \frac{s}{2}\va+(1-s)\vb+\frac{s}{2}\vc &&\ =\ \frac{u}{2}\va+\frac{u}{2}\vb+(1-u)\vc \end{alignat*}

Assuming that the triangle has not degenerated to a line segment, this is the case if and only if the coefficients of a, b\va,\ \vb and c\vc match

1t=s2=u2t2=1s=u2t2=s2=1u\begin{alignat*}{3} 1-t&=\frac{s}{2}&&=\frac{u}{2}\\ \frac{t}{2}&=1-s&&=\frac{u}{2}\\ \frac{t}{2}&=\frac{s}{2}&&=1-u \end{alignat*}

or

s=t=u, 1t=t2    s=t=u=23\begin{equation*} s=t=u,\ 1-t=\frac{t}{2} \implies s=t=u=\frac{2}{3} \end{equation*}

The medians meet at 13(a+b+c)\frac{1}{3}(\va+\vb+\vc).

Q9Stage 2

Let CC be the circle of radius 1 centred at (2,1)(2,1). Find an equation for the line tangent to CC at the point (52,1+32)\left(\frac{5}{2},1+\frac{\sqrt3}{2}\right).

Hint

The radius of the circle will serve as a normal vector to the line.

Answer

One way of writing the equation is x+3y=4+3x+{\sqrt3}y=4+{\sqrt3}.

Full solution

A normal vector to the line is the vector with its tail at the centre of CC, (2,1)(2,1), and its head at (52,1+32)\left(\frac{5}{2},1+\frac{\sqrt3}{2}\right). So, we set n=<52,1+32><2,1>=<12,32>\mathbf{n}=\llt \frac{5}{2},1+\frac{\sqrt3}{2} \rgt-\llt 2,1\rgt = \llt \frac12, \frac{\sqrt3}{2}\rgt.

Figure from prob_s1.3, line 2

Figure from prob_s1.3, line 2

We know one point on the line is (52,1+32)\left(\frac{5}{2},1+\frac{\sqrt3}{2}\right), so following Equation 1.3.3 in the CLP-3 text:

nxx+nyy=nxx0+nyy012x+32y=1252+32(1+32)12x+32y=2+32x+3y=4+3\begin{align*} n_xx+n_yy&=n_xx_0+n_yy_0\\ \frac12x+\frac{\sqrt3}{2}y&=\frac12\cdot\frac52+\frac{\sqrt3}{2}\cdot\left(1+\frac{\sqrt3}{2}\right)\\ \frac12x+\frac{\sqrt3}{2}y&=2+\frac{\sqrt3}{2}\\ x+{\sqrt3}y&=4+{\sqrt3}\\ \end{align*}

My list

nothing marked yet

Loading…

Open the whole list →

Your tutor can open this list with you. It follows your account, so it is there on whichever device you study on.

From the UBC Math 200 open textbook project, © Joel Feldman, Andrew Rechnitzer, Elyse Yeager and others. Licensed CC BY-NC-SA 4.0; this HTML adaptation is released under the same licence. Full attribution.