Optimal. Leaf size=83 \[ \frac {e^{c (a+b x)} \tanh (a c+b c x)}{b c \sqrt {\tanh ^2(a c+b c x)}}-\frac {2 \tanh ^{-1}\left (e^{c (a+b x)}\right ) \tanh (a c+b c x)}{b c \sqrt {\tanh ^2(a c+b c x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.20, 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 = {6720, 2282, 388, 206} \[ \frac {e^{c (a+b x)} \tanh (a c+b c x)}{b c \sqrt {\tanh ^2(a c+b c x)}}-\frac {2 \tanh ^{-1}\left (e^{c (a+b x)}\right ) \tanh (a c+b c x)}{b c \sqrt {\tanh ^2(a c+b c x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 388
Rule 2282
Rule 6720
Rubi steps
\begin {align*} \int \frac {e^{c (a+b x)}}{\sqrt {\tanh ^2(a c+b c x)}} \, dx &=\frac {\tanh (a c+b c x) \int e^{c (a+b x)} \coth (a c+b c x) \, dx}{\sqrt {\tanh ^2(a c+b c x)}}\\ &=\frac {\tanh (a c+b c x) \operatorname {Subst}\left (\int \frac {-1-x^2}{1-x^2} \, dx,x,e^{c (a+b x)}\right )}{b c \sqrt {\tanh ^2(a c+b c x)}}\\ &=\frac {e^{c (a+b x)} \tanh (a c+b c x)}{b c \sqrt {\tanh ^2(a c+b c x)}}-\frac {(2 \tanh (a c+b c x)) \operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,e^{c (a+b x)}\right )}{b c \sqrt {\tanh ^2(a c+b c x)}}\\ &=\frac {e^{c (a+b x)} \tanh (a c+b c x)}{b c \sqrt {\tanh ^2(a c+b c x)}}-\frac {2 \tanh ^{-1}\left (e^{c (a+b x)}\right ) \tanh (a c+b c x)}{b c \sqrt {\tanh ^2(a c+b c x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.13, size = 51, normalized size = 0.61 \[ \frac {\left (e^{c (a+b x)}-2 \tanh ^{-1}\left (e^{c (a+b x)}\right )\right ) \tanh (c (a+b x))}{b c \sqrt {\tanh ^2(c (a+b x))}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.49, size = 70, normalized size = 0.84 \[ \frac {\cosh \left (b c x + a c\right ) - \log \left (\cosh \left (b c x + a c\right ) + \sinh \left (b c x + a c\right ) + 1\right ) + \log \left (\cosh \left (b c x + a c\right ) + \sinh \left (b c x + a c\right ) - 1\right ) + \sinh \left (b c x + a c\right )}{b c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.21, size = 88, normalized size = 1.06 \[ \frac {e^{\left (b c x + a c\right )} \mathrm {sgn}\left (e^{\left (2 \, b c x + 2 \, a c\right )} - 1\right ) - \log \left (e^{\left (b c x + a c\right )} + 1\right ) \mathrm {sgn}\left (e^{\left (2 \, b c x + 2 \, a c\right )} - 1\right ) + \log \left ({\left | e^{\left (b c x + a c\right )} - 1 \right |}\right ) \mathrm {sgn}\left (e^{\left (2 \, b c x + 2 \, a c\right )} - 1\right )}{b c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 1.02, size = 213, normalized size = 2.57 \[ \frac {\left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right ) {\mathrm e}^{c \left (b x +a \right )}}{\sqrt {\frac {\left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right )^{2}}{\left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right )^{2}}}\, \left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right ) c b}+\frac {\left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right ) \ln \left ({\mathrm e}^{c \left (b x +a \right )}-1\right )}{\sqrt {\frac {\left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right )^{2}}{\left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right )^{2}}}\, \left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right ) c b}-\frac {\left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right ) \ln \left (1+{\mathrm e}^{c \left (b x +a \right )}\right )}{\sqrt {\frac {\left ({\mathrm e}^{2 c \left (b x +a \right )}-1\right )^{2}}{\left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right )^{2}}}\, \left (1+{\mathrm e}^{2 c \left (b x +a \right )}\right ) c b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.75, size = 56, normalized size = 0.67 \[ \frac {e^{\left (b c x + a c\right )}}{b c} - \frac {\log \left (e^{\left (b c x + a c\right )} + 1\right )}{b c} + \frac {\log \left (e^{\left (b c x + a c\right )} - 1\right )}{b c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\mathrm {e}}^{c\,\left (a+b\,x\right )}}{\sqrt {{\mathrm {tanh}\left (a\,c+b\,c\,x\right )}^2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ e^{a c} \int \frac {e^{b c x}}{\sqrt {\tanh ^{2}{\left (a c + b c x \right )}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________