11 Vectors

11.1 Introduction to Cartesian Coordinates in Space

Up to this point in this text we have considered mathematics in a 2-dimensional world. We have plotted graphs on the x-y plane using rectangular and polar coordinates and found the area of regions in the plane. We have considered properties of solid objects, such as volume and surface area, but only by first defining a curve in the plane and then rotating it out of the plane.

While there is wonderful mathematics to explore in “2D,” we live in a “3D” world and eventually we will want to apply mathematics involving this third dimension. In this section we introduce Cartesian coordinates in space and explore basic surfaces. This will lay a foundation for much of what we do in the remainder of the text.

Each point P in space can be represented with an ordered triple, P=(a,b,c), where a, b and c represent the relative position of P along the x-, y- and z-axes, respectively. Each axis is perpendicular to the other two.

Visualizing points in space on paper can be problematic, as we are trying to represent a 3-dimensional concept on a 2-dimensional medium. We cannot draw three lines representing the three axes in which each line is perpendicular to the other two. Despite this issue, standard conventions exist for plotting shapes in space that we will discuss that are more than adequate.

margin: Figure 11.1.1: Illustrating the right hand rule. Figure courtesy of user:Schorschi2 / Wikimedia Commons / Public Domain.

One convention is that the axes must conform to the right hand rule. This rule states that when the fingers of the right hand extend in the direction of the positive x-axis and curve toward the positive y-axis, then the extended thumb will point in the direction of the positive z-axis. (It may take some thought to verify this, but this system is inherently different from the one created by using the “left hand rule.”) Another way to view the rule is that when the index finger of the right hand extends in the direction of the positive x-axis, and the middle finger (bent “inward” so it is perpendicular to the palm) points along the positive y-axis, then the extended thumb will point in the direction of the positive z-axis.

As long as the coordinate axes are positioned so that they follow this rule, it does not matter how the axes are drawn on paper. There are two popular methods that we briefly discuss. margin: Figure 11.1.2: Plotting the point P=(2,1,3) in space.

In Figure 11.1.2 we see the point P=(2,1,3) plotted on a set of axes. The basic convention here is that the x-y plane is drawn in its standard way, with the z-axis down to the left. The perspective is that the paper represents the x-y plane and the positive z axis is coming up, off the page. This method is preferred by many engineers. Because it can be hard to tell where a single point lies in relation to all the axes, dashed lines have been added to let one see how far along each axis the point lies.

One can also consider the x-y plane as being a horizontal plane in, say, a room, where the positive z-axis is pointing up. When one steps back and looks at this room, one might draw the axes as shown in Figure 11.1.3. The same point P is drawn, again with dashed lines. This point of view is preferred by most mathematicians, and is the convention adopted by this text. margin: Figure 11.1.3: Plotting the point P=(2,1,3) in space with a perspective used in this text.

Just as the x- and y-axes divide the plane into four quadrants, the x-, y-, and z-coordinate planes divide space into eight octants. The octant in which x, y, and z are positive is called the first octant. We will not give special names for the other seven octants.

Measuring Distances

It is of critical importance to know how to measure distances between points in space. The formula for doing so is based on measuring distance in the plane, and is known (in both contexts) as the Euclidean measure of distance.

Definition 11.1.1      Distance In Space

Let P=(x1,y1,z1) and Q=(x2,y2,z2) be points in space. The distance D between P and Q is

D=(x2-x1)2+(y2-y1)2+(z2-z1)2.

We refer to the line segment that connects points P and Q in space as PQ¯, and refer to the length of this segment as PQ¯. The above distance formula allows us to compute the length of this segment.

Example 11.1.1 Length of a line segment

Let P=(1,4,-1) and let Q=(2,1,1). Draw the line segment PQ¯ and find its length.

SolutionThe points P and Q are plotted in Figure 11.1.4; no special consideration needs to be made to draw the line segment connecting these two points; simply connect them with a straight line. One cannot actually measure this line on the page and deduce anything meaningful; its true length must be measured analytically. Applying Definition 11.1.1, we have margin: Figure 11.1.4: Plotting points P and Q in Example 11.1.1.

