Integrand size = 16, antiderivative size = 65 \[ \int x^2 \log \left (c \left (d+e x^n\right )^p\right ) \, dx=-\frac {e n p x^{3+n} \operatorname {Hypergeometric2F1}\left (1,\frac {3+n}{n},2+\frac {3}{n},-\frac {e x^n}{d}\right )}{3 d (3+n)}+\frac {1}{3} x^3 \log \left (c \left (d+e x^n\right )^p\right ) \] Output:
-1/3*e*n*p*x^(3+n)*hypergeom([1, (3+n)/n],[2+3/n],-e*x^n/d)/d/(3+n)+1/3*x^ 3*ln(c*(d+e*x^n)^p)
Time = 0.04 (sec) , antiderivative size = 61, normalized size of antiderivative = 0.94 \[ \int x^2 \log \left (c \left (d+e x^n\right )^p\right ) \, dx=\frac {1}{3} x^3 \left (-\frac {e n p x^n \operatorname {Hypergeometric2F1}\left (1,\frac {3+n}{n},2+\frac {3}{n},-\frac {e x^n}{d}\right )}{d (3+n)}+\log \left (c \left (d+e x^n\right )^p\right )\right ) \] Input:
Integrate[x^2*Log[c*(d + e*x^n)^p],x]
Output:
(x^3*(-((e*n*p*x^n*Hypergeometric2F1[1, (3 + n)/n, 2 + 3/n, -((e*x^n)/d)]) /(d*(3 + n))) + Log[c*(d + e*x^n)^p]))/3
Time = 0.35 (sec) , antiderivative size = 65, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {2905, 888}
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 \log \left (c \left (d+e x^n\right )^p\right ) \, dx\) |
\(\Big \downarrow \) 2905 |
\(\displaystyle \frac {1}{3} x^3 \log \left (c \left (d+e x^n\right )^p\right )-\frac {1}{3} e n p \int \frac {x^{n+2}}{e x^n+d}dx\) |
\(\Big \downarrow \) 888 |
\(\displaystyle \frac {1}{3} x^3 \log \left (c \left (d+e x^n\right )^p\right )-\frac {e n p x^{n+3} \operatorname {Hypergeometric2F1}\left (1,\frac {n+3}{n},2+\frac {3}{n},-\frac {e x^n}{d}\right )}{3 d (n+3)}\) |
Input:
Int[x^2*Log[c*(d + e*x^n)^p],x]
Output:
-1/3*(e*n*p*x^(3 + n)*Hypergeometric2F1[1, (3 + n)/n, 2 + 3/n, -((e*x^n)/d )])/(d*(3 + n)) + (x^3*Log[c*(d + e*x^n)^p])/3
Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[a^p *((c*x)^(m + 1)/(c*(m + 1)))*Hypergeometric2F1[-p, (m + 1)/n, (m + 1)/n + 1 , (-b)*(x^n/a)], x] /; FreeQ[{a, b, c, m, n, p}, x] && !IGtQ[p, 0] && (ILt Q[p, 0] || GtQ[a, 0])
Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))*((f_.)*(x_))^ (m_.), x_Symbol] :> Simp[(f*x)^(m + 1)*((a + b*Log[c*(d + e*x^n)^p])/(f*(m + 1))), x] - Simp[b*e*n*(p/(f*(m + 1))) Int[x^(n - 1)*((f*x)^(m + 1)/(d + e*x^n)), x], x] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x] && NeQ[m, -1]
\[\int x^{2} \ln \left (c \left (d +e \,x^{n}\right )^{p}\right )d x\]
Input:
int(x^2*ln(c*(d+e*x^n)^p),x)
Output:
int(x^2*ln(c*(d+e*x^n)^p),x)
\[ \int x^2 \log \left (c \left (d+e x^n\right )^p\right ) \, dx=\int { x^{2} \log \left ({\left (e x^{n} + d\right )}^{p} c\right ) \,d x } \] Input:
integrate(x^2*log(c*(d+e*x^n)^p),x, algorithm="fricas")
Output:
integral(x^2*log((e*x^n + d)^p*c), x)
Result contains complex when optimal does not.
Time = 6.19 (sec) , antiderivative size = 128, normalized size of antiderivative = 1.97 \[ \int x^2 \log \left (c \left (d+e x^n\right )^p\right ) \, dx=- \frac {d^{-2 - \frac {3}{n}} d^{1 + \frac {3}{n}} e p x^{n + 3} \Phi \left (\frac {e x^{n} e^{i \pi }}{d}, 1, 1 + \frac {3}{n}\right ) \Gamma \left (1 + \frac {3}{n}\right )}{3 \Gamma \left (2 + \frac {3}{n}\right )} - \frac {d^{-2 - \frac {3}{n}} d^{1 + \frac {3}{n}} e p x^{n + 3} \Phi \left (\frac {e x^{n} e^{i \pi }}{d}, 1, 1 + \frac {3}{n}\right ) \Gamma \left (1 + \frac {3}{n}\right )}{n \Gamma \left (2 + \frac {3}{n}\right )} + \frac {x^{3} \log {\left (c \left (d + e x^{n}\right )^{p} \right )}}{3} \] Input:
integrate(x**2*ln(c*(d+e*x**n)**p),x)
Output:
-d**(-2 - 3/n)*d**(1 + 3/n)*e*p*x**(n + 3)*lerchphi(e*x**n*exp_polar(I*pi) /d, 1, 1 + 3/n)*gamma(1 + 3/n)/(3*gamma(2 + 3/n)) - d**(-2 - 3/n)*d**(1 + 3/n)*e*p*x**(n + 3)*lerchphi(e*x**n*exp_polar(I*pi)/d, 1, 1 + 3/n)*gamma(1 + 3/n)/(n*gamma(2 + 3/n)) + x**3*log(c*(d + e*x**n)**p)/3
\[ \int x^2 \log \left (c \left (d+e x^n\right )^p\right ) \, dx=\int { x^{2} \log \left ({\left (e x^{n} + d\right )}^{p} c\right ) \,d x } \] Input:
integrate(x^2*log(c*(d+e*x^n)^p),x, algorithm="maxima")
Output:
-1/9*(n*p - 3*log(c))*x^3 + d*n*p*integrate(1/3*x^2/(e*x^n + d), x) + 1/3* x^3*log((e*x^n + d)^p)
\[ \int x^2 \log \left (c \left (d+e x^n\right )^p\right ) \, dx=\int { x^{2} \log \left ({\left (e x^{n} + d\right )}^{p} c\right ) \,d x } \] Input:
integrate(x^2*log(c*(d+e*x^n)^p),x, algorithm="giac")
Output:
integrate(x^2*log((e*x^n + d)^p*c), x)
Timed out. \[ \int x^2 \log \left (c \left (d+e x^n\right )^p\right ) \, dx=\int x^2\,\ln \left (c\,{\left (d+e\,x^n\right )}^p\right ) \,d x \] Input:
int(x^2*log(c*(d + e*x^n)^p),x)
Output:
int(x^2*log(c*(d + e*x^n)^p), x)
\[ \int x^2 \log \left (c \left (d+e x^n\right )^p\right ) \, dx=\frac {\left (\int \frac {x^{2}}{x^{n} e +d}d x \right ) d n p}{3}+\frac {\mathrm {log}\left (\left (x^{n} e +d \right )^{p} c \right ) x^{3}}{3}-\frac {n p \,x^{3}}{9} \] Input:
int(x^2*log(c*(d+e*x^n)^p),x)
Output:
(3*int(x**2/(x**n*e + d),x)*d*n*p + 3*log((x**n*e + d)**p*c)*x**3 - n*p*x* *3)/9