Section11.1Introduction 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 \(xy\)-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)\text{,}\) where \(a\text{,}\)\(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.
One convention is that the axes must conform to the right hand rule. This rule states that when the index finger of the right hand is extended 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. (It may take some thought to verify this, but this system is inherently different from the one created by using the “left hand rule.”)
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.
In Figure 11.1.1 we see the point \(P=(2,1,3)\) plotted on a set of axes. The basic convention here is that the \(xy\)-plane is drawn in its standard way, with the \(z\)-axis down to the left. The perspective is that the paper represents the \(xy\)-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 \(xy\)-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.2. 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.
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\text{,}\)\(y\text{,}\) and \(z\) are positive is called the first octant. We do not name the other seven octants in this text.
Subsection11.1.1Measuring 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.
Definition11.1.3.Distance In Space.
Let \(P=(x_1,y_1,z_1)\) and \(Q = (x_2,y_2,z_2)\) be points in space. The distance \(D\) between \(P\) and \(Q\) is
\begin{equation*}
D = \sqrt{(x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1)^2}\text{.}
\end{equation*}
We refer to the line segment that connects points \(P\) and \(Q\) in space as \(\overline{PQ}\text{,}\) and refer to the length of this segment as \(\norm{\overline{PQ}}\text{.}\) The above distance formula allows us to compute the length of this segment.
Example11.1.4.Length of a line segment.
Let \(P = (1,4,-1)\) and let \(Q = (2,1,1)\text{.}\) Draw the line segment \(\overline{PQ}\) and find its length.
The points \(P\) and \(Q\) are plotted in Figure 11.1.5; no special consideration need 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.3, we have
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.3 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\text{.}\) If a point \(P=(x,y,z)\) lies on the sphere, then \(P\) is \(r\) units from \(C\text{;}\) that is,
Squaring both sides, we get the standard equation of a sphere in space with center at \(C=(a,b,c)\) with radius \(r\text{,}\) as given in the following Key Idea.
Key Idea11.1.6.Standard Equation of a Sphere in Space.
The standard equation of the sphere with radius \(r\text{,}\) centered at \(C=(a,b,c)\text{,}\) is
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\text{,}\)\(y\) and \(z\) are all used. We now consider situations where surfaces are defined where one or two of these variables are absent.
Subsection11.1.3Introduction to Planes in Space
The coordinate axes naturally define three planes (shown in Figure 11.1.8), the coordinate planes: the \(xy\)-plane, the \(yz\)-plane and the \(xz\)-plane. The \(xy\)-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\text{.}\) Likewise, the \(xz\)-plane is all points where the \(y\)-value is 0, characterized by \(y=0\text{.}\)
The equation \(x=2\) describes all points in space where the \(x\)-value is 2. This is a plane, parallel to the \(yz\)-coordinate plane, shown in Figure 11.1.9.
The region is all points between the planes \(y=-1\) and \(y=2\text{.}\) These planes are sketched in Figure 11.1.11, which are parallel to the \(xz\)-plane. Thus the region extends infinitely in the \(x\) and \(z\) directions, and is bounded by planes in the \(y\) direction.
Figure11.1.11.Sketching the boundaries of a region in Example 11.1.10
Subsection11.1.4Cylinders
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 \(x^2+y^2=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.12.(a), we show part of the graph of the equation \(x^2+y^2=1\) by sketching 3 circles: the bottom one has a constant \(z\)-value of \(-1.5\text{,}\) 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.12.(b). This surface looks like a “tube,” or a “cylinder”; mathematicians call this surface a cylinder for an entirely different reason.
Let \(C\) be a curve in a plane and let \(L\) be a line not parallel to \(C\text{.}\) A cylinder is the set of all lines parallel to \(L\) that pass through \(C\text{.}\) 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 third variable.
In the example preceding the definition, the curve \(x^2+y^2=1\) in the \(xy\)-plane is the directrix and the rulings are lines parallel to the \(z\)-axis. (Any circle shown in Figure 11.1.12 can be considered a directrix; we simply choose the one where \(z=0\text{.}\)) Sample rulings can also be viewed in Figure 11.1.12.(b). More examples will help us understand this definition.
We can view the equation \(z=y^2\) as a parabola in the \(yz\)-plane, as illustrated in Figure 11.1.15.(a). As \(x\) does not appear in the equation, the rulings are lines through this parabola parallel to the \(x\)-axis, shown in Figure 11.1.15.(b). These rulings give a general idea as to what the surface looks like, drawn in Figure 11.1.15.(c).
Figure11.1.15.Sketching the cylinder defined by \(z=y^2\)
We can view the equation \(x=\sin(z)\) as a sine curve that exists in the \(xz\)-plane, as shown in Figure 11.1.16.(a). The rules are parallel to the \(y\) axis as the variable \(y\) does not appear in the equation \(x=\sin(z)\text{;}\) some of these are shown in Figure 11.1.16.(b). The surface is shown in Figure 11.1.16.(c).
Figure11.1.16.Sketching the cylinder defined by \(x=\sin(z)\)
Subsection11.1.5Surfaces 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=\sqrt{x}\) about the \(x\)-axis. Cross-sections of this surface parallel to the \(yz\)-plane are circles, as shown in Figure 11.1.17.(a). Each circle has equation of the form \(y^2+z^2=r^2\) for some radius \(r\text{.}\) The radius is a function of \(x\text{;}\) in fact, it is \(r(x) = \sqrt{x}\text{.}\) Thus the equation of the surface shown in Figure 11.1.17.(b) is \(y^2+z^2=(\sqrt{x})^2\text{.}\)
Note how the surface (and hence the resulting equation) is the same if we began with the curve \(x=\sin(z)\text{,}\) which is also drawn in Figure 11.1.20.(a).
Figure11.1.20.Revolving \(y=\sin(z)\) about the \(z\)-axis in Example 11.1.19
This particular method of creating surfaces of revolution is limited. For instance, in Example 7.3.10 of Section 7.3 we found the volume of the solid formed by revolving \(y=\sin(x)\) about the \(y\)-axis. Our current method of forming surfaces can only rotate \(y=\sin(x)\) about the \(x\)-axis. Trying to rewrite \(y=\sin(x)\) as a function of \(y\) is not trivial, as simply writing \(x=\sin^{-1}(y)\) 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. 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\text{,}\) we plot a \(z\)-height of \(f(r)\text{.}\) When rotating \(f(x)\) about the \(z\)-axis, we want all points a distance of \(r\) from the \(z\)-axis in the \(xy\)-plane to have a \(z\)-height of \(f(r)\text{.}\) All such points satisfy the equation \(r^2=x^2+y^2\text{;}\) hence \(r=\sqrt{x^2+y^2}\text{.}\) Replacing \(r\) with \(\sqrt{x^2+y^2}\) in \(f(r)\) gives \(z=f(\sqrt{x^2+y^2})\text{.}\) This is the equation of the surface.
Key Idea11.1.21.Surfaces of Revolution, Part 2.
Let \(z=f(x)\text{,}\)\(x\geq 0\text{,}\) be a curve in the \(xz\)-plane. The surface formed by revolving this curve about the \(z\)-axis has equation \(z=f\big(\sqrt{x^2+y^2}\big)\text{.}\)
Example11.1.22.Finding equation of surface of revolution.
Find the equation of the surface found by revolving \(z=\sin(x)\) about the \(z\)-axis.
Figure11.1.23.Revolving \(z=\sin(x)\) about the \(z\)-axis in Example 11.1.22
Subsection11.1.6Quadric 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.
Definition11.1.24.Quadric Surface.
A quadric surface is the graph of the general second-degree equation in three variables:
When the coefficients \(D\text{,}\)\(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.
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= x^2/4+y^2\text{,}\) shown in Figure 11.1.25. If we intersect this shape with the plane \(z=d\) (i.e., replace \(z\) with \(d\)), we have the equation:
\begin{align*}
d \amp = \frac{x^2}4+y^2.\\
\end{align*}
This describes an ellipse — so cross sections parallel to the \(xy\)-coordinate plane are ellipses. This ellipse is drawn in the figure.
Now consider cross sections parallel to the \(xz\)-plane. For instance, letting \(y=0\) gives the equation \(z=x^2/4\text{,}\) clearly a parabola. Intersecting with the plane \(x=0\) gives a cross section defined by \(z=y^2\text{,}\) 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.
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= y^2/a^2+z^2/b^2\) 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.
One can rewrite the equation as \(z^2-x^2/a^2-y^2/{b^2} = 0\text{.}\) The one variable with a positive coefficient corresponds to the axis that the cones “open” along.
The one variable with a positive coefficient corresponds to the axis that the hyperboloid “opens” along. In the case illustrated, when \(\abs{d}\lt \abs{c}\text{,}\) there is no trace.
\(\ds y=\frac{x^2}{4}+\frac{z^2}{16}\text{:}\) 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\text{,}\) 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\text{:}\) The trace is the parabola \(y=z^2/16\)
\(z=0\text{:}\) The trace is the parabola \(y=x^2/4\text{.}\)
Graphing each trace in the respective plane creates a sketch as shown in Figure 11.1.27.(a). This is enough to give an idea of what the paraboloid looks like. The surface is filled in in Figure 11.1.27.(b).
\(\ds x^2+\frac{y^2}{9}+\frac{z^2}{4}=1:\) This is an ellipsoid. We can get a good idea of its shape by drawing the traces in the coordinate planes.
\(x=0\text{:}\) The trace is the ellipse \(\ds\frac{y^2}{9}+\frac{z^2}{4}=1\text{.}\) The major axis is along the \(y\)-axis with length 6 (as \(b=3\text{,}\) the length of the axis is 6); the minor axis is along the \(z\)-axis with length 4.
\(y=0\text{:}\) The trace is the ellipse \(\ds x^2+\frac{z^2}{4}=1\text{.}\) The major axis is along the \(z\)-axis, and the minor axis has length 2 along the \(x\)-axis. \(z=0\text{:}\) The trace is the ellipse \(\ds x^2+\frac{y^2}{9}=1\text{,}\) with major axis along the \(y\)-axis.
\(\ds z=y^2-x^2\text{:}\) 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:
\(x=0\text{:}\) The trace is \(z=y^2\text{,}\) a parabola opening up in the \(y-z\) plane.
\(y=0\text{:}\) The trace is \(z=-x^2\text{,}\) a parabola opening down in the \(x-z\) plane.
Sketching these two parabolas gives a sketch like that in Figure 11.1.29.(a), and filling in the surface gives a sketch like Figure 11.1.29.(b).
The image clearly displays a hyperboloid of two sheets. The gallery informs us that the equation will have a form similar to \(\frac{z^2}{c^2}-\frac{x^2}{a^2}-\frac{y^2}{b^2}=1\text{.}\)
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 \gt b\text{.}\) This eliminates (b), leaving us with (d). We should verify that the equation given in (d), \(4x^2-y^2-\frac{z^2}9=1\text{,}\) 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\text{.}\) Now note the coefficient of the \(x\)-term. Rewriting \(4x^2\) in standard form, we have: \(\ds 4x^2 = \frac{x^2}{(1/2)^2}\text{.}\) Thus when \(y=0\) and \(z=0\text{,}\)\(x\) must be \(1/2\text{;}\) i.e., each hyperboloid “starts” at \(x=1/2\text{.}\) This matches our figure.
We conclude that \(\ds 4x^2-y^2-\frac{z^2}9=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.
Exercises11.1.7Exercises
Terms and Concepts
1.
Axes drawn in space must conform to the rule.
2.
In the plane, the equation \(x=2\) defines a ;
in space, \(x=2\) defines a .
3.
In the plane, the equation \(y=x^2\) defines a ; in space, \(y=x^2\) defines a .
4.
Which quadric surface looks like a Pringles(TM) chip?
Elliptic Paraboloid
Elliptic Cone
Ellipsoid
Hyperboloid of One Sheet
Hyperboloid of Two Sheets
Hyperbolic Paraboloid
5.
Consider the hyperbola \(x^2-y^2=1\) in the plane. If this hyperbola is rotated about the \(x\)-axis, what quadric surface is formed?
6.
Consider the hyperbola \(x^2-y^2=1\) in the plane. If this hyperbola is rotated about the \(y\)-axis, what quadric surface is formed?
Problems
7.
The points \(A=(1,4,2)\text{,}\)\(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.
\(\left\lVert\overline{AB}\right\rVert=\)
\(\left\lVert\overline{BC}\right\rVert=\)
\(\left\lVert\overline{CA}\right\rVert=\)
The three points
do
do not
form a right triangle.
8.
The points \(A=(1,1,3)\text{,}\)\(B=(3,2,7)\text{,}\)\(C=(2,0,8)\) and \(D = (0,-1,4)\) form a quadrilateral \(ABCD\) in space. Is this a parallelogram?
9.
Find the center and radius of the sphere defined by