A drone takes off from the point M0(1,2,0) in a school yard (unit: metre). It flies in a straight line, moving by the vector u=(2,1,2) every second. High above, a checkpoint ring is placed at N(9,6,8). Does the drone fly through the ring, and if so, after how many seconds?
As in the plane, a line in space is fixed by one point and one direction. The only difference is that there are now three coordinates.
Parametric equations of a line
Exploring: the drone's positions
After t seconds the drone is at the point M with M0M=tu. We record a few positions:
t (seconds)
0
1
2
3
position
(1,2,0)
(3,3,2)
(5,4,4)
(7,5,6)
The position after t seconds is (1+2t,2+t,2t). To reach N(9,6,8) we need 1+2t=9, 2+t=6, 2t=8. All three give t=4, so the drone passes through the ring after 4 seconds. The distance flown is 4∣u∣=4⋅3=12 m.
The line through M0 with direction vector u
Why is it true? A point M(x,y,z) lies on Δ exactly when M0M is parallel to u, that is, when there is a number t with M0M=tu. Coordinate by coordinate: x−x0=at, y−y0=bt, z−z0=ct. When abc=0, all three fractions equal t.
Given two points, we take the vector joining them as a direction vector. When a line is perpendicular to a plane, the normal vector of the plane is a direction vector of the line.
Two lines in space
In space, two lines have four possibilities. Unlike in the plane, two lines can fail to meet without being parallel: such lines are called skew.
A line and a plane
To decide how a line d meets a plane (P), we substitute the parametric equations of d into the equation of (P) and get a linear equation in t.
Orthogonal projection of a point
The projection H of a point M on a plane (P) is where (P) meets the line through M perpendicular to (P). The projection H of M on a line d is the point H∈d with MH⊥u.
The projection H of M on the plane (P)
The last example has more steps, so we follow the four stages.
Key terms
Summary
The line through M0(x0,y0,z0) with direction vector u=(a,b,c): x=x0+at, y=y0+bt, z=z0+ct.
When abc=0: ax−x0=by−y0=cz−z0.
Through two points A, B: u=AB. Perpendicular to (P): u=nP.
Two lines: if u1, u2 are parallel, the lines are parallel or coincide; if not, solve for t, s: a solution means they intersect, no solution means they are skew.
A line and a plane: substituting gives an equation in t; one solution means they meet, no solution means parallel, every t means the line lies in the plane.
Projection on (P): where (P) meets the line through M with direction n. Projection on d: H∈d with MH⋅u=0.
Practice
Each exercise comes with what you need and some steps to start. Try it yourself first, then open the solution.
Exercise 1
Write parametric equations of the line through A(2,−1,3) with direction vector u=(1,4,−2). Find the point for t=−1 and check whether B(4,7,−1) lies on the line.
What you need and how to start
What you need:x=x0+at, y=y0+bt, z=z0+ct.
Steps:
Write the parametric equations.
Substitute t=−1.
Find t from the x-coordinate of B, then check the other two coordinates.
Show solution
x=2+t, y=−1+4t, z=3−2t. For t=−1: (1,−5,5). For B: 2+t=4 gives t=2; then y=7 and z=−1, which match.
Answer.(1,−5,5); B lies on the line (for t=2).
Exercise 2
Write parametric and Cartesian equations of the line through A(1,0,−2) and B(3,2,−1).
What you need and how to start
What you need:u=AB.
Steps:
Find AB.
Write both forms using the point A.
Show solution
AB=(2,2,1).
⎩⎨⎧x=1+2ty=2tz=−2+t2x−1=2y=1z+2.
Answer. As above.
Exercise 3
Write the equation of the line d through M(1,−1,2) perpendicular to (P):2x−y+3z+5=0. Find the point where d meets (P).
What you need and how to start
What you need: if d⊥(P) then ud=nP; for the intersection, substitute the parametric equations into (P).
Steps:
Write d with u=(2,−1,3).
Substitute into (P) and solve for t.
Show solution
d:x=1+2t, y=−1−t, z=2+3t. Substituting into (P):
2(1+2t)−(−1−t)+3(2+3t)+5=14+14t=0⟺t=−1.
The point of intersection is (−1,0,−1).
Answer.(−1,0,−1).
Exercise 4
Write parametric and Cartesian equations of the line through M(0,1,−1) parallel to Δ:2x−1=−1y+3=3z.
What you need and how to start
What you need: parallel lines share a direction vector; read u from the denominators.
Steps:
Read off u=(2,−1,3).
Write the equations through M.
Show solution
⎩⎨⎧x=2ty=1−tz=−1+3t2x=−1y−1=3z+1.M does not lie on Δ (because 20−1=−11+3), so this line is parallel to Δ, not the same line.
Answer. As above.
Exercise 5
Let d1:⎩⎨⎧x=1+2ty=−tz=3+t and d2:−4x−3=2y+1=−2z−4. Is each claim true or false?
a) u1=(2,−1,1) is a direction vector of d1.
b) The point M(3,−1,4) lies on d1.
c) d1 is parallel to d2.
d) d1 is perpendicular to the plane (P):2x−y+z=0.
What you need and how to start
What you need: if the direction vectors are parallel, the lines are parallel or coincide; check one more point.
Steps:
Read off u1, u2.
Substitute M into d1 (find t).
Compare u1 with nP.
Show solution
a) True. The coefficients of t are 2, −1, 1.
b) True.t=1 gives (3,−1,4).
c) False.u2=(−4,2,−2)=−2u1, and M(3,−1,4) also lies on d2, so the two lines coincide.
d) True.nP=(2,−1,1)=u1.
Answer. a) True; b) True; c) False; d) True.
Exercise 6
An aeroplane takes off from the point O(0,0,0) and flies in a straight line, moving by the vector v=(80,60,10) every second (unit: metre). When it reaches a height of 1500 m, how many kilometres from O is the point on the ground directly below it?
What you need and how to start
What you need: the position after t seconds is (80t,60t,10t).
Steps:
Solve 10t=1500.
The point on the ground is (80t,60t,0); find its distance from O.
Show solution
t=150 seconds. The point on the ground is (12000,9000,0), at distance 120002+90002=15000 m from O.
Answer.15.
Exercise 7
Let d:x=2+t, y=1−t, z=3+2t. Decide the position of d relative to (P1):x+y−1=0, (P2):x+3y+z−8=0, (P3):x−y+z−6=0.
What you need and how to start
What you need: substitute the parametric equations into the equation of the plane.
Steps:
Substitute into each plane and simplify in t.
Count the solutions.
Show solution
(P1): (2+t)+(1−t)−1=2=0, impossible, so d∥(P1).
(P2): (2+t)+3(1−t)+(3+2t)−8=0 for every t, so d lies in (P2).
(P3): (2+t)−(1−t)+(3+2t)−6=4t−2=0, t=21, and the point of intersection is (25,21,4).
Answer. Parallel to (P1); lies in (P2); meets (P3) at (25,21,4).
Exercise 8
Decide the position of the lines d1:x=1+t, y=1−t, z=2t and d2:x=1+2s, y=−2+s, z=5−s. If they intersect, find the point of intersection.
What you need and how to start
What you need: if the direction vectors are not parallel, solve the system in t, s.
Steps:
Compare (1,−1,2) and (2,1,−1).
Solve the first two equations, then test the third.
Show solution
The vectors are not parallel. From 1+t=1+2s and 1−t=−2+s: t=2s, 1−2s=−2+s, so s=1, t=2. The third equation: 2⋅2=5−1, which holds.
Answer. They intersect at (3,−1,4).
Exercise 9
(Revisiting Operations on vectors in coordinates.) In the previous lesson we proved that A(1,2,−1), B(3,1,1), C(7,−1,5) are collinear using parallel vectors. Write parametric equations of the line AB and give the value of t for the point C.
What you need and how to start
What you need:u=AB; C lies on AB when one value of t works for all three coordinates.
Steps:
AB=(2,−1,2).
Solve 1+2t=7 and check.
Show solution
AB:x=1+2t, y=2−t, z=−1+2t. From 1+2t=7 we get t=3; then y=−1 and z=5, which match C.
Answer.t=3, which agrees with AC=3AB from the previous lesson.
Exercise 10 Challenge
A laser beam starts at A(1,2,3), reflects off a flat mirror lying in the plane (P):x+2y+2z−2=0, and then reaches B(3,2,2). Find the point M of the mirror where it reflects. (Hint: the path A→M→B is shortest when M lies on the segment A′B, where A′ is the reflection of A in (P).)
What you need and how to start
What you need: the projection H of A on (P); H is the midpoint of AA′.
Steps:
Find H, then A′=2H−A (in coordinates).
Use the line A′B and find where it meets (P).
Show solution
The line through A perpendicular to (P): x=1+t, y=2+2t, z=3+2t. Substituting into (P): 9+9t=0, t=−1, so H(0,0,1) and A′(−1,−2,−1).
Substituting A′ and B into the left-hand side of (P) gives −9 and 9, so A′ and B are on opposite sides at equal distances from (P); therefore M is the midpoint of A′B:
M(1,0,21),1+0+2⋅21−2=0.
The beam travels a distance A′B=16+16+9=41≈6.40.
Answer.M(1,0,21).
Mini test
Mini test
Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.
Part I. Multiple choice
Question 1. In the system Oxyz, a direction vector of the line d:⎩⎨⎧x=1−2ty=3z=−1+t is
Answer: C.
The direction vector is made of the coefficients of t: −2, 0, 1. Option A is a point, B takes the 3 that has no t, and D has a wrong sign.
Question 2. Which point lies on the line 2x−1=−1y+2=3z−3?
Answer: D.
With (1,−2,3) all three fractions are 0. Option A changes the signs of the point, B takes the direction vector by mistake, and C fails the second fraction: −1−1+2=−1=1.
Question 3. The line through A(1,0,2) perpendicular to (P):2x−y+z−3=0 has equations
Answer: A.
The direction vector is nP=(2,−1,1). Option B swaps the point and the vector, C has the wrong sign in the second coordinate, and D takes the constant term −3 by mistake.
Question 4. Let d1:x=1+t, y=2t, z=3−t and d2:x=s, y=1+s, z=2s. The lines d1 and d2 are
Answer: C.
(1,2,−1) and (1,1,2) are not parallel, which rules out A and D. The first two equations give s=1+t and 2t=1+s=2+t, so t=2, s=3; the third needs 3−2=2⋅3, which is impossible. So the lines are skew; choosing "parallel" forgets that lines in space can be skew.
Part II. True or false
Question 1. Let d:x=1+t, y=2−t, z=−1+2t and (P):x+y+z−4=0.
a)u=(1,−1,2) is a direction vector of d.
b)d is parallel to (P).
c)d meets (P) at the point (2,1,1).
d)d is perpendicular to the plane (Q):x−y+2z+7=0.
Answer: a) True; b) False; c) True; d) True.
a) True. b) False: u⋅nP=1−1+2=2=0. c) True: substituting gives 2t−2=0, t=1, the point (2,1,1). d) True: nQ=(1,−1,2)=u.
Part III. Short answer
Question 1. The line d:x=2+t, y=−1+2t, z=3−t meets the plane (P):x+y+z−10=0 at M(a,b,c). Find a+b+c.
Answer: 10.
Substituting: 2t−6=0, t=3, so M(5,5,0) and a+b+c=10. Another way: M lies in (P), so a+b+c−10=0.
Question 2. Find the distance from M(2,3,1) to the line d:x=1+2t, y=−1+t, z=1+2t (to 2 decimal places).
Answer: 3.61.
MH=(2t−1,t−4,2t) for H∈d; MH⋅(2,1,2)=9t−6=0, t=32. Then MH=(31,−310,34) and MH=13≈3.61.
Show answers and explanations
Part I, question 1: C. The direction vector is made of the coefficients of t: −2, 0, 1. Option A is a point, B takes the 3 that has no t, and D has a wrong sign.
Part I, question 2: D. With (1,−2,3) all three fractions are 0. Option A changes the signs of the point, B takes the direction vector by mistake, and C fails the second fraction: −1−1+2=−1=1.
Part I, question 3: A. The direction vector is nP=(2,−1,1). Option B swaps the point and the vector, C has the wrong sign in the second coordinate, and D takes the constant term −3 by mistake.
Part I, question 4: C. (1,2,−1) and (1,1,2) are not parallel, which rules out A and D. The first two equations give s=1+t and 2t=1+s=2+t, so t=2, s=3; the third needs 3−2=2⋅3, which is impossible. So the lines are skew; choosing "parallel" forgets that lines in space can be skew.
Part II, question 1: a) True; b) False; c) True; d) True. a) True. b) False: u⋅nP=1−1+2=2=0. c) True: substituting gives 2t−2=0, t=1, the point (2,1,1). d) True: nQ=(1,−1,2)=u.
Part III, question 1: 10. Substituting: 2t−6=0, t=3, so M(5,5,0) and a+b+c=10. Another way: M lies in (P), so a+b+c−10=0.
Part III, question 2: 3.61. MH=(2t−1,t−4,2t) for H∈d; MH⋅(2,1,2)=9t−6=0, t=32. Then MH=(31,−310,34) and MH=13≈3.61.