Integrand size = 27, antiderivative size = 82 \[ \int \frac {e^{2 \text {arctanh}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x} \, dx=-\sqrt {c-\frac {c}{a^2 x^2}}+2 \sqrt {c} \arctan \left (\frac {\sqrt {c}}{a \sqrt {c-\frac {c}{a^2 x^2}} x}\right )-\sqrt {c} \text {arctanh}\left (\frac {\sqrt {c-\frac {c}{a^2 x^2}}}{\sqrt {c}}\right ) \] Output:
-(c-c/a^2/x^2)^(1/2)+2*c^(1/2)*arctan(c^(1/2)/a/(c-c/a^2/x^2)^(1/2)/x)-c^( 1/2)*arctanh((c-c/a^2/x^2)^(1/2)/c^(1/2))
Time = 0.19 (sec) , antiderivative size = 85, normalized size of antiderivative = 1.04 \[ \int \frac {e^{2 \text {arctanh}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x} \, dx=\frac {\sqrt {c-\frac {c}{a^2 x^2}} \left (-\sqrt {-1+a^2 x^2}+2 a x \arctan \left (\frac {1}{\sqrt {-1+a^2 x^2}}\right )-a x \log \left (a x+\sqrt {-1+a^2 x^2}\right )\right )}{\sqrt {-1+a^2 x^2}} \] Input:
Integrate[(E^(2*ArcTanh[a*x])*Sqrt[c - c/(a^2*x^2)])/x,x]
Output:
(Sqrt[c - c/(a^2*x^2)]*(-Sqrt[-1 + a^2*x^2] + 2*a*x*ArcTan[1/Sqrt[-1 + a^2 *x^2]] - a*x*Log[a*x + Sqrt[-1 + a^2*x^2]]))/Sqrt[-1 + a^2*x^2]
Time = 0.68 (sec) , antiderivative size = 75, normalized size of antiderivative = 0.91, number of steps used = 10, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {6709, 540, 25, 27, 538, 223, 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} \, dx\) |
\(\Big \downarrow \) 6709 |
\(\displaystyle \frac {x \sqrt {c-\frac {c}{a^2 x^2}} \int \frac {(a x+1)^2}{x^2 \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 (-\int -\frac {a (a x+2)}{x \sqrt {1-a^2 x^2}}dx-\frac {\sqrt {1-a^2 x^2}}{x}\right )}{\sqrt {1-a^2 x^2}}\) |
\(\Big \downarrow \) 25 |
\(\displaystyle \frac {x \sqrt {c-\frac {c}{a^2 x^2}} \left (\int \frac {a (a x+2)}{x \sqrt {1-a^2 x^2}}dx-\frac {\sqrt {1-a^2 x^2}}{x}\right )}{\sqrt {1-a^2 x^2}}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {x \sqrt {c-\frac {c}{a^2 x^2}} \left (a \int \frac {a x+2}{x \sqrt {1-a^2 x^2}}dx-\frac {\sqrt {1-a^2 x^2}}{x}\right )}{\sqrt {1-a^2 x^2}}\) |
\(\Big \downarrow \) 538 |
\(\displaystyle \frac {x \sqrt {c-\frac {c}{a^2 x^2}} \left (a \left (a \int \frac {1}{\sqrt {1-a^2 x^2}}dx+2 \int \frac {1}{x \sqrt {1-a^2 x^2}}dx\right )-\frac {\sqrt {1-a^2 x^2}}{x}\right )}{\sqrt {1-a^2 x^2}}\) |
\(\Big \downarrow \) 223 |
\(\displaystyle \frac {x \sqrt {c-\frac {c}{a^2 x^2}} \left (a \left (2 \int \frac {1}{x \sqrt {1-a^2 x^2}}dx+\arcsin (a x)\right )-\frac {\sqrt {1-a^2 x^2}}{x}\right )}{\sqrt {1-a^2 x^2}}\) |
\(\Big \downarrow \) 243 |
\(\displaystyle \frac {x \sqrt {c-\frac {c}{a^2 x^2}} \left (a \left (\int \frac {1}{x^2 \sqrt {1-a^2 x^2}}dx^2+\arcsin (a x)\right )-\frac {\sqrt {1-a^2 x^2}}{x}\right )}{\sqrt {1-a^2 x^2}}\) |
\(\Big \downarrow \) 73 |
\(\displaystyle \frac {x \sqrt {c-\frac {c}{a^2 x^2}} \left (a \left (\arcsin (a x)-\frac {2 \int \frac {1}{\frac {1}{a^2}-\frac {x^4}{a^2}}d\sqrt {1-a^2 x^2}}{a^2}\right )-\frac {\sqrt {1-a^2 x^2}}{x}\right )}{\sqrt {1-a^2 x^2}}\) |
\(\Big \downarrow \) 221 |
\(\displaystyle \frac {x \sqrt {c-\frac {c}{a^2 x^2}} \left (a \left (\arcsin (a x)-2 \text {arctanh}\left (\sqrt {1-a^2 x^2}\right )\right )-\frac {\sqrt {1-a^2 x^2}}{x}\right )}{\sqrt {1-a^2 x^2}}\) |
Input:
Int[(E^(2*ArcTanh[a*x])*Sqrt[c - c/(a^2*x^2)])/x,x]
Output:
(Sqrt[c - c/(a^2*x^2)]*x*(-(Sqrt[1 - a^2*x^2]/x) + a*(ArcSin[a*x] - 2*ArcT anh[Sqrt[1 - a^2*x^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[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Simp[ArcSin[Rt[-b, 2]*(x/Sqrt [a])]/Rt[-b, 2], x] /; FreeQ[{a, b}, x] && GtQ[a, 0] && NegQ[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[((c_) + (d_.)*(x_))/((x_)*Sqrt[(a_) + (b_.)*(x_)^2]), x_Symbol] :> Simp [c Int[1/(x*Sqrt[a + b*x^2]), x], x] + Simp[d Int[1/Sqrt[a + b*x^2], x] , x] /; FreeQ[{a, b, c, d}, x]
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^(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. \(147\) vs. \(2(68)=136\).
Time = 0.18 (sec) , antiderivative size = 148, normalized size of antiderivative = 1.80
method | result | size |
risch | \(-\sqrt {\frac {c \left (a^{2} x^{2}-1\right )}{a^{2} x^{2}}}-\frac {\left (\frac {a^{2} \ln \left (\frac {a^{2} c x}{\sqrt {a^{2} c}}+\sqrt {a^{2} c \,x^{2}-c}\right )}{\sqrt {a^{2} c}}-\frac {2 a \ln \left (\frac {-2 c +2 \sqrt {-c}\, \sqrt {a^{2} c \,x^{2}-c}}{x}\right )}{\sqrt {-c}}\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}}}}{a^{2} x^{2}-1}\) | \(148\) |
default | \(\frac {\sqrt {\frac {c \left (a^{2} x^{2}-1\right )}{a^{2} x^{2}}}\, \left (-\sqrt {\frac {c \left (a^{2} x^{2}-1\right )}{a^{2}}}\, \sqrt {-\frac {c}{a^{2}}}\, a^{3} c \,x^{2}+a^{3} {\left (\frac {c \left (a^{2} x^{2}-1\right )}{a^{2}}\right )}^{\frac {3}{2}} \sqrt {-\frac {c}{a^{2}}}+2 \sqrt {\frac {c \left (a^{2} x^{2}-1\right )}{a^{2}}}\, x c \,a^{2} \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 ) \sqrt {-\frac {c}{a^{2}}}\, a x -2 c^{\frac {3}{2}} \sqrt {-\frac {c}{a^{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 \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 \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 \right )}{a \sqrt {\frac {c \left (a^{2} x^{2}-1\right )}{a^{2}}}\, c \sqrt {-\frac {c}{a^{2}}}}\) | \(305\) |
Input:
int((a*x+1)^2/(-a^2*x^2+1)*(c-c/a^2/x^2)^(1/2)/x,x,method=_RETURNVERBOSE)
Output:
-(c*(a^2*x^2-1)/a^2/x^2)^(1/2)-(a^2*ln(a^2*c*x/(a^2*c)^(1/2)+(a^2*c*x^2-c) ^(1/2))/(a^2*c)^(1/2)-2*a/(-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.12 (sec) , antiderivative size = 241, normalized size of antiderivative = 2.94 \[ \int \frac {e^{2 \text {arctanh}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x} \, dx=\left [\sqrt {-c} \arctan \left (\frac {a^{2} \sqrt {-c} x^{2} \sqrt {\frac {a^{2} c x^{2} - c}{a^{2} x^{2}}}}{a^{2} c x^{2} - c}\right ) + \sqrt {-c} \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 ) - \sqrt {\frac {a^{2} c x^{2} - c}{a^{2} x^{2}}}, -2 \, \sqrt {c} \arctan \left (\frac {a x \sqrt {\frac {a^{2} c x^{2} - c}{a^{2} x^{2}}}}{\sqrt {c}}\right ) + \frac {1}{2} \, \sqrt {c} \log \left (2 \, a^{2} c x^{2} - 2 \, a^{2} \sqrt {c} x^{2} \sqrt {\frac {a^{2} c x^{2} - c}{a^{2} x^{2}}} - c\right ) - \sqrt {\frac {a^{2} c x^{2} - c}{a^{2} x^{2}}}\right ] \] Input:
integrate((a*x+1)^2/(-a^2*x^2+1)*(c-c/a^2/x^2)^(1/2)/x,x, algorithm="frica s")
Output:
[sqrt(-c)*arctan(a^2*sqrt(-c)*x^2*sqrt((a^2*c*x^2 - c)/(a^2*x^2))/(a^2*c*x ^2 - c)) + sqrt(-c)*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) - sqrt((a^2*c*x^2 - c)/(a^2*x^2)), -2*sqrt(c)*arcta n(a*x*sqrt((a^2*c*x^2 - c)/(a^2*x^2))/sqrt(c)) + 1/2*sqrt(c)*log(2*a^2*c*x ^2 - 2*a^2*sqrt(c)*x^2*sqrt((a^2*c*x^2 - c)/(a^2*x^2)) - c) - sqrt((a^2*c* x^2 - c)/(a^2*x^2))]
\[ \int \frac {e^{2 \text {arctanh}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x} \, dx=- \int \frac {\sqrt {c - \frac {c}{a^{2} x^{2}}}}{a x^{2} - x}\, dx - \int \frac {a x \sqrt {c - \frac {c}{a^{2} x^{2}}}}{a x^{2} - x}\, dx \] Input:
integrate((a*x+1)**2/(-a**2*x**2+1)*(c-c/a**2/x**2)**(1/2)/x,x)
Output:
-Integral(sqrt(c - c/(a**2*x**2))/(a*x**2 - x), x) - Integral(a*x*sqrt(c - c/(a**2*x**2))/(a*x**2 - x), x)
\[ \int \frac {e^{2 \text {arctanh}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x} \, dx=\int { -\frac {{\left (a x + 1\right )}^{2} \sqrt {c - \frac {c}{a^{2} x^{2}}}}{{\left (a^{2} x^{2} - 1\right )} x} \,d x } \] Input:
integrate((a*x+1)^2/(-a^2*x^2+1)*(c-c/a^2/x^2)^(1/2)/x,x, algorithm="maxim a")
Output:
-sqrt(a*x + 1)*sqrt(a*x - 1)*sqrt(c)/(a*x) - integrate((a*sqrt(c)*x + 2*sq rt(c))*sqrt(a*x + 1)*sqrt(a*x - 1)/(a^2*x^3 - x), x)
Time = 0.15 (sec) , antiderivative size = 128, normalized size of antiderivative = 1.56 \[ \int \frac {e^{2 \text {arctanh}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x} \, dx=-{\left (\frac {4 \, \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 )}{a} - \frac {\sqrt {c} \log \left ({\left | -\sqrt {a^{2} c} x + \sqrt {a^{2} c x^{2} - c} \right |}\right ) \mathrm {sgn}\left (x\right )}{{\left | a \right |}} + \frac {2 \, c^{\frac {3}{2}} \mathrm {sgn}\left (x\right )}{{\left ({\left (\sqrt {a^{2} c} x - \sqrt {a^{2} c x^{2} - c}\right )}^{2} + c\right )} {\left | a \right |}}\right )} {\left | a \right |} \] Input:
integrate((a*x+1)^2/(-a^2*x^2+1)*(c-c/a^2/x^2)^(1/2)/x,x, algorithm="giac" )
Output:
-(4*sqrt(c)*arctan(-(sqrt(a^2*c)*x - sqrt(a^2*c*x^2 - c))/sqrt(c))*sgn(x)/ a - sqrt(c)*log(abs(-sqrt(a^2*c)*x + sqrt(a^2*c*x^2 - c)))*sgn(x)/abs(a) + 2*c^(3/2)*sgn(x)/(((sqrt(a^2*c)*x - sqrt(a^2*c*x^2 - c))^2 + c)*abs(a)))* abs(a)
Timed out. \[ \int \frac {e^{2 \text {arctanh}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x} \, dx=-\int \frac {\sqrt {c-\frac {c}{a^2\,x^2}}\,{\left (a\,x+1\right )}^2}{x\,\left (a^2\,x^2-1\right )} \,d x \] Input:
int(-((c - c/(a^2*x^2))^(1/2)*(a*x + 1)^2)/(x*(a^2*x^2 - 1)),x)
Output:
-int(((c - c/(a^2*x^2))^(1/2)*(a*x + 1)^2)/(x*(a^2*x^2 - 1)), x)
Time = 0.15 (sec) , antiderivative size = 64, normalized size of antiderivative = 0.78 \[ \int \frac {e^{2 \text {arctanh}(a x)} \sqrt {c-\frac {c}{a^2 x^2}}}{x} \, dx=\frac {\sqrt {c}\, \left (-4 \mathit {atan} \left (\sqrt {a^{2} x^{2}-1}+a x \right ) a x -\sqrt {a^{2} x^{2}-1}-\mathrm {log}\left (\sqrt {a^{2} x^{2}-1}+a x \right ) a x -a x \right )}{a x} \] Input:
int((a*x+1)^2/(-a^2*x^2+1)*(c-c/a^2/x^2)^(1/2)/x,x)
Output:
(sqrt(c)*( - 4*atan(sqrt(a**2*x**2 - 1) + a*x)*a*x - sqrt(a**2*x**2 - 1) - log(sqrt(a**2*x**2 - 1) + a*x)*a*x - a*x))/(a*x)