Optimal. Leaf size=24 \[ \frac{\tanh ^{-1}\left (\frac{\sqrt{5-x^2}}{\sqrt{2}}\right )}{\sqrt{2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0192104, antiderivative size = 24, normalized size of antiderivative = 1., 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 = {444, 63, 207} \[ \frac{\tanh ^{-1}\left (\frac{\sqrt{5-x^2}}{\sqrt{2}}\right )}{\sqrt{2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 444
Rule 63
Rule 207
Rubi steps
\begin{align*} \int \frac{x}{\left (3-x^2\right ) \sqrt{5-x^2}} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{1}{(3-x) \sqrt{5-x}} \, dx,x,x^2\right )\\ &=-\operatorname{Subst}\left (\int \frac{1}{-2+x^2} \, dx,x,\sqrt{5-x^2}\right )\\ &=\frac{\tanh ^{-1}\left (\frac{\sqrt{5-x^2}}{\sqrt{2}}\right )}{\sqrt{2}}\\ \end{align*}
Mathematica [A] time = 0.0094691, size = 24, normalized size = 1. \[ \frac{\tanh ^{-1}\left (\frac{\sqrt{5-x^2}}{\sqrt{2}}\right )}{\sqrt{2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.025, size = 100, normalized size = 4.2 \begin{align*}{\frac{\sqrt{2}}{4}{\it Artanh} \left ({\frac{ \left ( 4+2\,\sqrt{3} \left ( x+\sqrt{3} \right ) \right ) \sqrt{2}}{4}{\frac{1}{\sqrt{- \left ( x+\sqrt{3} \right ) ^{2}+2\,\sqrt{3} \left ( x+\sqrt{3} \right ) +2}}}} \right ) }+{\frac{\sqrt{2}}{4}{\it Artanh} \left ({\frac{ \left ( 4-2\,\sqrt{3} \left ( x-\sqrt{3} \right ) \right ) \sqrt{2}}{4}{\frac{1}{\sqrt{- \left ( x-\sqrt{3} \right ) ^{2}-2\,\sqrt{3} \left ( x-\sqrt{3} \right ) +2}}}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.53592, size = 151, normalized size = 6.29 \begin{align*} \frac{1}{12} \, \sqrt{3}{\left (\sqrt{3} \sqrt{2} \log \left (\sqrt{3} + \frac{2 \, \sqrt{2} \sqrt{-x^{2} + 5}}{{\left | 2 \, x + 2 \, \sqrt{3} \right |}} + \frac{4}{{\left | 2 \, x + 2 \, \sqrt{3} \right |}}\right ) + \sqrt{3} \sqrt{2} \log \left (-\sqrt{3} + \frac{2 \, \sqrt{2} \sqrt{-x^{2} + 5}}{{\left | 2 \, x - 2 \, \sqrt{3} \right |}} + \frac{4}{{\left | 2 \, x - 2 \, \sqrt{3} \right |}}\right )\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.10653, size = 126, normalized size = 5.25 \begin{align*} \frac{1}{8} \, \sqrt{2} \log \left (\frac{x^{4} - 4 \, \sqrt{2}{\left (x^{2} - 7\right )} \sqrt{-x^{2} + 5} - 22 \, x^{2} + 89}{x^{4} - 6 \, x^{2} + 9}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 3.41892, size = 61, normalized size = 2.54 \begin{align*} - \begin{cases} - \frac{\sqrt{2} \operatorname{acoth}{\left (\frac{\sqrt{2}}{\sqrt{5 - x^{2}}} \right )}}{2} & \text{for}\: \frac{1}{5 - x^{2}} > \frac{1}{2} \\- \frac{\sqrt{2} \operatorname{atanh}{\left (\frac{\sqrt{2}}{\sqrt{5 - x^{2}}} \right )}}{2} & \text{for}\: \frac{1}{5 - x^{2}} < \frac{1}{2} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.07389, size = 57, normalized size = 2.38 \begin{align*} \frac{1}{4} \, \sqrt{2} \log \left (\sqrt{2} + \sqrt{-x^{2} + 5}\right ) - \frac{1}{4} \, \sqrt{2} \log \left ({\left | -\sqrt{2} + \sqrt{-x^{2} + 5} \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]