3.3.87 \(\int e^{\tanh ^{-1}(a x)} x^3 (c-a c x) \, dx\) [287]

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

[Out]

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

________________________________________________________________________________________

Rubi [A]
time = 0.05, antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {6263, 272, 45} \begin {gather*} \frac {c \left (1-a^2 x^2\right )^{5/2}}{5 a^4}-\frac {c \left (1-a^2 x^2\right )^{3/2}}{3 a^4} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 272

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

Rule 6263

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]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]
time = 0.02, size = 32, normalized size = 0.71 \begin {gather*} -\frac {c \left (1-a^2 x^2\right )^{3/2} \left (2+3 a^2 x^2\right )}{15 a^4} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(109\) vs. \(2(37)=74\).
time = 0.40, size = 110, normalized size = 2.44

method result size
trager \(\frac {c \left (3 a^{4} x^{4}-a^{2} x^{2}-2\right ) \sqrt {-a^{2} x^{2}+1}}{15 a^{4}}\) \(37\)
gosper \(-\frac {\left (a x -1\right )^{2} \left (a x +1\right )^{2} \left (3 a^{2} x^{2}+2\right ) c}{15 a^{4} \sqrt {-a^{2} x^{2}+1}}\) \(43\)
risch \(-\frac {c \left (3 a^{4} x^{4}-a^{2} x^{2}-2\right ) \left (a^{2} x^{2}-1\right )}{15 a^{4} \sqrt {-a^{2} x^{2}+1}}\) \(46\)
meijerg \(\frac {c \left (-\frac {16 \sqrt {\pi }}{15}+\frac {\sqrt {\pi }\, \left (6 a^{4} x^{4}+8 a^{2} x^{2}+16\right ) \sqrt {-a^{2} x^{2}+1}}{15}\right )}{2 a^{4} \sqrt {\pi }}+\frac {c \left (\frac {4 \sqrt {\pi }}{3}-\frac {\sqrt {\pi }\, \left (4 a^{2} x^{2}+8\right ) \sqrt {-a^{2} x^{2}+1}}{6}\right )}{2 a^{4} \sqrt {\pi }}\) \(94\)
default \(-c \left (a^{2} \left (-\frac {x^{4} \sqrt {-a^{2} x^{2}+1}}{5 a^{2}}+\frac {-\frac {4 x^{2} \sqrt {-a^{2} x^{2}+1}}{15 a^{2}}-\frac {8 \sqrt {-a^{2} x^{2}+1}}{15 a^{4}}}{a^{2}}\right )+\frac {x^{2} \sqrt {-a^{2} x^{2}+1}}{3 a^{2}}+\frac {2 \sqrt {-a^{2} x^{2}+1}}{3 a^{4}}\right )\) \(110\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Maxima [A]
time = 0.46, size = 58, normalized size = 1.29 \begin {gather*} \frac {1}{5} \, \sqrt {-a^{2} x^{2} + 1} c x^{4} - \frac {\sqrt {-a^{2} x^{2} + 1} c x^{2}}{15 \, a^{2}} - \frac {2 \, \sqrt {-a^{2} x^{2} + 1} c}{15 \, a^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/5*sqrt(-a^2*x^2 + 1)*c*x^4 - 1/15*sqrt(-a^2*x^2 + 1)*c*x^2/a^2 - 2/15*sqrt(-a^2*x^2 + 1)*c/a^4

________________________________________________________________________________________

Fricas [A]
time = 0.33, size = 39, normalized size = 0.87 \begin {gather*} \frac {{\left (3 \, a^{4} c x^{4} - a^{2} c x^{2} - 2 \, c\right )} \sqrt {-a^{2} x^{2} + 1}}{15 \, a^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Sympy [A]
time = 0.29, size = 66, normalized size = 1.47 \begin {gather*} \begin {cases} \frac {c x^{4} \sqrt {- a^{2} x^{2} + 1}}{5} - \frac {c x^{2} \sqrt {- a^{2} x^{2} + 1}}{15 a^{2}} - \frac {2 c \sqrt {- a^{2} x^{2} + 1}}{15 a^{4}} & \text {for}\: a \neq 0 \\\frac {c x^{4}}{4} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Giac [A]
time = 0.42, size = 47, normalized size = 1.04 \begin {gather*} \frac {3 \, {\left (a^{2} x^{2} - 1\right )}^{2} \sqrt {-a^{2} x^{2} + 1} c - 5 \, {\left (-a^{2} x^{2} + 1\right )}^{\frac {3}{2}} c}{15 \, a^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Mupad [B]
time = 0.04, size = 36, normalized size = 0.80 \begin {gather*} -\frac {5\,c\,{\left (1-a^2\,x^2\right )}^{3/2}-3\,c\,{\left (1-a^2\,x^2\right )}^{5/2}}{15\,a^4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________