Optimal. Leaf size=48 \[ \frac {\left (a+b x^n\right ) \cos ^{-1}\left (a+b x^n\right )}{b n}-\frac {\sqrt {1-\left (a+b x^n\right )^2}}{b n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {6715, 4804, 4620, 261} \[ \frac {\left (a+b x^n\right ) \cos ^{-1}\left (a+b x^n\right )}{b n}-\frac {\sqrt {1-\left (a+b x^n\right )^2}}{b n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 261
Rule 4620
Rule 4804
Rule 6715
Rubi steps
\begin {align*} \int x^{-1+n} \cos ^{-1}\left (a+b x^n\right ) \, dx &=\frac {\operatorname {Subst}\left (\int \cos ^{-1}(a+b x) \, dx,x,x^n\right )}{n}\\ &=\frac {\operatorname {Subst}\left (\int \cos ^{-1}(x) \, dx,x,a+b x^n\right )}{b n}\\ &=\frac {\left (a+b x^n\right ) \cos ^{-1}\left (a+b x^n\right )}{b n}+\frac {\operatorname {Subst}\left (\int \frac {x}{\sqrt {1-x^2}} \, dx,x,a+b x^n\right )}{b n}\\ &=-\frac {\sqrt {1-\left (a+b x^n\right )^2}}{b n}+\frac {\left (a+b x^n\right ) \cos ^{-1}\left (a+b x^n\right )}{b n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 43, normalized size = 0.90 \[ \frac {\left (a+b x^n\right ) \cos ^{-1}\left (a+b x^n\right )-\sqrt {1-\left (a+b x^n\right )^2}}{b n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.44, size = 59, normalized size = 1.23 \[ \frac {b x^{n} \arccos \left (b x^{n} + a\right ) + a \arccos \left (b x^{n} + a\right ) - \sqrt {-b^{2} x^{2 \, n} - 2 \, a b x^{n} - a^{2} + 1}}{b n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.84, size = 41, normalized size = 0.85 \[ \frac {{\left (b x^{n} + a\right )} \arccos \left (b x^{n} + a\right ) - \sqrt {-{\left (b x^{n} + a\right )}^{2} + 1}}{b n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.05, size = 0, normalized size = 0.00 \[ \int x^{n -1} \arccos \left (a +b \,x^{n}\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.41, size = 41, normalized size = 0.85 \[ \frac {{\left (b x^{n} + a\right )} \arccos \left (b x^{n} + a\right ) - \sqrt {-{\left (b x^{n} + a\right )}^{2} + 1}}{b n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.35, size = 111, normalized size = 2.31 \[ \frac {x^n\,\mathrm {acos}\left (a+b\,x^n\right )}{n}-\frac {\sqrt {1-b^2\,x^{2\,n}-2\,a\,b\,x^n-a^2}}{b\,n}-\frac {a\,\ln \left (\sqrt {1-b^2\,x^{2\,n}-2\,a\,b\,x^n-a^2}-\frac {a\,b+b^2\,x^n}{\sqrt {-b^2}}\right )}{n\,\sqrt {-b^2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 54.92, size = 76, normalized size = 1.58 \[ \begin {cases} \log {\relax (x )} \operatorname {acos}{\relax (a )} & \text {for}\: b = 0 \wedge n = 0 \\\log {\relax (x )} \operatorname {acos}{\left (a + b \right )} & \text {for}\: n = 0 \\\frac {x^{n} \operatorname {acos}{\relax (a )}}{n} & \text {for}\: b = 0 \\\frac {a \operatorname {acos}{\left (a + b x^{n} \right )}}{b n} + \frac {x^{n} \operatorname {acos}{\left (a + b x^{n} \right )}}{n} - \frac {\sqrt {- a^{2} - 2 a b x^{n} - b^{2} x^{2 n} + 1}}{b n} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________