Optimal. Leaf size=16 \[ \frac{2 \sqrt{\tanh ^{-1}(\tanh (a+b x))}}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0044057, antiderivative size = 16, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {2157, 30} \[ \frac{2 \sqrt{\tanh ^{-1}(\tanh (a+b x))}}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2157
Rule 30
Rubi steps
\begin{align*} \int \frac{1}{\sqrt{\tanh ^{-1}(\tanh (a+b x))}} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1}{\sqrt{x}} \, dx,x,\tanh ^{-1}(\tanh (a+b x))\right )}{b}\\ &=\frac{2 \sqrt{\tanh ^{-1}(\tanh (a+b x))}}{b}\\ \end{align*}
Mathematica [A] time = 0.006343, size = 16, normalized size = 1. \[ \frac{2 \sqrt{\tanh ^{-1}(\tanh (a+b x))}}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.032, size = 15, normalized size = 0.9 \begin{align*} 2\,{\frac{\sqrt{{\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) }}{b}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.70043, size = 16, normalized size = 1. \begin{align*} \frac{2 \, \sqrt{b x + a}}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.05399, size = 26, normalized size = 1.62 \begin{align*} \frac{2 \, \sqrt{b x + a}}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 18.5199, size = 24, normalized size = 1.5 \begin{align*} \begin{cases} \frac{2 \sqrt{\operatorname{atanh}{\left (\tanh{\left (a + b x \right )} \right )}}}{b} & \text{for}\: b \neq 0 \\\frac{x}{\sqrt{\operatorname{atanh}{\left (\tanh{\left (a \right )} \right )}}} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.16846, size = 16, normalized size = 1. \begin{align*} \frac{2 \, \sqrt{b x + a}}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]