- 1. In this module…
- 2. Learning Objectives
- 3. Mathlets in Homework, Segment 1
- 4. Mathlets in Homework, Segment 2
- 5. Mathlets in Homework, Conclusion
Each segment of this module consists of sample homework assignments created around one or another of the MIT Mathlets. Each segment is followed by questions, my remarks about the features of the Mathlets, and examples that illuminate their use. At the end there are a couple of exercises.
1. In this module…
In this module, you will watch video segments where you will be instructed to pause and engage in a variety of activities, as well as think about the questions posed.
Download Module slides [ PDF, 1MB ]
Download Complete Module 3 video [ ZIP, 17MB, 540p ]
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.
Transcript [ PDF ]
3.1. First Assignment: Vector Addition
This exercise would be appropriate in a class discussing parametrized curves.
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.
- Adjust the and sliders. What does represent? What does represent?
- 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 .
- Give a parametric formula for the location of the yellow light as a function of .
- 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.
- By experimenting with the Mathlet, identify situations in which the horizontal component of the velocity vector vanishes. Then verify this observation mathematically.
- 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 algorithm. The Mathlet provides a graphical reason for wanting to do such calculations.
What are your comments about the Wheel project? Explain how some part of this may be useful in one of the classes you teach.
3.2 Second Assignment: Taylor Polynomials
Mathlet: Taylor Polynomials
There is a lot to play with here! When you have explored the Mathlet a little, settle down on the menu item .
- 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.
- 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?
- 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.
- 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.
What are your thoughts about the Taylor Polynomials project? What parts of this project may be useful in one of the classes you teach?
4. Mathlets in Homework, Segment 2
Here are some examples of homework problems involving various Mathlets.
4.1. 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.
Mathlet: Secant Approximation
Accept the default menu choice . Play with the two sliders and the two check boxes.
- 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.)
- What is the slope of the tangent line at this point?
- 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?
- 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 : .
- 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?
- [For classes covering quadratic approximation or Taylor series] Please explain what you observed in (5).
- Before moving onto the next project I encourage you to consider ways for incorporating the Secant Approximation Mathlet into your courses.
Explain how parts of this may be useful in one of the classes you teach.
4.2 Second Assignment: Frequency Response
This assignment would be appropriate in an engineering-oriented ordinary differential equations class.
Mathlet: Amplitude and Phase: Second Order IV
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.
- 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?
- 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.
- 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.
- Now find the near-resonant angular frequency for general values of , , and .
- 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.
- For general values of , , and , find the value of for which the phase lag is exactly .
Mathlets in Homework(1) 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 modeled 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 (4), and with our values for , , and , it gives the answer to (2), .
(3) and (6) 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 .
(5) 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.
For more Mathlets addressing these more advanced issues, see the Mathlets Bode and Nyquist Plots and Nyquist Plot.
5. Mathlets in Homework, Conclusion
If you decide to assign Mathlets as part of homework there are a few things to consider. Watch this video segment where I discuss some of the items you need to consider.
Transcript [ PDF ]
How might you use the Mathlets in one of the classes you teach?
These materials are Copyright © 2013, Massachusetts Institute of Technology and unless otherwise specified are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported license.