Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Lines and Planes in R3

A line in R3 is determined by a point (a, b, c) on the line and a direction ~v that is parallel(1) to the line.

The set of points on this line is given by


{hx, y, zi = ha, b, ci + t~v , t ∈ R}
This represents that we start at the point (a, b, c) and add all scalar multiples of the vector ~v .
The equation
hx, y, zi = ha, b, ci + t~v
is called the vector equation of the line (because it consists of vectors).
We can also rewrite this as three separate equation: if ~v = hv1 , v2 , v3 i, then (x, y, z) is on the line if
x = a + tv1
y = b + tv2
z = c + tv3
are satisfied by the same parameter t ∈ R. This is called the parametric equation of the line. See #1
below.
A plane in R3 is determined by a point (a, b, c) on the plane and two direction vectors ~v and ~u that are
parallel to the plane. The fact that we need two vectors parallel to the plane versus one for the line represents
that the plane is two dimensional and the line is one dimensional.
The plane is all points (x, y, z) such that the displacement vector from (a, b, c) to (x, y, z) is a sum of scalar
multiples of ~v and ~u. This set can be written as
{hx, y, zi = ha, b, ci + t~v + s~u, t, s ∈ R3 }

This equation
hx, y, zi = ha, b, ci + t~v + s~u
is sometimes referred to as the parametric equation of the plane. See #3 below.
We discussed briefly that there are many choices for the direction vector(s) that will give the same line or
plane: for the line, any scalar multiple of ~v will give the same line, while, for the plane, there are many,
many more options. However, it doesn’t matter which vectors are chosen (as long as they are parallel to the
plane!). Any two vectors will give equations that might look different, but give the same object. See #1
amd #3 below.
There is an important alternate equation for a plane. We know the cross product turns two vectors ~a and ~b
into a vector ~a × ~b that is orthogonal to ~a and ~b and also to any plane parallel to ~a and ~b. Alternatively, any
vector ~n that is orthogonal to a plane is also orthogonal to any two vectors in the plane.
The outcome of the previous paragraph is this: a plane is (also) determined by a point (a, b, c) on the plane
and a vector ~n that is orthogonal to the plane (we use n because normal is a synonym for orthogonal). In
this formulation, we want all points (x, y, z) such that the vector from (a, b, c) to (x, y, z) is orthogonal to ~n.
We can write this with the equation
~n · hx − a, y − b, z − ci = 0
(1) “Parallel” here and below can be thought of as meaning that if the vector starts at some point on the line/plane/object,

then the entire vector lies on the line/plane/object

1
Other ways to write this are (~n = hn1 , n2 , n3 i)

n1 (x − a) + n2 (y − b) + n3 (z − c) = 0

n1 x + n2 y + n3 z = d
for the proper choice of d. An important observation is that the plane is given by a single equation relating
x, y, z (called the implicit equation), while a line is given by three equations in the parametric equation.
See #3 below.
A common exercise is to take some amount of data and find a line or plane that agrees with this data. #1
and #3 are examples of this.

Once we have these objects described, we will want to find the distance between them. These are infinite
objects, so the distance between them depends on where you look. To specify, whenever we talk about the
distance between to objects, we always mean at their closest points.
There is no one formula for this as it depends on the objects involved. It often revolves around finding the
length of a projection vector or the area of some parallelogram. There is a list of formulas on Oliver’s website
at http://sites.fas.harvard.edu/~math21a/supplements/distances/index.html and we will do some
more in problem session. However, I encourage you to think about why these formulas are true as opposed
to memorizing each one of them. Some examples are #4 and #5.

Examples

1. Find the equation of the line that contains the points (1, 2, 3) and (4, 0, 1).
We have a point on the line (actually two, but it suffices to pick one). To find the direction of the line,
we find the displacement vector from (1, 2, 3) to (4, 0, 1).

2
This is ~v = h4 − 1, 0 − 2, 1 − 3i = h3, −2, −2i.
This gives us the equation
hx, y, zi = h1, 2, 3i + th3, −2, −2i
Follow-up: Convince yourself that

