Optimal. Leaf size=30 \[ \frac{\tan ^{-1}\left (\frac{\sqrt{a \sinh ^2(c+d x)}}{\sqrt{a}}\right )}{\sqrt{a} d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0385723, antiderivative size = 30, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {3205, 63, 203} \[ \frac{\tan ^{-1}\left (\frac{\sqrt{a \sinh ^2(c+d x)}}{\sqrt{a}}\right )}{\sqrt{a} d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3205
Rule 63
Rule 203
Rubi steps
\begin{align*} \int \frac{\tanh (c+d x)}{\sqrt{a \sinh ^2(c+d x)}} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1}{\sqrt{a x} (1+x)} \, dx,x,\sinh ^2(c+d x)\right )}{2 d}\\ &=\frac{\operatorname{Subst}\left (\int \frac{1}{1+\frac{x^2}{a}} \, dx,x,\sqrt{a \sinh ^2(c+d x)}\right )}{a d}\\ &=\frac{\tan ^{-1}\left (\frac{\sqrt{a \sinh ^2(c+d x)}}{\sqrt{a}}\right )}{\sqrt{a} d}\\ \end{align*}
Mathematica [A] time = 0.0371999, size = 31, normalized size = 1.03 \[ \frac{\sinh (c+d x) \tan ^{-1}(\sinh (c+d x))}{d \sqrt{a \sinh ^2(c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.114, size = 39, normalized size = 1.3 \begin{align*}{\frac{1}{d}\mbox{{\tt ` int/indef0`}} \left ({\frac{\sinh \left ( dx+c \right ) }{ \left ( \cosh \left ( dx+c \right ) \right ) ^{2}}{\frac{1}{\sqrt{a \left ( \sinh \left ( dx+c \right ) \right ) ^{2}}}}},\sinh \left ( dx+c \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.63042, size = 24, normalized size = 0.8 \begin{align*} \frac{2 \, \arctan \left (e^{\left (-d x - c\right )}\right )}{\sqrt{a} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.88352, size = 842, normalized size = 28.07 \begin{align*} \left [-\frac{\sqrt{-a} \log \left (-\frac{a \cosh \left (d x + c\right )^{2} + 2 \, \sqrt{a e^{\left (4 \, d x + 4 \, c\right )} - 2 \, a e^{\left (2 \, d x + 2 \, c\right )} + a}{\left (\cosh \left (d x + c\right ) e^{\left (d x + c\right )} + e^{\left (d x + c\right )} \sinh \left (d x + c\right )\right )} \sqrt{-a} e^{\left (-d x - c\right )} -{\left (a e^{\left (2 \, d x + 2 \, c\right )} - a\right )} \sinh \left (d x + c\right )^{2} -{\left (a \cosh \left (d x + c\right )^{2} - a\right )} e^{\left (2 \, d x + 2 \, c\right )} - 2 \,{\left (a \cosh \left (d x + c\right ) e^{\left (2 \, d x + 2 \, c\right )} - a \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right ) - a}{{\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right )} \sinh \left (d x + c\right )^{2} - \cosh \left (d x + c\right )^{2} +{\left (\cosh \left (d x + c\right )^{2} + 1\right )} e^{\left (2 \, d x + 2 \, c\right )} + 2 \,{\left (\cosh \left (d x + c\right ) e^{\left (2 \, d x + 2 \, c\right )} - \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right ) - 1}\right )}{a d}, \frac{2 \, \sqrt{a e^{\left (4 \, d x + 4 \, c\right )} - 2 \, a e^{\left (2 \, d x + 2 \, c\right )} + a} \arctan \left (\cosh \left (d x + c\right ) + \sinh \left (d x + c\right )\right )}{a d e^{\left (2 \, d x + 2 \, c\right )} - a d}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\tanh{\left (c + d x \right )}}{\sqrt{a \sinh ^{2}{\left (c + d x \right )}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.2259, size = 49, normalized size = 1.63 \begin{align*} \frac{2 \, \arctan \left (e^{\left (d x + c\right )}\right )}{\sqrt{a} d \mathrm{sgn}\left (e^{\left (3 \, d x + 3 \, c\right )} - e^{\left (d x + c\right )}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]