Integrand size = 24, antiderivative size = 71 \[ \int e^{2 \text {arctanh}(a x)} \left (c-\frac {c}{a x}\right )^{3/2} \, dx=\frac {c \sqrt {c-\frac {c}{a x}}}{a}-\left (c-\frac {c}{a x}\right )^{3/2} x-\frac {c^{3/2} \text {arctanh}\left (\frac {\sqrt {c-\frac {c}{a x}}}{\sqrt {c}}\right )}{a} \]
Time = 0.04 (sec) , antiderivative size = 57, normalized size of antiderivative = 0.80 \[ \int e^{2 \text {arctanh}(a x)} \left (c-\frac {c}{a x}\right )^{3/2} \, dx=\frac {c \sqrt {c-\frac {c}{a x}} (2-a x)-c^{3/2} \text {arctanh}\left (\frac {\sqrt {c-\frac {c}{a x}}}{\sqrt {c}}\right )}{a} \]
Time = 0.34 (sec) , antiderivative size = 79, normalized size of antiderivative = 1.11, number of steps used = 9, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {6683, 1035, 281, 899, 87, 60, 73, 221}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int e^{2 \text {arctanh}(a x)} \left (c-\frac {c}{a x}\right )^{3/2} \, dx\) |
\(\Big \downarrow \) 6683 |
\(\displaystyle \int \frac {(a x+1) \left (c-\frac {c}{a x}\right )^{3/2}}{1-a x}dx\) |
\(\Big \downarrow \) 1035 |
\(\displaystyle \int \frac {\left (a+\frac {1}{x}\right ) \left (c-\frac {c}{a x}\right )^{3/2}}{\frac {1}{x}-a}dx\) |
\(\Big \downarrow \) 281 |
\(\displaystyle -\frac {c \int \left (a+\frac {1}{x}\right ) \sqrt {c-\frac {c}{a x}}dx}{a}\) |
\(\Big \downarrow \) 899 |
\(\displaystyle \frac {c \int \left (a+\frac {1}{x}\right ) \sqrt {c-\frac {c}{a x}} x^2d\frac {1}{x}}{a}\) |
\(\Big \downarrow \) 87 |
\(\displaystyle \frac {c \left (\frac {1}{2} \int \sqrt {c-\frac {c}{a x}} xd\frac {1}{x}-\frac {a x \left (c-\frac {c}{a x}\right )^{3/2}}{c}\right )}{a}\) |
\(\Big \downarrow \) 60 |
\(\displaystyle \frac {c \left (\frac {1}{2} \left (c \int \frac {x}{\sqrt {c-\frac {c}{a x}}}d\frac {1}{x}+2 \sqrt {c-\frac {c}{a x}}\right )-\frac {a x \left (c-\frac {c}{a x}\right )^{3/2}}{c}\right )}{a}\) |
\(\Big \downarrow \) 73 |
\(\displaystyle \frac {c \left (\frac {1}{2} \left (2 \sqrt {c-\frac {c}{a x}}-2 a \int \frac {1}{a-\frac {a}{c x^2}}d\sqrt {c-\frac {c}{a x}}\right )-\frac {a x \left (c-\frac {c}{a x}\right )^{3/2}}{c}\right )}{a}\) |
\(\Big \downarrow \) 221 |
\(\displaystyle \frac {c \left (\frac {1}{2} \left (2 \sqrt {c-\frac {c}{a x}}-2 \sqrt {c} \text {arctanh}\left (\frac {\sqrt {c-\frac {c}{a x}}}{\sqrt {c}}\right )\right )-\frac {a x \left (c-\frac {c}{a x}\right )^{3/2}}{c}\right )}{a}\) |
(c*(-((a*(c - c/(a*x))^(3/2)*x)/c) + (2*Sqrt[c - c/(a*x)] - 2*Sqrt[c]*ArcT anh[Sqrt[c - c/(a*x)]/Sqrt[c]])/2))/a
3.6.21.3.1 Defintions of rubi rules used
Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[ (a + b*x)^(m + 1)*((c + d*x)^n/(b*(m + n + 1))), x] + Simp[n*((b*c - a*d)/( b*(m + n + 1))) Int[(a + b*x)^m*(c + d*x)^(n - 1), x], x] /; FreeQ[{a, b, c, d}, x] && GtQ[n, 0] && NeQ[m + n + 1, 0] && !(IGtQ[m, 0] && ( !Integer Q[n] || (GtQ[m, 0] && LtQ[m - n, 0]))) && !ILtQ[m + n + 2, 0] && IntLinear Q[a, b, c, d, m, n, x]
Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[ {p = Denominator[m]}, Simp[p/b Subst[Int[x^(p*(m + 1) - 1)*(c - a*(d/b) + d*(x^p/b))^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] && Lt Q[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntL inearQ[a, b, c, d, m, n, x]
Int[((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p _.), x_] :> Simp[(-(b*e - a*f))*(c + d*x)^(n + 1)*((e + f*x)^(p + 1)/(f*(p + 1)*(c*f - d*e))), x] - Simp[(a*d*f*(n + p + 2) - b*(d*e*(n + 1) + c*f*(p + 1)))/(f*(p + 1)*(c*f - d*e)) Int[(c + d*x)^n*(e + f*x)^(p + 1), x], x] /; FreeQ[{a, b, c, d, e, f, n}, x] && LtQ[p, -1] && ( !LtQ[n, -1] || Intege rQ[p] || !(IntegerQ[n] || !(EqQ[e, 0] || !(EqQ[c, 0] || LtQ[p, n]))))
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-a/b, 2]/a)*ArcTanh[x /Rt[-a/b, 2]], x] /; FreeQ[{a, b}, x] && NegQ[a/b]
Int[(u_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_ Symbol] :> Simp[(b/d)^p Int[u*(c + d*x^n)^(p + q), x], x] /; FreeQ[{a, b, c, d, n, p, q}, x] && EqQ[b*c - a*d, 0] && IntegerQ[p] && !(IntegerQ[q] & & SimplerQ[a + b*x^n, c + d*x^n])
Int[((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol ] :> -Subst[Int[(a + b/x^n)^p*((c + d/x^n)^q/x^2), x], x, 1/x] /; FreeQ[{a, b, c, d, p, q}, x] && NeQ[b*c - a*d, 0] && ILtQ[n, 0]
Int[((c_) + (d_.)*(x_)^(mn_.))^(q_.)*((a_.) + (b_.)*(x_)^(n_.))^(p_.)*((e_) + (f_.)*(x_)^(n_.))^(r_.), x_Symbol] :> Int[x^(n*(p + r))*(b + a/x^n)^p*(c + d/x^n)^q*(f + e/x^n)^r, x] /; FreeQ[{a, b, c, d, e, f, n, q}, x] && EqQ[ mn, -n] && IntegerQ[p] && IntegerQ[r]
Int[E^(ArcTanh[(a_.)*(x_)]*(n_))*(u_.)*((c_) + (d_.)/(x_))^(p_), x_Symbol] :> Int[u*(c + d/x)^p*((1 + a*x)^(n/2)/(1 - a*x)^(n/2)), x] /; FreeQ[{a, c, d, p}, x] && EqQ[c^2 - a^2*d^2, 0] && !IntegerQ[p] && IntegerQ[n/2] && !G tQ[c, 0]
Time = 0.12 (sec) , antiderivative size = 103, normalized size of antiderivative = 1.45
method | result | size |
default | \(-\frac {\sqrt {\frac {c \left (a x -1\right )}{a x}}\, c \left (-2 \sqrt {a \,x^{2}-x}\, a^{\frac {3}{2}} x^{2}+4 \left (a \,x^{2}-x \right )^{\frac {3}{2}} \sqrt {a}+\ln \left (\frac {2 \sqrt {a \,x^{2}-x}\, \sqrt {a}+2 a x -1}{2 \sqrt {a}}\right ) a \,x^{2}\right )}{2 x \sqrt {\left (a x -1\right ) x}\, a^{\frac {3}{2}}}\) | \(103\) |
risch | \(-\frac {\left (a^{2} x^{2}-3 a x +2\right ) c \sqrt {\frac {c \left (a x -1\right )}{a x}}}{a \left (a x -1\right )}-\frac {\ln \left (\frac {-\frac {1}{2} a c +a^{2} c x}{\sqrt {a^{2} c}}+\sqrt {a^{2} c \,x^{2}-a c x}\right ) c \sqrt {c \left (a x -1\right ) a x}\, \sqrt {\frac {c \left (a x -1\right )}{a x}}}{2 \sqrt {a^{2} c}\, \left (a x -1\right )}\) | \(123\) |
-1/2*(c*(a*x-1)/a/x)^(1/2)/x*c*(-2*(a*x^2-x)^(1/2)*a^(3/2)*x^2+4*(a*x^2-x) ^(3/2)*a^(1/2)+ln(1/2*(2*(a*x^2-x)^(1/2)*a^(1/2)+2*a*x-1)/a^(1/2))*a*x^2)/ ((a*x-1)*x)^(1/2)/a^(3/2)
Time = 0.26 (sec) , antiderivative size = 136, normalized size of antiderivative = 1.92 \[ \int e^{2 \text {arctanh}(a x)} \left (c-\frac {c}{a x}\right )^{3/2} \, dx=\left [\frac {c^{\frac {3}{2}} \log \left (-2 \, a c x + 2 \, a \sqrt {c} x \sqrt {\frac {a c x - c}{a x}} + c\right ) - 2 \, {\left (a c x - 2 \, c\right )} \sqrt {\frac {a c x - c}{a x}}}{2 \, a}, \frac {\sqrt {-c} c \arctan \left (\frac {\sqrt {-c} \sqrt {\frac {a c x - c}{a x}}}{c}\right ) - {\left (a c x - 2 \, c\right )} \sqrt {\frac {a c x - c}{a x}}}{a}\right ] \]
[1/2*(c^(3/2)*log(-2*a*c*x + 2*a*sqrt(c)*x*sqrt((a*c*x - c)/(a*x)) + c) - 2*(a*c*x - 2*c)*sqrt((a*c*x - c)/(a*x)))/a, (sqrt(-c)*c*arctan(sqrt(-c)*sq rt((a*c*x - c)/(a*x))/c) - (a*c*x - 2*c)*sqrt((a*c*x - c)/(a*x)))/a]
Result contains complex when optimal does not.
Time = 13.32 (sec) , antiderivative size = 173, normalized size of antiderivative = 2.44 \[ \int e^{2 \text {arctanh}(a x)} \left (c-\frac {c}{a x}\right )^{3/2} \, dx=- c \left (\begin {cases} - \frac {\sqrt {c} \operatorname {acosh}{\left (\sqrt {a} \sqrt {x} \right )}}{a} + \frac {\sqrt {c} \sqrt {x} \sqrt {a x - 1}}{\sqrt {a}} & \text {for}\: \left |{a x}\right | > 1 \\- \frac {i \sqrt {a} \sqrt {c} x^{\frac {3}{2}}}{\sqrt {- a x + 1}} + \frac {i \sqrt {c} \operatorname {asin}{\left (\sqrt {a} \sqrt {x} \right )}}{a} + \frac {i \sqrt {c} \sqrt {x}}{\sqrt {a} \sqrt {- a x + 1}} & \text {otherwise} \end {cases}\right ) + \frac {c \left (\begin {cases} \frac {2 c \operatorname {atan}{\left (\frac {\sqrt {c - \frac {c}{a x}}}{\sqrt {- c}} \right )}}{\sqrt {- c}} + 2 \sqrt {c - \frac {c}{a x}} & \text {for}\: \frac {c}{a} \neq 0 \\- \sqrt {c} \log {\left (x \right )} & \text {otherwise} \end {cases}\right )}{a} \]
-c*Piecewise((-sqrt(c)*acosh(sqrt(a)*sqrt(x))/a + sqrt(c)*sqrt(x)*sqrt(a*x - 1)/sqrt(a), Abs(a*x) > 1), (-I*sqrt(a)*sqrt(c)*x**(3/2)/sqrt(-a*x + 1) + I*sqrt(c)*asin(sqrt(a)*sqrt(x))/a + I*sqrt(c)*sqrt(x)/(sqrt(a)*sqrt(-a*x + 1)), True)) + c*Piecewise((2*c*atan(sqrt(c - c/(a*x))/sqrt(-c))/sqrt(-c ) + 2*sqrt(c - c/(a*x)), Ne(c/a, 0)), (-sqrt(c)*log(x), True))/a
\[ \int e^{2 \text {arctanh}(a x)} \left (c-\frac {c}{a x}\right )^{3/2} \, dx=\int { -\frac {{\left (a x + 1\right )}^{2} {\left (c - \frac {c}{a x}\right )}^{\frac {3}{2}}}{a^{2} x^{2} - 1} \,d x } \]
Exception generated. \[ \int e^{2 \text {arctanh}(a x)} \left (c-\frac {c}{a x}\right )^{3/2} \, dx=\text {Exception raised: TypeError} \]
Exception raised: TypeError >> an error occurred running a Giac command:IN PUT:sage2:=int(sage0,sageVARx):;OUTPUT:Limit: Max order reached or unable to make series expansion Error: Bad Argument Value
Timed out. \[ \int e^{2 \text {arctanh}(a x)} \left (c-\frac {c}{a x}\right )^{3/2} \, dx=\int -\frac {{\left (c-\frac {c}{a\,x}\right )}^{3/2}\,{\left (a\,x+1\right )}^2}{a^2\,x^2-1} \,d x \]