Sunteți pe pagina 1din 38

Chapter 1: Vectors and the

Geometry of Space
Section 1.5
Lines and Planes in Space

Dr. Maslan bin Osman


Mathematics Department, Faculty of Science,UTM
In this lesson you will learn:

o Lines in Space
o Parametric equations for a line
o Symmetric equations for a line
o Relationships between lines in space

o Planes in Space
o Standard form and General form of a plane
o Sketching planes using traces
oThe line of intersection of two planes

o Distances in Space
o The distance between a point and a plane
o The distance between a point and a line
Lines in Space

Previously you have studied lines in a two-dimensional coordinate system.


These lines were determined by a point and a direction or the slope.

In 3-dimensional space, a line will also be determined by a point and a


direction, except in 3-dimensional space the direction will be given by a
parallel vector, called the direction vector.
Lines in Space

To determine the equation of the line passing through the point P x0 , y0 , z 0 
and parallel to the direction vector, v  a , b , c , we will use our
knowledge that parallel vectors are scalar multiples. Thus, the vector
through P and any other point Q x , y , z  on the line is a scalar multiple
of the direction vector, v  a , b , c .

In other words,

PQ  t a , b , c , where t is any real number scalar 


or
x  x 0 , y  y 0 , z  z 0  at , bt , ct
Equations of Lines in Space

Equate the respective components and there are three equations.

x  x 0  at , y  y 0  bt and z  z 0  ct
or
x  x 0  at , y  y 0  bt and z  z 0  ct

These equations are called the parametric equations of the line.

If the components of the direction vector are all nonzero, each


equation can be solved for the parameter t and then the three can be
set equal.
x  x0 y  y0 z  z0
 
a b c

These equations are called the symmetric equations of the line.


Equations of Lines in Space

A line passing through the point P x0 , y0 , z 0  and parallel to the vector,

v  a , b,c is represented by the parametric equations:

x  x 0  at , y  y 0  bt and z  z 0  ct

And if all three components of the direction vector are nonzero, the line
is also represented by the symmetric equations:

x  x0 y  y0 z  z0
 
a b c
Example 1: Find the parametric and symmetric equations of the line passing
through the point (2, 3, -4) and parallel to the vector, <-1, 2, 5> .

Solution: Simply use the parametric and symmetric equations for any line given
a point on the line and the direction vector.

Parametric Equations:

x  2  t , y  3  2t and z  4  5t

Symmetric Equations:

x 2 y 3 z  4
 
1 2 5
Example 2: Find the parametric and symmetric equations of the line passing
through the points (1, 2, -2) and (3, -2, 5).

Solution: First you must find the direction vector which is just finding the
vector from one point on the line to the other. Then simply use the
parametric and symmetric equations and either point.

direction vector v  3  1,  2  2, 5  2  2,  4, 7

parametric equations : x  1  2t , y  2  4t and z  2  7t

x 1 y 2 z 2
symmetric equations :  
2 4 7

Notes:
1. For a quick check, when t = 0 the parametric equations give the point
(1, 2, -2) and when t = 1 the parametric equations give the point (3, -2, 5).
2. The equations describing the line are not unique. You may have used the
other point or the vector going from the second point to the first point.
Relationships Between Lines

In a 2-dimensional coordinate system, there were three possibilities when


considering two lines: intersecting lines, parallel lines and the two were
actually the same line.

In 3-dimensional space, there is one more possibility. Two lines may be skew,
which means the do not intersect, but are not parallel. For an example see
the picture and description below.

If the red line is down in the xy-


plane and the blue line is above the
xy-plane, but parallel to the xy-
plane the two lines never intersect
and are not parallel.
Example 3: Determine if the lines are parallel or identical.
Line 1 : x  3  t Line 2 : x  5  2t
y  2  2t y  2  4t
z  4 t z  1  2t

Solution: First look at the direction vectors: v1  1,2,1 and v2   2,4,2

Sincev2  2v1 , the lines are parallel.

Now we must determine if they are identical. So we need to determine


