Linear Algebra and Vector Geometry 201-SN4-RE • CEGEP, Montreal

Corrected exercises: lines and planes in space (201-SN4-RE)

This is the corrected exercise set on lines and planes in space for 201-SN4-RE (formerly 201-NYC), Linear Algebra and Vector Geometry, the CEGEP linear algebra course. It is the chapter that brings the rest of the course together: you find equations from points and vectors, classify relative positions, and compute intersections, distances and angles. Part A covers the basics: the equations of a line, the scalar equation of a plane from its normal vector, the intersection of two planes and the angle between them, the intersection of a line and a plane, and distances. Part B rises to exam level: two skew lines whose distance comes from the scalar triple product, a problem on two paths where crossing paths must be told apart from an actual collision, the orthogonal projections and reflections of a point in a plane and in a line, the plane through a line and an outside point with the idea of a pencil of planes, and the bisector planes of two planes. Part C adds five classics: the angle between a line and a plane, three planes meeting at a point, along a line or nowhere, the common perpendicular of two skew lines, the reflection of a light ray in a plane mirror and the line of steepest slope on a roof.

Exercise 0.1 opens the set with ten direct calculations in space, as in the textbook drill lists: the scalar equation of a plane from a point and a normal vector, then from three points with the cross product, the parameter and the coordinates of the point where a line meets a plane, the value of kk that makes a line parallel to a plane, the distance from a point to a plane, between two parallel planes and from a point to a line, the angle between two planes and the angle between a line and a plane, each with a value to find and checked on the spot.

The set is written for CEGEP students in the Science program, and for Social Science students in the mathematics profile who take linear algebra (201-105). It assumes the dot product, the cross product and the scalar triple product are mastered: the normal vector of a plane is a cross product, an angle comes from a dot product, and the distance between two skew lines is a scalar triple product. If these three tools are not solid yet, work through the set on vectors in space first.

The reflex to keep throughout: in space, a line is described by a point and a direction vector, a plane by a point and a normal vector. Before any calculation, identify these ingredients; almost every question then comes down to a well-chosen dot, cross or scalar triple product.

16 corrected exercises • 160 points • 225 minutes

This chapter is part of 201-SN4-RE, every chapter with its set and sheet Before you start Revision sheet: the traps and the method for this chapter

Self-checking set Type your answers and check them question by question: the page tells you right or wrong before you open the solution. With an account, every answer right on the first try earns points, and your right answers stay filled in when you come back.

Course recap

  • • Line through A(x0,y0,z0)A(x_{0}, y_{0}, z_{0}) with direction vector u⃗=(a,b,c)\vec{u}=(a, b, c): vector equation (x,y,z)=(x0,y0,z0)+t u⃗(x, y, z)=(x_{0}, y_{0}, z_{0})+t\,\vec{u}; parametric equations x=x0+at, y=y0+bt, z=z0+ctx=x_{0}+at,\ y=y_{0}+bt,\ z=z_{0}+ct; symmetric equations x−x0a=y−y0b=z−z0c\dfrac{x-x_{0}}{a}=\dfrac{y-y_{0}}{b}=\dfrac{z-z_{0}}{c}.
  • • Plane through A(x0,y0,z0)A(x_{0}, y_{0}, z_{0}) with normal vector n⃗=(a,b,c)\vec{n}=(a, b, c): a(x−x0)+b(y−y0)+c(z−z0)=0a(x-x_{0})+b(y-y_{0})+c(z-z_{0})=0, written ax+by+cz+d=0ax+by+cz+d=0. A normal vector is the cross product of two direction vectors of the plane.
  • • Relative position of a line with direction u⃗\vec{u} and a plane with normal n⃗\vec{n}: if u⃗⋅n⃗≠0\vec{u}\cdot\vec{n}\neq 0, the line crosses the plane at one point; if u⃗⋅n⃗=0\vec{u}\cdot\vec{n}=0, the line is parallel to the plane (contained in it if they share a point, strictly parallel otherwise).
  • • Two lines in space are: coincident or parallel if their direction vectors are parallel; intersecting if they meet at one point; skew if they are neither parallel nor intersecting. They are coplanar if and only if AC⃗⋅(u⃗×v⃗)=0\vec{AC}\cdot(\vec{u}\times\vec{v})=0, where AA and CC are a point on each line.
  • • Distance from a point SS to a plane ax+by+cz+d=0ax+by+cz+d=0: dist=∣axS+byS+czS+d∣a2+b2+c2\text{dist}=\dfrac{|ax_{S}+by_{S}+cz_{S}+d|}{\sqrt{a^{2}+b^{2}+c^{2}}}.
  • • Distance from a point SS to a line through AA with direction vector u⃗\vec{u}: dist=∥AS⃗×u⃗∥∥u⃗∥\text{dist}=\dfrac{\|\vec{AS}\times\vec{u}\|}{\|\vec{u}\|}.
  • • Distance between two skew lines (point AA, direction u⃗\vec{u}; point CC, direction v⃗\vec{v}): dist=∣AC⃗⋅(u⃗×v⃗)∣∥u⃗×v⃗∥\text{dist}=\dfrac{|\vec{AC}\cdot(\vec{u}\times\vec{v})|}{\|\vec{u}\times\vec{v}\|}. Angle between two planes (or two lines): cos⁡θ=∣n1⃗⋅n2⃗∣∥n1⃗∥ ∥n2⃗∥\cos\theta=\dfrac{|\vec{n_{1}}\cdot\vec{n_{2}}|}{\|\vec{n_{1}}\|\,\|\vec{n_{2}}\|}; angle between a line and a plane: sin⁡θ=∣u⃗⋅n⃗∣∥u⃗∥ ∥n⃗∥\sin\theta=\dfrac{|\vec{u}\cdot\vec{n}|}{\|\vec{u}\|\,\|\vec{n}\|}.

Calculations: equations, intersections, distances and angles

Exercise 0.1: Computing equations, intersections and distances in space: ten direct calculations

For each item, compute the requested quantity. Give fractions exactly, distances to two decimal places and angles to the nearest tenth of a degree. A plane is written ax+by+cz+d=0ax+by+cz+d=0.

Each line comes down to a formula once its ingredients are named: a plane is a point and a normal vector n⃗=(a,b,c)\vec{n}=(a, b, c); a line is a point and a direction vector u⃗\vec{u}. To find an intersection, substitute the parametric equations into the equation of the plane; for parallelism, write u⃗⋅n⃗=0\vec{u}\cdot\vec{n}=0; use ∣ax0+by0+cz0+d∣∥n⃗∥\frac{|ax_{0}+by_{0}+cz_{0}+d|}{\|\vec{n}\|} for the distance from a point to a plane and ∥AM⃗×u⃗∥∥u⃗∥\frac{\|\vec{AM}\times\vec{u}\|}{\|\vec{u}\|} for the distance from a point to a line. Angles come from a dot product: a cosine between two normals, a sine between a direction and a normal.

  • a) The plane passes through A(2,−1,3)A(2, -1, 3) and has normal vector n⃗=(4,1,−2)\vec{n}=(4, 1, -2): write its equation 4x+y−2z+d=04x+y-2z+d=0, then give dd.
  • b) The plane passes through A(1,1,0)A(1, 1, 0), B(2,0,1)B(2, 0, 1) and C(0,3,2)C(0, 3, 2): write its equation in the form 4x+by+cz+d=04x+by+cz+d=0, then give cc and dd.
  • c) The line (x,y,z)=(0,4,1)+t(3,−1,2)(x, y, z)=(0, 4, 1)+t(3, -1, 2) meets the plane 2x+y−z=92x+y-z=9: give the value of tt at the point of intersection.
  • d) The line x=2−tx=2-t, y=1+3ty=1+3t, z=−1+2tz=-1+2t meets the plane 2x+y+z=52x+y+z=5: give the xx- and zz-coordinates of the point of intersection.
  • e) Find kk so that the line with direction vector (2,k,−1)(2, k, -1) is parallel to the plane 3x−2y+4z=73x-2y+4z=7.
  • f) Compute the distance from the point P(2,−3,1)P(2, -3, 1) to the plane 6x−2y+3z=46x-2y+3z=4.
  • g) Compute the distance between the parallel planes 2x−3y+6z=52x-3y+6z=5 and −4x+6y−12z=18-4x+6y-12z=18.
  • h) Compute the acute angle between the planes x−2y+2z=1x-2y+2z=1 and 3x+4z=23x+4z=2, in degrees.
  • i) Compute the distance from the point M(3,0,−1)M(3, 0, -1) to the line through A(1,2,1)A(1, 2, 1) with direction vector u⃗=(2,1,−2)\vec{u}=(2, 1, -2).
  • j) Compute the angle between the line with direction vector (2,1,2)(2, 1, 2) and the plane 2x+3y+6z=12x+3y+6z=1, in degrees.

Type your answers, the page tells you right or wrong 0/12

a)
b)
c)
d)
e)
f)
g)
h)
i)
j)
Show the solution

