← Chapter 2 §2.5 Lines and Planes in Space 空间直线与平面 · Chapter 2 · Vectors in Space

Calculus Volume 3 · Chapter 2 · Section 2.5

Equations of Lines and Planes in Space

A line is a point and a direction. A plane is a point and a normal. Every distance is a cross product or a projection.

Colour key line v direction n normal distance, result key idea · drag any 3D figure to turn it · page links open the textbook

Level 1 · see itWhat pins a line or a plane downbefore any formula

Where does a straight path land?

A path passes (1,2,3)(1,-2,3) heading along 1,2,3\langle 1,2,3\rangle (Exercise 247). Where does it meet the floor z=0z=0?

(0, −4, 0)

at t=1t=-1: one step backwards. One point and one direction fix every point of a line.

A point and a direction

  1. Start at a point PP, position vector r0\mathbf r_0.
  2. Walk tt steps of the direction vector v\mathbf v (p170): r=r0+tv\mathbf r=\mathbf r_0+t\mathbf v.
  3. Every real tt is one point; 0t10\le t\le 1 is just the segment. The parameter is a clock on the line.

Example 2.45: through (1,4,2)(1,4,-2) and (3,5,0)(-3,5,0), so v=4,1,2\mathbf v=\langle -4,1,2\rangle

Points at t=1,0,1,2t=-1,0,1,2: equal steps of v\mathbf v. Drag to turn.

A point and a normal

  1. Fix a point PP and a normal vector n\mathbf n (p177).
  2. Collect every QQ with PQn\overrightarrow{PQ}\perp\mathbf n: nPQ=0\mathbf n\cdot\overrightarrow{PQ}=0.
  3. That set is a plane. A plane is everything you can reach without moving along n.
40°
Plane x+y+2z=4x+y+2z=4 through P(1,1,1)P(1,1,1), n=1,1,2\mathbf n=\langle 1,1,2\rangle.

Two lines, two planes

Lines (Figure 2.68):

share a pointno common point
directions parallelequalparallel
not parallelintersectingskew

Skew is new in space: not parallel, yet they never meet. Two distinct planes are simpler: parallel, or meeting in a line (p181).

show

One picture

Example 2.51: from P(3,1,2)P(3,1,2) walk along n=1,2,1\mathbf n=\langle 1,-2,1\rangle. The line P+tnP+t\mathbf n hits x2y+z=5x-2y+z=5 at t=13t=\tfrac13, so d=13n=260.82d=\tfrac13\|\mathbf n\|=\tfrac{2}{\sqrt6}\approx 0.82.

A line along the normal joins the two ideas: the shortest way to a plane is straight along n.

Level 2 · compute itEquations, distances, anglesand four labs

Equations of a line

Theorem 2.11 (p171): through (x0,y0,z0)(x_0,y_0,z_0), direction a,b,c\langle a,b,c\rangle.

Vector · (2.12) r=r0+tv \mathbf r=\mathbf r_0+t\mathbf v
Parametric · (2.13) x=x0+ta,  y=y0+tb,  z=z0+tc x=x_0+ta,\ \ y=y_0+tb,\ \ z=z_0+tc
Symmetric · (2.14) xx0a=yy0b=zz0c \frac{x-x_0}{a}=\frac{y-y_0}{b}=\frac{z-z_0}{c}

Only when a,b,c0a,b,c\neq0; a zero gives a separate equation, e.g. y=1y=1.

Segment · (2.15) · p172 r=(1t)p+tq,0t1 \mathbf r=(1-t)\,\mathbf p+t\,\mathbf q,\qquad 0\le t\le 1

Equations of a line are not unique: any point on it and any parallel vector will do.

Equations of a plane

Vector · (2.17) · p178 nPQ=0 \mathbf n\cdot\overrightarrow{PQ}=0
Scalar · (2.18) a(xx0)+b(yy0)+c(zz0)=0 a(x-x_0)+b(y-y_0)+c(z-z_0)=0
General form ax+by+cz+d=0 ax+by+cz+d=0

The coefficients are the normal: a,b,c\langle a,b,c\rangle.

Three points · Example 2.49

n=PQ×QR\mathbf n=\overrightarrow{PQ}\times\overrightarrow{QR}, then any of the points.

A point and a line · Example 2.50

n=v1×v2\mathbf n=\mathbf v_1\times\mathbf v_2: the line's direction and an arrow from the line to the point.

To find a plane, find two arrows inside it; their cross product is the normal (§2.4).