if they pass through the same points. So we need to determine if the
two sets of parametric equations produce the same points for
different values of t.

Let t=0 for Line 1, the point produced is (3, 2, 4). Set the x from Line
2 equal to the x-coordinate produced by Line 1 and solve for t.
3  5  2t   2  2t  t  1
Now let t=1 for Line 2 and the point (3, 2, -1) is produced. Since the z-
coordinates are not equal, the lines are not identical.
Example 4: Determine if the lines intersect. If so, find the point of
intersection and the cosine of the angle of intersection.

Line 1 : x  3  2t Line 2 : x  4  t
y  2t y  3  5t
z  4 t z  2 t

Solution: Direction vectors: v1  2,2,1 v2   1,5,1

Since v2  k v1 , the lines are not parallel. Thus they either intersect or
they are skew lines.

Keep in mind that the lines may have a point of intersection or a common
point, but not necessarily for the same value of t. So equate each
coordinate, but replace the t in Line 2 with an s.

x : 3  2t  4  s
System of 3 equations with 2
y :  2t  3  5s unknowns – Solve the first 2 and
check with the 3rd equation.
z : 4 t  2  s
Solution to Example 4 Continued:

Solving the system, we get t = 1 and s = -1.

Line 1: t = 1 produces the point (5, -2, 3) The lines intersect


Line 2: s = -1 produces the point (5, -2, 3) at this point.

Recall from lesson 7.3 on the dot product,

u v
cos   , where  is the angle between u and v
u v

The angle θ between two intersecti ng lines should be less than 90 ,
so we use absolute value in the numerator.
Solution to Example 4 Continued:

Thus,

2,2,1   1,5,1
cos  
22   2   1   12  52   12
2 2

 2  10  1  11
cos     0.706
9  27 9 3
Planes in Space

In previous sections we have looked at planes in space. For example, we looked


at the xy-plane, the yz-plane and the xz-plane when we first introduced 3-
dimensional space.

Now we are going to examine the equation for a plane. In the figure below P,
x0, y0, z0  , is a point in the highlighted plane and n  a , b,c is the vector
normal to the highlighted plane.

n
For any point Q, x , y , z 

in the plane, the vector from P


Q
to Q , PQ  x  x 0 , y  y 0 , z  z 0

P is also in the plane.


Planes in Space

Since the vector from P to Q is in the plane, PQ and n are perpendicular


and their dot product must equal zero.

n  PQ  0
a , b,c  x  x 0 , y  y 0 , z  z 0  0
a x  x 0   b y  y 0   c z  z 0   0

n
This last equation is the
equation of the highlighted
plane.

Q So the equation of any plane


can be found from a point in
P the plane and a vector normal
to the plane.
Standard Equation of a Plane

The standard equation of a plane containing the point x0 , y 0 , z 0  and having

normal vector, n  a , b , c is

a x  x 0   b y  y 0   c z  z 0   0

Note: The equation can be simplified by using the distributive property and

collecting like terms.

This results in the general form: ax  by  cz  d  0


Example 5: Given the normal vector, <3, 1, -2> to the plane containing the
point (2, 3, -1), write the equation of the plane in both standard form and
general form.

Solution: Standard Form a x  x 0   b y  y 0   c z  z 0   0

3x  2  1y  3  2z  1  0

To obtain General Form, simplify.

3x  6  y  3  2z  2  0
or
3x  y  2z  11  0
Example 6: Given the points (1, 2, -1), (4, 0,3) and (2, -1, 5) in a plane, find the
equation of the plane in general form.

Solution: To write the equation of the plane we need a point (we have three) and
a vector normal to the plane. So we need to find a vector normal to the plane.
First find two vectors in the plane, then recall that their cross product will be a
vector normal to both those vectors and thus normal to the plane.

Two vectors: From (1, 2, -1) to (4, 0, 3): < 4-1, 0-2, 3+1 > = <3,-2,4>
From (1, 2, -1) to (2, -1, 5): < 2-1, -1-2, 5+1 > = <1,-3,6>

