keisoku

Gauss-Chebyshev (Second Kind) Nodes & Weights Calculator

Enter the order n to list the nodes x_i=cos(iπ/(n+1)) and weights w_i=π/(n+1)·sin²(iπ/(n+1)) of the second-kind Gauss-Chebyshev quadrature in a table.

Input

Compute the nodes and weights of second-kind Gauss-Chebyshev quadrature (weight function √(1−x²)) from the order n.

An integer from 1 to 256. This is the number of nodes.

Result

Order n

8

xᵢ = cos(iπ/(n+1)), wᵢ = π/(n+1)·sin²(iπ/(n+1))

Number of nodes

8

Sum of weights

1.5707963268

Exact value (π/2)

1.5707963268

Nodes and weights

Nodes x are sorted in ascending order. The angle θ = iπ/(n+1) is in radians.

#Node xᵢWeight wᵢAngle θᵢ
1-0.93969262080.04083294772.7925268032
2-0.76604444310.14422560082.4434609528
3-0.50.26179938782.0943951024
4-0.17364817770.33854022711.745329252
50.17364817770.33854022711.3962634016
60.50.26179938781.0471975512
70.76604444310.14422560080.6981317008
80.93969262080.04083294770.3490658504

How it works

  • Second-kind Gauss-Chebyshev quadrature uses the weight function w(x)=√(1−x²) on [−1,1], giving ∫₋₁¹√(1−x²)f(x)dx ≈ Σ wᵢ f(xᵢ).
  • The nodes are the zeros of the second-kind Chebyshev polynomial Uₙ(x), given in closed form by xᵢ=cos(iπ/(n+1)) for i=1,…,n.
  • The weights are wᵢ=π/(n+1)·sin²(iπ/(n+1)), which are all positive.
  • The sum of the weights equals π/2 exactly.
  • Because the nodes and weights are available in closed form, this tool evaluates them directly without any iteration.

Reviews

Tell us what you think of this calculator.

Write a review

  1. Home
  2. Gauss-Chebyshev (Second Kind) Nodes & Weights Calculator