Numerical Methods Qualification Exam Problems and Solutions (University of Maryland)/August 2002

From testwiki
Jump to navigation Jump to search

Problem 1


Solution 1

Problem 2

Suppose there is a quadrature formula


abf(x)dxwaf(a)+wbf(b)+j=1nwjf(xj)


which produces the exact integral whenever f is a polynomial of degree 2n+1. Here the nodes {xj}j=1n are all distinct. Prove that the nodes lies in the open interval (a,b) and the weights wa,wb and {wj}j=1n are positive.

Solution 2

All nodes lies in (a,b)

Let {xi}i=1l be the nodes that lie in the interval (a,b).


Let ql(x)=i=1l(xxi) which is a polynomial of degree l.


Let pn(x)=i=1n(xxi)=ql(x)i=1nl(xxi) which is a polynomial of degree n>l.


Then


pn,ql=abql2(x)i=1nl(xxi)r(x)0


since r(x) is of one sign in the interval (a,b) since for i=1,2,nl, xi∉(a,b).


This implies ql is of degree n since otherwise


pn,ql=0


from the orthogonality of pn.

All weights positive

Problem 3


Solution 3

Template:BookCat