Their cross product:


i j k
3  2 4  0i  14 j  7k  14 j  7k
1 3 6

Equation of the plane: 0x  1  14y  2  7 z  1  0


 14y  7z  21  0
or
2y  z  3  0
Sketching Planes in Space

If a plane intersects all three coordinate planes (xy-plane, yz-plane and the
xz-plane), part of the plane can be sketched by finding the intercepts and
connecting them to form the plane.

For example, let’s sketch the part of the plane, x + 3y + 4z – 12 = 0 that


appears in the first octant.

The x-intercept (where the plane intersects the x-axis) occurs when both y
and z equal 0, so the x-intercept is (12, 0, 0). Similarly the y-intercept is
(0, 4, 0) and the z-intercept is (0, 0, 3).

Plot the three points on the coordinate system and then connect each pair
with a straight line in each coordinate plane. Each of these lines is called a
trace.

The sketch is shown on the next slide.


Sketch of the plane x + 3y + 4z – 12 = 0 with intercepts, (12, 0, 0), (0, 4, 0)
and (0, 0, 3).
z

Now you can see the triangular


part of the plane that appears
in the first octant.

x
Another way to graph the plane x + 3y + 4z – 12 = 0 is by using the traces. The
traces are the lines of intersection the plane has with each of the coordinate
planes.

The xy-trace is found by letting z = 0, x + 3y = 12 is a line the the xy-plane.


Graph this line.

x
Similarly, the yz-trace is 3y + 4z = 12, and the xz-trace is x + 4z = 12. Graph
each of these in their respective coordinate planes.

x
Example 7: Sketch a graph of the plane 2x – 4y + 4z – 12 = 0.

Solution: The intercepts are (6, 0, 0), (0, -3, 0) and (0, 0, 3). Plot each of
these and connect each pair with a straight line.
Example 7: Sketch a graph of the plane 2x – 4y + 4z – 12 = 0.

Solution: The intercepts are (6, 0, 0), (0, -3, 0) and (0, 0, 3). Plot each of
these and connect each pair with a straight line.

Hopefully you can see the part of the


plane we have sketched appears on the
x negative side of the y-axis.
More on Sketching Planes
Not all planes have x, y and z intercepts. Any plane whose equation is missing
one variable is parallel to the axis of the missing variable. For example,
2x + 3y – 6 = 0 is parallel to the z-axis. The xy trace is 2x + 3y = 6, the yz
trace is y = 2 and the xz trace is x = 3.

Part of the plane is outlined in red.

Any plane whose equation is missing two variables is parallel to the


coordinate plane of the missing variables. For example, 2x – 6 = 0 or x = 3 is
parallel to the yz-plane.

The plane is outlined in


blue and is at the x value
of 3.
Intersecting Planes

Any two planes that are not parallel or identical will intersect in a line and to
find the line, solve the equations simultaneously.

For example in the figure above, the white plane and the yellow plane intersect
along the blue line.
Example 8: Find the line of intersection for the planes x + 3y + 4z = 0
and x – 3y +2z = 0.

Solution: To find the common intersection, solve the equations simultaneously.


Multiply the first equation by –1 and add the two to eliminate x.
 1  x  3y  4z  0    x  3y  4z  0
x  3y  2z  0  x  3y  2z  0
1
 6y  2z  0 or y  z
3
Back substitute y into one of the first equations and solve for x.
 1 
x  3   z   4z  0
 3 
x  z  4z  0
x  3z
Finally if you let z = t, the parametric equations for the line are
1
x  3t , y  t and z  t
3
Distance Between a Point and a Plane

Let P be a point in the plane and let Q be a point not in the plane. We are
interested in finding the distance from the point Q to the plane that
contains the point P.

We can find the distance between the point, Q, and the plane by projecting
the vector from P to Q onto the normal to the plane and then finding its
magnitude or length.

n, normal
Q

Projection of PQ
onto the normal
to the plane

