Optimal. Leaf size=221 \[ -\frac{2 (d e-c f) \tanh ^{-1}\left (\frac{(c-2 d x)^2}{3 \sqrt{c} \sqrt{c^3-8 d^3 x^3}}\right )}{9 c^{3/2} 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}} (c f+2 d e) 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} c 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.284123, antiderivative size = 221, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.138, Rules used = {2139, 218, 2138, 206} \[ -\frac{2 (d e-c f) \tanh ^{-1}\left (\frac{(c-2 d x)^2}{3 \sqrt{c} \sqrt{c^3-8 d^3 x^3}}\right )}{9 c^{3/2} 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}} (c f+2 d e) 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} c 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{e+f x}{(c+d x) \sqrt{c^3-8 d^3 x^3}} \, dx &=\frac{(d e-c f) \int \frac{c-2 d x}{(c+d x) \sqrt{c^3-8 d^3 x^3}} \, dx}{3 c d}+\frac{(2 d e+c f) \int \frac{1}{\sqrt{c^3-8 d^3 x^3}} \, dx}{3 c d}\\ &=-\frac{\sqrt{2+\sqrt{3}} (2 d e+c f) (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} c 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 (d e-c f)) \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 (d e-c f) \tanh ^{-1}\left (\frac{(c-2 d x)^2}{3 \sqrt{c} \sqrt{c^3-8 d^3 x^3}}\right )}{9 c^{3/2} d^2}-\frac{\sqrt{2+\sqrt{3}} (2 d e+c f) (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} c 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 = 1.1169, size = 384, normalized size = 1.74 \[ -\frac{i \sqrt{\frac{c-2 d x}{\left (1+\sqrt [3]{-1}\right ) c}} \left (4 \sqrt{2} \sqrt{\frac{i c+\sqrt{3} d x+i d x}{-\sqrt{3} c+3 i c}} \sqrt{\frac{c^2+2 c d x+4 d^2 x^2}{c^2}} (d e-c f) \Pi \left (\frac{2 \sqrt{3}}{3 i+\sqrt{3}};\sin ^{-1}\left (\sqrt{2} \sqrt{\frac{i c+\sqrt{3} d x+i d x}{3 i c-\sqrt{3} c}}\right )|\frac{1}{2} \left (1+i \sqrt{3}\right )\right )+f \sqrt{\frac{\left (\sqrt{3}-i\right ) c+2 \left (\sqrt{3}+i\right ) d x}{\left (\sqrt{3}-3 i\right ) c}} \left (\left (\sqrt{3}-3 i\right ) c-2 \left (\sqrt{3}+3 i\right ) d x\right ) F\left (\sin ^{-1}\left (\sqrt{2} \sqrt{\frac{i c+\sqrt{3} d x+i d x}{3 i c-\sqrt{3} c}}\right )|\frac{1}{2} \left (1+i \sqrt{3}\right )\right )\right )}{2 \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.008, size = 661, normalized size = 3. \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{f x + e}{\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}}{\left (f x + e\right )}}{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{e + f 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{f x + e}{\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]