Starting from:

$35

Numerical Analysis Homework 2 Solved

I.       For f ∈ C2[x0,x1] and x ∈ (x0,x1), linear interpolation of f at x0 and x1 yields

 .

Consider the case 

•   Determine ξ(x) explicitly.

•   For x ∈ [x0,x1], find maxξ(x), minξ(x), and maxf00(ξ(x)).

II.      Let Pm+ be the set of all polynomials of degree ≤ m that are non-negative on the real line,

P+m = {p : p ∈ Pm, ∀x ∈ R,p(x) ≥ 0}.

Find  such that p(xi) = fi for i = 0,1,...,n where fi ≥ 0 and xi are distinct points on R.

III.    Consider f(x) = ex.

•   Prove by induction that

 .

•   From Corollary 3.17 we know

ξ ∈ (0,n) s.t. .

Determine ξ from the above two equations. Is ξ located to the left or to the right of the midpoint n/2?

IV.    Consider f(0) = 5, f(1) = 3, f(3) = 5, f(4) = 12.

•   Use the Newton formula to obtain p3(f;x);

•   The data suggest that f has a minimum in x ∈ (1,3). Find an approximate value for the location xmin of the minimum. V. Consider f(x) = x7.

•   Compute f[0,1,1,1,2,2].

•   We know that this divided difference is expressible in terms of the 5th derivative of f evaluated at some ξ ∈ (0,2). Determine ξ.

VI.        f is a function on [0,3] for which one knows that f(0) = 1,f(1) = 2,f0(1) = −1,f(3) = f0(3) = 0.

•   Estimate f(2) using Hermite interpolation.

•   Estimate the maximum possible error of the above answer if one knows, in addition, that f ∈ C5[0,3] and |f(5)(x)| ≤ M on [0,3]. Express the answer in terms of M.

VII.      Define forward difference by

∆f(x) = f(x + h) − f(x),

∆k+1f(x) = ∆∆kf(x) = ∆kf(x + h) − ∆kf(x)

and backward difference by

∇f(x) = f(x) − f(x − h),

∇k+1f(x) = ∇∇kf(x) = ∇kf(x) − ∇kf(x − h).

Prove

∆kf(x) = k!hkf[x0,x1,...,xk],

∇kf(x) = k!hkf[x0,x−1,...,x−k], where xj = x + jh.

VIII.     ∗ Assume f is differentiable at x0. Prove

 .

What about the partial derivative with respect to one of the other variables?

Problem II weighs 4 points, VIII weighs 5 points, and all other problems weigh 6 points each. The total point is thus 40. The last problem is for extra credit and you do not have to solve it. However, my graduate students who audit this class have to solve all problems.

More products