Parametric Curves in 3-space
Here is a parametric curve in space
In[1]:=
Mathematica writes it a little nicer:
In[2]:=
Out[2]=
Here is how to evaluate the function at a point
In[3]:=
Out[3]=
In[4]:=
Out[4]=
The N[ ] function allows us to evaluate an expression numerically
In[5]:=
Out[5]=
Now we attempt to plot it:
In[6]:=
Out[6]=
Options for ParametricPlot3D
Use the option PlotPoints->n to plot n points. It uses 75 as a default, but often more are needed.
PlotRange->All makes sure Mathematica plots all points on the curve, rather than the points it wants to.
ViewPoint->{x,y,z} allows you to change the viewpoint of the plot.
List all available options and their default settings: (More information on each can be found in help)
In[7]:=
Out[7]=
Here is a new plot using the PlotPoints and PlotRange options
In[8]:=
Out[8]=
In[9]:=
Out[9]=
We change perspectives using the ViewPoint option. {1,2,1} is the coordinates of "your eye"
In[10]:=
Out[10]=
Set P to be the point F(1)
In[11]:=
Out[11]=
This gives us access to the first coordinate of P
In[12]:=
Out[12]=
The second and third coordinates
In[13]:=
Out[13]=
Out[14]=
We define a function r2 which gives us the square of the distance from the origin to P
In[15]:=
We can compose our two functions
In[16]:=
Out[16]=
The Simplify[ ] command attempts to reduce an expression to a simpler form:
Behold: the following shows that our curve lies on the surface of the unit sphere!
In[17]:=
Out[17]=
Another view of the same curve:
In[18]:=
Out[18]=
Here we have a bunch of viewpoints using a For statement:
In[19]:=
You can animate the above by first selecting the group of images by selecting the blue bracket on the right containing them, then clicking on the menu
Cell->Animate Selected Graphics
Its lots of fun, try it!
Limits
Set F(t)=(cos(1/t^2)t, sin(1/t^2)t, )
What is the limit of F(t) as t->0?
In[20]:=
As written by mathematica:
In[21]:=
Out[21]=
Here we evaluate it at a few points
In[22]:=
Out[22]=
In[23]:=
Out[23]=
A first look:
In[24]:=
Out[24]=
Some more plots, changing the interval we plot
In[25]:=
Out[25]=
In[26]:=
Out[26]=
In[27]:=
Out[27]=
In[28]:=
Out[28]=
In[29]:=
Out[29]=
A tornando or a whirlpool? But the limit as t->0 appears to be the origin!
However the following parametric curve does not have a limit as t->infinite
In[30]:=
In[31]:=
Out[31]=
Mathematica defines Log[ ] to be the natural log. Note: You refer to the constant e as E:
In[32]:=
Out[32]=
Here are some plots of our curve
In[33]:=
Out[33]=
In[34]:=
Out[34]=
Time as the third dimension
Take a parametric curve in the plane:
In[35]:=
In[36]:=
Out[36]=
Here we plot our curve
(AspectRatio->1 gives us our curve in a square)
In[37]:=
Out[37]=
In[38]:=
Out[38]=
We can make a G into a parametric curve in space by setting z=t:
In[39]:=
Note: G is periodic with period 2 Pi
In[40]:=
Out[40]=
In[41]:=
Out[41]=
In[42]:=
Out[42]=
This means that F should be invariant under a vertical translation of 2 Pi
In[43]:=
Out[43]=
Can you see that the top half is the same curve as the bottom half?
In[44]:=
Out[44]=
We plot the curve from several different viewpoints
In[45]:=
Recall to animate select the graphics, then click menu CELL->ANIMATE SELECTED GRAPHICS
It jumps around and the box is annoying. We can clean it up by playing with some options. Here they all are:
In[46]:=
Out[46]=
Here it is fixed up a lot
In[47]:=
You should animate the above sequence of pictures!
Created by Mathematica (September 14, 2004)