Navigation

Vectors and Geometry in Two and Three Dimensions

1.5 Equations of Lines in 3d

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

1Stage 1Conceptual

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

Q1Stage 1

What is wrong with the following exercise?

“Give an equation for the line passing through the point (3,1,3)(3,1,3) that is normal to the vectors <4,6,2>\llt 4,-6,2 \rgt and <13,12,16>\llt \frac13,-\frac12,\frac16 \rgt."

Hint

What's fishy about those normal vectors?

Answer

There are infinitely many planes satisfying the condition described, but we're asked for “the" line.

We need two normal directions to figure out the direction of a line in R3\mathbb R^3. Since the given normal vectors are parallel to each other, they really only specify one normal direction.

Full solution

Note 12<13,12,16>=<4,6,2>12\llt \frac13,-\frac12,\frac16 \rgt=\llt 4,-6,2 \rgt. So, we actually only know one normal direction to the line we're supposed to be describing. That means there are actually infinitely many lines satisfying the given conditions.

Figure from prob_s1.5, line 2

Figure from prob_s1.5, line 2

Q2Stage 1

Find, if possible, four lines in 3d with

  • no two of the lines parallel to each other and

  • no two of the lines intersecting.

Hint

The two lines <xx0,yy0,zz0>=td\llt x-x_0\,,\,y-y_0\,,\,z-z_0\rgt =t\vd and <xx0,yy0,zz0>=td\llt x-x'_0\,,\,y-y'_0\,,\,z-z'_0\rgt =t\vd' are not parallel if d×d0\vd\times\vd'\ne\vZero.

Answer

There are infinitely many correct answers. One is

<x,y,z1>=t<1,0,0><x,y,z2>=t<0,1,0><x,y,z3>=t<1,1,0><x,y,z4>=t<1,1,0>\begin{align*} \llt x\,,\,y\,,\,z-1\rgt &= t\llt 1,0,0\rgt & \llt x\,,\,y\,,\,z-2\rgt &= t\llt 0,1,0\rgt \\ \llt x\,,\,y\,,\,z-3\rgt &= t\llt 1,1,0\rgt & \llt x\,,\,y\,,\,z-4\rgt &= t\llt 1,-1,0\rgt \end{align*}
Full solution

There are infinitely many correct answers. One is

L1: <x,y,z1>=t<1,0,0>L2: <x,y,z2>=t<0,1,0>L3: <x,y,z3>=t<1,1,0>L4: <x,y,z4>=t<1,1,0>\begin{align*} L_1:\ \llt x\,,\,y\,,\,z-1\rgt &= t\llt 1,0,0\rgt & L_2:\ \llt x\,,\,y\,,\,z-2\rgt &= t\llt 0,1,0\rgt \\ L_3:\ \llt x\,,\,y\,,\,z-3\rgt &= t\llt 1,1,0\rgt & L_4:\ \llt x\,,\,y\,,\,z-4\rgt &= t\llt 1,-1,0\rgt \end{align*}

No two of the lines are parallel because

  • L1L_1 and L2L_2 are not parallel because <1,0,0>×<0,1,0>=<0,0,1>0\llt 1,0,0\rgt\times \llt 0,1,0\rgt=\llt 0,0,1\rgt\ne\vZero.

  • L1L_1 and L3L_3 are not parallel because <1,0,0>×<1,1,0>=<0,0,1>0\llt 1,0,0\rgt\times \llt 1,1,0\rgt=\llt 0,0,1\rgt\ne\vZero.

  • L1L_1 and L4L_4 are not parallel because <1,0,0>×<1,1,0>=<0,0,1>0\llt 1,0,0\rgt\times \llt 1,-1,0\rgt=\llt 0,0,-1\rgt\ne\vZero.

  • L2L_2 and L3L_3 are not parallel because <0,1,0>×<1,1,0>=<0,0,1>0\llt 0,1,0\rgt\times \llt 1,1,0\rgt=\llt 0,0,-1\rgt\ne\vZero.

  • L2L_2 and L4L_4 are not parallel because <0,1,0>×<1,1,0>=<0,0,1>0\llt 0,1,0\rgt\times \llt 1,-1,0\rgt=\llt 0,0,-1\rgt\ne\vZero.

  • L3L_3 and L4L_4 are not parallel because <1,1,0>×<1,1,0>=<0,0,2>0\llt 1,1,0\rgt\times \llt 1,-1,0\rgt=\llt 0,0,-2\rgt\ne\vZero.

No two of the lines intersect because

  • every point on L1L_1 has z=1z=1 and

  • every point on L2L_2 has z=2z=2 and

  • every point on L3L_3 has z=3z=3 and

  • every point on L4L_4 has z=4z=4.

2Stage 2Procedural

Practising the skill itself, until applying it is automatic.

Q3Stage 2

Find a vector parametric equation for the line of intersection of the given planes.

  1. x2z=3x-2z=3 and y+12z=5y+\half z=5

  2. 2xy2z=32x-y-2z=-3 and 4x3y3z=54x-3y-3 z=-5

Hint

Review Example 1.5.2 in the CLP-3 text.

Answer

(a) <x,y,z>=<3,5,0>+<2,12,1>t\llt x,y,z\rgt = \llt 3,5,0\rgt+\llt 2,-\half,1\rgt t

(b) <x,y,z>=<2,1,0>+<32,1,1>t\llt x,y,z\rgt = \llt -2,-1,0\rgt +\llt \frac{3}{2},1,1\rgt t

Full solution

(a) The point (x,y,z)(x,y,z) obeys both x2z=3x-2z=3 and y+12z=5y+\half z=5 if and only if <x,y,z>=<3+2z,512z,z>=<3,5,0>+<2,12,1>z\llt x,y,z\rgt = \llt 3+2z, 5-\half z, z\rgt = \llt 3,5,0\rgt+\llt 2,-\half,1\rgt z. So, introducing a new variable tt obeying t=zt=z, we get the vector parametric equation <x,y,z>=<3,5,0>+<2,12,1>t\llt x,y,z\rgt = \llt 3,5,0\rgt+\llt 2,-\half,1\rgt t.

(b) The point (x,y,z)(x,y,z) obeys

