Optimal. Leaf size=52 \[ \frac {e \left (\frac {a+b x}{c+d x}\right )^n}{(b c-a d) n \left (1-e \left (\frac {a+b x}{c+d x}\right )^n\right )^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 1.44, antiderivative size = 52, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 76, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {6873, 12, 6824,
34} \begin {gather*} \frac {e \left (\frac {a+b x}{c+d x}\right )^n}{n (b c-a d) \left (1-e \left (\frac {a+b x}{c+d x}\right )^n\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 34
Rule 6824
Rule 6873
Rubi steps
\begin {align*} \int \frac {e \left (\frac {a+b x}{c+d x}\right )^n+e^2 \left (\frac {a+b x}{c+d x}\right )^{2 n}}{(a+b x) (c+d x) \left (1-e \left (\frac {a+b x}{c+d x}\right )^n\right )^3} \, dx &=\int \frac {e \left (\frac {a+b x}{c+d x}\right )^n \left (1+e \left (\frac {a+b x}{c+d x}\right )^n\right )}{(a+b x) (c+d x) \left (1-e \left (\frac {a+b x}{c+d x}\right )^n\right )^3} \, dx\\ &=e \int \frac {\left (\frac {a+b x}{c+d x}\right )^n \left (1+e \left (\frac {a+b x}{c+d x}\right )^n\right )}{(a+b x) (c+d x) \left (1-e \left (\frac {a+b x}{c+d x}\right )^n\right )^3} \, dx\\ &=\frac {\text {Subst}\left (\int \frac {1+x}{(1-x)^3} \, dx,x,e \left (\frac {a+b x}{c+d x}\right )^n\right )}{(b c-a d) n}\\ &=\frac {e \left (\frac {a+b x}{c+d x}\right )^n}{(b c-a d) n \left (1-e \left (\frac {a+b x}{c+d x}\right )^n\right )^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.50, size = 52, normalized size = 1.00 \begin {gather*} -\frac {e \left (\frac {a+b x}{c+d x}\right )^n}{(-b c+a d) n \left (-1+e \left (\frac {a+b x}{c+d x}\right )^n\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.51, size = 53, normalized size = 1.02
method | result | size |
risch | \(-\frac {e \left (\frac {b x +a}{d x +c}\right )^{n}}{n \left (a d -c b \right ) \left (-1+e \left (\frac {b x +a}{d x +c}\right )^{n}\right )^{2}}\) | \(53\) |
norman | \(-\frac {e \,{\mathrm e}^{n \ln \left (\frac {b x +a}{d x +c}\right )}}{n \left (a d -c b \right ) \left (-1+e \,{\mathrm e}^{n \ln \left (\frac {b x +a}{d x +c}\right )}\right )^{2}}\) | \(57\) |
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. 207 vs.
\(2 (53) = 106\).
time = 0.30, size = 207, normalized size = 3.98 \begin {gather*} -\frac {1}{2} \, {\left (\frac {e^{\left (2 \, n \log \left (b x + a\right ) + 1\right )} - 2 \, e^{\left (n \log \left (b x + a\right ) + n \log \left (d x + c\right )\right )}}{{\left (b c n - a d n\right )} {\left (d x + c\right )}^{2 \, n} + {\left (b c n - a d n\right )} e^{\left (2 \, n \log \left (b x + a\right ) + 2\right )} - 2 \, {\left (b c n - a d n\right )} e^{\left (n \log \left (b x + a\right ) + n \log \left (d x + c\right ) + 1\right )}} - \frac {e^{\left (2 \, n \log \left (b x + a\right ) + 1\right )}}{{\left (b c n - a d n\right )} {\left (d x + c\right )}^{2 \, n} + {\left (b c n - a d n\right )} e^{\left (2 \, n \log \left (b x + a\right ) + 2\right )} - 2 \, {\left (b c n - a d n\right )} e^{\left (n \log \left (b x + a\right ) + n \log \left (d x + c\right ) + 1\right )}}\right )} e \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 88, normalized size = 1.69 \begin {gather*} \frac {\left (\frac {b x + a}{d x + c}\right )^{n} e}{{\left (b c - a d\right )} n \left (\frac {b x + a}{d x + c}\right )^{2 \, n} e^{2} - 2 \, {\left (b c - a d\right )} n \left (\frac {b x + a}{d x + c}\right )^{n} e + {\left (b c - a d\right )} n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \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 [B]
time = 0.25, size = 81, normalized size = 1.56 \begin {gather*} -\frac {e\,{\left (\frac {a+b\,x}{c+d\,x}\right )}^n}{n\,\left (a\,d-b\,c\right )\,\left (e^2\,{\left (\frac {a}{c+d\,x}+\frac {b\,x}{c+d\,x}\right )}^{2\,n}-2\,e\,{\left (\frac {a+b\,x}{c+d\,x}\right )}^n+1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________