Skip to main content

Active Calculus - Multivariable

Preface Graphics and Technology

As much as possible, we strive to demonstrate key fundamental ideas visually, and to encourage students to do the same. Throughout the text, we use full-color graphics to exemplify and magnify key ideas, and to use this graphical perspective alongside both numerical and algebraic representations of calculus. Because so much of vector calculus relies upon visualizing things in three dimensions, we elected to produce almost all of the 3D graphics using SageMath. This allows for a degree of consistency between the two-dimensional graphics, which are typically static, and the three-dimensional graphics, which are almost always interactive. Thus, you can grab a three-dimensional plot, rotate it, zoom in on it, etc.
  • To rotate a three-dimensional graphic, left click (primary click) and drag with your mouse. On touchscreen devices, you can press (with a single finger or stylus) and drag to rotate a figure.
  • To zoom on an interactive three-dimensional graphic, use can your mouse’s scroll wheel to zoom in or out based on your current viewing position. On touchscreen or touchpad devices you can use the pinch and expand gestures to zoom in and out. On touchpad devices, you can also touch with two fingers and slide up or down to change the zoom.
  • To move the location from which you are viewing a three-dimensional graphic (instead of rotating), you can right click (secondary click) and drag in the direction you would like to move. Additionally, you can hold Control and click and drag to change the viewing location. On touchscreen devices you can drag with two fingers to move the location from which you are viewing the plot.
You can practice using these interactions on the surface plot below.
Figure 0.0.1. An interactible three dimensional plot
Some 2D and 3D plots will use other ways of allowing the user to change aspects of the figure or interact in different ways, such as allowing the user to specify thier own function, zoom in or out on different features, or add a new aspect to the plot. We try to explain in the context of the example or activity how to use these other features. We will most often use sliders and toggles to change features in plots. For instance, we use the following plot to allow users to explore the idea of locally linear functions using slider to change the location on the function we are investigating and another slider to control how closely we examine around the choosen point. Note that this plot will update when you change and release either of the sliders at a new value. A few plots will use and update button to allow the user to specify inputs before replotting.
Figure 0.0.2. A plot with the ability to zoom in on a point of \(y=f(x)\text{,}\) where \(f\) is a nonlinear, differentiable function
In the following plot used in Section 11.9, the user can specify a function and a location that they think is a local max or min. This example plot used both the input structure for a point and a function.
Figure 0.0.3. Plots of \(z=f(x,y)\) around each of the critical points
Many of the ideas of multivariable calculus are best understood dynamically, and we encourage readers to make frequent use of technology to analyze graphs and data (maybe not on exams, though). Since technology changes so often, we refrain from indicating specific programs to use in the text. However, aside from computer algebra systems like Sage or Mathematica, there are many free graphing tools available for drawing three-dimensional surfaces or curves. These programs can be used by instructors and students to assist in the investigations and demonstrations. The use of these freely available applets is in accord with our philosophy that no one should be required to purchase materials to learn calculus. We are indebted to everyone who allows their expertise to be openly shared. Below is a list of a few of the technological tools that are available (links active at the writing of this edition). Of course, you can find your own by searching the web.
  • CalcPlot3D, an excellent, all-purpose 3D graphing tool with numerous features built around multivariable calculus objects like curves in space, vector fields, surfaces (explicit, implicit, and parametric), and regions in 2D and 3D.
  • Desmos a nice graphing tool with some computational capabilities and a separate plotter with a limited set of features for 3D.
  • GeoGebra, all purpose graphing tool with some computer algebra capabilities and a 3D set of features. Clicking on the magnifying glass icon allows you to search a large database of GeoGebra applets.
  • Sage Single Cell Server, a browser based way to run a single cell of Sage code to do calculations or produce plots that does not require a local installation of Sage. The authors also use JupyterLab notebooks with a Sage kernel for multiple purposes. You can find online installation instructions using WSL (on Windows systems) as well as Mac or Linux OS options
  • Wolfram Alpha, an online tool for a variety of mathematical tasks, particularly useful for graphing surfaces in 2D and 3D, and for general calculations.