Distances and angles

Point to line · Theorem 2.12 · p173 d=PM×vv d=\frac{\|\overrightarrow{PM}\times\mathbf v\|}{\|\mathbf v\|}
Point to plane · Theorem 2.14 · p183 d=ax0+by0+cz0+ka2+b2+c2 d=\frac{|ax_0+by_0+cz_0+k|}{\sqrt{a^2+b^2+c^2}}

Plane ax+by+cz+k=0ax+by+cz+k=0.

Angle between planes · p182 cosθ=n1n2n1n2 \cos\theta=\frac{|\mathbf n_1\cdot\mathbf n_2|}{\|\mathbf n_1\|\,\|\mathbf n_2\|}
Line of intersection · Example 2.52 v=n1×n2 \mathbf v=\mathbf n_1\times\mathbf n_2

plus one point that satisfies both equations.

Parallel normals: parallel planes. Perpendicular normals: perpendicular planes. Parallel planes are as far apart as any point of one is from the other.

Examples 2.45–2.54

Examplegivenresult
2.45 · p171(1,4,2)(1,4,-2), (3,5,0)(-3,5,0)x=14t, y=4+t, z=2+2tx=1-4t,\ y=4+t,\ z=-2+2t;  x14=y4=z+22\ \frac{x-1}{-4}=y-4=\frac{z+2}{2}
2.46 · p172segment (2,1,4)(2,1,4) to (3,1,3)(3,-1,3)x=2+t, y=12t, z=4t, 0t1x=2+t,\ y=1-2t,\ z=4-t,\ 0\le t\le1
2.47 · p173M(1,1,3)M(1,1,3), x34=y+12=z3\frac{x-3}{4}=\frac{y+1}{2}=z-3d=238212.69d=\frac{2\sqrt{38}}{\sqrt{21}}\approx 2.69
2.48 · p175three pairs of lines(a) skew · (b) meet at (1,1,1)(1,-1,1) · (c) parallel
2.49 · p178(1,1,2)(1,1,-2), (0,2,1)(0,2,1), (1,1,0)(-1,-1,0)n=8,4,4\mathbf n=\langle 8,-4,4\rangle;  8x4y+4z+4=0\ 8x-4y+4z+4=0
2.50 · p178(1,4,3)(1,4,3) and x=y12=z+1x=\frac{y-1}{2}=z+15x3y+z+4=05x-3y+z+4=0
2.51 · p180(3,1,2)(3,1,2), x2y+z=5x-2y+z=5d=260.82d=\frac{2}{\sqrt6}\approx 0.82
2.52 · p181x+y+z=0x+y+z=0, 2xy+z=02x-y+z=0x=2t, y=t, z=3tx=2t,\ y=t,\ z=-3t
2.53 · p182three pairs of planes(a) parallel · (b) orthogonal · (c) 1.27 rad ≈ 73°
2.54 · p1842x+yz=22x+y-z=2, 2x+yz=82x+y-z=8d=62.45d=\sqrt6\approx 2.45

Lab 1 · walk a line

0.5
presets

Try: Exercise 249 — the direction has no zz-part, so the line never reaches the floor and the symmetric form loses a fraction.

Lab 2 · parallel, crossing or skew

presets
0

Try: Ex 2.48a, then slide until they meet. A skew pair is an intersecting pair pushed apart along v1×v2\mathbf v_1\times\mathbf v_2.

Lab 3 · a point and a plane

presets
3 1 2

Try: move PP parallel to the plane — dd stays put; only the part of QP\overrightarrow{QP} along n\mathbf n counts. Exercise 297: the foot RR is where a sphere centred at PP touches the plane.

Lab 4 · two planes

presets

2 −1 1 0

Plane 2 is a2x+b2y+c2z=k2a_2x+b_2y+c_2z=k_2. Try: make a2,b2,c2\langle a_2,b_2,c_2\rangle a multiple of n1\mathbf n_1 — the line disappears and a gap opens.

Common mistakes

MistakeResultFix
A point used as the direction1,4,2\langle 1,4,-2\rangle in Example 2.45: a different linedirection = QPQ-P
Dividing by a zero componenty10\frac{y-1}{0} in Exercise 249write y=1y=1 separately
One letter tt for both linesforces them to be at the same place at the same "time"tt on one line, ss on the other
"Not intersecting, so parallel"Example 2.48a called parallelcompare directions first; different and apart is skew
Sign of the constant in Theorem 2.14x2y+z=5x-2y+z=5 read as k=+5k=+5: 8/68/\sqrt6move it over: k=5k=-5, 2/62/\sqrt6
Dropping the absolute value2/6-2/\sqrt6, a negative distance|\,\cdot\,| in the numerator
cosθ\cos\theta without n1n2|\mathbf n_1\cdot\mathbf n_2|1.70 rad for Checkpoint 2.50take the acute angle, 1.44 rad