Answers

  • a) 4x+y−2z−1=04x+y-2z-1=0; d=−1d=-1
  • b) 4x+3y−z−7=04x+3y-z-7=0; c=−1c=-1, d=−7d=-7
  • c) 3t+3=93t+3=9; t=2t=2
  • d) t=13t=\frac{1}{3}; (53,2,−13)\left(\frac{5}{3}, 2, -\frac{1}{3}\right)
  • e) 6−2k−4=06-2k-4=0; k=1k=1
  • f) 177≈2.43\frac{17}{7}\approx 2.43
  • g) ∣−5−9∣7=2\frac{|-5-9|}{7}=2
  • h) arccos⁡1115≈42.8\arccos\frac{11}{15}\approx 42.8 degrees
  • i) 623=22≈2.83\frac{6\sqrt{2}}{3}=2\sqrt{2}\approx 2.83
  • j) arcsin⁡1921≈64.8\arcsin\frac{19}{21}\approx 64.8 degrees

The move that decides everything: read the normal vector off the coefficients of xx, yy and zz, and the direction vector off the coefficient of the parameter, BEFORE choosing a formula. Once those two vectors are written down, every item is a dot product, a cross product or a substitution.

a)

The point lies in the plane: 4(2)+(−1)−2(3)+d=04(2)+(-1)-2(3)+d=0, that is 8−1−6+d=08-1-6+d=0, so d=−1d=-1. The plane is 4x+y−2z−1=04x+y-2z-1=0.

Pitfall: −2×3=−6-2\times 3=-6, the sign of the coefficient of zz.

b)

AB⃗=(1,−1,1)\vec{AB}=(1, -1, 1) and AC⃗=(−1,2,2)\vec{AC}=(-1, 2, 2), so AB⃗×AC⃗=((−1)(2)−(1)(2),(1)(−1)−(1)(2),(1)(2)−(−1)(−1))=(−4,−3,1)\vec{AB}\times\vec{AC}=\left((-1)(2)-(1)(2), (1)(-1)-(1)(2), (1)(2)-(-1)(-1)\right)=(-4, -3, 1). Take the opposite vector n⃗=(4,3,−1)\vec{n}=(4, 3, -1); then AA gives 4+3+d=04+3+d=0: the plane is 4x+3y−z−7=04x+3y-z-7=0, so c=−1c=-1 and d=−7d=-7. Check: BB gives 8+0−1−7=08+0-1-7=0 and CC gives 0+9−2−7=00+9-2-7=0.

Pitfall: the middle component of the cross product.

c)

Substitute x=3tx=3t, y=4−ty=4-t, z=1+2tz=1+2t: 2(3t)+(4−t)−(1+2t)=92(3t)+(4-t)-(1+2t)=9, that is 3t+3=93t+3=9, so t=2t=2. The point is (6,2,5)(6, 2, 5), and 12+2−5=912+2-5=9.

Pitfall: −(1+2t)-(1+2t), the minus sign applies to both terms.

d)

2(2−t)+(1+3t)+(−1+2t)=52(2-t)+(1+3t)+(-1+2t)=5, that is 4+3t=54+3t=5, so t=13t=\frac{1}{3}. The point is (53,2,−13)\left(\frac{5}{3}, 2, -\frac{1}{3}\right): x=53x=\frac{5}{3} and z=−13z=-\frac{1}{3}.

Pitfall: giving tt instead of the coordinates.

e)

Parallel to the plane means orthogonal to n⃗=(3,−2,4)\vec{n}=(3, -2, 4): 3(2)−2k+4(−1)=03(2)-2k+4(-1)=0, that is 2−2k=02-2k=0, so k=1k=1.

Pitfall: making the direction a multiple of n⃗\vec{n}, which would give a line perpendicular to the plane.

f)

∥n⃗∥=36+4+9=7\|\vec{n}\|=\sqrt{36+4+9}=7, and the plane is written 6x−2y+3z−4=06x-2y+3z-4=0. So ∣6(2)−2(−3)+3(1)−4∣7=∣12+6+3−4∣7=177≈2.43\frac{|6(2)-2(-3)+3(1)-4|}{7}=\frac{|12+6+3-4|}{7}=\frac{17}{7}\approx 2.43.

Pitfall: dropping the −4-4 when moving the right-hand side to the left.

g)

Divide the second equation by −2-2: 2x−3y+6z=−92x-3y+6z=-9, that is 2x−3y+6z+9=02x-3y+6z+9=0, with the SAME normal (2,−3,6)(2, -3, 6) as 2x−3y+6z−5=02x-3y+6z-5=0. So ∣−5−9∣4+9+36=147=2\frac{|-5-9|}{\sqrt{4+9+36}}=\frac{14}{7}=2.

Pitfall: comparing 55 and 1818 before both equations have the same normal.

h)

Normals (1,−2,2)(1, -2, 2) and (3,0,4)(3, 0, 4), with norms 33 and 55. cos⁡θ=∣3+0+8∣3×5=1115\cos\theta=\frac{|3+0+8|}{3\times 5}=\frac{11}{15}, so θ=arccos⁡1115≈42.8\theta=\arccos\frac{11}{15}\approx 42.8 degrees. The absolute value guarantees the acute angle.

i)

AM⃗=(2,−2,−2)\vec{AM}=(2, -2, -2) and AM⃗×u⃗=((−2)(−2)−(−2)(1),(−2)(2)−(2)(−2),(2)(1)−(−2)(2))=(6,0,6)\vec{AM}\times\vec{u}=\left((-2)(-2)-(-2)(1), (-2)(2)-(2)(-2), (2)(1)-(-2)(2)\right)=(6, 0, 6), with norm 626\sqrt{2}. With ∥u⃗∥=3\|\vec{u}\|=3, the distance is 623=22≈2.83\frac{6\sqrt{2}}{3}=2\sqrt{2}\approx 2.83.

Pitfall: dividing by ∥AM⃗∥\|\vec{AM}\| instead of ∥u⃗∥\|\vec{u}\|.

j)

The angle between a line and a plane is the complement of the angle between the direction and the normal, hence a SINE: sin⁡φ=∣4+3+12∣3×7=1921\sin\varphi=\frac{|4+3+12|}{3\times 7}=\frac{19}{21}, so φ=arcsin⁡1921≈64.8\varphi=\arcsin\frac{19}{21}\approx 64.8 degrees.

Pitfall: taking the inverse cosine, which gives the angle with the normal, 25.225.2 degrees.

Check: substitute an intersection point into the equation of the plane, check the equation of a plane on each of the given points, and remember that the acute angle between two planes stays between 00 and 9090 degrees. For a point-to-plane distance, the projection P−1749n⃗P-\frac{17}{49}\vec{n} must land in the plane.

Tick the exercises you have done or want to review: a free account, no password, keeps your ticks and your right answers from one visit to the next, tells you which chapter to tackle next and lets you ask for the exercise you are missing. Create your space, an email is enough.

Part A: equations, intersections and distances (/50)

Exercise 1: The equations of a line in space

Consider the points A(1,2,−1)A(1, 2, -1) and B(3,5,1)B(3, 5, 1) in space.

xyzOABd
  • a) Find a direction vector u⃗\vec{u} of the line dd through AA and BB.
  • b) Write the vector equation, the parametric equations and the symmetric equations of dd.
  • c) Does the point P(5,8,3)P(5, 8, 3) lie on dd? What about the point Q(0,0,0)Q(0, 0, 0)?

Type your answers, the page tells you right or wrong 0/6

a)
b)
c)
Show the solution

Answers

  • a) u⃗=(2,3,2)\vec u=(2, 3, 2)
  • b) x−12=y−23=z+12\frac{x-1}{2}=\frac{y-2}{3}=\frac{z+1}{2}
  • c) P∈dP\in d (t=2t=2); Q∉dQ\notin d
a)

u⃗=AB⃗=(3−1,5−2,1−(−1))=(2,3,2)\vec{u}=\vec{AB}=(3-1, 5-2, 1-(-1))=(2, 3, 2).

b)

Vector equation: (x,y,z)=(1,2,−1)+t(2,3,2)(x, y, z)=(1, 2, -1)+t(2, 3, 2). Parametric equations: x=1+2t, y=2+3t, z=−1+2tx=1+2t,\ y=2+3t,\ z=-1+2t. Symmetric equations: x−12=y−23=z+12\dfrac{x-1}{2}=\dfrac{y-2}{3}=\dfrac{z+1}{2}.

c)

For P(5,8,3)P(5, 8, 3): the first equation gives 5=1+2t5=1+2t, so t=2t=2; check y=2+3(2)=8y=2+3(2)=8 and z=−1+2(2)=3z=-1+2(2)=3. All three coordinates agree for the same tt, so P∈dP\in d. For Q(0,0,0)Q(0, 0, 0): 0=1+2t0=1+2t gives t=−12t=-\tfrac{1}{2}, but then y=2+3(−12)=12≠0y=2+3(-\tfrac{1}{2})=\tfrac{1}{2}\neq 0. The coordinates do not agree, so Q∉dQ\notin d.

