Optimal. Leaf size=12 \[ \frac {1}{2} \log (\cosh (a+2 \log (x))) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {3475} \[ \frac {1}{2} \log (\cosh (a+2 \log (x))) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3475
Rubi steps
\begin {align*} \int \frac {\tanh (a+2 \log (x))}{x} \, dx &=\operatorname {Subst}(\int \tanh (a+2 x) \, dx,x,\log (x))\\ &=\frac {1}{2} \log (\cosh (a+2 \log (x)))\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 12, normalized size = 1.00 \[ \frac {1}{2} \log (\cosh (a+2 \log (x))) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.99, size = 18, normalized size = 1.50 \[ \frac {1}{2} \, \log \left (x^{4} e^{\left (2 \, a\right )} + 1\right ) - \log \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 20, normalized size = 1.67 \[ \frac {1}{2} \, \log \left (x^{4} e^{\left (2 \, a\right )} + 1\right ) - \frac {1}{4} \, \log \left (x^{4}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.01, size = 26, normalized size = 2.17 \[ -\frac {\ln \left (\tanh \left (a +2 \ln \relax (x )\right )-1\right )}{4}-\frac {\ln \left (\tanh \left (a +2 \ln \relax (x )\right )+1\right )}{4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.32, size = 10, normalized size = 0.83 \[ \frac {1}{2} \, \log \left (\cosh \left (a + 2 \, \log \relax (x)\right )\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.12, size = 15, normalized size = 1.25 \[ \ln \relax (x)-\frac {\ln \left (\mathrm {tanh}\left (a+2\,\ln \relax (x)\right )+1\right )}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.23, size = 15, normalized size = 1.25 \[ \log {\relax (x )} - \frac {\log {\left (\tanh {\left (a + 2 \log {\relax (x )} \right )} + 1 \right )}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________