Optimal. Leaf size=43 \[ \frac {1-x}{12 \left (-3-2 x+x^2\right )^{3/2}}-\frac {1-x}{24 \sqrt {-3-2 x+x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {628, 627}
\begin {gather*} \frac {1-x}{12 \left (x^2-2 x-3\right )^{3/2}}-\frac {1-x}{24 \sqrt {x^2-2 x-3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 627
Rule 628
Rubi steps
\begin {align*} \int \frac {1}{\left (-3-2 x+x^2\right )^{5/2}} \, dx &=\frac {1-x}{12 \left (-3-2 x+x^2\right )^{3/2}}-\frac {1}{6} \int \frac {1}{\left (-3-2 x+x^2\right )^{3/2}} \, dx\\ &=\frac {1-x}{12 \left (-3-2 x+x^2\right )^{3/2}}-\frac {1-x}{24 \sqrt {-3-2 x+x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.15, size = 39, normalized size = 0.91 \begin {gather*} \frac {\sqrt {-3-2 x+x^2} \left (5-3 x-3 x^2+x^3\right )}{24 (-3+x)^2 (1+x)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 36, normalized size = 0.84
method | result | size |
trager | \(\frac {x^{3}-3 x^{2}-3 x +5}{24 \left (x^{2}-2 x -3\right )^{\frac {3}{2}}}\) | \(26\) |
risch | \(\frac {x^{3}-3 x^{2}-3 x +5}{24 \left (x^{2}-2 x -3\right )^{\frac {3}{2}}}\) | \(26\) |
gosper | \(\frac {\left (1+x \right ) \left (-3+x \right ) \left (x^{3}-3 x^{2}-3 x +5\right )}{24 \left (x^{2}-2 x -3\right )^{\frac {5}{2}}}\) | \(32\) |
default | \(-\frac {2 x -2}{24 \left (x^{2}-2 x -3\right )^{\frac {3}{2}}}+\frac {2 x -2}{48 \sqrt {x^{2}-2 x -3}}\) | \(36\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 6.14, size = 51, normalized size = 1.19 \begin {gather*} \frac {x}{24 \, \sqrt {x^{2} - 2 \, x - 3}} - \frac {1}{24 \, \sqrt {x^{2} - 2 \, x - 3}} - \frac {x}{12 \, {\left (x^{2} - 2 \, x - 3\right )}^{\frac {3}{2}}} + \frac {1}{12 \, {\left (x^{2} - 2 \, x - 3\right )}^{\frac {3}{2}}} \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. 64 vs.
\(2 (31) = 62\).
time = 0.41, size = 64, normalized size = 1.49 \begin {gather*} \frac {x^{4} - 4 \, x^{3} - 2 \, x^{2} + {\left (x^{3} - 3 \, x^{2} - 3 \, x + 5\right )} \sqrt {x^{2} - 2 \, x - 3} + 12 \, x + 9}{24 \, {\left (x^{4} - 4 \, x^{3} - 2 \, x^{2} + 12 \, x + 9\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^{2} - 2 x - 3\right )^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.53, size = 23, normalized size = 0.53 \begin {gather*} \frac {{\left ({\left (x - 3\right )} x - 3\right )} x + 5}{24 \, {\left (x^{2} - 2 \, x - 3\right )}^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 27, normalized size = 0.63 \begin {gather*} -\frac {\left (4\,x-4\right )\,\left (-8\,x^2+16\,x+40\right )}{768\,{\left (x^2-2\,x-3\right )}^{3/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________