Optimal. Leaf size=54 \[ \frac {\tanh ^{-1}\left (\frac {\sqrt {b d-a e} x}{\sqrt {d} \sqrt {a+b x^2+c x^4}}\right )}{\sqrt {d} \sqrt {b d-a e}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.16, antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 43, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.047, Rules used = {2137, 214}
\begin {gather*} \frac {\tanh ^{-1}\left (\frac {x \sqrt {b d-a e}}{\sqrt {d} \sqrt {a+b x^2+c x^4}}\right )}{\sqrt {d} \sqrt {b d-a e}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 214
Rule 2137
Rubi steps
\begin {align*} \int \frac {a-c x^4}{\sqrt {a+b x^2+c x^4} \left (a d+a e x^2+c d x^4\right )} \, dx &=a \text {Subst}\left (\int \frac {1}{a d-\left (a b d-a^2 e\right ) x^2} \, dx,x,\frac {x}{\sqrt {a+b x^2+c x^4}}\right )\\ &=\frac {\tanh ^{-1}\left (\frac {\sqrt {b d-a e} x}{\sqrt {d} \sqrt {a+b x^2+c x^4}}\right )}{\sqrt {d} \sqrt {b d-a e}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 4 vs. order 3 in
optimal.
time = 10.56, size = 419, normalized size = 7.76 \begin {gather*} \frac {i \sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x^2}{b+\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^2}{b-\sqrt {b^2-4 a c}}} \left (F\left (i \sinh ^{-1}\left (\sqrt {2} \sqrt {\frac {c}{b+\sqrt {b^2-4 a c}}} x\right )|\frac {b+\sqrt {b^2-4 a c}}{b-\sqrt {b^2-4 a c}}\right )-\Pi \left (\frac {\left (b+\sqrt {b^2-4 a c}\right ) d}{a e-\sqrt {a} \sqrt {-4 c d^2+a e^2}};i \sinh ^{-1}\left (\sqrt {2} \sqrt {\frac {c}{b+\sqrt {b^2-4 a c}}} x\right )|\frac {b+\sqrt {b^2-4 a c}}{b-\sqrt {b^2-4 a c}}\right )-\Pi \left (\frac {\left (b+\sqrt {b^2-4 a c}\right ) d}{a e+\sqrt {a} \sqrt {-4 c d^2+a e^2}};i \sinh ^{-1}\left (\sqrt {2} \sqrt {\frac {c}{b+\sqrt {b^2-4 a c}}} x\right )|\frac {b+\sqrt {b^2-4 a c}}{b-\sqrt {b^2-4 a c}}\right )\right )}{\sqrt {2} \sqrt {\frac {c}{b+\sqrt {b^2-4 a c}}} d \sqrt {a+b x^2+c x^4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 0.08, size = 514, normalized size = 9.52
method | result | size |
elliptic | \(-\frac {\arctan \left (\frac {d \sqrt {c \,x^{4}+b \,x^{2}+a}}{x \sqrt {\left (a e -b d \right ) d}}\right )}{\sqrt {\left (a e -b d \right ) d}}\) | \(47\) |
default | \(-\frac {\sqrt {2}\, \sqrt {4-\frac {2 \left (-b +\sqrt {-4 a c +b^{2}}\right ) x^{2}}{a}}\, \sqrt {4+\frac {2 \left (b +\sqrt {-4 a c +b^{2}}\right ) x^{2}}{a}}\, \EllipticF \left (\frac {x \sqrt {2}\, \sqrt {\frac {-b +\sqrt {-4 a c +b^{2}}}{a}}}{2}, \frac {\sqrt {-4+\frac {2 b \left (b +\sqrt {-4 a c +b^{2}}\right )}{a c}}}{2}\right )}{4 d \sqrt {\frac {-b +\sqrt {-4 a c +b^{2}}}{a}}\, \sqrt {c \,x^{4}+b \,x^{2}+a}}-\frac {a \left (\munderset {\underline {\hspace {1.25 ex}}\alpha =\RootOf \left (c d \,\textit {\_Z}^{4}+a e \,\textit {\_Z}^{2}+a d \right )}{\sum }\frac {\left (-\underline {\hspace {1.25 ex}}\alpha ^{2} e -2 d \right ) \left (-\frac {\arctanh \left (\frac {2 c \,x^{2} \underline {\hspace {1.25 ex}}\alpha ^{2}+b \,\underline {\hspace {1.25 ex}}\alpha ^{2}+b \,x^{2}+2 a}{2 \sqrt {\frac {\underline {\hspace {1.25 ex}}\alpha ^{2} \left (-a e +b d \right )}{d}}\, \sqrt {c \,x^{4}+b \,x^{2}+a}}\right )}{\sqrt {\frac {\underline {\hspace {1.25 ex}}\alpha ^{2} \left (-a e +b d \right )}{d}}}+\frac {\sqrt {2}\, \underline {\hspace {1.25 ex}}\alpha \left (\underline {\hspace {1.25 ex}}\alpha ^{2} c d +a e \right ) \sqrt {2+\frac {b \,x^{2}}{a}-\frac {x^{2} \sqrt {-4 a c +b^{2}}}{a}}\, \sqrt {2+\frac {b \,x^{2}}{a}+\frac {x^{2} \sqrt {-4 a c +b^{2}}}{a}}\, \EllipticPi \left (\frac {x \sqrt {2}\, \sqrt {\frac {-b +\sqrt {-4 a c +b^{2}}}{a}}}{2}, \frac {\underline {\hspace {1.25 ex}}\alpha ^{2} \sqrt {-4 a c +b^{2}}\, c d +\underline {\hspace {1.25 ex}}\alpha ^{2} b c d +\sqrt {-4 a c +b^{2}}\, a e +a b e}{2 a c d}, \frac {\sqrt {-\frac {b +\sqrt {-4 a c +b^{2}}}{2 a}}\, \sqrt {2}}{\sqrt {\frac {-b +\sqrt {-4 a c +b^{2}}}{a}}}\right )}{d a \sqrt {\frac {-b +\sqrt {-4 a c +b^{2}}}{a}}\, \sqrt {c \,x^{4}+b \,x^{2}+a}}\right )}{\underline {\hspace {1.25 ex}}\alpha \left (2 \underline {\hspace {1.25 ex}}\alpha ^{2} c d +a e \right )}\right )}{4 d}\) | \(514\) |
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 [A]
time = 7.99, size = 318, normalized size = 5.89 \begin {gather*} \left [\frac {\log \left (-\frac {c^{2} d^{2} x^{8} + 8 \, b c d^{2} x^{6} + 2 \, {\left (4 \, b^{2} + a c\right )} d^{2} x^{4} + a^{2} x^{4} e^{2} + 8 \, a b d^{2} x^{2} + a^{2} d^{2} + 4 \, {\left (c d x^{5} + 2 \, b d x^{3} - a x^{3} e + a d x\right )} \sqrt {c x^{4} + b x^{2} + a} \sqrt {b d^{2} - a d e} - 2 \, {\left (3 \, a c d x^{6} + 4 \, a b d x^{4} + 3 \, a^{2} d x^{2}\right )} e}{c^{2} d^{2} x^{8} + 2 \, a c d^{2} x^{4} + a^{2} x^{4} e^{2} + a^{2} d^{2} + 2 \, {\left (a c d x^{6} + a^{2} d x^{2}\right )} e}\right )}{4 \, \sqrt {b d^{2} - a d e}}, \frac {\sqrt {-b d^{2} + a d e} \arctan \left (-\frac {2 \, \sqrt {c x^{4} + b x^{2} + a} \sqrt {-b d^{2} + a d e} x}{c d x^{4} + 2 \, b d x^{2} - a x^{2} e + a d}\right )}{2 \, {\left (b d^{2} - a d e\right )}}\right ] \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 \left (- \frac {a}{a d \sqrt {a + b x^{2} + c x^{4}} + a e x^{2} \sqrt {a + b x^{2} + c x^{4}} + c d x^{4} \sqrt {a + b x^{2} + c x^{4}}}\right )\, dx - \int \frac {c x^{4}}{a d \sqrt {a + b x^{2} + c x^{4}} + a e x^{2} \sqrt {a + b x^{2} + c x^{4}} + c d x^{4} \sqrt {a + b x^{2} + c x^{4}}}\, 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.02 \begin {gather*} \int \frac {a-c\,x^4}{\left (c\,d\,x^4+a\,e\,x^2+a\,d\right )\,\sqrt {c\,x^4+b\,x^2+a}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________