Optimal. Leaf size=38 \[ -\frac {4 \sqrt {c-a c x}}{a}+\frac {2 (c-a c x)^{3/2}}{3 a c} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 38, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {6265, 21, 45}
\begin {gather*} \frac {2 (c-a c x)^{3/2}}{3 a c}-\frac {4 \sqrt {c-a c x}}{a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 45
Rule 6265
Rubi steps
\begin {align*} \int e^{2 \tanh ^{-1}(a x)} \sqrt {c-a c x} \, dx &=\int \frac {(1+a x) \sqrt {c-a c x}}{1-a x} \, dx\\ &=c \int \frac {1+a x}{\sqrt {c-a c x}} \, dx\\ &=c \int \left (\frac {2}{\sqrt {c-a c x}}-\frac {\sqrt {c-a c x}}{c}\right ) \, dx\\ &=-\frac {4 \sqrt {c-a c x}}{a}+\frac {2 (c-a c x)^{3/2}}{3 a c}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 23, normalized size = 0.61 \begin {gather*} -\frac {2 (5+a x) \sqrt {c-a c x}}{3 a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.28, size = 33, normalized size = 0.87
method | result | size |
gosper | \(-\frac {2 \sqrt {-c x a +c}\, \left (a x +5\right )}{3 a}\) | \(20\) |
trager | \(-\frac {2 \sqrt {-c x a +c}\, \left (a x +5\right )}{3 a}\) | \(20\) |
risch | \(\frac {2 c \left (a x +5\right ) \left (a x -1\right )}{3 a \sqrt {-c \left (a x -1\right )}}\) | \(27\) |
derivativedivides | \(\frac {\frac {2 \left (-c x a +c \right )^{\frac {3}{2}}}{3}-4 c \sqrt {-c x a +c}}{a c}\) | \(33\) |
default | \(\frac {\frac {2 \left (-c x a +c \right )^{\frac {3}{2}}}{3}-4 c \sqrt {-c x a +c}}{a c}\) | \(33\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 30, normalized size = 0.79 \begin {gather*} \frac {2 \, {\left ({\left (-a c x + c\right )}^{\frac {3}{2}} - 6 \, \sqrt {-a c x + c} c\right )}}{3 \, a c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 19, normalized size = 0.50 \begin {gather*} -\frac {2 \, \sqrt {-a c x + c} {\left (a x + 5\right )}}{3 \, a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 2.52, size = 31, normalized size = 0.82 \begin {gather*} - \frac {2 \cdot \left (2 c \sqrt {- a c x + c} - \frac {\left (- a c x + c\right )^{\frac {3}{2}}}{3}\right )}{a c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 44, normalized size = 1.16 \begin {gather*} -\frac {2 \, {\left (3 \, \sqrt {-a c x + c} - \frac {{\left (-a c x + c\right )}^{\frac {3}{2}} - 3 \, \sqrt {-a c x + c} c}{c}\right )}}{3 \, a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 32, normalized size = 0.84 \begin {gather*} \frac {2\,{\left (c-a\,c\,x\right )}^{3/2}}{3\,a\,c}-\frac {4\,\sqrt {c-a\,c\,x}}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________