Optimal. Leaf size=57 \[ -\frac{a+b \sin ^{-1}\left (\frac{c}{x}\right )}{2 x^2}-\frac{b \sqrt{1-\frac{c^2}{x^2}}}{4 c x}+\frac{b \csc ^{-1}\left (\frac{x}{c}\right )}{4 c^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0425392, antiderivative size = 57, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.357, Rules used = {4842, 12, 335, 321, 216} \[ -\frac{a+b \sin ^{-1}\left (\frac{c}{x}\right )}{2 x^2}-\frac{b \sqrt{1-\frac{c^2}{x^2}}}{4 c x}+\frac{b \csc ^{-1}\left (\frac{x}{c}\right )}{4 c^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4842
Rule 12
Rule 335
Rule 321
Rule 216
Rubi steps
\begin{align*} \int \frac{a+b \sin ^{-1}\left (\frac{c}{x}\right )}{x^3} \, dx &=-\frac{a+b \sin ^{-1}\left (\frac{c}{x}\right )}{2 x^2}-\frac{1}{2} b \int \frac{c}{\sqrt{1-\frac{c^2}{x^2}} x^4} \, dx\\ &=-\frac{a+b \sin ^{-1}\left (\frac{c}{x}\right )}{2 x^2}-\frac{1}{2} (b c) \int \frac{1}{\sqrt{1-\frac{c^2}{x^2}} x^4} \, dx\\ &=-\frac{a+b \sin ^{-1}\left (\frac{c}{x}\right )}{2 x^2}+\frac{1}{2} (b c) \operatorname{Subst}\left (\int \frac{x^2}{\sqrt{1-c^2 x^2}} \, dx,x,\frac{1}{x}\right )\\ &=-\frac{b \sqrt{1-\frac{c^2}{x^2}}}{4 c x}-\frac{a+b \sin ^{-1}\left (\frac{c}{x}\right )}{2 x^2}+\frac{b \operatorname{Subst}\left (\int \frac{1}{\sqrt{1-c^2 x^2}} \, dx,x,\frac{1}{x}\right )}{4 c}\\ &=-\frac{b \sqrt{1-\frac{c^2}{x^2}}}{4 c x}+\frac{b \csc ^{-1}\left (\frac{x}{c}\right )}{4 c^2}-\frac{a+b \sin ^{-1}\left (\frac{c}{x}\right )}{2 x^2}\\ \end{align*}
Mathematica [A] time = 0.030646, size = 65, normalized size = 1.14 \[ -\frac{a}{2 x^2}-\frac{b \sqrt{\frac{x^2-c^2}{x^2}}}{4 c x}+\frac{b \sin ^{-1}\left (\frac{c}{x}\right )}{4 c^2}-\frac{b \sin ^{-1}\left (\frac{c}{x}\right )}{2 x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 59, normalized size = 1. \begin{align*} -{\frac{1}{{c}^{2}} \left ({\frac{{c}^{2}a}{2\,{x}^{2}}}+b \left ({\frac{{c}^{2}}{2\,{x}^{2}}\arcsin \left ({\frac{c}{x}} \right ) }+{\frac{c}{4\,x}\sqrt{1-{\frac{{c}^{2}}{{x}^{2}}}}}-{\frac{1}{4}\arcsin \left ({\frac{c}{x}} \right ) } \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.41956, size = 116, normalized size = 2.04 \begin{align*} \frac{1}{4} \,{\left (c{\left (\frac{x \sqrt{-\frac{c^{2}}{x^{2}} + 1}}{c^{2} x^{2}{\left (\frac{c^{2}}{x^{2}} - 1\right )} - c^{4}} - \frac{\arctan \left (\frac{x \sqrt{-\frac{c^{2}}{x^{2}} + 1}}{c}\right )}{c^{3}}\right )} - \frac{2 \, \arcsin \left (\frac{c}{x}\right )}{x^{2}}\right )} b - \frac{a}{2 \, x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.25862, size = 120, normalized size = 2.11 \begin{align*} -\frac{b c x \sqrt{-\frac{c^{2} - x^{2}}{x^{2}}} + 2 \, a c^{2} +{\left (2 \, b c^{2} - b x^{2}\right )} \arcsin \left (\frac{c}{x}\right )}{4 \, c^{2} x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 4.7383, size = 114, normalized size = 2. \begin{align*} - \frac{a}{2 x^{2}} - \frac{b c \left (\begin{cases} \frac{i \sqrt{\frac{c^{2}}{x^{2}} - 1}}{2 c^{2} x} + \frac{i \operatorname{acosh}{\left (\frac{c}{x} \right )}}{2 c^{3}} & \text{for}\: \frac{\left |{c^{2}}\right |}{\left |{x^{2}}\right |} > 1 \\- \frac{1}{2 x^{3} \sqrt{- \frac{c^{2}}{x^{2}} + 1}} + \frac{1}{2 c^{2} x \sqrt{- \frac{c^{2}}{x^{2}} + 1}} - \frac{\operatorname{asin}{\left (\frac{c}{x} \right )}}{2 c^{3}} & \text{otherwise} \end{cases}\right )}{2} - \frac{b \operatorname{asin}{\left (\frac{c}{x} \right )}}{2 x^{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 \frac{b \arcsin \left (\frac{c}{x}\right ) + a}{x^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]