Optimal. Leaf size=39 \[ \frac{1}{2} x^2 \left (a+b \sin ^{-1}\left (\frac{c}{x}\right )\right )+\frac{1}{2} b c x \sqrt{1-\frac{c^2}{x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0174758, antiderivative size = 39, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {4842, 12, 191} \[ \frac{1}{2} x^2 \left (a+b \sin ^{-1}\left (\frac{c}{x}\right )\right )+\frac{1}{2} b c x \sqrt{1-\frac{c^2}{x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4842
Rule 12
Rule 191
Rubi steps
\begin{align*} \int x \left (a+b \sin ^{-1}\left (\frac{c}{x}\right )\right ) \, dx &=\frac{1}{2} x^2 \left (a+b \sin ^{-1}\left (\frac{c}{x}\right )\right )+\frac{1}{2} b \int \frac{c}{\sqrt{1-\frac{c^2}{x^2}}} \, dx\\ &=\frac{1}{2} x^2 \left (a+b \sin ^{-1}\left (\frac{c}{x}\right )\right )+\frac{1}{2} (b c) \int \frac{1}{\sqrt{1-\frac{c^2}{x^2}}} \, dx\\ &=\frac{1}{2} b c \sqrt{1-\frac{c^2}{x^2}} x+\frac{1}{2} x^2 \left (a+b \sin ^{-1}\left (\frac{c}{x}\right )\right )\\ \end{align*}
Mathematica [A] time = 0.0278053, size = 47, normalized size = 1.21 \[ \frac{a x^2}{2}+\frac{1}{2} b c x \sqrt{\frac{x^2-c^2}{x^2}}+\frac{1}{2} b x^2 \sin ^{-1}\left (\frac{c}{x}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.006, size = 51, normalized size = 1.3 \begin{align*} -{c}^{2} \left ( -{\frac{a{x}^{2}}{2\,{c}^{2}}}+b \left ( -{\frac{{x}^{2}}{2\,{c}^{2}}\arcsin \left ({\frac{c}{x}} \right ) }-{\frac{x}{2\,c}\sqrt{1-{\frac{{c}^{2}}{{x}^{2}}}}} \right ) \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.42014, size = 49, normalized size = 1.26 \begin{align*} \frac{1}{2} \, a x^{2} + \frac{1}{2} \,{\left (x^{2} \arcsin \left (\frac{c}{x}\right ) + c x \sqrt{-\frac{c^{2}}{x^{2}} + 1}\right )} b \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.36696, size = 95, normalized size = 2.44 \begin{align*} \frac{1}{2} \, b x^{2} \arcsin \left (\frac{c}{x}\right ) + \frac{1}{2} \, b c x \sqrt{-\frac{c^{2} - x^{2}}{x^{2}}} + \frac{1}{2} \, a x^{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 2.66627, size = 60, normalized size = 1.54 \begin{align*} \frac{a x^{2}}{2} + \frac{b c \left (\begin{cases} c \sqrt{-1 + \frac{x^{2}}{c^{2}}} & \text{for}\: \frac{\left |{x^{2}}\right |}{\left |{c^{2}}\right |} > 1 \\i c \sqrt{1 - \frac{x^{2}}{c^{2}}} & \text{otherwise} \end{cases}\right )}{2} + \frac{b x^{2} \operatorname{asin}{\left (\frac{c}{x} \right )}}{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b \arcsin \left (\frac{c}{x}\right ) + a\right )} x\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]