

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


′′′
Answer: The absolute value error is of the error is
|f (x) − p(x)| ≤
f ′′′ (η)
6
|x(x − 1)(x + 1)|,
where η ∈ [0, 1]. Hence
|f (x) − p(x)| ≤
max t∈[0,1]
|x(x − 1)(x + 1)|.
Now by differentiating x(x − 1)(x + 1) = x^3 − x and setting the result to zero, we see that
|x(x − 1)(x + 1)| is maximized at x = ± √^1 3
and that the maximum is 2 3
√ 3
. Hence our bound is
|f (x) − p(x)| ≤
n− 1
n− 2
′
Answer:
a. From the recurrence we obtain
p ′ n = 0 p ′ i =^ xp
′ i+1 +^ pi+1,^ i^ =^ n^ −^1 ,... ,^1.
This can be simplified to
p ′ n− 1 =^ pn p ′ i =^ xp
′ i+1 +^ pi+1,^ i^ =^ n^ −^2 ,... ,^1.
b. The recurrence to evaluate p(x) is
pn = cn pi = (x − xi)pi+1 + c(i), i = n − 1 ,... , 1.
The recurrence to evaluate p’(x) is
p ′ n = 0 p′ i = (x − xi)p′ i+1 + pi+1, i = n − 1 ,... , 1.
As above this recurrence can be simplified.
j 6 =i
Answer: wˆi = wi/(xi − xi+1), i = 1,... , n, w ˆi+1 = 1/
∏n i=1(xn+1^ −^ xi).