Optimal. Leaf size=38 \[ -\text {Li}_2\left (-\frac {b e^x}{a}\right )+x \log \left (a+b e^x\right )-x \log \left (\frac {b e^x}{a}+1\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 38, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {2280, 2190, 2279, 2391} \[ -\text {PolyLog}\left (2,-\frac {b e^x}{a}\right )+x \log \left (a+b e^x\right )-x \log \left (\frac {b e^x}{a}+1\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2190
Rule 2279
Rule 2280
Rule 2391
Rubi steps
\begin {align*} \int \log \left (a+b e^x\right ) \, dx &=x \log \left (a+b e^x\right )-b \int \frac {e^x x}{a+b e^x} \, dx\\ &=x \log \left (a+b e^x\right )-x \log \left (1+\frac {b e^x}{a}\right )+\int \log \left (1+\frac {b e^x}{a}\right ) \, dx\\ &=x \log \left (a+b e^x\right )-x \log \left (1+\frac {b e^x}{a}\right )+\operatorname {Subst}\left (\int \frac {\log \left (1+\frac {b x}{a}\right )}{x} \, dx,x,e^x\right )\\ &=x \log \left (a+b e^x\right )-x \log \left (1+\frac {b e^x}{a}\right )-\text {Li}_2\left (-\frac {b e^x}{a}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 38, normalized size = 1.00 \[ -\text {Li}_2\left (-\frac {b e^x}{a}\right )+x \log \left (a+b e^x\right )-x \log \left (\frac {b e^x}{a}+1\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.16, size = 40, normalized size = 1.05 \[ x \log \left (b e^{x} + a\right ) - x \log \left (\frac {b e^{x} + a}{a}\right ) - {\rm Li}_2\left (-\frac {b e^{x} + a}{a} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \log \left (b e^{x} + a\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.08, size = 28, normalized size = 0.74 \[ \ln \left (-\frac {b \,{\mathrm e}^{x}}{a}\right ) \ln \left (b \,{\mathrm e}^{x}+a \right )+\dilog \left (-\frac {b \,{\mathrm e}^{x}}{a}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.69, size = 34, normalized size = 0.89 \[ \log \left (b e^{x} + a\right ) \log \left (-\frac {b e^{x} + a}{a} + 1\right ) + {\rm Li}_2\left (\frac {b e^{x} + a}{a}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.38, size = 35, normalized size = 0.92 \[ x\,\ln \left (a+b\,{\mathrm {e}}^x\right )-x\,\ln \left (\frac {b\,{\mathrm {e}}^x}{a}+1\right )-\mathrm {polylog}\left (2,-\frac {b\,{\mathrm {e}}^x}{a}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ - b \int \frac {x e^{x}}{a + b e^{x}}\, dx + x \log {\left (a + b e^{x} \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________