Exercise 2: The scalar equation of a plane

Consider the points P(1,0,2)P(1, 0, 2), Q(3,1,1)Q(3, 1, 1) and R(2,2,3)R(2, 2, 3), assumed not collinear.

πPQR
  • a) Find two direction vectors of the plane π\pi through PP, QQ and RR.
  • b) Find a normal vector n⃗\vec{n} to π\pi, then a scalar equation of π\pi.
  • c) Check that QQ and RR satisfy your equation. Does the point S(0,0,0)S(0, 0, 0) lie in π\pi?

Type your answers, the page tells you right or wrong 0/4

a)
b)
c)
Show the solution

Answers

  • a) PQ⃗=(2,1,−1)\vec{PQ}=(2, 1, -1), PR⃗=(1,2,1)\vec{PR}=(1, 2, 1)
  • b) x−y+z−3=0x-y+z-3=0
  • c) QQ and RR check; S∉πS\notin\pi
a)

PQ⃗=(2,1,−1)\vec{PQ}=(2, 1, -1) and PR⃗=(1,2,1)\vec{PR}=(1, 2, 1) are two direction vectors of the plane.

b)

A normal vector is n⃗=PQ⃗×PR⃗=((1)(1)−(−1)(2),(−1)(1)−(2)(1),(2)(2)−(1)(1))=(3,−3,3)\vec{n}=\vec{PQ}\times\vec{PR}=((1)(1)-(-1)(2), (-1)(1)-(2)(1), (2)(2)-(1)(1))=(3, -3, 3). It can be simplified to n⃗=(1,−1,1)\vec{n}=(1, -1, 1). The plane passes through P(1,0,2)P(1, 0, 2): 1(x−1)−1(y−0)+1(z−2)=01(x-1)-1(y-0)+1(z-2)=0, that is x−y+z−3=0x-y+z-3=0.

c)

For Q(3,1,1)Q(3, 1, 1): 3−1+1−3=03-1+1-3=0; for R(2,2,3)R(2, 2, 3): 2−2+3−3=02-2+3-3=0. Both points satisfy the equation. For S(0,0,0)S(0, 0, 0): 0−0+0−3=−3≠00-0+0-3=-3\neq 0, so S∉πS\notin\pi.

Exercise 3: Relative positions and the intersection of a line and a plane

Take again the line dd with direction vector u⃗=(2,3,2)\vec{u}=(2, 3, 2) through A(1,2,−1)A(1, 2, -1), and the plane π:x−y+z−3=0\pi : x-y+z-3=0 with normal vector n⃗=(1,−1,1)\vec{n}=(1, -1, 1).

  • a) Show that dd is not parallel to π\pi, then find their point of intersection.
  • b) Consider the line d2d_{2} with equation (x,y,z)=(0,1,0)+s(1,2,1)(x, y, z)=(0, 1, 0)+s(1, 2, 1). Show that d2d_{2} is parallel to π\pi, then say whether it lies in π\pi or is strictly parallel to it.

Type your answers, the page tells you right or wrong 0/6

a)
b)
Show the solution

Answers

  • a) t=5t=5: point (11,17,9)(11, 17, 9)
  • b) v⃗⋅n⃗=0\vec v\cdot\vec n=0: strictly parallel
a)

u⃗⋅n⃗=(2)(1)+(3)(−1)+(2)(1)=2−3+2=1≠0\vec{u}\cdot\vec{n}=(2)(1)+(3)(-1)+(2)(1)=2-3+2=1\neq 0, so dd crosses the plane at a single point. Substitute the parametric equations of dd into the equation of π\pi: (1+2t)−(2+3t)+(−1+2t)−3=0(1+2t)-(2+3t)+(-1+2t)-3=0, that is −5+t=0-5+t=0, so t=5t=5. The point of intersection is (1+10,2+15,−1+10)=(11,17,9)(1+10, 2+15, -1+10)=(11, 17, 9). Check: 11−17+9−3=011-17+9-3=0.

b)

The direction vector of d2d_{2} is v⃗=(1,2,1)\vec{v}=(1, 2, 1) and v⃗⋅n⃗=(1)(1)+(2)(−1)+(1)(1)=1−2+1=0\vec{v}\cdot\vec{n}=(1)(1)+(2)(-1)+(1)(1)=1-2+1=0: d2d_{2} is therefore parallel to π\pi. It remains to test one point of d2d_{2}, for example (0,1,0)(0, 1, 0): 0−1+0−3=−4≠00-1+0-3=-4\neq 0, so this point is not in π\pi. The line d2d_{2} is strictly parallel to π\pi: they have no point in common.

The figure sums up the test: if the direction vector of the line is ORTHOGONAL to n⃗\vec{n}, the line is parallel to the plane, with either no point in common or all of its points in the plane.

planelinenormal nintersection point

Exercise 4: Distances in space

Keep the plane π:x−y+z−3=0\pi : x-y+z-3=0 and the line dd through A(1,2,−1)A(1, 2, -1) with direction vector u⃗=(2,3,2)\vec{u}=(2, 3, 2). Consider the point S(4,1,5)S(4, 1, 5).

πuAdS
  • a) Compute the distance from the point SS to the plane π\pi.
  • b) Compute the distance from the point SS to the line dd.
  • c) Consider the plane π2:x−y+z+1=0\pi_{2} : x-y+z+1=0. Show that π\pi and π2\pi_{2} are parallel, then compute the distance between them.

Type your answers, the page tells you right or wrong 0/3

a)
b)
c)
Show the solution

Answers

  • a) 533≈2.89\frac{5\sqrt3}{3}\approx 2.89
  • b) 55717≈5.72\sqrt{\frac{557}{17}}\approx 5.72
  • c) 433≈2.31\frac{4\sqrt3}{3}\approx 2.31
a)

dist(S,π)=∣4−1+5−3∣12+(−1)2+12=∣5∣3=53=533≈2.89\text{dist}(S,\pi)=\dfrac{|4-1+5-3|}{\sqrt{1^{2}+(-1)^{2}+1^{2}}}=\dfrac{|5|}{\sqrt{3}}=\dfrac{5}{\sqrt{3}}=\dfrac{5\sqrt{3}}{3}\approx 2.89.

b)

AS⃗=(4−1,1−2,5−(−1))=(3,−1,6)\vec{AS}=(4-1, 1-2, 5-(-1))=(3, -1, 6). Compute AS⃗×u⃗=((−1)(2)−(6)(3),(6)(2)−(3)(2),(3)(3)−(−1)(2))=(−20,6,11)\vec{AS}\times\vec{u}=((-1)(2)-(6)(3), (6)(2)-(3)(2), (3)(3)-(-1)(2))=(-20, 6, 11), with norm (−20)2+62+112=400+36+121=557\sqrt{(-20)^{2}+6^{2}+11^{2}}=\sqrt{400+36+121}=\sqrt{557}. Since ∥u⃗∥=4+9+4=17\|\vec{u}\|=\sqrt{4+9+4}=\sqrt{17}, we get dist(S,d)=55717=55717≈5.72\text{dist}(S,d)=\dfrac{\sqrt{557}}{\sqrt{17}}=\sqrt{\dfrac{557}{17}}\approx 5.72.

c)

The two planes have the same normal vector n⃗=(1,−1,1)\vec{n}=(1, -1, 1), so they are parallel. Writing π:x−y+z=3\pi : x-y+z=3 and π2:x−y+z=−1\pi_{2} : x-y+z=-1, the distance between them is ∣3−(−1)∣3=43=433≈2.31\dfrac{|3-(-1)|}{\sqrt{3}}=\dfrac{4}{\sqrt{3}}=\dfrac{4\sqrt{3}}{3}\approx 2.31.

πH5/√3 ≈ 2.89S

Exercise 5: The intersection of two planes and the angle between them

Consider the planes π1:x+y+z−1=0\pi_{1} : x+y+z-1=0 with normal vector n1⃗=(1,1,1)\vec{n_{1}}=(1, 1, 1) and π2:2x−y+z−2=0\pi_{2} : 2x-y+z-2=0 with normal vector n2⃗=(2,−1,1)\vec{n_{2}}=(2, -1, 1).

  • a) Show that π1\pi_{1} and π2\pi_{2} are not parallel.
  • b) Find a direction vector of their line of intersection Δ\Delta.
  • c) Find a point of Δ\Delta, then write a vector equation of Δ\Delta.
  • d) Compute the acute angle between the two planes, to the nearest hundredth of a degree.

Type your answers, the page tells you right or wrong 0/5

b)
c)
d)
Show the solution

Answers

  • a) Normals not parallel
  • b) (2,1,−3)(2, 1, -3)
  • c) (1,0,0)+t(2,1,−3)(1, 0, 0)+t(2, 1, -3)
  • d) 61.87∘61.87^\circ
a)

Two planes are parallel if and only if their normal vectors are scalar multiples of each other. But n1⃗=(1,1,1)\vec{n_{1}}=(1, 1, 1) and n2⃗=(2,−1,1)\vec{n_{2}}=(2, -1, 1) are not, since 21≠−11\dfrac{2}{1}\neq\dfrac{-1}{1}. The planes are therefore not parallel: they meet along a line.

