Integrand size = 27, antiderivative size = 79 \[ \int \frac {e^{-2 \text {arctanh}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x^2} \, dx=2 a \sqrt {c-\frac {c}{a^2 x^2}}-\frac {\sqrt {c-\frac {c}{a^2 x^2}}}{2 x}+\frac {3}{2} a \sqrt {c} \arctan \left (\frac {\sqrt {c}}{a \sqrt {c-\frac {c}{a^2 x^2}} x}\right ) \] Output:
2*a*(c-c/a^2/x^2)^(1/2)-1/2*(c-c/a^2/x^2)^(1/2)/x+3/2*a*c^(1/2)*arctan(c^( 1/2)/a/(c-c/a^2/x^2)^(1/2)/x)
Time = 0.13 (sec) , antiderivative size = 78, normalized size of antiderivative = 0.99 \[ \int \frac {e^{-2 \text {arctanh}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x^2} \, dx=\frac {\sqrt {c-\frac {c}{a^2 x^2}} \left ((-1+4 a x) \sqrt {-1+a^2 x^2}+3 a^2 x^2 \arctan \left (\frac {1}{\sqrt {-1+a^2 x^2}}\right )\right )}{2 x \sqrt {-1+a^2 x^2}} \] Input:
Integrate[Sqrt[c - c/(a^2*x^2)]/(E^(2*ArcTanh[a*x])*x^2),x]
Output:
(Sqrt[c - c/(a^2*x^2)]*((-1 + 4*a*x)*Sqrt[-1 + a^2*x^2] + 3*a^2*x^2*ArcTan [1/Sqrt[-1 + a^2*x^2]]))/(2*x*Sqrt[-1 + a^2*x^2])
Time = 0.71 (sec) , antiderivative size = 96, normalized size of antiderivative = 1.22, number of steps used = 9, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.296, Rules used = {6709, 570, 540, 27, 534, 243, 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 \frac {e^{-2 \text {arctanh}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x^2} \, dx\) |
\(\Big \downarrow \) 6709 |
\(\displaystyle \frac {x \sqrt {c-\frac {c}{a^2 x^2}} \int \frac {\left (1-a^2 x^2\right )^{3/2}}{x^3 (a x+1)^2}dx}{\sqrt {1-a^2 x^2}}\) |
\(\Big \downarrow \) 570 |
\(\displaystyle \frac {x \sqrt {c-\frac {c}{a^2 x^2}} \int \frac {(1-a x)^2}{x^3 \sqrt {1-a^2 x^2}}dx}{\sqrt {1-a^2 x^2}}\) |
\(\Big \downarrow \) 540 |
\(\displaystyle \frac {x \sqrt {c-\frac {c}{a^2 x^2}} \left (-\frac {1}{2} \int \frac {a (4-3 a x)}{x^2 \sqrt {1-a^2 x^2}}dx-\frac {\sqrt {1-a^2 x^2}}{2 x^2}\right )}{\sqrt {1-a^2 x^2}}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {x \sqrt {c-\frac {c}{a^2 x^2}} \left (-\frac {1}{2} a \int \frac {4-3 a x}{x^2 \sqrt {1-a^2 x^2}}dx-\frac {\sqrt {1-a^2 x^2}}{2 x^2}\right )}{\sqrt {1-a^2 x^2}}\) |
\(\Big \downarrow \) 534 |
\(\displaystyle \frac {x \sqrt {c-\frac {c}{a^2 x^2}} \left (-\frac {1}{2} a \left (-3 a \int \frac {1}{x \sqrt {1-a^2 x^2}}dx-\frac {4 \sqrt {1-a^2 x^2}}{x}\right )-\frac {\sqrt {1-a^2 x^2}}{2 x^2}\right )}{\sqrt {1-a^2 x^2}}\) |
\(\Big \downarrow \) 243 |
\(\displaystyle \frac {x \sqrt {c-\frac {c}{a^2 x^2}} \left (-\frac {1}{2} a \left (-\frac {3}{2} a \int \frac {1}{x^2 \sqrt {1-a^2 x^2}}dx^2-\frac {4 \sqrt {1-a^2 x^2}}{x}\right )-\frac {\sqrt {1-a^2 x^2}}{2 x^2}\right )}{\sqrt {1-a^2 x^2}}\) |
\(\Big \downarrow \) 73 |
\(\displaystyle \frac {x \sqrt {c-\frac {c}{a^2 x^2}} \left (-\frac {1}{2} a \left (\frac {3 \int \frac {1}{\frac {1}{a^2}-\frac {x^4}{a^2}}d\sqrt {1-a^2 x^2}}{a}-\frac {4 \sqrt {1-a^2 x^2}}{x}\right )-\frac {\sqrt {1-a^2 x^2}}{2 x^2}\right )}{\sqrt {1-a^2 x^2}}\) |
\(\Big \downarrow \) 221 |
\(\displaystyle \frac {x \left (-\frac {1}{2} a \left (3 a \text {arctanh}\left (\sqrt {1-a^2 x^2}\right )-\frac {4 \sqrt {1-a^2 x^2}}{x}\right )-\frac {\sqrt {1-a^2 x^2}}{2 x^2}\right ) \sqrt {c-\frac {c}{a^2 x^2}}}{\sqrt {1-a^2 x^2}}\) |
Input:
Int[Sqrt[c - c/(a^2*x^2)]/(E^(2*ArcTanh[a*x])*x^2),x]
Output:
(Sqrt[c - c/(a^2*x^2)]*x*(-1/2*Sqrt[1 - a^2*x^2]/x^2 - (a*((-4*Sqrt[1 - a^ 2*x^2])/x + 3*a*ArcTanh[Sqrt[1 - a^2*x^2]]))/2))/Sqrt[1 - a^2*x^2]
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, 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_)^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[(x_)^(m_.)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> Simp[1/2 Subst[In t[x^((m - 1)/2)*(a + b*x)^p, x], x, x^2], x] /; FreeQ[{a, b, m, p}, x] && I ntegerQ[(m - 1)/2]
Int[(x_)^(m_)*((c_) + (d_.)*(x_))*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> Simp[(-c)*x^(m + 1)*((a + b*x^2)^(p + 1)/(2*a*(p + 1))), x] + Simp[d Int[ x^(m + 1)*(a + b*x^2)^p, x], x] /; FreeQ[{a, b, c, d, m, p}, x] && ILtQ[m, 0] && GtQ[p, -1] && EqQ[m + 2*p + 3, 0]
Int[(x_)^(m_)*((c_) + (d_.)*(x_))^(n_)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol ] :> With[{Qx = PolynomialQuotient[(c + d*x)^n, x, x], R = PolynomialRemain der[(c + d*x)^n, x, x]}, Simp[R*x^(m + 1)*((a + b*x^2)^(p + 1)/(a*(m + 1))) , x] + Simp[1/(a*(m + 1)) Int[x^(m + 1)*(a + b*x^2)^p*ExpandToSum[a*(m + 1)*Qx - b*R*(m + 2*p + 3)*x, x], x], x]] /; FreeQ[{a, b, c, d, p}, x] && IG tQ[n, 1] && ILtQ[m, -1] && GtQ[p, -1] && IntegerQ[2*p]
Int[((e_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> Simp[c^(2*n)/a^n Int[(e*x)^m*((a + b*x^2)^(n + p)/(c - d*x)^ n), x], x] /; FreeQ[{a, b, c, d, e, m, p}, x] && EqQ[b*c^2 + a*d^2, 0] && I LtQ[n, -1] && !(IGtQ[m, 0] && ILtQ[m + n, 0] && !GtQ[p, 1])
Int[E^(ArcTanh[(a_.)*(x_)]*(n_.))*(u_.)*((c_) + (d_.)/(x_)^2)^(p_), x_Symbo l] :> Simp[x^(2*p)*((c + d/x^2)^p/(1 - a^2*x^2)^p) Int[u*((1 + a*x)^n/(x^ (2*p)*(1 - a^2*x^2)^(n/2 - p))), x], x] /; FreeQ[{a, c, d, p}, x] && EqQ[c + a^2*d, 0] && !IntegerQ[p] && IntegerQ[n/2] && !GtQ[c, 0]
Leaf count of result is larger than twice the leaf count of optimal. \(142\) vs. \(2(65)=130\).
Time = 0.16 (sec) , antiderivative size = 143, normalized size of antiderivative = 1.81
method | result | size |
risch | \(\frac {\left (4 a^{3} x^{3}-a^{2} x^{2}-4 a x +1\right ) \sqrt {\frac {c \left (a^{2} x^{2}-1\right )}{a^{2} x^{2}}}}{2 x \left (a^{2} x^{2}-1\right )}+\frac {3 a^{2} \ln \left (\frac {-2 c +2 \sqrt {-c}\, \sqrt {a^{2} c \,x^{2}-c}}{x}\right ) x \sqrt {c \left (a^{2} x^{2}-1\right )}\, \sqrt {\frac {c \left (a^{2} x^{2}-1\right )}{a^{2} x^{2}}}}{2 \sqrt {-c}\, \left (a^{2} x^{2}-1\right )}\) | \(143\) |
default | \(-\frac {\sqrt {\frac {c \left (a^{2} x^{2}-1\right )}{a^{2} x^{2}}}\, \left (-4 \sqrt {\frac {c \left (a^{2} x^{2}-1\right )}{a^{2}}}\, \sqrt {-\frac {c}{a^{2}}}\, a^{3} c \,x^{3}+4 {\left (\frac {c \left (a^{2} x^{2}-1\right )}{a^{2}}\right )}^{\frac {3}{2}} \sqrt {-\frac {c}{a^{2}}}\, a^{3} x -3 \sqrt {\frac {c \left (a^{2} x^{2}-1\right )}{a^{2}}}\, \sqrt {-\frac {c}{a^{2}}}\, a^{2} c \,x^{2}+4 \sqrt {-\frac {c}{a^{2}}}\, c^{\frac {3}{2}} \ln \left (x \sqrt {c}+\sqrt {\frac {c \left (a^{2} x^{2}-1\right )}{a^{2}}}\right ) a \,x^{2}-4 \sqrt {-\frac {c}{a^{2}}}\, c^{\frac {3}{2}} \ln \left (\frac {\sqrt {c}\, \sqrt {\frac {c \left (a x -1\right ) \left (a x +1\right )}{a^{2}}}+x c}{\sqrt {c}}\right ) a \,x^{2}+4 \sqrt {-\frac {c}{a^{2}}}\, \sqrt {\frac {c \left (a x -1\right ) \left (a x +1\right )}{a^{2}}}\, a^{2} c \,x^{2}-a^{2} {\left (\frac {c \left (a^{2} x^{2}-1\right )}{a^{2}}\right )}^{\frac {3}{2}} \sqrt {-\frac {c}{a^{2}}}-3 \ln \left (\frac {2 \sqrt {-\frac {c}{a^{2}}}\, \sqrt {\frac {c \left (a^{2} x^{2}-1\right )}{a^{2}}}\, a^{2}-2 c}{a^{2} x}\right ) c^{2} x^{2}\right )}{2 x \sqrt {\frac {c \left (a^{2} x^{2}-1\right )}{a^{2}}}\, \sqrt {-\frac {c}{a^{2}}}\, c}\) | \(348\) |
Input:
int((c-c/a^2/x^2)^(1/2)/(a*x+1)^2*(-a^2*x^2+1)/x^2,x,method=_RETURNVERBOSE )
Output:
1/2*(4*a^3*x^3-a^2*x^2-4*a*x+1)/x*(c*(a^2*x^2-1)/a^2/x^2)^(1/2)/(a^2*x^2-1 )+3/2*a^2/(-c)^(1/2)*ln((-2*c+2*(-c)^(1/2)*(a^2*c*x^2-c)^(1/2))/x)*x*(c*(a ^2*x^2-1))^(1/2)*(c*(a^2*x^2-1)/a^2/x^2)^(1/2)/(a^2*x^2-1)
Time = 0.08 (sec) , antiderivative size = 163, normalized size of antiderivative = 2.06 \[ \int \frac {e^{-2 \text {arctanh}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x^2} \, dx=\left [\frac {3 \, a \sqrt {-c} x \log \left (-\frac {a^{2} c x^{2} - 2 \, a \sqrt {-c} x \sqrt {\frac {a^{2} c x^{2} - c}{a^{2} x^{2}}} - 2 \, c}{x^{2}}\right ) + 2 \, {\left (4 \, a x - 1\right )} \sqrt {\frac {a^{2} c x^{2} - c}{a^{2} x^{2}}}}{4 \, x}, -\frac {3 \, a \sqrt {c} x \arctan \left (\frac {a x \sqrt {\frac {a^{2} c x^{2} - c}{a^{2} x^{2}}}}{\sqrt {c}}\right ) - {\left (4 \, a x - 1\right )} \sqrt {\frac {a^{2} c x^{2} - c}{a^{2} x^{2}}}}{2 \, x}\right ] \] Input:
integrate((c-c/a^2/x^2)^(1/2)/(a*x+1)^2*(-a^2*x^2+1)/x^2,x, algorithm="fri cas")
Output:
[1/4*(3*a*sqrt(-c)*x*log(-(a^2*c*x^2 - 2*a*sqrt(-c)*x*sqrt((a^2*c*x^2 - c) /(a^2*x^2)) - 2*c)/x^2) + 2*(4*a*x - 1)*sqrt((a^2*c*x^2 - c)/(a^2*x^2)))/x , -1/2*(3*a*sqrt(c)*x*arctan(a*x*sqrt((a^2*c*x^2 - c)/(a^2*x^2))/sqrt(c)) - (4*a*x - 1)*sqrt((a^2*c*x^2 - c)/(a^2*x^2)))/x]
\[ \int \frac {e^{-2 \text {arctanh}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x^2} \, dx=- \int \left (- \frac {\sqrt {c - \frac {c}{a^{2} x^{2}}}}{a x^{3} + x^{2}}\right )\, dx - \int \frac {a x \sqrt {c - \frac {c}{a^{2} x^{2}}}}{a x^{3} + x^{2}}\, dx \] Input:
integrate((c-c/a**2/x**2)**(1/2)/(a*x+1)**2*(-a**2*x**2+1)/x**2,x)
Output:
-Integral(-sqrt(c - c/(a**2*x**2))/(a*x**3 + x**2), x) - Integral(a*x*sqrt (c - c/(a**2*x**2))/(a*x**3 + x**2), x)
\[ \int \frac {e^{-2 \text {arctanh}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x^2} \, dx=\int { -\frac {{\left (a^{2} x^{2} - 1\right )} \sqrt {c - \frac {c}{a^{2} x^{2}}}}{{\left (a x + 1\right )}^{2} x^{2}} \,d x } \] Input:
integrate((c-c/a^2/x^2)^(1/2)/(a*x+1)^2*(-a^2*x^2+1)/x^2,x, algorithm="max ima")
Output:
-integrate((a^2*x^2 - 1)*sqrt(c - c/(a^2*x^2))/((a*x + 1)^2*x^2), x)
Leaf count of result is larger than twice the leaf count of optimal. 195 vs. \(2 (65) = 130\).
Time = 0.16 (sec) , antiderivative size = 195, normalized size of antiderivative = 2.47 \[ \int \frac {e^{-2 \text {arctanh}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x^2} \, dx=-{\left (3 \, \sqrt {c} \arctan \left (-\frac {\sqrt {a^{2} c} x - \sqrt {a^{2} c x^{2} - c}}{\sqrt {c}}\right ) \mathrm {sgn}\left (x\right ) - \frac {{\left (\sqrt {a^{2} c} x - \sqrt {a^{2} c x^{2} - c}\right )}^{3} a c \mathrm {sgn}\left (x\right ) + 4 \, {\left (\sqrt {a^{2} c} x - \sqrt {a^{2} c x^{2} - c}\right )}^{2} c^{\frac {3}{2}} {\left | a \right |} \mathrm {sgn}\left (x\right ) - {\left (\sqrt {a^{2} c} x - \sqrt {a^{2} c x^{2} - c}\right )} a c^{2} \mathrm {sgn}\left (x\right ) + 4 \, c^{\frac {5}{2}} {\left | a \right |} \mathrm {sgn}\left (x\right )}{{\left ({\left (\sqrt {a^{2} c} x - \sqrt {a^{2} c x^{2} - c}\right )}^{2} + c\right )}^{2} a}\right )} {\left | a \right |} \] Input:
integrate((c-c/a^2/x^2)^(1/2)/(a*x+1)^2*(-a^2*x^2+1)/x^2,x, algorithm="gia c")
Output:
-(3*sqrt(c)*arctan(-(sqrt(a^2*c)*x - sqrt(a^2*c*x^2 - c))/sqrt(c))*sgn(x) - ((sqrt(a^2*c)*x - sqrt(a^2*c*x^2 - c))^3*a*c*sgn(x) + 4*(sqrt(a^2*c)*x - sqrt(a^2*c*x^2 - c))^2*c^(3/2)*abs(a)*sgn(x) - (sqrt(a^2*c)*x - sqrt(a^2* c*x^2 - c))*a*c^2*sgn(x) + 4*c^(5/2)*abs(a)*sgn(x))/(((sqrt(a^2*c)*x - sqr t(a^2*c*x^2 - c))^2 + c)^2*a))*abs(a)
Timed out. \[ \int \frac {e^{-2 \text {arctanh}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x^2} \, dx=-\int \frac {\sqrt {c-\frac {c}{a^2\,x^2}}\,\left (a^2\,x^2-1\right )}{x^2\,{\left (a\,x+1\right )}^2} \,d x \] Input:
int(-((c - c/(a^2*x^2))^(1/2)*(a^2*x^2 - 1))/(x^2*(a*x + 1)^2),x)
Output:
-int(((c - c/(a^2*x^2))^(1/2)*(a^2*x^2 - 1))/(x^2*(a*x + 1)^2), x)
Time = 0.15 (sec) , antiderivative size = 60, normalized size of antiderivative = 0.76 \[ \int \frac {e^{-2 \text {arctanh}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x^2} \, dx=\frac {\sqrt {c}\, \left (-6 \mathit {atan} \left (\sqrt {a^{2} x^{2}-1}+a x \right ) a^{2} x^{2}+4 \sqrt {a^{2} x^{2}-1}\, a x -\sqrt {a^{2} x^{2}-1}\right )}{2 a \,x^{2}} \] Input:
int((c-c/a^2/x^2)^(1/2)/(a*x+1)^2*(-a^2*x^2+1)/x^2,x)
Output:
(sqrt(c)*( - 6*atan(sqrt(a**2*x**2 - 1) + a*x)*a**2*x**2 + 4*sqrt(a**2*x** 2 - 1)*a*x - sqrt(a**2*x**2 - 1)))/(2*a*x**2)