3.289 \(\int e^{\tanh ^{-1}(a x)} x (c-a c x) \, dx\)

Optimal. Leaf size=22 \[ -\frac{c \left (1-a^2 x^2\right )^{3/2}}{3 a^2} \]

[Out]

-(c*(1 - a^2*x^2)^(3/2))/(3*a^2)

________________________________________________________________________________________

Rubi [A]  time = 0.0282274, antiderivative size = 22, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {6128, 261} \[ -\frac{c \left (1-a^2 x^2\right )^{3/2}}{3 a^2} \]

Antiderivative was successfully verified.

[In]

Int[E^ArcTanh[a*x]*x*(c - a*c*x),x]

[Out]

-(c*(1 - a^2*x^2)^(3/2))/(3*a^2)

Rule 6128

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

Rule 261

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a + b*x^n)^(p + 1)/(b*n*(p + 1)), x] /; FreeQ
[{a, b, m, n, p}, x] && EqQ[m, n - 1] && NeQ[p, -1]

Rubi steps

\begin{align*} \int e^{\tanh ^{-1}(a x)} x (c-a c x) \, dx &=c \int x \sqrt{1-a^2 x^2} \, dx\\ &=-\frac{c \left (1-a^2 x^2\right )^{3/2}}{3 a^2}\\ \end{align*}

Mathematica [A]  time = 0.0127704, size = 22, normalized size = 1. \[ -\frac{c \left (1-a^2 x^2\right )^{3/2}}{3 a^2} \]

Antiderivative was successfully verified.

[In]

Integrate[E^ArcTanh[a*x]*x*(c - a*c*x),x]

[Out]

-(c*(1 - a^2*x^2)^(3/2))/(3*a^2)

________________________________________________________________________________________

Maple [A]  time = 0.029, size = 33, normalized size = 1.5 \begin{align*} -{\frac{ \left ( ax-1 \right ) ^{2} \left ( ax+1 \right ) ^{2}c}{3\,{a}^{2}}{\frac{1}{\sqrt{-{a}^{2}{x}^{2}+1}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-1/3*(a*x-1)^2*(a*x+1)^2*c/a^2/(-a^2*x^2+1)^(1/2)

________________________________________________________________________________________

Maxima [B]  time = 1.4168, size = 50, normalized size = 2.27 \begin{align*} \frac{1}{3} \, \sqrt{-a^{2} x^{2} + 1} c x^{2} - \frac{\sqrt{-a^{2} x^{2} + 1} c}{3 \, a^{2}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*sqrt(-a^2*x^2 + 1)*c*x^2 - 1/3*sqrt(-a^2*x^2 + 1)*c/a^2

________________________________________________________________________________________

Fricas [A]  time = 1.51222, size = 59, normalized size = 2.68 \begin{align*} \frac{{\left (a^{2} c x^{2} - c\right )} \sqrt{-a^{2} x^{2} + 1}}{3 \, a^{2}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*(a^2*c*x^2 - c)*sqrt(-a^2*x^2 + 1)/a^2

________________________________________________________________________________________

Sympy [A]  time = 0.580131, size = 42, normalized size = 1.91 \begin{align*} \begin{cases} \frac{c x^{2} \sqrt{- a^{2} x^{2} + 1}}{3} - \frac{c \sqrt{- a^{2} x^{2} + 1}}{3 a^{2}} & \text{for}\: a \neq 0 \\\frac{c x^{2}}{2} & \text{otherwise} \end{cases} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Piecewise((c*x**2*sqrt(-a**2*x**2 + 1)/3 - c*sqrt(-a**2*x**2 + 1)/(3*a**2), Ne(a, 0)), (c*x**2/2, True))

________________________________________________________________________________________

Giac [A]  time = 1.22562, size = 24, normalized size = 1.09 \begin{align*} -\frac{{\left (-a^{2} x^{2} + 1\right )}^{\frac{3}{2}} c}{3 \, a^{2}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-1/3*(-a^2*x^2 + 1)^(3/2)*c/a^2