3.1.66 \(\int \frac {1}{\sqrt {-1+a^{2 x}}} \, dx\) [66]

Optimal. Leaf size=17 \[ \frac {\tan ^{-1}\left (\sqrt {-1+a^{2 x}}\right )}{\log (a)} \]

[Out]

arctan((-1+a^(2*x))^(1/2))/ln(a)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.273, Rules used = {2320, 65, 209} \begin {gather*} \frac {\text {ArcTan}\left (\sqrt {a^{2 x}-1}\right )}{\log (a)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/Sqrt[-1 + a^(2*x)],x]

[Out]

ArcTan[Sqrt[-1 + a^(2*x)]]/Log[a]

Rule 65

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[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] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]

Rule 209

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[b, 2]))*ArcTan[Rt[b, 2]*(x/Rt[a, 2])], x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 2320

Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Dist[v/D[v, x], Subst[Int[FunctionOfExponentialFu
nction[u, x]/x, x], x, v], x]] /; FunctionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; F
reeQ[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x))*(F_)[v_] /; FreeQ[{a, b, c}, x
] && InverseFunctionQ[F[x]]]

Rubi steps

\begin {align*} \int \frac {1}{\sqrt {-1+a^{2 x}}} \, dx &=\frac {\text {Subst}\left (\int \frac {1}{\sqrt {-1+x} x} \, dx,x,a^{2 x}\right )}{2 \log (a)}\\ &=\frac {\text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {-1+a^{2 x}}\right )}{\log (a)}\\ &=\frac {\tan ^{-1}\left (\sqrt {-1+a^{2 x}}\right )}{\log (a)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.02, size = 17, normalized size = 1.00 \begin {gather*} \frac {\tan ^{-1}\left (\sqrt {-1+a^{2 x}}\right )}{\log (a)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/Sqrt[-1 + a^(2*x)],x]

[Out]

ArcTan[Sqrt[-1 + a^(2*x)]]/Log[a]

________________________________________________________________________________________

Maple [A]
time = 0.04, size = 16, normalized size = 0.94

method result size
derivativedivides \(\frac {\arctan \left (\sqrt {-1+a^{2 x}}\right )}{\ln \left (a \right )}\) \(16\)
default \(\frac {\arctan \left (\sqrt {-1+a^{2 x}}\right )}{\ln \left (a \right )}\) \(16\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(-1+a^(2*x))^(1/2),x,method=_RETURNVERBOSE)

[Out]

arctan((-1+a^(2*x))^(1/2))/ln(a)

________________________________________________________________________________________

Maxima [A]
time = 2.48, size = 15, normalized size = 0.88 \begin {gather*} \frac {\arctan \left (\sqrt {a^{2 \, x} - 1}\right )}{\log \left (a\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(-1+a^(2*x))^(1/2),x, algorithm="maxima")

[Out]

arctan(sqrt(a^(2*x) - 1))/log(a)

________________________________________________________________________________________

Fricas [A]
time = 0.61, size = 15, normalized size = 0.88 \begin {gather*} \frac {\arctan \left (\sqrt {a^{2 \, x} - 1}\right )}{\log \left (a\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(-1+a^(2*x))^(1/2),x, algorithm="fricas")

[Out]

arctan(sqrt(a^(2*x) - 1))/log(a)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {a^{2 x} - 1}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(-1+a**(2*x))**(1/2),x)

[Out]

Integral(1/sqrt(a**(2*x) - 1), x)

________________________________________________________________________________________

Giac [A]
time = 1.08, size = 15, normalized size = 0.88 \begin {gather*} \frac {\arctan \left (\sqrt {a^{2 \, x} - 1}\right )}{\log \left (a\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(-1+a^(2*x))^(1/2),x, algorithm="giac")

[Out]

arctan(sqrt(a^(2*x) - 1))/log(a)

________________________________________________________________________________________

Mupad [B]
time = 0.29, size = 37, normalized size = 2.18 \begin {gather*} -\frac {a^x\,\mathrm {asin}\left (\frac {1}{a^x}\right )\,\sqrt {1-\frac {1}{a^{2\,x}}}}{\ln \left (a\right )\,\sqrt {a^{2\,x}-1}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a^(2*x) - 1)^(1/2),x)

[Out]

-(a^x*asin(1/a^x)*(1 - 1/a^(2*x))^(1/2))/(log(a)*(a^(2*x) - 1)^(1/2))

________________________________________________________________________________________