3.125 \(\int x \log (d+e (f^{c (a+b x)})^n) \, dx\)

Optimal. Leaf size=118 \[ \frac {\text {Li}_3\left (-\frac {e \left (f^{c (a+b x)}\right )^n}{d}\right )}{b^2 c^2 n^2 \log ^2(f)}-\frac {x \text {Li}_2\left (-\frac {e \left (f^{c (a+b x)}\right )^n}{d}\right )}{b c n \log (f)}+\frac {1}{2} x^2 \log \left (e \left (f^{c (a+b x)}\right )^n+d\right )-\frac {1}{2} x^2 \log \left (\frac {e \left (f^{c (a+b x)}\right )^n}{d}+1\right ) \]

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 118, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {2532, 2531, 2282, 6589} \[ \frac {\text {PolyLog}\left (3,-\frac {e \left (f^{c (a+b x)}\right )^n}{d}\right )}{b^2 c^2 n^2 \log ^2(f)}-\frac {x \text {PolyLog}\left (2,-\frac {e \left (f^{c (a+b x)}\right )^n}{d}\right )}{b c n \log (f)}+\frac {1}{2} x^2 \log \left (e \left (f^{c (a+b x)}\right )^n+d\right )-\frac {1}{2} x^2 \log \left (\frac {e \left (f^{c (a+b x)}\right )^n}{d}+1\right ) \]

Antiderivative was successfully verified.

[In]

Int[x*Log[d + e*(f^(c*(a + b*x)))^n],x]

[Out]

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

Rule 2282

Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Dist[v/D[v, x], Subst[Int[FunctionOfExponentialFu
nction[u, x]/x, x], x, v], x]] /; FunctionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; F
reeQ[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x))*(F_)[v_] /; FreeQ[{a, b, c}, x
] && InverseFunctionQ[F[x]]]

Rule 2531

Int[Log[1 + (e_.)*((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.)]*((f_.) + (g_.)*(x_))^(m_.), x_Symbol] :> -Simp[((
f + g*x)^m*PolyLog[2, -(e*(F^(c*(a + b*x)))^n)])/(b*c*n*Log[F]), x] + Dist[(g*m)/(b*c*n*Log[F]), Int[(f + g*x)
^(m - 1)*PolyLog[2, -(e*(F^(c*(a + b*x)))^n)], x], x] /; FreeQ[{F, a, b, c, e, f, g, n}, x] && GtQ[m, 0]

Rule 2532

Int[Log[(d_) + (e_.)*((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.)]*((f_.) + (g_.)*(x_))^(m_.), x_Symbol] :> Simp[
((f + g*x)^(m + 1)*Log[d + e*(F^(c*(a + b*x)))^n])/(g*(m + 1)), x] + (Int[(f + g*x)^m*Log[1 + (e*(F^(c*(a + b*
x)))^n)/d], x] - Simp[((f + g*x)^(m + 1)*Log[1 + (e*(F^(c*(a + b*x)))^n)/d])/(g*(m + 1)), x]) /; FreeQ[{F, a,
b, c, d, e, f, g, n}, x] && GtQ[m, 0] && NeQ[d, 1]

Rule 6589

Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_Symbol] :> 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]

Rubi steps

