Optimal. Leaf size=36 \[ \frac {2 \sqrt {c-a c x}}{a c}+\frac {4}{a \sqrt {c-a c x}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 36, 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 = {6130, 21, 43} \[ \frac {2 \sqrt {c-a c x}}{a c}+\frac {4}{a \sqrt {c-a c x}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 43
Rule 6130
Rubi steps
\begin {align*} \int \frac {e^{2 \tanh ^{-1}(a x)}}{\sqrt {c-a c x}} \, dx &=\int \frac {1+a x}{(1-a x) \sqrt {c-a c x}} \, dx\\ &=c \int \frac {1+a x}{(c-a c x)^{3/2}} \, dx\\ &=c \int \left (\frac {2}{(c-a c x)^{3/2}}-\frac {1}{c \sqrt {c-a c x}}\right ) \, dx\\ &=\frac {4}{a \sqrt {c-a c x}}+\frac {2 \sqrt {c-a c x}}{a c}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 21, normalized size = 0.58 \[ \frac {6-2 a x}{a \sqrt {c-a c x}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.51, size = 29, normalized size = 0.81 \[ \frac {2 \, \sqrt {-a c x + c} {\left (a x - 3\right )}}{a^{2} c x - a c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.25, size = 32, normalized size = 0.89 \[ \frac {4}{\sqrt {-a c x + c} a} + \frac {2 \, \sqrt {-a c x + c}}{a c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 20, normalized size = 0.56 \[ -\frac {2 \left (a x -3\right )}{\sqrt {-a c x +c}\, a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.31, size = 30, normalized size = 0.83 \[ \frac {2 \, {\left (\sqrt {-a c x + c} + \frac {2 \, c}{\sqrt {-a c x + c}}\right )}}{a c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 20, normalized size = 0.56 \[ -\frac {2\,a\,x-6}{a\,\sqrt {c-a\,c\,x}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 36.40, size = 48, normalized size = 1.33 \[ \begin {cases} \frac {\frac {2}{\sqrt {- a c x + c}} - \frac {2 \left (- \frac {c}{\sqrt {- a c x + c}} - \sqrt {- a c x + c}\right )}{c}}{a} & \text {for}\: a \neq 0 \\\frac {x}{\sqrt {c}} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________