# Spreadsheets in Mathematics: Accessibility, Creativity, and Fun

Deane Arganbright
dearganbright@yahoo.com Martin, Tennessee U.S.A.
Abstract: A spreadsheet, such as Microsoft Excel, provides educators with a creative tool for the study and teaching of mathematics, mathematical modeling, and mathematical visualization. It enables students to gain mathematical insights into a diverse range of interesting and significant applications in an engaging setting while they simultaneously acquire practical skills in using the principal mathematical tool of the workplace. This paper illustrates novel ways to use this powerful and accessible tool and its outstanding graphic features creatively in teaching a surprising number of mathematically oriented topics. Illustrations come from such disciplines as the physical and social sciences, statistics, mathematics, computer sciences, and the arts. The paper describes how Excel’s graphics can create eye-catching animated graphic displays and inject more fun into the study of mathematics.

1. Introduction

medicine dosage. but one that is extremely unstable. allowing students to design creative implementations and graphics. In the model of Figures 3. The left column counts degrees. 600 500 400 300 200 100 0 0 5 10 15 20 Grey Red 25 30 Grey Red N=20 Figure 2. resource harvesting.3.5 gives us a different way to visualize the results.002 Grey Loss * * Grey Red period n 1 2 Initial Population 145 79 Grey Pop 145 + - New Growth 0. Here we graph the polar equation r = cos(t / c ) . We see that with our assumptions the red species eventually drives out the grey one.365 Figure 2. Species Formulas I I In order to produce an image to help us in visualizing the results. Species Graph I Figure 2. These topics provide interesting group projects.Initial Population Grey 145 Red 79 period n Grey Pop 1 145 2 New Growth 0. and move their sliders to see the effects of varying the number of periods or the model’s parameters. financial analyses. Students can also discover that there are initial population values that will result in equilibrium. Other possible topics include pollution. c.003 0. projectiles. In the second graph. 3.2. and many more. predator-prey interactions. the original mixture of red and grey gradually becomes entirely red. We convert these to radians using Excel’s built-in RADIANS function in . drug testing. the parameter.24 0.3 Interact Effect 0.4.8 34.3 Interact Effect 0. genetics.002 Red Pop New Grey 79 * Red Pop New Grey Grey Loss 79 34.1-3. It shows the population sizes over a sequence of periods. we create the xy-graph in Figure 2. Graphing Functions Spreadsheets are also effective tools for creating animated graphs of functions. We further enhance our model by inserting scroll bars (see [8]. Our second graph in Figure 2.2. The slightest changes cause the extinction of one of the species.003 0. cooling. and planetary motion. epidemics. apportionment. [2]). is set to 2.4. Species Formulas I Figure 2.5. heat flow. with investigations of such topics as population growth. The randomly placed markers represent the numbers of each species in a given period. Species Graph II Similar models and visualization techniques appear in [8].24 0.

