Integrand size = 20, antiderivative size = 104 \[ \int \frac {e^{\coth ^{-1}(a x)}}{c-\frac {c}{a^2 x^2}} \, dx=-\frac {2 \sqrt {1+\frac {1}{a x}}}{a c \sqrt {1-\frac {1}{a x}}}+\frac {\sqrt {1+\frac {1}{a x}} x}{c \sqrt {1-\frac {1}{a x}}}+\frac {\text {arctanh}\left (\sqrt {1-\frac {1}{a x}} \sqrt {1+\frac {1}{a x}}\right )}{a c} \]
[Out]
Time = 0.06 (sec) , antiderivative size = 104, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {6329, 105, 21, 96, 94, 214} \[ \int \frac {e^{\coth ^{-1}(a x)}}{c-\frac {c}{a^2 x^2}} \, dx=\frac {\text {arctanh}\left (\sqrt {1-\frac {1}{a x}} \sqrt {\frac {1}{a x}+1}\right )}{a c}+\frac {x \sqrt {\frac {1}{a x}+1}}{c \sqrt {1-\frac {1}{a x}}}-\frac {2 \sqrt {\frac {1}{a x}+1}}{a c \sqrt {1-\frac {1}{a x}}} \]
[In]
[Out]
Rule 21
Rule 94
Rule 96
Rule 105
Rule 214
Rule 6329
Rubi steps \begin{align*} \text {integral}& = -\frac {\text {Subst}\left (\int \frac {1}{x^2 \left (1-\frac {x}{a}\right )^{3/2} \sqrt {1+\frac {x}{a}}} \, dx,x,\frac {1}{x}\right )}{c} \\ & = \frac {\sqrt {1+\frac {1}{a x}} x}{c \sqrt {1-\frac {1}{a x}}}+\frac {\text {Subst}\left (\int \frac {-\frac {1}{a}-\frac {x}{a^2}}{x \left (1-\frac {x}{a}\right )^{3/2} \sqrt {1+\frac {x}{a}}} \, dx,x,\frac {1}{x}\right )}{c} \\ & = \frac {\sqrt {1+\frac {1}{a x}} x}{c \sqrt {1-\frac {1}{a x}}}-\frac {\text {Subst}\left (\int \frac {\sqrt {1+\frac {x}{a}}}{x \left (1-\frac {x}{a}\right )^{3/2}} \, dx,x,\frac {1}{x}\right )}{a c} \\ & = -\frac {2 \sqrt {1+\frac {1}{a x}}}{a c \sqrt {1-\frac {1}{a x}}}+\frac {\sqrt {1+\frac {1}{a x}} x}{c \sqrt {1-\frac {1}{a x}}}-\frac {\text {Subst}\left (\int \frac {1}{x \sqrt {1-\frac {x}{a}} \sqrt {1+\frac {x}{a}}} \, dx,x,\frac {1}{x}\right )}{a c} \\ & = -\frac {2 \sqrt {1+\frac {1}{a x}}}{a c \sqrt {1-\frac {1}{a x}}}+\frac {\sqrt {1+\frac {1}{a x}} x}{c \sqrt {1-\frac {1}{a x}}}+\frac {\text {Subst}\left (\int \frac {1}{\frac {1}{a}-\frac {x^2}{a}} \, dx,x,\sqrt {1-\frac {1}{a x}} \sqrt {1+\frac {1}{a x}}\right )}{a^2 c} \\ & = -\frac {2 \sqrt {1+\frac {1}{a x}}}{a c \sqrt {1-\frac {1}{a x}}}+\frac {\sqrt {1+\frac {1}{a x}} x}{c \sqrt {1-\frac {1}{a x}}}+\frac {\text {arctanh}\left (\sqrt {1-\frac {1}{a x}} \sqrt {1+\frac {1}{a x}}\right )}{a c} \\ \end{align*}
Time = 0.14 (sec) , antiderivative size = 56, normalized size of antiderivative = 0.54 \[ \int \frac {e^{\coth ^{-1}(a x)}}{c-\frac {c}{a^2 x^2}} \, dx=\frac {\frac {\sqrt {1-\frac {1}{a^2 x^2}} x (-2+a x)}{-1+a x}+\frac {\log \left (\left (1+\sqrt {1-\frac {1}{a^2 x^2}}\right ) x\right )}{a}}{c} \]
[In]
[Out]
Time = 0.19 (sec) , antiderivative size = 144, normalized size of antiderivative = 1.38
method | result | size |
risch | \(\frac {a x -1}{a c \sqrt {\frac {a x -1}{a x +1}}}+\frac {\left (\frac {\ln \left (\frac {a^{2} x}{\sqrt {a^{2}}}+\sqrt {a^{2} x^{2}-1}\right )}{a^{2} \sqrt {a^{2}}}-\frac {\sqrt {\left (x -\frac {1}{a}\right )^{2} a^{2}+2 \left (x -\frac {1}{a}\right ) a}}{a^{4} \left (x -\frac {1}{a}\right )}\right ) a^{2} \sqrt {\left (a x -1\right ) \left (a x +1\right )}}{c \sqrt {\frac {a x -1}{a x +1}}\, \left (a x +1\right )}\) | \(144\) |
default | \(-\frac {-3 \sqrt {a^{2}}\, \sqrt {\left (a x -1\right ) \left (a x +1\right )}\, a^{2} x^{2}-2 \ln \left (\frac {a^{2} x +\sqrt {a^{2}}\, \sqrt {\left (a x -1\right ) \left (a x +1\right )}}{\sqrt {a^{2}}}\right ) a^{3} x^{2}+\left (\left (a x -1\right ) \left (a x +1\right )\right )^{\frac {3}{2}} \sqrt {a^{2}}+6 \sqrt {a^{2}}\, \sqrt {\left (a x -1\right ) \left (a x +1\right )}\, a x +4 \ln \left (\frac {a^{2} x +\sqrt {a^{2}}\, \sqrt {\left (a x -1\right ) \left (a x +1\right )}}{\sqrt {a^{2}}}\right ) a^{2} x -3 \sqrt {a^{2}}\, \sqrt {\left (a x -1\right ) \left (a x +1\right )}-2 a \ln \left (\frac {a^{2} x +\sqrt {a^{2}}\, \sqrt {\left (a x -1\right ) \left (a x +1\right )}}{\sqrt {a^{2}}}\right )}{2 a \sqrt {a^{2}}\, \left (a x -1\right ) c \sqrt {\left (a x -1\right ) \left (a x +1\right )}\, \sqrt {\frac {a x -1}{a x +1}}}\) | \(250\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 93, normalized size of antiderivative = 0.89 \[ \int \frac {e^{\coth ^{-1}(a x)}}{c-\frac {c}{a^2 x^2}} \, dx=\frac {{\left (a x - 1\right )} \log \left (\sqrt {\frac {a x - 1}{a x + 1}} + 1\right ) - {\left (a x - 1\right )} \log \left (\sqrt {\frac {a x - 1}{a x + 1}} - 1\right ) + {\left (a^{2} x^{2} - a x - 2\right )} \sqrt {\frac {a x - 1}{a x + 1}}}{a^{2} c x - a c} \]
[In]
[Out]
\[ \int \frac {e^{\coth ^{-1}(a x)}}{c-\frac {c}{a^2 x^2}} \, dx=\frac {a^{2} \int \frac {x^{2}}{a^{2} x^{2} \sqrt {\frac {a x}{a x + 1} - \frac {1}{a x + 1}} - \sqrt {\frac {a x}{a x + 1} - \frac {1}{a x + 1}}}\, dx}{c} \]
[In]
[Out]
none
Time = 0.20 (sec) , antiderivative size = 116, normalized size of antiderivative = 1.12 \[ \int \frac {e^{\coth ^{-1}(a x)}}{c-\frac {c}{a^2 x^2}} \, dx=-a {\left (\frac {\frac {3 \, {\left (a x - 1\right )}}{a x + 1} - 1}{a^{2} c \left (\frac {a x - 1}{a x + 1}\right )^{\frac {3}{2}} - a^{2} c \sqrt {\frac {a x - 1}{a x + 1}}} - \frac {\log \left (\sqrt {\frac {a x - 1}{a x + 1}} + 1\right )}{a^{2} c} + \frac {\log \left (\sqrt {\frac {a x - 1}{a x + 1}} - 1\right )}{a^{2} c}\right )} \]
[In]
[Out]
\[ \int \frac {e^{\coth ^{-1}(a x)}}{c-\frac {c}{a^2 x^2}} \, dx=\int { \frac {1}{{\left (c - \frac {c}{a^{2} x^{2}}\right )} \sqrt {\frac {a x - 1}{a x + 1}}} \,d x } \]
[In]
[Out]
Time = 0.08 (sec) , antiderivative size = 62, normalized size of antiderivative = 0.60 \[ \int \frac {e^{\coth ^{-1}(a x)}}{c-\frac {c}{a^2 x^2}} \, dx=\frac {2\,a\,x+4\,\mathrm {atanh}\left (\sqrt {\frac {a\,x-1}{a\,x+1}}\right )\,\sqrt {\frac {a\,x-1}{a\,x+1}}-4}{2\,a\,c\,\sqrt {\frac {a\,x-1}{a\,x+1}}} \]
[In]
[Out]