{2xy2z=34x3y3z=5}    {2xy=2z34x3y=3z5}    {4x2y=4z64x3y=3z5}    {4x2y=4z6y=z1}\begin{align*} \left\{\Atop{2x-y-2z=-3}{4x-3y-3 z=-5} \right\} &\iff \left\{\Atop{2x-y=2z-3}{4x-3y=3 z-5} \right\} \iff\left\{\Atop{4x-2y=4z-6}{4x-3y=3 z-5} \right\}\\ {} &\iff\left\{\Atop{4x-2y=4z-6}{y=z-1} \right\} \end{align*}

Hence the point (x,y,z)(x,y,z) is on the line if and only if <x,y,z>=<14(2y+4z6),z1,z>=<32z2,z1,z>=<2,1,0>+<32,1,1>z\llt x,y,z\rgt = \llt \frac{1}{4}(2y+4z-6), z-1, z\rgt= \llt \frac{3}{2}z-2, z-1, z\rgt = \llt -2,-1,0\rgt+\llt \frac{3}{2},1,1\rgt z. So, introducing a new variable tt obeying t=zt=z, we get the vector parametric equation <x,y,z>=<2,1,0>+<32,1,1>t\llt x,y,z\rgt = \llt -2,-1,0\rgt +\llt \frac{3}{2},1,1\rgt t.

Q4Stage 2

Determine a vector equation for the line of intersection of the planes

  1. x+y+z=3x+y+z=3 and x+2y+3z=7x+2y+3z=7

  2. x+y+z=3x+y+z=3 and 2x+2y+2z=72x+2y+2z=7

Hint

Review Example 1.5.2 in the CLP-3 text.

Answer

(a) <x,y,z>=<1,4,0>+t<1,2,1>\llt x,y,z\rgt=\llt -1,4,0\rgt+t\llt 1,-2,1\rgt

(b) The two planes are parallel and do not intersect.

Full solution

(a) The normals to the two planes are <1,1,1>\llt 1,1,1\rgt and <1,2,3>\llt 1,2,3\rgt respectively. The line of intersection must have direction perpendicular to both of these normals. Its direction vector is

<1,1,1>×<1,2,3>=det[ı^ȷ^k^111123]=<1,2,1>\begin{equation*} \llt 1,1,1\rgt \times\llt 1,2,3\rgt =\det\left[\begin{matrix} \hi &\hj &\hk \\ 1&1&1 \\ 1&2&3 \end{matrix}\right] =\llt 1,-2,1\rgt \end{equation*}

Substituting z=0z=0 into the equations of the two planes and solving

{x+y=3x+2y=7}    {x=3yx+2y=7}    {x=3y3y+2y=7}\begin{align*} \left\{\Atop{x+y=3}{x+2y=7} \right\} &\iff \left\{\Atop{x=3-y}{x+2y=7} \right\} \iff\left\{\Atop{x=3-y}{3-y+2y=7} \right\} \end{align*}

we see that z=0, y=4,x=1z=0,\ y=4, x=-1 lies on both planes. The line of intersection is <x,y,z>=<1,4,0>+t<1,2,1>\llt x,y,z\rgt=\llt -1,4,0\rgt+t\llt 1,-2,1\rgt. This can be checked by verifying that, for all values of tt, <x,y,z>=<1,4,0>+t<1,2,1>\llt x,y,z\rgt=\llt -1,4,0\rgt+t\llt 1,-2,1\rgt satisfies both x+y+z=3x+y+z=3 and x+2y+3z=7x+2y+3z=7.

(b) The equation x+y+z=3x+y+z=3 is equivalent to 2x+2y+2z=62x+2y+2z=6. So the two equations x+y+z=3x+y+z=3 and 2x+2y+2z=72x+2y+2z=7 are mutually contradictory. They have no solution. The two planes are parallel and do not intersect.

Q5Stage 2

In each case, determine whether or not the given pair of lines intersect. Also find all planes containing the pair of lines.

  1. <x,y,z>=<3,2,4>+t<4,2,1>\llt x,y,z\rgt = \llt -3,2,4\rgt+t\llt -4,2,1\rgt and <x,y,z>=<2,1,2>+t<1,1,1>\llt x,y,z\rgt = \llt 2,1,2\rgt+t\llt 1,1,-1\rgt

  2. <x,y,z>=<3,2,4>+t<4,2,1>\llt x,y,z\rgt = \llt -3,2,4\rgt+t\llt -4,2,1\rgt and <x,y,z>=<2,1,1>+t<1,1,1>\llt x,y,z\rgt = \llt 2,1,-1\rgt+t\llt 1,1,-1\rgt

  3. <x,y,z>=<3,2,4>+t<2,2,2>\llt x,y,z\rgt = \llt -3,2,4\rgt+t\llt -2,-2,2\rgt and <x,y,z>=<2,1,1>+t<1,1,1>\llt x,y,z\rgt = \llt 2,1,-1\rgt+t\llt 1,1,-1\rgt

  4. <x,y,z>=<3,2,2>+t<2,2,2>\llt x,y,z\rgt = \llt 3,2,-2\rgt+t\llt -2,-2,2\rgt and <x,y,z>=<2,1,1>+t<1,1,1>\llt x,y,z\rgt = \llt 2,1,-1\rgt+t\llt 1,1,-1\rgt

Answer

(a) (1,0,3)(1,0,3) lies on both lines. x+y+2z=7x+y+2z=7 is the only plane containing both lines.

(b) The two lines do not intersect. No plane contains the two lines.

(c) The two lines do not intersect. x+z=1x+z=1 is the only plane containing both lines.

(d) The two lines are identical. For arbitrary aa and bb (not both zero) the plane ax+by+(a+b)z=aax+by+(a+b)z=a contains both lines.

Full solution

(a) Note that the value of the parameter tt in the equation <x,y,z>=<3,2,4>+t<4,2,1>\llt x,y,z\rgt = \llt -3,2,4\rgt+t\llt -4,2,1\rgt need not have the same value as the parameter tt in the equation <x,y,z>=<2,1,2>+t<1,1,1>\llt x,y,z\rgt = \llt 2,1,2\rgt+t\llt 1,1,-1\rgt. So it is much safer to change the name of the parameter in the first equation from tt to ss. In order for a point (x,y,z)(x,y,z) to lie on both lines we need