PQ¯=(2-1)2+(1-4)2+(1-(-1))2=14.

Spheres

Just as a circle is the set of all points in the plane equidistant from a given point (its center), a sphere is the set of all points in space that are equidistant from a given point. Definition 11.1.1 allows us to write an equation of the sphere.

We start with a point C=(a,b,c) which is to be the center of a sphere with radius r. If a point P=(x,y,z) lies on the sphere, then P is r units from C; that is,

PC¯=(x-a)2+(y-b)2+(z-c)2=r.

Squaring both sides, we get the standard equation of a sphere in space with center at C=(a,b,c) with radius r, as given in the following Key Idea.

Key Idea 11.1.1      Standard Equation of a Sphere in Space

The standard equation of the sphere with radius r, centered at C=(a,b,c), is

(x-a)2+(y-b)2+(z-c)2=r2.
Example 11.1.2 Equation of a sphere

Find the center and radius of the sphere defined by x2+2x+y2-4y+z2-6z=2.

SolutionTo determine the center and radius, we must put the equation in standard form. This requires us to complete the square (three times).

x2+2x+y2-4y+z2-6z =2
(x2+2x+1)+(y2-4y+4)+(z2-6z+9)-14 =2
(x+1)2+(y-2)2+(z-3)2 =16

The sphere is centered at (-1,2,3) and has a radius of 4.

The equation of a sphere is an example of an implicit function defining a surface in space. In the case of a sphere, the variables x, y and z are all used. We now consider situations where surfaces are defined where one or two of these variables are absent.

Introduction to Planes in Space

The coordinate axes naturally define three planes (shown in Figure 11.1.5), the coordinate planes: the x-y plane, the y-z plane and the x-z plane. The x-y plane is characterized as the set of all points in space where the z-value is 0. This, in fact, gives us an equation that describes this plane: z=0. Likewise, the x-z plane is all points where the y-value is 0, characterized by y=0.

the x-y plane the y-z plane the x-z plane Figure 11.1.5: The coordinate planes.
margin: Figure 11.1.6: The plane x=2.
Example 11.1.3 A plane in three dimensions

The equation x=2 describes all points in space where the x-value is 2. This is a plane, parallel to the y-z coordinate plane, shown in Figure 11.1.6.

Example 11.1.4 Regions defined by planes

Sketch the region defined by the inequalities -1y2.

SolutionThe region is all points between the planes y=-1 and y=2. These planes are sketched in Figure 11.1.7, which are parallel to the x-z plane. Thus the region extends infinitely in the x and z directions, and is bounded by planes in the y direction.

margin: Figure 11.1.7: Sketching the boundaries of a region in Example 11.1.4.

Cylinders

The equation x=1 obviously lacks the y and z variables, meaning it defines points where the y and z coordinates can take on any value. Now consider the equation x2+y2=1 in space. In the plane, this equation describes a circle of radius 1, centered at the origin. In space, the z coordinate is not specified, meaning it can take on any value. In Figure 11.1.8 (a), we show part of the graph of the equation x2+y2=1 by sketching 3 circles: the bottom one has a constant z-value of -1.5, the middle one has a z-value of 0 and the top circle has a z-value of 1. By plotting all possible z-values, we get the surface shown in Figure 11.1.8 (b). This surface looks like a “tube,” or a “cylinder”, which leads to our next definition.

margin: (a) (b) Figure 11.1.8: Sketching x2+y2=1.
Definition 11.1.2      Cylinder

Let C be a curve in a plane and let L be a line not parallel to C. A cylinder is the set of all lines parallel to L that pass through C. The curve C is the directrix of the cylinder, and the lines are the rulings.

In this text, we consider curves C that lie in planes parallel to one of the coordinate planes, and lines L that are perpendicular to these planes, forming right cylinders. Thus the directrix can be defined using equations involving 2 variables, and the rulings will be parallel to the axis of the 3rd variable.

