Optimal. Leaf size=75 \[ \frac {2}{3 a n \left (a+b (c x)^n\right )^{3/2}}+\frac {2}{a^2 n \sqrt {a+b (c x)^n}}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b (c x)^n}}{\sqrt {a}}\right )}{a^{5/2} n} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 75, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 6, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.353, Rules used = {374, 12, 272,
53, 65, 214} \begin {gather*} -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b (c x)^n}}{\sqrt {a}}\right )}{a^{5/2} n}+\frac {2}{a^2 n \sqrt {a+b (c x)^n}}+\frac {2}{3 a n \left (a+b (c x)^n\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 53
Rule 65
Rule 214
Rule 272
Rule 374
Rubi steps
\begin {align*} \int \frac {1}{x \left (a+b (c x)^n\right )^{5/2}} \, dx &=\frac {\text {Subst}\left (\int \frac {c}{x \left (a+b x^n\right )^{5/2}} \, dx,x,c x\right )}{c}\\ &=\text {Subst}\left (\int \frac {1}{x \left (a+b x^n\right )^{5/2}} \, dx,x,c x\right )\\ &=\frac {\text {Subst}\left (\int \frac {1}{x (a+b x)^{5/2}} \, dx,x,(c x)^n\right )}{n}\\ &=\frac {2}{3 a n \left (a+b (c x)^n\right )^{3/2}}+\frac {\text {Subst}\left (\int \frac {1}{x (a+b x)^{3/2}} \, dx,x,(c x)^n\right )}{a n}\\ &=\frac {2}{3 a n \left (a+b (c x)^n\right )^{3/2}}+\frac {2}{a^2 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^2 n}\\ &=\frac {2}{3 a n \left (a+b (c x)^n\right )^{3/2}}+\frac {2}{a^2 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^2 b n}\\ &=\frac {2}{3 a n \left (a+b (c x)^n\right )^{3/2}}+\frac {2}{a^2 n \sqrt {a+b (c x)^n}}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b (c x)^n}}{\sqrt {a}}\right )}{a^{5/2} n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.18, size = 67, normalized size = 0.89 \begin {gather*} \frac {2 \left (a+3 \left (a+b (c x)^n\right )\right )}{3 a^2 n \left (a+b (c x)^n\right )^{3/2}}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b (c x)^n}}{\sqrt {a}}\right )}{a^{5/2} n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.39, size = 59, normalized size = 0.79
method | result | size |
derivativedivides | \(\frac {-\frac {2 \arctanh \left (\frac {\sqrt {a +b \left (c x \right )^{n}}}{\sqrt {a}}\right )}{a^{\frac {5}{2}}}+\frac {2}{a^{2} \sqrt {a +b \left (c x \right )^{n}}}+\frac {2}{3 a \left (a +b \left (c x \right )^{n}\right )^{\frac {3}{2}}}}{n}\) | \(59\) |
default | \(\frac {-\frac {2 \arctanh \left (\frac {\sqrt {a +b \left (c x \right )^{n}}}{\sqrt {a}}\right )}{a^{\frac {5}{2}}}+\frac {2}{a^{2} \sqrt {a +b \left (c x \right )^{n}}}+\frac {2}{3 a \left (a +b \left (c x \right )^{n}\right )^{\frac {3}{2}}}}{n}\) | \(59\) |
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 [B] Leaf count of result is larger than twice the leaf count of optimal. 128 vs.
\(2 (63) = 126\).
time = 0.36, size = 262, normalized size = 3.49 \begin {gather*} \left [\frac {3 \, {\left (2 \, \left (c x\right )^{n} a^{\frac {3}{2}} b + \left (c x\right )^{2 \, n} \sqrt {a} b^{2} + a^{\frac {5}{2}}\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 \, {\left (3 \, \left (c x\right )^{n} a b + 4 \, a^{2}\right )} \sqrt {\left (c x\right )^{n} b + a}}{3 \, {\left (2 \, \left (c x\right )^{n} a^{4} b n + \left (c x\right )^{2 \, n} a^{3} b^{2} n + a^{5} n\right )}}, \frac {2 \, {\left (3 \, {\left (2 \, \left (c x\right )^{n} \sqrt {-a} a b + \left (c x\right )^{2 \, n} \sqrt {-a} b^{2} + \sqrt {-a} a^{2}\right )} \arctan \left (\frac {\sqrt {\left (c x\right )^{n} b + a} \sqrt {-a}}{a}\right ) + {\left (3 \, \left (c x\right )^{n} a b + 4 \, a^{2}\right )} \sqrt {\left (c x\right )^{n} b + a}\right )}}{3 \, {\left (2 \, \left (c x\right )^{n} a^{4} b n + \left (c x\right )^{2 \, n} a^{3} b^{2} n + a^{5} n\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 7.77, size = 70, normalized size = 0.93 \begin {gather*} \frac {2}{3 a n \left (a + b \left (c x\right )^{n}\right )^{\frac {3}{2}}} + \frac {2}{a^{2} 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^{2} n \sqrt {- a}} \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.01 \begin {gather*} \int \frac {1}{x\,{\left (a+b\,{\left (c\,x\right )}^n\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________