Optimal. Leaf size=63 \[ \frac {\tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {\tanh ^{-1}(\tanh (a+b x))}}\right ) \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )}{b^{3/2}}+\frac {\sqrt {x} \sqrt {\tanh ^{-1}(\tanh (a+b x))}}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {2200, 2196}
\begin {gather*} \frac {\tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {\tanh ^{-1}(\tanh (a+b x))}}\right ) \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )}{b^{3/2}}+\frac {\sqrt {x} \sqrt {\tanh ^{-1}(\tanh (a+b x))}}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2196
Rule 2200
Rubi steps
\begin {align*} \int \frac {\sqrt {x}}{\sqrt {\tanh ^{-1}(\tanh (a+b x))}} \, dx &=\frac {\sqrt {x} \sqrt {\tanh ^{-1}(\tanh (a+b x))}}{b}-\frac {\left (-b x+\tanh ^{-1}(\tanh (a+b x))\right ) \int \frac {1}{\sqrt {x} \sqrt {\tanh ^{-1}(\tanh (a+b x))}} \, dx}{2 b}\\ &=\frac {\tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {\tanh ^{-1}(\tanh (a+b x))}}\right ) \left (b x-\tanh ^{-1}(\tanh (a+b x))\right )}{b^{3/2}}+\frac {\sqrt {x} \sqrt {\tanh ^{-1}(\tanh (a+b x))}}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 66, normalized size = 1.05 \begin {gather*} \frac {\sqrt {x} \sqrt {\tanh ^{-1}(\tanh (a+b x))}}{b}-\frac {\left (-b x+\tanh ^{-1}(\tanh (a+b x))\right ) \log \left (b \sqrt {x}+\sqrt {b} \sqrt {\tanh ^{-1}(\tanh (a+b x))}\right )}{b^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.12, size = 80, normalized size = 1.27
method | result | size |
derivativedivides | \(\frac {\sqrt {x}\, \sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}}{b}-\frac {\ln \left (\sqrt {b}\, \sqrt {x}+\sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}\right ) a}{b^{\frac {3}{2}}}-\frac {\ln \left (\sqrt {b}\, \sqrt {x}+\sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}\right ) \left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x -a \right )}{b^{\frac {3}{2}}}\) | \(80\) |
default | \(\frac {\sqrt {x}\, \sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}}{b}-\frac {\ln \left (\sqrt {b}\, \sqrt {x}+\sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}\right ) a}{b^{\frac {3}{2}}}-\frac {\ln \left (\sqrt {b}\, \sqrt {x}+\sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}\right ) \left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x -a \right )}{b^{\frac {3}{2}}}\) | \(80\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 91, normalized size = 1.44 \begin {gather*} \left [\frac {a \sqrt {b} \log \left (2 \, b x - 2 \, \sqrt {b x + a} \sqrt {b} \sqrt {x} + a\right ) + 2 \, \sqrt {b x + a} b \sqrt {x}}{2 \, b^{2}}, \frac {a \sqrt {-b} \arctan \left (\frac {\sqrt {b x + a} \sqrt {-b}}{b \sqrt {x}}\right ) + \sqrt {b x + a} b \sqrt {x}}{b^{2}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {x}}{\sqrt {\operatorname {atanh}{\left (\tanh {\left (a + b x \right )} \right )}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.39, size = 38, normalized size = 0.60 \begin {gather*} \frac {a \log \left ({\left | -\sqrt {b} \sqrt {x} + \sqrt {b x + a} \right |}\right )}{b^{\frac {3}{2}}} + \frac {\sqrt {b x + a} \sqrt {x}}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {\sqrt {x}}{\sqrt {\mathrm {atanh}\left (\mathrm {tanh}\left (a+b\,x\right )\right )}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________