Optimal. Leaf size=83 \[ \frac {e^{c (a+b x)} \coth (a c+b c x)}{b c \sqrt {\coth ^2(a c+b c x)}}-\frac {2 \text {ArcTan}\left (e^{c (a+b x)}\right ) \coth (a c+b c x)}{b c \sqrt {\coth ^2(a c+b c x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.14, antiderivative size = 83, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {6852, 2320,
396, 209} \begin {gather*} \frac {e^{c (a+b x)} \coth (a c+b c x)}{b c \sqrt {\coth ^2(a c+b c x)}}-\frac {2 \text {ArcTan}\left (e^{c (a+b x)}\right ) \coth (a c+b c x)}{b c \sqrt {\coth ^2(a c+b c x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 396
Rule 2320
Rule 6852
Rubi steps
\begin {align*} \int \frac {e^{c (a+b x)}}{\sqrt {\coth ^2(a c+b c x)}} \, dx &=\frac {\coth (a c+b c x) \int e^{c (a+b x)} \tanh (a c+b c x) \, dx}{\sqrt {\coth ^2(a c+b c x)}}\\ &=\frac {\coth (a c+b c x) \text {Subst}\left (\int \frac {-1+x^2}{1+x^2} \, dx,x,e^{c (a+b x)}\right )}{b c \sqrt {\coth ^2(a c+b c x)}}\\ &=\frac {e^{c (a+b x)} \coth (a c+b c x)}{b c \sqrt {\coth ^2(a c+b c x)}}-\frac {(2 \coth (a c+b c x)) \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,e^{c (a+b x)}\right )}{b c \sqrt {\coth ^2(a c+b c x)}}\\ &=\frac {e^{c (a+b x)} \coth (a c+b c x)}{b c \sqrt {\coth ^2(a c+b c x)}}-\frac {2 \tan ^{-1}\left (e^{c (a+b x)}\right ) \coth (a c+b c x)}{b c \sqrt {\coth ^2(a c+b c x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 51, normalized size = 0.61 \begin {gather*} \frac {\left (e^{c (a+b x)}-2 \text {ArcTan}\left (e^{c (a+b x)}\right )\right ) \coth (c (a+b x))}{b c \sqrt {\coth ^2(c (a+b x))}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 5.76, size = 218, normalized size = 2.63
method | result | size |
risch | \(\frac {\left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right ) {\mathrm e}^{c \left (b x +a \right )}}{\sqrt {\frac {\left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right )^{2}}{\left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right )^{2}}}\, \left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right ) b c}+\frac {i \left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right ) \ln \left ({\mathrm e}^{c \left (b x +a \right )}-i\right )}{\sqrt {\frac {\left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right )^{2}}{\left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right )^{2}}}\, \left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right ) c b}-\frac {i \left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right ) \ln \left ({\mathrm e}^{c \left (b x +a \right )}+i\right )}{\sqrt {\frac {\left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right )^{2}}{\left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right )^{2}}}\, \left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right ) c b}\) | \(218\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.48, size = 35, normalized size = 0.42 \begin {gather*} -\frac {2 \, \arctan \left (e^{\left (b c x + a c\right )}\right )}{b c} + \frac {e^{\left (b c x + a c\right )}}{b c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 53, normalized size = 0.64 \begin {gather*} -\frac {2 \, \arctan \left (\cosh \left (b c x + a c\right ) + \sinh \left (b c x + a c\right )\right ) - \cosh \left (b c x + a c\right ) - \sinh \left (b c x + a c\right )}{b c} \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*} e^{a c} \int \frac {e^{b c x}}{\sqrt {\coth ^{2}{\left (a c + b c x \right )}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 60, normalized size = 0.72 \begin {gather*} -\frac {2 \, \arctan \left (e^{\left (b c x + a c\right )}\right ) \mathrm {sgn}\left (e^{\left (2 \, b c x + 2 \, a c\right )} - 1\right ) - e^{\left (b c x + a c\right )} \mathrm {sgn}\left (e^{\left (2 \, b c x + 2 \, a c\right )} - 1\right )}{b c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\mathrm {e}}^{c\,\left (a+b\,x\right )}}{\sqrt {{\mathrm {coth}\left (a\,c+b\,c\,x\right )}^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________