This is not really indicative of how a person would sketch a graph by hand (better techniques for doing so were covered in Section 3.5), but it is not far off from how a computer might generate a plot, or how a student who is first learning about functions might use a table of values to create a plot.
The rectangular equation\(y=f(x)\) works well for some shapes like a parabola with a vertical axis of symmetry, but in the previous section we encountered several shapes that could not be sketched in this manner. (To plot an ellipse using the above procedure, we need to plot the “top” and “bottom” separately.)
This is another text-based diagram, which illustrates the method for plotting curves that will be covered in this section. In this method, the coordinates \(x\) and \(y\) are both defined as functions of a third variable, \(t\text{.}\) Four phrases are arranged in a diamond shape, with text left, right, top, and bottom.
To the left of the diagram is the text, “Choose \(t\)”. An arrow points up and to the left from this text to the phrase “Use a function \(f\) to find \(x\) (\(x=f(t)\))”, which is located at the top of the diagram. Another arrow points down and to the left from “Choose \(t\)” to the phrase “Use a function \(g\) to find \(y\) (\(y=g(t)\))”, which is located at the bottom of the diagram.
From the phrases at the top and bottom of the diagram there are two more arrows pointing to the right, to a final phrase, which states, “Plot point \((x,y)\)”.
Here, \(x\) and \(y\) are found separately but then plotted together: for each value of the input \(t\text{,}\) we plot the output - the point \((x(t),y(t))\text{.}\)
Let \(f\) and \(g\) be continuous functions on an interval \(I\text{.}\) The set of all points \(\big(x,y\big) = \big(f(t),g(t)\big)\) in the Cartesian plane, as \(t\) varies over \(I\text{,}\) is the graph of the parametric equations \(x=f(t)\) and \(y=g(t)\text{,}\) where \(t\) is the parameter. A curve is a graph along with the parametric equations that define it.
This is a formal definition of the word curve. When a curve lies in a plane (such as the Cartesian plane), it is often referred to as a plane curve. Examples will help us understand the concepts introduced in the definition.
We plot the graphs of parametric equations in much the same manner as we plotted graphs of functions like \(y=f(x)\text{:}\) we make a table of values, plot points, then connect these points with a “reasonable” looking curve. Figure 10.2.6.(a) shows such a table of values; note how we have 3 columns.
The points \((x,y)\) from the table are plotted in Figure 10.2.6.(b). The points have been connected with a smooth curve. Each point has been labeled with its corresponding \(t\)-value. These values, along with the two arrows along the curve, are used to indicate the orientation of the graph. This information helps us determine the direction in which the graph is “moving.”
The parametric curve obtained from the table of values in Figure 10.2.6.(a) is shown. On a set of coordinate axes, the points corresponding to the values \(t=-2,-1,0,1,2\) are plotted. These are, respectively, \((4,-1), (1,0), (0,1), (1,2), (4,3)\text{.}\)
The curve joining these points is plotted; it appears to be a parabola opening to the right, with its vertex at the point \((0,1)\text{.}\) Arrow heads on the curve indicate a direction of travel corresponding to an increasing value of \(t\text{.}\)
We often use the letter \(t\) as the parameter as we often regard \(t\) as representing time. Certainly there are many contexts in which the parameter is not time, but it can be helpful to think in terms of time as one makes sense of parametric plots and their orientation (for instance, “At time \(t=0\) the position is \((1,2)\) and at time \(t=3\) the position is \((5,1)\text{.}\)”).
The parametric curve obtained from the table of values in Figure 10.2.8.(a) is shown. The curve is very similar in appearance to the one in Figure 10.2.6.(b); again it appears to be a parabola opening to the right, with its vertex at the point \((0,1)\text{.}\)
The primary difference is that the marked points now correspond to parameter values \(t = 0, \pi/4, \pi/2, 3\pi/4, \pi\text{.}\) The direction of travel is opposite to that in Figure 10.2.6.(b).
It is not difficult to show that the curves in Examples 10.2.5 and 10.2.7 are portions of the same parabola. While the parabola is the same, the curves are different. In Example 10.2.5, if we let \(t\) vary over all real numbers, we’d obtain the entire parabola. In this example, letting \(t\) vary over all real numbers would still produce the same graph; this portion of the parabola would be traced, and re-traced, infinitely many times. The orientation shown in Figure 10.2.8 shows the orientation on \([0,\pi]\text{,}\) but this orientation is reversed on \([\pi,2\pi]\text{.}\)
These examples begin to illustrate the powerful nature of parametric equations. Their graphs are far more diverse than the graphs of functions produced by “\(y=f(x)\)” functions.
Technology Note: Most graphing utilities can graph functions given in parametric form. Often the word “parametric” is abbreviated as “PAR” or “PARAM” in the options. The user usually needs to determine the graphing window (i.e, the minimum and maximum \(x\)- and \(y\)-values), along with the values of \(t\) that are to be plotted. The user is often prompted to give a \(t\) minimum, a \(t\) maximum, and a “\(t\)-step” or “\(\Delta t\text{.}\)” Graphing utilities effectively plot parametric functions just as we’ve shown here: they plots lots of points. A smaller \(t\)-step plots more points, making for a smoother graph (but may take longer). In Figure 10.2.6, the \(t\)-step is 1; in Figure 10.2.8, the \(t\)-step is \(\pi/4\text{.}\)
One nice feature of parametric equations is that their graphs are easy to shift. While this is not too difficult in the “\(y=f(x)\)” context, the resulting function can look rather messy. (Plus, to shift to the right by two, we replace \(x\) with \(x-2\text{,}\) which is counter-intuitive.) The following example demonstrates this.
Example10.2.9.Shifting the graph of parametric functions.
Sketch the graph of the parametric equations \(x=t^2+t\text{,}\)\(y=t^2-t\text{.}\) Find new parametric equations that shift this graph to the right 3 places and down 2.
The graph of the parametric equations is given in Figure 10.2.10.(a). It is a parabola with a axis of symmetry along the line \(y=x\text{;}\) the vertex is at \((0,0)\text{.}\)
In order to shift the graph to the right 3 units, we need to increase the \(x\)-value by 3 for every point. The straightforward way to accomplish this is simply to add 3 to the function defining \(x\text{:}\)\(x = t^2+t+3\text{.}\) To shift the graph down by 2 units, we wish to decrease each \(y\)-value by 2, so we subtract 2 from the function defining \(y\text{:}\)\(y = t^2-t-2\text{.}\) Thus our parametric equations for the shifted graph are \(x=t^2+t+3\text{,}\)\(y=t^2-t-2\text{.}\) This is graphed in Figure 10.2.10.(a). Notice how the vertex is now at \((3,-2)\text{.}\)
The curve begins near the point \((2,6)\text{,}\) and then descends to a \(y\) intercept at \((0,2)\text{.}\) It briefly enters the second quadrant before passing through the origin into the fourth quadrant. A small portion of the curve lies in the fourth quarant before it crosses the \(x\) axis at \((2,0)\text{;}\) after this point, it continues into the first quadrant, exiting the image near the point \((10,5)\text{.}\)
The curve in this image is identical to the one beside it in Figure 10.2.10.(a); the only difference is that it has been shifted 3 units to the right, and 2 units down.
Because the \(x\)- and \(y\)-values of a graph are determined independently, the graphs of parametric functions often possess features not seen on “\(y=f(x)\)” type graphs. The next example demonstrates how such graphs can arrive at the same point more than once.
Using the methods developed in this section, we again plot points and graph the parametric equations as shown in Figure 10.2.12. It appears that the graph crosses itself at the point \((2,6)\text{,}\) but we’ll need to analytically determine this.
The curve in this image could describe the path of a fly that turns sharply in a loop, before heading off in another direction. It begins in the second quadrant, traveling down and to the right, and crossing the \(y\) axis at approximately \((0,6.5)\text{.}\)
The curve continues in this direction until it turns sharply near the point \((12,2)\text{.}\) The curve then travels to the left and bends upwards, crossing itself at the point \((2,6)\text{.}\) After this point of self-intersection, the curve continues in the first quadrant, traveling up and to the right.
We are looking for two different values, say, \(s\) and \(t\text{,}\) where \(x(s) = x(t)\) and \(y(s) = y(t)\text{.}\) That is, the \(x\)-values are the same precisely when the \(y\)-values are the same. This gives us a system of 2 equations with 2 unknowns:
Solving this system is not trivial but involves only algebra. Using the quadratic formula, one can solve for \(t\) in the second equation and find that \(\ds t = 1\pm \sqrt{s^2-2s+1}\text{.}\) This can be substituted into the first equation, revealing that the graph crosses itself at \(t=-1\) and \(t=3\text{.}\) We confirm our result by computing \(x(-1) = x(3)=2\) and \(y(-1) = y(3) = 6\text{.}\)
Subsection10.2.2Converting between rectangular and parametric equations
It is sometimes useful to rewrite equations in rectangular form (i.e., \(y=f(x)\)) into parametric form, and vice-versa. Converting from rectangular to parametric can be very simple: given \(y=f(x)\text{,}\) the parametric equations \(x=t\text{,}\)\(y=f(t)\) produce the same graph. As an example, given \(y=x^2\text{,}\) the parametric equations \(x=t\text{,}\)\(y=t^2\) produce the familiar parabola. However, other parametrizations can be used. The following example demonstrates one possible alternative.
Example10.2.13.Converting from rectangular to parametric.
Consider \(y=x^2\text{.}\) Find parametric equations \(x=f(t)\text{,}\)\(y=g(t)\) for the parabola where \(t=\frac{dy}{dx}\text{.}\) That is, \(t=a\) corresponds to the point on the graph whose tangent line has slope \(a\text{.}\)
We start by computing \(\frac{dy}{dx}\text{:}\)\(y' = 2x\text{.}\) Thus we set \(t=2x\text{.}\) We can solve for \(x\) and find \(x= t/2\text{.}\) Knowing that \(y=x^2\text{,}\) we have \(y= t^2/4\text{.}\) Thus parametric equations for the parabola \(y=x^2\) are
To find the point where the tangent line has a slope of \(-2\text{,}\) we set \(t=-2\text{.}\) This gives the point \((-1, 1)\text{.}\) We can verify that the slope of the line tangent to the curve at this point indeed has a slope of \(-2\text{.}\)
Example10.2.14.Converting from rectangular to parametric.
An object is fired from a height of 0 feet and lands 6 seconds later, 192 feet away. Assuming ideal projectile motion, the height, in feet, of the object can be described by \(h(x) = -x^2/64+3x\text{,}\) where \(x\) is the distance in feet from the initial location. (Thus \(h(0) = h(192) = 0\) feet.) Find parametric equations \(x=f(t)\text{,}\)\(y=g(t)\) for the path of the projectile where \(x\) is the horizontal distance the object has traveled at time \(t\) (in seconds) and \(y\) is the height at time \(t\text{.}\)
Physics tells us that the horizontal motion of the projectile is linear; that is, the horizontal speed of the projectile is constant. Since the object travels 192 ft in 6 s, we deduce that the object is moving horizontally at a rate of 32 ft⁄s, giving the equation \(x=32t\text{.}\) As \(y=-x^2/64+3x\text{,}\) we find \(y= -16t^2+96t\text{.}\) We can quickly verify that \(y''=-32\)ft⁄ft2, the acceleration due to gravity, and that the projectile reaches its maximum at \(t=3\text{,}\) halfway along its path.
These parametric equations make certain determinations about the object’s location easy: 2 seconds into the flight the object is at the point \(\big(x(2),y(2)\big) = \big(64,128\big)\text{.}\) That is, it has traveled horizontally 64 ft and is at a height of 128 ft, as shown in Figure 10.2.15.
The curve is a parabola that opens downward from a vertex at \((96,144)\text{.}\) It illustrates the path of a projectile that is fired from the origin and travels up and to the right before reaching its maximum height at the vertex of the parabola. It then travels back down, returning to the \(x\) axis at the point \((192,0)\text{.}\)
It is sometimes necessary to convert given parametric equations into rectangular form. This can be decidedly more difficult, as some “simple” looking parametric equations can have very “complicated” rectangular equations. This conversion is often referred to as “eliminating the parameter,” as we are looking for a relationship between \(x\) and \(y\) that does not involve the parameter \(t\text{.}\)
There is not a set way to eliminate a parameter. One method is to solve for \(t\) in one equation and then substitute that value in the second. We use that technique here, then show a second, simpler method.
Starting with \(x= 1/(t^2+1)\text{,}\) solve for \(t\text{:}\)\(t = \pm\sqrt{1/x-1}\text{.}\) Substitute this value for \(t\) in the equation for \(y\text{:}\)
A second, thicker line is drawn over the first line, from \((0,1)\) to \((1,0)\text{.}\) At \((0,1)\) there is a “hollow” (white-filled) dot, indicating that the second line approaches, but does not reach, this point. At \((1,0)\) there is a solid dot, indicating the fact that the parametric version of the line reaches this point, but does not go past it.
We should be careful to limit the domain of the function \(y=1-x\text{.}\) The parametric equations limit \(x\) to values in \((0,1]\text{,}\) thus to produce the same graph we should limit the domain of \(y=1-x\) to the same.
The graphs of these functions is given in Figure 10.2.17. The portion of the graph defined by the parametric equations is given in a thick line; the graph defined by \(y=1-x\) with unrestricted domain is given in a thin line.
We should not try to solve for \(t\) in this situation as the resulting algebra/trig would be messy. Rather, we solve for \(\cos(t)\) and \(\sin(t)\) in each equation, respectively. This gives
\begin{equation*}
\cos(t) = \frac{x-3}{4} \text{ and } \sin(t) =\frac{y-1}{2}\text{.}
\end{equation*}
This final equation should look familiar — it is the equation of an ellipse! Figure 10.2.19 plots the parametric equations, demonstrating that the graph is indeed of an ellipse with a horizontal major axis and center at \((3,1)\text{.}\)
The Pythagorean Theorem can also be used to identify parametric equations for hyperbolas. We give the parametric equations for ellipses and hyperbolas in the following Key Idea.
Figure 10.2.21 gives a small gallery of “interesting” and “famous” curves along with parametric equations that produce them. Interested readers can begin learning more about these curves through internet searches.
One might note a feature shared by two of these graphs: “sharp corners,” or cusps. We have seen graphs with cusps before and determined that such functions are not differentiable at these points. This leads us to a definition.
A plot of the parametric curve \(x=\cos^3(t)\text{,}\)\(y=\sin^3(x)\text{,}\) known as an astroid. The curve has four cusps, at the points \((1,0), (0,1), (-1,0)\text{,}\) and \((0,-1)\text{.}\) The appearance is not unlike what one would get if one held these four points fixed on the unit circle, and then bent the rest of the circle so that it curves inward (toward the origin) rather than outward.
The plot of the curve \(x=\cos(t)\sin(4t), y=\sin(t)\sin(4t)\) resembles a flower. It consists of eight loops, equal in size and shape, each passing through the origin. The shape of each loop resembles a narrow tear-drop.
The curve \(x=2\cos(t)+5\cos(2t/3), y=2\sin(t)-5\sin(2t/3)\text{,}\) known as a hypotrochoid, is shown. The curve is symmetric about the \(x\) axis, and resembles a five-pointed star, with one point on the \(x\) axis at \((7,0)\text{.}\)
The epicycloid \(x=4\cos(t)-\cos(4t), y=4\sin(t)-\sin(4t)\) is shown. The curve travels once around the origin, and consists of three arcs, with each pair of arcs meeting at a cusp.
A curve \(C\) defined by \(x=f(t)\text{,}\)\(y=g(t)\) is smooth on an interval \(I\) if \(\fp\) and \(g'\) are continuous on \(I\) and not simultaneously 0 (except possibly at the endpoints of \(I\)). A curve is piecewise smooth on \(I\) if \(I\) can be partitioned into subintervals where \(C\) is smooth on each subinterval.
It is clear that each is 0 when \(t=0,\, \pi/2,\, \pi,\ldots\text{.}\) Thus the astroid is not smooth at these points, corresponding to the cusps seen in the figure.
Example10.2.23.Determine where a curve is not smooth.
Let a curve \(C\) be defined by the parametric equations \(x=t^3-12t+17\) and \(y=t^2-4t+8\text{.}\) Determine the points, if any, where it is not smooth.
We see at \(t=2\) both \(x'\) and \(y'\) are 0; thus \(C\) is not smooth at \(t=2\text{,}\) corresponding to the point \((1,4)\text{.}\) The curve is graphed in Figure 10.2.24, illustrating the cusp at \((1,4)\text{.}\)
A plot of the curve \(x=t^3-12t+17, y=t^2-4t+8\) is shown. Despite the fact that \(x\) and \(y\) are both differentiable functions of \(t\text{,}\) there is a sharp cusp at the point corresponding to \(t=2\text{,}\) which happens to be the point where the derivatives of \(x\) and \(y\) with respect to \(t\) are simultaneously zero.
If a curve is not smooth at \(t=t_0\text{,}\) it means that \(x'(t_0)=y'(t_0)=0\) as defined. This, in turn, means that rate of change of \(x\) (and \(y\)) is 0; that is, at that instant, neither \(x\) nor \(y\) is changing. If the parametric equations describe the path of some object, this means the object is at rest at \(t_0\text{.}\) An object at rest can make a “sharp” change in direction, whereas moving objects tend to change direction in a “smooth” fashion.
One should be careful to note that a “sharp corner” does not have to occur when a curve is not smooth. For instance, one can verify that \(x=t^3\text{,}\)\(y=t^6\) produce the familiar \(y=x^2\) parabola. However, in this parametrization, the curve is not smooth. A particle traveling along the parabola according to the given parametric equations comes to rest at \(t=0\text{,}\) though no sharp point is created.
Our previous experience with cusps taught us that a function was not differentiable at a cusp. This can lead us to wonder about derivatives in the context of parametric equations and the application of other calculus concepts. Given a curve defined parametrically, how do we find the slopes of tangent lines? Can we determine concavity? We explore these concepts and more in the next section.
Create parametric equations \(x=f(t)\text{,}\)\(y=g(t)\) and sketch their graph. Explain any interesting features of your graph based on the functions \(f\) and \(g\text{.}\)
In the following exercises, sketch the graph of the given parametric equations by hand, making a table of points to plot. Be sure to indicate the orientation of the graph.
In the following exercises, sketch the graph of the given parametric equations; using a graphing utility is advisable. Be sure to indicate the orientation of the graph.
In the following exercises, four sets of parametric equations are given. Describe how their graphs are similar and different. Be sure to discuss orientation and ranges.
In the following exercises, eliminate the parameter in the given parametric equations. Describe the curve defined by the parametric equations based on its rectangular form.
In the following exercises, find parametric equations for the given rectangular equation using the parameter \(\ds t=\frac{dy}{dx}\text{.}\) Verify that at \(t=1\text{,}\) the point on the graph has a tangent line with slope of 1.
Find parametric equations that describe a circle of radius \(2\text{,}\) centered at the origin, that is traced clockwise once at constant speed on \([0,2\pi]\text{.}\)
Find parametric equations that describe a circle of radius \(3\text{,}\) centered at \((1,1)\text{,}\) that is traced once counter-clockwise at constant speed on \([0,1]\text{.}\)
Find parametric equations that describe an ellipse centered at \((1,3)\text{,}\) with vertical major axis of length \(6\) and minor axis of length \(2\text{.}\)