b)

The line of intersection lies in both planes, so its direction vector is perpendicular to both normals at once. Take it equal to their cross product: d⃗=n1⃗×n2⃗=((1)(1)−(1)(−1),(1)(2)−(1)(1),(1)(−1)−(1)(2))=(2,1,−3)\vec{d}=\vec{n_{1}}\times\vec{n_{2}}=((1)(1)-(1)(-1), (1)(2)-(1)(1), (1)(-1)-(1)(2))=(2, 1, -3).

c)

Look for a point common to both planes by fixing one coordinate, for example z=0z=0. The system becomes {x+y=12x−y=2\begin{cases} x+y=1 \\ 2x-y=2 \end{cases}. Adding: 3x=33x=3, so x=1x=1 and y=0y=0. The point I(1,0,0)I(1, 0, 0) does lie in both planes: 1+0+0−1=01+0+0-1=0 and 2−0+0−2=02-0+0-2=0. A vector equation of Δ\Delta is therefore (x,y,z)=(1,0,0)+t(2,1,−3)(x, y, z)=(1, 0, 0)+t(2, 1, -3).

d)

The angle between two planes is the angle between their normals, brought back to the acute angle by the absolute value: cos⁡θ=∣n1⃗⋅n2⃗∣∥n1⃗∥ ∥n2⃗∥\cos\theta=\dfrac{|\vec{n_{1}}\cdot\vec{n_{2}}|}{\|\vec{n_{1}}\|\,\|\vec{n_{2}}\|}. Here n1⃗⋅n2⃗=(1)(2)+(1)(−1)+(1)(1)=2\vec{n_{1}}\cdot\vec{n_{2}}=(1)(2)+(1)(-1)+(1)(1)=2, ∥n1⃗∥=3\|\vec{n_{1}}\|=\sqrt{3} and ∥n2⃗∥=6\|\vec{n_{2}}\|=\sqrt{6}, so cos⁡θ=218=232=23≈0.4714\cos\theta=\dfrac{2}{\sqrt{18}}=\dfrac{2}{3\sqrt{2}}=\dfrac{\sqrt{2}}{3}\approx 0.4714, hence θ≈61.87∘\theta\approx 61.87^{\circ}. The absolute value is what guarantees an acute angle: without it, a negative dot product would give the supplementary obtuse angle.

The figure shows the two planes edge-on: they meet along a line, and the angle between the planes is the angle between their normals.

π₁π₂n₁n₂θθ

Part B: exam level (/50)

Exercise 6: Two skew lines and the distance between them

Consider the line d1d_{1} through A(1,0,0)A(1, 0, 0) with direction vector u⃗=(1,2,1)\vec{u}=(1, 2, 1), and the line d2d_{2} through C(0,1,2)C(0, 1, 2) with direction vector v⃗=(2,−1,1)\vec{v}=(2, -1, 1).

xyzOuvACd₁d₂
  • a) Compute u⃗×v⃗\vec{u}\times\vec{v} and deduce that d1d_{1} and d2d_{2} are not parallel.
  • b) By computing the scalar triple product AC⃗⋅(u⃗×v⃗)\vec{AC}\cdot(\vec{u}\times\vec{v}), show that d1d_{1} and d2d_{2} are not coplanar. Conclude that they are skew.
  • c) Explain why the distance between two skew lines is dist=∣AC⃗⋅(u⃗×v⃗)∣∥u⃗×v⃗∥\text{dist}=\dfrac{|\vec{AC}\cdot(\vec{u}\times\vec{v})|}{\|\vec{u}\times\vec{v}\|}, then compute it.
  • d) Replace the direction vector of d2d_{2} by vm⃗=(2,−1,m)\vec{v_{m}}=(2, -1, m). Find the value of mm for which d1d_{1} and d2d_{2} become coplanar.

Type your answers, the page tells you right or wrong 0/7

a)
b)
c)
d)
Show the solution

Answers

  • a) (3,1,−5)(3, 1, -5): not parallel
  • b) −12-12: skew
  • c) 1235≈2.03\frac{12}{\sqrt{35}}\approx 2.03
  • d) m=−3m=-3
a)

u⃗×v⃗=((2)(1)−(1)(−1),(1)(2)−(1)(1),(1)(−1)−(2)(2))=(3,1,−5)\vec{u}\times\vec{v}=((2)(1)-(1)(-1), (1)(2)-(1)(1), (1)(-1)-(2)(2))=(3, 1, -5). This vector is not zero, so u⃗\vec{u} and v⃗\vec{v} are not parallel: the lines are not parallel.

b)

AC⃗=(0−1,1−0,2−0)=(−1,1,2)\vec{AC}=(0-1, 1-0, 2-0)=(-1, 1, 2). The scalar triple product is AC⃗⋅(u⃗×v⃗)=(−1)(3)+(1)(1)+(2)(−5)=−3+1−10=−12≠0\vec{AC}\cdot(\vec{u}\times\vec{v})=(-1)(3)+(1)(1)+(2)(-5)=-3+1-10=-12\neq 0. The three vectors are not coplanar, so the lines do not meet. Being neither parallel nor intersecting, d1d_{1} and d2d_{2} are skew.

c)

The vector u⃗×v⃗\vec{u}\times\vec{v} is perpendicular to both u⃗\vec{u} and v⃗\vec{v}: it is the direction of the common perpendicular of the two lines. The required distance is the length of the projection of AC⃗\vec{AC} (which joins a point of each line) onto this common direction, that is ∣AC⃗⋅(u⃗×v⃗)∣∥u⃗×v⃗∥\dfrac{|\vec{AC}\cdot(\vec{u}\times\vec{v})|}{\|\vec{u}\times\vec{v}\|}. Numerically: ∥u⃗×v⃗∥=32+12+(−5)2=35\|\vec{u}\times\vec{v}\|=\sqrt{3^{2}+1^{2}+(-5)^{2}}=\sqrt{35}, so dist=∣−12∣35=1235=123535≈2.03\text{dist}=\dfrac{|-12|}{\sqrt{35}}=\dfrac{12}{\sqrt{35}}=\dfrac{12\sqrt{35}}{35}\approx 2.03.

The figure says it in one picture: the two lines never meet, and the distance is measured along their common perpendicular.

d)

With vm⃗=(2,−1,m)\vec{v_{m}}=(2, -1, m): u⃗×vm⃗=((2)(m)−(1)(−1),(1)(2)−(1)(m),(1)(−1)−(2)(2))=(2m+1,2−m,−5)\vec{u}\times\vec{v_{m}}=((2)(m)-(1)(-1), (1)(2)-(1)(m), (1)(-1)-(2)(2))=(2m+1, 2-m, -5). The scalar triple product becomes AC⃗⋅(u⃗×vm⃗)=(−1)(2m+1)+(1)(2−m)+(2)(−5)=−2m−1+2−m−10=−3m−9\vec{AC}\cdot(\vec{u}\times\vec{v_{m}})=(-1)(2m+1)+(1)(2-m)+(2)(-5)=-2m-1+2-m-10=-3m-9. The lines are coplanar when this triple product vanishes: −3m−9=0-3m-9=0, so m=−3m=-3.

d₁d₂d

Exercise 7: Problem: the paths of two drones

Two drones fly in straight lines in space, with an orthonormal coordinate system graduated in kilometres. Time tt is measured in minutes from the same initial instant. The position of drone 1 is r1⃗(t)=(1,2,0)+t(2,1,1)\vec{r_{1}}(t)=(1, 2, 0)+t(2, 1, 1) and that of drone 2 is r2⃗(t)=(4,6,−1)+t(1,−2,3)\vec{r_{2}}(t)=(4, 6, -1)+t(1, -2, 3).

The figure shows the two paths, with the position of each drone at the initial instant and its velocity.

drone 1drone 2
  • a) Do the two paths, seen as lines, cross? If so, at what point in space?
  • b) Is there a collision, that is, do the two drones pass through the same place at the same instant? Justify.
  • c) Find the acute angle between the two paths, to the nearest tenth of a degree.

Type your answers, the page tells you right or wrong 0/5

a)
b)
c)
Show the solution

Answers

  • a) Yes: (5,4,2)(5, 4, 2)
  • b) No collision: times 2 and 1
  • c) 70.9∘70.9^\circ
a)

Look for parameters tt (drone 1) and ss (drone 2) that give the same point: {1+2t=4+s2+t=6−2st=−1+3s\begin{cases} 1+2t=4+s \\ 2+t=6-2s \\ t=-1+3s \end{cases}. The third equation gives t=3s−1t=3s-1; substituting into the first: 1+2(3s−1)=4+s1+2(3s-1)=4+s, that is 6s−1=4+s6s-1=4+s, so s=1s=1 and t=2t=2. Check the second: 2+2=42+2=4 and 6−2(1)=46-2(1)=4. The system is consistent: the paths cross. The common point is r1⃗(2)=(1+4,2+2,0+2)=(5,4,2)\vec{r_{1}}(2)=(1+4, 2+2, 0+2)=(5, 4, 2), and indeed r2⃗(1)=(4+1,6−2,−1+3)=(5,4,2)\vec{r_{2}}(1)=(4+1, 6-2, -1+3)=(5, 4, 2).

b)