Practice and answers

Exercises from p186; the book's key: p835, p842844.

Checkpoints 2.43–2.51
#taskanswer
2.43line through (1,3,2)(1,-3,2), (5,2,8)(5,-2,8)x=1+4t, y=3+t, z=2+6tx=1+4t,\ y=-3+t,\ z=2+6t;  x14=y+3=z26\ \frac{x-1}{4}=y+3=\frac{z-2}{6}
2.44segment (1,3,6)(-1,3,6) to (8,2,4)(-8,2,4)x=17t, y=3t, z=62t, 0t1x=-1-7t,\ y=3-t,\ z=6-2t,\ 0\le t\le1
2.45(0,3,6)(0,3,6) to x=1t, y=1+2t, z=5+3tx=1-t,\ y=1+2t,\ z=5+3t10/71.20\sqrt{10/7}\approx 1.20
2.46x=14t, y=3+t, z=86tx=1-4t,\ y=3+t,\ z=8-6t; x=2+3s, y=2s, z=13sx=2+3s,\ y=2s,\ z=-1-3sskew
2.47plane containing x=y=zx=-y=z and x32=y=z2\frac{x-3}{2}=y=z-22x+y+3z=0-2x+y+3z=0
2.48(5,1,0)(5,-1,0) to 4x+2yz=34x+2y-z=315/213.2715/\sqrt{21}\approx 3.27
2.49x+yz=3x+y-z=3 meets 3xy+3z=53x-y+3z=5x=t, y=73t, z=42tx=t,\ y=7-3t,\ z=4-2t
2.50angle between those planes1.44 rad
2.515x2y+z=65x-2y+z=6 and 5x2y+z=35x-2y+z=-39/301.649/\sqrt{30}\approx 1.64
Exercises
#taskanswerkey step
243line through (3,5,9)(-3,5,9), (4,7,2)(4,-7,2)x+37=y512=z97\frac{x+3}{7}=\frac{y-5}{-12}=\frac{z-9}{-7}v=7,12,7\mathbf v=\langle 7,-12,-7\rangle
247(1,2,3)(1,-2,3), v=1,2,3\mathbf v=\langle 1,2,3\rangle: meets z=0z=0?(0,4,0)(0,-4,0)3+3t=03+3t=0
249(3,1,5)(3,1,5), v=1,0,0\mathbf v=\langle 1,0,0\rangley=1, z=5y=1,\ z=5; never meets z=0z=0no zz-part
251origin to x=1+t, y=3+t, z=5+4tx=1+t,\ y=3+t,\ z=5+4t3\sqrt37,1,2/18\|\langle 7,1,-2\rangle\|/\sqrt{18}
253A(3,1,1)A(-3,1,1) to x=y=zx=-y=-z22/32\sqrt2/\sqrt3Theorem 2.12
255L1L_1: x=1+t, y=t, z=2+tx=1+t,\ y=t,\ z=2+t; L2L_2: x3=y1=z3x-3=y-1=z-3parallel, 2/3\sqrt2/\sqrt3 apartboth along 1,1,1\langle 1,1,1\rangle
259x=2y=3zx=-2y=3z meets x=5t, y=1+t, z=t11x=-5-t,\ y=-1+t,\ z=t-11(12,6,4)(-12,6,-4)r=2, t=7r=-2,\ t=7
261x=y1=zx=y-1=-z, x2=y=z2x-2=-y=\frac z2skeww(v1×v2)=50\mathbf w\cdot(\mathbf v_1\times\mathbf v_2)=5\neq0
263(p187)equalsame direction, shared point (1,4,7)(1,4,7)
269P(1,2,3)P(1,2,3), n=1,2,3\mathbf n=\langle 1,2,3\ranglex+2y+3z14=0x+2y+3z-14=0scalar form, expand
2714x+5y+10z20=04x+5y+10z-20=0n=4i+5j+10k\mathbf n=4\mathbf i+5\mathbf j+10\mathbf k; (5,0,0),(0,4,0),(0,0,2)(5,0,0),(0,4,0),(0,0,2)two coordinates zero
277through (2,1,3)(-2,1,3),  2x3y+z=7\perp\ 2x-3y+z=7x=2+2t, y=13t, z=3+tx=-2+2t,\ y=1-3t,\ z=3+tdirection = normal
281(1,1,1),(2,4,3),(1,2,1)(1,1,1),(2,4,3),(-1,-2,-1)2y+3z1=0-2y+3z-1=0PQ×PR=0,2,3\overrightarrow{PQ}\times\overrightarrow{PR}=\langle 0,-2,3\rangle
287x=1+2t, y=2t, z=2+tx=1+2t,\ y=-2t,\ z=2+t and 3x+4y+6z7=03x+4y+6z-7=0 (p189)(3,4,0)(-3,4,0)8+4t=08+4t=0
289(1,5,4)(1,5,-4) to 3xy+2z6=03x-y+2z-6=016/1416/\sqrt{14}Theorem 2.14
291x+y+z=0x+y+z=0, 2xy+z7=02x-y+z-7=0neither; 62°cosθ=2/18\cos\theta=2/\sqrt{18}
295skew lines (p190)1/61/\sqrt6N=2,1,1\mathbf N=\langle -2,1,1\rangle
297sphere at (3,2,4)(-3,2,4) tangent to 2x+4y3z=82x+4y-3z=8r=18/29r=18/\sqrt{29}; (5129,13029,6229)\big(-\tfrac{51}{29},\tfrac{130}{29},\tfrac{62}{29}\big)Lab 3
Level 3 · why it worksWhere the formulas come fromshort arguments

