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

Optimal. Leaf size=16 \[ -\frac {c (1-a x)^3}{3 a} \]

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 16, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {6140, 32} \[ -\frac {c (1-a x)^3}{3 a} \]

Antiderivative was successfully verified.

[In]

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

[Out]

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

Rule 32

Int[((a_.) + (b_.)*(x_))^(m_), x_Symbol] :> Simp[(a + b*x)^(m + 1)/(b*(m + 1)), x] /; FreeQ[{a, b, m}, x] && N
eQ[m, -1]

Rule 6140

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

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 20, normalized size = 1.25 \[ c \left (\frac {a^2 x^3}{3}-a x^2+x\right ) \]

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

fricas [A]  time = 0.67, size = 20, normalized size = 1.25 \[ \frac {1}{3} \, a^{2} c x^{3} - a c x^{2} + c x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

giac [B]  time = 0.18, size = 34, normalized size = 2.12 \[ \frac {{\left (a x + 1\right )}^{3} {\left (c - \frac {6 \, c}{a x + 1} + \frac {12 \, c}{{\left (a x + 1\right )}^{2}}\right )}}{3 \, a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.02, size = 14, normalized size = 0.88 \[ \frac {c \left (a x -1\right )^{3}}{3 a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.38, size = 20, normalized size = 1.25 \[ \frac {1}{3} \, a^{2} c x^{3} - a c x^{2} + c x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

mupad [B]  time = 0.04, size = 17, normalized size = 1.06 \[ \frac {c\,x\,\left (a^2\,x^2-3\,a\,x+3\right )}{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

sympy [A]  time = 0.07, size = 19, normalized size = 1.19 \[ \frac {a^{2} c x^{3}}{3} - a c x^{2} + c x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

a**2*c*x**3/3 - a*c*x**2 + c*x

________________________________________________________________________________________