Transformations of Functions
Let f (x) be some function and let
be another function that is a transformation of f. This applet explores how the derivatives of f and g are related.
Try the following:
- The applet initially shows the graph of a cubic. The function and its derivative are in magenta, while the transformation and its derivative are in blue. You can only see the blue one, since they start out identical. First, move the d slider. What happens to the graph of the function? What happens to the derivative? Why? Changing d moves the graph of f up and down, which does not change the slope at any point. Hence the derivative of g is still the same as the derivative of f.
- Set d back to 0 and then move the c slider. What happens to the graph of the function? What happens to the derivative? Why? Changing c moves the graph left and right, so the derivative moves that way, too. At any time you can also play with the x slider, which moves the point of tangency.
- Set c back to 0 and then move the a slider. What happens to the graph of the function? What happens to the derivative? Why? Changing a stretches and squishes the graph vertically. A vertical stretch causes the slopes to get steeper, so the derivative gets stretched vertically, too. Squishing the graph vertically causes the slopes to get shallower, so that causes the derivative to get squished vertically. For example, set x = 2 and a = 2; what is the relationship between the derivative values shown in the right hand graph? Try a = 3, etc. You should notice that the transformed derivative is just a times the original derivative.
- Set a back to 1 and then move the b slider.What happens to the graph of the function? What happens to the derivative? Why? Changing b stretches and squishes the graph horizontally. A horizontal stretch causes the slopes to get shallower (i.e., closer to zero), so the derivative gets "flattened." Squishing the graph horizontally causes the slopes to get steeper (i.e., farther from zero), so that causes the derivative to get stretched vertically. But, if you watch the values of the derivatives, it actually looks a bit more complex than this. For example, set x = 2 and b = 2. Clearly the value of the derivative of the transformed function is not as simply related to the original value as in the case for a.
- Select the second example, a sinusoid, and experiment with the sliders. In particular, set a = 1, c = d = 0, and play with the b slider. This example more clearly shows that the derivative of the transform has both a vertical and a horizontal stratch/squeeze.
- You could have figured this out by just taking the derivative of the formula for g(x), using the chain rule:
. Notice that d is gone, so vertical shifts don't affect the derivative. C is in the same place, so horizontal shifts also shift the derivative. A is in the same place, so a vertical stretch/squish also happens to the derivative. Notice that b is now in two places, so figuring out the change in the derivative involves both a vertical and a horizontal stretch/squeeze.
For more information on rights and downloading, refer to http://www.calculusapplets.com/download.html.
© Copyright 2001 David J. Eck
© Copyright 2007 Thomas S. Downey
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
You must cause any files that you modify to carry prominent notices stating that you changed the files and the date of any change, and modified files must be put into a Java package different from edu.hws.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.






















