Optimal. Leaf size=58 \[ \frac {c \sin ^{-1}(a x)}{8 a^3}-\frac {c x \sqrt {1-a^2 x^2}}{8 a^2}+\frac {1}{4} c x^3 \sqrt {1-a^2 x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 58, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.235, Rules used = {6128, 279, 321, 216} \[ \frac {1}{4} c x^3 \sqrt {1-a^2 x^2}-\frac {c x \sqrt {1-a^2 x^2}}{8 a^2}+\frac {c \sin ^{-1}(a x)}{8 a^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 216
Rule 279
Rule 321
Rule 6128
Rubi steps
\begin {align*} \int e^{\tanh ^{-1}(a x)} x^2 (c-a c x) \, dx &=c \int x^2 \sqrt {1-a^2 x^2} \, dx\\ &=\frac {1}{4} c x^3 \sqrt {1-a^2 x^2}+\frac {1}{4} c \int \frac {x^2}{\sqrt {1-a^2 x^2}} \, dx\\ &=-\frac {c x \sqrt {1-a^2 x^2}}{8 a^2}+\frac {1}{4} c x^3 \sqrt {1-a^2 x^2}+\frac {c \int \frac {1}{\sqrt {1-a^2 x^2}} \, dx}{8 a^2}\\ &=-\frac {c x \sqrt {1-a^2 x^2}}{8 a^2}+\frac {1}{4} c x^3 \sqrt {1-a^2 x^2}+\frac {c \sin ^{-1}(a x)}{8 a^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 40, normalized size = 0.69 \[ \frac {c \left (a x \sqrt {1-a^2 x^2} \left (2 a^2 x^2-1\right )+\sin ^{-1}(a x)\right )}{8 a^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.42, size = 60, normalized size = 1.03 \[ -\frac {2 \, c \arctan \left (\frac {\sqrt {-a^{2} x^{2} + 1} - 1}{a x}\right ) - {\left (2 \, a^{3} c x^{3} - a c x\right )} \sqrt {-a^{2} x^{2} + 1}}{8 \, a^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.19, size = 45, normalized size = 0.78 \[ \frac {1}{8} \, \sqrt {-a^{2} x^{2} + 1} {\left (2 \, c x^{2} - \frac {c}{a^{2}}\right )} x + \frac {c \arcsin \left (a x\right ) \mathrm {sgn}\relax (a)}{8 \, a^{2} {\left | a \right |}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 70, normalized size = 1.21 \[ \frac {c \,x^{3} \sqrt {-a^{2} x^{2}+1}}{4}-\frac {c x \sqrt {-a^{2} x^{2}+1}}{8 a^{2}}+\frac {c \arctan \left (\frac {\sqrt {a^{2}}\, x}{\sqrt {-a^{2} x^{2}+1}}\right )}{8 a^{2} \sqrt {a^{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.46, size = 48, normalized size = 0.83 \[ \frac {1}{4} \, \sqrt {-a^{2} x^{2} + 1} c x^{3} - \frac {\sqrt {-a^{2} x^{2} + 1} c x}{8 \, a^{2}} + \frac {c \arcsin \left (a x\right )}{8 \, a^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.78, size = 61, normalized size = 1.05 \[ \frac {c\,x^3\,\sqrt {1-a^2\,x^2}}{4}-\frac {c\,x\,\sqrt {1-a^2\,x^2}}{8\,a^2}+\frac {c\,\mathrm {asinh}\left (x\,\sqrt {-a^2}\right )}{8\,a^2\,\sqrt {-a^2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 4.88, size = 150, normalized size = 2.59 \[ c \left (\begin {cases} \frac {i a^{2} x^{5}}{4 \sqrt {a^{2} x^{2} - 1}} - \frac {3 i x^{3}}{8 \sqrt {a^{2} x^{2} - 1}} + \frac {i x}{8 a^{2} \sqrt {a^{2} x^{2} - 1}} - \frac {i \operatorname {acosh}{\left (a x \right )}}{8 a^{3}} & \text {for}\: \left |{a^{2} x^{2}}\right | > 1 \\- \frac {a^{2} x^{5}}{4 \sqrt {- a^{2} x^{2} + 1}} + \frac {3 x^{3}}{8 \sqrt {- a^{2} x^{2} + 1}} - \frac {x}{8 a^{2} \sqrt {- a^{2} x^{2} + 1}} + \frac {\operatorname {asin}{\left (a x \right )}}{8 a^{3}} & \text {otherwise} \end {cases}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________