MATH566 Midterm Test Solution

Present a concise formulation of the theoretical motivation of your answer, and then proceed to solve the following problems.

  1. Consider

    S(x)={ a⁡x+b x⩽0 tan(x) 0⩽x⩽π/4 c⁡x+d x⩾π/4 ..

    Determine a,b,c,d such that S(x) is a spline function. With S(k)=dkS/dxk denoting the kth derivative of S(x), up to what k is S(k)(x) continuous?

  2. Find a bound for the maximum error in approximation of f:[-1,1]→ℝ,

    f(x)=cos(4π⁡sin(4πx))+sin(4π⁡cos(4πx))

    by interpolation of the data 𝒟={(xi,yi),yi=f(xi),i=0,1,2} with xi the roots of the Chebyshev polynomial T3(x).

  3. Find L2(t), the quadratic polynomial within the set {L0(t),L1(t),L2(t),..} orthonormal with respect to the scalar product

    (f,g)=∫-11f(t)⁡g(t)⁡dt.
  4. Construct a numerical method to f(x)=0 using a quadratic polynomial approximation of f.