\begin {align*} \int x \log \left (d+e \left (f^{c (a+b x)}\right )^n\right ) \, dx &=\frac {1}{2} x^2 \log \left (d+e \left (f^{c (a+b x)}\right )^n\right )-\frac {1}{2} x^2 \log \left (1+\frac {e \left (f^{c (a+b x)}\right )^n}{d}\right )+\int x \log \left (1+\frac {e \left (f^{c (a+b x)}\right )^n}{d}\right ) \, dx\\ &=\frac {1}{2} x^2 \log \left (d+e \left (f^{c (a+b x)}\right )^n\right )-\frac {1}{2} x^2 \log \left (1+\frac {e \left (f^{c (a+b x)}\right )^n}{d}\right )-\frac {x \text {Li}_2\left (-\frac {e \left (f^{c (a+b x)}\right )^n}{d}\right )}{b c n \log (f)}+\frac {\int \text {Li}_2\left (-\frac {e \left (f^{c (a+b x)}\right )^n}{d}\right ) \, dx}{b c n \log (f)}\\ &=\frac {1}{2} x^2 \log \left (d+e \left (f^{c (a+b x)}\right )^n\right )-\frac {1}{2} x^2 \log \left (1+\frac {e \left (f^{c (a+b x)}\right )^n}{d}\right )-\frac {x \text {Li}_2\left (-\frac {e \left (f^{c (a+b x)}\right )^n}{d}\right )}{b c n \log (f)}+\frac {\operatorname {Subst}\left (\int \frac {\text {Li}_2\left (-\frac {e x^n}{d}\right )}{x} \, dx,x,f^{c (a+b x)}\right )}{b^2 c^2 n \log ^2(f)}\\ &=\frac {1}{2} x^2 \log \left (d+e \left (f^{c (a+b x)}\right )^n\right )-\frac {1}{2} x^2 \log \left (1+\frac {e \left (f^{c (a+b x)}\right )^n}{d}\right )-\frac {x \text {Li}_2\left (-\frac {e \left (f^{c (a+b x)}\right )^n}{d}\right )}{b c n \log (f)}+\frac {\text {Li}_3\left (-\frac {e \left (f^{c (a+b x)}\right )^n}{d}\right )}{b^2 c^2 n^2 \log ^2(f)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 118, normalized size = 1.00 \[ \frac {\text {Li}_3\left (-\frac {e \left (f^{c (a+b x)}\right )^n}{d}\right )}{b^2 c^2 n^2 \log ^2(f)}-\frac {x \text {Li}_2\left (-\frac {e \left (f^{c (a+b x)}\right )^n}{d}\right )}{b c n \log (f)}+\frac {1}{2} x^2 \log \left (e \left (f^{c (a+b x)}\right )^n+d\right )-\frac {1}{2} x^2 \log \left (\frac {e \left (f^{c (a+b x)}\right )^n}{d}+1\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[x*Log[d + e*(f^(c*(a + b*x)))^n],x]

[Out]

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

________________________________________________________________________________________

fricas [C]  time = 1.22, size = 169, normalized size = 1.43 \[ -\frac {2 \, b c n x {\rm Li}_2\left (-\frac {e f^{b c n x + a c n} + d}{d} + 1\right ) \log \relax (f) - {\left (b^{2} c^{2} n^{2} x^{2} - a^{2} c^{2} n^{2}\right )} \log \left (e f^{b c n x + a c n} + d\right ) \log \relax (f)^{2} + {\left (b^{2} c^{2} n^{2} x^{2} - a^{2} c^{2} n^{2}\right )} \log \relax (f)^{2} \log \left (\frac {e f^{b c n x + a c n} + d}{d}\right ) - 2 \, {\rm polylog}\left (3, -\frac {e f^{b c n x + a c n}}{d}\right )}{2 \, b^{2} c^{2} n^{2} \log \relax (f)^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*log(d+e*(f^(c*(b*x+a)))^n),x, algorithm="fricas")

[Out]

-1/2*(2*b*c*n*x*dilog(-(e*f^(b*c*n*x + a*c*n) + d)/d + 1)*log(f) - (b^2*c^2*n^2*x^2 - a^2*c^2*n^2)*log(e*f^(b*
c*n*x + a*c*n) + d)*log(f)^2 + (b^2*c^2*n^2*x^2 - a^2*c^2*n^2)*log(f)^2*log((e*f^(b*c*n*x + a*c*n) + d)/d) - 2
*polylog(3, -e*f^(b*c*n*x + a*c*n)/d))/(b^2*c^2*n^2*log(f)^2)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int x \log \left (e {\left (f^{{\left (b x + a\right )} c}\right )}^{n} + d\right )\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*log(d+e*(f^(c*(b*x+a)))^n),x, algorithm="giac")

[Out]

integrate(x*log(e*(f^((b*x + a)*c))^n + d), x)

________________________________________________________________________________________

maple [B]  time = 0.34, size = 558, normalized size = 4.73 \[ \frac {x^{2} \ln \left (e \left (f^{\left (b x +a \right ) c}\right )^{n}+d \right )}{2}-\frac {x^{2} \ln \left (e \,f^{b c n x} f^{-b c n x} \left (f^{\left (b x +a \right ) c}\right )^{n}+d \right )}{2}-\frac {x \ln \left (f^{\left (b x +a \right ) c}\right ) \ln \left (\frac {e \,f^{b c n x} f^{-b c n x} \left (f^{\left (b x +a \right ) c}\right )^{n}+d}{d}\right )}{b c \ln \relax (f )}+\frac {x \ln \left (f^{\left (b x +a \right ) c}\right ) \ln \left (e \,f^{b c n x} f^{-b c n x} \left (f^{\left (b x +a \right ) c}\right )^{n}+d \right )}{b c \ln \relax (f )}-\frac {x \dilog \left (\frac {e \,f^{b c n x} f^{-b c n x} \left (f^{\left (b x +a \right ) c}\right )^{n}+d}{d}\right )}{b c n \ln \relax (f )}+\frac {\ln \left (f^{\left (b x +a \right ) c}\right )^{2} \ln \left (\frac {e \,f^{b c n x} f^{-b c n x} \left (f^{\left (b x +a \right ) c}\right )^{n}+d}{d}\right )}{b^{2} c^{2} \ln \relax (f )^{2}}-\frac {\ln \left (f^{\left (b x +a \right ) c}\right )^{2} \ln \left (\frac {e \,f^{b c n x} f^{-b c n x} \left (f^{\left (b x +a \right ) c}\right )^{n}}{d}+1\right )}{2 b^{2} c^{2} \ln \relax (f )^{2}}-\frac {\ln \left (f^{\left (b x +a \right ) c}\right )^{2} \ln \left (e \,f^{b c n x} f^{-b c n x} \left (f^{\left (b x +a \right ) c}\right )^{n}+d \right )}{2 b^{2} c^{2} \ln \relax (f )^{2}}+\frac {\dilog \left (\frac {e \,f^{b c n x} f^{-b c n x} \left (f^{\left (b x +a \right ) c}\right )^{n}+d}{d}\right ) \ln \left (f^{\left (b x +a \right ) c}\right )}{b^{2} c^{2} n \ln \relax (f )^{2}}-\frac {\polylog \left (2, -\frac {e \,f^{b c n x} f^{-b c n x} \left (f^{\left (b x +a \right ) c}\right )^{n}}{d}\right ) \ln \left (f^{\left (b x +a \right ) c}\right )}{b^{2} c^{2} n \ln \relax (f )^{2}}+\frac {\polylog \left (3, -\frac {e \,f^{b c n x} f^{-b c n x} \left (f^{\left (b x +a \right ) c}\right )^{n}}{d}\right )}{b^{2} c^{2} n^{2} \ln \relax (f )^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*ln(e*(f^((b*x+a)*c))^n+d),x)

[Out]

1/2*x^2*ln(e*(f^((b*x+a)*c))^n+d)+1/c/ln(f)/b*ln(e*f^(b*c*n*x)*f^(-b*c*n*x)*(f^((b*x+a)*c))^n+d)*ln(f^((b*x+a)
*c))*x-1/c/ln(f)/b*ln((e*f^(b*c*n*x)*f^(-b*c*n*x)*(f^((b*x+a)*c))^n+d)/d)*x*ln(f^((b*x+a)*c))+1/c^2/ln(f)^2/b^
2/n^2*polylog(3,-1/d*e*f^(b*c*n*x)*f^(-b*c*n*x)*(f^((b*x+a)*c))^n)-1/2*ln(e*f^(b*c*n*x)*f^(-b*c*n*x)*(f^((b*x+
a)*c))^n+d)*x^2-1/2/c^2/ln(f)^2/b^2*ln(e*f^(b*c*n*x)*f^(-b*c*n*x)*(f^((b*x+a)*c))^n+d)*ln(f^((b*x+a)*c))^2-1/c
/ln(f)/b/n*dilog((e*f^(b*c*n*x)*f^(-b*c*n*x)*(f^((b*x+a)*c))^n+d)/d)*x+1/c^2/ln(f)^2/b^2/n*dilog((e*f^(b*c*n*x
)*f^(-b*c*n*x)*(f^((b*x+a)*c))^n+d)/d)*ln(f^((b*x+a)*c))+1/c^2/ln(f)^2/b^2*ln((e*f^(b*c*n*x)*f^(-b*c*n*x)*(f^(
(b*x+a)*c))^n+d)/d)*ln(f^((b*x+a)*c))^2-1/2/c^2/ln(f)^2/b^2*ln(1/d*e*f^(b*c*n*x)*f^(-b*c*n*x)*(f^((b*x+a)*c))^
n+1)*ln(f^((b*x+a)*c))^2-1/c^2/ln(f)^2/b^2/n*polylog(2,-1/d*e*f^(b*c*n*x)*f^(-b*c*n*x)*(f^((b*x+a)*c))^n)*ln(f
^((b*x+a)*c))

________________________________________________________________________________________

maxima [A]  time = 0.78, size = 126, normalized size = 1.07 \[ \frac {1}{2} \, x^{2} \log \left (e f^{{\left (b x + a\right )} c n} + d\right ) - \frac {b^{2} c^{2} n^{2} x^{2} \log \left (\frac {e f^{b c n x} f^{a c n}}{d} + 1\right ) \log \relax (f)^{2} + 2 \, b c n x {\rm Li}_2\left (-\frac {e f^{b c n x} f^{a c n}}{d}\right ) \log \relax (f) - 2 \, {\rm Li}_{3}(-\frac {e f^{b c n x} f^{a c n}}{d})}{2 \, b^{2} c^{2} n^{2} \log \relax (f)^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*log(d+e*(f^(c*(b*x+a)))^n),x, algorithm="maxima")

[Out]

1/2*x^2*log(e*f^((b*x + a)*c*n) + d) - 1/2*(b^2*c^2*n^2*x^2*log(e*f^(b*c*n*x)*f^(a*c*n)/d + 1)*log(f)^2 + 2*b*
c*n*x*dilog(-e*f^(b*c*n*x)*f^(a*c*n)/d)*log(f) - 2*polylog(3, -e*f^(b*c*n*x)*f^(a*c*n)/d))/(b^2*c^2*n^2*log(f)
^2)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int x\,\ln \left (d+e\,{\left (f^{c\,\left (a+b\,x\right )}\right )}^n\right ) \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*log(d + e*(f^(c*(a + b*x)))^n),x)

[Out]

int(x*log(d + e*(f^(c*(a + b*x)))^n), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ - \frac {b c e n e^{a c n \log {\relax (f )}} \log {\relax (f )} \int \frac {x^{2} e^{b c n x \log {\relax (f )}}}{d + e e^{a c n \log {\relax (f )}} e^{b c n x \log {\relax (f )}}}\, dx}{2} + \frac {x^{2} \log {\left (d + e \left (f^{c \left (a + b x\right )}\right )^{n} \right )}}{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*ln(d+e*(f**(c*(b*x+a)))**n),x)

[Out]

-b*c*e*n*exp(a*c*n*log(f))*log(f)*Integral(x**2*exp(b*c*n*x*log(f))/(d + e*exp(a*c*n*log(f))*exp(b*c*n*x*log(f
))), x)/2 + x**2*log(d + e*(f**(c*(a + b*x)))**n)/2

________________________________________________________________________________________