• Nie Znaleziono Wyników

Approximation and Complexity, I

N/A
N/A
Protected

Academic year: 2021

Share "Approximation and Complexity, I"

Copied!
2
0
0

Pełen tekst

(1)

Approximation and Complexity, I

December 9, 2019

1. Let

P

b4

= {v ∈ P

4

: v(2) = 0}.

Find coefficients a

j

of the polynomial v(x) =

P3j=0

a

j

x

j

P

b4

that best approximates the function

f (x) = x

3

− x

2

− x − 1 in the uniform norm on [−1, 1].

Solution

The space P

b4

is a 3-dmiensional Haar space, so that we can use the Chebyshev alternation theorem. Since f (2) = 1, the optimal polynomial v satisfies the equation

f (x) − v(x) = T

3

(x) T

3

(2) ,

where the alternation points are cos(

−j

) for 0 ¬ j ¬ 3. Since T

3

(x) = 4x

3

− 3x, we have T

3

(2) = 26 and

v(x) = f (x) − T

3

(x)

T

3

(2) = (x

3

− x

2

− x − 1) −

261

(4x

3

− 3x) =

1113

x

3

− x

2

2326

x − 1.

2. Let f ∈ C([0, 1]) and g ∈ C

(R) be correspondingly defined as f (x) = 4x

2

and g(t) = 2(1 + cos t) − sin

2

t.

Show that

dist(f, P

2

) = dist(g, V

3

).

Solution

Since g is an even function, its best approximation in V

3

is also even and spanned by 1 and cos t. We have

g(t) = 1 + 2 cos t + cos

2

t = 4



1 + cos t 2

2

= 4x

2

= f (x),

where x =

12

(1 + cos t), the transformation [0, π] 3 t 7→ x ∈ [0, 1] being one-to-one.

For any polynomial x 7→ a

0

+ a

1

x from P

2

and any x ∈ [0, 1] we have

f (x) − (a

0

+ a

1

x) = g(t) −



a

0

+

12

a

1

(1 + cos t)



= g(t) −



(a

0

+

12

a

1

) +

12

cos t



. And vice-versa; for any polynomial t 7→ a

0

+ a

1

cos t we have

g(t) − (a

0

+ a

1

cos t) = f (x) −



a

0

+ a

1

(2x − 1)



= f (x) −



(a

0

− a

1

) + 2a

1

x)



. Hence dist(f, P

2

) and dist(g, V

3

) are equal.

1

(2)

3. Let n ­ 1. For f ∈ C([0, 1]), let p

n

be the polynomial that best approximates f in the uniform norm on [0, 1] among all algebraic polynomials p ∈ P

n+1

satisfying

p(0) = f (0) and p(1) = f (1).

Show that

kf − p

n

k ¬ 2 dist(f, P

n+1

).

Solution

Let p

be the optimal polynomial for f in P

n+1

. Let ` be the polynomial of degree at most 1 that interpolates the data `(0) = f (0) − p

(0) and `(1) = p

(1). Obviously

k`k = max

n

|f (0) − p

(0)|, |f (1) − p

(1)|

o

¬ kf − p

k ¬ dist(f, P

n+1

).

Then for p = p

+ ` we have p ∈ P

n+1

, p(0) = f (0), p(1) = f (1), and

kf − p

n

k ¬ kf − pk = kf − (p

+ `)k ¬ kf − p

k + k`k ¬ 2 dist(f, P

n+1

), as claimed.

4. Let x

i

= i/n for 0 ¬ i ¬ n. Let V

n

be the linear subspace of C([0, 1]) consisting of functions that are polynomials of degree ¬ 1 on each subinterval [x

i−1

, x

i

]. Define the operator L

n

: C([0, 1]) → V

n

in such a way that L

n

f is the element in V

n

that interpolates f at the points x

i

; that is,

(L

n

f )(x

i

) = f (x

i

) for 0 ¬ i ¬ n.

(a) Is L

n

a projection onto V

n

? (b) What is the norm of L

n

?

(c) Does L

n

f converge to f for all f ∈ C([0, 1])?

(d) If the answer to (c) is ‘yes’; can the convergence be arbitrarily slow?

Solution

(a) and (b): The operator L

n

is linear and onto V

n

, by definition. We also have that kL

n

f k = max{|f (x

0

|, . . . , |f (x

n

)|} ¬ kf k,

so that L

n

is bounded and kL

n

k ¬ 1. On the other hand, for f = 1 we have L

n

f = f so that kL

n

k = 1. Hence L

n

is a projection onto V

n

whose norm equals 1 for all n.

(c): Since the operators L

n

are positive, for convergence for all continuous functions f it suffices that we have convergence for the three functions h

i

(x) = x

i

, i = 0, 1, 2.

We obviously have L

n

h

0

− h

0

= 0 and L

n

h

1

− h

1

= 0. To estimate the error for h

2

we use the well-know error formula for polynomial interpolation. For x ∈ [x

i−1

, x

i

] we have

|L

n

h

2

(x) − h

2

(x)| = 1

2 |(x − x

i−1

)(x − x

i

)f

2

x

)| = |(x − x

i−1

)(x − x

i

)| ¬ 1 4n

2

, which means that lim

n→∞

kL

n

h

2

− h

2

k = 0.

(d): The convergence can be arbitrarily slow due to the Bernstein’s lethargy theorem

applied to the sequence of spaces V

1

⊂ V

2

⊂ V

4

⊂ · · · ⊂ V

2k

⊂ · · · .

Cytaty

Powiązane dokumenty

W Mahabharacie pies pojawia się w narracji o polowaniu tylko w sytuacji, gdy jego rola jest tak znacząca, że nie da się go usunąć.. W opowieści o Ekalawji znajdujemy

18 Comparison between the estimated error function (left) and the reference error function (right), based on solutions from a higher- order interpolation scheme, in the x-direction

As an alternative to the limited averaging approach, traditional recovery procedures can be used to predict provisional gradient values at edge midpoints which are corrected by means

Ustawa określiła obowiązującą wewnętrzną strukturę FN, orzekając: „Front Narodowy CSRS zorganizowany jest na zasadzie federacji, zaś w swojej działalności rządzi

Door: het automatische generalisatie onderzoeksteam van Kadaster. 6-10) beschreven wij hoe het Kadaster onderzoek doet naar de toepassing van automatische generalisatie voor de

Consider X = C 2π (R) the space of continuous and 2π-periodic functions on R, and V 2n+1 the space of trigonometric polynomials of degree at most n, as in Chapter 4.. In this case,

The Hahn-Banach theorem about the possibility of an extension of a linear functional defined on a subspace to a functional on the whole space preserving its norm reads as

A laminar bubble region is observed in the upstream side of the discus at 28 during the process of increasing the angle of attack, and re-attachment occurs around the convex point