Optimal. Leaf size=118 \[ \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)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, 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 = {2612, 2611,
2320, 6724} \begin {gather*} \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 ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2320
Rule 2611
Rule 2612
Rule 6724
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 {\text {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 \begin {gather*} \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 {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(557\) vs.
\(2(114)=228\).
time = 0.02, size = 558, normalized size = 4.73
method | result | size |
risch | \(\frac {x^{2} \ln \left (d +e \left (f^{c \left (b x +a \right )}\right )^{n}\right )}{2}+\frac {\polylog \left (3, -\frac {e \,f^{b c n x} f^{-b c n x} \left (f^{c \left (b x +a \right )}\right )^{n}}{d}\right )}{c^{2} b^{2} \ln \left (f \right )^{2} n^{2}}+\frac {\ln \left (d +e \,f^{b c n x} f^{-b c n x} \left (f^{c \left (b x +a \right )}\right )^{n}\right ) \ln \left (f^{c \left (b x +a \right )}\right ) x}{c b \ln \left (f \right )}-\frac {\ln \left (\frac {d +e \,f^{b c n x} f^{-b c n x} \left (f^{c \left (b x +a \right )}\right )^{n}}{d}\right ) x \ln \left (f^{c \left (b x +a \right )}\right )}{c b \ln \left (f \right )}-\frac {\dilog \left (\frac {d +e \,f^{b c n x} f^{-b c n x} \left (f^{c \left (b x +a \right )}\right )^{n}}{d}\right ) x}{c b \ln \left (f \right ) n}+\frac {\dilog \left (\frac {d +e \,f^{b c n x} f^{-b c n x} \left (f^{c \left (b x +a \right )}\right )^{n}}{d}\right ) \ln \left (f^{c \left (b x +a \right )}\right )}{c^{2} b^{2} \ln \left (f \right )^{2} n}+\frac {\ln \left (\frac {d +e \,f^{b c n x} f^{-b c n x} \left (f^{c \left (b x +a \right )}\right )^{n}}{d}\right ) \ln \left (f^{c \left (b x +a \right )}\right )^{2}}{c^{2} b^{2} \ln \left (f \right )^{2}}-\frac {\ln \left (1+\frac {e \,f^{b c n x} f^{-b c n x} \left (f^{c \left (b x +a \right )}\right )^{n}}{d}\right ) \ln \left (f^{c \left (b x +a \right )}\right )^{2}}{2 c^{2} b^{2} \ln \left (f \right )^{2}}-\frac {\polylog \left (2, -\frac {e \,f^{b c n x} f^{-b c n x} \left (f^{c \left (b x +a \right )}\right )^{n}}{d}\right ) \ln \left (f^{c \left (b x +a \right )}\right )}{c^{2} b^{2} \ln \left (f \right )^{2} n}-\frac {\ln \left (d +e \,f^{b c n x} f^{-b c n x} \left (f^{c \left (b x +a \right )}\right )^{n}\right ) x^{2}}{2}-\frac {\ln \left (d +e \,f^{b c n x} f^{-b c n x} \left (f^{c \left (b x +a \right )}\right )^{n}\right ) \ln \left (f^{c \left (b x +a \right )}\right )^{2}}{2 c^{2} b^{2} \ln \left (f \right )^{2}}\) | \(558\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 133, normalized size = 1.13 \begin {gather*} \frac {1}{2} \, x^{2} \log \left (f^{{\left (b x + a\right )} c n} e + d\right ) - \frac {b^{2} c^{2} n^{2} x^{2} \log \left (f\right )^{2} \log \left (\frac {f^{a c n} e^{\left (b c n x \log \left (f\right ) + 1\right )}}{d} + 1\right ) + 2 \, b c n x {\rm Li}_2\left (-\frac {f^{a c n} e^{\left (b c n x \log \left (f\right ) + 1\right )}}{d}\right ) \log \left (f\right ) - 2 \, {\rm Li}_{3}(-\frac {f^{a c n} e^{\left (b c n x \log \left (f\right ) + 1\right )}}{d})}{2 \, b^{2} c^{2} n^{2} \log \left (f\right )^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 173, normalized size = 1.47 \begin {gather*} -\frac {2 \, b c n x {\rm Li}_2\left (-\frac {f^{b c n x + a c n} e + d}{d} + 1\right ) \log \left (f\right ) - {\left (b^{2} c^{2} n^{2} x^{2} - a^{2} c^{2} n^{2}\right )} \log \left (f^{b c n x + a c n} e + d\right ) \log \left (f\right )^{2} + {\left (b^{2} c^{2} n^{2} x^{2} - a^{2} c^{2} n^{2}\right )} \log \left (f\right )^{2} \log \left (\frac {f^{b c n x + a c n} e + d}{d}\right ) - 2 \, {\rm polylog}\left (3, -\frac {f^{b c n x + a c n} e}{d}\right )}{2 \, b^{2} c^{2} n^{2} \log \left (f\right )^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \frac {b c e n e^{a c n \log {\left (f \right )}} \log {\left (f \right )} \int \frac {x^{2} e^{b c n x \log {\left (f \right )}}}{d + e e^{a c n \log {\left (f \right )}} e^{b c n x \log {\left (f \right )}}}\, dx}{2} + \frac {x^{2} \log {\left (d + e \left (f^{c \left (a + b x\right )}\right )^{n} \right )}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x\,\ln \left (d+e\,{\left (f^{c\,\left (a+b\,x\right )}\right )}^n\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________