Optimal. Leaf size=268 \[ \frac {\left (\frac {1}{2}-\frac {i}{2}\right ) d \sqrt {\sqrt {3}-2 i x^2}}{\left (2 i c^2-\sqrt {3} d^2\right ) (c+d x)}-\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) d \sqrt {\sqrt {3}+2 i x^2}}{\left (2 i c^2+\sqrt {3} d^2\right ) (c+d x)}+\frac {(1+i) c \tan ^{-1}\left (\frac {\sqrt {3} d+2 i c x}{\sqrt {2 i c^2-\sqrt {3} d^2} \sqrt {\sqrt {3}-2 i x^2}}\right )}{\left (2 i c^2-\sqrt {3} d^2\right )^{3/2}}+\frac {(1-i) c \tanh ^{-1}\left (\frac {\sqrt {3} d-2 i c x}{\sqrt {2 i c^2+\sqrt {3} d^2} \sqrt {\sqrt {3}+2 i x^2}}\right )}{\left (2 i c^2+\sqrt {3} d^2\right )^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.22, antiderivative size = 268, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 5, integrand size = 40, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {2158, 745, 739,
210, 212} \begin {gather*} \frac {(1+i) c \text {ArcTan}\left (\frac {\sqrt {3} d+2 i c x}{\sqrt {\sqrt {3}-2 i x^2} \sqrt {-\sqrt {3} d^2+2 i c^2}}\right )}{\left (-\sqrt {3} d^2+2 i c^2\right )^{3/2}}+\frac {\left (\frac {1}{2}-\frac {i}{2}\right ) d \sqrt {\sqrt {3}-2 i x^2}}{\left (-\sqrt {3} d^2+2 i c^2\right ) (c+d x)}-\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) d \sqrt {\sqrt {3}+2 i x^2}}{\left (\sqrt {3} d^2+2 i c^2\right ) (c+d x)}+\frac {(1-i) c \tanh ^{-1}\left (\frac {\sqrt {3} d-2 i c x}{\sqrt {\sqrt {3}+2 i x^2} \sqrt {\sqrt {3} d^2+2 i c^2}}\right )}{\left (\sqrt {3} d^2+2 i c^2\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 210
Rule 212
Rule 739
Rule 745
Rule 2158
Rubi steps
\begin {align*} \int \frac {\sqrt {2 x^2+\sqrt {3+4 x^4}}}{(c+d x)^2 \sqrt {3+4 x^4}} \, dx &=\left (\frac {1}{2}-\frac {i}{2}\right ) \int \frac {1}{(c+d x)^2 \sqrt {\sqrt {3}-2 i x^2}} \, dx+\left (\frac {1}{2}+\frac {i}{2}\right ) \int \frac {1}{(c+d x)^2 \sqrt {\sqrt {3}+2 i x^2}} \, dx\\ &=\frac {\left (\frac {1}{2}-\frac {i}{2}\right ) d \sqrt {\sqrt {3}-2 i x^2}}{\left (2 i c^2-\sqrt {3} d^2\right ) (c+d x)}-\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) d \sqrt {\sqrt {3}+2 i x^2}}{\left (2 i c^2+\sqrt {3} d^2\right ) (c+d x)}+\frac {((1+i) c) \int \frac {1}{(c+d x) \sqrt {\sqrt {3}+2 i x^2}} \, dx}{2 c^2-i \sqrt {3} d^2}+\frac {((1-i) c) \int \frac {1}{(c+d x) \sqrt {\sqrt {3}-2 i x^2}} \, dx}{2 c^2+i \sqrt {3} d^2}\\ &=\frac {\left (\frac {1}{2}-\frac {i}{2}\right ) d \sqrt {\sqrt {3}-2 i x^2}}{\left (2 i c^2-\sqrt {3} d^2\right ) (c+d x)}-\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) d \sqrt {\sqrt {3}+2 i x^2}}{\left (2 i c^2+\sqrt {3} d^2\right ) (c+d x)}+-\frac {((1+i) c) \text {Subst}\left (\int \frac {1}{2 i c^2+\sqrt {3} d^2-x^2} \, dx,x,\frac {\sqrt {3} d-2 i c x}{\sqrt {\sqrt {3}+2 i x^2}}\right )}{2 c^2-i \sqrt {3} d^2}+-\frac {((1-i) c) \text {Subst}\left (\int \frac {1}{-2 i c^2+\sqrt {3} d^2-x^2} \, dx,x,\frac {\sqrt {3} d+2 i c x}{\sqrt {\sqrt {3}-2 i x^2}}\right )}{2 c^2+i \sqrt {3} d^2}\\ &=\frac {\left (\frac {1}{2}-\frac {i}{2}\right ) d \sqrt {\sqrt {3}-2 i x^2}}{\left (2 i c^2-\sqrt {3} d^2\right ) (c+d x)}-\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) d \sqrt {\sqrt {3}+2 i x^2}}{\left (2 i c^2+\sqrt {3} d^2\right ) (c+d x)}+\frac {(1+i) c \tan ^{-1}\left (\frac {\sqrt {3} d+2 i c x}{\sqrt {2 i c^2-\sqrt {3} d^2} \sqrt {\sqrt {3}-2 i x^2}}\right )}{\left (2 i c^2-\sqrt {3} d^2\right )^{3/2}}+\frac {(1-i) c \tanh ^{-1}\left (\frac {\sqrt {3} d-2 i c x}{\sqrt {2 i c^2+\sqrt {3} d^2} \sqrt {\sqrt {3}+2 i x^2}}\right )}{\left (2 i c^2+\sqrt {3} d^2\right )^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F]
time = 10.10, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {2 x^2+\sqrt {3+4 x^4}}}{(c+d x)^2 \sqrt {3+4 x^4}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.05, size = 0, normalized size = 0.00 \[\int \frac {\sqrt {2 x^{2}+\sqrt {4 x^{4}+3}}}{\left (d x +c \right )^{2} \sqrt {4 x^{4}+3}}\, 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]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {2 x^{2} + \sqrt {4 x^{4} + 3}}}{\left (c + d x\right )^{2} \sqrt {4 x^{4} + 3}}\, dx \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 {\sqrt {2\,x^2+\sqrt {4\,x^4+3}}}{\sqrt {4\,x^4+3}\,{\left (c+d\,x\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________