


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!



This is a closed-book and closed-note examination. No calculators are allowed. Please show all your work. Partial credit will be given to partial answers. There are 9 problems of total 100 points. PROBLEM 1 2 3 4 5 6 7 8 9 TOTAL SCORE
1-a Give the form of the Lagrange polynomial of degree at most n such that f (xk) = P (xk), for each k = 0, 1 , ..., n. In the sequel, we will note this polynomial Px 0 ,x 1 ,...,xn. 1-b Does another polynomial Q, of degree at most n, exist such that f (xk) = Q(xk), for each k = 0, 1 , ..., n. 1-c Deduce from the preceding question that any polynomial of degree at most n is exactly interpolated by a Lagrange polynomial. 1-d State the formula which, for x ∈ [a, b], expresses f (x) in terms of Px 0 ,x 1 ,...,xn (x) (the Lagrange polyno- mial defined in question 1-a) and a remainder term. 1-e Deduce from the preceding question that any polynomial of degree at most n is exactly interpolated by a Lagrange polynomial. 1-f Let (i, j) ∈ { 0 , 1 , ..., n}^2 be two distinct integers. Taking the notation defined in question 1-a, express Px 0 ,x 1 ,...,xn in terms of Px 0 ,x 1 ,...,xi− 1 ,xi+1,...,xn and Px 0 ,x 1 ,...,xj− 1 ,xj+1,...,xn. 1-g We can write the Lagrange polynomial Px 0 ,x 1 ,...,xn under the form Px 0 ,x 1 ,...,xn (x) = a 0 + a 1 (x − x 0 ) + a 2 (x − x 0 )(x − x 1 ) + · · · + an (x − x 0 )(x − x 1 )...(x − xn− 1 ). Give the formula which permits to compute the numbers ai, for i = 0, 1 , ...n. 1-h Give the three point formula used to approximate f ′(x 0 ) and which involves f (x 0 − h) and f (x 0 + h). 1-i Deduce from the preceding question that f ′(x 0 ) is exactly estimated by 1 2 h[f^ (x^0 +^ h)^ −^ f^ (x^0 −^ h)] when f is a polynomial of degree 2. 1-j State the Trapezoidal rule for ∫^ ab f (x)dx.
1-k State the composite Simpson’s rule for ∫^ ab f (x)dx.
agrees with f at x 0 = −1, x 1 = 0, x 2 = 1, x 3 = 2. 2-a Compute P (0.5) using Neville’s method. 2-b Express P (x) using Newton’s divided difference formula. Use this result to compute P (0.5). 2-c Give a bound for the absolute error |f (0.5) − P (0.5)|.
n − 1, which agrees with f at the points 1, 2, ...,n. 3-a Check that, for any positive integer n and any x ∈ R, f (n)(x) = tnetx^.
3-b Give the absolute error |f (0) − Pn(0)| and prove that
tn^ ≤ |f (0) − Pn(0)| ≤ tnetn^. 3-c Discuss, in each of the following cases, whether we gain in using large values for n or not when approximating f (0) by Pn(0) :
S(x) =
{ (^) S 0 (x) = 2 − x − x (^2) + 3x (^3) , if 0 ≤ x < 1 S 1 (x) = a + b(x − 1) + c(x − 1)^2 + d(x − 1)^3 , if 1 ≤ x < 2 Find a,b,c,d.
x 0. 6 0. 7 0. 8 0. 9 1 1. 1 1. 2 1. 3 1. 4 f (x) 0. 216 0. 343 0. 512 0. 729 1 1. 331 1. 728 2. 197 2. 744 f^ ˜ (x) 0. 2 0. 3 0. 5 0. 7 1 1 2 2 3
5-a Use a three points formula, with h = 0.1, to compute f ′(1). 5-b For this question, you may use the results of the operations listed below.
9-b Prove that, in general, given [a, b] an interval and g ∈ C^1 [a, b] such that g has a unique fixed point p in [a, b] and such that, there exists 0 < k < 1, with |g′(x)| ≤ k, for all x ∈ (a, b), we have |pn − p| ≤ kn^ max{|p 0 − a|, |p 0 − b|}. (Hint: Prove first that |pn − p| ≤ k|pn− 1 − p|.) 9-c Find an interval (a, b), an initial point p 0 ∈ (a, b) and a condition on the number of iteration n ∈ N such that the fixed point algorithm applied to the function of question 9-a approximates √3 with the accuracy 10−^3. Hint :√ 3 ∈ [^32 , 2]. 9-d Write Newton’s algorithm for the function and the initial point you determined previously, for n iterations.