Optimal. Leaf size=34 \[ \frac {a}{3 b^2 \left (a+b e^x\right )^3}-\frac {1}{2 b^2 \left (a+b e^x\right )^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {2280, 45}
\begin {gather*} \frac {a}{3 b^2 \left (a+b e^x\right )^3}-\frac {1}{2 b^2 \left (a+b e^x\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 2280
Rubi steps
\begin {align*} \int \frac {e^{2 x}}{\left (a+b e^x\right )^4} \, dx &=\text {Subst}\left (\int \frac {x}{(a+b x)^4} \, dx,x,e^x\right )\\ &=\text {Subst}\left (\int \left (-\frac {a}{b (a+b x)^4}+\frac {1}{b (a+b x)^3}\right ) \, dx,x,e^x\right )\\ &=\frac {a}{3 b^2 \left (a+b e^x\right )^3}-\frac {1}{2 b^2 \left (a+b e^x\right )^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 26, normalized size = 0.76 \begin {gather*} \frac {-a-3 b e^x}{6 b^2 \left (a+b e^x\right )^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 29, normalized size = 0.85
method | result | size |
risch | \(-\frac {3 b \,{\mathrm e}^{x}+a}{6 b^{2} \left (a +b \,{\mathrm e}^{x}\right )^{3}}\) | \(21\) |
norman | \(\frac {-\frac {a}{6 b^{2}}-\frac {{\mathrm e}^{x}}{2 b}}{\left (a +b \,{\mathrm e}^{x}\right )^{3}}\) | \(24\) |
default | \(\frac {a}{3 b^{2} \left (a +b \,{\mathrm e}^{x}\right )^{3}}-\frac {1}{2 b^{2} \left (a +b \,{\mathrm e}^{x}\right )^{2}}\) | \(29\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 85 vs.
\(2 (28) = 56\).
time = 0.27, size = 85, normalized size = 2.50 \begin {gather*} -\frac {b e^{x}}{2 \, {\left (b^{5} e^{\left (3 \, x\right )} + 3 \, a b^{4} e^{\left (2 \, x\right )} + 3 \, a^{2} b^{3} e^{x} + a^{3} b^{2}\right )}} - \frac {a}{6 \, {\left (b^{5} e^{\left (3 \, x\right )} + 3 \, a b^{4} e^{\left (2 \, x\right )} + 3 \, a^{2} b^{3} e^{x} + a^{3} b^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 47, normalized size = 1.38 \begin {gather*} -\frac {3 \, b e^{x} + a}{6 \, {\left (b^{5} e^{\left (3 \, x\right )} + 3 \, a b^{4} e^{\left (2 \, x\right )} + 3 \, a^{2} b^{3} e^{x} + a^{3} b^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.06, size = 51, normalized size = 1.50 \begin {gather*} \frac {- a - 3 b e^{x}}{6 a^{3} b^{2} + 18 a^{2} b^{3} e^{x} + 18 a b^{4} e^{2 x} + 6 b^{5} e^{3 x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.56, size = 20, normalized size = 0.59 \begin {gather*} -\frac {3 \, b e^{x} + a}{6 \, {\left (b e^{x} + a\right )}^{3} b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.60, size = 53, normalized size = 1.56 \begin {gather*} \frac {\frac {{\mathrm {e}}^{2\,x}}{2\,a}+\frac {b\,{\mathrm {e}}^{3\,x}}{6\,a^2}}{a^3+3\,{\mathrm {e}}^x\,a^2\,b+3\,{\mathrm {e}}^{2\,x}\,a\,b^2+{\mathrm {e}}^{3\,x}\,b^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________