In the example preceding the definition, the curve x2+y2=1 in the x-y plane is the directrix and the rulings are lines parallel to the z-axis. (Any circle shown in Figure 11.1.8 can be considered a directrix; we simply choose the one where z=0.) Sample rulings can also be viewed in part (b) of the figure. More examples will help us understand this definition.

Example 11.1.5 Graphing cylinders

Graph the following cylinders.

1.z=y2  2.x=sinz

Solution

  1. 1.

    We can view the equation z=y2 as a parabola in the y-z plane, as illustrated in Figure 11.1.9 (a). As x does not appear in the equation, the rulings are lines through this parabola parallel to the x-axis, shown in (b). These rulings give a general idea as to what the surface looks like, drawn in (c).

    (a) (b) (c) Figure 11.1.9: Sketching the cylinder defined by z=y2.
  2. 2.

    We can view the equation x=sinz as a sine curve that exists in the x-z plane, as shown in Figure 11.1.10 (a). The rules are parallel to the y axis as the variable y does not appear in the equation x=sinz; some of these are shown in part (b). The surface is shown in part (c) of the figure.

    (a) (b) (c) Figure 11.1.10: Sketching the cylinder defined by x=sinz.

Surfaces of Revolution

One of the applications of integration we learned previously was to find the volume of solids of revolution — solids formed by revolving a curve about a horizontal or vertical axis. We now consider how to find the equation of the surface of such a solid.

Consider the surface formed by revolving y=x about the x-axis. Cross-sections of this surface parallel to the y-z plane are circles, as shown in Figure 11.1.11(a). Each circle has equation of the form y2+z2=r2 for some radius r. The radius is a function of x; in fact, it is r(x)=x. Thus the equation of the surface shown in Figure 11.1.11(b) is y2+z2=(x)2.

margin: (a) (b) Figure 11.1.11: Introducing surfaces of revolution.

We generalize the above principles to give the equations of surfaces formed by revolving curves about the coordinate axes.

Key Idea 11.1.2      Surfaces of Revolution, Part 1

Let r be a radius function.

  1. 1.

    The equation of the surface formed by revolving y=r(x) or z=r(x) about the x-axis is y2+z2=r(x)2.

  2. 2.

    The equation of the surface formed by revolving x=r(y) or z=r(y) about the y-axis is x2+z2=r(y)2.

  3. 3.

    The equation of the surface formed by revolving x=r(z) or y=r(z) about the z-axis is x2+y2=r(z)2.

Example 11.1.6 Finding equation of a surface of revolution

Let y=sinz on [0,π]. Find the equation of the surface of revolution formed by revolving y=sinz about the z-axis.

Solutionmargin: (a) (b) Figure 11.1.12: Revolving y=sinz about the z-axis in Example 11.1.6. Using Key Idea 11.1.2, we find the surface has equation x2+y2=sin2z. The curve is sketched in Figure 11.1.12(a) and the surface is drawn in Figure 11.1.12(b).

Note how the surface (and hence the resulting equation) is the same if we began with the curve x=sinz, which is also drawn in Figure 11.1.12(a).

This particular method of creating surfaces of revolution is limited. For instance, in Example 6.3.5 of Section 6.3 we found the volume of the solid formed by revolving y=sinx about the y-axis. Our current method of forming surfaces can only rotate y=sinx about the x-axis. Trying to rewrite y=sinx as a function of y is not trivial, as simply writing x=sin-1y only gives part of the region we desire.

What we desire is a way of writing the surface of revolution formed by rotating y=f(x) about the y-axis. We start by first recognizing this surface is the same as revolving z=f(x) about the z-axis, although it has a different orientation. This will give us a more natural way of viewing the surface.

A value of x is a measurement of distance from the z-axis. At the distance r, we plot a z-height of f(r). When rotating f(x) about the z-axis, we want all points a distance of r from the z-axis in the x-y plane to have a z-height of f(r). All such points satisfy the equation r2=x2+y2; hence r=x2+y2. Replacing r with x2+y2 in f(r) gives z=f(x2+y2). This is the equation of the surface.

