Approximation
Approximation
Approximation
n
(f ) = min
deg(P)n
E[P] = min
deg(P)n
max
axb
|f (x) P(x)|
T
n
(x) =
T
n
(x)
2
n1
then we have
|
T
n
(x)|
1
2
n1
and
T
n
(x) = x
n
+lower degree terms
for all n 0 and all x in [1, 1].
Dana Mackey (DIT) Maths 5 / 10
Zeros of Chebyshev polynomials
We have
T
n
(x) = cos(n), = cos
1
(x)
so
T
n
(x) = 0 = n =
2
,
3
2
,
5
2
, . . .
which implies
=
(2k +1)
2n
, k = 0, 1, 2, . . .
and hence the zeros of T
n
(x) are given by
x
k
= cos
(2k +1)
2n
, k = 0, 1, 2, . . . n 1.
Dana Mackey (DIT) Maths 6 / 10
The minimum size property
Let n 1 be an integer and consider all possible monic polynomials (that
is, polynomials whose highest-degree term has coecient equal to 1) of
degree n.
Then the degree n monic polynomial with the smallest maximum absolute
value on [1, 1] is the modied Chebyshev polynomial
T
n
(x) and its
maximum value is 1/2
n1
.
Dana Mackey (DIT) Maths 7 / 10
A near-minimax approximation method
Let f (x) be a continuous function on [1, 1]. We are looking for an
approximation given by an interpolating polynomial of degree 3, C
3
(x).
Let x
0
, x
1
, x
2
, x
3
be the interpolating nodes.
Recall the formula for the interpolation error:
f (x) C
3
(x) =
(x x
0
)(x x
1
)(x x
2
)(x x
3
)
4!
f
(4)
()
where is in [1, 1].
We need to nd the interpolating points so that we minimize
E[C
3
] = max
1x1
|f (x) C
3
(x)|
Dana Mackey (DIT) Maths 8 / 10
This is equivalent to minimizing
max
1x1
|(x x
0
)(x x
1
)(x x
2
)(x x
3
)|
But we know that the minimum value of a monic polynomial is obtained
for the modied Chebyshev polynomial
T
4
(x) hence
(x x
0
)(x x
1
)(x x
2
)(x x
3
) =
T
4
(x)
2
3
=
1
8
(8x
4
8x
2
+1)
hence the interpolating points x
0
, x
1
, x
2
, x
3
are the zeros of T
4
(x), that is
cos(
8
), cos(
3
8
), cos(
5
8
), cos(
7
8
)
Dana Mackey (DIT) Maths 9 / 10
Example
Let f (x) = e
x
on [1, 1]. In order to get the interpolating polynomial of
degree 3 which approximates f (x) such that the maximum error is
minimized, the interpolation nodes x
0
, x
1
, x
2
, x
3
have to be chosen as the
zeros of T
4
(x).
We use Newtons divided dierence formula for the interpolating
polynomial
P
3
(x) = f (x
0
) +(x x
0
)f [x
0
, x
1
] +(x x
0
)(x x
1
)f [x
0
, x
1
, x
2
]
+(x x
0
)(x x
1
)(x x
2
)f [x
0
, x
1
, x
2
, x
3
]
where
f (x
0
) = e
cos(
8
)
2.5190
f [x
0
, x
1
] =
f (x
1
) f (x
0
)
x
1
x
0
1.94538
.
.
.
Dana Mackey (DIT) Maths 10 / 10
Recall that the degree n monic polynomial with the smallest maximum
absolute value on [1, 1] is the modied Chebyshev polynomial
T
n
(x) and
its maximum value is 1/2
n1
.
Hence, the Chebyshev polynomials can be used to minimize approximation
error by providing optimal interpolation points.
The Chebyshev polynomials also provide a method for reducing the degree
of an approximating polynomial with minimal loss of accuracy.
Dana Mackey (DIT) Maths 11 / 10
Economization of power series
Consider approximating a polynomial of degree n
P
n
(x) = a
n
x
n
+a
n1
x
n1
+ +a
1
x +a
0
on [1, 1] with a polynomial of degree at most n 1. We need to choose
P
n1
(x) which minimizes
max
x[1,1]
|P
n
(x) P
n1
(x)|
We know that
max
x[1,1]
|
T
n
(x)| =
1
2
n1
max
x[1,1]
|
1
a
n
(P
n
(x) P
n1
(x))|
Dana Mackey (DIT) Maths 12 / 10
Hence we have
1
a
n
(P
n
(x) P
n1
(x)) =
T
n
(x)
so
P
n1
(x) = P
n
(x) a
n
T
n
(x)
and this choice gives
max
x[1,1]
|P
n
(x) P
n1
(x)| =
|a
n
|
2
n1
Dana Mackey (DIT) Maths 13 / 10
Examples
1
Starting with the fourth-order MacLaurin polynomial, nd the
polynomial of least degree which best approximates the function
f (x) = e
x
on [1, 1] while keeping the error less than 0.05.
2
Find the sixth order MacLaurin polynomial for sin(x) and use
Chebyshev polynomials to obtain a lesser degree polynomial
approximation while keeping the error less than 0.01 on [1, 1].
3
Use the zeros of
T
3
to construct an interpolating polynomial of
degree 2 for the functions (i) sin(x) and (ii) ln(x +2), on [-1,1].
Dana Mackey (DIT) Maths 14 / 10