1. Maple and the quotient rule.
Let us consider the functions defined below.
> g:=x-> x^2+3*x-2;
To multiply the two functions together in Maple, you simply multiply the symbols naming the function. You can even give the product a name, as below, and this becomes a new function.
It is easy to calculate the derivative of the product of two functions in Maple.
However, it is not at all obvious what Maple means by the expression above. One can try evaluating at the point x.
Notice that Maple has not simplified the product, but just did the product rule the same way you would do it by hand. We can simplify the answer as well.
If we ask Maple to simplify Maple does not do anything helpful.
But if we simplify , we get somewhere.
Now let us investigate the quotient rule.
Now wait a minute, that does not look like the quotient rule. Maple does not use the quotient rule the same way that we learn it in a Calculus class. In fact, Maple uses the following rule. . Then to find the derivative of a quotient, it applies the product rule. Thus we obtain the quotient rule in the form . Can you recognize this formula in the example above? Of course, we can still simplify the result above to get a nice form for the result.
Use Maple to compute the derivative of the function given by , whose graph is called Newton's Serpentine . Use Maple to compute and simplify the derivative, and plot both the function and its derivative on the same graph. Then write an explanation of why the graph of the derivative seems reasonable for the function, by pointing out key features of the graph of the function that are reflected in the graph of its derivative.
2. Approximating the derivative by difference quotients.
By the definition of the derivative in terms of a difference quotient, we know that . To investigate this, let us define the difference quotient as a function of two variables as follows:
Let us plot the function and its difference quotients for various values of h on the same plot.
It is hard to distinguish the graph for h=0.1 and the original graph. You might try changing the y scale to see if you can get an image which is separated more.
The centered difference quotient is given by
(a) Repeat the process above using the centered difference quotient instead of the difference quotient.
(b) Now consider the function .
We know that . Repeat the process outlined above, first using the difference quotient and then using the centered difference quotient. Plot your graphs over the interval [ ]. Then to get a better view, narrow the interval for your graphs.