Optimal. Leaf size=139 \[ \frac {(3-x) (1+x)}{8 \left (9+3 x-5 x^2+x^3\right )^{3/2}}+\frac {5 (3-x)^2 (1+x)}{64 \left (9+3 x-5 x^2+x^3\right )^{3/2}}-\frac {15 (3-x)^3 (1+x)}{256 \left (9+3 x-5 x^2+x^3\right )^{3/2}}+\frac {15 (3-x)^3 (1+x)^{3/2} \tanh ^{-1}\left (\frac {\sqrt {1+x}}{2}\right )}{512 \left (9+3 x-5 x^2+x^3\right )^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 139, 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 = {2092, 2089, 44,
53, 65, 212} \begin {gather*} -\frac {15 (x+1) (3-x)^3}{256 \left (x^3-5 x^2+3 x+9\right )^{3/2}}+\frac {5 (x+1) (3-x)^2}{64 \left (x^3-5 x^2+3 x+9\right )^{3/2}}+\frac {(x+1) (3-x)}{8 \left (x^3-5 x^2+3 x+9\right )^{3/2}}+\frac {15 (x+1)^{3/2} (3-x)^3 \tanh ^{-1}\left (\frac {\sqrt {x+1}}{2}\right )}{512 \left (x^3-5 x^2+3 x+9\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 44
Rule 53
Rule 65
Rule 212
Rule 2089
Rule 2092
Rubi steps
\begin {align*} \int \frac {1}{\left (9+3 x-5 x^2+x^3\right )^{3/2}} \, dx &=\text {Subst}\left (\int \frac {1}{\left (\frac {128}{27}-\frac {16 x}{3}+x^3\right )^{3/2}} \, dx,x,-\frac {5}{3}+x\right )\\ &=\frac {\left (2097152 (3-x)^3 (1+x)^{3/2}\right ) \text {Subst}\left (\int \frac {1}{\left (\frac {128}{9}-\frac {32 x}{3}\right )^3 \left (\frac {128}{9}+\frac {16 x}{3}\right )^{3/2}} \, dx,x,-\frac {5}{3}+x\right )}{81 \sqrt {3} \left (9+3 x-5 x^2+x^3\right )^{3/2}}\\ &=\frac {(3-x) (1+x)}{8 \left (9+3 x-5 x^2+x^3\right )^{3/2}}+\frac {\left (20480 (3-x)^3 (1+x)^{3/2}\right ) \text {Subst}\left (\int \frac {1}{\left (\frac {128}{9}-\frac {32 x}{3}\right )^2 \left (\frac {128}{9}+\frac {16 x}{3}\right )^{3/2}} \, dx,x,-\frac {5}{3}+x\right )}{27 \sqrt {3} \left (9+3 x-5 x^2+x^3\right )^{3/2}}\\ &=\frac {(3-x) (1+x)}{8 \left (9+3 x-5 x^2+x^3\right )^{3/2}}+\frac {5 (3-x)^2 (1+x)}{64 \left (9+3 x-5 x^2+x^3\right )^{3/2}}+\frac {\left (80 (3-x)^3 (1+x)^{3/2}\right ) \text {Subst}\left (\int \frac {1}{\left (\frac {128}{9}-\frac {32 x}{3}\right ) \left (\frac {128}{9}+\frac {16 x}{3}\right )^{3/2}} \, dx,x,-\frac {5}{3}+x\right )}{3 \sqrt {3} \left (9+3 x-5 x^2+x^3\right )^{3/2}}\\ &=\frac {(3-x) (1+x)}{8 \left (9+3 x-5 x^2+x^3\right )^{3/2}}+\frac {5 (3-x)^2 (1+x)}{64 \left (9+3 x-5 x^2+x^3\right )^{3/2}}-\frac {15 (3-x)^3 (1+x)}{256 \left (9+3 x-5 x^2+x^3\right )^{3/2}}+\frac {\left (5 (3-x)^3 (1+x)^{3/2}\right ) \text {Subst}\left (\int \frac {1}{\left (\frac {128}{9}-\frac {32 x}{3}\right ) \sqrt {\frac {128}{9}+\frac {16 x}{3}}} \, dx,x,-\frac {5}{3}+x\right )}{4 \sqrt {3} \left (9+3 x-5 x^2+x^3\right )^{3/2}}\\ &=\frac {(3-x) (1+x)}{8 \left (9+3 x-5 x^2+x^3\right )^{3/2}}+\frac {5 (3-x)^2 (1+x)}{64 \left (9+3 x-5 x^2+x^3\right )^{3/2}}-\frac {15 (3-x)^3 (1+x)}{256 \left (9+3 x-5 x^2+x^3\right )^{3/2}}+\frac {\left (5 \sqrt {3} (3-x)^3 (1+x)^{3/2}\right ) \text {Subst}\left (\int \frac {1}{\frac {128}{3}-2 x^2} \, dx,x,\frac {4 \sqrt {1+x}}{\sqrt {3}}\right )}{32 \left (9+3 x-5 x^2+x^3\right )^{3/2}}\\ &=\frac {(3-x) (1+x)}{8 \left (9+3 x-5 x^2+x^3\right )^{3/2}}+\frac {5 (3-x)^2 (1+x)}{64 \left (9+3 x-5 x^2+x^3\right )^{3/2}}-\frac {15 (3-x)^3 (1+x)}{256 \left (9+3 x-5 x^2+x^3\right )^{3/2}}+\frac {15 (3-x)^3 (1+x)^{3/2} \tanh ^{-1}\left (\frac {\sqrt {1+x}}{2}\right )}{512 \left (9+3 x-5 x^2+x^3\right )^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 58, normalized size = 0.42 \begin {gather*} \frac {86-140 x+30 x^2-15 (-3+x)^2 \sqrt {1+x} \tanh ^{-1}\left (\frac {\sqrt {1+x}}{2}\right )}{512 (-3+x) \sqrt {(-3+x)^2 (1+x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 144, normalized size = 1.04
method | result | size |
risch | \(\frac {15 x^{2}-70 x +43}{256 \left (-3+x \right ) \sqrt {\left (1+x \right ) \left (-3+x \right )^{2}}}+\frac {\left (\frac {15 \ln \left (\sqrt {1+x}-2\right )}{1024}-\frac {15 \ln \left (\sqrt {1+x}+2\right )}{1024}\right ) \sqrt {1+x}\, \left (-3+x \right )}{\sqrt {\left (1+x \right ) \left (-3+x \right )^{2}}}\) | \(71\) |
trager | \(\frac {\left (15 x^{2}-70 x +43\right ) \sqrt {x^{3}-5 x^{2}+3 x +9}}{256 \left (-3+x \right )^{3} \left (1+x \right )}-\frac {15 \ln \left (\frac {x^{2}+4 \sqrt {x^{3}-5 x^{2}+3 x +9}+2 x -15}{\left (-3+x \right )^{2}}\right )}{1024}\) | \(73\) |
default | \(\frac {\left (-3+x \right )^{3} \left (1+x \right ) \left (15 \left (1+x \right )^{\frac {5}{2}} \ln \left (\sqrt {1+x}-2\right )-15 \left (1+x \right )^{\frac {5}{2}} \ln \left (\sqrt {1+x}+2\right )-120 \left (1+x \right )^{\frac {3}{2}} \ln \left (\sqrt {1+x}-2\right )+120 \left (1+x \right )^{\frac {3}{2}} \ln \left (\sqrt {1+x}+2\right )+240 \ln \left (\sqrt {1+x}-2\right ) \sqrt {1+x}-240 \ln \left (\sqrt {1+x}+2\right ) \sqrt {1+x}+60 x^{2}-280 x +172\right )}{1024 \left (x^{3}-5 x^{2}+3 x +9\right )^{\frac {3}{2}} \left (\sqrt {1+x}-2\right )^{2} \left (\sqrt {1+x}+2\right )^{2}}\) | \(144\) |
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.40, size = 138, normalized size = 0.99 \begin {gather*} -\frac {15 \, {\left (x^{4} - 8 \, x^{3} + 18 \, x^{2} - 27\right )} \log \left (\frac {2 \, x + \sqrt {x^{3} - 5 \, x^{2} + 3 \, x + 9} - 6}{x - 3}\right ) - 15 \, {\left (x^{4} - 8 \, x^{3} + 18 \, x^{2} - 27\right )} \log \left (-\frac {2 \, x - \sqrt {x^{3} - 5 \, x^{2} + 3 \, x + 9} - 6}{x - 3}\right ) - 4 \, \sqrt {x^{3} - 5 \, x^{2} + 3 \, x + 9} {\left (15 \, x^{2} - 70 \, x + 43\right )}}{1024 \, {\left (x^{4} - 8 \, x^{3} + 18 \, x^{2} - 27\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\left (x^{3} - 5 x^{2} + 3 x + 9\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.52, size = 75, normalized size = 0.54 \begin {gather*} -\frac {15 \, \log \left (\sqrt {x + 1} + 2\right )}{1024 \, \mathrm {sgn}\left (x - 3\right )} + \frac {15 \, \log \left ({\left | \sqrt {x + 1} - 2 \right |}\right )}{1024 \, \mathrm {sgn}\left (x - 3\right )} + \frac {1}{32 \, \sqrt {x + 1} \mathrm {sgn}\left (x - 3\right )} + \frac {7 \, {\left (x + 1\right )}^{\frac {3}{2}} - 36 \, \sqrt {x + 1}}{256 \, {\left (x - 3\right )}^{2} \mathrm {sgn}\left (x - 3\right )} \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}{{\left (x^3-5\,x^2+3\,x+9\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________