Multivariable Calculus in the Lab
A collection of Maple V R3 Worksheets
Used in Math 222 at Cornell, Fall 1994
Some Maple Release 7 Versions (and Related) Worksheets
are now available here.
This collection of worksheets was written for Maple V R3 on the Macs. It was
a first time using these materials, so there are rough edges
to be improved upon.
The Mac interface to Maple is a very nice one, although significantly
different from the Unix xmaple and Windows interfaces. In particular it
supports the pasting of color pictures into worksheets. Also, these worksheets
use multi-line input at times, and hence rely on the Mac option that
only the enter key sends input to Maple.
The worksheets can be accessed by any of:
Download Entire Collection (as Math_222.sea.hqx) in Mac Format
- Using Maple:
- Week 1:
- Week 2:
- Week 3:
- Week 4:
Week 5:
Week 6:
Week 7:
Week 8:
Week 9:
Week 10:
Week 11:
Week 12:
- Using Maple
- 3D Plotting:
- An introduction to 3 dimensional plotting with Maple.
Serves as both a reference for many possible options as well as
a collection of suggestions on some especially useful ones.
- 2D Plotting:
- A less extensive introduction to two dimensional plotting.
- Mac Interface Intro:
- A brief substitute for the 50 page Mac Interface
manual. Covers vital topics like the ENTER key and scratchpads.
- Basic Maple:
- Some basic computational Maple. A substitute for the first
chapter of First Leaves.
- Maple Data Structures:
- A one page listing with examples of Maple
data structures. To help people recognize which items are primitives
in Maple.
- Week 1
- Surfaces 1
- An introduction to three dimensional graphs. Lots of
examples of contours. Includes some cases where computer
pictures are misleading. Hyperboloids of one and two
sheets with an opportunity to look at sections and what they
tell us about graphs.
- Week 2
- Limits
- This worksheet uses a variety of graphical and numeric methods
to study multi-dimensional limits. It encourages people to continue
thinking about the graphical elements of functions of several variables.
Much attention is placed on examples where limits fail to exist. Looking at the graph of a function over a small domain is perhaps the most naive
strategy introduced. Techniques such as restriction to families of
lines and curves (algebraically, by 2D graphs or by animations) are also used. Subtleties involving loss of precision due to catastrophic cancellation
also arise.
- Week 3
- Linear Approximation:
- Some examples of tangent lines and planes
graphically. Efficient generation in Maple of the linear approximation
of a function at a point. Use of the transform plots package to geometrically
compare the mapping properties of a function with those of its linear
approximation.
- Non Differentiable Surfaces:
- This worksheet looks geometrically at three
different kinds of singularities. A high point is the sketch of an argument at
the end about why the cube root of (x^3-3xy^2) fails to be differentiable
at the origin. A good opportunity to talk about the idea of what it means
for an approximation to be linear.
- Gradplot Examples:
- Examples of using gradplot to plot the gradient
vector field associated to a function. Relation to level sets and
the graph of the function discussed.
- Transform Plots Package:
- A collection of locally written Maple procedures to
graphically map both general two dimensional plot structures and rectangles specifically by a function from R^2 to R^2.
- Using Transform Plots
- Instructions for using the transform plots package.
Efficient generation in Maple of the linear approximation at a point of a
transformation from R^2 to R^2. Comparison of the mapping properties of
a transformation with those of its derivative.
- Week 4
- Curves:
- This worksheet draws some curves and Frenet frames. It shows how
readily differentiable curves can develop self-intersections and corners. The
Frenet frame package is illustrated and used to draw some Frenet frames for
a helix.
- Vector Identities:
- A real "kitchen sink" worksheet. Covers both major
Maple usage issues and mathematical content ones. Most worksheeets
prior to this one were geometric in focus. This one pointed out in passing the
power of the algebraic paarts of the system and attempted to use them
non-trivially. In the usage category here are partial derivatives, vector
differential operators, and the important map function. Three vector identities
are proved; one for scalar triple product and two for the divergence and
curl of cross products. The transformation to spherical coordinates is then
studied and the natural orthonormal moving frame produced. Finally these
are used to compute a formula for gradient in spherical coordinates.
- Numerical Solution:
- Illustrates the use of the Maple command fsolve for numerically solving algebraic and transcendental equations or systems
of equations. Mostly a "how to do it in Maple" worksheet. Covers one
variable, multi-variable, roots in specified rectangles, and complex
solutions.
- Frenet Frame Display Package:
- A fairly simple minded set of routines
allowing the simultaneous display of Frenet frames at several points
along a parameterized curve.
- Week 5
- Flow Results:
- The major mathematical focus here is to illuminate
the relationship of curl and divergence to geometric properties of
the flow of a vector field. The worksheet also shows how to compute
numerical solutions to systems of differential equations, use the
draw flows package, and piece the results together into a quicktime movie.
Linear vector fields in the plane are most of the examples here. One
nonlinear vector field is also contrasted with its linearization.
- Fieldplot and Numerical ODE's
- While specialized programs such as MacMath and DsTool do a better job
at integrating systems of differential equations, there are advantages
to the integrated environment of Maple. This worksheet shows how to
numerically integrate an initial value problem, and graph the solutions
(two coordinates at a time) to a system of differential equations.
It also shows how to use Maple to draw gradient fields and
slope fields of planar vector fields.
- Draw Flows Package:
- This package aids in drawing the flow of a
rectangle for a planar vector field.
- Nonzero Div and Curl Movie:
- A generic case (5x + 15y, -10x + 5y)
where both expansion and rotation are visible.
- Nonzero Div and Zero Curl:
- The vector field (5x + 10y, 10x + 5y). A shear
transformation together with an expansion is visible.
- Zero Div and Nonzero Curl:
- The vector field (10y, -10x). Rotation without
change of size is readily visible.
- Zero Div and Zero Curl Movie:
- The vector field (5x + 10y, 10x - 5y). Hear the
rectangle undergoes a sheear transformation but remains unchanged in size.
- Some Vector Fields to Look at in MacMath:
- A list of vector fields for the
students to quickly explore with MacMath. The students did this for
about 5 or 10 minutes during the lecture. (MacMath is of course much better
at generating phase plane pictures than Maple.)
- Week 6
- Least squares:
- Uses least squares to fit data in the file "Plane Data 0 "
to a plane z = a x + b y + c. Readily adaptable as a template for
other least squares problems. Also covers the syntax point
of reading data in from an external file.
- Taylor:
- Explores multivariate Taylor series. Compares graphically
various Taylor polynomials to the original function. Investigates how
errors depend upon the size of the region on which the approximation
is being used. Uses estimates on the size of partial derivatives to
bound errors in Taylor polynomial approximation. (These latter
are obtained from Maple graphs of the partial derivatives.)
- Quadrics and Eigenvalues:
- This worksheet explores the relationship between symmetric matrices and quadratic forms. It shows how the eigenvalues of such a matrix relate to the geometric character of the graph of the quadratic form. It also discusses in the context of an example how the eigenvectors of the symmetric matrix determine a rotation of coordinates making the quadratic form diagonal.
- Quadrics Worksheet:
- A worksheet intended for people to use as a reinforcement on the correlation between eigenvalue signs and the graphs of quadratic forms. Helping with max-min as well.
- Week 7
- Implicit Function Example:
- This example studies the function x = h(y,z) defined implicitly by z = x^3 - x y. Singular behavior is viewed geometrically when the hypotheses of the implicit function theorem fail to apply.
- Lagrange Multipliers:
- The geometry of Lagrange multipliers is explored in the context of the optimization problem for y e^x on an ellipse. Solutions are also obtained numerically using fsolve.
- Lagrange Numerical Example:
- Extrema for a quadratic form are sought numerically along the intersection of an ellipsoid with a hyperboloid.
Intended to show people how Maple can support a generic Lagrange
multiplier problem numerically.
- Singular Inverses:
- This worksheet studies geometric behavior near singular points for a mapping of the plane to itself. Relationships with the problem of numerically solving for the inverse are discussed . The collpase of areas near singular points is brought out by the Transform Plots package. And the development of a cusp as the image of a smooth curve is analyzed in detail within the context of an example.
- Week 8
- Random Riemann Sums:
- Shows how such can be computed for double integrals. Behavior with respect to mesh diameter looked at. Variation among
sums correlated with the size of the gradient of the function.
- old_plot_region_4:
- The original routine for displaying regions of integration
in the plane. Can be used as a check on conventional techniques. This version draws Maple curves to describe the region. To improve performance in exchange for lower quality, this is to be replaced by a polygon based version like plot_region_3D.
- Riemann Sums Concise:
- A concise set of commands for
calculating a Riemann sum.
- Setup Example:
- A double integral for a volume is setup. Maple's numeric
and graphical capabilities are used in fairly essential ways.
- Using Plot Region:
- This worksheet shows how to use the function old_plot_region_4 for displaying an elementary region of integration in
the plane.
- Week 9
- Circular Cylinder and Planes:
- An introductory worksheet using the 3D Region Plot Package and other Maple tools to work up the description as an elementary region of a volume bounded by a circular cylinder and several planes.
- Parabolic Cylinder and Planes:
- A worksheet using the 3D Region Plot Package and other Maple tools to work up the description as an elementary region of a volume bounded by a parabolic cylinder and several planes.
- 3D Region Plot Package:
- A package to show how elementary 3D regions
of integration appear. In the interests of better performance, a polyhedral
approximation is displayed. Default is a fairly crude but quick picture.One
can speciify higher resolution if one wants to improve the picture. Once one has generated the graphics structure for the entire volume, one can quickly inspect the "pieces" joining together to assemble it. The package is based on a natural map from the unit cube to an elementary region.
- Using plot3d_region:
- A simple example illustrating the use of the 3D Region
Plot Package.
- Week 10
- Parameterized Surfaces 2:
- A variety of parameterization and reparameterization examples are presented. Many are quadric surfaces. Singularities of parameterizations are discussed. The worksheet also presents the natural frame (T_u, T_v, N) associated with a parameterization.
- Line Integrals
- Line integrals of planar vector fields along piecewise polygonal curves
are explored. There are routines both for numerical computation and display
of paths and vector fields. The example of the gradient of the polar
coordinate angle function is discussed, as is its connection with rotation
numbers of curves.
- Week 11
- Using num_int_2d:
- Use of the numerical integration package is illustrated
and applied to the surface integral of a vector field.
- 2D Numerical Integration Package:
- This package calculates double
integrals numerically by using the trapezoidal rule in each direction.
- Orientation 2:
- The Moebius strip is generated as a parameterized surface and its non-orientability explored. A variation with two twists is also generated.
- Week 12
- Green For Triangle:
- This worksheet does a variety of things related to
Green's theorem for an infinitesimal triangle. Using Taylor series, it shows
how to calculate the line integral of a vector field over a line segment to
second order. Part of the interest here is noting how easily the method generalizes to produce higher order formulas. The result is also used to
show that Green's theorem holds to second order for an infinitesimal triangle.
Because of the naturality of approximately subdividing fairly arbritrary
regions into infinitesimal triangles, an argument is briefly indicated by which one could use this result to give another proof of Green's theorem.
Handouts
- Handout 1: Exploration of some quadric surfaces. Level curves.
- Handout 2: Multivariable limits.
- Handout 3: Linear approximation of mappings from a plane to itself, level curves, and gradient vector fields.
- Handout 4: Velocity and acceleration of curves, geometry of reflection.
- Handout 5: Phase plane sketches. Linear approximation. Relation to
div and curl.
- Handout 6: Least squares, approximation by Taylor series, error estimates.,
quadric surfaces worksheet.
- Handout 7: Exploration of relation of local extrema of functions to flowlines of their gradient vector fields.Classification of equilibria.
- Handout 8: Plots of three dimensional regions associated with triple integrals.
- Projects for Math 222: A launching point for student projects involving computer use.
- animation in 2D
- 2D Plotting (using_maple)
- Limits (week_2)
- applying a function to each entry of ...
- Vector Identities (week_4)
- binomial coefficients
- 2D Plotting (using_maple)
- change of coordinates in quadratic forms
- Quadrics and Eigenvalues (week_6)
- colons
- Mac Interface Intro (using_maple)
- colors, text
- Mac Interface Intro (using_maple)
- combining 2D plots
- 2D Plotting (using_maple)
- combining 3D plots
- 3D Plotting (using_maple)
- constructing the linear approximation of a transformation
- Linear Approximation (week_3)
- contourplot
- 3D Plotting (using_maple)
- contourplot
- Surfaces I (week_1)
- creating vectors
- Vector Identities (week_4)
- cross product
- Vector Identities (week_4)
- curl computation
- Vector Identities (week_4)
- curl of a cross product
- Vector Identities (week_4)
- curves with corners
- Curves (week_4)
- data types in Maple
- Maple Data Structures (using_maple)
- derivatives as matrices
- Linear Approximation (week_3)
- differential equations, direction fields
- Fieldplot and Numerical ODEs (week_5)
- differential equations, numerical solution of
- Fieldplot and Numerical ODEs (week_5)
- differential equations, symbolic solution of
- Fieldplot and Numerical ODEs (week_5)
- differentiation
- Basic Maple (using_maple)
- displaying a precomputed graphics structure
- 3D Plotting (using_maple)
- divergence calculation
- Vector Identities (week_4)
- divergence of a cross product
- Vector Identities (week_4)
- dot product
- Vector Identities (week_4)
- draw flows package
- Flow Results (week_5)
- dsolve
- Fieldplot and Numerical ODEs (week_5)
- eigenvalues
- Quadrics and Eigenvalues (week_6)
- eigenvectors
- Quadrics and Eigenvalues (week_6)
- enter key
- Mac Interface Intro (using_maple)
- evalf
- Basic Maple (using_maple)
- evaluating as a floating point number
- Basic Maple (using_maple)
- expand
- Basic Maple (using_maple)
- factorials
- Basic Maple (using_maple)
- fieldplot
- Fieldplot and Numerical ODEs (week_5)
- flow animations of a vector field
- Flow Results (week_5)
- Frenet frame package
- Curves (week_4)
- fsolve
- Basic Maple (using_maple)
- Numerical Solution (week_4)
- function, evaluating
- Basic Maple (using_maple)
- geometric interpretation of div and curl
- Flow Results (week_5)
- gradient computation
- Vector Identities (week_4)
- gradient in spherical coordinates
- Vector Identities (week_4)
- gradient vector fields, plotting of
- Gradplot Examples (week_3)
- gradplot
- Gradplot Examples (week_3)
- gradplot3d
- Fieldplot and Numerical ODEs (week_5)
- Green's theorem for a triangle
- Green's Theorem for a Triangle (week_12)
- grid option in 3D plotting
- Linear Approximation (week_3)
- helix
- Curves (week_4)
- Linear Approximation (week_3)
- help, online
- Mac Interface Intro (using_maple)
- hyperboloids
- Surfaces I (week_1)
- implicit curve plotting in 2D
- Lagrange Multipliers (week_7)
- implicit function theorem failure
- Implicit Function Example (week_7)
- implicit plotting in 2D
- 2D Plotting (using_maple)
- implicit plotting in 3D
- Surfaces I (week_1)
- integration
- Basic Maple (using_maple)
- integration, 2D numerical
- Using Num_int_2D (week_11)
- integration, numeric
- Setup Example (week_8)
- integration, symbolic
- Setup Example (week_8)
- interrupting calculations
- Mac Interface Intro (using_maple)
- jacobian
- Linear Approximation (week_3)
- Vector Identities (week_4)
- labels option in 3D plotting
- Surfaces I (week_1)
- Lagrange multipliers
- Lagrange Multipliers (week_7)
- Lagrange multipliers numerical example
- Lagrange Numerical Example (week_7)
- laplacian calculation
- Vector Identities (week_4)
- laplacian on vectors
- Vector Identities (week_4)
- least squares derivation
- Least Squares (week_6)
- length of a list, set, ...
- Basic Maple (using_maple)
- level curves
- Gradplot Examples (week_3)
- limits (multivariable) geometrically
- Limits (week_2)
- line integrals, numerical caculation of
- Line Integrals (week_10)
- list of points plotting in 2D
- 2D Plotting (using_maple)
- lists
- Basic Maple (using_maple)
- looping
- Basic Maple (using_maple)
- Limits (week_2)
- Least Squares (week_6)
- Random Riemann Sums (week_8)
- Riemann Sums Concise (week_8)
- map
- Linear Approximation (week_3)
- Vector Identities (week_4)
- memory
- Mac Interface Intro (using_maple)
- Moebius strip
- Orientation 2 (week_11)
- monkey saddle
- Surfaces I (week_1)
- non-orientable surface example
- Orientation 2 (week_11)
- nondifferentiability while directional derivatives exist
- Non Differentiable Surfaces (week_3)
- nops
- Basic Maple (using_maple)
- numerical solution of systems of equations
- Basic Maple (using_maple)
- Numerical Solution (week_4)
- numpoints option in 3D plotting
- 2D Plotting (using_maple)
- odeplot
- Fieldplot and Numerical ODEs (week_5)
- op
- Basic Maple (using_maple)
- packages
- Mac Interface Intro (using_maple)
- parameterized surface plotting
- Parameterized Surfaces 2 (week_10)
- parameterized surface plotting in 3D
- Surfaces I (week_1)
- parameterized surface tangent and normal directions
- Parameterized Surfaces 2 (week_10)
- paramterized surface plotting
- 3D Plotting (using_maple)
- partial derivatives
- Vector Identities (week_4)
- partial derivatives of functions as opposed to expressions
- Vector Identities (week_4)
- patchcontour style in 3D plotting
- 3D Plotting (using_maple)
- plane plotting in 3D
- Surfaces I (week_1)
- plane sections in 3D
- Surfaces I (week_1)
- plot 3D region package
- Circular Cylinder and Planes (week_9)
- Parabolic Cylinder and Planes (week_9)
- Using Plot3d Region (week_9)
- plot region package (2D)
- Using Plot Region (week_8)
- plotting a sequence of points in 2D
- Basic Maple (using_maple)
- Random Riemann Sums (week_8)
- plotting differential equation solutions
- Fieldplot and Numerical ODEs (week_5)
- plotting gradient fields
- Fieldplot and Numerical ODEs (week_5)
- plotting parametric curves
- Curves (week_4)
- plotting points in a file
- 2D Plotting (using_maple)
- plotting procedures in 3D
- Non Differentiable Surfaces (week_3)
- plotting, 2D
- 2D Plotting (using_maple)
- plotting, 3D
- 3D Plotting (using_maple)
- plotting, 3D options
- 3D Plotting (using_maple)
- polar coordinate plotting
- 2D Plotting (using_maple)
- polygonal curves and line integrals
- Line Integrals (week_10)
- polyhedraplot
- Linear Approximation (week_3)
- precision, higher
- Basic Maple (using_maple)
- Limits (week_2)
- printing
- Mac Interface Intro (using_maple)
- prompts, new
- Mac Interface Intro (using_maple)
- quadratic forms
- Quadrics and Eigenvalues (week_6)
- quadric surface parameterizations
- Parameterized Surfaces 2 (week_10)
- quadric surfaces and second derivative tests
- Quadrics Worksheet (week_6)
- random number functions
- Random Riemann Sums (week_8)
- reading data from a file
- Least Squares (week_6)
- real_cube_root as a procedure
- Non Differentiable Surfaces (week_3)
- rhs (right hand side of an equation)
- Lagrange Numerical Example (week_7)
- Riemann sums calculation
- Random Riemann Sums (week_8)
- rotation matrices
- Quadrics and Eigenvalues (week_6)
- rotation number of planar curves
- Line Integrals (week_10)
- saving
- Mac Interface Intro (using_maple)
- scalar triple product
- Vector Identities (week_4)
- scratchpads
- Mac Interface Intro (using_maple)
- semi-colons
- Mac Interface Intro (using_maple)
- sequences
- 2D Plotting (using_maple)
- Basic Maple (using_maple)
- setoptions3d
- 3D Plotting (using_maple)
- Surfaces I (week_1)
- sets
- Basic Maple (using_maple)
- simplify
- Basic Maple (using_maple)
- singular inverses of transformations
- Singular Inverses (week_7)
- singularities of surfaces
- Non Differentiable Surfaces (week_3)
- solving symbolically
- Basic Maple (using_maple)
- solving symbolically
- Least Squares (week_6)
- spacecurve
- 3D Plotting (using_maple)
- spacecurve
- Implicit Function Example (week_7)
- spherical coordinate differential operators
- Vector Identities (week_4)
- spherical coordinate unit vectors
- Vector Identities (week_4)
- subsequences, extracting
- Basic Maple (using_maple)
- substitution
- Basic Maple (using_maple)
- substitution
- Limits (week_2)
- sum
- Least Squares (week_6)
- summing a series
- Basic Maple (using_maple)
- surface integrals, numerical
- Using Num_int_2D (week_11)
- Taylor series, multivariable
- Taylor Series (week_6)
- Taylor series, remainder estimation
- Taylor Series (week_6)
- transform_rect
- Linear Approximation (week_3)
- transformation plotting package
- Linear Approximation (week_3)
- Using Transform Plots (week_3)
- tubeplot
- 3D Plotting (using_maple)
- Implicit Function Example (week_7)
- vector
- Vector Identities (week_4)
- vector field linearization
- Flow Results (week_5)
- view option in 3D plotting
- 3D Plotting (using_maple)
- whattype
- Basic Maple (using_maple)
- whitney umbrella
- Surfaces I (week_1)
- whitney umbrella parameterized
- Parameterized Surfaces 2 (week_10)
- wireframe style in 3D plotting
- 3D Plotting (using_maple)
Acknowledgement
Many thanks to Mathlab consultant Sung Bae Lee for helping to produce this World Wide Web version.
Home Page