next up previous
Next: About this document ... Up: lab_template Previous: lab_template

Subsections


Parametric curves in the plane

Purpose

The purpose of this lab is to give you practice with parametric curves in the plane and in visualizing parametric curves as representing motion.

Getting Started

To assist you, there is a worksheet associated with this lab that contains examples and even solutions to some of the exercises. You can copy that worksheet to your home directory with the following command, which must be run in a terminal window, not in Maple.

cp /math/calclab/MA1023/Parametric_start_B08.mws ~/My_Documents

You can copy the worksheet now, but you should read through the lab before you load it into Maple. Once you have read to the exercises, start up Maple, load the worksheet Parametric_start_B08.mws, and go through it carefully. Then you can start working on the exercises.

Background

A parametric curve in the plane is defined as an ordered pair, $(f(t), g(t))$, of functions, with $f(t)$ representing the $x$ coordinate and $g(t)$ the $y$ coordinate. Parametric curves arise naturally as the solutions of differential equations and often represent the motion of a particle or a mechanical system. They also often arise in studying oscillations in electrical circuits. sexer For example, neglecting air resistance, the position of a projectile fired from the origin at an initial speed of $v_0$ and angle of inclination $\pi/4$ is given by the parametric equations

\begin{eqnarray*}
x(t) & = & v_0 \cos(\pi/4) t \\
y(t) & = & -\frac{1}{2} g t^2 + v_0 \sin(\pi/4) t
\end{eqnarray*}

where $t$ is time and $g$ is the acceleration due to gravity.

To help you to visualize parametric curves as representing motion, a Maple routine called ParamPlot has been written. It uses the Maple animate command to actually show the particle moving along its trajectory. You actually used this command before for the lab on polar coordinates. Examples are in the Getting Started worksheet.

Derivatives and the slope

The graph of a parametric curve may not have a slope at every point on the curve. When the slope exists, it must be given by the formula from class.

\begin{displaymath}\frac{dy}{dx} = \frac{\frac{dy}{dt}}{\frac{dx}{dt}} \end{displaymath}

It is clear that this formula doesn't make sense if $\displaystyle
\frac{dx}{dt}= 0$ at some particular value of $t$. If $\displaystyle
\frac{dy}{dt} \neq 0$ at that same value of $t$, then it turns out the graph has a vertical tangent at that point. If both $\displaystyle
\frac{dx}{dt}$ and $\displaystyle \frac{dy}{dt}$ are zero at some value of $t$, then the curve often doesn't have a tangent line at that point. What you see instead is a sharp corner, called a cusp. An example of this appears in the second exercise.

Arc length

As mentioned above, parametric curves often represent the motion of a particle or mechanical system. As we will see in class, when we think of a parametric curve as representing motion, we need a way to measure the distance traveled by the particle. This distance is given by the arc length, $s$, of a curve. For a parametric curve $x=f(t)$, $y=g(t)$, the arc length of the curve for $a \leq t \leq b$ is given below.

\begin{displaymath}s = \int_{a}^{b} \sqrt{ (f'(t))^2+(g'(t))^2} \, dt \end{displaymath}

While the concept of arc length is very useful for the theory of parametric curves, it turns out to be very difficult to compute in all but the simplest cases.

Maple Commands

There are a variety of ways to work with parametric equations in Maple. There is an animation command that shows how the graph is plotted over t. For example the parabola $y=x^2$ can be written parametrically in different ways two of them are $[t,t^2]$ and $[-t,t^2]$
>with(plots):
>with(CalcP7):
>implicitplot(x^2=y,x=-2..2,y=0..4,scaling=constrained);
>ParamPlot([t,t^2],t=-2..2,scaling=constrained);
>ParamPlot([-t,t^2],t=-2..2,scaling=constrained);
The ParamPlot command produces an animated plot. To see the animation, execute the command and then click on the plot region below to make the controls appear in the Context Bar just above the worksheet window. To enter a function parametrically
>f:=t->[t*cos(3*t),t^2];
>VPlot(f(t),t=-2*Pi..2*Pi);

Exercises

  1. Animate the following two parametrization for $0 \leq t \leq 2\pi$ and state how the two parametrization are different.

    \begin{displaymath}r_1(t)=(5\cos(t)+4\cos(3t)){\bf i}+(5\sin(t)-4\sin(3t)){\bf j} \end{displaymath}


    \begin{displaymath}r_2(t)=(5\cos(2t)+4\cos(6t)){\bf i}+(5\sin(2t)-4\sin(6t)){\bf j} \end{displaymath}

  2. Given the family of parametric curves defined by $x=a+\cos(t)$ and $y=a \tan(t)+\sin(t)$, use a parametric plot to see how the graph changes for the following values of $a$: $a=\{-2,-1,-0.5,0,0.5,1,2\}$.
    1. What can you say about the curve for $-1 \leq a \leq 1$. What is different about the case $a=0$? What is the relationship between $a$ and the asymptote?
    2. Use the formula for the slope of a parametric curve to find $\displaystyle \frac{dy}{dx}$.
    3. Evaluate the numerator and denominator of $\displaystyle \frac{dy}{dx}$ separately for each of the following and explain the difference between the two in terms of slope of the graph.
      1. $a=1$, $t=\pi$.
      2. $a=2$, $t=\pi$.

  3. The parametric description $x=\cos(t)$, $y= 4\sin(t)$, $0 \leq t \leq 2\pi$ is the ellipse

    \begin{displaymath}x^2+ \frac{y^2}{16} = 1 \end{displaymath}

    First show that the two are the same shape by plotting them parametrically and with the command implicitplot. Use the formula above to set up an integral for the arc length of the ellipse. You should find that Maple can't do the integral exactly. This is because this integral can't be done analytically. You can get a numerical approximation to the integral by putting an evalf command on the outside of the int command.


next up previous
Next: About this document ... Up: lab_template Previous: lab_template
Dina J. Solitro-Rassias
2008-11-17