Professional Documents
Culture Documents
Parametric Graphing
[518] Graph the path of a robot that begins at the point (1,0) and follows a path given by the equations: x = cos t, and y = sin t, where t is in minutes, 0 We start in the Par mode. We then take the standard approach to graph a function: define the function, set the window, and graph. t 6.
We define a single graph using a pair of functions, one for x and one for y. The variable in parametric mode is T .
We use ZDecimal to set the viewing window. However, the problem stipulates 0 t 6. We reset T values after we are satisfied with the X and Y window settings.
132
Trace the path to the end. It is circular but, because the t interval does not extend to 2 , we see that the robot stopped just short of making it back to the start.
Tip:
The previous example can be altered by changing Tmax to other values. Also, by changing X1T=cos(2T) and Y 1T=sin(2T), the robot stays on the same path but go twice as fast.
After defining the functions, the graph is drawn in a ZStandard window. The ZStandard automatically sets T values as 0 t 2 . The other ZOOM settings do not reset the T values from their current state.
Tip:
In parametric mode, the usual graph styles are available, but shading is not allowed.
In this definition, the first term in the tricky sum that defines X 1T is T(O T)(T<1) . This means that the function is T for 0 T < 1, but 0 otherwise. The logical expressions control which formula is being used. For the graph style, we specified thick.
After entering the definitions, we use WINDOW to set Tmin=O , Tmax=4 , and Tstep= .1 . Graph with ZDecimal. Press TRACE to produce the screen shown. Notice that both definitions show across the top, but they are truncated, because they are so long.
133
Tip:
The parametric equation name Y 1T when shown as a label at the top of a graph window appears as Y1 T. The 1 is raised. Many beautiful curves are drawn using the parametric mode. Try the Lissajous figure: x = cos(3t), y = sin(5t) with a ZStandard and a ZoomIn .
Tip:
Parabola
To graph y = f (x) in the parametric mode, use x = t, and y = f (t). For example, the parabola has the equation y = f (x) = x 2 , so we define X 1T=T and Y 1T=T 2. After entering the above parametric equations, we set the window as shown. First press ZDecimal and ignore the graph. Next press WINDOW and enter the T values to be the same as the X values as shown.
Pressing TRACE allows us to see the equation definitions. Notice that the trace starts at the Tmin value, which in this case is a point off the screen. In contrast, TRACE starts at the screen center in the Func mode.
In Section 8.2, we introduced DrawInv to graph the inverse of a function. In the parametric mode, inverses are simple to graph, and they can even be traced. Simply switch the X and Y definitions. For example switching these equations, as shown at the top of the screen, draws the inverse of the parabola.
Circles
For r > 0, the parametric equations of a circle of radius r centered at the point (h,k) are x = h + r cos t and y = k + r sin t , 0 t 2
[527]
134
In Par mode, enter the two equations and graph with ZStandard. This does not look like a circle! The problem is that the ZStandard is not a square setting. It does give us a good idea about the center and what might be needed to have a better window.
For the window shown, we first used ZSquare and then changed Xmin=O and Ymin=O to show only the first quadrant.
12.3 Ellipse
The parametric equations of an ellipse centered at (h, k) are: x = h + a cos t , y = k + bsin t , for 0 [529] Graph the parametric equations x = 7 + 5cos t and y = 4 + 2sin t . In this graph we used the window settings from the previous example. These settings are square so that we are assured that this is a noncircular figure. t 2 .
Tip:
As in the parabola example, we can switch the major and minor axes of an ellipse by simply interchanging the equation definitions.
12.4 Hyperbola
The parametric equations of a hyperbola centered at (h, k) are: x = h + a sec t , y = k + b tan t , for 0 [534] Graph the equation t 2 . (x 4) 2 (y 7) 2 = 1. 9 25 We first translate this equation to parametric form. The center coordinates are found from the numerators, (h,k) = (4,7) . The values of a and b are found from the denominators as a = 9 = 3 and b = 25 = 5.
12.4 HYPERBOLAS
135
Enter the functions with special care since there is no secant function. X1T=4+3/cos(T) and Y 1T=7+5tan(T). Use a ZStandard window to get a first view.
The window settings for T have been left as 0 window values are reset to give a better view.
This shows the characteristic figure for a hyperbolic function. You may be wondering about the X-lines in the middle of the screen. This is the connection across discontinuities that we previously encountered for rational functions. As before, use Dots mode to make the lines disappear or just think of them as asymptotes.
After selecting 6:Conics, select 2:ELLIPSE. Notice that two of the top graph row keys have been redefined with new meanings:
Y=
The next step is to specify the major/minor axis. Choose 1: for a horizontal major axis. Choose 2: for a vertical major axis. The ESC key (Y= ) takes you back to the previous screen.
136
Enter the appropriate A ,B,H,K . In this example we graph the ellipse from Section 12.3.
When all the parameters are entered, press GRAPH and the conic is graphed in an automatically set window. Unfortunately, the window settings cannot be seen or changed. However, TRACE can be used to see coordinates of points on the graph.
Pressing the ESC key (Y= ) several times takes you back to the main menu. Choose 3:Hyperbola, 1: , and enter the parameters of the hyperbola shown at the start of this section.
137
The program displays the standard parametric equations of an ellipse and prompts for the parameters.
We see the display of the coordinates for the two focal points. Note that these values are not store in variables named X1 , Y1 . However the value of c, called the focal length, is stored in the named variable C.
and sinh(x) =
ex e 2
138
The identity cosh2 x - sinh2 x = 1 can be graphed like its counterpart cos2 x + sin2 x = 1.
The expression cosh2 x is written in any of the following ways: cosh(X) 2, (cosh(X))2, or as cosh(X)^2. The left side of the identity is written as Y 1 and graphed in a ZDecimal window,
<t<
and the hyperbola defined by x y = 1. First graph x 2 y 2 = 1 as the parametric equations: x = sec t , y = tan t . Enter the two trigonometric functions in X 1T and Y 1T. Use ZDecimal and t . We see the graph is centered at the origin and has two branches opening left and right. Think of the lines through the origin as asymptotes.
Turn off the first pair. Now enter the second pair of equations as hyperbolic functions in X 2T and Y 2T. Graph to see that this is the same as the rightward opening branch of the hyperbola graphed above.