Optimal. Leaf size=139 \[ -\frac {4 \sqrt {c-a c x}}{a^4}-\frac {2 (c-a c x)^{3/2}}{3 a^4 c}-\frac {2 (c-a c x)^{5/2}}{5 a^4 c^2}+\frac {2 (c-a c x)^{7/2}}{7 a^4 c^3}-\frac {2 (c-a c x)^{9/2}}{9 a^4 c^4}+\frac {4 \sqrt {2} \sqrt {c} \tanh ^{-1}\left (\frac {\sqrt {c-a c x}}{\sqrt {2} \sqrt {c}}\right )}{a^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 139, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 6, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.261, Rules used = {6265, 21, 90,
52, 65, 212} \begin {gather*} -\frac {2 (c-a c x)^{9/2}}{9 a^4 c^4}+\frac {2 (c-a c x)^{7/2}}{7 a^4 c^3}-\frac {2 (c-a c x)^{5/2}}{5 a^4 c^2}-\frac {2 (c-a c x)^{3/2}}{3 a^4 c}-\frac {4 \sqrt {c-a c x}}{a^4}+\frac {4 \sqrt {2} \sqrt {c} \tanh ^{-1}\left (\frac {\sqrt {c-a c x}}{\sqrt {2} \sqrt {c}}\right )}{a^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 52
Rule 65
Rule 90
Rule 212
Rule 6265
Rubi steps
\begin {align*} \int e^{-2 \tanh ^{-1}(a x)} x^3 \sqrt {c-a c x} \, dx &=\int \frac {x^3 (1-a x) \sqrt {c-a c x}}{1+a x} \, dx\\ &=\frac {\int \frac {x^3 (c-a c x)^{3/2}}{1+a x} \, dx}{c}\\ &=\frac {\int \left (\frac {(c-a c x)^{3/2}}{a^3}-\frac {(c-a c x)^{3/2}}{a^3 (1+a x)}-\frac {(c-a c x)^{5/2}}{a^3 c}+\frac {(c-a c x)^{7/2}}{a^3 c^2}\right ) \, dx}{c}\\ &=-\frac {2 (c-a c x)^{5/2}}{5 a^4 c^2}+\frac {2 (c-a c x)^{7/2}}{7 a^4 c^3}-\frac {2 (c-a c x)^{9/2}}{9 a^4 c^4}-\frac {\int \frac {(c-a c x)^{3/2}}{1+a x} \, dx}{a^3 c}\\ &=-\frac {2 (c-a c x)^{3/2}}{3 a^4 c}-\frac {2 (c-a c x)^{5/2}}{5 a^4 c^2}+\frac {2 (c-a c x)^{7/2}}{7 a^4 c^3}-\frac {2 (c-a c x)^{9/2}}{9 a^4 c^4}-\frac {2 \int \frac {\sqrt {c-a c x}}{1+a x} \, dx}{a^3}\\ &=-\frac {4 \sqrt {c-a c x}}{a^4}-\frac {2 (c-a c x)^{3/2}}{3 a^4 c}-\frac {2 (c-a c x)^{5/2}}{5 a^4 c^2}+\frac {2 (c-a c x)^{7/2}}{7 a^4 c^3}-\frac {2 (c-a c x)^{9/2}}{9 a^4 c^4}-\frac {(4 c) \int \frac {1}{(1+a x) \sqrt {c-a c x}} \, dx}{a^3}\\ &=-\frac {4 \sqrt {c-a c x}}{a^4}-\frac {2 (c-a c x)^{3/2}}{3 a^4 c}-\frac {2 (c-a c x)^{5/2}}{5 a^4 c^2}+\frac {2 (c-a c x)^{7/2}}{7 a^4 c^3}-\frac {2 (c-a c x)^{9/2}}{9 a^4 c^4}+\frac {8 \text {Subst}\left (\int \frac {1}{2-\frac {x^2}{c}} \, dx,x,\sqrt {c-a c x}\right )}{a^4}\\ &=-\frac {4 \sqrt {c-a c x}}{a^4}-\frac {2 (c-a c x)^{3/2}}{3 a^4 c}-\frac {2 (c-a c x)^{5/2}}{5 a^4 c^2}+\frac {2 (c-a c x)^{7/2}}{7 a^4 c^3}-\frac {2 (c-a c x)^{9/2}}{9 a^4 c^4}+\frac {4 \sqrt {2} \sqrt {c} \tanh ^{-1}\left (\frac {\sqrt {c-a c x}}{\sqrt {2} \sqrt {c}}\right )}{a^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 87, normalized size = 0.63 \begin {gather*} -\frac {2 \sqrt {c-a c x} \left (788-236 a x+138 a^2 x^2-95 a^3 x^3+35 a^4 x^4\right )}{315 a^4}+\frac {4 \sqrt {2} \sqrt {c} \tanh ^{-1}\left (\frac {\sqrt {c-a c x}}{\sqrt {2} \sqrt {c}}\right )}{a^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.73, size = 101, normalized size = 0.73
method | result | size |
risch | \(\frac {2 \left (35 a^{4} x^{4}-95 a^{3} x^{3}+138 a^{2} x^{2}-236 a x +788\right ) \left (a x -1\right ) c}{315 a^{4} \sqrt {-c \left (a x -1\right )}}+\frac {4 \arctanh \left (\frac {\sqrt {-c x a +c}\, \sqrt {2}}{2 \sqrt {c}}\right ) \sqrt {2}\, \sqrt {c}}{a^{4}}\) | \(82\) |
derivativedivides | \(-\frac {2 \left (\frac {\left (-c x a +c \right )^{\frac {9}{2}}}{9}-\frac {c \left (-c x a +c \right )^{\frac {7}{2}}}{7}+\frac {c^{2} \left (-c x a +c \right )^{\frac {5}{2}}}{5}+\frac {c^{3} \left (-c x a +c \right )^{\frac {3}{2}}}{3}+2 c^{4} \sqrt {-c x a +c}-2 c^{\frac {9}{2}} \sqrt {2}\, \arctanh \left (\frac {\sqrt {-c x a +c}\, \sqrt {2}}{2 \sqrt {c}}\right )\right )}{c^{4} a^{4}}\) | \(101\) |
default | \(-\frac {2 \left (\frac {\left (-c x a +c \right )^{\frac {9}{2}}}{9}-\frac {c \left (-c x a +c \right )^{\frac {7}{2}}}{7}+\frac {c^{2} \left (-c x a +c \right )^{\frac {5}{2}}}{5}+\frac {c^{3} \left (-c x a +c \right )^{\frac {3}{2}}}{3}+2 c^{4} \sqrt {-c x a +c}-2 c^{\frac {9}{2}} \sqrt {2}\, \arctanh \left (\frac {\sqrt {-c x a +c}\, \sqrt {2}}{2 \sqrt {c}}\right )\right )}{c^{4} a^{4}}\) | \(101\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.47, size = 123, normalized size = 0.88 \begin {gather*} -\frac {2 \, {\left (315 \, \sqrt {2} c^{\frac {9}{2}} \log \left (-\frac {\sqrt {2} \sqrt {c} - \sqrt {-a c x + c}}{\sqrt {2} \sqrt {c} + \sqrt {-a c x + c}}\right ) + 35 \, {\left (-a c x + c\right )}^{\frac {9}{2}} - 45 \, {\left (-a c x + c\right )}^{\frac {7}{2}} c + 63 \, {\left (-a c x + c\right )}^{\frac {5}{2}} c^{2} + 105 \, {\left (-a c x + c\right )}^{\frac {3}{2}} c^{3} + 630 \, \sqrt {-a c x + c} c^{4}\right )}}{315 \, a^{4} c^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 169, normalized size = 1.22 \begin {gather*} \left [\frac {2 \, {\left (315 \, \sqrt {2} \sqrt {c} \log \left (\frac {a c x - 2 \, \sqrt {2} \sqrt {-a c x + c} \sqrt {c} - 3 \, c}{a x + 1}\right ) - {\left (35 \, a^{4} x^{4} - 95 \, a^{3} x^{3} + 138 \, a^{2} x^{2} - 236 \, a x + 788\right )} \sqrt {-a c x + c}\right )}}{315 \, a^{4}}, -\frac {2 \, {\left (630 \, \sqrt {2} \sqrt {-c} \arctan \left (\frac {\sqrt {2} \sqrt {-a c x + c} \sqrt {-c}}{2 \, c}\right ) + {\left (35 \, a^{4} x^{4} - 95 \, a^{3} x^{3} + 138 \, a^{2} x^{2} - 236 \, a x + 788\right )} \sqrt {-a c x + c}\right )}}{315 \, a^{4}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 10.56, size = 126, normalized size = 0.91 \begin {gather*} \frac {2 \left (- \frac {2 \sqrt {2} c^{5} \operatorname {atan}{\left (\frac {\sqrt {2} \sqrt {- a c x + c}}{2 \sqrt {- c}} \right )}}{\sqrt {- c}} - 2 c^{4} \sqrt {- a c x + c} - \frac {c^{3} \left (- a c x + c\right )^{\frac {3}{2}}}{3} - \frac {c^{2} \left (- a c x + c\right )^{\frac {5}{2}}}{5} + \frac {c \left (- a c x + c\right )^{\frac {7}{2}}}{7} - \frac {\left (- a c x + c\right )^{\frac {9}{2}}}{9}\right )}{a^{4} c^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 159, normalized size = 1.14 \begin {gather*} -\frac {4 \, \sqrt {2} c \arctan \left (\frac {\sqrt {2} \sqrt {-a c x + c}}{2 \, \sqrt {-c}}\right )}{a^{4} \sqrt {-c}} - \frac {2 \, {\left (35 \, {\left (a c x - c\right )}^{4} \sqrt {-a c x + c} a^{32} c^{32} + 45 \, {\left (a c x - c\right )}^{3} \sqrt {-a c x + c} a^{32} c^{33} + 63 \, {\left (a c x - c\right )}^{2} \sqrt {-a c x + c} a^{32} c^{34} + 105 \, {\left (-a c x + c\right )}^{\frac {3}{2}} a^{32} c^{35} + 630 \, \sqrt {-a c x + c} a^{32} c^{36}\right )}}{315 \, a^{36} c^{36}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.85, size = 114, normalized size = 0.82 \begin {gather*} \frac {2\,{\left (c-a\,c\,x\right )}^{7/2}}{7\,a^4\,c^3}-\frac {2\,{\left (c-a\,c\,x\right )}^{3/2}}{3\,a^4\,c}-\frac {2\,{\left (c-a\,c\,x\right )}^{5/2}}{5\,a^4\,c^2}-\frac {4\,\sqrt {c-a\,c\,x}}{a^4}-\frac {2\,{\left (c-a\,c\,x\right )}^{9/2}}{9\,a^4\,c^4}-\frac {\sqrt {2}\,\sqrt {c}\,\mathrm {atan}\left (\frac {\sqrt {2}\,\sqrt {c-a\,c\,x}\,1{}\mathrm {i}}{2\,\sqrt {c}}\right )\,4{}\mathrm {i}}{a^4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________