Activity 4.4.1.
(a)
You should take some time to brainstorm some alternative methods of representing a function of three variables.
(b)
After you have brainstormed some ideas yourself, you can use the Sage code below to explore several different mechanisms for visualizing scalar fields in three dimensions for the particular case of electrostatic potentials for several discrete charges. Alternatively, if you have access to Mathematica, you can use this Mathematica notebook for the same purpose.
1
math/vfvisv.nbThe code in the first box defines the scalar potential \(V\text{.}\)
This Sage code plots a contour diagram of the scalar potential \(V\) (on a horizontal slice).
This Sage code graphs the scalar potential \(V\) on a horizontal slice.
This Sage code plots a single, three-dimensional contour of the scalar potential \(V\text{.}\)
Answer.
One possibility to to plot an equipotential surface, i.e. the set of points in space for which the value of the electrostatic potential is some specific fixed number. In this case, you would need to make a different plot for each possible value of the electrostatic potential. Typically, a few different values are sufficient to convey the salient features. See Figure 4.4.2, for an example of the electrostatic potential due to four point charges.

Another possibility is to use color to represent the value of the electrostatic potential. Then the scalar field is represented by a color at each point in space. If we had a great virtual reality program, we could imagine moving through space, examining the colors as we moved around. While we are waiting for that technology to arrive in our classroom, we’ll show a picture of some cross sections through space with colors on them. See Figure 4.4.3, for the same example of the electrostatic potential due to four point charges in this new graphical representation.

Because our perception of color is not very fine grained, it is difficult to read an accurate numerical value for the electrostatic potential from a colored graph. We would really like to use the vertical direction on the graph to represent the value of the scalar field, just as we would for functions of one or two variables. But then we cannot show all three spatial directions of the scalar field at once. Figure 4.4.4 shows yet another representation of the electrostatic potential due to four point charges.



