MHB How to Use Gauss Chebyshev Formula for Approximating Integrals with n=3?

  • Thread starter Thread starter jiasyuen
  • Start date Start date
  • Tags Tags
    Formula Gauss
Click For Summary
The Gauss Chebyshev formula with n=3 is used to approximate the integral of x^4 divided by the square root of (1-x^2) from -1 to 1. The correct zeros for this formula are x_i = 0, ±√3/2, and the corresponding weights are w_i = 1, 2, 2. Using these values, the integral evaluates to 3/8 π, which matches the exact value of the integral. This demonstrates the effectiveness of the Gauss Chebyshev method for this type of integral approximation. The discussion highlights the importance of using the correct polynomial roots and weights for accurate results.
jiasyuen
Messages
25
Reaction score
0
Use Gauss Chebyshev formula with $n=3$ to approximate the value of the integral.

$$\int \frac{x^4}{\sqrt{1-x^2}}dx$$ from -1 to 1.

Also compare the result with true value, where the zeros and the corresponding weights of the following simple set of orthogonal polynomial is given as below.

$x_i=0,\frac{\sqrt{3}}{2},-\frac{\sqrt{3}}{2}$

$w_i=1,2,2$

$i=1,2,3$I visited the wikipedia about this formula, but I really don't know how to use it. Can anyone guide me?
 
Physics news on Phys.org
jiasyuen said:
Use Gauss Chebyshev formula with $n=3$ to approximate the value of the integral.

$$\int \frac{x^4}{\sqrt{1-x^2}}dx$$ from -1 to 1.

Also compare the result with true value, where the zeros and the corresponding weights of the following simple set of orthogonal polynomial is given as below.

$x_i=0,\frac{\sqrt{3}}{2},-\frac{\sqrt{3}}{2}$

$w_i=1,2,2$

$i=1,2,3$I visited the wikipedia about this formula, but I really don't know how to use it. Can anyone guide me?

The Gauss Chebyshef of order n approximates the integral as...

$\displaystyle \int_{-1}^{1} \frac{f(x)}{\sqrt{1 - x^{2}}}\ dx \sim \sum_{i=1}^{n} w_{i}\ f(x_{i})\ (1)$

In Your case is...

$n=3$

$ f(x)=x^{4}$

$x_i=0,\frac{\sqrt{3}}{2},-\frac{\sqrt{3}}{2}$

$w_i=1,2,2$

Kind regards

$\chi$ $\sigma$
 
jiasyuen said:
Use Gauss Chebyshev formula with $n=3$ to approximate the value of the integral.

$$\int \frac{x^4}{\sqrt{1-x^2}}dx$$ from -1 to 1.

Also compare the result with true value, where the zeros and the corresponding weights of the following simple set of orthogonal polynomial is given as below.

$x_i=0,\frac{\sqrt{3}}{2},-\frac{\sqrt{3}}{2}$

$w_i=1,2,2$

$i=1,2,3$I visited the wikipedia about this formula, but I really don't know how to use it. Can anyone guide me?

Probably there are some mistakes in the $x_{i}$ and $w_{i}$ because is...

$\displaystyle x_{i} = \cos (\frac{2\ i -1}{2\ n}\ \pi), w_{i} = \frac{\pi}{n}\ (1)$

... and for n=3... $\displaystyle x_{1} = \cos \frac{\pi}{6} = \frac{\sqrt{3}}{2}$

$\displaystyle x_{2} = \cos \frac{\pi}{2} = 0$

$\displaystyle x_{3} = \cos (\frac{5}{6}\ \pi) = - \frac{\sqrt{3}}{2}$

$\displaystyle w_{1}=w_{2}=w_{3}= \frac{\pi}{6}$

... so that applying the Gauss Chebyshef formula You obtain...

$\displaystyle \int_{-1}^{1} \frac{x^{4}}{\sqrt{1 - x^{2}}}\ d x = \frac{3}{8}\ \pi\ (2)$

... which is the exact value of the integral [a great advantage of this type of integration formula...] (Happy) ...

Kind regards

$\chi$ $\sigma$
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K