<3,2,4>+s<4,2,1>=<2,1,2>+t<1,1,1>\begin{equation*} \llt -3,2,4\rgt+s\llt -4,2,1\rgt = \llt 2,1,2\rgt+t\llt 1,1,-1\rgt \end{equation*}

or equivalently, writing out the three component equations and moving all ss's and tt's to the left and constants to the right,

4st=52st=1s+t=2\begin{align*} -4s -t &= 5\\ 2s -t &= -1\\ s +t &= -2 \end{align*}

Adding the last two equations together gives 3s=33s=-3 or s=1s=-1. Substituting this into the last equation gives t=1t=-1. Note that s=t=1s=t=-1 does indeed satisfy all three equations so that <x,y,z>=<3,2,4><4,2,1>=<1,0,3>\llt x,y,z\rgt=\llt -3,2,4\rgt-\llt -4,2,1\rgt=\llt 1,0,3\rgt lies on both lines. Any plane that contains the two lines must be parallel to both direction vectors <4,2,1>\llt -4,2,1\rgt and <1,1,1>\llt 1,1,-1\rgt. So its normal vector must be perpendicular to them, i.e. must be parallel to <4,2,1>×<1,1,1>=<3,3,6>=3<1,1,2>\llt -4,2,1\rgt\times\llt 1,1,-1\rgt=\llt -3,-3,-6\rgt=-3\llt 1,1,2\rgt. The plane must contain (1,0,3)(1,0,3) and be perpendicular to <1,1,2>\llt 1,1,2\rgt. Its equation is <1,1,2><x1,y,z3>=0\llt 1,1,2\rgt\cdot\llt x-1,y,z-3\rgt=0 or x+y+2z=7x+y+2z=7. This can be checked by verifying that <3,2,4>+s<4,2,1>\llt -3,2,4\rgt+s\llt -4,2,1\rgt and <2,1,2>+t<1,1,1>\llt 2,1,2\rgt+t\llt 1,1,-1\rgt obey x+y+2z=7x+y+2z=7 for all ss and tt respectively.

(b) In order for a point (x,y,z)(x,y,z) to lie on both lines we need

<3,2,4>+s<4,2,1>=<2,1,1>+t<1,1,1>\begin{equation*} \llt -3,2,4\rgt+s\llt -4,2,1\rgt = \llt 2,1,-1\rgt+t\llt 1,1,-1\rgt \end{equation*}

or equivalently, writing out the three component equations and moving all ss's and tt's to the left and constants to the right,

4st=52st=1s+t=5\begin{align*} -4s -t &= 5\\ 2s -t &= -1\\ s +t &= -5 \end{align*}

Adding the last two equations together gives 3s=63s=-6 or s=2s=-2. Substituting this into the last equation gives t=3t=-3. However, substituting s=2, t=3s=-2,\ t=-3 into the first equation gives 11=511=5, which is impossible. The two lines do not intersect. In order for two lines to lie in a common plane and not intersect, they must be parallel. So, in this case no plane contains the two lines.

(c) In order for a point (x,y,z)(x,y,z) to lie on both lines we need

<3,2,4>+s<2,2,2>=<2,1,1>+t<1,1,1>\begin{equation*} \llt -3,2,4\rgt+s\llt -2,-2,2\rgt = \llt 2,1,-1\rgt+t\llt 1,1,-1\rgt \end{equation*}

or equivalently, writing out the three component equations and moving all ss's and tt's to the left and constants to the right,

2st=52st=12s+t=5\begin{align*} -2s -t &= 5\\ -2s -t &= -1\\ 2s +t &= -5 \end{align*}

The first two equations are obviously contradictory. The two lines do not intersect. Any plane containing the two lines must be parallel to <1,1,1>\llt 1,1,-1\rgt (and hence automatically parallel to <2,2,2>=2<1,1,1>\llt -2,-2,2\rgt=-2\llt 1,1,-1\rgt) and must also be parallel to the vector from the point (3,2,4)(-3,2,4), which lies on the first line, to the point (2,1,1)(2,1,-1), which lies on the second. The vector is <5,1,5>\llt 5,-1,-5\rgt. Hence the normal to the plane is <5,1,5>×<1,1,1>=<6,0,6>=6<1,0,1>\llt 5,-1,-5\rgt\times\llt 1,1,-1\rgt=\llt 6,0,6\rgt=6\llt 1,0,1\rgt. The plane perpendicular to <1,0,1>\llt 1,0,1\rgt containing (2,1,1)(2,1,-1) is <1,0,1><x2,y1,z+1>=0\llt 1,0,1\rgt\cdot\llt x-2,y-1,z+1\rgt=0 or x+z=1x+z=1.

(d) Again the two lines are parallel, since <2,2,2>=2<1,1,1>\llt -2,-2,2\rgt=-2\llt 1,1,-1\rgt. Furthermore the point <3,2,2>=<3,2,2>+0<2,2,2>=<2,1,1>+1<1,1,1>\llt 3,2,-2\rgt=\llt 3,2,-2\rgt+0\llt -2,-2,2\rgt =\llt 2,1,-1\rgt+1\llt 1,1,-1\rgt lies on both lines. So the two lines not only intersect but are identical. Any plane that contains the point (3,2,2)(3,2,-2) and is parallel to <1,1,1>\llt 1,1,-1\rgt contains both lines. In general, the plane ax+by+cz=dax+by+cz=d contains (3,2,2)(3,2,-2) if and only if d=3a+2b2cd=3a+2b-2c and is parallel to <1,1,1>\llt 1,1,-1\rgt if and only if <a,b,c><1,1,1>=a+bc=0\llt a,b,c\rgt\cdot\llt 1,1,-1\rgt=a+b-c=0. So, for arbitrary aa and bb (not both zero) ax+by+(a+b)z=aax+by+(a+b)z=a works.

Q6Stage 2

Find the equation(s) of the line through (2,1,1)(2,-1,-1) and parallel to each of the two planes x+y=0x+y=0 and xy+2z=0x-y+2z=0. Express the equation(s) of the line in vector and scalar parametric forms and in symmetric form.

Answer

vector parametric equation: <x2,y+1,z+1>=t<1,1,1>\llt x-2,y+1,z+1\rgt= t\llt 1,-1,-1\rgt

scalar parametric equation: x=2+tx=2+t, y=1ty=-1-t, z=1tz=-1-t

symmetric equation: x2=y1=z1x-2=-y-1=-z-1

