03.03.2014 Views

Numerical Methods Course Notes Version 0.1 (UCSD Math 174, Fall ...

Numerical Methods Course Notes Version 0.1 (UCSD Math 174, Fall ...

Numerical Methods Course Notes Version 0.1 (UCSD Math 174, Fall ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

70 CHAPTER 5. INTERPOLATION<br />

roots. Then apply Rolle’s Theorem again to find φ ′′ (t) has n roots. In this way we see that φ (n+1) (t)<br />

has a root, call it ξ. That is<br />

0 = φ (n+1) (ξ) = f (n+1) (ξ) − p (n+1) (ξ) − cw (n+1) (ξ).<br />

But p(t) is a polynomial of degree ≤ n, so p (n+1) is identically zero. And w(t) is a polynomial<br />

of degree n + 1 in t, so its n + 1 th derivative is easily seen to be (n + 1)! Thus<br />

which is what was to be proven.<br />

0 = f (n+1) (ξ) − c(n + 1)!<br />

c(n + 1)! = f (n+1) (ξ)<br />

f(x) − p(x) 1<br />

=<br />

w(x) (n + 1)! f (n+1) (ξ)<br />

1<br />

f(x) − p(x) =<br />

(n + 1)! f (n+1) (ξ)w(x),<br />

Thus the error in a polynomial interpolation is given as<br />

1<br />

n∏<br />

f(x) − p(x) =<br />

(n + 1)! f (n+1) (ξ) (x − x i ) .<br />

We have no control over the function f(x) or its derivatives, and once the nodes and f are fixed, p<br />

is determined; thus the only way we can make the error |f(x) − p(x)| small is by judicious choice<br />

of the nodes x i .<br />

The Chebyshev nodes on [−1, 1] have the remarkable property that<br />

n∏<br />

(t − x<br />

∣<br />

i )<br />

∣ ≤ 2−n<br />

i=0<br />

for any t ∈ [−1, 1] . Moreover, it can be shown that for any choice of nodes x i that<br />

n∏<br />

max<br />

(t − x<br />

∣<br />

i )<br />

∣ ≥ 2−n .<br />

t∈[−1,1]<br />

i=0<br />

Thus the Chebyshev nodes are considered the best for polynomial interpolation.<br />

Merging this result with Theorem 5.8, the error for polynomial interpolants defined on Chebyshev<br />

nodes can be bounded as<br />

|f(x) − p(x)| ≤<br />

1<br />

2 n (n + 1)!<br />

max<br />

ξ∈[−1,1]<br />

i=0<br />

∣<br />

∣f (n+1) (ξ)<br />

The Chebyshev nodes can be rescaled and shifted for use on the general interval [α, β]. In this<br />

case they take the form<br />

x i = β − α [( ) ] 2i + 1<br />

cos<br />

π + α + β , 0 ≤ i ≤ n.<br />

2 2n + 2 2<br />

In this case, the rescaling of the nodes changes the bound on ∏ (t − x i ) so the overall error bound<br />

becomes<br />

(β − α)n+1 ∣<br />

|f(x) − p(x)| ≤<br />

2 2n+1 max ∣f (n+1) (ξ) ∣ ,<br />

(n + 1)! ξ∈[α,β]<br />

for x ∈ [α, β] .<br />

∣ .

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!