Key Idea 11.1.3      Surfaces of Revolution, Part 2

Let z=f(x), x0, be a curve in the x-z plane. The surface formed by revolving this curve about the z-axis has equation z=f(x2+y2).

margin: (a) (b) Figure 11.1.13: Revolving z=sinx about the z-axis in Example 11.1.7.
Example 11.1.7 Finding equation of surface of revolution

Find the equation of the surface found by revolving z=sinx about the z-axis.

SolutionUsing Key Idea 11.1.3, the surface has equation z=sin(x2+y2). The curve and surface are graphed in Figure 11.1.13.

Quadric Surfaces

Spheres, planes and cylinders are important surfaces to understand. We now consider one last type of surface, a quadric surface. The definition may look intimidating, but we will show how to analyze these surfaces in an illuminating way.

Definition 11.1.3      Quadric Surface

A quadric surface is the graph of the general second-degree equation in three variables:

Ax2+By2+Cz2+Dxy+Exz+Fyz+Gx+Hy+Iz+J=0.

When the coefficients D, E or F are not zero, the basic shapes of the quadric surfaces are rotated in space. We will focus on quadric surfaces where these coefficients are 0; we will not consider rotations. There are six basic quadric surfaces: the elliptic paraboloid, elliptic cone, ellipsoid, hyperboloid of one sheet, hyperboloid of two sheets, and the hyperbolic paraboloid.

margin: Figure 11.1.14: The elliptic paraboloid z=x2/4+y2.

We study each shape by considering traces, that is, intersections of each surface with a plane parallel to a coordinate plane. For instance, consider the elliptic paraboloid z=x2/4+y2, shown in Figure 11.1.14. If we intersect this shape with the plane z=d  (i.e., replace z with d), we have the equation:

d =x24+y2.
Divide both sides by d:
1 =x24d+y2d.

This describes an ellipse — so cross sections parallel to the x-y coordinate plane are ellipses. This ellipse is drawn in the figure.

Now consider cross sections parallel to the x-z plane. For instance, letting y=0 gives the equation z=x2/4, clearly a parabola. Intersecting with the plane x=0 gives a cross section defined by z=y2, another parabola. These parabolas are also sketched in the figure.

Thus we see where the elliptic paraboloid gets its name: some cross sections are ellipses, and others are parabolas.

Such an analysis can be made with each of the quadric surfaces. We give a sample equation of each, provide a sketch with representative traces, and describe these traces.

Elliptic Paraboloid,  z=x2a2+y2b2


Plane Trace x=d Parabola y=d Parabola z=d Ellipse One variable in the equation of the elliptic paraboloid will be raised to the first power; above, this is the z variable. The paraboloid will “open” in the direction of this variable’s axis. Thus x=y2/a2+z2/b2 is an elliptic paraboloid that opens along the x-axis.

Multiplying the right hand side by (-1) defines an elliptic paraboloid that “opens” in the opposite direction.

Elliptic Cone,  z2=x2a2+y2b2


Plane Trace x=0 Crossed Lines y=0 Crossed Lines x=d Hyperbola y=d Hyperbola z=d Ellipse One can rewrite the equation as z2-x2/a2-y2/b2=0. The one variable with a positive coefficient corresponds to the axis that the cones “open” along.

Ellipsoid,  x2a2+y2b2+z2c2=1


Plane Trace x=d Ellipse y=d Ellipse z=d Ellipse If a=b=c0, the ellipsoid is a sphere with radius a; compare to Key Idea 11.1.1.

Hyperboloid of One Sheet,  x2a2+y2b2-z2c2=1


Plane Trace x=d Hyperbola y=d Hyperbola z=d Ellipse The one variable with a negative coefficient corresponds to the axis along which the hyperboloid “opens”.

Hyperboloid of Two Sheets,  z2c2-x2a2-y2b2=1


Plane Trace x=d Hyperbola y=d Hyperbola z=d Ellipse The one variable with a positive coefficient corresponds to the axis along which the hyperboloid “opens”. In the case illustrated, when |d|<|c|, there is no trace in the plane z=d.

