Optimal. Leaf size=49 \[ \frac {1}{3} \sqrt {-1+x} \sqrt {5+3 x}-\frac {8 \sinh ^{-1}\left (\frac {1}{2} \sqrt {\frac {3}{2}} \sqrt {-1+x}\right )}{3 \sqrt {3}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 49, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {1978, 52, 56,
221} \begin {gather*} \frac {1}{3} \sqrt {x-1} \sqrt {3 x+5}-\frac {8 \sinh ^{-1}\left (\frac {1}{2} \sqrt {\frac {3}{2}} \sqrt {x-1}\right )}{3 \sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 52
Rule 56
Rule 221
Rule 1978
Rubi steps
\begin {align*} \int \sqrt {\frac {-1+x}{5+3 x}} \, dx &=\int \frac {\sqrt {-1+x}}{\sqrt {5+3 x}} \, dx\\ &=\frac {1}{3} \sqrt {-1+x} \sqrt {5+3 x}-\frac {4}{3} \int \frac {1}{\sqrt {-1+x} \sqrt {5+3 x}} \, dx\\ &=\frac {1}{3} \sqrt {-1+x} \sqrt {5+3 x}-\frac {8}{3} \text {Subst}\left (\int \frac {1}{\sqrt {8+3 x^2}} \, dx,x,\sqrt {-1+x}\right )\\ &=\frac {1}{3} \sqrt {-1+x} \sqrt {5+3 x}-\frac {8 \sinh ^{-1}\left (\frac {1}{2} \sqrt {\frac {3}{2}} \sqrt {-1+x}\right )}{3 \sqrt {3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 72, normalized size = 1.47 \begin {gather*} \frac {\sqrt {\frac {-1+x}{5+3 x}} \left (3 \sqrt {-1+x} (5+3 x)-8 \sqrt {15+9 x} \tanh ^{-1}\left (\frac {\sqrt {5+3 x}}{\sqrt {-3+3 x}}\right )\right )}{9 \sqrt {-1+x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(75\) vs.
\(2(31)=62\).
time = 0.12, size = 76, normalized size = 1.55
method | result | size |
default | \(-\frac {\sqrt {\frac {-1+x}{5+3 x}}\, \left (5+3 x \right ) \left (4 \ln \left (x \sqrt {3}+\frac {\sqrt {3}}{3}+\sqrt {3 x^{2}+2 x -5}\right ) \sqrt {3}-3 \sqrt {3 x^{2}+2 x -5}\right )}{9 \sqrt {\left (5+3 x \right ) \left (-1+x \right )}}\) | \(76\) |
risch | \(\frac {\left (5+3 x \right ) \sqrt {\frac {-1+x}{5+3 x}}}{3}-\frac {4 \ln \left (\frac {\left (1+3 x \right ) \sqrt {3}}{3}+\sqrt {3 x^{2}+2 x -5}\right ) \sqrt {3}\, \sqrt {\frac {-1+x}{5+3 x}}\, \sqrt {\left (5+3 x \right ) \left (-1+x \right )}}{9 \left (-1+x \right )}\) | \(80\) |
trager | \(5 \left (\frac {1}{3}+\frac {x}{5}\right ) \sqrt {-\frac {1-x}{5+3 x}}+\frac {4 \RootOf \left (\textit {\_Z}^{2}-3\right ) \ln \left (-3 \RootOf \left (\textit {\_Z}^{2}-3\right ) x +9 \sqrt {-\frac {1-x}{5+3 x}}\, x -\RootOf \left (\textit {\_Z}^{2}-3\right )+15 \sqrt {-\frac {1-x}{5+3 x}}\right )}{9}\) | \(89\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 80 vs.
\(2 (31) = 62\).
time = 0.50, size = 80, normalized size = 1.63 \begin {gather*} \frac {4}{9} \, \sqrt {3} \log \left (-\frac {\sqrt {3} - 3 \, \sqrt {\frac {x - 1}{3 \, x + 5}}}{\sqrt {3} + 3 \, \sqrt {\frac {x - 1}{3 \, x + 5}}}\right ) - \frac {8 \, \sqrt {\frac {x - 1}{3 \, x + 5}}}{3 \, {\left (\frac {3 \, {\left (x - 1\right )}}{3 \, x + 5} - 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 54, normalized size = 1.10 \begin {gather*} \frac {1}{3} \, {\left (3 \, x + 5\right )} \sqrt {\frac {x - 1}{3 \, x + 5}} + \frac {4}{9} \, \sqrt {3} \log \left (\sqrt {3} {\left (3 \, x + 5\right )} \sqrt {\frac {x - 1}{3 \, x + 5}} - 3 \, x - 1\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 \sqrt {\frac {x - 1}{3 x + 5}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 74 vs.
\(2 (31) = 62\).
time = 5.10, size = 74, normalized size = 1.51 \begin {gather*} -\frac {8}{9} \, \sqrt {3} \log \left (2\right ) \mathrm {sgn}\left (3 \, x + 5\right ) + \frac {4}{9} \, \sqrt {3} \log \left ({\left | -\sqrt {3} {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 2 \, x - 5}\right )} - 1 \right |}\right ) \mathrm {sgn}\left (3 \, x + 5\right ) + \frac {1}{3} \, \sqrt {3 \, x^{2} + 2 \, x - 5} \mathrm {sgn}\left (3 \, x + 5\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.16, size = 57, normalized size = 1.16 \begin {gather*} -\frac {8\,\sqrt {3}\,\mathrm {atanh}\left (\sqrt {3}\,\sqrt {\frac {x-1}{3\,x+5}}\right )}{9}-\frac {8\,\sqrt {\frac {x-1}{3\,x+5}}}{3\,\left (\frac {3\,x-3}{3\,x+5}-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________