When graphing functions with multiple local features, I often find myself wanting to explain a portion of the graph’s behavior independent of the rest of the graph. When I started teaching a couple decades ago, the processor on my TI-81 was slow enough that I could actually watch the pixels light up sequentially. I could see HOW the graph was formed. Today, processors obviously are much faster. I love the problem-solving power that has given my students and me, but I’ve sometimes missed being able to see function graphs as they develop.

Below, I describe the origins of the graph control idea, how the control works, and then provide examples of polynomials with multiple roots, rational functions with multiple intercepts and/or vertical asymptotes, polar functions, parametric collision modeling, and graphing derivatives of given curves.

**BACKGROUND:** A colleague and I were planning a rational function unit after school last week wanting to be able to create graphs in pieces so that we could discuss the effect of each local feature. In the past, we “rigged” calculator images by graphing the functions parametrically and controlling the input values of *t*. Clunky and static, but it gave us useful still shots. Nice enough, but we really wanted something dynamic. Because we had the use of sliders on our TI-nSpire software, on Geogebra, and on the Desmos calculator, the solution we sought was closer than we suspected.

**REALIZATION & WHY IT WORKS:** Last week, we discovered that we could use to create what we wanted. The argument of the root is 1 for , making . For , the root’s argument is -1, making , a non-real number. Our insight was that multiplying any function by an appropriate version of *g* wouldn’t change the output of *f* if the input to *g* is positive, but would make the product ungraphable due to complex values if the input to *g* is negative.

If I make a slider for parameter *a*, then will have output 1 for all . That means for any function with real outputs only, will have real outputs (and a real graph) for only. Aha! Using a slider and would allow me to control the appearance of my graph from left to right.

NOTE: While it’s still developing, I’ve become a big fan of the free online Desmos calculator after a recent presentation at the Global Math Department (join our 45-60 minute online meetings every Tuesday at 9PM ET!). I use Desmos for all of the following graphs in this post, but obviously any graphing software with slider capabilities would do.

**EXAMPLE 1:** Graph , a 6th degree polynomial whose end behavior is up for , “wiggles” through the *x*-axis at -2, then bounces off the origin, and finally passes through the *x*-axis at 1.

Click here to access the Desmos graph that created the image above. You can then manipulate the slider to watch the graph wiggle through, then bounce off, and finally pass through the *x*-axis.

**EXAMPLE 2:** Graph , a 6th degree polynomial whose end behavior is up for , “wiggles” through the *x*-axis at -2, then bounces off the origin, and finally passes through the *x*-axis at 1.

Click here to access the Desmos graph above and control the creation of the rational function’s graph using a slider.

**EXAMPLE 3:** I believe students understand polar graphing better when they see curves like the limacon moving between its maximum and minimum circles. Controlling the slider also allows users to see the values of at which the limacon crosses the pole. Here is the Desmos graph for the graph below.

**EXAMPLE 4:** Object A leaves (2,3) and travels south at 0.29 units/second. Object B leaves (-2,1) traveling east at 0.45 units/second. The intersection of their paths is (2,1), but which object arrives there first? Here is the live version.

OK, I know this is an overly simplistic example, but you’ll get the idea of how the controlling slider works on a parametrically-defined function. The $latex \sqrt{\frac{\left | a-x \right |}{a-x}}$ term only needs to be on one of parametric equations. Another benefit of the slider approach is the ease with which users can identify the value of t (or time) when each particle reaches the point of intersection or their axes intercepts. Obviously those values could be algebraically determined in this problem, but that isn’t always true, and this graphical-numeric approach always gives an alternative to algebraic techniques when investigating parametric functions.

ASIDE 1–Notice the ease of the Desmos notation for parametric graphs. Enter [r,s] where r is the x-component of the parametric function and s is the y-component. To graph a point, leave r and s as constants. Easy.

**EXAMPLE 5:** When teaching calculus, I always ask my students to sketch graphs of the derivatives of functions given in graphical forms. I always create these graphs one part at a time. As an example, this graph shows and allows you to get its derivative gradually using a slider.

ASIDE 2–It is also *very easy* to enter derivatives of functions in the Desmos calculator. Type “d/dx” before the function name or definition, and the derivative is accomplished. Desmos is not a CAS, so I’m sure the software is computing derivatives numerically. No matter. Derivatives are easy to define and use here.

I’m hoping you find this technology tip as useful as I do.

Pingback: Extending graph control | CAS Musings

I find something like this really helpful: https://www.desmos.com/calculator/r4kq0nqomn.