Drone 1 reaches the point (5,4,2)(5, 4, 2) at time t=2t=2 min, while drone 2 passes through it at time s=1s=1 min. The times are different, so there is NO collision: the paths cross in space, but the drones are never there at the same time. This is the key distinction of the problem: two paths can cross without the drones ever meeting.

c)

The direction vectors are u1⃗=(2,1,1)\vec{u_{1}}=(2, 1, 1) and u2⃗=(1,−2,3)\vec{u_{2}}=(1, -2, 3). We have u1⃗⋅u2⃗=(2)(1)+(1)(−2)+(1)(3)=3\vec{u_{1}}\cdot\vec{u_{2}}=(2)(1)+(1)(-2)+(1)(3)=3, ∥u1⃗∥=6\|\vec{u_{1}}\|=\sqrt{6} and ∥u2⃗∥=14\|\vec{u_{2}}\|=\sqrt{14}. So cos⁡θ=∣3∣614=384≈0.3273\cos\theta=\dfrac{|3|}{\sqrt{6}\sqrt{14}}=\dfrac{3}{\sqrt{84}}\approx 0.3273, hence θ≈70.9∘\theta\approx 70.9^{\circ}.

Exercise 8: Orthogonal projection and reflection of a point: in a plane and in a line

Work in an orthonormal coordinate system of space. Consider the plane π:x−y+z−3=0\pi : x-y+z-3=0 with normal vector n⃗=(1,−1,1)\vec{n}=(1, -1, 1) and the point M(3,1,4)M(3, 1, 4).

Consider also the line ℓ\ell through A(0,1,0)A(0, 1, 0) with direction vector u⃗=(2,−1,2)\vec{u}=(2, -1, 2), and the point P(1,0,3)P(1, 0, 3).

πnMuAPℓ
  • a) Find the orthogonal projection HH of MM onto the plane π\pi, and the distance from MM to π\pi.
  • b) Find the reflection M′M' of MM in the plane π\pi, and check that HH is the midpoint of MM′MM'.
  • c) Find the orthogonal projection FF of PP onto the line ℓ\ell, and the distance from PP to ℓ\ell.
  • d) Find the reflection P′P' of PP in the line ℓ\ell.

Type your answers, the page tells you right or wrong 0/14

a)
b)
c)
d)
Show the solution

Answers

  • a) H(2,2,3)H(2, 2, 3), distance 3\sqrt3
  • b) M′(1,3,2)M'(1, 3, 2)
  • c) F(2,0,2)F(2, 0, 2), distance 2\sqrt2
  • d) P′(3,0,1)P'(3, 0, 1)
a)

The orthogonal projection of MM onto π\pi is reached by moving from MM along the normal: H=M−axM+byM+czM+da2+b2+c2 n⃗H=M-\dfrac{ax_{M}+by_{M}+cz_{M}+d}{a^{2}+b^{2}+c^{2}}\,\vec{n}. Here axM+byM+czM+d=3−1+4−3=3ax_{M}+by_{M}+cz_{M}+d=3-1+4-3=3 and a2+b2+c2=3a^{2}+b^{2}+c^{2}=3, so the coefficient is 33=1\dfrac{3}{3}=1 and H=M−1⋅n⃗=(3,1,4)−(1,−1,1)=(2,2,3)H=M-1\cdot\vec{n}=(3, 1, 4)-(1, -1, 1)=(2, 2, 3). Check that H∈πH\in\pi: 2−2+3−3=02-2+3-3=0. The distance from MM to π\pi is ∣3∣3=3≈1.73\dfrac{|3|}{\sqrt{3}}=\sqrt{3}\approx 1.73, which is also the length MHMH.

b)

The reflection is reached by going twice as far along the normal: M′=M−2⋅1⋅n⃗=(3,1,4)−(2,−2,2)=(1,3,2)M'=M-2\cdot 1\cdot\vec{n}=(3, 1, 4)-(2, -2, 2)=(1, 3, 2). The midpoint of MM′MM' is (3+12,1+32,4+22)=(2,2,3)=H\left(\dfrac{3+1}{2}, \dfrac{1+3}{2}, \dfrac{4+2}{2}\right)=(2, 2, 3)=H, which confirms the computation: the projection is always the midpoint of a point and its reflection.

c)

The orthogonal projection of PP onto ℓ\ell is the foot of the perpendicular: F=A+t u⃗F=A+t\,\vec{u} with t=AP⃗⋅u⃗∥u⃗∥2t=\dfrac{\vec{AP}\cdot\vec{u}}{\|\vec{u}\|^{2}}. We have AP⃗=(1−0,0−1,3−0)=(1,−1,3)\vec{AP}=(1-0, 0-1, 3-0)=(1, -1, 3), so AP⃗⋅u⃗=(1)(2)+(−1)(−1)+(3)(2)=2+1+6=9\vec{AP}\cdot\vec{u}=(1)(2)+(-1)(-1)+(3)(2)=2+1+6=9 and ∥u⃗∥2=4+1+4=9\|\vec{u}\|^{2}=4+1+4=9, hence t=1t=1. Thus F=(0,1,0)+1⋅(2,−1,2)=(2,0,2)F=(0, 1, 0)+1\cdot(2, -1, 2)=(2, 0, 2). Check the orthogonality: PF⃗=(1,0,−1)\vec{PF}=(1, 0, -1) and PF⃗⋅u⃗=(1)(2)+(0)(−1)+(−1)(2)=0\vec{PF}\cdot\vec{u}=(1)(2)+(0)(-1)+(-1)(2)=0. The distance from PP to ℓ\ell is ∥PF⃗∥=1+0+1=2≈1.41\|\vec{PF}\|=\sqrt{1+0+1}=\sqrt{2}\approx 1.41.

d)

As with the plane, the foot FF is the midpoint of PP′PP', so P′=2F−P=(4,0,4)−(1,0,3)=(3,0,1)P'=2F-P=(4, 0, 4)-(1, 0, 3)=(3, 0, 1). Check: the midpoint of P(1,0,3)P(1, 0, 3) and P′(3,0,1)P'(3, 0, 1) is (2,0,2)=F(2, 0, 2)=F. The same principle governs reflection in a plane and in a line: find the foot of the perpendicular, then extend by the same length on the other side.

Exercise 9: Problem: the plane through a line and a point, and the pencil of planes

Consider the line ℓ\ell through A(1,0,2)A(1, 0, 2) with direction vector u⃗=(2,1,−1)\vec{u}=(2, 1, -1), and the point M(0,3,1)M(0, 3, 1).

xyzOuAMℓ
  • a) Show that MM does not lie on ℓ\ell.
  • b) Find a normal vector, then a scalar equation of the plane π\pi that contains both the line ℓ\ell and the point MM.
  • c) Check that u⃗\vec{u} is indeed parallel to π\pi, and compute the distance from the point S(4,2,0)S(4, 2, 0) to π\pi.
  • d) Explain why there are infinitely many planes containing the line ℓ\ell, but only one that also contains the point MM. What role does the hypothesis “MM is not on ℓ\ell” play here?

Type your answers, the page tells you right or wrong 0/6

a)
b)
c)
Show the solution

Answers

  • a) No tt works
  • b) 2x+3y+7z−16=02x+3y+7z-16=0
  • c) u⃗⋅n⃗=0\vec u\cdot\vec n=0; distance 262≈0.25\frac{2}{\sqrt{62}}\approx 0.25
  • d) Pencil of planes with axis ℓ\ell; a single plane through MM
a)

If MM were on ℓ\ell, there would be a tt with M=A+t u⃗M=A+t\,\vec{u}. The first coordinate requires 0=1+2t0=1+2t, so t=−12t=-\dfrac{1}{2}. But then the second coordinate would be 0+(−12)(1)=−12≠30+(-\tfrac{1}{2})(1)=-\dfrac{1}{2}\neq 3. No value of tt works, so M∉ℓM\notin\ell.

b)

The required plane contains the direction u⃗\vec{u} of the line and the vector AM⃗=(0−1,3−0,1−2)=(−1,3,−1)\vec{AM}=(0-1, 3-0, 1-2)=(-1, 3, -1), which joins a point of the line to the point MM. A normal vector is their cross product: n⃗=u⃗×AM⃗=((1)(−1)−(−1)(3),(−1)(−1)−(2)(−1),(2)(3)−(1)(−1))=(2,3,7)\vec{n}=\vec{u}\times\vec{AM}=((1)(-1)-(-1)(3), (-1)(-1)-(2)(-1), (2)(3)-(1)(-1))=(2, 3, 7). The plane passes through A(1,0,2)A(1, 0, 2): 2(x−1)+3(y−0)+7(z−2)=02(x-1)+3(y-0)+7(z-2)=0, that is 2x+3y+7z−16=02x+3y+7z-16=0. Check on MM: 2(0)+3(3)+7(1)−16=9+7−16=02(0)+3(3)+7(1)-16=9+7-16=0.

