Optimal. Leaf size=18 \[ \frac{2 \tanh ^{-1}(\tanh (a+b x))^{3/2}}{3 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0047037, antiderivative size = 18, 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 \tanh ^{-1}(\tanh (a+b x))^{3/2}}{3 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2157
Rule 30
Rubi steps
\begin{align*} \int \sqrt{\tanh ^{-1}(\tanh (a+b x))} \, dx &=\frac{\operatorname{Subst}\left (\int \sqrt{x} \, dx,x,\tanh ^{-1}(\tanh (a+b x))\right )}{b}\\ &=\frac{2 \tanh ^{-1}(\tanh (a+b x))^{3/2}}{3 b}\\ \end{align*}
Mathematica [A] time = 0.0064963, size = 18, normalized size = 1. \[ \frac{2 \tanh ^{-1}(\tanh (a+b x))^{3/2}}{3 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.029, size = 15, normalized size = 0.8 \begin{align*}{\frac{2}{3\,b} \left ({\it Artanh} \left ( \tanh \left ( bx+a \right ) \right ) \right ) ^{{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.6853, size = 16, normalized size = 0.89 \begin{align*} \frac{2 \,{\left (b x + a\right )}^{\frac{3}{2}}}{3 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.50621, size = 31, normalized size = 1.72 \begin{align*} \frac{2 \,{\left (b x + a\right )}^{\frac{3}{2}}}{3 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.754845, size = 26, normalized size = 1.44 \begin{align*} \begin{cases} \frac{2 \operatorname{atanh}^{\frac{3}{2}}{\left (\tanh{\left (a + b x \right )} \right )}}{3 b} & \text{for}\: b \neq 0 \\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.15123, size = 24, normalized size = 1.33 \begin{align*} \frac{\sqrt{2}{\left (2 \, b x + 2 \, a\right )}^{\frac{3}{2}}}{6 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]