Full solution

First observe that

  • <1,1,0>\llt 1,1,0\rgt is perpendicular to x+y=0x+y=0 and hence to the line, and

  • <1,1,2>\llt 1,-1,2\rgt is perpendicular to xy+2z=0x-y+2z=0 and hence to the line.

Consequently

<1,1,0>×<1,1,2>=det[ı^ȷ^k^110112]=<2,2,2>\begin{align*} \llt 1\,,\,1\,,\,0\rgt \times \llt 1\,,\,-1\,,\,2\rgt =\det\left[\begin{matrix} \hi & \hj & \hk \\ 1 & 1 & 0 \\ 1 & -1 & 2 \end{matrix}\right] =\llt 2 \,,\, -2 \,,\, -2 \rgt \end{align*}

is perpendicular to both <1,1,0>\llt 1,1,0\rgt and <1,1,2>\llt 1,-1,2\rgt. So 12<2,2,2>=<1,1,1>\frac{1}{2}\llt 2 \,,\, -2 \,,\, -2 \rgt=\llt 1,-1,-1\rgt\> is also perpendicular to both <1,1,0>\llt 1,1,0\rgt and <1,1,2>\llt 1,-1,2\rgt and hence is parallel to the line. As the point (2,1,1)(2,-1,-1) is on the line, the vector equation of the line is

<x2,y+1,z+1>=t<1,1,1>\begin{equation*} \llt x-2,y+1,z+1\rgt= t\llt 1,-1,-1\rgt \end{equation*}

The scalar parametric equations for the line are

x2=t, y+1=t, z+1=torx=2+t, y=1t, z=1t\begin{align*} x-2=t,\ y+1=-t,\ z+1=-t \hskip .25 in\hbox{or}\hskip .25 in x=2+t,\ y=-1-t,\ z=-1-t \end{align*}

The symmetric equations for the line are

(t=)x21=y+11=z+11orx2=y1=z1\begin{align*} (t=)\frac{x-2}{1}=\frac{y+1}{-1}=\frac{z+1}{-1} \hskip .25 in\hbox{or}\hskip .25 in x-2=-y-1=-z-1 \end{align*}
Q7Stage 2Past exam · M200 2011A

Let LL be the line given by the equations x+y=1x + y = 1 and x+2y+z=3x + 2y + z = 3. Write a vector parametric equation for LL.

Hint

Review Example 1.5.2 in the CLP-3 text.

Answer

<x,y,z>=<1,0,2>+t<1,1,1>\llt x,y,z\rgt = \llt 1,0,2\rgt +t\llt-1,1,-1 \rgt

Full solution

Let's parametrize LL using yy, renamed to tt, as the parameter. Then y=ty=t, so that

x+y=1    x+t=1    x=1t\begin{equation*} x+y=1 \implies x+t=1 \implies x=1-t \end{equation*}

and

x+2y+z=3    1t+2t+z=3    z=2t\begin{equation*} x+2y+z=3 \implies 1-t + 2t +z =3 \implies z = 2-t \end{equation*}

and

<x,y,z>=<1,0,2>+t<1,1,1>\begin{equation*} \llt x,y,z\rgt = \llt 1,0,2\rgt +t\llt-1,1,-1 \rgt \end{equation*}

is a vector parametric equation for LL.

Q8Stage 2
  1. Find a vector parametric equation for the line x+2y+3z=11, x2y+z=1x+2y+3z=11,\ x-2y+z=-1.

  2. Find the distance from (1,0,1)(1,0,1) to the line x+2y+3z=11, x2y+z=1x+2y+3z=11,\ x-2y+z=-1.

Hint

Review Example 1.5.4 in the CLP-3 text.

Answer

(a) <x,y,z>=<5,3,0>+t<4,1,2>=<5+4t,3+t,2t>\llt x,y,z\rgt=\llt 5,3,0\rgt+t\llt 4,1,-2\rgt =\llt 5+4t,3+t,-2t\rgt. (b) 5\sqrt{5}

Full solution

(a) The normal vectors to the two given planes are <1,2,3>\llt 1,2,3\rgt and <1,2,1>\llt 1,-2,1\rgt respectively. Since the line is to be contained in both planes, its direction vector must be perpendicular to both <1,2,3>\llt 1,2,3\rgt and <1,2,1>\llt 1,-2,1\rgt, and hence must be parallel to

<1,2,3>×<1,2,1>=det[ı^ȷ^k^123121]=<8,2,4>\begin{equation*} \llt 1,2,3\rgt \times\llt 1,-2,1\rgt =\det\left[\begin{matrix} \hi & \hj & \hk \\ 1 & 2 & 3 \\ 1 & -2 & 1 \end{matrix}\right] =\llt 8, 2,-4\rgt \end{equation*}

or to <4,1,2>\llt 4,1,-2\rgt. Setting z=0z=0 in x+2y+3z=11, x2y+z=1x+2y+3z=11,\ x-2y+z=-1 and solving

{x+2y=11x2y=1}    {2y=11xx2y=1}    {2y=11xx(11x)=1}    {2y=11x2x=10}\begin{align*} \left\{\Atop{x+2y=11}{x-2y=-1} \right\} \iff \left\{\Atop{2y=11-x}{x-2y=-1} \right\} \iff \left\{\Atop{2y=11-x}{x-(11-x)=-1} \right\} \iff \left\{\Atop{2y=11-x}{2x=10} \right\} \end{align*}

we see that (5,3,0)(5,3,0) is on the line. So the vector parametric equation of the line is <x,y,z>=<5,3,0>+t<4,1,2>=<5+4t,3+t,2t>\llt x,y,z\rgt=\llt 5,3,0\rgt+t\llt 4,1,-2\rgt =\llt 5+4t,3+t,-2t\rgt.

(b) The vector from (1,0,1)(1,0,1) to the point (5+4t,3+t,2t)(5+4t,3+t,-2t) on the line is <4+4t,3+t,12t>\llt 4+4t,3+t,-1-2t\rgt. In order for (5+4t,3+t,2t)(5+4t,3+t,-2t) to be the point of the line closest to (1,0,1)(1,0,1), the vector <4+4t,3+t,12t>\llt 4+4t,3+t,-1-2t\rgt joining those two points must be perpendicular to the direction vector <4,1,2>\llt 4,1,-2\rgt of the line. (See Example 1.5.4 in the CLP-3 text.) This is the case when

