Optimal. Leaf size=56 \[ -\frac {2}{a n \sqrt {-a+b (c x)^n}}-\frac {2 \tan ^{-1}\left (\frac {\sqrt {-a+b (c x)^n}}{\sqrt {a}}\right )}{a^{3/2} n} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 56, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.316, Rules used = {374, 12, 272,
53, 65, 211} \begin {gather*} -\frac {2 \text {ArcTan}\left (\frac {\sqrt {b (c x)^n-a}}{\sqrt {a}}\right )}{a^{3/2} n}-\frac {2}{a n \sqrt {b (c x)^n-a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 53
Rule 65
Rule 211
Rule 272
Rule 374
Rubi steps
\begin {align*} \int \frac {1}{x \left (-a+b (c x)^n\right )^{3/2}} \, dx &=\frac {\text {Subst}\left (\int \frac {c}{x \left (-a+b x^n\right )^{3/2}} \, dx,x,c x\right )}{c}\\ &=\text {Subst}\left (\int \frac {1}{x \left (-a+b x^n\right )^{3/2}} \, dx,x,c x\right )\\ &=\frac {\text {Subst}\left (\int \frac {1}{x (-a+b x)^{3/2}} \, dx,x,(c x)^n\right )}{n}\\ &=-\frac {2}{a n \sqrt {-a+b (c x)^n}}-\frac {\text {Subst}\left (\int \frac {1}{x \sqrt {-a+b x}} \, dx,x,(c x)^n\right )}{a n}\\ &=-\frac {2}{a n \sqrt {-a+b (c x)^n}}-\frac {2 \text {Subst}\left (\int \frac {1}{\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {-a+b (c x)^n}\right )}{a b n}\\ &=-\frac {2}{a n \sqrt {-a+b (c x)^n}}-\frac {2 \tan ^{-1}\left (\frac {\sqrt {-a+b (c x)^n}}{\sqrt {a}}\right )}{a^{3/2} n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.14, size = 56, normalized size = 1.00 \begin {gather*} -\frac {2}{a n \sqrt {-a+b (c x)^n}}-\frac {2 \tan ^{-1}\left (\frac {\sqrt {-a+b (c x)^n}}{\sqrt {a}}\right )}{a^{3/2} n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.39, size = 47, normalized size = 0.84
method | result | size |
derivativedivides | \(\frac {-\frac {2 \arctan \left (\frac {\sqrt {-a +b \left (c x \right )^{n}}}{\sqrt {a}}\right )}{a^{\frac {3}{2}}}-\frac {2}{a \sqrt {-a +b \left (c x \right )^{n}}}}{n}\) | \(47\) |
default | \(\frac {-\frac {2 \arctan \left (\frac {\sqrt {-a +b \left (c x \right )^{n}}}{\sqrt {a}}\right )}{a^{\frac {3}{2}}}-\frac {2}{a \sqrt {-a +b \left (c x \right )^{n}}}}{n}\) | \(47\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 175, normalized size = 3.12 \begin {gather*} \left [-\frac {{\left (\left (c x\right )^{n} \sqrt {-a} b - \sqrt {-a} a\right )} \log \left (\frac {\left (c x\right )^{n} b + 2 \, \sqrt {\left (c x\right )^{n} b - a} \sqrt {-a} - 2 \, a}{\left (c x\right )^{n}}\right ) + 2 \, \sqrt {\left (c x\right )^{n} b - a} a}{\left (c x\right )^{n} a^{2} b n - a^{3} n}, -\frac {2 \, {\left ({\left (\left (c x\right )^{n} \sqrt {a} b - a^{\frac {3}{2}}\right )} \arctan \left (\frac {\sqrt {\left (c x\right )^{n} b - a}}{\sqrt {a}}\right ) + \sqrt {\left (c x\right )^{n} b - a} a\right )}}{\left (c x\right )^{n} a^{2} b n - a^{3} n}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 7.43, size = 44, normalized size = 0.79 \begin {gather*} - \frac {2}{a n \sqrt {- a + b \left (c x\right )^{n}}} - \frac {2 \operatorname {atan}{\left (\frac {\sqrt {- a + b \left (c x\right )^{n}}}{\sqrt {a}} \right )}}{a^{\frac {3}{2}} n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {1}{x\,{\left (b\,{\left (c\,x\right )}^n-a\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________