-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsection_3-0.tex
executable file
·75 lines (66 loc) · 2.51 KB
/
section_3-0.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
\frame{
\begin{block}{}
\begin{itemize}
\item The computational procedures used in computer software for the evaluation of a library function, such as $\sin(x)$, $\cos(x)$, or $e^x$, involve polynomial appproximation.
\item The state-of-the-art methods use rational functions ( which are the quotients of polynomials ).
\end{itemize}
\end{block}
\begin{center}
$\Downarrow$
\end{center}
\begin{block}{}
However, the theory of polynomial approximation is suitable for a first course in numerical analysis.
In this chapter we develop the basic theory needed to investigate these matters.
\end{block}
}
\frame{
\begin{block}{}
Suppose that the function $f (x) = e^x$ is to be approximated by a polynomial of degree $n = 2$ over the interval $[-1,1]$.
\end{block}
\begin{figure}
\begin{center}
\includegraphics[width=90mm]{chap-3/fig_4-1.png}
\end{center}
\end{figure}
\begin{itemize}
\item The Taylor polynomial is shown in left figure and can be contrasted with the Chebyshev approximation in right figure.
\item The maximum error for the Taylor approximation is $0.218282$, whereas the maximum error for the Chebyshev polynomial is $0.056468$.
\end{itemize}
}
\frame{
\frametitle{An associated problem}
\framesubtitle{ involves construction of the collocation polynomial.}
\begin{block}{}
Given $n + 1$ points in the plane (no two of which are aligned vertically),
\end{block}
\begin{center}
$\Downarrow$
\end{center}
\begin{block}{}
The collocation polynomial is the unique polynomial of degree $\le n$ that passes through the points.
\end{block}
}
\frame{
%\item In cases where data are known to a high degree of precision, the collocation polynomial is sometimes used to find a polynomial that passes through the given data points.
\begin{block}{A variety of methods can be used to construct the collocation polynomial : }
\begin{itemize}
\item solving a linear system for its coefficients,
\item the use of Lagrange coefficient polynomials,
\item the construction of a divided differences table and the coefficients of the Newton polynomial.
\end{itemize}
\end{block}
}
\frame{
\frametitle{For example}
\framesubtitle{例子}
the collocation polynomial of degree $n = 4$ that passes through the five points $(1,2)$, $(2,1)$, $(3,5)$, $(4,6)$, and $(5,1)$ is
\begin{equation*}
P(x) = \frac{5x^4 - 82x^3 + 427x^2 - 806x + 504}{24}
\end{equation*}
and a graph showing both the points and the polynomial is given in the following figure.
\begin{figure}
\begin{center}
\includegraphics[width=50mm]{chap-3/fig_4-2.png}
\end{center}
\end{figure}
}