AMATH 584
| Instructor: |
Helga Schaffrin Huntley Condon 734 tel: (206) 685-9298 helga@amath.washington.edu office hours: Wednesday, 10 am to noon ... or by appointment |
TA: |
Yiyi Shi Condon 816 shiyiyi@amath.washington.edu office hours: Thursday, 1:30 pm - 2:30 pm |
| Homework | Grades | Messages | Discussion Forum | EDGE video |
| Course Description | Textbook | MATLAB Resources | Syllabus | Schedule and Homework | Course Requirements | Grades | Messages |
Reference books:
On campus, Matlab is available (among other places) on the computers at the MSCC, which is in the basement of the Communications Building. The MSCC also has a Matlab help desk.
The last third of the course will be an overview of numerical methods for other problems. The material for this portion will be drawn from various sources. Some references are mentioned above; others may be added later in the course.
The topics to be covered are:
Follow links in the table below to obtain a copy of the homework in
Adobe
Acrobat (.pdf) format. An item shown below in plain text is not yet
available. For additional information regarding viewing and printing the
homework and solution sets,
click here.
| Homework and Exams | Due Date | Homework Problems | Homework Solutions |
| First day of classes | Wednesday, September 27 | Handout | |
| Homework #1 | Friday, October 6 | HW #1 | Solution #1 |
| Homework #2 | Friday, October 13 | HW #2 | Solution #2 |
| Homework #3 | Friday, October 20 | HW #3, ellipse.m | Solution #3 |
| Homework #4 | Friday, October 27 | HW #4, clgs.m | Solution #4 |
| Midterm | Friday, November 3 | Midterm | |
| Homework #5 | Monday, November 6 | HW #5 | Solution #5 |
| Veterans Day | Friday, November 10 | no classes | |
| Homework #6 | Monday, November 13 | HW #6 | Solution #6 |
| Homework #7 | Wednesday, November 22 | HW #7 | Solution #7 |
| Thanksgiving | Thursday, November 24 | no classes | |
| Homework #8 | Monday, December 4 | HW #8 | |
| Last class | Friday, December 8 | ||
| Final Exam | Tuesday, December 12, 5 pm | Final Exam, planet.dat, ellipse2.m |
Please make sure that your homework is neat and legible, the problems are clearly numbered and your final answer is easily identifiable. If we cannot read your solution, you will not get credit, even if it is correct. Also, you have to show your work to receive full credit.
For problems that are numerical in nature, you should submit a print-out of your final results, with the code as an appendix. All code should be well-commented. (This is a good habit to get into early!)
You are encouraged to work together on assignments -- except for the take-home exam -- but you should not just copy your buddy's work.
You may view your homework and exam grades on-line.
So, if you are stuck on one problem or another, the following may help. (If it doesn't, I have office hours Wednesday morning...)
no. 2 (a)
-- You can prove the existence of the LU factorization
constructively (i.e. by showing how you would find it and that this method
doesn't break down). Along the way, you will probably want to make use of the
hint given in the book.
-- The other direction is most easily proved using determinants and the fact
that a non-singular matrix has non-zero determinant. I wrote it as a proof by
contradiction, but it is equally easy (though for me less intuitive) without
using contradiction.
-- Uniqueness is almost always shown by assuming two solutions, substituting
them both into the problem (here setting them both equal to A) and deriving
that they are, in fact, the same.
no. 2 (b)
-- This is an inductive proof. The key is to show that the first
step doesn't require any row swaps and the resulting submatrix (to be acted on
next) is again strictly column diagonally dominant.
no. 3 (a)
-- I would suggest to look at an example. Start by checking out what happens
to L and U if just the upper right and lower left corners of A are zeros.
Then, what happens if the next sub-/super-diagonals of A are also 0?
Induction will give you a general result.
no. 3 (b)
-- We know what the sparsity pattern of L and U will be if P=I. For other
P's, is the banding pattern of A retained or destroyed? Is part of it
retained? From 3(a) you can draw conclusions given the structure of PA.
no. 4
-- This is again an inductive proof. How is the largest entry in P_1 A
related to the largest entry in A? How is the largest entry in L_1 P_1 A
related to the largest entry in P_1 A? Then extend this insight to get the
(k+1)th step from the kth.
no. 5
-- I already gave you this hint in class: The key here is that the P's
applied to L_k leave the first k rows in place and only permute the others.
Substitute the form with l_k and e_k in for L_k and see where this takes you.
By the way, it suffices to show that P L_k P^(-1) has the purported properties
of L'_k. One sentence can then extend this for multiple P's.
November 6: In class today, someone asked about the problem of multiplying a number by pi. At first I agreed that this could not be backward stable, because we cannot represent irrational numbers. However...
If the problem asked to multiply pi by a rational number (and we take the rationals as our vector space over rationals), this would be true. In the general (and realistic) case of a real number, the multiplication is backward stable!
In fact multiplication of any two real numbers is backward stable. You will prove this on your next homework.
Sorry for the confusion!
October 20: One of you pointed out to me that the last question on assignment #2 (question 6) asked whether one if-and-only-if statement was true, not whether one direction or the other is true. So technically finding one example where either direction is violated means the entire statement is false.
My interpretation (as well as my TA's) was that one should investigate either direction. This is how one would approach such a problem in research, where questions are more open-ended than in a textbook. If I can't quite get what I want, what does hold?
In view of the inconclusive phrasing of the question, however, I will accept an answer that provided only a counterexample for one direction. If you lost points because you didn't show that the other direction holds, please bring your homework to class on Monday and I will give you your points back. Note, however, that if you lost points because you showed only that one direction holds, you won't get them back, as this doesn't answer the question, interpreted either way.
Sorry for the mix-up.
Enjoy your weekend!
September 27: Welcome to class!
| <helga@amath.washington.edu> | Last modified: Tue Dec 5 12:52:54 PST 2006 |