Professional Documents
Culture Documents
Mid-Semester Examination
• Write roll number, division and tutorial batch on the main answer book and on the supplements.
Complete the index on the top page of your answer book. Failure to do so will invite a penalty
of 2 marks.
1. (a) Let f : [a, b] → IR and x0 , x1 , · · · , xn be n + 1 distinct points in [a, b]. Show that there exists
a polynomial pn of degree ≤ n such that
pn (xi ) = f (xi ), i = 0, 1, · · · , n,
(a) Write down the formula for the cubic polynomial p3 (x) which interpolates f and f 0 at a
and at b and for the error associated with this cubic Hermite interpolation.
(2 marks)
(b) Let
a = t0 < t1 < · · · < tn = b
b−a
be an uniform partition of [a, b] and let h = ti+1 − ti = , i = 0, 1, . . . , n − 1.
n
Let g : [a, b] → IR be a piecewise cubic polynomial with respect to the above partition and
be such that
g(ti ) = f (ti ), g 0 (ti ) = f 0 (ti ), i = 0, 1, . . . , n.
Show that the maximum error kf − gk∞ = max |f (x) − g(x)| is of the order of h4 .
x∈[a,b]
(3 marks)
1
3. (a) Consider the quadrature rule
Z 1
1 1 2
f (x)dx ≈ f (0) + 3f ( ) + 3f ( ) + f (1) .
0 8 3 3
4. (a) Let f : [a, b] → IR be thrice differentiable function and x0 ∈ [a, b]. Show that
d
f [x0 , x] = f [x0 , x, x]. (2 marks)
dx
(b) Let A = [aij ] be an invertible tridiagonal matrix, that is aij = 0 if |i − j| > 1. Compute
the number of operations needed to solve the system Ax = b by Gauss elimination without
partial pivoting. (3 marks)
5. Let
1 2 3 4
2 5 8 11
A= .
3 8 14 20
4 11 20 30
Find a lower triangular matrix L with all the diagonal entries equal to 1 and an upper triangular
matrix U such that A = LU. Also, find the determinant of A. (5 marks)
6. Let q0 , q1 , . . . be the orthonormal polynomials with respect to the usual inner product
Z b
hf, gi = f (x)g(x)dx
a
Let
qn+1 (x) = αn+1 (x − x0 )(x − x1 ) · · · (x − xn ).
For i = 0, 1, . . . , n, let
n
Y (x − xp )
li (x) =
p=0
(xi − xp )
p6=i
————————–