c)

u⃗\vec{u} is parallel to π\pi if and only if it is orthogonal to the normal: u⃗⋅n⃗=(2)(2)+(1)(3)+(−1)(7)=4+3−7=0\vec{u}\cdot\vec{n}=(2)(2)+(1)(3)+(-1)(7)=4+3-7=0. That is the case, which confirms that the whole line lies in the plane (it has one point there, AA, and a parallel direction). For the distance from S(4,2,0)S(4, 2, 0): ∣2(4)+3(2)+7(0)−16∣22+32+72=∣8+6−16∣62=262≈0.25\dfrac{|2(4)+3(2)+7(0)-16|}{\sqrt{2^{2}+3^{2}+7^{2}}}=\dfrac{|8+6-16|}{\sqrt{62}}=\dfrac{2}{\sqrt{62}}\approx 0.25.

d)

Every plane containing ℓ\ell must contain its direction u⃗\vec{u} and one of its points: by rotating about the line, we get infinitely many of them, the pencil of planes with axis ℓ\ell. To single out one plane, an extra condition is needed, and a point off the line is one: exactly one plane of the pencil passes through M∉ℓM\notin\ell. The hypothesis “MM is not on ℓ\ell” is essential: if MM were on the line, it would add no information and every plane of the pencil would contain it, without singling out any. The cross product u⃗×AM⃗\vec{u}\times\vec{AM} would also be zero, and could not provide a normal.

Exercise 10: Problem: bisector planes and the set of points equidistant from two planes

Consider the two planes π1:2x−y+2z=0\pi_{1} : 2x-y+2z=0 and π2:x+2y−2z=0\pi_{2} : x+2y-2z=0. Note first that their normal vectors have the same norm, which simplifies everything that follows.

  • a) Check that ∥n1⃗∥=∥n2⃗∥\|\vec{n_{1}}\|=\|\vec{n_{2}}\|, then compute the distance from the point Q(3,1,0)Q(3, 1, 0) to each of the two planes. What do you notice?
  • b) Find the set of points in space equidistant from π1\pi_{1} and π2\pi_{2}. Show that it consists of two planes, and give their equations.
  • c) Prove that these two bisector planes are perpendicular to each other.
  • d) Which of the two bisector planes contains the point QQ from part a)? Interpret geometrically.

Type your answers, the page tells you right or wrong 0/5

a)
b)
c)
d)
Show the solution

Answers

  • a) Norms 3; 53\frac53 and 53\frac53
  • b) x−3y+4z=0x-3y+4z=0 and 3x+y=03x+y=0
  • c) Orthogonal normals
  • d) QQ on x−3y+4z=0x-3y+4z=0
a)

n1⃗=(2,−1,2)\vec{n_{1}}=(2, -1, 2) and n2⃗=(1,2,−2)\vec{n_{2}}=(1, 2, -2) have norms ∥n1⃗∥=4+1+4=3\|\vec{n_{1}}\|=\sqrt{4+1+4}=3 and ∥n2⃗∥=1+4+4=3\|\vec{n_{2}}\|=\sqrt{1+4+4}=3: they are equal. For Q(3,1,0)Q(3, 1, 0): dist(Q,π1)=∣2(3)−1+0∣3=53\text{dist}(Q,\pi_{1})=\dfrac{|2(3)-1+0|}{3}=\dfrac{5}{3} and dist(Q,π2)=∣3+2(1)−0∣3=53\text{dist}(Q,\pi_{2})=\dfrac{|3+2(1)-0|}{3}=\dfrac{5}{3}. The point QQ is equidistant from the two planes.

b)

A point (x,y,z)(x, y, z) is equidistant from the two planes when ∣2x−y+2z∣3=∣x+2y−2z∣3\dfrac{|2x-y+2z|}{3}=\dfrac{|x+2y-2z|}{3}, that is ∣2x−y+2z∣=∣x+2y−2z∣|2x-y+2z|=|x+2y-2z|. Since the denominators are equal, they cancel, and an equality of two absolute values gives two cases. Case ++: 2x−y+2z=x+2y−2z2x-y+2z=x+2y-2z, that is x−3y+4z=0x-3y+4z=0. Case −-: 2x−y+2z=−(x+2y−2z)2x-y+2z=-(x+2y-2z), that is 3x+y=03x+y=0. The equidistant set is therefore the union of the two planes x−3y+4z=0x-3y+4z=0 and 3x+y=03x+y=0, called the bisector planes of the two original planes.

c)

The first bisector plane has normal a⃗=(1,−3,4)\vec{a}=(1, -3, 4) and the second b⃗=(3,1,0)\vec{b}=(3, 1, 0). Their dot product is a⃗⋅b⃗=(1)(3)+(−3)(1)+(4)(0)=3−3+0=0\vec{a}\cdot\vec{b}=(1)(3)+(-3)(1)+(4)(0)=3-3+0=0. The normals are orthogonal, so the two bisector planes are perpendicular. This is a general fact: the two bisector planes of two intersecting planes are always perpendicular to each other, exactly like the two angle bisectors of two intersecting lines in the plane.

d)

Test Q(3,1,0)Q(3, 1, 0) in both equations. First bisector plane: 3−3(1)+4(0)=03-3(1)+4(0)=0, satisfied. Second bisector plane: 3(3)+1=10≠03(3)+1=10\neq 0, not satisfied. The point QQ therefore lies on the bisector plane x−3y+4z=0x-3y+4z=0. Interpretation: this plane is the set of points inside one of the two dihedral angles formed by π1\pi_{1} and π2\pi_{2}, at equal distance from its two faces; the other bisector plane plays the same role for the supplementary dihedral angle.

Part C: the classics (/50)

Exercise 11: The angle between a line and a plane

Consider the line dd through the origin OO with direction vector u⃗=(1,2,2)\vec{u}=(1, 2, 2), and the plane π:2x−y+2z=9\pi : 2x-y+2z=9 with normal vector n⃗=(2,−1,2)\vec{n}=(2, -1, 2).

πunOd
  • a) Compute the angle between u⃗\vec{u} and n⃗\vec{n}, to the nearest tenth of a degree.
  • b) Deduce the angle between the line dd and the plane π\pi.
  • c) Find the point of intersection of dd and π\pi.
  • d) Find a direction vector, with integer components, of the orthogonal projection of dd onto π\pi.
  • e) For which value of kk is the line with direction (1,2,k)(1, 2, k) parallel to π\pi?

Type your answers, the page tells you right or wrong 0/8

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) 63.6∘63.6^\circ
  • b) 26.4∘26.4^\circ
  • c) (94,92,92)\left(\frac94, \frac92, \frac92\right)
  • d) (1,22,10)(1, 22, 10)
  • e) k=0k=0
a)

u⃗⋅n⃗=2−2+4=4\vec{u}\cdot\vec{n}=2-2+4=4, ∥u⃗∥=∥n⃗∥=3\|\vec{u}\|=\|\vec{n}\|=3, so cos⁡θ=49\cos\theta=\frac{4}{9} and θ≈63.6∘\theta\approx 63.6^{\circ}.

b)

The angle between a line and a plane is the angle between the line and its projection onto the plane: it is the COMPLEMENT of the angle with the normal. φ=90∘−63.6∘≈26.4∘\varphi=90^{\circ}-63.6^{\circ}\approx 26.4^{\circ}, or directly sin⁡φ=∣u⃗⋅n⃗∣∥u⃗∥ ∥n⃗∥=49\sin\varphi=\frac{|\vec{u}\cdot\vec{n}|}{\|\vec{u}\|\,\|\vec{n}\|}=\frac{4}{9}.

Pitfall: answering 63.6∘63.6^{\circ} is the classic error, since it is the angle with the normal.

c)

The point (t,2t,2t)(t, 2t, 2t) satisfies 2t−2t+4t=92t-2t+4t=9, so t=94t=\frac{9}{4}: the point of intersection is (94,92,92)=(2.25,4.5,4.5)\left(\frac{9}{4}, \frac{9}{2}, \frac{9}{2}\right)=(2.25, 4.5, 4.5).

d)

Remove from u⃗\vec{u} its component along the normal: u⃗−u⃗⋅n⃗∥n⃗∥2n⃗=(1,2,2)−49(2,−1,2)=(19,229,109)\vec{u}-\frac{\vec{u}\cdot\vec{n}}{\|\vec{n}\|^{2}}\vec{n}=(1, 2, 2)-\frac{4}{9}(2, -1, 2)=\left(\frac{1}{9}, \frac{22}{9}, \frac{10}{9}\right), parallel to (1,22,10)(1, 22, 10). Check: (1,22,10)⋅n⃗=2−22+20=0(1, 22, 10)\cdot\vec{n}=2-22+20=0, so the direction does lie in the plane.