<4,1,2><4+4t,3+t,12t>=0or16+16t+3+t+2+4t=0ort=1\begin{equation*} \llt 4,1,-2\rgt \cdot \llt 4+4t,3+t,-1-2t\rgt =0\quad\text{or}\quad 16+16t+3+t+2+4t=0\quad\text{or}\quad t=-1 \end{equation*}

The point on the line nearest (1,0,1)(1,0,1) is thus (5+4t,3+t,2t)t=1=(54,31,2)=(1,2,2)(5+4t,3+t,-2t)\Big|_{t=-1}=(5-4,3-1,2)=(1,2,2). The distance from the point to the line is the length of the vector from (1,0,1)(1,0,1) to the point on the line nearest (1,0,1)(1,0,1). That vector is <1,2,2><1,0,1>=<0,2,1>\llt 1,2,2\rgt -\llt 1,0,1\rgt =\llt 0,2,1\rgt. So the distance is <0,2,1>=5|\llt 0,2,1\rgt|=\sqrt{5}.

Q9Stage 2

Let L1L_1 be the line passing through (1,2,5)(1,-2,-5) in the direction of d1=<2,3,2>\vd_1=\llt 2,3,2\rgt. Let L2L_2 be the line passing through (3,4,1)(-3,4,-1) in the direction d2=<5,2,4>\vd_2=\llt 5,2,4\rgt.

  1. Find the equation of the plane PP that contains L1L_1 and is parallel to L2L_2.

  2. Find the distance from L2L_2 to PP.

Hint

Review Example 1.4.4 in the CLP-3 text.

Answer

(a) 8x+2y11z=598x+2y-11z=59 (b) 641894.655\frac{64}{\sqrt{189}} \approx 4.655

Full solution

(a) The plane PP must be parallel to both <2,3,2>\llt 2,3,2\rgt (since it contains L1L_1) and <5,2,4>\llt 5,2,4\rgt (since it is parallel to L2L_2). Hence

<2,3,2>×<5,2,4>=det[ı^ȷ^k^232524]=<8,2,11>\begin{equation*} \llt 2,3,2\rgt \times \llt 5,2,4\rgt =\det\left[\begin{matrix} \hi & \hj & \hk \\ 2 & 3 & 2 \\ 5 & 2 & 4 \end{matrix}\right] =\llt 8,2,-11\rgt \end{equation*}

is normal to PP. As the point (1,2,5)(1,-2,-5) is on PP, the equation of PP is

<8,2,11><x1,y+2,z+5>=0or8x+2y11z=59\begin{equation*} \llt 8,2,-11\rgt \cdot\llt x-1,y+2,z+5\rgt =0\qquad \text{or}\qquad 8x+2y-11z=59 \end{equation*}

(b) As L2L_2 is parallel to PP, the distance from L2L_2 to PP is the same as the distance from any one point of L2L_2, for example (3,4,1)(-3,4,-1), to PP. As (1,2,5)(1,-2,-5) is a point on PP, the vector <1,2,5><3,4,1>=<4,6,4>\llt 1,-2,-5\rgt-\llt -3, 4,-1\rgt =\llt 4,-6,-4\rgt has its head on PP and tail at (3,4,1)(-3,4,-1) on L2L_2. The distance from L2L_2 to PP is the length of the projection of the vector <4,6,4>\llt 4,-6,-4\rgt on the normal to PP. (See Example 1.4.5 in the CLP-3 text.) This is

proj<8,2,11><4,6,4>=<4,6,4><8,2,11><8,2,11>=641894.655\begin{equation*} \left|\text{proj}_{\llt 8,2,-11\rgt}\llt 4,-6,-4\rgt\right| =\frac{|\llt 4,-6,-4\rgt \cdot\llt 8,2,-11\rgt|} {|\llt 8,2,-11\rgt|} =\frac{64}{\sqrt{189}} \approx4.655 \end{equation*}
Q10Stage 2Past exam · M200 2012a

Let LL be a line which is parallel to the plane 2x+yz=52x + y - z = 5 and perpendicular to the line x=3tx = 3 - t, y=12ty = 1 - 2t and z=3tz = 3t.

  1. Find a vector parallel to the line LL.

  2. Find parametric equations for the line LL if LL passes through a point Q(a,b,c)Q(a, b, c) where a<0a < 0, b>0b > 0, c>0c > 0, and the distances from QQ to the xyxy–plane, the xzxz–plane and the yzyz–plane are 22, 33 and 44 respectively.

Answer

(a) Any nonzero constant times <1,5,3>\llt 1 \,,\, -5 \,,\, -3 \rgt. (b) x=4+tx = -4 + t, y=35ty = 3 - 5t, z=23tz = 2 - 3t

Full solution

(a) The line LL must be perpendicular both to <2,1,1>\llt 2\,,\,1\,,\,-1\rgt, which is a normal vector for the plane 2x+yz=52x + y - z = 5, and to <1,2,3>\llt -1\,,\,-2\,,\,3\rgt, which is a direction vector for the line x=3tx = 3 - t, y=12ty = 1 - 2t and z=3tz = 3t. Any such vector must be a nonzero constant times

<2,1,1>×<1,2,3>=det[ı^ȷ^k^211123]=<1,5,3>\begin{align*} \llt 2\,,\,1\,,\,-1\rgt \times \llt -1\,,\,-2\,,\,3\rgt =\det\left[\begin{matrix} \hi & \hj & \hk \\ 2 & 1 & -1 \\ -1 & -2 & 3 \end{matrix}\right] =\llt 1 \,,\, -5 \,,\, -3 \rgt \end{align*}

(b) For the point Q(a,b,c)Q(a, b, c)

  • to be a distance 22 from the xyxy–plane, it is necessary that c=2|c|=2, and

  • to be a distance 33 from the xzxz–plane, it is necessary that b=3|b|=3, and

  • to be a distance 44 from the yzyz–plane, it is necessary that a=4|a|=4.

As a<0a < 0, b>0b > 0, c>0c > 0, the point QQ is (4,3,2)(-4, 3, 2) and the line LL is

x=4+ty=35tz=23t\begin{equation*} x = -4 + t \qquad y = 3 - 5t \qquad z = 2 - 3t \end{equation*}
Q11Stage 2Past exam · M200 2012D