998 0. We generate only the first N points of the curve by employing the IF…THEN…ELSE structure in the two rightmost columns.3.2. we see the curve being traced out.4 0.052 1 0. and otherwise copy the value from the cell above.999 0.997 0. thereby creating a movie of the butterfly moving from flower to flower.8 1.035 1 0.07 0. c step n 0 1 2 3 4 5 N 2 1 x t r 1 0 1 0.8 0.998 0.07 0. and then scaled. we have created a simple image of a butterfly.07 0.2 0.087 Y X 1 0 1 0.4 -0. fitting curves. draw parametric curves in the shape of flowers along the curve.087 0. numerical integration. We then link a scroll bar to N.4 0 -0.052 0.4 0 -1.4 0. it is easy to animate the tracing of the curve to appear much as we would draw it manually in class.8 -0. and compute the values of x and y in the next two by x = r cos t .4 0 -1.035 0. y = r sin t . ) Figure 3.07 c step n 0 2 1 t 0 N r 1 x 1 4 y 0 X IF( <= . Many additional graphing applications appear in [4] and [8].8 1. These expressions reproduce the ( x.999 0.4. Graph Formulas We use the 4th and 5th columns to create the complete xy-graph in Figure 3.4 0 -0. solving .2 -0. Graphing Output Figure 3.8 -1.4 -0. students can color in the wings. As we move it.997 0. 1.017 0.1. Numerical Algorithms We also implement the algorithms of numerical analysis effectively in a spreadsheet. and create a simple macro to continually update N.8 -0. solving differential equations.4.995 4 y 0 0. Static Graph Figure 3.2 0.2 0. translated.2 0. Animated Trace Graph 4.3. and rotated it so that it moves at the trace point and remains tangent to the path.997 0. Using a few more mathematical ideas and spreadsheet techniques.2 -0.017 1 1 0. However.2 Figure 3.8 0.999 0. y ) values when n ≤ N . enter the formula for r in the third one. In Figure 3.the second column.017 0.8 -1.052 0. cause them to flap periodically. Students can use mathematical concepts to have fun in enhancing the model. .035 0. including those for finding zeroes.2 1.999 0.

In the second row.7 5.414 0 2. Teachers and students can also create animated demonstrations of algorithms. These creations provide students with new ways to visualize the effects of changes in parameters. to observe possible divergence. Instructional Graphic I Figure 4.29 5. By designing other animated graphics as in [8].4 2 1.84 0. Figure 4.078 2. 7 6 5 4 3 2 1 0 Evaluate function & derivative 7 6 5 4 3 2 1 0 Draw tangent. We enter formulas to compute f ( x ) and f ′( x ) in the cells to the right.828 n 0 1+ Newton's Method x y y' 0. We can observe the rate of convergence. we can better illustrate functions in which the algorithm does not converge or is sensitive to the initial estimate.8 Figure 4.5.4 as an initial estimate. and change functions.84 . we obtain the next approximation of the zero by x − f ( x ) / f ′( x ) . We first enter 0.883 4 1. Newton's Method n x y y' 0 0.1-4.828 6 1. We can use these and other standard features of Excel to create interactive animated displays . We copy these expressions down their columns.4 -1. and to explore other aspects. we implement Newton’s Method in a table format to find a zero of f ( x ) = x 2 − 2 .4 -1. 4 0. experiment with the initial estimate.5.4-4. and determinates (see [8].72 0. Linear Algebra and Vectors Excel provides built-in matrix functions for multiplication.4 ^2-2 2* n 0 1 Newton's Method x y 0.3.829 5 1. Formulas II Additionally. [2]).1. inversion. intersect xaxis 4 0.8 1 2. Instructional Graphic II 5. and computing eigenvalues. Two steps in an animated teaching construction that we update by clicking on a button appear in Figures 4. Newton Figure 4.4.96 3. We can also create animated versions of virtually every static diagram that appears in a text. Formulas I Figure 4. Such graphics generally attract more student attention than do traditional techniques./ y' 0. In Figures 4.441 0. teachers can design demonstrations that lead students through an algorithm in a step-by-step manner.2.3.linear systems.441 3 1.414 7E-08 2. -1 0 -2 1 2 3 4 -3 y'0=f'(x0) -4 y0 =f(x0) -1 0 -2 -3 -4 1 2 3 4 x1=x0 y0/y'0 7 2.414 7E-04 2.

5 illustrate the continuous morphing of a butterfly into a rabbit. and stacks with this widely used computing tool. In addition to using the spreadsheet’s built-in database features. In Figures 6. Morphing III . or if. We first parameterize the path of one airplane. We observe the resulting path of the pursuit plane and when.1.4. n =0 n =9 Figure 6. pivoting. we use the ideas of vectors in illustrating pursuit problems. Morphing I Figure 6. causing the planes to trace out curves.3-6. The act of creating an implementation enhances a student’s understanding of the concepts. 8 10 6 5 4 0 -10 -5 -5 0 5 10 2 0 -2 0 -2 2 4 6 8 -10 Figure 5. Morphing II Figure 6.5.2. Matrices (reflection) Figure 5. and the visualizations of linear transformations.for a great range of ideas from the linear algebra of ℜ2 . Towers Hanoi Graphic I Figure 6. searching. eigenvalues. we show two steps in the iterative solution of the classical Towers of Hanoi problem [5].1-6.1.2. and use a scroll bar to vary time.1. In Figure 5. students can discover creative ways to study such data structures topics as algorithms for sorting. and then use vectors and a rotation matrix to cause another airplane to pursue the first as it moves directly toward the first in small discrete increments. Students can also discover and investigate other pursuit strategies. Matrices (rotation) 6. enhanced by forming xy-images of airplanes.2. Towers Hanoi Graphic II Figure 6. We set velocities of the planes as parameters. while Figures 6.2. it overtakes the first. We employed some of these techniques in creating the butterfly graph above and the reflection transformation shown in Figure 5. Computer Science We can study a broad range of computer science concepts naturally on a spreadsheet.3. including such topics as the grids for various bases. We also can create different ways to visualize traditional computer science topics. linear programming.

For example. needlepoint. we can supplement our models with effective original graphic visualizations. and other mathematical ideas often appear in the design of national flags and traditional art. Other sources of cultural projects come from traditional arts and crafts. A challenge to students is to animate the flags to simulate waving in the breeze. Flag Design I Figure 7. Nail and String Art 8.1. such as the design of quilts. One of the author’s earliest statistical memories is of a magazine’s graphic that showed the relative strengths of U. is by using a bubble graph. Statistics Despite shortcomings in some of its statistical features. bilums (net bags) of Papua New Guinea. Doing this requires both inventiveness and mathematical insights. Flag Design II Figure 7. we can pursue a concept such as the standard deviation either directly from definitions or by using built-in functions.1-7. Excel is a valuable tool for learning the fundamental concepts of statistics. and kilims (rugs) of Turkey.7. university football teams via scaled footballs in a map. as in Figure 8.1. Figure 7. geometry. It invariably supplies us with several levels at which to approach a topic.2. This also is an excellent way for students to create attractive scatter diagrams for topics of particular interest to them. Cultural Design Figure 7. and enjoyment comes from examining the arts and cultures of different societies. and the circles for cities are proportional to their populations. One inventive way to display data in a map.3. . fun. symmetry. where the geographical border is composed of tiny circles. A few spreadsheet creations of these appear in Figures 7. Art and Culture Another fascinating source for interest. Thus. In either case. string-andnail art.S. Using a spreadsheet to design these cultural images provides many students who otherwise may not be attracted to mathematics with an attractive pathway to encounter the subject through its geometrical aspects by the creative application of a popular and accessible technological tool.4.4.

The spreadsheet makes the adjustments and produces a graph of a distribution giving the desired value of r.0 -0.2-8.8 -1.52 -0.53 -0. and use the CORRELATION function to observe that the correlation coefficient.0 -0.43 -0.11 y 0. Historical Topics During the author’s university studies and his early years of teaching.06 0. then we will obtain a straight line.032 0.y) points over a chosen range.5 1.805 -1. 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 Figure 8.y) coordinates of many cartographic boundaries.Although we enter the coordinates of this map manually.468 -0. Correlation Graph 9. Scatter Display via Bubble Graph Another versatile spreadsheet tool is the Solver.872 r n 1 2 3 4 0. r = 0.129 -0. and freeware such as PlotDigitizer give us a more convenient way to generate more easily coordinates to digitize a wide variety of images.4.5 r 0. We then convert the values into constants and use the Solver to set the correlation coefficient to a chosen value ( r = 0. the Web provides some data sets that supply (x.5 0.2.4 we first employ the RANDOM function to generate 100 (x.0 Figure 8.1. Correlation Data Figure 8.8 ) by having the Solver change x and y values. r. If we use 1 or –1 for r. is nearly 0.019 n 1 2 3 4 x -0.0 0. the principal computational tool was the slide rule.0 x y 0.80 1.3. In Figures 8.16 0. Random Data Figure 8.29 0.5 0.185 -0.05 0.0 0. Most students today are completely unfamiliar with its .316 0.68 -0.

81 0. 7 6 5 8 9 11 10 10 12 1 2 3 4 9 8 10:43:11 3 2 1 12 11 4 7 6 5 Figure 10. students are generally quite adept at finding interesting and fun things to use in illustrating mathematical concepts. or modify the design for a “backward” moving clock.1-10.291 -0.3 0.9897 5.78151 y 0.4 5 base grid X x y 0 0. minute.9 3 6 base labels X x 1 0 2 3.1.99 1. This and other historical ideas provide wonderful projects for making classes interesting and fun. Students can also draw a building in which to display the clock. The display of Figure 9. We create it using our earlier graphic techniques.1 0.25 4 6. Animated Recreations Figure 10.1 2 3 -0.0103 1 4 5 6 7 8 9 10 3 4.02 6.05 bar grid x 3.5 5. Galileo’s sector compass. Napier’s bones.9 1 1 0 0.1 0.1 5. and the Galton board of statistics.00 2.7 0.2.05 0. Animated Slide Rule Display 10.00 0. Animated Clock . We then link the time to the computer’s clock.15 2 5 6.operation and its use of logarithms.1 0.4 0.69 1.02 Figure 9. Another interesting project is creating a traditional analog clock by using mathematics to insure that the second.00 6 7.1 8. the faster the wheel moves.2.5 2.01 3.05 0.398 log xy 0.S.699 crosshair hair x y x y 5.1 0 0.29 1. causing the wheel to rotate. In the display below. Creative Fun Finally.690 -0.77121 2 0. 1301 699 x y 2.5 0.2 6.25 0. and hour hands advance appropriately. such as the historical Josefov clock in Prague.69 2. We then use a rotation matrix to rotate the wheel through k degrees. The larger the value of k.6 0. Other historical topics for student projects include the abacus.00 log x 0. One of these is a carnival ride.0206 7 8 3.99 0.1 -0. Using a negative value for k reverses the direction of rotation.3 2 4 0. and build a macro containing a loop to iterate the process many times.1 6.01 0.7 0.01 9 10 3.05 0.50 xy 5. We show two examples in Figures 10.2 1 8.01 6.15 0.05 0.1. we use scroll bars to move the center rule and the crosshair.301 log y 0.1 also provides the underlying numbers to better show the ideas involved.05 0. called a Ferris wheel in the U.8 0.6 0.