Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I have an integral $\int_{-1}^1 u\;dv$ that upon performing integration by parts yields:

$$ \int_{-1}^1 u\;dv=-\int_{-1}^1 v\;du $$

(i.e. $uv\bigg|_{-1}^1=0$).

Is there a trick that I can use to evaluate the integral?


$$ \int_{-1}^{1}C_{n_1}^{l_1}(x)\cdot(1-x^2)^{l_1-l_2}\frac{d^{n_2}}{dx^{n_2}}\left[(1-x^2)^{n_2+l_2-1/2}\right]dx $$ $$ =-\int_{-1}^{1}(2l_{1}C_{n_1-1}^{l_1+1}(x)\cdot(1-x^2)^{l1-l2}-2x(l_1-l_2)C_{n_1}^{l_1}(x)\cdot(1-x^2)^{l_1-l_2-1})\times $$ $$ \frac{d^{n_2-1}}{dx^{n_2-1}}\left[(1-x^2)^{n_2+l_2-1/2}\right]dx $$

Note: the $C_n^l(x)$ is a gegenbauer polynomial.

share|cite|improve this question
May be... The less concrete question, the less concrete answer. – Norbert Jan 13 '12 at 23:04
@Norbert: I realize it was a bit general to begin with, but it was intended to be a heuristic question. I've added the specific equation I'm trying to integrate, though I think its complexity might not make the principle transparent. – okj Jan 13 '12 at 23:22

Use a Gauss–Gegenbauer quadrature rule. Your integrand is a polynomial of degree at most $n_1$ times a weight $l_1 - 1/2$ which corresponds to the orthogonal family $(C_n^{l_1})_n$. You only need the roots of $C_{\frac{n_1+1}{2}}^{l_1}$ for the quadrature to yield exact value in your case.

See this article for details (this one as well).

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.