Let LL be the line of intersection of the planes x+y+z=6x + y + z = 6 and xy+2z=0x - y + 2z = 0.

  1. Find the points in which the line LL intersects the coordinate planes.

  2. Find parametric equations for the line through the point (10,11,13)(10, 11, 13) that is perpendicular to the line LL and parallel to the plane y=zy = z.

Answer

(a) (3,3,0)(3,3,0), (12,0,6)(12,0,-6), (0,4,2)(0,4,2) (b) x=10+tx=10+t, y=11+ty=11+t, z=13+tz=13+t.

Full solution

(a) The line LL intersects the xyxy–plane when x+y+z=6x + y + z = 6, xy+2z=0x - y + 2z = 0, and z=0z=0. When z=0z=0 the equations of LL reduce to x+y=6x + y = 6, xy=0x - y = 0. So the intersection point is (3,3,0)(3,3,0).

The line LL intersects the xzxz–plane when x+y+z=6x + y + z = 6, xy+2z=0x - y + 2z = 0, and y=0y=0. When y=0y=0 the equations of LL reduce to x+z=6x + z = 6, x+2z=0x +2z = 0. Substituting x=2zx=-2z into x+z=6x+z=6 gives z=6-z=6. So the intersection point is (12,0,6)(12,0,-6).

The line LL intersects the yzyz–plane when x+y+z=6x + y + z = 6, xy+2z=0x - y + 2z = 0, and x=0x=0. When x=0x=0 the equations of LL reduce to y+z=6y + z = 6, y+2z=0-y +2z = 0. Substituting y=2zy=2z into y+z=6y+z=6 gives 3z=63z=6. So the intersection point is (0,4,2)(0,4,2).

(b) Our main job is to find a direction vector d\vd for the line.

  • Since the line is to be parallel to y=zy=z, d\vd must be perpendicular to the normal vector for y=zy=z, which is <0,1,1>\llt 0,1,-1\rgt.

  • d\vd must also be perpendicular to LL. For a point (x,y,z)(x,y,z) to be on LL it must obey x+y=6zx+y = 6-z and xy=2zx-y =-2z. Adding these two equations gives 2x=63z2x=6-3z and subtracting the second equation from the first gives 2y=6+z2y= 6+z. So for a point (x,y,z)(x,y,z) to be on LL it must obey x=33z2x=3-\frac{3z}{2}, y=3+z2y=3+\frac{z}{2}. The point on LL with z=0z=0 is (3,3,0)(3,3,0) and the point on LL with z=2z=2 is (0,4,2)(0,4,2). So <03,43,20>=<3,1,2>\llt 0-3,4-3,2-0 \rgt=\llt -3,1,2 \rgt is a direction vector for LL.

So d\vd must be perpendicular to both <0,1,1>\llt 0,1,-1\rgt and <3,1,2>\llt -3,1,2 \rgt and so must be a nonzero constant times

<0,1,1>×<3,1,2>=det[ı^ȷ^k^011312]=<3,3,3>\begin{align*} \llt 0,1,-1\rgt \times \llt -3,1,2 \rgt =\det\left[\begin{matrix} \hi & \hj & \hk \\ 0 & 1 & -1 \\ -3 & 1 & 2 \end{matrix}\right] =\llt 3 \,,\, 3 \,,\, 3 \rgt \end{align*}

We choose d=13<3,3,3>=<1,1,1>\vd=\frac{1}{3}\llt 3 \,,\, 3 \,,\, 3 \rgt=\llt 1\,,\,1\,,\,1 \rgt. So

<x,y,z>=<10,11,13>+t<1,1,1>\begin{equation*} \llt x,y,z\rgt = \llt 10,11,13\rgt + t \llt 1\,,\,1\,,\,1 \rgt \end{equation*}

is a vector parametric equation for the line. We can also write this as x=10+tx=10+t, y=11+ty=11+t, z=13+tz=13+t.

Q12Stage 2Past exam · M200 2013D

The line LL has vector parametric equation r(t)=(2+3t)ı^+4tȷ^k^\vr(t) = (2 + 3t)\hi + 4t\hj - \hk.

  1. Write the symmetric equations for LL.

  2. Let α\alpha be the angle between the line LL and the plane given by the equation xy+2z=0x - y + 2z = 0. Find α\alpha.

Hint

Review the properties of the dot product in Theorem 1.2.11 of the CLP-3 text.

Answer

(a) x23=y4z=1\frac{x-2}{3}=\frac{y}{4}\qquad z=-1

(b) α=π2arccos1560.08radians\al =\frac{\pi}{2}-\arccos\frac{1}{5\sqrt{6}} \approx 0.08\,\text{radians}

Full solution

(a) Since

x=2+3t    t=x23y=4t    t=y4\begin{alignat*}{3} x&=2+3t &&\implies t=\frac{x-2}{3} \\ y&=4t &&\implies t=\frac{y}{4} \end{alignat*}

we have

x23=y4z=1\begin{equation*} \frac{x-2}{3}=\frac{y}{4}\qquad z=-1 \end{equation*}

(b) The direction vector for the line r(t)=2ı^k^+t(3ı^+4ȷ^)\vr(t) = 2\,\hi-\hk +t(3\,\hi+4\,\hj) is d=3ı^+4ȷ^\vd=3\,\hi+4\,\hj. A normal vector for the plane xy+2z=0x-y+2z=0 is n=±(ı^ȷ^+2k^)\vn=\pm\big(\hi-\hj+2\,\hk\big). The angle θ\theta between d\vd and n\vn obeys

cosθ=dndn=156    θ=arccos1561.49radians\begin{align*} \cos\theta =\frac{\vd\cdot\vn}{|\vd|\,|\vn|} =\frac{1}{5\sqrt{6}} \implies \theta =\arccos\frac{1}{5\sqrt{6}}\approx 1.49\,\text{radians} \end{align*}

(We picked n=ı^+ȷ^2k^\vn=-\hi+\hj-2\hk to make 0θπ20\le\theta\le\frac{\pi}{2}.) Then the angle between d\vd and the plane is

α=π2arccos1560.08radians\begin{equation*} \al =\frac{\pi}{2}-\arccos\frac{1}{5\sqrt{6}}\approx 0.08\,\text{radians} \end{equation*}

