Optimal. Leaf size=54 \[ \frac {1}{6} \tan ^{-1}\left (\frac {1}{4} \sqrt {x-5} \sqrt {x+3}\right )+\frac {\tanh ^{-1}\left (\frac {\sqrt {5} \sqrt {x+3}}{\sqrt {x-5}}\right )}{3 \sqrt {5}} \]
________________________________________________________________________________________
Rubi [A] time = 0.10, antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {1586, 178, 92, 203, 93, 206} \[ \frac {1}{6} \tan ^{-1}\left (\frac {1}{4} \sqrt {x-5} \sqrt {x+3}\right )+\frac {\tanh ^{-1}\left (\frac {\sqrt {5} \sqrt {x+3}}{\sqrt {x-5}}\right )}{3 \sqrt {5}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 92
Rule 93
Rule 178
Rule 203
Rule 206
Rule 1586
Rubi steps
\begin {align*} \int \frac {\sqrt {-5+x} \sqrt {3+x}}{(-1+x) \left (-25+x^2\right )} \, dx &=\int \frac {\sqrt {3+x}}{\sqrt {-5+x} (-1+x) (5+x)} \, dx\\ &=\frac {1}{3} \int \frac {1}{\sqrt {-5+x} \sqrt {3+x} (5+x)} \, dx+\frac {2}{3} \int \frac {1}{\sqrt {-5+x} (-1+x) \sqrt {3+x}} \, dx\\ &=\frac {2}{3} \operatorname {Subst}\left (\int \frac {1}{2-10 x^2} \, dx,x,\frac {\sqrt {3+x}}{\sqrt {-5+x}}\right )+\frac {2}{3} \operatorname {Subst}\left (\int \frac {1}{16+x^2} \, dx,x,\sqrt {-5+x} \sqrt {3+x}\right )\\ &=\frac {1}{6} \tan ^{-1}\left (\frac {1}{4} \sqrt {-5+x} \sqrt {3+x}\right )+\frac {\tanh ^{-1}\left (\frac {\sqrt {5} \sqrt {3+x}}{\sqrt {-5+x}}\right )}{3 \sqrt {5}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.15, size = 47, normalized size = 0.87 \[ \frac {1}{15} \left (5 \tan ^{-1}\left (\sqrt {\frac {x-5}{x+3}}\right )+\sqrt {5} \tanh ^{-1}\left (\frac {\sqrt {\frac {x-5}{x+3}}}{\sqrt {5}}\right )\right ) \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [B] time = 0.52, size = 121, normalized size = 2.24 \[ \frac {1}{6} \tan ^{-1}\left (\frac {1}{4} \sqrt {x-5} \sqrt {x+3}\right )-\frac {\tanh ^{-1}\left (\frac {-\frac {11 x}{\sqrt {5}}+\frac {\sqrt {x-5} \left (3 \sqrt {x+3}+2\right )}{\sqrt {5}}+6 \sqrt {5} \sqrt {x+3}-7 \sqrt {5}}{\sqrt {x-5} \left (2 \sqrt {x+3}-6\right )-2 \sqrt {x+3}+6}\right )}{3 \sqrt {5}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.90, size = 65, normalized size = 1.20 \[ \frac {1}{30} \, \sqrt {5} \log \left (\frac {\sqrt {x + 3} \sqrt {x - 5} {\left (3 \, \sqrt {5} + 5\right )} + \sqrt {5} {\left (3 \, x + 5\right )} + 9 \, x + 15}{x + 5}\right ) + \frac {1}{3} \, \arctan \left (\frac {1}{4} \, \sqrt {x + 3} \sqrt {x - 5} - \frac {1}{4} \, x + \frac {1}{4}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.96, size = 74, normalized size = 1.37 \[ -\frac {1}{30} \, \sqrt {5} \log \left (\frac {{\left (\sqrt {x + 3} - \sqrt {x - 5}\right )}^{2} - 4 \, \sqrt {5} + 12}{{\left (\sqrt {x + 3} - \sqrt {x - 5}\right )}^{2} + 4 \, \sqrt {5} + 12}\right ) - \frac {1}{3} \, \arctan \left (\frac {1}{8} \, {\left (\sqrt {x + 3} - \sqrt {x - 5}\right )}^{2}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.40, size = 64, normalized size = 1.19
method | result | size |
default | \(\frac {\sqrt {-5+x}\, \sqrt {3+x}\, \left (\sqrt {5}\, \arctanh \left (\frac {\left (5+3 x \right ) \sqrt {5}}{5 \sqrt {x^{2}-2 x -15}}\right )-5 \arctan \left (\frac {4}{\sqrt {x^{2}-2 x -15}}\right )\right )}{30 \sqrt {x^{2}-2 x -15}}\) | \(64\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {x + 3} \sqrt {x - 5}}{{\left (x^{2} - 25\right )} {\left (x - 1\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.61, size = 95, normalized size = 1.76 \[ \frac {\mathrm {atan}\left (\frac {\sqrt {x+3}\,\sqrt {x-5}-2\,\sqrt {2}\,\sqrt {x-5}}{x-2\,\sqrt {2}\,\sqrt {x+3}+3}\right )}{3}-\frac {\sqrt {5}\,\mathrm {atanh}\left (-\frac {\sqrt {5}\,\sqrt {x+3}\,\sqrt {x-5}-2\,\sqrt {2}\,\sqrt {5}\,\sqrt {x-5}}{5\,x-10\,\sqrt {2}\,\sqrt {x+3}+15}\right )}{15} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {x + 3}}{\sqrt {x - 5} \left (x - 1\right ) \left (x + 5\right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________