06.09.2021 Views

Measure, Integration & Real Analysis, 2021a

Measure, Integration & Real Analysis, 2021a

Measure, Integration & Real Analysis, 2021a

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.

248 Chapter 8 Hilbert Spaces<br />

8.73 Example best approximation<br />

Find the polynomial g of degree at most 10 that minimizes<br />

∫ 1<br />

−1<br />

√<br />

∣ |x|−g(x) ∣ 2 dx.<br />

Solution We will work in the real Hilbert space L 2 ([−1, 1]) with the usual inner<br />

product 〈g, h〉 = ∫ 1<br />

−1 gh. Fork ∈{0, 1, . . . , 10}, let f k ∈ L 2 ([−1, 1]) be defined by<br />

f k (x) =x k . Let U be the subspace of L 2 ([−1, 1]) defined by<br />

U = span{ f k } k∈{0, ..., 10} .<br />

Apply the Gram–Schmidt process from the proof of 8.67 to { f k } k∈{0, ..., 10} , producing<br />

an orthonormal basis {e k } k∈{0,...,10} of U, which is a closed subspace of<br />

L 2 ([−1, 1]) (see Exercise 8). The point here is that {e k } k∈{0, ..., 10} can be computed<br />

explicitly and exactly by using 8.70 and evaluating some integrals (using software that<br />

can do exact rational arithmetic will make the process easier), getting e 0 (x) =1/ √ 2,<br />

e 1 (x) = √ 6x/2, . . . up to<br />

e 10 (x) =<br />

√<br />

42<br />

512 (−63 + 3465x2 − 30030x 4 + 90090x 6 − 109395x 8 + 46189x 10 ).<br />

Define f ∈ L 2 ([−1, 1]) by f (x) = √ |x|. Because U is the subspace of<br />

L 2 ([−1, 1]) consisting of polynomials of degree at most 10 and P U f equals the<br />

element of U closest to f (see 8.34), the formula in 8.71 tells us that the solution g to<br />

our minimization problem is given by the formula<br />

g =<br />

10<br />

∑<br />

k=0<br />

〈 f , e k 〉e k .<br />

Using the explicit expressions for e 0 ,...,e 10 and again evaluating some integrals,<br />

this gives<br />

g(x) = 693 + 15015x2 − 64350x 4 + 139230x 6 − 138567x 8 + 51051x 10<br />

.<br />

2944<br />

The figure here shows the graph of<br />

f (x) = √ |x| (red) and the graph of<br />

its closest polynomial g (blue) of degree<br />

at most 10; here closest means as<br />

measured in the norm of L 2 ([−1, 1]).<br />

The approximation of f by g is<br />

pretty good, especially considering<br />

that f is not differentiable at 0 and thus<br />

a Taylor series expansion for f does<br />

not make sense.<br />

<strong>Measure</strong>, <strong>Integration</strong> & <strong>Real</strong> <strong>Analysis</strong>, by Sheldon Axler

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

Saved successfully!

Ooh no, something went wrong!