What is a machine number? Is one? Is .
Is the sum of two machine numbers a machine number?
Give a counterexample.
Can you give an example of a number that is not a machine number?
If and are machine numbers, what can you say about when
?
Why is cancellation good in this case? How can you use it to
design a more accurate addition algorithm (tip: magic adding by Kahan)
Consider floating point numbers with base=2, precision=24. What is the
largest such that
?
In IBM PC Basic:
. Explain the origin of the
error.
Give an example of an unstable algorithm.
II
Direct Methods for Dense Systems
Give a recursive definition of LU factorization.
(If you can factor
how can you factor
? )
Prove Uniqueness for LU factorization.
For the problem , it is most useful to divide matrices into two
broad classes: general matrices, and (fill in
the blank).
Why do symmetric and symmetric positive definite matrices arise
so often?
What is the reduced matrix after one step of Gaussian elimination applied to:
If the original matrix is SPD is the reduced matrix also SPD? Prove it.
Why do we introduce norms?
What are the three properties of a vector norm?
What is the definition of a subordinate matrix norm? In this definition
how do we know a maximum is attained?
What matrix norm is subordinate to the vector max norm?
Fully explain the purpose of partial pivoting.
Why is partial pivoting not needed for a positive definite matrix?
What is the growth factor for Gaussian elimination applied to a SPD system?
III
Least Squares Problems
What is a projector? What is an orthogonal projector? What can be said
about their eigenvalues?
Consider a subspace of
with basis
.
Explicitly construct the orthogonal projection for this subspace.
Given vectors and ,
determine an expression for the orthogonal projection of onto .
Describe Gram-Schmidt geometrically.
Give a derivation of the normal equations guided by the
analogous problem in three dimensional Euclidean space.
Give a geometric interpretation of a Householder reflection in 2D.
What is a Singular Value Decomposition?
IV
Eigenvalue Problems
For the eigenvalue problem
, it is most useful to divide
matrices into two
broad classes: general matrices, and (fill in
the blank).
For a shifted QR iteration one has
So, what difference does the shift make?
V
Approximation of functions
Let be the operator mapping onto the poly
which interpolates at
.
Prove that is a linear operator and a projection
operator.
Let interpolate at
.
Give a simple expression for
in terms of and
.
What is a divided difference?
List some properties of divided differences.
Do a divided difference interpolation of , .
How might one use in practice the remainder term for
polynomial interpolation?
First, what is it?
In what sense is a Taylor polynomial an interpolation polynomial?
Give examples of interpolation in root finding, quadrature,
and ODE methods.
Give an abstract definition of best approximation.
Does Chebyshev interpolation give best uniform approximation?
VI
Initial Value Problems in ODEs
Suppose that and are both solutions of the
single ODE
.
Is it possible for the graphs and to cross?
Draw a picture of the convergence proof for Euler's method.
What is a reasonable way of controlling the stepsize in
Euler's method?
Consider the following initial value problem:
Express this in a form suitable for a typical ODE integrator.
Given ODE what is one step of backward Euler?
Given a formula for a 2-stage 2nd order RK method,
draw a picture of it.
What is a systematic way of generating formulas of
arbitrarily high order for ?.
Show graphically the relationship between global and local
errors for an ODE IVP method.
Do a stability analysis for Euler for the standard test equation.
What is a stiff ODE?
What is a good method for stiff ODEs?
What is its drawbacks?
Can you name another method not having this drawback?
How does one solve the implicit equations in practice?
What information do we get from analyzing
?
How can one experimentally determine the order of
accuracy of a discretization method?
VII
Boundary Value Problems for a Second Order ODE
Give an example of a 2 point BVP for
.
Consider
with 2 separated boundary conditions.
What would boundary conditions look like?
Give a second order accurate discretization of this problem?
How would you generalize to a non-uniform mesh?
How would you solve discrete problem?
How much memory could you need for Gauss elimination with pivoting?
Consider Blasius equation:
,
,
.
How might one solve it numerically?
VIII
Solutions of Nonlinear Equations
What can you say about the convergence of Newton's method?
Give the Newton method in one dimension. What is its order of
convergence? Does this order always hold?
Give the Newton method in multi-dimensions. How can we ensure
convergence? Why does this work? What will this converge to?
IX
Elliptic PDEs
Draw the shape, or give the nodal basis functions, for quadratic
Finite Elements.
Express stiffness matrix in terms of element matrix.
What is the computational complexity of Multi-Grid fast Poisson solver.
Is it fair to compare? cost of reducing error to ,
cost of 53 bits versus 24 bits.
What are the computational complexities of the stationary
iterative methods applied to the 1-D, 2-D, and 3-D Laplacians?
Give an operation count for banded Gaussian elimination of an
matrix with half-bandwidth .
How much fill-in for a linear system with structure:
How do we avoid this fill-in.
Give an operation count for banded Gaussian elimination without pivoting.
X
Parabolic PDEs
Solve heat equation with initial values
For
, give additional conditions that
would determine a unique solution.
If we use forward-time centered-space differencing for
, will it converge as ,
?
Write down the forward-time centered-space difference scheme for the
heat equation and do a stability analysis.
Write down the Crank-Nicolson difference scheme for the
heat equation and do a stability analysis.
XI
Hyperbolic PDEs
Given and equal to a hat function, describe
the graph solution .
Write down the centered-time centered-space difference scheme for the
wave equation and do a stability analysis.