x = 4 − 3t
y = 2t
z = 1 + 2t

describes the same line.

2. Find the intersection of the lines h2, 1, 0i + th−1, −1, −1i and h3, 0, 5i + th2, 0, 6.
We convert these two parametric equations using different parameters.

x = 2 − t; y = 1 − t; z = −t

and
x = 3 + s; y = 0; z = 5 + 6s
and then set them equal to each other.

2−t = 3 + 2s
1−t = 0
−t = 5 + 6s

The second equation gives t = 1. Plugging this into the first and second equation both give s = −1.
Thus, they intersect at the point (1, 0, −1); we can get this point by plugging either parameter into
the appropriate equation.
Follow-up: The set-up gave us three equations in two unknowns. Since we found a solution, we know
the lines intersect at a point. If we found no solution, then the lines don’t intersect. If we found
infinitely many solutions, the lines are the same.

3. Find the equation of the plane that contains the point (1, 3, 0) and the line given by
x = 3 + 2t, y = −4t, z = 7 − t.
Lots of options to start. We know a point on the line is (1, 3, 0). The line has direction h2, −4, −1i, so
this lies parallel to the plane. Now we need another direction vector parallel to the plane. Plugging

3
t = 0 into the line equation gives the point (3, 0, 7), which is also on the plane. Then the vector from
(1, 3, 0) to (3, 0, 7) will also lie parallel to the plane; this vector is h2, −3, 7i.

This gives us the following parametric equation of a plane

hx, y, zi = h1, 3, 0i + th2, −4, −1i + sh2, −3, 7i

To find the implicit formula, we must find a vector orthogonal/normal to the plane. This vector can
be computed via the cross product

~n = h2, −4, −1i × h2, −3, −7i = h31, 12, 2i

This gives us with the implicit equation

h31, 12, 2i · hx − 1, y − 3, zi = 0
31(x − 1) + 12(y − 3) + 2z = 0
31x + 12y + 2z = 67

Follow-up: Convince yourself that

hx, y, zi = h3, 0, 7i + th4, −7, 6i + sh−2, 3, −7i

and
−31(x − 5) + −12(y + 4) + −2(z − 6) = 0
give the same plane. This is harder than in #1 because planes give more options. Notice, however,
that analyzing the implicit equation makes this clearer.

4. Find the distance between the point P = (3, 5, 6) and the line given by h2, 1, 0i + th1, 5, 9i.
We can draw the point and line in a single plane

4
−−→
We want the length x, which happens to be the height of the parallelogram A determined by P Q and
~u, the direction vector of the line. This parallelogram has base |~u|, so we have two formulas for its area
−−→
x|~u| = area(A) = |P Q × ~u|

Solving for x gives


−−→
|P Q × ~u|
x=
|~u|
Taking Q = (2, 1, 0) to be the point on the line, this gives
√ √
|h1, 4, 6i × h1, 5, 9i| |h6, 3, 1i| 46 · 107 4922
distance = x = = √ = =
|h1, 5, 9i 107 107 107

5. Find the distance between the point P = (1, 0, −1) and the plane 5x + 4y + 3z = 1.
We draw the point and the plane with an additional point Q on the plane.

5
From the picture, we see that the distance is the length of the vector ~v and that ~v is the projection of
−−→
P Q onto ~n; here, ~n is the normal vector to the plane, which we can tell from the equation is h5, 4, 3i.
−−→
Thus, the distance is the length of Pr~n (P Q), which is
−−→
−−→ |P Q · ~n|
distance = |Pr~n (P Q)| =
|~n|

In this case, to find a point on the plane, we can set x = y = 0; plugging this into the plane equation
−−→
gives z = 13 , so (0, 0, 31 ) is on the plane. This means that P Q = h−1, 0, 43 i. Plugging this in gives

|h−1, 0, 43 i · h5, 4, 3i| 2
distance = =
|h5, 4, 3i| 10

You might also like