CSE 401/CS 450/MATH 450/ECE 491: Sample Questions, Fall 2006
Chapter 1:
- What does it mean for an algorithm to be stable?
- What does it mean for a problem to be well conditioned?
- What does it mean for a problem to be well posed?
- Are well posed problems always well conditioned?
- Are well conditioned problems always well posed?
- If you apply a stable algorithm to a well conditioned problem will you get a relatively accurate solution?
- What is the absolute forward error? backward error?
- What is the relative forward error? backward error?
- What is the relative backward error of approximating cos(x) with 1 + 0.5*x2 at x = π/8 ?
- What is the difference between data error and computational error?
- What is the difference between truncation error and rounding error?
- What is the condition number of a problem?
- How does conditioning relate to forward and backward error?
- What is machine precision? Underflow? Overflow?
- When does 1 + a = 1 in floating point? Does this mean a = 0 in floating point?
- What limits the accuracy of addition, subtraction, multiplication, division of machine numbers?
- Which operations can result in overflow? underflow?
- What is cancellation?
- Which is most accurate: 1/x - 1/(x+1) or 1/(x(x+1)) ? When x =~ 0 or x =~ -1 ? How about for |x| larger than 1 / epsmach ?
Chapter 2
- When does A x = b have a solution? a unique solution?
- What does it mean for a matrix A to be singular?
- If A x != 0 for all x != 0?
- If A has rank n, and A is n by n?
- There exists B such that A B = B A?
- There exists B such that A B = B A = I ?
- What is the 1-norm, 2-norm, infinity-norm of a vector?
- What is the norm of a matrix in the 1-norm, 2-norm, infinity-norm?
- What is the condition number of a matrix?
- What is the norm and condition number of a diagonal matrix?
- When does cond(AB) = cond(B)? When A is a scalar? Matrix?
- How does cond(A) relate to cond(A-1)?
- How sensitive is the solution to A x = b to changes in A and b?
- Does a relatively small residual indicate a relatively accurate solution?
- What is the complexity of computing the LU factorization of A?
- What is the complexity of forward and back substitution?
- Does the LU factorization always exist? with row-pivoting? with row and column pivoting?
- How do we decide when to pivot for partial (row) pivoting? full (row and column) pivoting?
- Which is more expensive: (1) Computing the LU factorization (with pivoting) of A and solving with forward and back substitution or (2) Computing the inverse of A and multiplying times b?
- What is the advantage of solving symmetric systems? symmetric positive definite systems?
- What is the Cholesky factorization? When can it be computed?
- What is the complexity of computing the LU factorization for a banded system if no pivoting is required?
Chapter 3
- When does a linear system of equations have a least-squares solution?
- When is the least-squares solution unique?
- Suppose a matrix A has more rows than columns, does A x = b
have a least-squares solution? Is it unique? If A has more columns than rows?
- How does the rank of A relate to the existence and uniqueness of
a least-squares solution?
- What happens when b is in the span of the columns of A?
- How does the conditioning of the least squares problem relate to A and the angle between b and the span of the columns of A?
- What are the normal equations?
- What do the normal equations tell us about the least-squares residual and the columns of A?
- What is the pseudo-inverse of a matrix? If A is full rank? If A is not full rank?
- How does the conditioning of the normal equations relate to the condition number of A?
- What is the QR factorization of a matrix?
- Why don't we use the LU factorization for solving the least-squares problem?
- What does it mean for a matrix to be orthogonal?
- What is a Householder reflection? How is it used to compute the QR factorization?
- What is a Givens rotation? How is it used to compute the QR factorization?
- How many Householder reflections (or Givens rotations) are required to reduce a matrix to upper triangular?
- What is the singular value decomposition of a matrix?
- Which method is most expensive, normal equations, householder, SVD?
- Which method is most accurate, normal equations, householder, SVD?
- What is the 2-norm and 2-norm condition number of a matrix?
- Given several data points, what is the least-squares fit of a polynomial
of the form p(t) = x1 t + x2 t2?
- What is the first column of a matrix after the first Householder reflection?
- What is the (1,1) entry of a matrix after the first Givens rotation?
Chapter 4
- What is an eigenvalue (eigenvector) of a square matrix?
- What is the characteristic polynomial?
- For every polynomial, p, is there a matrix with p as its characteristic polynomial?
- What is the conditioning of the eigenvalue problem?
- What matrices always have well conditioned eigenvalues?
- What does it mean for a matrix to be normal?
- What does it mean for a matrix to be defective?
- Can a normal matrix be defective? Can a defective matrix be normal?
- Can a matrix be both non-normal and non-defective?
- Are symmetric matrices always normal? Always non-defective?
- What is a similarity transformation?
- What is a unitary matrix? Similarity transformation by a unitary matrix?
- For real matrices, how close can we get to diagonal using orthogonal similarity transformations?
- What about with unitary similarity transformations? And with a general similarity transformation?
- What is the real schur form of a matrix?
- What is the general schur form of a matrix?
- What is the power method? Inverse iteration?
- To which eigenvector does the power method converge?
- To which eigenvector does the inverse iteration converge?
- Perform one step of the normalized power iteration with a small matrix.
- Why do we normalize the power iteration with the infinity-norm?
- Perform one step of the normalized inverse iteration with a small matrix.
- What is the Rayleigh quotient? Compute the Rayleigh quotient for a small matrix and approximate eigenvector
- Why do we use shifts with power and inverse iterations?
- What is the Rayleigh quotient iteration?
- What is the purpose of preliminary reduction to Hessenberg or Tridiagonal form?
- Why can't we just reduce to diagonal or upper triangular directly?
- What does Lanczos and Arnoldi produce?
- What is the QR iteration? To what form does the QR iteration converge?
Chapter 5
- When does a function, f(x), have a root?
- When is the root of a function well-conditioned?
- How does the absolute conditioning of evaluating, f(x), at a root
relate to the conditioning of that root?
- What is a multiple root of a function?
- What is the derivative (at a root) of a function with a multiple root?
- What is a fixed point iteration?
- What is the convergence rate of a fixed-point iteration?
- What is linear, superlinear, and quadratic convergence rates?
- How does the number of correct digits in the solution increase with a linear convergence rate? quadratic convergence rate?
- What is the bisection method? Does it always converge? What is its rate of convergence?
- Given a fixed point method, xn+1 = xn - 0.5 (xn)2 + 0.5, will it converge to x = 1 if the initial guess is sufficiently close? How about for x = -1 ?
- What if g'(x) is zero at the fixed point? What about if g'(x) < -1 ?
- What is Newton's method? What is the rate of convergence for Newton's method?
- What happens when Newton's method is applied to a function with a multiple root?
- What is the secant method? What is the advantage of secant method over Newton's method? Disadvantages?
- What is general idea of Broyden's method? What is the advantage of Broyden's method over Newton? Disadvantage?
- Perform one step of Newton's method for a small system of equations.
- What is a trust region?
- What is damped Newton?
Chapter 6
- What is a local minimum of a function? global minimum?
- Is the derivative always zero at a local minimum? Is the second derivative always positive?
- If the second derivative is positive and the first derivative is zero, is it always a local minimum?
- If the second derivative is negative what can we say? What about if the second derivative is zero?
- How does the first and second derivative test work in higher dimensions?
- What does it mean for a function to be coercive? How about convex?
- What does it mean for a set to be convex? What do we know about convex functions on convex sets?
- What is the first derivative test for a constrained system?
- What is the conditioning of the local minimization problem? How does this relate to the conditioning of the root finding problem for f'(x) = 0 ?
- What is the steepest descent method?
- What is the general idea behind the conjugate gradient method?
- Which methods use a one-dimensional line search?
- What is Newton's method for the minimization problem?
- Does Newton's method only converge to local minima in this context?
- What is general idea of the BFGS method? How is BFGS related to Broyden's method?
- For what is Gauss-Newton used?
- Which methods explicitly require solving a linear system of equations at each step?
- What is the penalty method? How does it work?
- What is the purpose of a trust-region in an optimization algorithm?
Chapter 7
- How many points can we interpolate with an nth degree polynomial?
- What is the difference between interpolation and least-squares? When do we use one versus the other?
- What is the advantage of using the Monomial vs. Newton vs. Lagrange basis?
- What is the disadvantage of using each of these basis representations?
- Do all three of these basis representations generate the same polynomial?
- What does it mean for a basis representation to allow for the interpolating polynomial to be built incrementally? Which representation allows for incremental construction?
- What is the problem with using equally spaced points for polynomial interpolation?
- What are the Chebyshev points?
- What is Hermite interpolation? Spline interpolation?
- Which is smoother, Hermite or Spline?
- How many free parameters does a cubic spline have?
- What can we enforce with these free parameters?
- What is a natural cubic spline? periodic cubic spline?
Chapter 8
- What is the conditioning of integration? How about differentiation?
- Is it a good idea to integrate noisy data? How about differentiate?
- What does it mean for a set of quadrature rules to be progressive?
- Which classes of quadrature rules have progressive subsets?
- What is Newton-Cotes quadrature? How are the nodes and weights determined?
- What is Gauss quadrature? How are the nodes and weights determined?
- What does it mean for a quadrature rule to be open? How about closed?
- Which quadrature rules are open? Which are closed?
- What is an advantage of using an open rule?
- What is a composite quadrature rule?
- Apply the composite midpoint (or trapezoid) rule to some tabulated data (or to a given function.
- What is the degree of a quadrature rule?
- What is the degree of an n-point Newton-Cotes rule? How about a Gauss rule?
- What is the forward difference approximation to the first-derivative? How about backward difference? And centered difference?
- What is the centered difference approximation to the second-derivative?
- Apply the forward/backward/centered difference formula to tabulated data (or to a given function).
- What is Richardson extrapolation? Why is it useful?
- Apply Richardson extrapolation to some function of order hp with given results for two different values of h.
Chapter 9
- What does it mean for a system of initial value problem (IVP) ordinary differential equations (ODEs) to have stable solutions?
- Consider the coupled system du/dt = c w and dw/dt = u, where c is
a constant. For what values of c is this system stable?
- Consider the coupled system du/dt = a u + b w and dw/dt = c w, where
a, b, and c are constants. For what values of a,b,c is this system stable?
- Given a linear system of ODEs, dx/dt = A x, where
A is a matrix and x(t) is a vector for each value of t. When is
this stable?
- Consider the linear system of ODEs above, what is the condition for
forward Euler to be stable? How about backward Euler?
- Apply one step (or two steps) of forward or backward Euler to any of the
ODEs given above.
- What is the trapezoid rule? When is the trapezoid rule stable for linear
systems?
- Given a higher-order ODE, how do you convert it into first-order form
and find the stability?
- What is the difference between stable and asymptotically stable?
- How do we determine stability for nonlinear systems?
- What is a Runge-Kutta method? What is a multistep method?
- What is the advantage of using an implicit method? Cost per step? Stability? Accuracy?
- What is a stiff differential equation?
Chapter 10
- What is a boundary value problem?
- How is the conditioning of the boundary value problem (BVP) related to
growing and decaying modes?
- Describe the steps involved in applying a shooting method. What is
the dimension of the system of equations that must be solved?
- Describe the steps involved in applying a finite difference method. What
is the dimension of the system of equations that must be solved?
- Describe the steps involved in applying a collocation method. What is the
dimension of the system of equations that must be solved?
- What does it mean for a BVP to be linear? Have separated boundary conditions?
- Approximate the solution to a BVP using a three-point finite difference
approximation (i.e., one interior point).
- Approximate the solution to a BVP using collocation with a quadratic polynomial (i.e., three unknown coefficients).
Chapter 11
- What is the advection equation? What is the solution to the advection equation?
- What is the heat equation? Is the heat equation parabolic, elliptic, or hyperbolic?
- What is the wave equation? Is the wave equation parabolic, elliptic, or hyperbolic?
- What is the laplace equation? Is the laplace equation parabolic, elliptic, or hyperbolic?
- What class of PDEs have solutions which are evolving toward a steady state solution: parabolic, elliptic, or hyperbolic?
- What class of PDEs have solutions which are not evolving toward any steady state: parabolic, elliptic, or hyperbolic?
- What class of PDEs has as its solution the steady state solution: parabolic, elliptic, or hyperbolic?
- What are characteristics of a PDE? What are the characteristics for the advection equation?
- How do characteristics help to determine if boundary conditions are properly specified?
- How does semi-discretization work in the method of lines?
- Approximate the solution to a simple 2D PDE using centered differences and
only one unknown interior point.
- Compute the solution to an advection equation at some point in time and space given the initial conditions.