Approximation Pyq
Approximation Pyq
#1. Weierstrass Approximation Theorem Step 2: Reproduction of constants and linear functions
max ∣ B n (f , x)−f (x )∣ →0
0 ≤ x ≤1
Proof (using Bernstein Polynomials)
Thus polynomials approximate any continuous function.
For f ∈ C [0 , 1]define
✔ Weierstrass theorem proved.
( kn )(nk) x ¿
n
Bn (f , x )=∑ f k
k=0
1|Page
Using Korovkin type argument
then
Idea of Proof Ln f → f
2. Preserves constants
Idea
Ln (1)=1
Let
3. Kernel behaves like Fejér kernel
x=cos θ
Define
2|Page
Q(θ)=P (cos θ) ∣T n (x)∣≤ 1
'
∣Q(θ)∣≤ max ∣Q (θ)∣ Chebyshev polynomial gives the maximum derivative growth,
hence
and
' 2
' ' ∣ P (x )∣≤ n ∥ P∥ ∞
Q (θ)=−sin θ P (x )
max
'
∣ P (x)∣≤ n max
2
∣ P(x )∣ satisfies
−1 ≤ x ≤1 −1≤ x ≤1
πλ
En (f )≤
2(n+1)
Proof Idea
ω (f , 1/n) Write
En (f )≤ C
n
S(θ)=sin θ T (θ)
where modulus of continuity
where T (θ)is trigonometric polynomial of degree ≤ n−1.
ω (f , δ)≤ λδ
Using Bernstein inequality for trigonometric polynomials
Substitute
∣T (θ)∣ ≤ n max ∣ S(θ)∣
π
δ= which yields the result.
n+1
which gives
πλ #5(a) Fundamental Polynomials A k ( x)
En (f )≤
2(n+1)
Nodes are zeros of
¿
#4(b) Trigonometric Polynomial Inequality
where Pn−1= Legendre polynomial.
Let
For ( 0 , 2 )interpolation the fundamental polynomials satisfy
S(θ)
Conditions
be odd trigonometric polynomial of degree ≤ n.
1.
Then
A k ( x j)=δ kj
S(θ)
max ∣ ∣≤ n max ∣ S(θ)∣ 2.
−π ≤ θ ≤π sin θ −π ≤θ ≤ π
'
A k ( x j)=0
4|Page
3. Thus each node is a double root.
P(x )=Q(x )
#5(b) Uniqueness of ( 0 , 2 )Interpolation
✔ Interpolation is unique.
Suppose two polynomials
#6(a) Zeros of the second derivative
P(x ), Q( x )
We need to show that the zeros of
satisfy same conditions. 2
d
2[
(1−x ) Pn−1 (x ) ]
2 '
Let dx
5|Page
d 2 ' Bk (x )=¿ ¿
[(1−x ) Pn (x)]=−n(n+1) Pn (x )
dx
for
Replace nby n−1
k =2 ,3 , … , n−1
d 2 '
[(1−x ) Pn−1 (x)]=−(n−1)n Pn−1 (x )
dx Properties
Hence proved. k =1 ,2 , … , n
for
∫¿¿
a
#9(a) Cubic spline with given slopes
Given
10(ii)
S(x j)= y j S' (x j )=m j
b n
M j−M j−1
The spline on [ x j−1 , x j ]becomes cubic Hermite form ∫f ''
(x )S (x )dx=M 0 f −M f + ∑ (¿ f j−f j −1 )
'' '
0
'
n n
hj
¿
a j=1
where 10(iii)
x−x j−1 The stationary condition for
t=
hj
b
and E=∫ ¿ ¿
a
3 2 3 2 3 2 3 2
H 1=2 t −3 t +1H 2=−2 t + 3t H 3=t −2 t +t H 4 =t −t leads to the spline equations
7|Page
[ ]
2
f j+1−f j f j−f j−1 f (x)=1, f (x)=x , f (x)=x
h j M j−1+2 (h j + h j +1) M j +h j+1 M j+1=6 −
h j+1 hj
Hence
which determine the M j . 2 2
Ln 1→ 1 , Ln x → x , Ln x → x
#1. Korovkin Theorem (for monotone operators)
Thus (ii) holds.
Let Lnbe a sequence of monotone (positive) linear operators on
If From (ii)
2 2
Ln f → f uniformly for all f ∈C [a , b] Ln 1→ 1 , Ln x → x , Ln x → x
uniformly on [ a , b ].
Let f ∈ C [a ,b ].
Ln 1→ 1 , Ln ¿
9|Page
a0 ∞
f (x)= + ∑ (¿ a k cos kx +b k sin kx)¿
2 k=1
#3(b) Solution
Hence
Show that
¿ π
{−11
π
1 sin nx> 0
a k cos kx +b k sin kx= ∫ f (t)cos k (x−t) dt
π −π
sgn (sin nx)=
sin nx< 0
Differentiate under the integral and integrate by parts: It alternates sign over intervals
t mπ (m+1)π
f (t)=f (x + π−t )−∫ f ( x + π−s)ds
' <x<
n n
x
[
( −1 ¿
]
π n k
1 1
(Lf −f )( x)= ∫ + ∑
'
A k sin kt f (x+ π −t) dt Step 3: Evaluate the integral
π −π 2 k=1 k
−cos kx
which is the required result. ∫ sin kx dx=
k
10 | P a g e
Thus Define
1
n−1
Q(θ)=P (cos θ)
¿− ∑ ¿ ¿
k m=0
Since Phas degree ≤ n−1, Q(θ)is a trigonometric polynomial of
For k < n, the cosine terms cancel pairwise because of periodic order ≤ n−1.
symmetry.
Hence
Step 2: Apply Bernstein inequality
π
But
#4(a) Solution
' '
Q (θ)=−P (cos θ)sin θ
Prove that for any polynomial Pof degree ≤ n−1,
Hence
max ∣ P( x) ∣≤ max ∣ n √ 1−x2 P( x)∣
−1 ≤ x ≤1 −1 ≤ x≤ 1
∣ P(cos θ)∣ ≤ n∣ sin θP(cos θ)∣
11 | P a g e
∣ n √ 1−x2 P( x)∣
n
max ∣ P( x) ∣≤ max
−1 ≤ x ≤1 −1 ≤ x≤ 1 E=∑ ¿ ¿
i=1
where C is independent of M i.
1. Discrete form of E
12 | P a g e
( )
y j +1− y j y j− y j−1 ∣ P(x 0 )∣=M
h j M j−1+2 (h j + h j +1) M j +h j+1 M j+1=6 −
h j +1 hj
Define
for F (x)=P (x)−P (x 0)
j=1 ,2 , … , n−1
Then
where F (x 0)=0
y j=f (x j )
Since Phas degree ≤ n−1, F also has degree ≤ n−1.
Now consider
3. Final system of equations 2 '
G(x )=(1−x ) P (x )
Let
Hence proved.
M =max ∣ P(x )∣
−1≤ x ≤1
13 | P a g e
Prove that for any polynomial Pof degree ≤ n Multiplying by M :
' 2 ' 2
max ∣ P (x)∣≤ n max ∣ P(x )∣ ∣ P (x )∣≤ n M
−1 ≤ x ≤1 −1≤ x ≤1
Thus
Proof (Markov Inequality)
' 2
Let max ∣ P ( x)∣≤ n max ∣ P(x )∣
−1 ≤ x ≤1 −1≤ x ≤1
Define
P (x) #Q6(a)
Q(x )=
M Show that the (0,2) interpolation on the zeros of
Then ¿
∣Q(x )∣ ≤1 exists.
Now the Markov inequality for polynomials states: Proof
If Q(x )is a polynomial of degree n satisfying Let
∣Q(x )∣ ≤1(−1≤ x ≤ 1) 2
ω (x)=(1−x ) Pn−1 (x )
'
then
The polynomial Pn−1 (x) is the Legendre polynomial of degree n−1.
' 2
∣Q (x )∣≤ n
Properties:
Therefore
1. Pn−1 (x) has n−1simple zeros in (−1 , 1 ).
'
P (x)
∣ ∣ ≤n 2 2. P'n−1 (x) therefore has n−2zeros in (−1 , 1 ).
M
14 | P a g e
Now If f (x)is a continuous function on [ a , b ], then for every ε > 0there
2 ' exists a polynomial Pn (x )such that
ω (x)=(1−x ) Pn−1 (x )
max ∣ f (x)−P n (x) ∣< ε
Zeros occur at: x∈[ a ,b ]
( kn )(nk) x ¿
n
k=0
'
S(x k )=f (x k ), S (x k )=0 Properties:
for k =1 ,2 , … , n. 1. Bn (f ; x )is a polynomial of degree n .
Total conditions: 2. f continuous on [ 0 , 1 ]⇒ uniformly continuous.
2n Let ω (δ)be modulus of continuity.
A polynomial of degree ≤ 2 n−1has 2 ncoefficients. Then
Hence the system is solvable and (0,2) interpolation exists.
15 | P a g e
√ x (1−x) π π
1
n
→ 0(n→ ∞ ) I =∫ sin kx sin nx dx¿ ∫ [cos (k −n)x −cos (k +n) x ]dx
0 20
therefore
Integrate
lim B n (f ; x )=f (x) π
sin (mπ )
n →∞
∫ cos (mx)dx =¿ m
¿
uniformly on [ 0 , 1 ]. 0
Since m integer,
Hence polynomial approximation exists.
sin (mπ)=0
Thus Weierstrass theorem proved.
Thus both integrals vanish.
I =0
#Q3(a)
Hence proved.
Show that if k < n
π
For f ∈ C2 π
Proof
16 | P a g e
Proof Sketch #Q4(b)
17 | P a g e
α
∣ f (x )−f ( y)∣≤ C ∣ x− y ∣
S Δ (x j )= y j S'Δ (x j )=m j
#Q10
for j=0 , 1, … , n
Given cubic spline S Δ (x)
where
Since spline minimizes energy functional,
x−x j−1 b
t=
hj ∫¿¿
a
18 | P a g e
is the minimum curvature energy among all interpolants.
(ii)
b
Thus
b
19 | P a g e