Optimal. Leaf size=98 \[ -\frac {2 \text {Li}_4\left (-e \left (f^{c (a+b x)}\right )^n\right )}{b^3 c^3 n^3 \log ^3(f)}+\frac {2 x \text {Li}_3\left (-e \left (f^{c (a+b x)}\right )^n\right )}{b^2 c^2 n^2 \log ^2(f)}-\frac {x^2 \text {Li}_2\left (-e \left (f^{c (a+b x)}\right )^n\right )}{b c n \log (f)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 98, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {2531, 6609, 2282, 6589} \[ \frac {2 x \text {PolyLog}\left (3,-e \left (f^{c (a+b x)}\right )^n\right )}{b^2 c^2 n^2 \log ^2(f)}-\frac {2 \text {PolyLog}\left (4,-e \left (f^{c (a+b x)}\right )^n\right )}{b^3 c^3 n^3 \log ^3(f)}-\frac {x^2 \text {PolyLog}\left (2,-e \left (f^{c (a+b x)}\right )^n\right )}{b c n \log (f)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2282
Rule 2531
Rule 6589
Rule 6609
Rubi steps
\begin {align*} \int x^2 \log \left (1+e \left (f^{c (a+b x)}\right )^n\right ) \, dx &=-\frac {x^2 \text {Li}_2\left (-e \left (f^{c (a+b x)}\right )^n\right )}{b c n \log (f)}+\frac {2 \int x \text {Li}_2\left (-e \left (f^{c (a+b x)}\right )^n\right ) \, dx}{b c n \log (f)}\\ &=-\frac {x^2 \text {Li}_2\left (-e \left (f^{c (a+b x)}\right )^n\right )}{b c n \log (f)}+\frac {2 x \text {Li}_3\left (-e \left (f^{c (a+b x)}\right )^n\right )}{b^2 c^2 n^2 \log ^2(f)}-\frac {2 \int \text {Li}_3\left (-e \left (f^{c (a+b x)}\right )^n\right ) \, dx}{b^2 c^2 n^2 \log ^2(f)}\\ &=-\frac {x^2 \text {Li}_2\left (-e \left (f^{c (a+b x)}\right )^n\right )}{b c n \log (f)}+\frac {2 x \text {Li}_3\left (-e \left (f^{c (a+b x)}\right )^n\right )}{b^2 c^2 n^2 \log ^2(f)}-\frac {2 \operatorname {Subst}\left (\int \frac {\text {Li}_3\left (-e x^n\right )}{x} \, dx,x,f^{c (a+b x)}\right )}{b^3 c^3 n^2 \log ^3(f)}\\ &=-\frac {x^2 \text {Li}_2\left (-e \left (f^{c (a+b x)}\right )^n\right )}{b c n \log (f)}+\frac {2 x \text {Li}_3\left (-e \left (f^{c (a+b x)}\right )^n\right )}{b^2 c^2 n^2 \log ^2(f)}-\frac {2 \text {Li}_4\left (-e \left (f^{c (a+b x)}\right )^n\right )}{b^3 c^3 n^3 \log ^3(f)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 98, normalized size = 1.00 \[ -\frac {2 \text {Li}_4\left (-e \left (f^{c (a+b x)}\right )^n\right )}{b^3 c^3 n^3 \log ^3(f)}+\frac {2 x \text {Li}_3\left (-e \left (f^{c (a+b x)}\right )^n\right )}{b^2 c^2 n^2 \log ^2(f)}-\frac {x^2 \text {Li}_2\left (-e \left (f^{c (a+b x)}\right )^n\right )}{b c n \log (f)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [C] time = 0.80, size = 93, normalized size = 0.95 \[ -\frac {b^{2} c^{2} n^{2} x^{2} {\rm Li}_2\left (-e f^{b c n x + a c n}\right ) \log \relax (f)^{2} - 2 \, b c n x \log \relax (f) {\rm polylog}\left (3, -e f^{b c n x + a c n}\right ) + 2 \, {\rm polylog}\left (4, -e f^{b c n x + a c n}\right )}{b^{3} c^{3} n^{3} \log \relax (f)^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{2} \log \left (e {\left (f^{{\left (b x + a\right )} c}\right )}^{n} + 1\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.35, size = 430, normalized size = 4.39 \[ \frac {x^{3} \ln \left (e \left (f^{\left (b x +a \right ) c}\right )^{n}+1\right )}{3}-\frac {x^{3} \ln \left (e \,f^{b c n x} f^{-b c n x} \left (f^{\left (b x +a \right ) c}\right )^{n}+1\right )}{3}-\frac {x^{2} \dilog \left (e \,f^{b c n x} f^{-b c n x} \left (f^{\left (b x +a \right ) c}\right )^{n}+1\right )}{b c n \ln \relax (f )}+\frac {2 x \dilog \left (e \,f^{b c n x} f^{-b c n x} \left (f^{\left (b x +a \right ) c}\right )^{n}+1\right ) \ln \left (f^{\left (b x +a \right ) c}\right )}{b^{2} c^{2} n \ln \relax (f )^{2}}-\frac {2 x \polylog \left (2, -e \,f^{b c n x} f^{-b c n x} \left (f^{\left (b x +a \right ) c}\right )^{n}\right ) \ln \left (f^{\left (b x +a \right ) c}\right )}{b^{2} c^{2} n \ln \relax (f )^{2}}+\frac {2 x \polylog \left (3, -e \,f^{b c n x} f^{-b c n x} \left (f^{\left (b x +a \right ) c}\right )^{n}\right )}{b^{2} c^{2} n^{2} \ln \relax (f )^{2}}-\frac {\dilog \left (e \,f^{b c n x} f^{-b c n x} \left (f^{\left (b x +a \right ) c}\right )^{n}+1\right ) \ln \left (f^{\left (b x +a \right ) c}\right )^{2}}{b^{3} c^{3} n \ln \relax (f )^{3}}+\frac {\polylog \left (2, -e \,f^{b c n x} f^{-b c n x} \left (f^{\left (b x +a \right ) c}\right )^{n}\right ) \ln \left (f^{\left (b x +a \right ) c}\right )^{2}}{b^{3} c^{3} n \ln \relax (f )^{3}}-\frac {2 \polylog \left (4, -e \,f^{b c n x} f^{-b c n x} \left (f^{\left (b x +a \right ) c}\right )^{n}\right )}{b^{3} c^{3} n^{3} \ln \relax (f )^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.81, size = 153, normalized size = 1.56 \[ \frac {1}{3} \, x^{3} \log \left (e f^{{\left (b x + a\right )} c n} + 1\right ) - \frac {b^{3} c^{3} n^{3} x^{3} \log \left (e f^{b c n x} f^{a c n} + 1\right ) \log \relax (f)^{3} + 3 \, b^{2} c^{2} n^{2} x^{2} {\rm Li}_2\left (-e f^{b c n x} f^{a c n}\right ) \log \relax (f)^{2} - 6 \, b c n x \log \relax (f) {\rm Li}_{3}(-e f^{b c n x} f^{a c n}) + 6 \, {\rm Li}_{4}(-e f^{b c n x} f^{a c n})}{3 \, b^{3} c^{3} n^{3} \log \relax (f)^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int x^2\,\ln \left (e\,{\left (f^{c\,\left (a+b\,x\right )}\right )}^n+1\right ) \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
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^{3} e^{b c n x \log {\relax (f )}}}{e e^{a c n \log {\relax (f )}} e^{b c n x \log {\relax (f )}} + 1}\, dx}{3} + \frac {x^{3} \log {\left (e \left (f^{c \left (a + b x\right )}\right )^{n} + 1 \right )}}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________