8.0 KB · commit a9602da
The problem of approximating a function is a central problem in numerical analysis due to its importance in the development of software for digital computers. Function evaluation through interpolation techniques over stored
table of values has been found to be quite costlier when compared to the use of efficient function approximations.
Let f1,f2,…,fn be the values of the given function and ϕ1,ϕ2,…,ϕn be the corresponding values of the approximating function. Then the error vector is e, where the components of e are given by ei=fi−ϕi. The approximation may be chosen in a number of ways. For example, we may find the approximation such that the quantity e12+e22+⋯+en2 is minimum. This leads us to the least squares approximation which we have already studied. On the other hand, we may choose the approximation such that the maximum component of e is minimized. This leads us to the 'celebrated Chebyshev polynomials' which have found important application in the approximation of functions in digital computers.
In this section, we shall give a brief outline of Chebyshev polynomials and their applications in the economization of power series.*
The Chebyshev polynomial of degree n over the interval [−1,1] is defined by the relation Tn(x)=cos(ncos−1x),(4.57) from which follows immediately the relation Tn(x)=T−n(x).(4.58) Let cos−1x=θ so that x=cosθ and (4.57) gives Tn(x)=cosnθ. Hence T0(x)=1andT1(x)=x. Using the trigonometric identity cos(n−1)θ+cos(n+1)θ=2cosnθcosθ, we obtain easily Tn−1(x)+Tn+1(x)=2xTn(x), which is the same as Tn+1(x)=2xTn(x)−Tn−1(x).(4.59) This is the recurrence relation which can be used to successively compute all Tn(x), since we know T0(x) and T1(x). The first seven Chebyshev polynomials are:
*Refer to Fox and Parker [1968] for further details and other applications of Chebyshev polynomials.
T0(x)T1(x)T2(x)T3(x)T4(x)T5(x)T6(x)=1=x=2x2−1=4x3−3x=8x4−8x2+1=16x5−20x3+5x=32x6−48x4+18x2−1.⎭⎬⎫(4.60)The graph of the first four Chebyshev polynomials are shown in Fig. 4.1
Figure 4.1 — Chebyshev polynomials Tn(x), n=1,2,3,4.
It is easy to see that the coefficient of xn in Tn(x) is always 2n−1. Further, if we set y=Tn(x)=cosnθ, then we get dxdy=sinθnsinnθ and dx2d2y=sin2θ−n2cosnθ+nsinnθcotθ=1−x2−n2y+x(dy/dx) so that (1−x2)dx2d2y−xdxdy+n2y=0,(4.61) which is the differential equation satisfied by Tn(x).
It is also possible to express powers of x in terms of Chebyshev polynomials. We find
1xx2x3x4x5x6=T0(x)=T1(x)=21[T0(x)+T2(x)]=41[3T1(x)+T3(x)]=81[3T0(x)+4T2(x)+T4(x)]=161[10T1(x)+5T3(x)+T5(x)]=321[10T0(x)+15T2(x)+6T4(x)+T6(x)].⎭⎬⎫(4.62)and so on. These expressions will be useful in the economization of power series to be discussed later.
An important property of Tn(x) is given by
∫−111−x2Tm(x)Tn(x)dx=⎩⎨⎧0,π/2,π,m=nm=n=0m=n=0(4.63)that is, the polynomials Tn(x) are orthogonal with the function 1/1−x2. This property is easily proved since by putting x=cosθ, the above integral becomes
∫0πTm(cosθ)Tn(cosθ)dθ=∫0πcosmθcosnθdθ=[2(m+n)sin(m+n)θ+2(m−n)sin(m−n)θ]0π,from which follow the values given on the right side of Eq. (4.63).
We have seen above that Tn(x) is a polynomial of degree n in x and that the coefficient of xn in Tn(x) is 2n−1. In approximation theory, one uses monic polynomials, i.e. Chebyshev polynomials in which the coefficient of xn is unity. If Pn(x) is a monic polynomial, then we can write Pn(x)=21−nTn(x),(n≥1).(4.64) A remarkable property of Chebyshev polynomials is that of all monic polynomials, Pn(x), of degree n whose leading coefficient equals unity, the
polynomial 21−nTn(x), has the smallest least upper bound for its absolute value in the range (−1,1). Since ∣Tn(x)∣≤1, the upper bound referred to above is 21−n. Thus, in Chebyshev approximation, the maximum error is kept down to a minimum. This is often referred to as minimax principle and the polynomial in Eq. (4.64) is called the minimax polynomial. By this process we can obtain the best lower-order approximation, called the minimax approximation, to a given polynomial. This is illustrated in the following example.
A similar application of Chebyshev series in the economization of power series is discussed next.
To describe this process, which is essentially due to Lanczos, we consider the power series expansion of f(x) in the form f(x)=A0+A1x+A2x2+⋯+Anxn,(−1≤x≤1).(4.65) Using the relations given in Eq. (4.62), we convert the above series into an expansion in Chebyshev polynomials. We obtain f(x)=B0+B1T1(x)+B2T2(x)+⋯+BnTn(x).(4.66) For a large number of functions, an expansion as in Eq. (4.66) above, converges more rapidly than the power series given by Eq. (4.65). This is known as economization of the power series and is illustrated in Example 4.14.
Solution: Since 1/5040=0.000198…, the truncated series, viz., sinx≈x−6x3+120x5(i) will produce a change in the fourth decimal place only. We now convert the powers of x in Eq. (i) into Chebyshev polynomials by using the relations given in Eq. (4.62). This gives sinx≈T1(x)−241[3T1(x)+T3(x)]+120×161[10T1(x)+5T3(x)+T5(x)]. Simplifying the above, we obtain sinx≈192169T1(x)−1285T3(x)+19201T5(x).(ii) Since 1/1920=0.00052…, the truncated series, viz., sinx=192169T1(x)−1285T3(x)(iii) will produce a change in the fourth decimal place only. Using the relations given in Eq. (4.60), the economized series is, therefore, given by sinx≈192169x−1285(4x3−3x)=384383x−325x3. ◀