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.0839535, antiderivative size = 36, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {6167, 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 6167
Rule 6130
Rule 21
Rule 43
Rubi steps
\begin{align*} \int \frac{e^{2 \coth ^{-1}(a x)}}{\sqrt{c-a c x}} \, dx &=-\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\\ &=-\left (c \int \frac{1+a x}{(c-a c x)^{3/2}} \, dx\right )\\ &=-\left (c \int \left (\frac{2}{(c-a c x)^{3/2}}-\frac{1}{c \sqrt{c-a c x}}\right ) \, dx\right )\\ &=-\frac{4}{a \sqrt{c-a c x}}-\frac{2 \sqrt{c-a c x}}{a c}\\ \end{align*}
Mathematica [A] time = 0.0251678, size = 21, normalized size = 0.58 \[ \frac{2 a x-6}{a \sqrt{c-a c x}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.041, size = 20, normalized size = 0.6 \begin{align*} 2\,{\frac{ax-3}{a\sqrt{-acx+c}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.00103, size = 41, normalized size = 1.14 \begin{align*} -\frac{2 \,{\left (\sqrt{-a c x + c} + \frac{2 \, c}{\sqrt{-a c x + c}}\right )}}{a c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.5983, size = 63, normalized size = 1.75 \begin{align*} -\frac{2 \, \sqrt{-a c x + c}{\left (a x - 3\right )}}{a^{2} c x - a c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 14.7232, size = 51, normalized size = 1.42 \begin{align*} \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} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.16585, size = 43, normalized size = 1.19 \begin{align*} -\frac{4}{\sqrt{-a c x + c} a} - \frac{2 \, \sqrt{-a c x + c}}{a c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]