e)

Parallel to the plane means orthogonal to the normal: 2−2+2k=02-2+2k=0, so k=0k=0.

The thread: between a line and a plane, compute with the normal, then take the complement; the sine replaces the cosine.

Exercise 12: Three planes: a point, a line or nothing

Consider the planes π1:x+y+z=6\pi_{1} : x+y+z=6 and π2:x−y+2z=5\pi_{2} : x-y+2z=5, and three possible planes to complete the system: π3:x+2y−z=2\pi_{3} : x+2y-z=2, π3′:2x+3z=11\pi_{3}' : 2x+3z=11 and π3′′:2x+3z=12\pi_{3}'' : 2x+3z=12.

  • a) Show that π1\pi_{1}, π2\pi_{2} and π3\pi_{3} have exactly one point in common, and find it.
  • b) Compute the determinant of the normals of π1\pi_{1}, π2\pi_{2} and π3′\pi_{3}'. Show that these three planes share a common line, and give a direction vector of it.
  • c) Find the point of this common line that lies in the plane z=0z=0.
  • d) Do the planes π1\pi_{1}, π2\pi_{2} and π3′′\pi_{3}'' have a point in common? Describe their configuration.
  • e) For which values of kk do the planes π1\pi_{1}, π2\pi_{2} and 2x+3z=k2x+3z=k have infinitely many points in common?

Type your answers, the page tells you right or wrong 0/10

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) Point (1,2,3)(1, 2, 3)
  • b) Zero determinant; line with direction (3,−1,−2)(3, -1, -2)
  • c) (5.5,0.5,0)(5.5, 0.5, 0)
  • d) No point: prism
  • e) k=11k=11
a)

∣1111−1212−1∣=1(1−4)−1(−1−2)+1(2+1)=3≠0\begin{vmatrix} 1 & 1 & 1 \\ 1 & -1 & 2 \\ 1 & 2 & -1 \end{vmatrix}=1(1-4)-1(-1-2)+1(2+1)=3\neq 0: the normals are not coplanar, so the system has a unique solution. Adding π1\pi_{1} and π3\pi_{3}: 2x+3y=82x+3y=8; subtracting π2\pi_{2} from π1\pi_{1}: 2y−z=12y-z=1, so z=2y−1z=2y-1, and π1\pi_{1} gives x=7−3yx=7-3y. Then 14−6y+3y=814-6y+3y=8, so y=2y=2, x=1x=1, z=3z=3. The common point is (1,2,3)(1, 2, 3); check in π2\pi_{2}: 1−2+6=51-2+6=5.

b)

∣1111−12203∣=1(−3)−1(3−4)+1(0+2)=0\begin{vmatrix} 1 & 1 & 1 \\ 1 & -1 & 2 \\ 2 & 0 & 3 \end{vmatrix}=1(-3)-1(3-4)+1(0+2)=0. Indeed π1+π2\pi_{1}+\pi_{2} gives exactly 2x+3z=112x+3z=11: every point common to π1\pi_{1} and π2\pi_{2} lies on π3′\pi_{3}'. The three planes therefore contain the line π1∩π2\pi_{1}\cap\pi_{2}, with direction vector n1⃗×n2⃗=(1⋅2−1⋅(−1),1⋅1−1⋅2,1⋅(−1)−1⋅1)=(3,−1,−2)\vec{n_{1}}\times\vec{n_{2}}=(1\cdot 2-1\cdot(-1), 1\cdot 1-1\cdot 2, 1\cdot(-1)-1\cdot 1)=(3, -1, -2).

c)

With z=0z=0: x+y=6x+y=6 and x−y=5x-y=5, so x=5.5x=5.5 and y=0.5y=0.5. The point is (5.5,0.5,0)(5.5, 0.5, 0), and it does satisfy 2(5.5)+0=112(5.5)+0=11.

d)

No: a point common to π1\pi_{1} and π2\pi_{2} satisfies 2x+3z=112x+3z=11, so never 2x+3z=122x+3z=12. There is no common point. Since the normals are the same as in b), the planes meet in pairs along three parallel lines with direction (3,−1,−2)(3, -1, -2): the configuration is a PRISM.

e)

The equation must follow from the other two, so k=11k=11: it is the only value, the case of b). For any other value of kk, we are in the prism case, since the determinant is zero whatever kk is.

The thread: a non-zero determinant gives a point; when it is zero, it remains to see whether the third equation follows from the other two (a common line) or contradicts them (a prism).

Exercise 13: The common perpendicular of two skew lines

Consider the line d1d_{1} given by (t,t,0)(t, t, 0) and the line d2d_{2} given by (1,s,2+s)(1, s, 2+s), for real tt and ss. Let u⃗=(1,1,0)\vec{u}=(1, 1, 0) and v⃗=(0,1,1)\vec{v}=(0, 1, 1) be their direction vectors.

xyzOuvd₁d₂
  • a) Show that d1d_{1} and d2d_{2} are skew.
  • b) We look for the point PP of d1d_{1} and the point QQ of d2d_{2} such that PQ⃗\vec{PQ} is orthogonal to u⃗\vec{u} and to v⃗\vec{v}. Write the two conditions and find tt and ss.
  • c) Give the coordinates of PP and QQ.
  • d) Compute PQPQ to three decimal places, and check the result with the scalar triple product formula.
  • e) Show that PQ⃗\vec{PQ} is parallel to u⃗×v⃗\vec{u}\times\vec{v}. Why is this expected?

Type your answers, the page tells you right or wrong 0/9

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) Scalar triple product 3: skew
  • b) t=0t=0, s=−1s=-1
  • c) P(0,0,0)P(0, 0, 0), Q(1,−1,1)Q(1, -1, 1)
  • d) PQ=3≈1.732PQ=\sqrt3\approx 1.732
  • e) PQ⃗=u⃗×v⃗\vec{PQ}=\vec u\times\vec v
a)

u⃗\vec{u} and v⃗\vec{v} are not parallel, so the lines are not parallel. With A=(0,0,0)A=(0, 0, 0) on d1d_{1} and C=(1,0,2)C=(1, 0, 2) on d2d_{2}: u⃗×v⃗=(1⋅1−0⋅1,0⋅0−1⋅1,1⋅1−1⋅0)=(1,−1,1)\vec{u}\times\vec{v}=(1\cdot 1-0\cdot 1, 0\cdot 0-1\cdot 1, 1\cdot 1-1\cdot 0)=(1, -1, 1) and AC⃗⋅(u⃗×v⃗)=1+0+2=3≠0\vec{AC}\cdot(\vec{u}\times\vec{v})=1+0+2=3\neq 0: they are not coplanar, hence skew.

b)

PQ⃗=(1−t,s−t,2+s)\vec{PQ}=(1-t, s-t, 2+s). PQ⃗⋅u⃗=1−t+s−t=1+s−2t=0\vec{PQ}\cdot\vec{u}=1-t+s-t=1+s-2t=0 and PQ⃗⋅v⃗=s−t+2+s=2s−t+2=0\vec{PQ}\cdot\vec{v}=s-t+2+s=2s-t+2=0. The second gives t=2s+2t=2s+2, and the first 1+s−4s−4=01+s-4s-4=0, so s=−1s=-1 and then t=0t=0.

c)

P=(0,0,0)P=(0, 0, 0) and Q=(1,−1,1)Q=(1, -1, 1).

d)

PQ⃗=(1,−1,1)\vec{PQ}=(1, -1, 1) and PQ=3≈1.732PQ=\sqrt{3}\approx 1.732. With the scalar triple product: ∣AC⃗⋅(u⃗×v⃗)∣∥u⃗×v⃗∥=33=3\frac{|\vec{AC}\cdot(\vec{u}\times\vec{v})|}{\|\vec{u}\times\vec{v}\|}=\frac{3}{\sqrt{3}}=\sqrt{3}. The two computations agree.

e)

PQ⃗=(1,−1,1)=u⃗×v⃗\vec{PQ}=(1, -1, 1)=\vec{u}\times\vec{v}. This is expected: PQ⃗\vec{PQ} is orthogonal to both directions, and in space the vectors orthogonal to two non-parallel vectors are exactly the multiples of their cross product. The common perpendicular is the only line that meets both lines at right angles, and PQPQ is the shortest distance between them.

The thread: the distance between two skew lines comes from the scalar triple product; the common perpendicular is found by imposing two orthogonality conditions.

Exercise 14: Problem: the reflection of a light ray in a plane mirror

A mirror occupies the plane π:x+y+z=3\pi : x+y+z=3, with normal vector n⃗=(1,1,1)\vec{n}=(1, 1, 1). A light ray leaves the source S(0,0,6)S(0, 0, 6) in the direction d⃗=(1,2,−5)\vec{d}=(1, 2, -5).

On reflection, the component of the ray along the normal changes sign and the component parallel to the mirror is kept: r⃗=d⃗−2d⃗⋅n⃗∥n⃗∥2n⃗\vec{r}=\vec{d}-2\frac{\vec{d}\cdot\vec{n}}{\|\vec{n}\|^{2}}\vec{n}.

