$\int_0^{\infty} \frac{x^{k_1}}{\left(x^{n_1} + a_1 \right)^{m_1}} \cdot \frac{x^{k_2}}{\left(x^{n_2} + a_2 \right)^{m_2}}\:dx$
Recently I was able to find a result to a common definite integral: \begin{equation} J(n_1, k_1, m_1) = \int_0^{\infty} \frac{x^{k_1}}{\left(x^{n_1} + a_1 \right)^{m_1}}\:dx = \frac{a^{\frac{k_1 + 1}{n_1} - m_1}}{n_1}\Gamma\left(m_1 - \frac{k_1 + 1}{n_1}\right)\Gamma\left(\frac{k_1 + 1}{n_1}\right) \end{equation} The advantage with this integral is that if you can introduce a free parameter into your integral (ala Feynman's Trick) then under a given transformation using that parameter (i.e. derivatives, Laplace Transform, Fourier Transforms) that you can isolate out the parameter. This makes taking the inverse transform quite easy in most cases.
I'm hoping to expand this method to cater to more difficult integrals where multiple parameters are introduced. In doing so, I've come this very similar but much more complicated integral.
\begin{equation} H\left(a_1, a_2,n_1,n_2,k_1,k_2,m_1,m_2\right)= \int_0^{\infty} \frac{x^{k_1}}{\left(x^{n_1} + a_1 \right)^{m_1}} \cdot \frac{x^{k_2}}{\left(x^{n_2} + a_2 \right)^{m_2}}\:dx \end{equation}
Where $a_1, a_2,n_1,n_2,k_1,k_2,m_1,m_2 \in \mathbb{R}^{+}$
Unfortunately I'm stuck with this one and am interested to find out if anyone has encountered this form before and if so, if they know a method to find a solution expressed in terms of elementary or non-elementary functions.
Any starting points would be greatly appreciated.
Also, if the solution can be represented with certain restrictions on the parameters, please post up. The only absolute conditions are $a_{1},a_{2},m_{1},m_{2} \gt 0$. Keen on all solutions restricted or not.
Edit - Just thinking now that the one thing that can be done to simplify the integral is to let $u = x^{n_1}$ or $u = x^{n_2}$. Here I will use the later to render the integral as
\begin{align} &H\left(a_1, a_2,n_1,n_2,k_1,k_2,m_1,m_2\right)= \int_0^{\infty} \frac{\left( u^{\frac{1}{n_2}}\right)^{k_1}}{\left(\left( u^{\frac{1}{n_2}}\right)^{n_1} + a_1 \right)^{m_1}} \cdot \frac{\left( u^{\frac{1}{n_2}}\right)^{k_2}}{\left(u + a_2 \right)^{m_2}}\frac{1}{n_2}u^{\frac{1 - n_2}{n_2}}\:du\\ \quad& = \frac{1}{n_2}\int_0^{\infty} \frac{u^{\frac{k_1 + k_2 + 1 - n_2}{n_2}}}{\left( u^{\frac{n_1}{n_2}} + a_1 \right)^{m_1}} \frac{1}{\left(u + a_2\right)^{m_1}}\:du = \frac{1}{n_2}\int_0^{\infty} \frac{u^{k_3}}{\left(u^{n_3} + a_1\right)^{m_1}} \frac{1}{\left(u + a_2\right)^{m_2}}\:du \end{align}
Solution 1:
This is an integral of two Meijer G-functions which gives a Fox H-function. Let $\nu_1 = 1/n_1$, $\,\nu_2 = 1/n_2$, $\,\sigma = k_1 + k_2 + 1$. The Mellin transform is $$\mathcal M_{x \to p}[(x + a)^{-m}] = \frac {\Gamma(p) \Gamma(m - p)} {\Gamma(m)} a^{p -m}, \\ \mathcal M[(x^{n_1} + a_1)^{-m_1}] = \nu_1 \mathcal M[(x + a_1)^{-m_1}](\nu_1 p), \\ \mathcal M[x^{-\sigma} (x^{-n_2} + a_2)^{-m_2}] = \nu_2 \mathcal M[(x + a_2)^{-m_2}](\nu_2 (\sigma - p)).$$ The convolution is mapped to the product: $$\mathcal M[f * g] = \mathcal M {\left[\int_0^\infty f(x) \,g {\left( \frac \omega x \right)} \,\frac {dx} x \right]} = \mathcal M[f] \mathcal M[g].$$ The product is again a rational combination of linear gamma functions times $z^p$, the inverse transform of which is, by definition, the H-function. Evaluating it at $1$ ($\omega = 1$ above) gives $$\int_0^\infty \frac {x^{k_1}} {(x^{n_1} + a_1)^{m_1}} \frac {x^{k_2}} {(x^{n_2} + a_2)^{m_2}} dx = \frac {\nu_1 \nu_2 a_1^{-m_1} a_2^{\nu_2 \sigma - m_2}} {\Gamma(m_1) \Gamma(m_2)} \times \\ \mathcal M^{-1}[ \Gamma(m_1 - \nu_1 p) \Gamma(\nu_2 \sigma - \nu_2 p) \Gamma(\nu_1 p) \Gamma(m_2 - \nu_2 \sigma + \nu_2 p) (a_1^{-\nu_1} a_2^{\nu_2})^{-p}](1) = \\ \frac {\nu_1 \nu_2 a_1^{-m_1} a_2^{\nu_2 \sigma - m_2}} {\Gamma(m_1) \Gamma(m_2)} H_{2, 2}^{2, 2} {\left( a_1^{-\nu_1} a_2^{\nu_2} \middle| {(1 - m_1, \nu_1), (1 - \nu_2 \sigma, \nu_2) \atop (0, \nu_1), (m_2 - \nu_2 \sigma, \nu_2)} \right)}.$$ The integral exists if $\sigma < n_1 m_1 + n_2 m_2$.
Solution 2:
To long for the comment.
Maybe it's too trite, but
In the case $n_1=n_2$ this integral can be rewrite through the hypergeometric function $_2F_1$. I do not want to pay attention to the coefficient. I this case the integral can be rewrite in the following form $$ I= \alpha\int_0^{\infty} \frac{u^{k_3}}{\left(u + 1\right)^{m_1}} \frac{1}{\left(u + c\right)^{m_2}}\:du $$ like it was done by DavidG.
After that one can do the change of variables $y=u/(1+u)$ $$ I=\frac{\alpha}{c^{m_2}}\int_0^{1} \frac{y^{k_3}}{\left(1 - y\right)^{k_3+2-m_1-m_2} (1-y(1-1/c))^{m_2}}\:du=\frac{\alpha}{c^{m_2}}Г(k_3+1) Г(m_1+m_2-k_3-1) _2F_1(m_2,k_3+1,m_1+m_2,1-1/c) $$
I am not sure about the existance of the answer in the general case.