
MTH243 (Calculus
for Functions of Several Variables)
MATHEMATICA. Chapter 12:
Functions of Several Variables
Vladimir A. Dobrushkin,Lippitt
Hall 202C, 8745095,dobrush@uri.edu
In this course we will use Mathematica computer algebra system (CAS), which is available in computer labs at URI.
The Mathematica projects are created to help you learn new concepts. Mathematica is very useful in visualizing graphs
and surfaces in three dimensions. Matlab (commercial software) is also available at engineeering labs. Its free version
is called Octave. A student can also use free CASs: SymPy (based on Python), Maxima or Sage.

Section 12.4. Linear Functions
We start with plotting linear functions.
ContourPlot3D[0 == x + y + z, {x, 3, 3}, {y, 3, 3}, {z, 3, 3}]
ContourPlot3D[x + y + z == 0, {x, 3, 3}, {y, 3, 3}, {z, 3, 3},
ContourStyle > Green]
ContourPlot3D[x + y + z == 1, {x, 1, 1}, {y, 1, 1}, {z, 1, 1}]
a = .5; b = .5; c = .5; d = 2;
ContourPlot3D[
a*x + b*y + c*z == d, {x, 3, 3}, {y, 3, 3}, {z, 2, 2},
ColorFunction > Hue]
ContourPlot3D[x + y + z == 1, {x, 1, 1}, {y, 1, 1}, {z, 1, 1},
MeshShading > {Red, Blue, White},
MeshFunctions > {Norm[{#1, #2}] & }]
a = .5; b = .5; c = .5; d = 2;
ContourPlot3D[
a*x + b*y + c*z == d, {x, 3, 3}, {y, 3, 3}, {z, 2, 2},
ColorFunction > Hue]
a = .5; b = .5; c = .5; d = 2;
ContourPlot3D[
a*x + b*y + c*z == d, {x, 3, 3}, {y, 3, 3}, {z, 2, 2},
ContourStyle > Blue]
Now we plot three planes:
ContourPlot3D[x + y + z, {x, 0, 1}, {y, 0, 1}, {z, 0, 1}]
 