I would like to ask a question regarding the integral $\int_a^b w(x)f(x)dx$ where $w(x)$ is a weight function and $f(x)$ is well-approximated by a polynomial of degree $2n − 1$ or less on [a, b]. In particular, I am looking for a quadrature rule for the weight function $w(x) = \frac{1}{1+x^2}$. I had a look at https://en.wikipedia.org/wiki/Gaussian_quadrature. However, I could not find the weight function that I need. Therefore, could anyone please tell me whether there exists a quadrature rule for $w(x) = \frac{1}{1+x^2}$? Thank you very much in advance!
2026-03-25 19:04:41.1774465481
Quadrature rules for the weight function $w(x) = \frac{1}{1+x^2}$
250 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in INTEGRATION
- How can I prove that $\int_0^{\frac{\pi}{2}}\frac{\ln(1+\cos(\alpha)\cos(x))}{\cos(x)}dx=\frac{1}{2}\left(\frac{\pi^2}{4}-\alpha^2\right)$?
- How to integrate $\int_{0}^{t}{\frac{\cos u}{\cosh^2 u}du}$?
- Show that $x\longmapsto \int_{\mathbb R^n}\frac{f(y)}{|x-y|^{n-\alpha }}dy$ is integrable.
- How to find the unit tangent vector of a curve in R^3
- multiplying the integrands in an inequality of integrals with same limits
- Closed form of integration
- Proving smoothness for a sequence of functions.
- Random variables in integrals, how to analyze?
- derive the expectation of exponential function $e^{-\left\Vert \mathbf{x} - V\mathbf{x}+\mathbf{a}\right\Vert^2}$ or its upper bound
- Which type of Riemann Sum is the most accurate?
Related Questions in NUMERICAL-METHODS
- The Runge-Kutta method for a system of equations
- How to solve the exponential equation $e^{a+bx}+e^{c+dx}=1$?
- Is the calculated solution, if it exists, unique?
- Modified conjugate gradient method to minimise quadratic functional restricted to positive solutions
- Minimum of the 2-norm
- Is method of exhaustion the same as numerical integration?
- Prove that Newton's Method is invariant under invertible linear transformations
- Initial Value Problem into Euler and Runge-Kutta scheme
- What are the possible ways to write an equation in $x=\phi(x)$ form for Iteration method?
- Numerical solution for a two dimensional third order nonlinear differential equation
Related Questions in QUADRATURE
- the highest degree of the polynomial, for which the above formula is exact?
- Why not simply use sine weights with Clenshaw-Curtis nodes?
- High accuracy root finder of Legendre polynomials' derivatives?
- Ancient Greek proofs of Archimedes' three properties of the parabola?
- how to implement adaptive gaussian (kronrod?) quadrature (technicalities)
- Gauss-Legendre vs Gauss-Chebyshev quadratures (and Clenshaw-Curtis)
- Can a recursive, continuous integral be approximated with Gauss-Legendre or similar?
- Gaussian Quadrature Error Estimate
- Composite Lagrangian Quadrature rule for sin(x)
- Integration using Gauss-Laguerre quadrature
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
The general procedure is to use the Gram-Schmidt process to create orthogonal polynomials.
Let $$ w(x)=\frac{1}{1+x^2}, $$ define $$ \langle a, b\rangle \equiv \int_a^b a(x)b(x)w(x)dx. $$ Goal is to create a set of orthogonal polynomials $\left\{p_n(x)|n\in \mathbb{Z}\right\}$ starting with $p_0(x)=1$ and creating the subsequent by ensuring the next are orthogonal to all earlier polynomials (you can visualize this in a large dimensional vector space, subtracting off the components of the vectors).
To do this, the general formula is $$ p_n(x) = x^n - \sum_{i=0}^{n-1} \frac{\langle x^n,p_i\rangle}{\langle p_i, p_i\rangle} $$ which you can do up to whatever order of quadrature you want, say $N^\textrm{th}$ order quadrature.
Quadrature approximates the integral $$ I[f] = \int_a^b f(x)w(x)dx $$ at a set of abscissa with carefully chosen weights. Define the error in quadrature as $$ E[f] = \sum_{i=0}^{N-1} w_i f(x_i) - I[f] $$
Once you have the polynomials up to $N-1$ you are really free to choose the abscissa $\left\{x_n|n\in [0,N-1] \right\}$wherever you would like, and then solve the $N$ tower equations for the weights $w_i$ $$ \sum_{i=0}^{N-1}w_i p_n(x_i) = \delta_{n,0}\langle p_0,p_0\rangle $$ which ensures that the polynomials are integrated exactly up to degree $N-1$, and as they form a basis for all polynomials, this also ensures that any polynomial up to degree $N-1$ is also exactly integrated.
However, if you choose the abscissa to be the zeros of $p_N(x)$ then you get a quadrature method that is exact up until order $2N-1$. To see this, suppose you have a polynomial $d(x)$ of order less between $N$ and $2N-1$, then it can be polynomial divided by $p_N(x)$ to produce $$ d(x)=p_N(x)q(x) + r(x) $$ where the remainder polynomial $r(x)$ is of order $N-1$ or less. Applying the quadrature operator on $d(x)$ $$ I[d] = \sum_{i=0}^{N-1} w_ip_i(x_i)p_N(x_i)q(x_i) + \sum_{i=0}^{N-1} w_ip_i(x_i)r(x_i) $$ The first term has $p_N(x)$ evaluated exactly at its zeros, hence it vanishes. The second term is exact because of the low order of the remainder.
It is much easier if the interval is symmetric, in which case the polynomials all have alternating parity and the roots come in pairs, however this is not a requirement.
Choosing the interval to be symmetric $[-a,a]$, the first four polynomials are $$ p_0(x)=1\\ p_1(x)=x\\ p_2(x)= x^{2} - \frac{a - \arctan\left(a\right)}{\arctan\left(a\right)}\\ p_3(x)=x^3 - \frac{{\left(a^{3} - 3 \, a + 3 \, \arctan\left(a\right)\right)}}{3 \, {\left(a - \arctan\left(a\right)\right)}}x $$ from which we can read off the abscissa for third order quadrature $$ x_i\in \left\{-\sqrt{\frac{{\left(a^{3} - 3 \, a + 3 \, \arctan\left(a\right)\right)}}{3 \, {\left(a - \arctan\left(a\right)\right)}}},0,\sqrt{\frac{{\left(a^{3} - 3 \, a + 3 \, \arctan\left(a\right)\right)}}{3 \, {\left(a - \arctan\left(a\right)\right)}}} \right\} $$ Define $c=\sqrt{\frac{{\left(a^{3} - 3 \, a + 3 \, \arctan\left(a\right)\right)}}{3 \, {\left(a - \arctan\left(a\right)\right)}}}$ to ease notation. The resulting weights are $$ w_0 = \frac{a-\arctan(a)}{c^2} \\ w_1 = 2\arctan(a)-\frac{2(a-\arctan(a))}{c^2}\\ w_2 = \frac{a-\arctan(a)}{c^2}. $$
I tested this out in sage math (iPython) with the following code: