Module 3: Mathlets in Homework
Each segment of this module consists of sample homework assignments created around one or another of the MIT Mathlets. Each segment is followed by an opportunity for you to discuss this material on the Discussion Forum, and some remarks of my own about the features of the Mathlets and their use that are illuminated by these examples. At the end there are a couple of exercises for you.
This module outline is provided to serve as your guide as you progress through the online content for module 3. It includes of the following:
- Learning Objectives
- Mathlets in Homework, Segment 1
- Text of Homework use of Wheel and Taylor Polynomials Mathlets
- Discussion Questions
- Discussion of Segment 1
- Mathlets in Homework, Segment 2
- Text of Homework use of Secant Approximation and Phase Second Order IV Mathlets
- Discussion Questions
- Discussion of Segment 2
- Module Conclusion
2. Learning Objectives
After completing this module, the participant will be able to use Mathlets to:
- Mix experiment with computation in homework.
- Improve student understanding regarding the significance computations in homework.
- Increase student enjoyment of homework exercises.
3. Mathlets in Homework, Segment 1
The final use we will look at during this short course is the use of Mathlets as part of homework. Let me introduce you to the idea and benefits of using Mathlets in homework during this next video segment.
Download the transcript for the Mathlets in Homework, Segment 1 video.
First Assignment: Vector Addition
This exercise would be appropriate in a class discussing parametrized curves.
Launch the Wheel Mathlet.
You see a wheel with a light at the end of a spoke. Animate the rolling wheel using the [>>] key. You can return the wheel to the start position using the [<<] key. You can also control directly using the slider.
- (a) Adjust the and sliders. What does represent? What does represent?
- (b) You can cause the trajectories of the center of the wheel and the light to be marked by selecting the [trace] key. Give a parametric formula for the location of the center of the wheel (in terms of these parameters) as a function of .
- (c) Give a parametric formula for the location of the yellow light as a function of .
- (d) You can cause the velocity vector to be shown by selecting the [velocity] key. Are there settings for , , and for which the velocity is zero? You may want to discover them using the Mathlet; but then verify your observation mathematically.
- (e) By experimenting with the Mathlet, identify situations in which the horizontal component of the velocity vector vanishes. Then verify this observation mathematically.
- (f) In fact, what can you say about how the sign of the horizontal component of the velocity vector is related to the position of the light? Again, verify this observation mathematically.
(a) Just as in a lecture, you have to lead students through the elements of a Mathlet. It is a good idea to encourage students to express the meaning of elements of the Mathlet themselves:
(b)-(c) Do you think that having the parametric expression for the light present on the screen lessens the value of these questions?
(d)-(f) Now we start experimenting. Homework in Mathematics classes often involves somewhat random computations, designed to give the student practice at carrying out some manipulation or algorthm. The Mathlet provides a graphical reason for wanting to do such calculations.
Before moving onto the next project I encourage you to scroll down to the Segment 1 Discussion Questions and post your ideas for incorporating the Taylor Polynomials Mathlet into your courses.
Second Assignment: Taylor Polynomials
Launch the Taylor Polynomials Mathlet.
There is a lot to play with here! When you have explored the Mathlet a little, settle down on the menu item .
(a) Compute the full MacLaurin series (the Taylor series at ). Then select on the Mathlet and use the [Terms] key and a large value of to check your answer.
(b) Set and animate the second order Taylor series by setting and pressing the [>>] key. You see a family of parabolas. Sometimes they are opening up and sometimes they are opening down. Find (by calculus) the values of at which these transitions occur. Do these points have a name?
(c) Now set and animate the third order Taylor series. From the Mathlet, observe where the coefficient of the third order term vanishes. What is the name of the graph of the Taylor polynomial at those points? Then compute where those points are.
(d) Now, using the same function, select . The [Terms] readout will display the coefficients in the Taylor series. From these data, predict what the entire Taylor polynomial will be. Then prove your prediction.
(a) I thought it was important to focus on the Taylor series at a single point, maybe beginning at the point , before moving to the animation offered by this Mathlet.
(b) Perhaps I should have interposed an animation with , to let students see the more familiar tangent line before they see the best approximating parabola. The parabola flattens out to a straight line at the points of inflection. This is what we envision in teaching about points of inflection, but without a tool like this it is hard to convey to the student, and my guess is that identifying the transition from concave to convex with the points of inflection will come as something of a revelation.
(c) Luckily the zeros of come out nicely, but this is still a substantial computation for beginners, one which might be resented without the payoff of verifying an observation.
(d) This was a surprise to me! You can substitute into , but the result, , does not expand in any very obvious way. With enough insight you can realize that , so
agreeing with the coefficients on the Mathlet. It is actually easier to start from the Taylor expansion guessable from the displayed coefficients and work back; so the Mathlet provides a useful hint.
This choice of menu item was rather random; similar exercises could be constructed around any of the others. The last one is the standard example of a function which is not real-analytic. It is very interesting to see how the Taylor coefficients all become zero as decreases to 0. Quite often I find myself surprised and puzzled by behaviors displayed by a Mathlet; this is a good example.
Take a few moments to post a response in the following discussion forum. Once you have posted your response, please read and respond to two of your classmates posts.
Here are some examples of homework problems involving various Mathlets.
Module 3 Discussion Question 1: Wheel Project Ideas
Module 3 Discussion Question 2: Taylor Polynomial Project Ideas
4. Mathlets in Lecture, Segment 2
Here are some examples of homework problems involving various Mathlets.
First Assignment: Secant Approximation
This assignment might be given in a calculus course. The early sections would be appropriate when the derivative is being introduced.
Launch the Secant Approximation Mathlet.
Accept the default menu choice . Play with the two sliders and the two check boxes.
(a) When , the yellow secant line disappears. Please explain why.
Set . (Notice that you can set a slider at a value marked by a hashmark buy clicking on the hashmark.)
(b) What is the slope of the tangent line at this point?
(c) Move the slider left and right, and then leave it at . What is the yellow read-out of the value of the slope of this secant line? What is its actual value?
(d) The claim is that
Using the Mathlet to gather empirical data, make a table showing how small you have to make to guarantee that for the following values of : .
(e) For this value of and small , the slope of the secant is less than the slope of the tangent for and greater that the slope of the tangent for . Move the slider to other positions and observe the relationship between and at other points. What regularity do you observe? With what other features of the graph does this relationship seem to correlate?
(f) [For classes covering quadratic approximation or Taylor series] Please explain what you observed in (e).
Before moving onto the next project I encourage you to scroll down to the Segment 2 Discussion Questions and post your ideas for incorporating the Secant Approximation Mathlet into your courses.
Second Assignment: Frequency Response
This assignment would be appropriate in an engineering-oriented ordinary differential equations class.
Launch the Amplitude and Phase: Second Order IV Mathlet.
This Mathlet deals with a spring-mass-dashpot system. The input signal is a force acting directly on the mass, given by ; the system response is the displacement of the mass from its neutral position. We are interested only in the periodic system response.
Observe the various sliders and their functions.
- (a) Set , , and . Sweep the angular frequency from to . Use the Mathlet to give a qualitative description of the system response, as it relates to the input signal: is its amplitude greater than or less than that of the input signal? is it in phase or does it lag behind? These observations will depend upon the value of . What happens when is small? large?
- (b) Still with these settings, it appears that there is a particular value of the input angular frequency for which the amplitude of the system response is maximal. This is the near-resonant frequency, written . Estimate from the Mathlet, and the amplitude of the corresponding system response. It may help to invoke the Bode plots: the upper one shows the amplitude of the system response as a function of . Then compute and the amplitude of the near resonant system response exactly (using , which was approximated by in the Mathlet experiment.) Compare the results.
- (c) Still with these settings, it appears that for a certain angular frequency the phase lag (of the system response relative to the input signal) is exactly . Use the Mathlet to estimate this value of . It may help to invoke the Nyquist plot. This displays the complex gain , where is the amplitude of the system response (which, since the amplitude of the input signal is 1, is the gain) and is the phase lag. Then compute this angular frequency exactly. Compare the results.
- (d) Now find the near-resonant angular frequency for general values of , , and .
- (e) Your formula for may not make sense for all values of , , . When it does not make sense, there is no near-resonant peak (or you could say that near-resonance occurs at ). Give an inequality among the parameters , , , guaranteeing the existence of a near-resonant peak. Find at least one marginal case (where the inequality you discovered is replaced by an equality) on the Mathlet.
- (f) For general values of , , and , find the value of for which the phase lag is exactly .
(a) It is very important to be explicit about what you want students to do: is it enough for them to make observations from the Mathlet, or do you expect them to prove (or calculate) things?
The rest of the parts of this problem are only reasonable as homework after you have modelled this kind of think in lecture. There are various approaches.
Here is how I like to teach this: Write for the characteristic polynomial, so the equation is where is the differentiation operator. The input signal is . The equation has real coefficients, so if we have a solution of the complex equation then is a solution of the original equation. Now, , from which it follows that , so we can take . The amplitude of is then , and this is what we are asked to maximize. Maximizing this is minimizing the magnitude of , or of its square . You can do this by setting the derivative with respect to , , equal to zero. This gives and where
This solves (d), and with our values for , , and , it gives the answer to (b), .
(c) and (f) The complex gain is , so we are asked to find the angular frequency for which the real part of is zero and the imaginary part is positive. This occurs when , or (independent of !). With our values of and this gives .
(e) For to be real, the contents of the square root have to be non-negative. So .
This is a lot of computation and somewhat abstract. It is very reassuring to students to see the phenomena displayed on the Mathlet.
The complex gain is (in this problem) given by . The trajectory of this complex-valued function of is what is displayed in the [Nyquist plot]. It contains both the gain and the phase lag, and the Nyquist plot shows both and the relationship between them.
Technically, we have not drawn Bode plots: engineers would draw the log of the frequency horizontally, and the log of the gain vertically. My experience is that using log plots is a step too far for students at the stage at which I see them in my classes.
Also, a Nyquist plot, properly speaking, shows the trajectory of the complex gain for negative as well as positive.
Take a few moments to post a response in the following discussion forum. Once you have posted your responses, please read and respond to two of your classmates posts.
Module 3 Discussion Question 3: Secant Approximation Project Ideas
Module 3 Discussion Question 4: Frequency Response Project Ideas