Integrand size = 18, antiderivative size = 78 \[ \int e^{3 \coth ^{-1}(a x)} (c-a c x)^2 \, dx=\frac {1}{2} a c^2 \sqrt {1-\frac {1}{a^2 x^2}} x^2+\frac {1}{3} a^2 c^2 \left (1-\frac {1}{a^2 x^2}\right )^{3/2} x^3-\frac {c^2 \text {arctanh}\left (\sqrt {1-\frac {1}{a^2 x^2}}\right )}{2 a} \]
[Out]
Time = 0.14 (sec) , antiderivative size = 78, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.444, Rules used = {6310, 6313, 864, 821, 272, 43, 65, 214} \[ \int e^{3 \coth ^{-1}(a x)} (c-a c x)^2 \, dx=-\frac {c^2 \text {arctanh}\left (\sqrt {1-\frac {1}{a^2 x^2}}\right )}{2 a}+\frac {1}{2} a c^2 x^2 \sqrt {1-\frac {1}{a^2 x^2}}+\frac {1}{3} a^2 c^2 x^3 \left (1-\frac {1}{a^2 x^2}\right )^{3/2} \]
[In]
[Out]
Rule 43
Rule 65
Rule 214
Rule 272
Rule 821
Rule 864
Rule 6310
Rule 6313
Rubi steps \begin{align*} \text {integral}& = \left (a^2 c^2\right ) \int e^{3 \coth ^{-1}(a x)} \left (1-\frac {1}{a x}\right )^2 x^2 \, dx \\ & = -\left (\left (a^2 c^2\right ) \text {Subst}\left (\int \frac {\left (1-\frac {x^2}{a^2}\right )^{3/2}}{x^4 \left (1-\frac {x}{a}\right )} \, dx,x,\frac {1}{x}\right )\right ) \\ & = -\left (\left (a^2 c^2\right ) \text {Subst}\left (\int \frac {\left (1+\frac {x}{a}\right ) \sqrt {1-\frac {x^2}{a^2}}}{x^4} \, dx,x,\frac {1}{x}\right )\right ) \\ & = \frac {1}{3} a^2 c^2 \left (1-\frac {1}{a^2 x^2}\right )^{3/2} x^3-\left (a c^2\right ) \text {Subst}\left (\int \frac {\sqrt {1-\frac {x^2}{a^2}}}{x^3} \, dx,x,\frac {1}{x}\right ) \\ & = \frac {1}{3} a^2 c^2 \left (1-\frac {1}{a^2 x^2}\right )^{3/2} x^3-\frac {1}{2} \left (a c^2\right ) \text {Subst}\left (\int \frac {\sqrt {1-\frac {x}{a^2}}}{x^2} \, dx,x,\frac {1}{x^2}\right ) \\ & = \frac {1}{2} a c^2 \sqrt {1-\frac {1}{a^2 x^2}} x^2+\frac {1}{3} a^2 c^2 \left (1-\frac {1}{a^2 x^2}\right )^{3/2} x^3+\frac {c^2 \text {Subst}\left (\int \frac {1}{x \sqrt {1-\frac {x}{a^2}}} \, dx,x,\frac {1}{x^2}\right )}{4 a} \\ & = \frac {1}{2} a c^2 \sqrt {1-\frac {1}{a^2 x^2}} x^2+\frac {1}{3} a^2 c^2 \left (1-\frac {1}{a^2 x^2}\right )^{3/2} x^3-\frac {1}{2} \left (a c^2\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 {1}{2} a c^2 \sqrt {1-\frac {1}{a^2 x^2}} x^2+\frac {1}{3} a^2 c^2 \left (1-\frac {1}{a^2 x^2}\right )^{3/2} x^3-\frac {c^2 \text {arctanh}\left (\sqrt {1-\frac {1}{a^2 x^2}}\right )}{2 a} \\ \end{align*}
Time = 0.18 (sec) , antiderivative size = 64, normalized size of antiderivative = 0.82 \[ \int e^{3 \coth ^{-1}(a x)} (c-a c x)^2 \, dx=\frac {c^2 \left (a \sqrt {1-\frac {1}{a^2 x^2}} x \left (-2+3 a x+2 a^2 x^2\right )-3 \log \left (a \left (1+\sqrt {1-\frac {1}{a^2 x^2}}\right ) x\right )\right )}{6 a} \]
[In]
[Out]
Time = 0.41 (sec) , antiderivative size = 112, normalized size of antiderivative = 1.44
method | result | size |
risch | \(\frac {\left (2 a^{2} x^{2}+3 a x -2\right ) \left (a x -1\right ) c^{2}}{6 a \sqrt {\frac {a x -1}{a x +1}}}-\frac {\ln \left (\frac {a^{2} x}{\sqrt {a^{2}}}+\sqrt {a^{2} x^{2}-1}\right ) c^{2} \sqrt {\left (a x -1\right ) \left (a x +1\right )}}{2 \sqrt {a^{2}}\, \left (a x +1\right ) \sqrt {\frac {a x -1}{a x +1}}}\) | \(112\) |
default | \(\frac {\left (a x -1\right )^{2} c^{2} \left (3 \sqrt {a^{2} x^{2}-1}\, \sqrt {a^{2}}\, a x +2 \left (\left (a x -1\right ) \left (a x +1\right )\right )^{\frac {3}{2}} \sqrt {a^{2}}-3 \ln \left (\frac {a^{2} x +\sqrt {a^{2} x^{2}-1}\, \sqrt {a^{2}}}{\sqrt {a^{2}}}\right ) a \right )}{6 \left (\frac {a x -1}{a x +1}\right )^{\frac {3}{2}} \left (a x +1\right ) \sqrt {\left (a x -1\right ) \left (a x +1\right )}\, \sqrt {a^{2}}\, a}\) | \(130\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 103, normalized size of antiderivative = 1.32 \[ \int e^{3 \coth ^{-1}(a x)} (c-a c x)^2 \, dx=-\frac {3 \, c^{2} \log \left (\sqrt {\frac {a x - 1}{a x + 1}} + 1\right ) - 3 \, c^{2} \log \left (\sqrt {\frac {a x - 1}{a x + 1}} - 1\right ) - {\left (2 \, a^{3} c^{2} x^{3} + 5 \, a^{2} c^{2} x^{2} + a c^{2} x - 2 \, c^{2}\right )} \sqrt {\frac {a x - 1}{a x + 1}}}{6 \, a} \]
[In]
[Out]
\[ \int e^{3 \coth ^{-1}(a x)} (c-a c x)^2 \, dx=c^{2} \left (\int \left (- \frac {2 a x}{\frac {a x \sqrt {\frac {a x}{a x + 1} - \frac {1}{a x + 1}}}{a x + 1} - \frac {\sqrt {\frac {a x}{a x + 1} - \frac {1}{a x + 1}}}{a x + 1}}\right )\, dx + \int \frac {a^{2} x^{2}}{\frac {a x \sqrt {\frac {a x}{a x + 1} - \frac {1}{a x + 1}}}{a x + 1} - \frac {\sqrt {\frac {a x}{a x + 1} - \frac {1}{a x + 1}}}{a x + 1}}\, dx + \int \frac {1}{\frac {a x \sqrt {\frac {a x}{a x + 1} - \frac {1}{a x + 1}}}{a x + 1} - \frac {\sqrt {\frac {a x}{a x + 1} - \frac {1}{a x + 1}}}{a x + 1}}\, dx\right ) \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 181 vs. \(2 (66) = 132\).
Time = 0.22 (sec) , antiderivative size = 181, normalized size of antiderivative = 2.32 \[ \int e^{3 \coth ^{-1}(a x)} (c-a c x)^2 \, dx=-\frac {1}{6} \, a {\left (\frac {3 \, c^{2} \log \left (\sqrt {\frac {a x - 1}{a x + 1}} + 1\right )}{a^{2}} - \frac {3 \, c^{2} \log \left (\sqrt {\frac {a x - 1}{a x + 1}} - 1\right )}{a^{2}} - \frac {2 \, {\left (3 \, c^{2} \left (\frac {a x - 1}{a x + 1}\right )^{\frac {5}{2}} - 8 \, c^{2} \left (\frac {a x - 1}{a x + 1}\right )^{\frac {3}{2}} - 3 \, c^{2} \sqrt {\frac {a x - 1}{a x + 1}}\right )}}{\frac {3 \, {\left (a x - 1\right )} a^{2}}{a x + 1} - \frac {3 \, {\left (a x - 1\right )}^{2} a^{2}}{{\left (a x + 1\right )}^{2}} + \frac {{\left (a x - 1\right )}^{3} a^{2}}{{\left (a x + 1\right )}^{3}} - a^{2}}\right )} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 98, normalized size of antiderivative = 1.26 \[ \int e^{3 \coth ^{-1}(a x)} (c-a c x)^2 \, dx=\frac {1}{6} \, \sqrt {a^{2} x^{2} - 1} {\left ({\left (\frac {2 \, a c^{2} x}{\mathrm {sgn}\left (a x + 1\right )} + \frac {3 \, c^{2}}{\mathrm {sgn}\left (a x + 1\right )}\right )} x - \frac {2 \, c^{2}}{a \mathrm {sgn}\left (a x + 1\right )}\right )} + \frac {c^{2} \log \left ({\left | -x {\left | a \right |} + \sqrt {a^{2} x^{2} - 1} \right |}\right )}{2 \, {\left | a \right |} \mathrm {sgn}\left (a x + 1\right )} \]
[In]
[Out]
Time = 4.24 (sec) , antiderivative size = 139, normalized size of antiderivative = 1.78 \[ \int e^{3 \coth ^{-1}(a x)} (c-a c x)^2 \, dx=\frac {c^2\,\sqrt {\frac {a\,x-1}{a\,x+1}}+\frac {8\,c^2\,{\left (\frac {a\,x-1}{a\,x+1}\right )}^{3/2}}{3}-c^2\,{\left (\frac {a\,x-1}{a\,x+1}\right )}^{5/2}}{a-\frac {3\,a\,\left (a\,x-1\right )}{a\,x+1}+\frac {3\,a\,{\left (a\,x-1\right )}^2}{{\left (a\,x+1\right )}^2}-\frac {a\,{\left (a\,x-1\right )}^3}{{\left (a\,x+1\right )}^3}}-\frac {c^2\,\mathrm {atanh}\left (\sqrt {\frac {a\,x-1}{a\,x+1}}\right )}{a} \]
[In]
[Out]