Optimal. Leaf size=25 \[ -\frac {\tan ^{-1}\left (\frac {\sqrt {3-x^2}}{\sqrt {2}}\right )}{\sqrt {2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {455, 65, 209}
\begin {gather*} -\frac {\text {ArcTan}\left (\frac {\sqrt {3-x^2}}{\sqrt {2}}\right )}{\sqrt {2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 209
Rule 455
Rubi steps
\begin {align*} \int \frac {x}{\sqrt {3-x^2} \left (5-x^2\right )} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {1}{\sqrt {3-x} (5-x)} \, dx,x,x^2\right )\\ &=-\text {Subst}\left (\int \frac {1}{2+x^2} \, dx,x,\sqrt {3-x^2}\right )\\ &=-\frac {\tan ^{-1}\left (\frac {\sqrt {3-x^2}}{\sqrt {2}}\right )}{\sqrt {2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 25, normalized size = 1.00 \begin {gather*} -\frac {\tan ^{-1}\left (\frac {\sqrt {3-x^2}}{\sqrt {2}}\right )}{\sqrt {2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(99\) vs.
\(2(20)=40\).
time = 0.13, size = 100, normalized size = 4.00
method | result | size |
trager | \(\frac {\RootOf \left (\textit {\_Z}^{2}+2\right ) \ln \left (\frac {\RootOf \left (\textit {\_Z}^{2}+2\right ) x^{2}-\RootOf \left (\textit {\_Z}^{2}+2\right )-4 \sqrt {-x^{2}+3}}{x^{2}-5}\right )}{4}\) | \(48\) |
default | \(-\frac {\sqrt {2}\, \arctan \left (\frac {\left (-4-2 \sqrt {5}\, \left (x -\sqrt {5}\right )\right ) \sqrt {2}}{4 \sqrt {-\left (x -\sqrt {5}\right )^{2}-2 \sqrt {5}\, \left (x -\sqrt {5}\right )-2}}\right )}{4}-\frac {\sqrt {2}\, \arctan \left (\frac {\left (-4+2 \sqrt {5}\, \left (x +\sqrt {5}\right )\right ) \sqrt {2}}{4 \sqrt {-\left (x +\sqrt {5}\right )^{2}+2 \sqrt {5}\, \left (x +\sqrt {5}\right )-2}}\right )}{4}\) | \(100\) |
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. 101 vs.
\(2 (20) = 40\).
time = 2.95, size = 101, normalized size = 4.04 \begin {gather*} -\frac {1}{20} \, \sqrt {5} {\left (\sqrt {5} \sqrt {2} \arcsin \left (\frac {2 \, \sqrt {5} \sqrt {3} x}{3 \, {\left | 2 \, x + 2 \, \sqrt {5} \right |}} + \frac {2 \, \sqrt {3}}{{\left | 2 \, x + 2 \, \sqrt {5} \right |}}\right ) - \sqrt {5} \sqrt {2} \arcsin \left (\frac {2 \, \sqrt {5} \sqrt {3} x}{3 \, {\left | 2 \, x - 2 \, \sqrt {5} \right |}} - \frac {2 \, \sqrt {3}}{{\left | 2 \, x - 2 \, \sqrt {5} \right |}}\right )\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.41, size = 32, normalized size = 1.28 \begin {gather*} -\frac {1}{4} \, \sqrt {2} \arctan \left (\frac {\sqrt {2} {\left (x^{2} - 1\right )} \sqrt {-x^{2} + 3}}{4 \, {\left (x^{2} - 3\right )}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 2.26, size = 24, normalized size = 0.96 \begin {gather*} - \frac {\sqrt {2} \operatorname {atan}{\left (\frac {\sqrt {2} \sqrt {3 - x^{2}}}{2} \right )}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.49, size = 20, normalized size = 0.80 \begin {gather*} -\frac {1}{2} \, \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {2} \sqrt {-x^{2} + 3}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.76, size = 83, normalized size = 3.32 \begin {gather*} -\frac {\sqrt {2}\,\ln \left (\frac {\frac {\sqrt {2}\,\left (\sqrt {5}\,x+3\right )}{2}+\sqrt {3-x^2}\,1{}\mathrm {i}}{x+\sqrt {5}}\right )\,1{}\mathrm {i}}{4}-\frac {\sqrt {2}\,\ln \left (\frac {\frac {\sqrt {2}\,\left (\sqrt {5}\,x-3\right )}{2}-\sqrt {3-x^2}\,1{}\mathrm {i}}{x-\sqrt {5}}\right )\,1{}\mathrm {i}}{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________