3.925 \(\int \frac {e^{\tanh ^{-1}(a x)}}{x \sqrt {1-a^2 x^2}} \, dx\)

Optimal. Leaf size=12 \[ \log (x)-\log (1-a x) \]

[Out]

ln(x)-ln(-a*x+1)

________________________________________________________________________________________

Rubi [A]  time = 0.08, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {6150, 36, 29, 31} \[ \log (x)-\log (1-a x) \]

Antiderivative was successfully verified.

[In]

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

[Out]

Log[x] - Log[1 - a*x]

Rule 29

Int[(x_)^(-1), x_Symbol] :> Simp[Log[x], x]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 36

Int[1/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :> Dist[b/(b*c - a*d), Int[1/(a + b*x), x], x] -
Dist[d/(b*c - a*d), Int[1/(c + d*x), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]

Rule 6150

Int[E^(ArcTanh[(a_.)*(x_)]*(n_.))*(x_)^(m_.)*((c_) + (d_.)*(x_)^2)^(p_.), x_Symbol] :> Dist[c^p, Int[x^m*(1 -
a*x)^(p - n/2)*(1 + a*x)^(p + n/2), x], x] /; FreeQ[{a, c, d, m, n, p}, x] && EqQ[a^2*c + d, 0] && (IntegerQ[p
] || GtQ[c, 0])

Rubi steps

\begin {align*} \int \frac {e^{\tanh ^{-1}(a x)}}{x \sqrt {1-a^2 x^2}} \, dx &=\int \frac {1}{x (1-a x)} \, dx\\ &=a \int \frac {1}{1-a x} \, dx+\int \frac {1}{x} \, dx\\ &=\log (x)-\log (1-a x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 12, normalized size = 1.00 \[ \log (x)-\log (1-a x) \]

Antiderivative was successfully verified.

[In]

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

[Out]

Log[x] - Log[1 - a*x]

________________________________________________________________________________________

fricas [A]  time = 0.54, size = 11, normalized size = 0.92 \[ -\log \left (a x - 1\right ) + \log \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-log(a*x - 1) + log(x)

________________________________________________________________________________________

giac [A]  time = 0.19, size = 13, normalized size = 1.08 \[ -\log \left ({\left | a x - 1 \right |}\right ) + \log \left ({\left | x \right |}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-log(abs(a*x - 1)) + log(abs(x))

________________________________________________________________________________________

maple [A]  time = 0.03, size = 12, normalized size = 1.00 \[ \ln \relax (x )-\ln \left (a x -1\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

ln(x)-ln(a*x-1)

________________________________________________________________________________________

maxima [A]  time = 0.31, size = 11, normalized size = 0.92 \[ -\log \left (a x - 1\right ) + \log \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-log(a*x - 1) + log(x)

________________________________________________________________________________________

mupad [B]  time = 0.05, size = 9, normalized size = 0.75 \[ 2\,\mathrm {atanh}\left (2\,a\,x-1\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

2*atanh(2*a*x - 1)

________________________________________________________________________________________

sympy [A]  time = 0.11, size = 8, normalized size = 0.67 \[ \log {\relax (x )} - \log {\left (x - \frac {1}{a} \right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

log(x) - log(x - 1/a)

________________________________________________________________________________________