Instructions. Solve the problems for your course track. Formulate your answers clearly and cogently. Sketch out an approach on scratch paper first. Concisely transcribe the approach to the answer you turn in, followed by appropriate calculations and conclusions, within allotted time. Use concise, complete English sentences in the description of your approach. Each question is meant to be completely answered and transcribed from proof to final copy within thirty minutes. Concentrate foremost on clear exposition of the concept underlying your approach. Sign each page thus acknowledging honor code rules. Do not turn in scratch work.
Preamble. The course objectives set out in the syllabus are reproduced below, along with a formulary. Problems probe understanding of the course concepts, rather than rote memorization.
“There are just four mathematics ideas that are considered in this course:
The notion of replacing some complicated mathematical object by one that is simpler to compute. In succession, the course presents the approximation of numbers, functions, and operators. The main focus is on numerical approximation, but computational analytical approximation is also presented.
An approach to constructing complex objects by scaling and addition of simpler objects. Note the link to approximation, in that “simpler to compute” is interpreted as scaling and addition.
An approach to constructing complex objects by function composition, successive nonlinear transformation of simpler objects.
An approach to constructing complex objects by a sequence of approximations.
Comparable simplicity is encountered in computational ideas:
Transfer and organization of data on a computer.
Multiple execution of a task. Two repetition types are encountered:
A portion of code that is repeatedly executed, typically within a loop.
A portion of code organized as a function that calls itself.
Carrying out decisions based on data.”
Formulary. Newton method to solve : .
Newton form of interpolating polynomial:
Divided differences: ,
Finite difference operators: , , ,
Binomial expansion: , ,
Generalized binomial expansion: ,
Interpolation operator: ,
Householder reflector
Newton's method to solve , uses data to construct a linear approximant , and the next iterate is the solution of . Construct an analogous method based upon data , and establish its order of convergence (, ).
Solution. Since three conditions are specified, the interpolating polynomial is quadratic, of form
with . Divided difference table
Interpolating polynomial
Solve
Chose the root closer to . Since the interpolation is quadratic, expected order of convergence is cubic.
Present a pseudo-algorithm code to compute for , , . Express the limit in terms of >0.
Solution.
Algorithm
Input:
to
return
At the limit iteration does not change the value, i.e., is a fixed point. Solve
Find a quadrature formula
that is exact for all quadratic polynomials.
Solution. Apply moment of methods to obtain system
Three conditions for four unknowns , one arbitrary degree of freedom. Can impose, e.g.,
Symmetry suggests , , in which formula is exact for cubics also, and
Determine such that
is a consistent scheme to solve the ordinary differential equation .
Solution. Replace , , and carry out Taylor series expansions
Gather terms, identify powers of , coefficients are
Since the condition
is required for consistency, satisfied, e.g., by , by forward Euler, , by backward Euler.
Determine such that
is a cubic spline.
Solution. Impose continuity of function, derivatives at knots
hence , determined from arbitrary end conditions.
Formulate and analyze algorithms for finding roots of , , , based upon approximation of within , .
Solution. The approximant is a linear combination of functions in
Construct algorithms by analogy to the monomial basis , where secant, Newton are obtained as truncations to , over an interval with endpoints from a root approximation sequence . Hence consider approximant of form
and data , sorted such that , and coefficients from solution of
The next iterate is set as the root of the approximant
solvable at the cost of an arctangent evaluation. Algorithm analysis seeks order of convergence of error
which requires (complicated) Taylor series expansions, but order of convergence should at least equal that of the secant method (superlinear).
Present a recursive pseudo-code algorithm to compute to within relative error
by applying on subintervals the Gauss-Legendre quadrature
Solution. From H09
Algorithm
Recursive quadrature
RecInt(a,b,err,f,Q)
if
return
else
return RecInt(a,c,err,f,Q)+RecInt(c,b,err,f,Q)
Map to through , , hence
with
Differentiation of the interpolation operator
allows identification of the differentiation operator as a forward difference series
Find an analogous expression for the integration operator
and analyze the resulting quadrature formulas.
Solution. Numerical quadrature formulas are obtained by replacing the integrand with an approximation, in this case a polynomial based upon data set ,
Formal operator integration gives
Carry out series expansions
The above leads to
Analyze truncations of the above operator series. Newton-Cotes type formulas are obtained by choosing evaluation points within the integration domain of length
.
Construct a Gauss quadrature for integrals of form
that is exact for cubic , where is a Householder reflector.
Solution. In the series
note that , i.e., reflection of a reflection is the original vector, verified algebraically by
hence
The integral becomes
The integrals are approximated by Gauss quadrature
using the orthogonal polynomial family with respect to scalar product
The sample points (nodes) are roots of , and weights are found by method of moments. Analogous for the sinh integral.
Construct a second-order accurate scheme to solve the integro-differential equation
that describes the motion of a point mass subject to drag , elastic force , and internal relaxation , starting from initial conditions , .
Solution. At , a centered second-order discretization of the differential operator is
A second-order approximation of the integral operator is given by the composite trapezoid rule
with . From , approximate by , establishing initial values to advance the iteration