Integrand size = 20, antiderivative size = 114 \[ \int e^{\coth ^{-1}(a x)} \left (c-\frac {c}{a x}\right )^4 \, dx=-\frac {c^4 \left (1-\frac {1}{a^2 x^2}\right )^{3/2}}{3 a}+\frac {c^4 \sqrt {1-\frac {1}{a^2 x^2}} \left (6 a-\frac {1}{x}\right )}{2 a^2}+c^4 \left (1-\frac {1}{a^2 x^2}\right )^{3/2} x-\frac {c^4 \csc ^{-1}(a x)}{2 a}-\frac {3 c^4 \text {arctanh}\left (\sqrt {1-\frac {1}{a^2 x^2}}\right )}{a} \]
[Out]
Time = 0.20 (sec) , antiderivative size = 114, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.450, Rules used = {6312, 1821, 1823, 829, 858, 222, 272, 65, 214} \[ \int e^{\coth ^{-1}(a x)} \left (c-\frac {c}{a x}\right )^4 \, dx=-\frac {3 c^4 \text {arctanh}\left (\sqrt {1-\frac {1}{a^2 x^2}}\right )}{a}-\frac {c^4 \left (1-\frac {1}{a^2 x^2}\right )^{3/2}}{3 a}+\frac {c^4 \sqrt {1-\frac {1}{a^2 x^2}} \left (6 a-\frac {1}{x}\right )}{2 a^2}+c^4 x \left (1-\frac {1}{a^2 x^2}\right )^{3/2}-\frac {c^4 \csc ^{-1}(a x)}{2 a} \]
[In]
[Out]
Rule 65
Rule 214
Rule 222
Rule 272
Rule 829
Rule 858
Rule 1821
Rule 1823
Rule 6312
Rubi steps \begin{align*} \text {integral}& = -\left (c \text {Subst}\left (\int \frac {\left (c-\frac {c x}{a}\right )^3 \sqrt {1-\frac {x^2}{a^2}}}{x^2} \, dx,x,\frac {1}{x}\right )\right ) \\ & = c^4 \left (1-\frac {1}{a^2 x^2}\right )^{3/2} x+c \text {Subst}\left (\int \frac {\sqrt {1-\frac {x^2}{a^2}} \left (\frac {3 c^3}{a}-\frac {c^3 x}{a^2}+\frac {c^3 x^2}{a^3}\right )}{x} \, dx,x,\frac {1}{x}\right ) \\ & = -\frac {c^4 \left (1-\frac {1}{a^2 x^2}\right )^{3/2}}{3 a}+c^4 \left (1-\frac {1}{a^2 x^2}\right )^{3/2} x-\frac {1}{3} \left (a^2 c\right ) \text {Subst}\left (\int \frac {\left (-\frac {9 c^3}{a^3}+\frac {3 c^3 x}{a^4}\right ) \sqrt {1-\frac {x^2}{a^2}}}{x} \, dx,x,\frac {1}{x}\right ) \\ & = -\frac {c^4 \left (1-\frac {1}{a^2 x^2}\right )^{3/2}}{3 a}+\frac {c^4 \sqrt {1-\frac {1}{a^2 x^2}} \left (6 a-\frac {1}{x}\right )}{2 a^2}+c^4 \left (1-\frac {1}{a^2 x^2}\right )^{3/2} x+\frac {1}{6} \left (a^4 c\right ) \text {Subst}\left (\int \frac {\frac {18 c^3}{a^5}-\frac {3 c^3 x}{a^6}}{x \sqrt {1-\frac {x^2}{a^2}}} \, dx,x,\frac {1}{x}\right ) \\ & = -\frac {c^4 \left (1-\frac {1}{a^2 x^2}\right )^{3/2}}{3 a}+\frac {c^4 \sqrt {1-\frac {1}{a^2 x^2}} \left (6 a-\frac {1}{x}\right )}{2 a^2}+c^4 \left (1-\frac {1}{a^2 x^2}\right )^{3/2} x-\frac {c^4 \text {Subst}\left (\int \frac {1}{\sqrt {1-\frac {x^2}{a^2}}} \, dx,x,\frac {1}{x}\right )}{2 a^2}+\frac {\left (3 c^4\right ) \text {Subst}\left (\int \frac {1}{x \sqrt {1-\frac {x^2}{a^2}}} \, dx,x,\frac {1}{x}\right )}{a} \\ & = -\frac {c^4 \left (1-\frac {1}{a^2 x^2}\right )^{3/2}}{3 a}+\frac {c^4 \sqrt {1-\frac {1}{a^2 x^2}} \left (6 a-\frac {1}{x}\right )}{2 a^2}+c^4 \left (1-\frac {1}{a^2 x^2}\right )^{3/2} x-\frac {c^4 \csc ^{-1}(a x)}{2 a}+\frac {\left (3 c^4\right ) \text {Subst}\left (\int \frac {1}{x \sqrt {1-\frac {x}{a^2}}} \, dx,x,\frac {1}{x^2}\right )}{2 a} \\ & = -\frac {c^4 \left (1-\frac {1}{a^2 x^2}\right )^{3/2}}{3 a}+\frac {c^4 \sqrt {1-\frac {1}{a^2 x^2}} \left (6 a-\frac {1}{x}\right )}{2 a^2}+c^4 \left (1-\frac {1}{a^2 x^2}\right )^{3/2} x-\frac {c^4 \csc ^{-1}(a x)}{2 a}-\left (3 a c^4\right ) \text {Subst}\left (\int \frac {1}{a^2-a^2 x^2} \, dx,x,\sqrt {1-\frac {1}{a^2 x^2}}\right ) \\ & = -\frac {c^4 \left (1-\frac {1}{a^2 x^2}\right )^{3/2}}{3 a}+\frac {c^4 \sqrt {1-\frac {1}{a^2 x^2}} \left (6 a-\frac {1}{x}\right )}{2 a^2}+c^4 \left (1-\frac {1}{a^2 x^2}\right )^{3/2} x-\frac {c^4 \csc ^{-1}(a x)}{2 a}-\frac {3 c^4 \text {arctanh}\left (\sqrt {1-\frac {1}{a^2 x^2}}\right )}{a} \\ \end{align*}
Time = 0.22 (sec) , antiderivative size = 175, normalized size of antiderivative = 1.54 \[ \int e^{\coth ^{-1}(a x)} \left (c-\frac {c}{a x}\right )^4 \, dx=\frac {c^4 \left (-2+9 a x-14 a^2 x^2-15 a^3 x^3+16 a^4 x^4+6 a^5 x^5+24 a^4 \sqrt {1-\frac {1}{a^2 x^2}} x^4 \arcsin \left (\frac {\sqrt {1-\frac {1}{a x}}}{\sqrt {2}}\right )+9 a^4 \sqrt {1-\frac {1}{a^2 x^2}} x^4 \arcsin \left (\frac {1}{a x}\right )-18 a^4 \sqrt {1-\frac {1}{a^2 x^2}} x^4 \text {arctanh}\left (\sqrt {1-\frac {1}{a^2 x^2}}\right )\right )}{6 a^5 \sqrt {1-\frac {1}{a^2 x^2}} x^4} \]
[In]
[Out]
Time = 0.09 (sec) , antiderivative size = 157, normalized size of antiderivative = 1.38
method | result | size |
risch | \(\frac {\left (a x -1\right ) \left (16 a^{2} x^{2}-9 a x +2\right ) c^{4}}{6 x^{3} a^{4} \sqrt {\frac {a x -1}{a x +1}}}+\frac {\left (-\frac {3 a^{4} \ln \left (\frac {a^{2} x}{\sqrt {a^{2}}}+\sqrt {a^{2} x^{2}-1}\right )}{\sqrt {a^{2}}}-\frac {a^{3} \arctan \left (\frac {1}{\sqrt {a^{2} x^{2}-1}}\right )}{2}+a^{3} \sqrt {\left (a x -1\right ) \left (a x +1\right )}\right ) c^{4} \sqrt {\left (a x -1\right ) \left (a x +1\right )}}{a^{4} \sqrt {\frac {a x -1}{a x +1}}\, \left (a x +1\right )}\) | \(157\) |
default | \(-\frac {\left (a x -1\right ) c^{4} \left (-18 \sqrt {a^{2} x^{2}-1}\, \sqrt {a^{2}}\, a^{4} x^{4}+18 \left (a^{2} x^{2}-1\right )^{\frac {3}{2}} \sqrt {a^{2}}\, a^{2} x^{2}+3 \sqrt {a^{2} x^{2}-1}\, \sqrt {a^{2}}\, a^{3} x^{3}+3 a^{3} x^{3} \sqrt {a^{2}}\, \arctan \left (\frac {1}{\sqrt {a^{2} x^{2}-1}}\right )+18 \ln \left (\frac {a^{2} x +\sqrt {a^{2} x^{2}-1}\, \sqrt {a^{2}}}{\sqrt {a^{2}}}\right ) a^{4} x^{3}-9 \left (a^{2} x^{2}-1\right )^{\frac {3}{2}} \sqrt {a^{2}}\, a x +2 \left (a^{2} x^{2}-1\right )^{\frac {3}{2}} \sqrt {a^{2}}\right )}{6 \sqrt {\frac {a x -1}{a x +1}}\, \sqrt {\left (a x -1\right ) \left (a x +1\right )}\, a^{4} x^{3} \sqrt {a^{2}}}\) | \(224\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 156, normalized size of antiderivative = 1.37 \[ \int e^{\coth ^{-1}(a x)} \left (c-\frac {c}{a x}\right )^4 \, dx=\frac {6 \, a^{3} c^{4} x^{3} \arctan \left (\sqrt {\frac {a x - 1}{a x + 1}}\right ) - 18 \, a^{3} c^{4} x^{3} \log \left (\sqrt {\frac {a x - 1}{a x + 1}} + 1\right ) + 18 \, a^{3} c^{4} x^{3} \log \left (\sqrt {\frac {a x - 1}{a x + 1}} - 1\right ) + {\left (6 \, a^{4} c^{4} x^{4} + 22 \, a^{3} c^{4} x^{3} + 7 \, a^{2} c^{4} x^{2} - 7 \, a c^{4} x + 2 \, c^{4}\right )} \sqrt {\frac {a x - 1}{a x + 1}}}{6 \, a^{4} x^{3}} \]
[In]
[Out]
\[ \int e^{\coth ^{-1}(a x)} \left (c-\frac {c}{a x}\right )^4 \, dx=\frac {c^{4} \left (\int \frac {a^{4}}{\sqrt {\frac {a x}{a x + 1} - \frac {1}{a x + 1}}}\, dx + \int \frac {1}{x^{4} \sqrt {\frac {a x}{a x + 1} - \frac {1}{a x + 1}}}\, dx + \int \left (- \frac {4 a}{x^{3} \sqrt {\frac {a x}{a x + 1} - \frac {1}{a x + 1}}}\right )\, dx + \int \frac {6 a^{2}}{x^{2} \sqrt {\frac {a x}{a x + 1} - \frac {1}{a x + 1}}}\, dx + \int \left (- \frac {4 a^{3}}{x \sqrt {\frac {a x}{a x + 1} - \frac {1}{a x + 1}}}\right )\, dx\right )}{a^{4}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 224 vs. \(2 (100) = 200\).
Time = 0.28 (sec) , antiderivative size = 224, normalized size of antiderivative = 1.96 \[ \int e^{\coth ^{-1}(a x)} \left (c-\frac {c}{a x}\right )^4 \, dx=\frac {1}{3} \, {\left (\frac {3 \, c^{4} \arctan \left (\sqrt {\frac {a x - 1}{a x + 1}}\right )}{a^{2}} - \frac {9 \, c^{4} \log \left (\sqrt {\frac {a x - 1}{a x + 1}} + 1\right )}{a^{2}} + \frac {9 \, c^{4} \log \left (\sqrt {\frac {a x - 1}{a x + 1}} - 1\right )}{a^{2}} - \frac {21 \, c^{4} \left (\frac {a x - 1}{a x + 1}\right )^{\frac {7}{2}} - 17 \, c^{4} \left (\frac {a x - 1}{a x + 1}\right )^{\frac {5}{2}} - 37 \, c^{4} \left (\frac {a x - 1}{a x + 1}\right )^{\frac {3}{2}} - 15 \, c^{4} \sqrt {\frac {a x - 1}{a x + 1}}}{\frac {2 \, {\left (a x - 1\right )} a^{2}}{a x + 1} - \frac {2 \, {\left (a x - 1\right )}^{3} a^{2}}{{\left (a x + 1\right )}^{3}} - \frac {{\left (a x - 1\right )}^{4} a^{2}}{{\left (a x + 1\right )}^{4}} + a^{2}}\right )} a \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 248 vs. \(2 (100) = 200\).
Time = 0.29 (sec) , antiderivative size = 248, normalized size of antiderivative = 2.18 \[ \int e^{\coth ^{-1}(a x)} \left (c-\frac {c}{a x}\right )^4 \, dx=\frac {c^{4} \arctan \left (-x {\left | a \right |} + \sqrt {a^{2} x^{2} - 1}\right )}{a \mathrm {sgn}\left (a x + 1\right )} + \frac {3 \, c^{4} \log \left ({\left | -x {\left | a \right |} + \sqrt {a^{2} x^{2} - 1} \right |}\right )}{{\left | a \right |} \mathrm {sgn}\left (a x + 1\right )} + \frac {\sqrt {a^{2} x^{2} - 1} c^{4}}{a \mathrm {sgn}\left (a x + 1\right )} + \frac {9 \, {\left (x {\left | a \right |} - \sqrt {a^{2} x^{2} - 1}\right )}^{5} c^{4} {\left | a \right |} + 12 \, {\left (x {\left | a \right |} - \sqrt {a^{2} x^{2} - 1}\right )}^{4} a c^{4} + 36 \, {\left (x {\left | a \right |} - \sqrt {a^{2} x^{2} - 1}\right )}^{2} a c^{4} - 9 \, {\left (x {\left | a \right |} - \sqrt {a^{2} x^{2} - 1}\right )} c^{4} {\left | a \right |} + 16 \, a c^{4}}{3 \, {\left ({\left (x {\left | a \right |} - \sqrt {a^{2} x^{2} - 1}\right )}^{2} + 1\right )}^{3} a {\left | a \right |} \mathrm {sgn}\left (a x + 1\right )} \]
[In]
[Out]
Time = 4.27 (sec) , antiderivative size = 183, normalized size of antiderivative = 1.61 \[ \int e^{\coth ^{-1}(a x)} \left (c-\frac {c}{a x}\right )^4 \, dx=\frac {5\,c^4\,\sqrt {\frac {a\,x-1}{a\,x+1}}+\frac {37\,c^4\,{\left (\frac {a\,x-1}{a\,x+1}\right )}^{3/2}}{3}+\frac {17\,c^4\,{\left (\frac {a\,x-1}{a\,x+1}\right )}^{5/2}}{3}-7\,c^4\,{\left (\frac {a\,x-1}{a\,x+1}\right )}^{7/2}}{a+\frac {2\,a\,\left (a\,x-1\right )}{a\,x+1}-\frac {2\,a\,{\left (a\,x-1\right )}^3}{{\left (a\,x+1\right )}^3}-\frac {a\,{\left (a\,x-1\right )}^4}{{\left (a\,x+1\right )}^4}}+\frac {c^4\,\mathrm {atan}\left (\sqrt {\frac {a\,x-1}{a\,x+1}}\right )}{a}-\frac {6\,c^4\,\mathrm {atanh}\left (\sqrt {\frac {a\,x-1}{a\,x+1}}\right )}{a} \]
[In]
[Out]