Hyperbolic Paraboloid,  z=x2a2-y2b2


Plane Trace x=d Parabola y=d Parabola z=d Hyperbola

The parabolic traces will open along the axis of the one variable that is raised to the first power.

margin: (a) (b) Figure 11.1.15: Sketching an elliptic paraboloid.
Example 11.1.8 Sketching quadric surfaces

Sketch the quadric surface defined by the given equation.

1.y=x24+z216  2.x2+y29+z24=1  3.z=y2-x2.

Solution

  1. 1.

    y=x24+z216:
    We first identify the quadric by pattern-matching with the equations given previously. Only two surfaces have equations where one variable is raised to the first power, the elliptic paraboloid and the hyperbolic paraboloid. In the latter case, the other variables have different signs, so we conclude that this describes a hyperbolic paraboloid. As the variable with the first power is y, we note the paraboloid opens along the y-axis.

    To make a decent sketch by hand, we need only draw a few traces. In this case, the traces x=0 and z=0 form parabolas that outline the shape.

    x=0: The trace is the parabola y=z2/16

    z=0: The trace is the parabola y=x2/4.

    Graphing each trace in the respective plane creates a sketch as shown in Figure 11.1.15(a). This is enough to give an idea of what the paraboloid looks like. The surface is filled in in (b).

  2. 2.

    x2+y29+z24=1:
    margin: (a) (b) Figure 11.1.16: Sketching an ellipsoid. This is an ellipsoid. We can get a good idea of its shape by drawing the traces in the coordinate planes.

    x=0: The trace is the ellipse y29+z24=1. The major axis is along the y-axis with length 6 (as b=3, the length of the axis is 6); the minor axis is along the z-axis with length 4.

    y=0: The trace is the ellipse x2+z24=1. The major axis is along the z-axis, and the minor axis has length 2 along the x-axis.

    z=0: The trace is the ellipse x2+y29=1, with major axis along the y-axis.

    Graphing each trace in the respective plane creates a sketch as shown in Figure 11.1.16(a). Filling in the surface gives Figure 11.1.16(b).

  3. 3.

    z=y2-x2:
    This defines a hyperbolic paraboloid, very similar to the one shown in the gallery of quadric sections. Consider the traces in the y-z and x-z planes:

    margin: (a) (b) Figure 11.1.17: Sketching a hyperbolic paraboloid.

    x=0: The trace is z=y2, a parabola opening up in the y-z plane.

    y=0: The trace is z=-x2, a parabola opening down in the x-z plane.

    Sketching these two parabolas gives a sketch like that in Figure 11.1.17 (a), and filling in the surface gives a sketch like (b).

margin: Figure 11.1.18: A possible equation of this quadric surface is found in Example 11.1.9.
Example 11.1.9 Identifying quadric surfaces

Consider the quadric surface shown in Figure 11.1.18. Which of the following equations best fits this surface?

(a)x2-y2-z29 =0 (c)z2-x2-y2 =1
(b)x2-y2-z2 =1 (d)4x2-y2-z29 =1

SolutionThe image clearly displays a hyperboloid of two sheets. The gallery informs us that the equation will have a form similar to z2c2-x2a2-y2b2=1.

We can immediately eliminate option (a), as the constant in that equation is not 1.

The hyperboloid “opens” along the x-axis, meaning x must be the only variable with a positive coefficient, eliminating (c).

The hyperboloid is wider in the z-direction than in the y-direction, so we need an equation where c>b. This eliminates (b), leaving us with (d). We should verify that the equation given in (d), 4x2-y2-z29=1, fits.

We already established that this equation describes a hyperboloid of two sheets that opens in the x-direction and is wider in the z-direction than in the y. Now note the coefficient of the x-term. Rewriting 4x2 in standard form, we have: 4x2=x2(1/2)2. Thus when y=0 and z=0, x must be 1/2; i.e., each hyperboloid “starts” at x=1/2. This matches our figure.

We conclude that 4x2-y2-z29=1 best fits the graph.

