Integrand size = 18, antiderivative size = 121 \[ \int x^2 \Gamma \left (p,d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx=\frac {1}{3} x^3 \Gamma \left (p,d \left (a+b \log \left (c x^n\right )\right )\right )-\frac {1}{3} e^{-\frac {3 a}{b n}} x^3 \left (c x^n\right )^{-3/n} \Gamma \left (p,-\frac {(3-b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right ) \left (d \left (a+b \log \left (c x^n\right )\right )\right )^p \left (-\frac {(3-b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )^{-p} \] Output:
1/3*x^3*GAMMA(p,d*(a+b*ln(c*x^n)))-1/3*x^3*GAMMA(p,-(-b*d*n+3)*(a+b*ln(c*x ^n))/b/n)*(d*(a+b*ln(c*x^n)))^p/exp(3*a/b/n)/((c*x^n)^(3/n))/((-(-b*d*n+3) *(a+b*ln(c*x^n))/b/n)^p)
Time = 0.26 (sec) , antiderivative size = 112, normalized size of antiderivative = 0.93 \[ \int x^2 \Gamma \left (p,d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx=\frac {1}{3} x^3 \left (\Gamma \left (p,d \left (a+b \log \left (c x^n\right )\right )\right )-e^{-\frac {3 a}{b n}} \left (c x^n\right )^{-3/n} \Gamma \left (p,\frac {(-3+b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right ) \left (d \left (a+b \log \left (c x^n\right )\right )\right )^p \left (\frac {(-3+b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )^{-p}\right ) \] Input:
Integrate[x^2*Gamma[p, d*(a + b*Log[c*x^n])],x]
Output:
(x^3*(Gamma[p, d*(a + b*Log[c*x^n])] - (Gamma[p, ((-3 + b*d*n)*(a + b*Log[ c*x^n]))/(b*n)]*(d*(a + b*Log[c*x^n]))^p)/(E^((3*a)/(b*n))*(c*x^n)^(3/n)*( ((-3 + b*d*n)*(a + b*Log[c*x^n]))/(b*n))^p)))/3
Time = 1.01 (sec) , antiderivative size = 129, normalized size of antiderivative = 1.07, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {7132, 7271, 2747, 2612}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int x^2 \Gamma \left (p,d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx\) |
\(\Big \downarrow \) 7132 |
\(\displaystyle \frac {1}{3} b d n e^{-a d} x^{b d n} \left (c x^n\right )^{-b d} \int x^{2-b d n} \left (d \left (a+b \log \left (c x^n\right )\right )\right )^{p-1}dx+\frac {1}{3} x^3 \Gamma \left (p,d \left (a+b \log \left (c x^n\right )\right )\right )\) |
\(\Big \downarrow \) 7271 |
\(\displaystyle \frac {1}{3} b n e^{-a d} x^{b d n} \left (c x^n\right )^{-b d} \left (a+b \log \left (c x^n\right )\right )^{-p} \left (d \left (a+b \log \left (c x^n\right )\right )\right )^p \int x^{2-b d n} \left (a+b \log \left (c x^n\right )\right )^{p-1}dx+\frac {1}{3} x^3 \Gamma \left (p,d \left (a+b \log \left (c x^n\right )\right )\right )\) |
\(\Big \downarrow \) 2747 |
\(\displaystyle \frac {1}{3} b x^3 e^{-a d} \left (c x^n\right )^{-3/n} \left (a+b \log \left (c x^n\right )\right )^{-p} \left (d \left (a+b \log \left (c x^n\right )\right )\right )^p \int \left (c x^n\right )^{\frac {3-b d n}{n}} \left (a+b \log \left (c x^n\right )\right )^{p-1}d\log \left (c x^n\right )+\frac {1}{3} x^3 \Gamma \left (p,d \left (a+b \log \left (c x^n\right )\right )\right )\) |
\(\Big \downarrow \) 2612 |
\(\displaystyle \frac {1}{3} x^3 \Gamma \left (p,d \left (a+b \log \left (c x^n\right )\right )\right )-\frac {1}{3} x^3 \left (c x^n\right )^{-3/n} e^{a \left (d-\frac {3}{b n}\right )-a d} \left (d \left (a+b \log \left (c x^n\right )\right )\right )^p \left (-\frac {(3-b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )^{-p} \Gamma \left (p,-\frac {(3-b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )\) |
Input:
Int[x^2*Gamma[p, d*(a + b*Log[c*x^n])],x]
Output:
(x^3*Gamma[p, d*(a + b*Log[c*x^n])])/3 - (E^(-(a*d) + a*(d - 3/(b*n)))*x^3 *Gamma[p, -(((3 - b*d*n)*(a + b*Log[c*x^n]))/(b*n))]*(d*(a + b*Log[c*x^n]) )^p)/(3*(c*x^n)^(3/n)*(-(((3 - b*d*n)*(a + b*Log[c*x^n]))/(b*n)))^p)
Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))*((c_.) + (d_.)*(x_))^(m_), x_Symbol] :> Simp[(-F^(g*(e - c*(f/d))))*((c + d*x)^FracPart[m]/(d*((-f)*g*(Log[F]/d) )^(IntPart[m] + 1)*((-f)*g*Log[F]*((c + d*x)/d))^FracPart[m]))*Gamma[m + 1, ((-f)*g*(Log[F]/d))*(c + d*x)], x] /; FreeQ[{F, c, d, e, f, g, m}, x] && !IntegerQ[m]
Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_)*((d_.)*(x_))^(m_.), x_Symbol ] :> Simp[(d*x)^(m + 1)/(d*n*(c*x^n)^((m + 1)/n)) Subst[Int[E^(((m + 1)/n )*x)*(a + b*x)^p, x], x, Log[c*x^n]], x] /; FreeQ[{a, b, c, d, m, n, p}, x]
Int[Gamma[p_, ((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*(d_.)]*((e_.)*(x_))^(m_ .), x_Symbol] :> Simp[(e*x)^(m + 1)*(Gamma[p, d*(a + b*Log[c*x^n])]/(e*(m + 1))), x] + Simp[(b*d*n*((e*x)^(b*d*n)/((m + 1)*(c*x^n)^(b*d))))/E^(a*d) Int[(e*x)^(m - b*d*n)*(d*(a + b*Log[c*x^n]))^(p - 1), x], x] /; FreeQ[{a, b , c, d, e, m, n, p}, x] && NeQ[m, -1]
Int[(u_.)*((a_.)*(v_)^(m_.))^(p_), x_Symbol] :> Simp[a^IntPart[p]*((a*v^m)^ FracPart[p]/v^(m*FracPart[p])) Int[u*v^(m*p), x], x] /; FreeQ[{a, m, p}, x] && !IntegerQ[p] && !FreeQ[v, x] && !(EqQ[a, 1] && EqQ[m, 1]) && !(Eq Q[v, x] && EqQ[m, 1])
\[\int x^{2} \Gamma \left (p , d \left (a +b \ln \left (c \,x^{n}\right )\right )\right )d x\]
Input:
int(x^2*GAMMA(p,d*(a+b*ln(c*x^n))),x)
Output:
int(x^2*GAMMA(p,d*(a+b*ln(c*x^n))),x)
\[ \int x^2 \Gamma \left (p,d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx=\int { x^{2} \Gamma \left (p, {\left (b \log \left (c x^{n}\right ) + a\right )} d\right ) \,d x } \] Input:
integrate(x^2*gamma(p,d*(a+b*log(c*x^n))),x, algorithm="fricas")
Output:
integral(x^2*gamma(p, b*d*log(c*x^n) + a*d), x)
Timed out. \[ \int x^2 \Gamma \left (p,d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx=\text {Timed out} \] Input:
integrate(x**2*uppergamma(p,d*(a+b*ln(c*x**n))),x)
Output:
Timed out
\[ \int x^2 \Gamma \left (p,d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx=\int { x^{2} \Gamma \left (p, {\left (b \log \left (c x^{n}\right ) + a\right )} d\right ) \,d x } \] Input:
integrate(x^2*gamma(p,d*(a+b*log(c*x^n))),x, algorithm="maxima")
Output:
integrate(x^2*gamma(p, (b*log(c*x^n) + a)*d), x)
\[ \int x^2 \Gamma \left (p,d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx=\int { x^{2} \Gamma \left (p, {\left (b \log \left (c x^{n}\right ) + a\right )} d\right ) \,d x } \] Input:
integrate(x^2*gamma(p,d*(a+b*log(c*x^n))),x, algorithm="giac")
Output:
integrate(x^2*gamma(p, (b*log(c*x^n) + a)*d), x)
Timed out. \[ \int x^2 \Gamma \left (p,d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx=\int x^2\,\Gamma \left (p,d\,\left (a+b\,\ln \left (c\,x^n\right )\right )\right ) \,d x \] Input:
int(x^2*igamma(p, d*(a + b*log(c*x^n))),x)
Output:
int(x^2*igamma(p, d*(a + b*log(c*x^n))), x)
\[ \int x^2 \Gamma \left (p,d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx=\int \gamma \left (p , \mathrm {log}\left (x^{n} c \right ) b d +a d \right ) x^{2}d x \] Input:
int(x^2*GAMMA(p,d*(a+b*log(c*x^n))),x)
Output:
int(gamma(p,log(x**n*c)*b*d + a*d)*x**2,x)