Optimal. Leaf size=55 \[ \frac {c \left (1-a^2 x^2\right )^{3/2}}{3 a}+\frac {1}{2} c x \sqrt {1-a^2 x^2}+\frac {c \sin ^{-1}(a x)}{2 a} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 55, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {6139, 641, 195, 216} \[ \frac {c \left (1-a^2 x^2\right )^{3/2}}{3 a}+\frac {1}{2} c x \sqrt {1-a^2 x^2}+\frac {c \sin ^{-1}(a x)}{2 a} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 195
Rule 216
Rule 641
Rule 6139
Rubi steps
\begin {align*} \int e^{-\tanh ^{-1}(a x)} \left (c-a^2 c x^2\right ) \, dx &=c \int (1-a x) \sqrt {1-a^2 x^2} \, dx\\ &=\frac {c \left (1-a^2 x^2\right )^{3/2}}{3 a}+c \int \sqrt {1-a^2 x^2} \, dx\\ &=\frac {1}{2} c x \sqrt {1-a^2 x^2}+\frac {c \left (1-a^2 x^2\right )^{3/2}}{3 a}+\frac {1}{2} c \int \frac {1}{\sqrt {1-a^2 x^2}} \, dx\\ &=\frac {1}{2} c x \sqrt {1-a^2 x^2}+\frac {c \left (1-a^2 x^2\right )^{3/2}}{3 a}+\frac {c \sin ^{-1}(a x)}{2 a}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.09, size = 57, normalized size = 1.04 \[ \frac {c \left (\left (-2 a^2 x^2+3 a x+2\right ) \sqrt {1-a^2 x^2}-6 \sin ^{-1}\left (\frac {\sqrt {1-a x}}{\sqrt {2}}\right )\right )}{6 a} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.79, size = 62, normalized size = 1.13 \[ -\frac {6 \, c \arctan \left (\frac {\sqrt {-a^{2} x^{2} + 1} - 1}{a x}\right ) + {\left (2 \, a^{2} c x^{2} - 3 \, a c x - 2 \, c\right )} \sqrt {-a^{2} x^{2} + 1}}{6 \, a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.67, size = 46, normalized size = 0.84 \[ \frac {c \arcsin \left (a x\right ) \mathrm {sgn}\relax (a)}{2 \, {\left | a \right |}} - \frac {1}{6} \, \sqrt {-a^{2} x^{2} + 1} {\left ({\left (2 \, a c x - 3 \, c\right )} x - \frac {2 \, c}{a}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 64, normalized size = 1.16 \[ \frac {c \left (-a^{2} x^{2}+1\right )^{\frac {3}{2}}}{3 a}+\frac {c x \sqrt {-a^{2} x^{2}+1}}{2}+\frac {c \arctan \left (\frac {\sqrt {a^{2}}\, x}{\sqrt {-a^{2} x^{2}+1}}\right )}{2 \sqrt {a^{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.41, size = 45, normalized size = 0.82 \[ \frac {1}{2} \, \sqrt {-a^{2} x^{2} + 1} c x + \frac {{\left (-a^{2} x^{2} + 1\right )}^{\frac {3}{2}} c}{3 \, a} + \frac {c \arcsin \left (a x\right )}{2 \, a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.91, size = 80, normalized size = 1.45 \[ \frac {\sqrt {1-a^2\,x^2}\,\left (\frac {c\,x\,\sqrt {-a^2}}{2}-\frac {a\,c}{3\,\sqrt {-a^2}}+\frac {a^3\,c\,x^2}{3\,\sqrt {-a^2}}\right )}{\sqrt {-a^2}}+\frac {c\,\mathrm {asinh}\left (x\,\sqrt {-a^2}\right )}{2\,\sqrt {-a^2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 4.44, size = 109, normalized size = 1.98 \[ - a c \left (\begin {cases} \frac {x^{2}}{2} & \text {for}\: a^{2} = 0 \\- \frac {\left (- a^{2} x^{2} + 1\right )^{\frac {3}{2}}}{3 a^{2}} & \text {otherwise} \end {cases}\right ) + c \left (\begin {cases} \frac {i a^{2} x^{3}}{2 \sqrt {a^{2} x^{2} - 1}} - \frac {i x}{2 \sqrt {a^{2} x^{2} - 1}} - \frac {i \operatorname {acosh}{\left (a x \right )}}{2 a} & \text {for}\: \left |{a^{2} x^{2}}\right | > 1 \\\frac {x \sqrt {- a^{2} x^{2} + 1}}{2} + \frac {\operatorname {asin}{\left (a x \right )}}{2 a} & \text {otherwise} \end {cases}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________