Figure from prob_s1.5, line 729

Figure from prob_s1.5, line 729

Q13Stage 2Past exam · M200 2015D

Find the parametric equation for the line of intersection of the planes

x+y+z=11andxyz=13.\begin{equation*} x + y + z = 11\qquad \text{and}\qquad x - y - z = 13. \end{equation*}
Answer

(x,y,z)=(12,1t,t)(x,y,z) = \big(12\,,\,-1-t\,,\,t\big)

Full solution

Let's use zz as the parameter and call it tt. Then z=tz=t and

x+y=11txy=13+t\begin{align*} x+y&=11-t \\ x-y&=13+t \end{align*}

Adding the two equations gives 2x=242x=24 and subtracting the second equation from the first gives 2y=22t2y=-2-2t. So

(x,y,z)=(12,1t,t)\begin{equation*} (x,y,z) = \big(12\,,\,-1-t\,,\,t\big) \end{equation*}
Q14Stage 2Past exam · M200 2000A
  1. Find a point on the y-axis equidistant from (2,5,3)(2, 5, -3) and (3,6,1)(-3, 6, 1).

  2. Find the equation of the plane containing the point (1,3,1)(1, 3, 1) and the line r(t)=tı^+tȷ^+(t+2)k^\vr(t) = t\,\hi + t\,\hj + (t + 2)\,\hk.

Answer

(a) (0,4,0)(0,4,0) (b) 2xyz=22x-y-z=-2

Full solution

(a) The point (0,y,0)(0,y,0), on the yy–axis, is equidistant from (2,5,3)(2, 5, -3) and (3,6,1)(-3, 6, 1) if and only if

<2,5,3><0,y,0>=<3,6,1><0,y,0>    22+(5y)2+(3)2=(3)2+(6y)2+12    2y=8    y=4\begin{align*} &\big|\llt 2, 5, -3\rgt-\llt 0,y,0\rgt\big| =\big|\llt -3, 6, 1\rgt-\llt 0,y,0\rgt\big| \\ &\iff 2^2+(5-y)^2+(-3)^2=(-3)^2+(6-y)^2+1^2 \\ &\iff 2y=8 \\ &\iff y=4 \end{align*}

(b) The points (1,3,1)(1,3,1) and r(0)=(0,0,2)\vr(0)=(0,0,2) are both on the plane. Hence the vector <1,3,1><0,0,2>=<1,3,1>\llt 1,3,1\rgt-\llt 0,0,2\rgt=\llt 1,3,-1\rgt joining them, and the direction vector of the line, namely <1,1,1>\llt 1,1,1\rgt are both parallel to the plane. So

<1,3,1>×<1,1,1>=det[ı^ȷ^k^131111]=<4,2,2>\begin{equation*} \llt 1,3,-1\rgt\times \llt 1,1,1\rgt =\det\left[\begin{matrix} \hi &\hj &\hk \\ 1&3&-1 \\ 1&1&1 \end{matrix}\right] = \llt 4,-2,-2\rgt \end{equation*}

is perpendicular to the plane. As the point (0,0,2)(0,0,2) is on the plane and the vector <4,2,2>\llt 4,-2,-2\rgt is perpendicular to the plane, the equation of the plane is

4(x0)2(y0)2(z2)=0 or 2xyz=2\begin{equation*} 4(x-0)-2(y-0)-2(z-2)=0\text{ or } 2x-y-z=-2 \end{equation*}

3Stage 3Application

Further than practice: several ideas at once, or an unfamiliar situation.

Q15Stage 3Past exam · M200 2016D

Let A=(0,2,2)A=(0,2,2), B=(2,2,2)B=(2,2,2), C=(5,2,1)C=(5,2,1).

  1. Find the parametric equations for the line which contains AA and is perpendicular to the triangle ABCABC.

  2. Find the equation of the set of all points PP such that PA\overrightarrow{PA} is perpendicular to PB\overrightarrow{PB}. This set forms a Plane/Line/Sphere/Cone/Paraboloid/Hyperboloid (circle one) in space.

  3. A light source at the origin shines on the triangle ABCABC making a shadow on the plane x+7y+z=32x+7y+z=32. (See the diagram.) Find A~\tilde A.

    Figure from prob_s1.5, line 856

    Figure from prob_s1.5, line 856

Hint

All three of the points AA, BB, CC lie in the plane y=2y=2.

Answer

(a) x=0, y=2+t, z=2x=0,\ y=2+t,\ z=2 (b) The sphere (x1)2+(y2)2+(z2)2=1(x-1)^2 +(y-2)^2+(z-2)^2 = 1

(c) (0,4,4)(0,4,4)

Full solution

(a) We are given one point on the line, so we just need a direction vector. That direction vector has to be perpendicular to the triangle ABCABC.

The fast way to get a direction vector is to observe that all three points AA, BB and CC, and consequently the entire triangle ABCABC, are contained in the plane y=2y=2. A normal vector to that plane, and consequently a direction vector for the desired line, is ȷ^\hj.

Here is another, more mechanical, way to get a direction vector. The vector from AA to BB is <20,22,22>=<2,0,0>\llt 2-0\,,\,2-2\,,\,2-2\rgt= \llt 2,0,0\rgt and the vector from AA to CC is <50,22,12>=<5,0,1>\llt 5-0\,,\,2-2\,,\,1-2\rgt= \llt 5,0,-1\rgt. So a vector perpendicular to the triangle ABCABC is

<2,0,0>×<5,0,1>=det[ı^ȷ^k^200501]=<0,2,0>\begin{align*} \llt 2,0,0\rgt \times \llt 5,0,-1\rgt =\det\left[\begin{matrix} \hi & \hj & \hk \\ 2 & 0 & 0 \\ 5 & 0 & -1 \end{matrix}\right] =\llt 0 \,,\, 2 \,,\, 0 \rgt \end{align*}

The vector 12<0,2,0>=<0,1,0>\frac{1}{2}\llt 0 \,,\, 2 \,,\, 0 \rgt=\llt 0 \,,\, 1 \,,\, 0 \rgt is also perpendicular to the triangle ABCABC.

So the specified line has to contain the point (0,2,2)(0,2,2) and have direction vector <0,1,0>\llt 0 , 1 , 0 \rgt. The parametric equations

