/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Q14P Find the best (in the least squa... [FREE SOLUTION] | 91Ó°ÊÓ

91Ó°ÊÓ

Find the best (in the least squares sense) second-degree polynomial approximation to each of the given functions over the interval -1<x<1.

|x|

Short Answer

Expert verified

The best second-degree polynomial is 3/16 (5x2-1).

Step by step solution

01

Concept of the Legendre series:

An expansion in Legendre polynomials up to the second degree gives the best second-degree polynomial.

So, this corresponds to the usual Legendre polynomial fit with l=0 and l=2.

f(x)=c0P0(x)+c1P1(x)+c2P2(x)

The coefficients are given by the following integral:

cl= 2l+1/2 ∫-11 dx Pl(x) f(x)

cl = 2l+1/2 [∫-10 dxPl(x) (-x)+ ∫01 dxPl(x) (x)]

02

Calculate the value of different coefficients of the series:

Consider the following function:

Now doing calculation of coefficients as follows:

If l=0, calculation for the coefficient should be as:

c0=2(0)+1/2 ∫-11dxPl(x) f(x)

c0= 1/2 [∫-10dx (1) (-x) + ∫01dx (1) (x)]

c0= [(- x2/2)-10 + (x2/2)01]

c0= 1/4 (0+1+1-0)

c0=1/2

If l=1, calculation for the coefficient should be as:

c1= 2(1)+1/2 [∫-10 dx Pl(³æ)(-³æ)+∫01 dx Pl(x)(x)]

=3/2 [∫-10 dx(³æ)(-³æ)+∫01 dx(x) x]

=3/2 [-∫-10 x2 »å³æ+∫01 dx (x) x]

=3/2 [-∫-10 x2 »å³æ+∫01 (x)2 dx]

=3/2 [(-x3/3) -10 + (x3/3)01]

So,

c1=1/2 [-(0+1)+(1-0)]

=0

If l=2, calculation for the coefficient should be as:

c2= 2(2)+1/2 [∫-10 dx P2(x) (-x) + ∫01dxP2(x) x]

=5/2 [∫-10 dxP2(x) (-x)+∫01 dxP2(x) x]

=5/4 [∫-10(-3x3+x) »å³æ+∫01 (3x3-x) dx]

=5/4 [(-3 x4/4+x2/2)-10+(3 x4/4-x2/2)01]

Simplify further as follows:

c2 =5/4 [0-(-3/4+1/2)+(3/4-1/2)-0]

=5/4 [3/4-1/2+3/4-1/2]

=5/4 (1/2)

=5/8

03

Put the value of coefficients in the function and find the best fit polynomial:

The required best fit polynomial is,

f(x) = c0P0(x)+c1P1(x)+c2P2(x)

|x| = 1/2 P0(x)+(0)P1(x)+5/8 P2(x)

|x| = 1/2 P0(x)+5/8 P2(x)

Replace the values of P0 and P2.

|x| = 1/2 +5/8 (3x2-1)/2

|x|=1/2 +15/16 x2-5/16

|x| = 15/16 x2 - 3/16

|x| = 3/16 (5x2-1)

The best fit polynomial for the given function is 3/16 (5x2-1).

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with 91Ó°ÊÓ!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Expand the following functions in Legendre series.

Hint: Solve the recursion relation (5.8e)for Pl(x)and show that ∫a1 Pl(x) dx=1/2l+1 [Pl-1 (a)-Pl+1 (a)].

Expand each of the following polynomials in a Legendre series. You should get the same results that you got by a different method in the corresponding problems in Section 5.

x-x3

Find the best (in the least squares sense) second-degree polynomial approximation to each of the given functions over the interval -1<x<1.

x4

Prove the least squares approximation property of Legendre polynomials [see (9.5) and (9.6)] as follows. Let f(x) be the given function to be approximated. Let the functions pl(x)be the normalized Legendre polynomials, that is, pl(x) = √(2l+1)/2 Pl(x) , so that

∫-11[pl(x)"]"2dx=1.

Show thatLegendre series for f(x)as far as the p2(x)term is

f(x)=c0p0(x)+c1p1(x) +c3p3(x) with c1 =∫-11f(x)pl(x) dx

Write the quadratic polynomial satisfying the least squares condition as b0p0(x)+b1p1(x)+b0p0(x)by Problem 5.14 any quadratic polynomial can be written in this form). The problem is to find b0, b1, b2so that I=∫-11[f2(x)+(b0-c0)2+(b1-c1)2+(b2-c2)2 -c02 -c12 -c22] dx

Now determine the values of the b's to make I as small as possible. (Hint: The smallest value the square of a real number can have is zero.) Generalize the proof to polynomials of degree n.

Question: Use the Section 15 recursion relations and (17.4) to obtain the following recursion relations for spherical Bessel functions. We have written them forjn, but they are valid forynand for thehn(ddx)"["xn+1jnx"]=xn+1jn-1(x)

See all solutions

Recommended explanations on Physics Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.