Thus the distance from Q to the plane is the length or the magnitude of the
projection of the vector PQ onto the normal.
Distance Between a Point and a Plane
If the distance from Q to the plane is the length or the magnitude of the
projection of the vector PQ onto the normal, we can write that
mathematically:

Distance from Q to the plane  projn PQ

 
Now, recall from section 7.3,  PQ  n 
projn PQ   2  n
 n 
 

So taking the magnitude of this vector, we get:

  PQ  n PQ  n
 PQ  n 
projn PQ   2  n  2
 n 
 n  n n
 
Distance Between a Point and a Plane

The distance from a plane containing the point P to a point Q not in the
plane is

PQ  n
D  projn PQ 
n

where n is a normal to the plane.


Example 9: Find the distance between the point Q (3, 1, -5) to the plane
4x + 2y – z = 8.

Solution: We know the normal to the plane is <4, 2, -1> from the general
form of a plane. We can find a point in the plane simply by letting x and y
equal 0 and solving for z: P (0, 0, -8) is a point in the plane.

Thus the vector, PQ = <3-0, 1-0, -5-(-8)> = <3, 1, 3>

Now that we have the vector PQ and the normal, we simply use the formula
for the distance between a point and a plane.

PQ  n 3,1,3  4,2,1
D  projn PQ  
n 42  22   1
2

12  2  3 11
D    2.4
16  4  1 21
Let’s look at another way to write the distance from a point to a plane. If
the equation of the plane is ax + by + cz + d = 0, then we know the normal
to the plane is the vector, <a, b, c> .

Let P be a point in the plane, P = x1, y1, z1  and Q be the point not in the

plane, Q = x0 , y0 , z 0  . Then the vector, PQ  x 0  x1 , y 0  y1 , z 0  z 1

So now the dot product of PQ and n becomes:

PQ  n  a , b ,c  x 0  x1 , y 0  y1 , z 0  z1
 a x 0  x1   b y 0  y1   c z 0  z1 
 ax 0  by0  cz 0  ax1  by1  cz 1
Note that since P is a point on the plane it will satisfy the equation of the
plane, so ax1  by1  cz 1  d  0 or d  ax1  by1  cz 1 and the dot
product can be rewritten:

PQ  n  ax 0  by0  cz 0  d
Thus the formula for the distance can be written another way:

The Distance Between a Point and a Plane

The distance between a plane, ax + by + cz + d = 0 and a point Q x0 , y0 , z 0 


is

ax 0  by 0  cz 0  d
D  projn PQ 
a 2  b2  c2

Now that you have two formulas for the distance between a point and a plane,
let’s consider the second case, the distance between a point and a line.
Distance Between a Point and a Line

In the picture below, Q is a point not on the line , P is a point on the line, u

is a direction vector for the line and  is the angle between u and PQ.

D = Distance from Q to the line



P u

D
Obviously, sin   or D  PQ sin 
PQ
We know from Section 7.4 on cross products that

u v  u v sin  , where  is the angle between u and v .

Thus, PQ  u  PQ u sin 

or dividing both sides by u

PQ  u
 PQ sin 
u

PQ  u
So if, D  PQ sin  then from above, D  .
u
Distance Between a Point and a Line

The distance, D, between a line and a point Q not on the line is given by

PQ  u
D 
u

where u is the direction vector of the line and P is a point on the line.
Example 10: Find the distance between the point Q (1, 3, -2) and the line
given by the parametric equations:

x  2  t , y  1  t and z  3  2t

Solution: From the parametric equations we know the direction vector, u is


< 1, -1, 2 > and if we let t = 0, a point P on the line is P (2, -1, 3).

Thus PQ = < 2-1, -1-3, 3-(-2) > = < 1, -4, 5 >

Find the cross product: i j k


PQ  u  1  4 5  3i  3 j  3k
1 1 2

Using the distance formula:

PQ  u  32  32  32 27 9
D      2.12
u 12   1  22
2
6 2
You have three sets of practice problems for this lesson in
Blackboard under Chapter 7, Lesson 7.5 Parts A, B and C.

S-ar putea să vă placă și