Optimal. Leaf size=202 \[ \frac{2 \tanh ^{-1}\left (\frac{(c-2 d x)^2}{3 \sqrt{c} \sqrt{c^3-8 d^3 x^3}}\right )}{9 \sqrt{c} d^2}-\frac{\sqrt{2+\sqrt{3}} (c-2 d x) \sqrt{\frac{c^2+2 c d x+4 d^2 x^2}{\left (\left (1+\sqrt{3}\right ) c-2 d x\right )^2}} F\left (\sin ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) c-2 d x}{\left (1+\sqrt{3}\right ) c-2 d x}\right )|-7-4 \sqrt{3}\right )}{3 \sqrt [4]{3} d^2 \sqrt{\frac{c (c-2 d x)}{\left (\left (1+\sqrt{3}\right ) c-2 d x\right )^2}} \sqrt{c^3-8 d^3 x^3}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.255957, antiderivative size = 202, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.16, Rules used = {2139, 218, 2138, 206} \[ \frac{2 \tanh ^{-1}\left (\frac{(c-2 d x)^2}{3 \sqrt{c} \sqrt{c^3-8 d^3 x^3}}\right )}{9 \sqrt{c} d^2}-\frac{\sqrt{2+\sqrt{3}} (c-2 d x) \sqrt{\frac{c^2+2 c d x+4 d^2 x^2}{\left (\left (1+\sqrt{3}\right ) c-2 d x\right )^2}} F\left (\sin ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) c-2 d x}{\left (1+\sqrt{3}\right ) c-2 d x}\right )|-7-4 \sqrt{3}\right )}{3 \sqrt [4]{3} d^2 \sqrt{\frac{c (c-2 d x)}{\left (\left (1+\sqrt{3}\right ) c-2 d x\right )^2}} \sqrt{c^3-8 d^3 x^3}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2139
Rule 218
Rule 2138
Rule 206
Rubi steps
\begin{align*} \int \frac{x}{(c+d x) \sqrt{c^3-8 d^3 x^3}} \, dx &=\frac{\int \frac{1}{\sqrt{c^3-8 d^3 x^3}} \, dx}{3 d}-\frac{\int \frac{c-2 d x}{(c+d x) \sqrt{c^3-8 d^3 x^3}} \, dx}{3 d}\\ &=-\frac{\sqrt{2+\sqrt{3}} (c-2 d x) \sqrt{\frac{c^2+2 c d x+4 d^2 x^2}{\left (\left (1+\sqrt{3}\right ) c-2 d x\right )^2}} F\left (\sin ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) c-2 d x}{\left (1+\sqrt{3}\right ) c-2 d x}\right )|-7-4 \sqrt{3}\right )}{3 \sqrt [4]{3} d^2 \sqrt{\frac{c (c-2 d x)}{\left (\left (1+\sqrt{3}\right ) c-2 d x\right )^2}} \sqrt{c^3-8 d^3 x^3}}+\frac{(2 c) \operatorname{Subst}\left (\int \frac{1}{9-c^3 x^2} \, dx,x,\frac{\left (1-\frac{2 d x}{c}\right )^2}{\sqrt{c^3-8 d^3 x^3}}\right )}{3 d^2}\\ &=\frac{2 \tanh ^{-1}\left (\frac{(c-2 d x)^2}{3 \sqrt{c} \sqrt{c^3-8 d^3 x^3}}\right )}{9 \sqrt{c} d^2}-\frac{\sqrt{2+\sqrt{3}} (c-2 d x) \sqrt{\frac{c^2+2 c d x+4 d^2 x^2}{\left (\left (1+\sqrt{3}\right ) c-2 d x\right )^2}} F\left (\sin ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) c-2 d x}{\left (1+\sqrt{3}\right ) c-2 d x}\right )|-7-4 \sqrt{3}\right )}{3 \sqrt [4]{3} d^2 \sqrt{\frac{c (c-2 d x)}{\left (\left (1+\sqrt{3}\right ) c-2 d x\right )^2}} \sqrt{c^3-8 d^3 x^3}}\\ \end{align*}
Mathematica [C] time = 0.680195, size = 295, normalized size = 1.46 \[ \frac{\sqrt{\frac{c-2 d x}{\left (1+\sqrt [3]{-1}\right ) c}} \left (\left (\sqrt [3]{-1}-2\right ) \left (\sqrt [3]{-1} c+2 d x\right ) \sqrt{\frac{\sqrt [3]{-1} \left (c+2 \sqrt [3]{-1} d x\right )}{\left (1+\sqrt [3]{-1}\right ) c}} F\left (\sin ^{-1}\left (\sqrt{\frac{c-2 (-1)^{2/3} d x}{\left (1+\sqrt [3]{-1}\right ) c}}\right )|\sqrt [3]{-1}\right )+\frac{2 \sqrt [3]{-1} \left (1+\sqrt [3]{-1}\right ) c \sqrt{\frac{c-2 (-1)^{2/3} d x}{\left (1+\sqrt [3]{-1}\right ) c}} \sqrt{\frac{c^2+2 c d x+4 d^2 x^2}{c^2}} \Pi \left (\frac{2 \sqrt{3}}{3 i+\sqrt{3}};\sin ^{-1}\left (\sqrt{\frac{c-2 (-1)^{2/3} d x}{\left (1+\sqrt [3]{-1}\right ) c}}\right )|\sqrt [3]{-1}\right )}{\sqrt{3}}\right )}{\left (\sqrt [3]{-1}-2\right ) d^2 \sqrt{\frac{c-2 (-1)^{2/3} d x}{\left (1+\sqrt [3]{-1}\right ) c}} \sqrt{c^3-8 d^3 x^3}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.007, size = 653, normalized size = 3.2 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x}{\sqrt{-8 \, d^{3} x^{3} + c^{3}}{\left (d x + c\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{\sqrt{-8 \, d^{3} x^{3} + c^{3}} x}{8 \, d^{4} x^{4} + 8 \, c d^{3} x^{3} - c^{3} d x - c^{4}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x}{\sqrt{- \left (- c + 2 d x\right ) \left (c^{2} + 2 c d x + 4 d^{2} x^{2}\right )} \left (c + d x\right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x}{\sqrt{-8 \, d^{3} x^{3} + c^{3}}{\left (d x + c\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]