I need to orthogonalize the polynomials $h_n(x)=x^{2n}(1+x^2)^{-4S}$ with $x\in\textbf{R}$, $2S\in\textbf{N}$ and $n\in\{1,3,5,\ldots, 4S-1\}$ over the inner product
$\langle h_n,h_m\rangle=32\pi S\displaystyle\int_0^1h_n(x)h_m(x)\frac{x(1-x^2)dx}{(1+x^2)^3}$
$=16\pi S\frac{\displaystyle\sum_{k=0}^{8S-n-m}{8S+2 \choose k}(8S+1-n-m-k)}{\displaystyle2^{8S+1}(n+m+2)(n+m+1){8S+2 \choose 8S-n-m}}$ .
Using the integral itself with Orthogonalize
takes forever and the result is not informative. So I'd like to use the formula above in terms of the parameters $n$ and $m$ instead. Is there a way to do this with Mathematica, i.e. use Orthogonalize
with an inner product that depends on parameters rather than the functions and their variables?