Optimal. Leaf size=288 \[ \frac {\sqrt {d} \sqrt {-e} \sqrt {\frac {e x^2}{d}+1} \text {Li}_2\left (e^{2 \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}\right )}{2 \sqrt {e} \sqrt {d+e x^2}}-\frac {\sqrt {d} \sqrt {-e} \sqrt {\frac {e x^2}{d}+1} \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )^2}{2 \sqrt {e} \sqrt {d+e x^2}}+\log (x) \tan ^{-1}\left (\frac {\sqrt {-e} x}{\sqrt {d+e x^2}}\right )+\frac {\sqrt {d} \sqrt {-e} \sqrt {\frac {e x^2}{d}+1} \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right ) \log \left (1-e^{2 \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}\right )}{\sqrt {e} \sqrt {d+e x^2}}-\frac {\sqrt {d} \sqrt {-e} \log (x) \sqrt {\frac {e x^2}{d}+1} \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}{\sqrt {e} \sqrt {d+e x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.17, antiderivative size = 288, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 8, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.320, Rules used = {5149, 2327, 2325, 5659, 3716, 2190, 2279, 2391} \[ \frac {\sqrt {d} \sqrt {-e} \sqrt {\frac {e x^2}{d}+1} \text {PolyLog}\left (2,e^{2 \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}\right )}{2 \sqrt {e} \sqrt {d+e x^2}}-\frac {\sqrt {d} \sqrt {-e} \sqrt {\frac {e x^2}{d}+1} \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )^2}{2 \sqrt {e} \sqrt {d+e x^2}}+\log (x) \tan ^{-1}\left (\frac {\sqrt {-e} x}{\sqrt {d+e x^2}}\right )+\frac {\sqrt {d} \sqrt {-e} \sqrt {\frac {e x^2}{d}+1} \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right ) \log \left (1-e^{2 \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}\right )}{\sqrt {e} \sqrt {d+e x^2}}-\frac {\sqrt {d} \sqrt {-e} \log (x) \sqrt {\frac {e x^2}{d}+1} \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}{\sqrt {e} \sqrt {d+e x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2190
Rule 2279
Rule 2325
Rule 2327
Rule 2391
Rule 3716
Rule 5149
Rule 5659
Rubi steps
\begin {align*} \int \frac {\tan ^{-1}\left (\frac {\sqrt {-e} x}{\sqrt {d+e x^2}}\right )}{x} \, dx &=\tan ^{-1}\left (\frac {\sqrt {-e} x}{\sqrt {d+e x^2}}\right ) \log (x)-\sqrt {-e} \int \frac {\log (x)}{\sqrt {d+e x^2}} \, dx\\ &=\tan ^{-1}\left (\frac {\sqrt {-e} x}{\sqrt {d+e x^2}}\right ) \log (x)-\frac {\left (\sqrt {-e} \sqrt {1+\frac {e x^2}{d}}\right ) \int \frac {\log (x)}{\sqrt {1+\frac {e x^2}{d}}} \, dx}{\sqrt {d+e x^2}}\\ &=-\frac {\sqrt {d} \sqrt {-e} \sqrt {1+\frac {e x^2}{d}} \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right ) \log (x)}{\sqrt {e} \sqrt {d+e x^2}}+\tan ^{-1}\left (\frac {\sqrt {-e} x}{\sqrt {d+e x^2}}\right ) \log (x)+\frac {\left (\sqrt {d} \sqrt {-e} \sqrt {1+\frac {e x^2}{d}}\right ) \int \frac {\sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}{x} \, dx}{\sqrt {e} \sqrt {d+e x^2}}\\ &=-\frac {\sqrt {d} \sqrt {-e} \sqrt {1+\frac {e x^2}{d}} \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right ) \log (x)}{\sqrt {e} \sqrt {d+e x^2}}+\tan ^{-1}\left (\frac {\sqrt {-e} x}{\sqrt {d+e x^2}}\right ) \log (x)+\frac {\left (\sqrt {d} \sqrt {-e} \sqrt {1+\frac {e x^2}{d}}\right ) \operatorname {Subst}\left (\int x \coth (x) \, dx,x,\sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )\right )}{\sqrt {e} \sqrt {d+e x^2}}\\ &=-\frac {\sqrt {d} \sqrt {-e} \sqrt {1+\frac {e x^2}{d}} \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )^2}{2 \sqrt {e} \sqrt {d+e x^2}}-\frac {\sqrt {d} \sqrt {-e} \sqrt {1+\frac {e x^2}{d}} \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right ) \log (x)}{\sqrt {e} \sqrt {d+e x^2}}+\tan ^{-1}\left (\frac {\sqrt {-e} x}{\sqrt {d+e x^2}}\right ) \log (x)-\frac {\left (2 \sqrt {d} \sqrt {-e} \sqrt {1+\frac {e x^2}{d}}\right ) \operatorname {Subst}\left (\int \frac {e^{2 x} x}{1-e^{2 x}} \, dx,x,\sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )\right )}{\sqrt {e} \sqrt {d+e x^2}}\\ &=-\frac {\sqrt {d} \sqrt {-e} \sqrt {1+\frac {e x^2}{d}} \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )^2}{2 \sqrt {e} \sqrt {d+e x^2}}+\frac {\sqrt {d} \sqrt {-e} \sqrt {1+\frac {e x^2}{d}} \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right ) \log \left (1-e^{2 \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}\right )}{\sqrt {e} \sqrt {d+e x^2}}-\frac {\sqrt {d} \sqrt {-e} \sqrt {1+\frac {e x^2}{d}} \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right ) \log (x)}{\sqrt {e} \sqrt {d+e x^2}}+\tan ^{-1}\left (\frac {\sqrt {-e} x}{\sqrt {d+e x^2}}\right ) \log (x)-\frac {\left (\sqrt {d} \sqrt {-e} \sqrt {1+\frac {e x^2}{d}}\right ) \operatorname {Subst}\left (\int \log \left (1-e^{2 x}\right ) \, dx,x,\sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )\right )}{\sqrt {e} \sqrt {d+e x^2}}\\ &=-\frac {\sqrt {d} \sqrt {-e} \sqrt {1+\frac {e x^2}{d}} \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )^2}{2 \sqrt {e} \sqrt {d+e x^2}}+\frac {\sqrt {d} \sqrt {-e} \sqrt {1+\frac {e x^2}{d}} \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right ) \log \left (1-e^{2 \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}\right )}{\sqrt {e} \sqrt {d+e x^2}}-\frac {\sqrt {d} \sqrt {-e} \sqrt {1+\frac {e x^2}{d}} \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right ) \log (x)}{\sqrt {e} \sqrt {d+e x^2}}+\tan ^{-1}\left (\frac {\sqrt {-e} x}{\sqrt {d+e x^2}}\right ) \log (x)-\frac {\left (\sqrt {d} \sqrt {-e} \sqrt {1+\frac {e x^2}{d}}\right ) \operatorname {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{2 \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}\right )}{2 \sqrt {e} \sqrt {d+e x^2}}\\ &=-\frac {\sqrt {d} \sqrt {-e} \sqrt {1+\frac {e x^2}{d}} \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )^2}{2 \sqrt {e} \sqrt {d+e x^2}}+\frac {\sqrt {d} \sqrt {-e} \sqrt {1+\frac {e x^2}{d}} \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right ) \log \left (1-e^{2 \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}\right )}{\sqrt {e} \sqrt {d+e x^2}}-\frac {\sqrt {d} \sqrt {-e} \sqrt {1+\frac {e x^2}{d}} \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right ) \log (x)}{\sqrt {e} \sqrt {d+e x^2}}+\tan ^{-1}\left (\frac {\sqrt {-e} x}{\sqrt {d+e x^2}}\right ) \log (x)+\frac {\sqrt {d} \sqrt {-e} \sqrt {1+\frac {e x^2}{d}} \text {Li}_2\left (e^{2 \sinh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}\right )}{2 \sqrt {e} \sqrt {d+e x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 2.87, size = 171, normalized size = 0.59 \[ \frac {\sqrt {-e} \sqrt {\frac {e x^2}{d}+1} \left (-\text {Li}_2\left (e^{-2 \sinh ^{-1}\left (\sqrt {\frac {e}{d}} x\right )}\right )-2 \log (x) \log \left (\sqrt {\frac {e x^2}{d}+1}+x \sqrt {\frac {e}{d}}\right )+\sinh ^{-1}\left (x \sqrt {\frac {e}{d}}\right )^2+2 \sinh ^{-1}\left (x \sqrt {\frac {e}{d}}\right ) \log \left (1-e^{-2 \sinh ^{-1}\left (x \sqrt {\frac {e}{d}}\right )}\right )\right )}{2 \sqrt {\frac {e}{d}} \sqrt {d+e x^2}}+\log (x) \tan ^{-1}\left (\frac {\sqrt {-e} x}{\sqrt {d+e x^2}}\right ) \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.65, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\arctan \left (\frac {\sqrt {-e} x}{\sqrt {e x^{2} + d}}\right )}{x}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\arctan \left (\frac {\sqrt {-e} x}{\sqrt {e x^{2} + d}}\right )}{x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.27, size = 0, normalized size = 0.00 \[ \int \frac {\arctan \left (\frac {x \sqrt {-e}}{\sqrt {e \,x^{2}+d}}\right )}{x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: RuntimeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {\mathrm {atan}\left (\frac {\sqrt {-e}\,x}{\sqrt {e\,x^2+d}}\right )}{x} \,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 \[ \int \frac {\operatorname {atan}{\left (\frac {x \sqrt {- e}}{\sqrt {d + e x^{2}}} \right )}}{x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________