The figure shows the mirror, the source and the direction of the ray.

πdSn
  • a) Find the point II where the ray hits the mirror.
  • b) Compute the direction r⃗\vec{r} of the reflected ray, then give it with integer components.
  • c) Check that the incident ray and the reflected ray make the same angle with the normal.
  • d) Find the reflection S′S' of the source in the plane of the mirror.
  • e) Show that the vector S′I⃗\vec{S'I} is parallel to the reflected direction, and interpret.

Type your answers, the page tells you right or wrong 0/10

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) I(1.5,3,−1.5)I(1.5, 3, -1.5)
  • b) (7,10,−11)(7, 10, -11)
  • c) Same angle, about 77.8∘77.8^\circ
  • d) S′(−2,−2,4)S'(-2, -2, 4)
  • e) S′I⃗\vec{S'I} parallel to the reflected ray
a)

The point (t,2t,6−5t)(t, 2t, 6-5t) satisfies t+2t+6−5t=3t+2t+6-5t=3, that is −2t=−3-2t=-3 and t=1.5t=1.5: I=(1.5,3,−1.5)I=(1.5, 3, -1.5).

b)

d⃗⋅n⃗=1+2−5=−2\vec{d}\cdot\vec{n}=1+2-5=-2 and ∥n⃗∥2=3\|\vec{n}\|^{2}=3, so r⃗=(1,2,−5)+43(1,1,1)=(73,103,−113)\vec{r}=(1, 2, -5)+\frac{4}{3}(1, 1, 1)=\left(\frac{7}{3}, \frac{10}{3}, -\frac{11}{3}\right), parallel to (7,10,−11)(7, 10, -11).

c)

Incident: ∣d⃗⋅n⃗∣∥d⃗∥ ∥n⃗∥=2303≈0.211\frac{|\vec{d}\cdot\vec{n}|}{\|\vec{d}\|\,\|\vec{n}\|}=\frac{2}{\sqrt{30}\sqrt{3}}\approx 0.211. Reflected, with (7,10,−11)(7, 10, -11): ∣7+10−11∣2703=6810≈0.211\frac{|7+10-11|}{\sqrt{270}\sqrt{3}}=\frac{6}{\sqrt{810}}\approx 0.211. Same cosines, hence the same angle with the normal, about 77.8∘77.8^{\circ}: this is the law of reflection. The incident ray travels towards the mirror, d⃗⋅n⃗<0\vec{d}\cdot\vec{n}<0, and the reflected ray travels away from it, r⃗⋅n⃗>0\vec{r}\cdot\vec{n}>0.

d)

SS gives 0+0+6−3=30+0+6-3=3, so S′=S−2⋅33n⃗=(0,0,6)−(2,2,2)=(−2,−2,4)S'=S-2\cdot\frac{3}{3}\vec{n}=(0, 0, 6)-(2, 2, 2)=(-2, -2, 4).

e)

S′I⃗=(3.5,5,−5.5)=12(7,10,−11)\vec{S'I}=(3.5, 5, -5.5)=\frac{1}{2}(7, 10, -11): the reflected ray lies on the line S′IS'I. Everything happens as if the light came in a straight line from the image S′S' of the source behind the mirror: that is why we see the object “in” the mirror, as far behind it as it is in front.

The thread: reflecting a vector in a plane means reversing its normal component; reflecting a point means extending the perpendicular by the same length.

Exercise 15: Problem: the line of steepest slope on a roof

A roof face is a rectangle with vertices A(0,0,6)A(0, 0, 6), B(0,10,6)B(0, 10, 6), C(4,0,4)C(4, 0, 4) and D(4,10,4)D(4, 10, 4), in metres, with the zz-axis vertical. The ridge is the edge ABAB, the gutter the edge CDCD.

xyzOABCDP
  • a) Find a scalar equation of the plane of the roof.
  • b) Compute the angle between the roof and the horizontal plane, to the nearest hundredth of a degree, and the slope as a percentage.
  • c) Find a direction vector of the horizontal lines of the roof, then one of the line of steepest slope pointing downwards.
  • d) A drop of water falls on the roof at the point P(1,5,5.5)P(1, 5, 5.5) and follows the line of steepest slope. At what point does it reach the gutter?
  • e) Compute the area of the roof face, to the nearest tenth, and compare it with the area of its projection on the ground.

Type your answers, the page tells you right or wrong 0/9

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) x+2z=12x+2z=12
  • b) 26.57∘26.57^\circ; slope 50%
  • c) Horizontal lines (0,1,0)(0, 1, 0); slope (2,0,−1)(2, 0, -1)
  • d) (4,5,4)(4, 5, 4)
  • e) 44.744.7 m² versus 40 m²
a)

AB⃗=(0,10,0)\vec{AB}=(0, 10, 0) and AC⃗=(4,0,−2)\vec{AC}=(4, 0, -2), AB⃗×AC⃗=(10⋅(−2)−0⋅0,0⋅4−0⋅(−2),0⋅0−10⋅4)=(−20,0,−40)\vec{AB}\times\vec{AC}=(10\cdot(-2)-0\cdot 0, 0\cdot 4-0\cdot(-2), 0\cdot 0-10\cdot 4)=(-20, 0, -40), parallel to n⃗=(1,0,2)\vec{n}=(1, 0, 2). Through AA: x+2(z−6)=0x+2(z-6)=0, that is x+2z=12x+2z=12. Check on DD: 4+8=124+8=12.

b)

The angle between two planes is the angle between their normals: cos⁡θ=∣n⃗⋅k⃗∣∥n⃗∥=25\cos\theta=\frac{|\vec{n}\cdot\vec{k}|}{\|\vec{n}\|}=\frac{2}{\sqrt{5}}, so θ≈26.57∘\theta\approx 26.57^{\circ}. The slope is tan⁡θ=12\tan\theta=\frac{1}{2}: the roof drops 2 m2\ \mathrm{m} over 4 m4\ \mathrm{m} horizontally, a slope of 50%50\%.

c)

A horizontal line of the roof is orthogonal to n⃗\vec{n} and to k⃗=(0,0,1)\vec{k}=(0, 0, 1): n⃗×k⃗=(0⋅1−2⋅0,2⋅0−1⋅1,0)=(0,−1,0)\vec{n}\times\vec{k}=(0\cdot 1-2\cdot 0, 2\cdot 0-1\cdot 1, 0)=(0, -1, 0), the direction of the ridge. The line of steepest slope lies in the roof and is orthogonal to the horizontal lines: n⃗×(0,1,0)=(0⋅0−2⋅1,2⋅0−1⋅0,1⋅1−0⋅0)=(−2,0,1)\vec{n}\times(0, 1, 0)=(0\cdot 0-2\cdot 1, 2\cdot 0-1\cdot 0, 1\cdot 1-0\cdot 0)=(-2, 0, 1), which points up; downwards, (2,0,−1)(2, 0, -1).

d)

PP is indeed on the roof: 1+11=121+11=12. The drop follows (1+2t,5,5.5−t)(1+2t, 5, 5.5-t) and reaches the gutter at z=4z=4, so t=1.5t=1.5: the point (4,5,4)(4, 5, 4), in the middle of the gutter. It does not drift in yy: the steepest slope is perpendicular to the ridge.

e)

AB=10AB=10 and AC=16+4=20≈4.47AC=\sqrt{16+4}=\sqrt{20}\approx 4.47, so the area is 1020≈44.7 m210\sqrt{20}\approx 44.7\ \mathrm{m^{2}}. The projection on the ground is a 1010 by 44 rectangle, that is 40 m240\ \mathrm{m^{2}}, and 44.7×cos⁡θ=44.7×25≈4044.7\times\cos\theta=44.7\times\frac{2}{\sqrt{5}}\approx 40: the projected area is the area multiplied by the cosine of the angle between the planes. It is the area of the roof, not that of the ground, that counts when ordering shingles.

The thread: the normal of a plane gives at once its tilt, its horizontal lines and its line of steepest slope.

Something missing from this set? A type of exercise your teacher gives, a problem you are stuck on, a mistake you spotted: tell me, I read every request.

Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space. Rather not create an account? Write to me directly.

What is it about?
I read every request myself, nobody else sees it. No need to write your name or your school.
When your request is dealt with, you hear about it by email and in your space.

By sending, you agree that I read your request to answer it. It is kept with your account, erased with it, and never published: privacy policy.

Previous chapter Vectors in space: the three products, 201-SN4-RE Next chapter Matrices, systems and determinants, 201-SN4-RE

© Ahmed Squalli Houssaini. Exercise set published at www.letuteurscientifique.ca/en/exercices/cegep-sn4-lines-and-planes. Free for personal and classroom use; republishing it elsewhere requires written permission (legal notice).

See also

Looking for a linear algebra tutor in Montreal?

Get in touch for a first session. We work on 201-SN4-RE at the real level of CEGEP assessments, from the equations of lines and planes to the distance between skew lines.

Site by Studio Squalli