Optimal. Leaf size=49 \[ 2 \sqrt {b} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {\tanh ^{-1}(\tanh (a+b x))}}\right )-\frac {2 \sqrt {\tanh ^{-1}(\tanh (a+b x))}}{\sqrt {x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 49, 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 = {2199, 2196}
\begin {gather*} 2 \sqrt {b} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {\tanh ^{-1}(\tanh (a+b x))}}\right )-\frac {2 \sqrt {\tanh ^{-1}(\tanh (a+b x))}}{\sqrt {x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2196
Rule 2199
Rubi steps
\begin {align*} \int \frac {\sqrt {\tanh ^{-1}(\tanh (a+b x))}}{x^{3/2}} \, dx &=-\frac {2 \sqrt {\tanh ^{-1}(\tanh (a+b x))}}{\sqrt {x}}+b \int \frac {1}{\sqrt {x} \sqrt {\tanh ^{-1}(\tanh (a+b x))}} \, dx\\ &=2 \sqrt {b} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {\tanh ^{-1}(\tanh (a+b x))}}\right )-\frac {2 \sqrt {\tanh ^{-1}(\tanh (a+b x))}}{\sqrt {x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 52, normalized size = 1.06 \begin {gather*} -\frac {2 \sqrt {\tanh ^{-1}(\tanh (a+b x))}}{\sqrt {x}}+2 \sqrt {b} \log \left (b \sqrt {x}+\sqrt {b} \sqrt {\tanh ^{-1}(\tanh (a+b x))}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(148\) vs.
\(2(37)=74\).
time = 0.13, size = 149, normalized size = 3.04
method | result | size |
derivativedivides | \(-\frac {2 \arctanh \left (\tanh \left (b x +a \right )\right )^{\frac {3}{2}}}{\left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x \right ) \sqrt {x}}+\frac {2 b \sqrt {x}\, \sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}}{\arctanh \left (\tanh \left (b x +a \right )\right )-b x}+\frac {2 \sqrt {b}\, \ln \left (\sqrt {b}\, \sqrt {x}+\sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}\right ) a}{\arctanh \left (\tanh \left (b x +a \right )\right )-b x}+\frac {2 \sqrt {b}\, \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 )}{\arctanh \left (\tanh \left (b x +a \right )\right )-b x}\) | \(149\) |
default | \(-\frac {2 \arctanh \left (\tanh \left (b x +a \right )\right )^{\frac {3}{2}}}{\left (\arctanh \left (\tanh \left (b x +a \right )\right )-b x \right ) \sqrt {x}}+\frac {2 b \sqrt {x}\, \sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}}{\arctanh \left (\tanh \left (b x +a \right )\right )-b x}+\frac {2 \sqrt {b}\, \ln \left (\sqrt {b}\, \sqrt {x}+\sqrt {\arctanh \left (\tanh \left (b x +a \right )\right )}\right ) a}{\arctanh \left (\tanh \left (b x +a \right )\right )-b x}+\frac {2 \sqrt {b}\, \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 )}{\arctanh \left (\tanh \left (b x +a \right )\right )-b x}\) | \(149\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.51, size = 40, normalized size = 0.82 \begin {gather*} 2 \, \sqrt {b} \log \left (\frac {b \sqrt {x}}{\sqrt {a b}} + \sqrt {\frac {b x}{a} + 1}\right ) - \frac {2 \, \sqrt {b x + a}}{\sqrt {x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 89, normalized size = 1.82 \begin {gather*} \left [\frac {\sqrt {b} x \log \left (2 \, b x + 2 \, \sqrt {b x + a} \sqrt {b} \sqrt {x} + a\right ) - 2 \, \sqrt {b x + a} \sqrt {x}}{x}, -\frac {2 \, {\left (\sqrt {-b} x \arctan \left (\frac {\sqrt {b x + a} \sqrt {-b}}{b \sqrt {x}}\right ) + \sqrt {b x + a} \sqrt {x}\right )}}{x}\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 {\operatorname {atanh}{\left (\tanh {\left (a + b x \right )} \right )}}}{x^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.40, size = 57, normalized size = 1.16 \begin {gather*} -\sqrt {b} \log \left ({\left (\sqrt {b} \sqrt {x} - \sqrt {b x + a}\right )}^{2}\right ) + \frac {4 \, a \sqrt {b}}{{\left (\sqrt {b} \sqrt {x} - \sqrt {b x + a}\right )}^{2} - a} \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 {\mathrm {atanh}\left (\mathrm {tanh}\left (a+b\,x\right )\right )}}{x^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________