Distance to a line is an area

PM\overrightarrow{PM} and v\mathbf v span a parallelogram with base v\|\mathbf v\| and height dd (Figure 2.65):

PM×v=vd \|\overrightarrow{PM}\times\mathbf v\|=\|\mathbf v\|\,d

Example 2.47: 152=21d\sqrt{152}=\sqrt{21}\,d, so d2.69d\approx 2.69 whichever point PP of the line you pick.

Sliding PP along the line shears the parallelogram but keeps its base and height.

Distance to a plane is a shadow

The shortest arrow to the plane is the part of any QP\overrightarrow{QP} along n\mathbf n (Theorem 2.13, p180). With Q=(x1,y1,z1)Q=(x_1,y_1,z_1) in ax+by+cz+k=0ax+by+cz+k=0:

d=QPnn=a(x0x1)+b(y0y1)+c(z0z1)a2+b2+c2=ax0+by0+cz0+ka2+b2+c2 d=\frac{|\overrightarrow{QP}\cdot\mathbf n|}{\|\mathbf n\|}=\frac{|a(x_0-x_1)+b(y_0-y_1)+c(z_0-z_1)|}{\sqrt{a^2+b^2+c^2}}=\frac{|ax_0+by_0+cz_0+k|}{\sqrt{a^2+b^2+c^2}}

since ax1+by1+cz1=kax_1+by_1+cz_1=-k. Without the absolute value the sign says which side of the plane PP is on.

Why normals measure the angle

Turn the pair of planes together; each normal turns with its plane, so the angle between normals equals the angle between planes (Figure 2.72).

Two planes make two angles, θ\theta and 180θ180^\circ-\theta. n1n2|\mathbf n_1\cdot\mathbf n_2| picks the one at most 9090^\circ: Example 2.53c gives 7373^\circ, not 107107^\circ.

A normal is a plane's handle: whatever the plane does, the handle does too.

The gap between skew lines

N=v1×v2\mathbf N=\mathbf v_1\times\mathbf v_2 is square to both lines. Project any arrow v12\mathbf v_{12} from one line to the other onto it (student project):

d=v12(v1×v2)v1×v2 d=\frac{|\mathbf v_{12}\cdot(\mathbf v_1\times\mathbf v_2)|}{\|\mathbf v_1\times\mathbf v_2\|}

x52=y34=z13\frac{x-5}{2}=\frac{y-3}{4}=\frac{z-1}{3}, x63=y15=z7\frac{x-6}{3}=\frac{y-1}{5}=\frac z7: N=13,5,2\mathbf N=\langle 13,-5,-2\rangle, d=251981.78d=\frac{|-25|}{\sqrt{198}}\approx 1.78.

Zero numerator: a triple product of zero, so the lines are coplanar and meet (§2.4). Parallel lines make N=0\mathbf N=\mathbf 0; use Theorem 2.12 instead. One formula sorts intersecting from skew; parallel lines need their own test.