This section has introduced points in space and shown how equations can describe surfaces. The next sections explore vectors, an important mathematical object that we’ll use to explore curves in space.

Exercises 11.1

 

Terms and Concepts

  1. 1.

    Axes drawn in space must conform to the                           rule.

  2. 2.

    In the plane, the equation x=2 defines a             ; in space, x=2 defines a             .

  3. 3.

    In the plane, the equation y=x2 defines a             ; in space, y=x2 defines a             .

  4. 4.

    Which quadric surface looks like a Pringles® chip?

  5. 5.

    Consider the hyperbola x2-y2=1 in the plane. If this hyperbola is rotated about the x-axis, what quadric surface is formed?

  6. 6.

    Consider the hyperbola x2-y2=1 in the plane. If this hyperbola is rotated about the y-axis, what quadric surface is formed?

Problems

  1. 7.

    The points A=(1,4,2), B=(2,6,3) and C=(4,3,1) form a triangle in space. Find the distances between each pair of points and determine if the triangle is a right triangle.

  2. 8.

    The points A=(3,2,0), B=(1,0,1), and C=(-1,1,3) form a triangle in space. Find the distance between each pair of points and determine if the triangle is isosceles.

  3. 9.

    Explain why three points lie on a line if and only if the distance between two of the points is equal to the sum of the distances from each of these points to the third.

  4. 10.

    Determine whether or not the points A=(2,0,3), B=(0,-3,4), and C=(4,3,2) lie on a line.

  5. 11.

    Determine whether or not the points A=(4,5,3), B=(6,8,7), and C=(0,0,-5) lie on a line.

  6. 12.

    The points A=(1,1,3), B=(3,2,7), C=(2,0,8) and D=(0,-1,4) form a quadrilateral ABCD in space. Is this a parallelogram?

  7. 13.
    Find the center and radius of the sphere defined by x2-8x+y2+2y+z2+8=0.
  8. 14.
    Find the center and radius of the sphere defined by x2+y2+z2+4x-2y-4z+4=0.
  9. 15.
    Show that the point A=(2,1,5) is inside the sphere given by x2+y2+z2-2x+4y-6z=11. Is A closer to the center of the sphere or to the surface of the sphere?
  10. 16.
    Let P=(x1,y1,z1) and Q=(x2,y2,z2) be points in space. Show that the midpoint of PQ¯ is (x1+x22,y1+y22,z1+z22).

In Exercises 17–20, describe the region in space defined by the inequalities.

  1. 17.

    x2+y2+z2<1

  2. 18.

    0x3

  3. 19.

    x0,y0,z0

  4. 20.

    y3

In Exercises 21–24, sketch the cylinder in space.

  1. 21.

    z=x3

  2. 22.

    y=cosz

  3. 23.

    x24+y29=1

  4. 24.

    y=1x

In Exercises 25–28, give the equation of the surface of revolution described.

  1. 25.

    Revolve z=11+y2 about the y-axis.

  2. 26.

    Revolve y=x2 about the x-axis.

  3. 27.

    Revolve z=x2 about the z-axis.

  4. 28.

    Revolve z=1/x about the z-axis.

In Exercises 29–32, a quadric surface is sketched. Determine which of the given equations best fits the graph.

  1. 29.
    (a) x=y2+z29     (b) x=y2+z23
  2. 30.
    (a) x2-y2-z2=0     (b) x2-y2+z2=0
  3. 31.
    (a) x2+y23+z22=1     (b) x2+y29+z24=1
  4. 32.
    (a) y2-x2-z2=1     (b) y2+x2-z2=1

In Exercises 33–40, sketch the quadric surface.

  1. 33.

    z-y2+x2=0

  2. 34.

    z2=x2+y24

  3. 35.

    x=-y2-z2

  4. 36.

    16x2-16y2-16z2=1

  5. 37.

    x29-y2+z225=1

  6. 38.

    4x2+2y2+z2=4

  7. 39.

    z=x2+y2-2x-4y+4

  8. 40.

    (x-2)24+(y+1)2+(z-3)29=1

Modern Campus CMS