Optimal. Leaf size=226 \[ \frac {\sqrt {3} \text {ArcTan}\left (\frac {\sqrt {3} \sqrt [3]{d} \sqrt [3]{1+\left (-1-k^2\right ) x^2+k^2 x^4}}{2-2 x^2+\sqrt [3]{d} \sqrt [3]{1+\left (-1-k^2\right ) x^2+k^2 x^4}}\right )}{2 d^{2/3}}+\frac {\log \left (-1+x^2+\sqrt [3]{d} \sqrt [3]{1+\left (-1-k^2\right ) x^2+k^2 x^4}\right )}{2 d^{2/3}}-\frac {\log \left (1-2 x^2+x^4+\left (\sqrt [3]{d}-\sqrt [3]{d} x^2\right ) \sqrt [3]{1+\left (-1-k^2\right ) x^2+k^2 x^4}+d^{2/3} \left (1+\left (-1-k^2\right ) x^2+k^2 x^4\right )^{2/3}\right )}{4 d^{2/3}} \]
[Out]
________________________________________________________________________________________
Rubi [F]
time = 0.63, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps
used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {}
\begin {gather*} \int \frac {\left (-2+k^2\right ) x+k^2 x^3}{\sqrt [3]{\left (1-x^2\right ) \left (1-k^2 x^2\right )} \left (1-d+\left (-2+d k^2\right ) x^2+x^4\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {\left (-2+k^2\right ) x+k^2 x^3}{\sqrt [3]{\left (1-x^2\right ) \left (1-k^2 x^2\right )} \left (1-d+\left (-2+d k^2\right ) x^2+x^4\right )} \, dx &=\int \frac {x \left (-2+k^2+k^2 x^2\right )}{\sqrt [3]{\left (1-x^2\right ) \left (1-k^2 x^2\right )} \left (1-d+\left (-2+d k^2\right ) x^2+x^4\right )} \, dx\\ &=\frac {1}{2} \text {Subst}\left (\int \frac {-2+k^2+k^2 x}{\sqrt [3]{(1-x) \left (1-k^2 x\right )} \left (1-d+\left (-2+d k^2\right ) x+x^2\right )} \, dx,x,x^2\right )\\ &=\frac {1}{2} \text {Subst}\left (\int \frac {-2+k^2+k^2 x}{\left (1-d+\left (-2+d k^2\right ) x+x^2\right ) \sqrt [3]{1+\left (-1-k^2\right ) x+k^2 x^2}} \, dx,x,x^2\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 11.49, size = 209, normalized size = 0.92 \begin {gather*} \frac {\sqrt [3]{-1+x^2} \sqrt [3]{-1+k^2 x^2} \left (2 \sqrt {3} \text {ArcTan}\left (\frac {\sqrt {3} \sqrt [3]{d} \sqrt [3]{-1+k^2 x^2}}{-2 \left (-1+x^2\right )^{2/3}+\sqrt [3]{d} \sqrt [3]{-1+k^2 x^2}}\right )+2 \log \left (\left (-1+x^2\right )^{2/3}+\sqrt [3]{d} \sqrt [3]{-1+k^2 x^2}\right )-\log \left (\left (-1+x^2\right )^{4/3}-\sqrt [3]{d} \left (-1+x^2\right )^{2/3} \sqrt [3]{-1+k^2 x^2}+d^{2/3} \left (-1+k^2 x^2\right )^{2/3}\right )\right )}{4 d^{2/3} \sqrt [3]{\left (-1+x^2\right ) \left (-1+k^2 x^2\right )}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {\left (k^{2}-2\right ) x +k^{2} x^{3}}{\left (\left (-x^{2}+1\right ) \left (-k^{2} x^{2}+1\right )\right )^{\frac {1}{3}} \left (1-d +\left (d \,k^{2}-2\right ) x^{2}+x^{4}\right )}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {x\,\left (k^2-2\right )+k^2\,x^3}{{\left (\left (x^2-1\right )\,\left (k^2\,x^2-1\right )\right )}^{1/3}\,\left (x^4+\left (d\,k^2-2\right )\,x^2-d+1\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________