Optimal. Leaf size=30 \[ -\sqrt {1+\frac {1}{c^2 x^2}}-\frac {1}{c x}-\text {ArcTan}(c x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 30, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.190, Rules used = {6477, 267, 331,
209} \begin {gather*} -\text {ArcTan}(c x)-\sqrt {\frac {1}{c^2 x^2}+1}-\frac {1}{c x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 267
Rule 331
Rule 6477
Rubi steps
\begin {align*} \int \frac {e^{\text {csch}^{-1}(c x)}}{x \left (1+c^2 x^2\right )} \, dx &=\frac {\int \frac {1}{\sqrt {1+\frac {1}{c^2 x^2}} x^3} \, dx}{c^2}+\frac {\int \frac {1}{x^2 \left (1+c^2 x^2\right )} \, dx}{c}\\ &=-\sqrt {1+\frac {1}{c^2 x^2}}-\frac {1}{c x}-c \int \frac {1}{1+c^2 x^2} \, dx\\ &=-\sqrt {1+\frac {1}{c^2 x^2}}-\frac {1}{c x}-\tan ^{-1}(c x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 30, normalized size = 1.00 \begin {gather*} -\sqrt {1+\frac {1}{c^2 x^2}}-\frac {1}{c x}-\text {ArcTan}(c x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(156\) vs.
\(2(28)=56\).
time = 0.74, size = 157, normalized size = 5.23
method | result | size |
default | \(-\frac {\sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}\, \left (\left (\frac {c^{2} x^{2}+1}{c^{2}}\right )^{\frac {3}{2}} c^{2}-\sqrt {\frac {c^{2} x^{2}+1}{c^{2}}}\, c^{2} x^{2}+\ln \left (x +\sqrt {-\frac {\left (-c^{2} x +\sqrt {-c^{2}}\right ) \left (c^{2} x +\sqrt {-c^{2}}\right )}{c^{4}}}\right ) x -\ln \left (x +\sqrt {\frac {c^{2} x^{2}+1}{c^{2}}}\right ) x \right )}{\sqrt {\frac {c^{2} x^{2}+1}{c^{2}}}}+\frac {-c \arctan \left (c x \right )-\frac {1}{x}}{c}\) | \(157\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.47, size = 34, normalized size = 1.13 \begin {gather*} -\frac {\sqrt {c^{2} x^{2} + 1}}{c x} - \frac {1}{c x} - \arctan \left (c x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 41, normalized size = 1.37 \begin {gather*} -\frac {c x \arctan \left (c x\right ) + c x \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}} + c x + 1}{c x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 43, normalized size = 1.43 \begin {gather*} \frac {2 \, \mathrm {sgn}\left (x\right )}{{\left (x {\left | c \right |} - \sqrt {c^{2} x^{2} + 1}\right )}^{2} - 1} - \frac {1}{c x} - \arctan \left (c x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.15, size = 29, normalized size = 0.97 \begin {gather*} -\mathrm {atan}\left (c\,x\right )-\frac {x\,\sqrt {\frac {1}{c^2\,x^2}+1}+\frac {1}{c}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________