<x,y,z>=<0,2,2>+t<0,1,0>\begin{align*} \llt x,y,z \rgt = \llt 0 , 2 , 2 \rgt + t\llt 0 , 1 , 0 \rgt \end{align*}

or

x=0, y=2+t, z=2\begin{align*} x=0,\ y=2+t,\ z=2 \end{align*}

do the job.

(b) Let PP be the point (x,y,z)(x,y,z). Then the vector from PP to AA is <0x,2y,2z>\llt 0-x\,,\,2-y\,,\,2-z\rgt and the vector from PP to BB is <2x,2y,2z>\llt 2-x\,,\,2-y\,,\,2-z\rgt. These two vector are perpendicular if and only if

0=<x,2y,2z><2x,2y,2z>=x(x2)+(y2)2+(z2)2=(x1)21+(y2)2+(z2)2\begin{align*} 0 &= \llt -x\,,\,2-y\,,\,2-z\rgt \cdot \llt 2-x\,,\,2-y\,,\,2-z\rgt = x(x-2) +(y-2)^2 +(z-2)^2 \\ &= (x-1)^2 -1 +(y-2)^2 +(z-2)^2 \end{align*}

This is a sphere.

(c) The light ray that forms A~\tilde A starts at the origin, passes through AA and then intersects the plane x+7y+z=32x+7y+z=32 at A~\tilde A. The line from the origin through AA has vector parametric equation

<x,y,z>=<0,0,0>+t<0,2,2>=<0,2t,2t>\begin{align*} \llt x,y,z\rgt = \llt 0,0,0 \rgt +t \llt 0,2,2\rgt =\llt 0,2t,2t\rgt \end{align*}

This line intersects the plane x+7y+z=32x+7y+z=32 at the point whose value of tt obeys

(0)+7(2t)y+(2t)z=32    t=2\begin{align*} (0) +7\overbrace{(2t)}^{y} +\overbrace{(2t)}^{z} =32 \iff t=2 \end{align*}

So A~\tilde A is (0,4,4)(0,4,4).

Q16Stage 3

Let P, Q, RP,\ Q,\ R and SS be the vertices of a tetrahedron. Denote by p, q, r\vp,\ \vq,\ \vr and s\vs the vectors from the origin to P, Q, RP,\ Q,\ R and SS respectively. A line is drawn from each vertex to the centroid of the opposite face, where the centroid of a triangle with vertices a, b\va,\ \vb and c\vc is 13(a+b+c)\frac{1}{3}(\va+\vb+\vc). Show that these four lines meet at 14(p+q+r+s\frac{1}{4}(\vp+\vq+\vr+\vs).

Answer

See the solution.

Full solution

The face opposite p\vp is the triangle with vertices q\vq, r\vr and s\vs. The centroid of this triangle is 13(q+r+s)\frac{1}{3}(\vq+\vr+\vs). The direction vector of the line through p\vp and the centroid 13(q+r+s)\frac{1}{3}(\vq+\vr+\vs) is 13(q+r+s)p\frac{1}{3}(\vq+\vr+\vs)-\vp. The points on the line through p\vp and the centroid 13(q+r+s)\frac{1}{3}(\vq+\vr+\vs) are those of the form

x=p+t[13(q+r+s)p]\begin{equation*} \vx=\vp+ t\left[\frac{1}{3}(\vq+\vr+\vs)-\vp\right] \end{equation*}

for some real number tt. Observe that when t=34t=\frac{3}{4}

p+t[13(q+r+s)p]=14(p+q+r+s)\vp+ t\left[\frac{1}{3}(\vq+\vr+\vs)-\vp\right] =\frac{1}{4}(\vp+\vq+\vr+\vs)

so that 14(p+q+r+s)\frac{1}{4}(\vp+\vq+\vr+\vs) is on the line. The other three lines have vector parametric equations

x=q+t[13(p+r+s)q]x=r+t[13(p+q+s)r]x=s+t[13(p+q+r)s]\begin{align*} \vx&=\vq+ t\left[\frac{1}{3}(\vp+\vr+\vs)-\vq\right] \\ \vx&=\vr+ t\left[\frac{1}{3}(\vp+\vq+\vs)-\vr\right] \\ \vx&=\vs+ t\left[\frac{1}{3}(\vp+\vq+\vr)-\vs\right] \end{align*}

When t=34t=\frac{3}{4}, each of the three right hand sides also reduces to 14(p+q+r+s)\frac{1}{4}(\vp+\vq+\vr+\vs) so that 14(p+q+r+s)\frac{1}{4}(\vp+\vq+\vr+\vs) is also on each of these three lines.

Q17Stage 3

Calculate the distance between the lines x+23=y74=z24\frac{x+2}{3}=\frac{y-7}{-4}=\frac{z-2}{4} and x13=y+24=z+11\frac{x-1}{-3}=\frac{y+2}{4}=\frac{z+1}{1}.

Hint

Review Example 1.5.7 in the CLP-3 text.

Answer

33

Full solution

We'll use the procedure of Example 1.5.7 in the CLP-3 text. The vector

<3,4,4>×<3,4,1>=det[ı^ȷ^k^344341]=<20,15,0>\begin{equation*} \llt 3,-4,4\rgt \times\llt -3,4,1\rgt =\det\left[\begin{matrix} \hi & \hj & \hk \\ 3 & -4 & 4 \\ -3 & 4 & 1 \end{matrix}\right] =\llt -20,-15,0\rgt \end{equation*}

is perpendicular to both lines. Hence so is n=15<20,15,0>=<4,3,0>\vn=-\frac{1}{5}\llt -20,-15,0\rgt =\llt 4,3,0\rgt. The point (2,7,2)(-2,7,2) is on the first line and the point (1,2,1)(1,-2,-1) is on the second line. Hence v=<2,7,2><1,2,1>=<3,9,3>\vv=\llt -2,7,2 \rgt-\llt1,-2,-1 \rgt=\llt -3,9,3\rgt is a vector joining the two lines. The desired distance is the length of the projection of v\vv on n\vn. This is

projnv=<3,9,3><4,3,0><4,3,0>=155=3\begin{equation*} \big|{\rm proj}_{\vn}\vv\big| =\frac{|\llt -3,9,3\rgt \cdot\llt 4,3,0\rgt|}{|\llt 4,3,0\rgt|} =\frac{15}{5}=3 \end{equation*}

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.