MATH 661.FA23 Final Examination

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.

Grading. 4problems×5points/problem=20points. Midtermn=max(Midtermscore,2×problemn)

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:

Approximation

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.

Linear combination

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.

Nonlinear combination

An approach to constructing complex objects by function composition, successive nonlinear transformation of simpler objects.

Limits

An approach to constructing complex objects by a sequence of approximations.

Comparable simplicity is encountered in computational ideas:

Memory management

Transfer and organization of data on a computer.

Repetition

Multiple execution of a task. Two repetition types are encountered:

Iteration

A portion of code that is repeatedly executed, typically within a loop.

Recursion

A portion of code organized as a function that calls itself.

Condition testing

Carrying out decisions based on data.”

Formulary. Newton method to solve f(x)=0: xn+1=xn-f(xn)/f'(xn).

Newton form of interpolating polynomial: pn(t)=[y0]+[y1,y0](t-x0)++[yn,,y0](t-x0)...(t-xn-1)

Divided differences: [yk]=yk, [yk+m,...,yk]=([yk+m,...,yk+1]-[yk+m-1,...,yk])/(xk+m-xk)

Finite difference operators: Ekf(x)=f(x+kh), Δf(x)=(E-I)f(x), f(x)=(I-E-1)f(x), δf(x)=(E1/2-E-1/2)f(x)

Binomial expansion: (x+y)n=k=0n( n k )xn-kyk, ( n k )=, n

Generalized binomial expansion: (x+y)α=k=0( α k )xα-kyk, α

Interpolation operator: xk=x0+kh, pn(x0+αh)=(I+)ay0

Householder reflector 𝑯=𝑰-2

1Track 1

  1. Consider 𝑨,𝑩m×m symmetric. Determine if the following are also symmetric.

    1. 𝑨2-𝑩2

    2. (𝑨+𝑩)(𝑨-𝑩)

    3. 𝑨𝑩𝑨

    4. 𝑨𝑩𝑨𝑩

  2. Construct a spline interpolant of data 𝒟={(xi,yi),i=0,1,..,n} using piecewise trigonometric functions si:[xi-1,xi], i=1,2,..,n

    si(t)=ai+bicos(t)+cisin(t).
  3. Find a quadrature formula

    -11f(x)dxc(f(x0)+f(x1)+f(x2))

    that is exact for all quadratic polynomials.

  4. Newton's method to solve f(x)=0 uses data 𝒟n={(xn,fn,fn')} to construct a linear approximant g, and the next iterate xn+1 is the solution of g(x)=0. Construct an analogous method based upon data 𝒟={(xn-1,fn-1,fn-1'),(xn,fn,fn')}, and establish its order of convergence (fn=f(xn), fn'=f'(xn)).

2Track 2

  1. For 𝑨=[Aij],𝑩=[Bij],𝑪=[Cij]m×m,m=2, the Strassen algorithm computes 𝑪=𝑨𝑩 as

    P1=(A11+A22)(B11+B22),P2=(A21+A22)B11,P3=A11(B12-B22),P4=A22(B21-B11),

    P5=(A11+A12)B22,P6=(A21-A11)(B11+B12),P7=(A12-A22)(B21+B22),
    C11=P1+P4-P5+P7,C12=P3+P5,C21=P2+P4,C22=P1+P3-P2+P6.
    1. Compare the computational complexity of the Strassen algorithm with that of standard matrix multiplication

      Cij=k=1mAikBkj.

      Separately count multiplications and additions.

    2. Consider m=2n and block-structured matrices 𝑨,𝑩,𝑪, e.g., Aijn×n. Compare the computational complexity of the Strassen algorithm with that of standard matrix multiplication in this case.

    3. Consider m=2p and compare the computational complexities of Strassen and standard matrix multiplication.

    4. In two-decimal-digit floating point arithmetic (𝔽2) the matrices

      𝑨=𝑩=[ .99 .0010 .0010 .99 ],

      are exactly represented. The Strassen algorithm produces C12=0.0. Compute C12 in 𝔽2 using standard multiplication and identify the source of any discrepancy with respect to C12.

  2. Consider the cubic spline interpolant S(t) of f:[-1,1], constructed from data 𝒟={(xi,yi=f(xi)),i=0,1,..,n}.

    1. Define the mathematical problem 𝒫 of constructing S(t).

    2. Determine the condition number κ of problem 𝒫.

    3. Can κ=1? Under what conditions on f and choice of sampling points xi.

  3. Construct a Gauss quadrature for integrals of form

    01e-t𝑷𝒇(t)dt,

    that is exact for cubic 𝒇(t), where 𝑷m×m is a projection matrix.

  4. Construct a second-order accurate scheme to solve the integro-differential equation

    my''+cy'+ky=0tR(t-τ)y(τ)dτ,

    that describes the motion of a point mass m subject to drag -cv=-cy', elastic force -ky, and internal relaxation Ry, starting from initial conditions y(0)=y0, y'(0)=v0.