\(\int \frac {\log (d (\frac {1}{d}+f \sqrt {x})) (a+b \log (c x^n))^3}{x} \, dx\) [67]

Optimal result
Mathematica [A] (verified)
Rubi [A] (verified)
Maple [F]
Fricas [F]
Sympy [F(-1)]
Maxima [F]
Giac [F]
Mupad [F(-1)]
Reduce [F]

Optimal result

Integrand size = 30, antiderivative size = 101 \[ \int \frac {\log \left (d \left (\frac {1}{d}+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^3}{x} \, dx=-2 \left (a+b \log \left (c x^n\right )\right )^3 \operatorname {PolyLog}\left (2,-d f \sqrt {x}\right )+12 b n \left (a+b \log \left (c x^n\right )\right )^2 \operatorname {PolyLog}\left (3,-d f \sqrt {x}\right )-48 b^2 n^2 \left (a+b \log \left (c x^n\right )\right ) \operatorname {PolyLog}\left (4,-d f \sqrt {x}\right )+96 b^3 n^3 \operatorname {PolyLog}\left (5,-d f \sqrt {x}\right ) \] Output:

-2*(a+b*ln(c*x^n))^3*polylog(2,-d*f*x^(1/2))+12*b*n*(a+b*ln(c*x^n))^2*poly 
log(3,-d*f*x^(1/2))-48*b^2*n^2*(a+b*ln(c*x^n))*polylog(4,-d*f*x^(1/2))+96* 
b^3*n^3*polylog(5,-d*f*x^(1/2))
 

Mathematica [A] (verified)

Time = 0.28 (sec) , antiderivative size = 98, normalized size of antiderivative = 0.97 \[ \int \frac {\log \left (d \left (\frac {1}{d}+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^3}{x} \, dx=-2 \left (a+b \log \left (c x^n\right )\right )^3 \operatorname {PolyLog}\left (2,-d f \sqrt {x}\right )+12 b n \left (\left (a+b \log \left (c x^n\right )\right )^2 \operatorname {PolyLog}\left (3,-d f \sqrt {x}\right )+4 b n \left (-\left (\left (a+b \log \left (c x^n\right )\right ) \operatorname {PolyLog}\left (4,-d f \sqrt {x}\right )\right )+2 b n \operatorname {PolyLog}\left (5,-d f \sqrt {x}\right )\right )\right ) \] Input:

Integrate[(Log[d*(d^(-1) + f*Sqrt[x])]*(a + b*Log[c*x^n])^3)/x,x]
 

Output:

-2*(a + b*Log[c*x^n])^3*PolyLog[2, -(d*f*Sqrt[x])] + 12*b*n*((a + b*Log[c* 
x^n])^2*PolyLog[3, -(d*f*Sqrt[x])] + 4*b*n*(-((a + b*Log[c*x^n])*PolyLog[4 
, -(d*f*Sqrt[x])]) + 2*b*n*PolyLog[5, -(d*f*Sqrt[x])]))
 

Rubi [A] (verified)

Time = 0.46 (sec) , antiderivative size = 99, normalized size of antiderivative = 0.98, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {2821, 2830, 2830, 7143}

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 \frac {\log \left (d \left (\frac {1}{d}+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^3}{x} \, dx\)

\(\Big \downarrow \) 2821

\(\displaystyle 6 b n \int \frac {\left (a+b \log \left (c x^n\right )\right )^2 \operatorname {PolyLog}\left (2,-d f \sqrt {x}\right )}{x}dx-2 \operatorname {PolyLog}\left (2,-d f \sqrt {x}\right ) \left (a+b \log \left (c x^n\right )\right )^3\)

\(\Big \downarrow \) 2830

\(\displaystyle 6 b n \left (2 \operatorname {PolyLog}\left (3,-d f \sqrt {x}\right ) \left (a+b \log \left (c x^n\right )\right )^2-4 b n \int \frac {\left (a+b \log \left (c x^n\right )\right ) \operatorname {PolyLog}\left (3,-d f \sqrt {x}\right )}{x}dx\right )-2 \operatorname {PolyLog}\left (2,-d f \sqrt {x}\right ) \left (a+b \log \left (c x^n\right )\right )^3\)

\(\Big \downarrow \) 2830

\(\displaystyle 6 b n \left (2 \operatorname {PolyLog}\left (3,-d f \sqrt {x}\right ) \left (a+b \log \left (c x^n\right )\right )^2-4 b n \left (2 \operatorname {PolyLog}\left (4,-d f \sqrt {x}\right ) \left (a+b \log \left (c x^n\right )\right )-2 b n \int \frac {\operatorname {PolyLog}\left (4,-d f \sqrt {x}\right )}{x}dx\right )\right )-2 \operatorname {PolyLog}\left (2,-d f \sqrt {x}\right ) \left (a+b \log \left (c x^n\right )\right )^3\)

\(\Big \downarrow \) 7143

\(\displaystyle 6 b n \left (2 \operatorname {PolyLog}\left (3,-d f \sqrt {x}\right ) \left (a+b \log \left (c x^n\right )\right )^2-4 b n \left (2 \operatorname {PolyLog}\left (4,-d f \sqrt {x}\right ) \left (a+b \log \left (c x^n\right )\right )-4 b n \operatorname {PolyLog}\left (5,-d f \sqrt {x}\right )\right )\right )-2 \operatorname {PolyLog}\left (2,-d f \sqrt {x}\right ) \left (a+b \log \left (c x^n\right )\right )^3\)

Input:

Int[(Log[d*(d^(-1) + f*Sqrt[x])]*(a + b*Log[c*x^n])^3)/x,x]
 

Output:

-2*(a + b*Log[c*x^n])^3*PolyLog[2, -(d*f*Sqrt[x])] + 6*b*n*(2*(a + b*Log[c 
*x^n])^2*PolyLog[3, -(d*f*Sqrt[x])] - 4*b*n*(2*(a + b*Log[c*x^n])*PolyLog[ 
4, -(d*f*Sqrt[x])] - 4*b*n*PolyLog[5, -(d*f*Sqrt[x])]))
 

Defintions of rubi rules used

rule 2821
Int[(Log[(d_.)*((e_) + (f_.)*(x_)^(m_.))]*((a_.) + Log[(c_.)*(x_)^(n_.)]*(b 
_.))^(p_.))/(x_), x_Symbol] :> Simp[(-PolyLog[2, (-d)*f*x^m])*((a + b*Log[c 
*x^n])^p/m), x] + Simp[b*n*(p/m)   Int[PolyLog[2, (-d)*f*x^m]*((a + b*Log[c 
*x^n])^(p - 1)/x), x], x] /; FreeQ[{a, b, c, d, e, f, m, n}, x] && IGtQ[p, 
0] && EqQ[d*e, 1]
 

rule 2830
Int[(((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*PolyLog[k_, (e_.)*(x_)^(q_ 
.)])/(x_), x_Symbol] :> Simp[PolyLog[k + 1, e*x^q]*((a + b*Log[c*x^n])^p/q) 
, x] - Simp[b*n*(p/q)   Int[PolyLog[k + 1, e*x^q]*((a + b*Log[c*x^n])^(p - 
1)/x), x], x] /; FreeQ[{a, b, c, e, k, n, q}, x] && GtQ[p, 0]
 

rule 7143
Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_S 
ymbol] :> Simp[PolyLog[n + 1, c*(a + b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d 
, e, n, p}, x] && EqQ[b*d, a*e]
 
Maple [F]

\[\int \frac {\ln \left (d \left (\frac {1}{d}+f \sqrt {x}\right )\right ) {\left (a +b \ln \left (c \,x^{n}\right )\right )}^{3}}{x}d x\]

Input:

int(ln(d*(1/d+f*x^(1/2)))*(a+b*ln(c*x^n))^3/x,x)
 

Output:

int(ln(d*(1/d+f*x^(1/2)))*(a+b*ln(c*x^n))^3/x,x)
 

Fricas [F]

\[ \int \frac {\log \left (d \left (\frac {1}{d}+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^3}{x} \, dx=\int { \frac {{\left (b \log \left (c x^{n}\right ) + a\right )}^{3} \log \left ({\left (f \sqrt {x} + \frac {1}{d}\right )} d\right )}{x} \,d x } \] Input:

integrate(log(d*(1/d+f*x^(1/2)))*(a+b*log(c*x^n))^3/x,x, algorithm="fricas 
")
 

Output:

integral((b^3*log(c*x^n)^3 + 3*a*b^2*log(c*x^n)^2 + 3*a^2*b*log(c*x^n) + a 
^3)*log(d*f*sqrt(x) + 1)/x, x)
 

Sympy [F(-1)]

Timed out. \[ \int \frac {\log \left (d \left (\frac {1}{d}+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^3}{x} \, dx=\text {Timed out} \] Input:

integrate(ln(d*(1/d+f*x**(1/2)))*(a+b*ln(c*x**n))**3/x,x)
 

Output:

Timed out
 

Maxima [F]

\[ \int \frac {\log \left (d \left (\frac {1}{d}+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^3}{x} \, dx=\int { \frac {{\left (b \log \left (c x^{n}\right ) + a\right )}^{3} \log \left ({\left (f \sqrt {x} + \frac {1}{d}\right )} d\right )}{x} \,d x } \] Input:

integrate(log(d*(1/d+f*x^(1/2)))*(a+b*log(c*x^n))^3/x,x, algorithm="maxima 
")
 

Output:

integrate((b*log(c*x^n) + a)^3*log((f*sqrt(x) + 1/d)*d)/x, x)
 

Giac [F]

\[ \int \frac {\log \left (d \left (\frac {1}{d}+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^3}{x} \, dx=\int { \frac {{\left (b \log \left (c x^{n}\right ) + a\right )}^{3} \log \left ({\left (f \sqrt {x} + \frac {1}{d}\right )} d\right )}{x} \,d x } \] Input:

integrate(log(d*(1/d+f*x^(1/2)))*(a+b*log(c*x^n))^3/x,x, algorithm="giac")
 

Output:

integrate((b*log(c*x^n) + a)^3*log((f*sqrt(x) + 1/d)*d)/x, x)
 

Mupad [F(-1)]

Timed out. \[ \int \frac {\log \left (d \left (\frac {1}{d}+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^3}{x} \, dx=\int \frac {\ln \left (d\,\left (f\,\sqrt {x}+\frac {1}{d}\right )\right )\,{\left (a+b\,\ln \left (c\,x^n\right )\right )}^3}{x} \,d x \] Input:

int((log(d*(f*x^(1/2) + 1/d))*(a + b*log(c*x^n))^3)/x,x)
 

Output:

int((log(d*(f*x^(1/2) + 1/d))*(a + b*log(c*x^n))^3)/x, x)
 

Reduce [F]

\[ \int \frac {\log \left (d \left (\frac {1}{d}+f \sqrt {x}\right )\right ) \left (a+b \log \left (c x^n\right )\right )^3}{x} \, dx=-\left (\int \frac {\mathrm {log}\left (\sqrt {x}\, d f +1\right )}{d^{2} f^{2} x^{2}-x}d x \right ) a^{3}+\left (\int \frac {\mathrm {log}\left (\sqrt {x}\, d f +1\right ) \mathrm {log}\left (x^{n} c \right )^{3}}{x}d x \right ) b^{3}+3 \left (\int \frac {\mathrm {log}\left (\sqrt {x}\, d f +1\right ) \mathrm {log}\left (x^{n} c \right )^{2}}{x}d x \right ) a \,b^{2}+3 \left (\int \frac {\mathrm {log}\left (\sqrt {x}\, d f +1\right ) \mathrm {log}\left (x^{n} c \right )}{x}d x \right ) a^{2} b +\left (\int \frac {\sqrt {x}\, \mathrm {log}\left (\sqrt {x}\, d f +1\right )}{d^{2} f^{2} x^{2}-x}d x \right ) a^{3} d f +\mathrm {log}\left (\sqrt {x}\, d f +1\right )^{2} a^{3} \] Input:

int(log(d*(1/d+f*x^(1/2)))*(a+b*log(c*x^n))^3/x,x)
 

Output:

 - int(log(sqrt(x)*d*f + 1)/(d**2*f**2*x**2 - x),x)*a**3 + int((log(sqrt(x 
)*d*f + 1)*log(x**n*c)**3)/x,x)*b**3 + 3*int((log(sqrt(x)*d*f + 1)*log(x** 
n*c)**2)/x,x)*a*b**2 + 3*int((log(sqrt(x)*d*f + 1)*log(x**n*c))/x,x)*a**2* 
b + int((sqrt(x)*log(sqrt(x)*d*f + 1))/(d**2*f**2*x**2 - x),x)*a**3*d*f + 
log(sqrt(x)*d*f + 1)**2*a**3