Optimal. Leaf size=284 \[ -\frac {2 b d \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{3 \left (1-c^2\right ) x}-\frac {a+b \text {ArcSin}\left (c+d x^2\right )}{3 x^3}-\frac {2 b d^{3/2} \sqrt {1-\frac {d x^2}{1-c}} \sqrt {1+\frac {d x^2}{1+c}} E\left (\text {ArcSin}\left (\frac {\sqrt {d} x}{\sqrt {1-c}}\right )|-\frac {1-c}{1+c}\right )}{3 \sqrt {1-c} \sqrt {1-c^2-2 c d x^2-d^2 x^4}}+\frac {2 b d^{3/2} \sqrt {1-\frac {d x^2}{1-c}} \sqrt {1+\frac {d x^2}{1+c}} F\left (\text {ArcSin}\left (\frac {\sqrt {d} x}{\sqrt {1-c}}\right )|-\frac {1-c}{1+c}\right )}{3 \sqrt {1-c} \sqrt {1-c^2-2 c d x^2-d^2 x^4}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.21, antiderivative size = 284, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 7, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.438, Rules used = {4926, 12, 1137,
1154, 507, 435, 430} \begin {gather*} -\frac {a+b \text {ArcSin}\left (c+d x^2\right )}{3 x^3}+\frac {2 b d^{3/2} \sqrt {1-\frac {d x^2}{1-c}} \sqrt {\frac {d x^2}{c+1}+1} F\left (\text {ArcSin}\left (\frac {\sqrt {d} x}{\sqrt {1-c}}\right )|-\frac {1-c}{c+1}\right )}{3 \sqrt {1-c} \sqrt {-c^2-2 c d x^2-d^2 x^4+1}}-\frac {2 b d^{3/2} \sqrt {1-\frac {d x^2}{1-c}} \sqrt {\frac {d x^2}{c+1}+1} E\left (\text {ArcSin}\left (\frac {\sqrt {d} x}{\sqrt {1-c}}\right )|-\frac {1-c}{c+1}\right )}{3 \sqrt {1-c} \sqrt {-c^2-2 c d x^2-d^2 x^4+1}}-\frac {2 b d \sqrt {-c^2-2 c d x^2-d^2 x^4+1}}{3 \left (1-c^2\right ) x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 430
Rule 435
Rule 507
Rule 1137
Rule 1154
Rule 4926
Rubi steps
\begin {align*} \int \frac {a+b \sin ^{-1}\left (c+d x^2\right )}{x^4} \, dx &=-\frac {a+b \sin ^{-1}\left (c+d x^2\right )}{3 x^3}+\frac {1}{3} b \int \frac {2 d}{x^2 \sqrt {1-c^2-2 c d x^2-d^2 x^4}} \, dx\\ &=-\frac {a+b \sin ^{-1}\left (c+d x^2\right )}{3 x^3}+\frac {1}{3} (2 b d) \int \frac {1}{x^2 \sqrt {1-c^2-2 c d x^2-d^2 x^4}} \, dx\\ &=-\frac {2 b d \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{3 \left (1-c^2\right ) x}-\frac {a+b \sin ^{-1}\left (c+d x^2\right )}{3 x^3}-\frac {(2 b d) \int \frac {d^2 x^2}{\sqrt {1-c^2-2 c d x^2-d^2 x^4}} \, dx}{3 \left (1-c^2\right )}\\ &=-\frac {2 b d \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{3 \left (1-c^2\right ) x}-\frac {a+b \sin ^{-1}\left (c+d x^2\right )}{3 x^3}-\frac {\left (2 b d^3\right ) \int \frac {x^2}{\sqrt {1-c^2-2 c d x^2-d^2 x^4}} \, dx}{3 \left (1-c^2\right )}\\ &=-\frac {2 b d \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{3 \left (1-c^2\right ) x}-\frac {a+b \sin ^{-1}\left (c+d x^2\right )}{3 x^3}-\frac {\left (2 b d^3 \sqrt {1-\frac {2 d^2 x^2}{-2 d-2 c d}} \sqrt {1-\frac {2 d^2 x^2}{2 d-2 c d}}\right ) \int \frac {x^2}{\sqrt {1-\frac {2 d^2 x^2}{-2 d-2 c d}} \sqrt {1-\frac {2 d^2 x^2}{2 d-2 c d}}} \, dx}{3 \left (1-c^2\right ) \sqrt {1-c^2-2 c d x^2-d^2 x^4}}\\ &=-\frac {2 b d \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{3 \left (1-c^2\right ) x}-\frac {a+b \sin ^{-1}\left (c+d x^2\right )}{3 x^3}+\frac {\left (2 b (1+c) d^2 \sqrt {1-\frac {2 d^2 x^2}{-2 d-2 c d}} \sqrt {1-\frac {2 d^2 x^2}{2 d-2 c d}}\right ) \int \frac {1}{\sqrt {1-\frac {2 d^2 x^2}{-2 d-2 c d}} \sqrt {1-\frac {2 d^2 x^2}{2 d-2 c d}}} \, dx}{3 \left (1-c^2\right ) \sqrt {1-c^2-2 c d x^2-d^2 x^4}}-\frac {\left (2 b (1+c) d^2 \sqrt {1-\frac {2 d^2 x^2}{-2 d-2 c d}} \sqrt {1-\frac {2 d^2 x^2}{2 d-2 c d}}\right ) \int \frac {\sqrt {1-\frac {2 d^2 x^2}{-2 d-2 c d}}}{\sqrt {1-\frac {2 d^2 x^2}{2 d-2 c d}}} \, dx}{3 \left (1-c^2\right ) \sqrt {1-c^2-2 c d x^2-d^2 x^4}}\\ &=-\frac {2 b d \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{3 \left (1-c^2\right ) x}-\frac {a+b \sin ^{-1}\left (c+d x^2\right )}{3 x^3}-\frac {2 b d^{3/2} \sqrt {1-\frac {d x^2}{1-c}} \sqrt {1+\frac {d x^2}{1+c}} E\left (\sin ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {1-c}}\right )|-\frac {1-c}{1+c}\right )}{3 \sqrt {1-c} \sqrt {1-c^2-2 c d x^2-d^2 x^4}}+\frac {2 b d^{3/2} \sqrt {1-\frac {d x^2}{1-c}} \sqrt {1+\frac {d x^2}{1+c}} F\left (\sin ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {1-c}}\right )|-\frac {1-c}{1+c}\right )}{3 \sqrt {1-c} \sqrt {1-c^2-2 c d x^2-d^2 x^4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 0.28, size = 243, normalized size = 0.86 \begin {gather*} -\frac {a}{3 x^3}+\frac {2 b d \sqrt {1-c^2-2 c d x^2-d^2 x^4}}{3 \left (-1+c^2\right ) x}-\frac {b \text {ArcSin}\left (c+d x^2\right )}{3 x^3}+\frac {2 i b (1-c) d^2 \sqrt {1-\frac {d x^2}{-1-c}} \sqrt {1-\frac {d x^2}{1-c}} \left (E\left (i \sinh ^{-1}\left (\sqrt {-\frac {d}{-1-c}} x\right )|\frac {-1-c}{1-c}\right )-F\left (i \sinh ^{-1}\left (\sqrt {-\frac {d}{-1-c}} x\right )|\frac {-1-c}{1-c}\right )\right )}{3 (-1+c) (1+c) \sqrt {-\frac {d}{-1-c}} \sqrt {1-c^2-2 c d x^2-d^2 x^4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 207, normalized size = 0.73
method | result | size |
default | \(-\frac {a}{3 x^{3}}+b \left (-\frac {\arcsin \left (d \,x^{2}+c \right )}{3 x^{3}}+\frac {2 d \left (\frac {\sqrt {-d^{2} x^{4}-2 c d \,x^{2}-c^{2}+1}}{\left (c^{2}-1\right ) x}-\frac {2 d^{2} \left (-c^{2}+1\right ) \sqrt {1+\frac {d \,x^{2}}{-1+c}}\, \sqrt {1+\frac {d \,x^{2}}{1+c}}\, \left (\EllipticF \left (x \sqrt {-\frac {d}{-1+c}}, \sqrt {-1+\frac {2 c}{1+c}}\right )-\EllipticE \left (x \sqrt {-\frac {d}{-1+c}}, \sqrt {-1+\frac {2 c}{1+c}}\right )\right )}{\left (c^{2}-1\right ) \sqrt {-\frac {d}{-1+c}}\, \sqrt {-d^{2} x^{4}-2 c d \,x^{2}-c^{2}+1}\, \left (-2 d c +2 d \right )}\right )}{3}\right )\) | \(207\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [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]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a + b \operatorname {asin}{\left (c + d x^{2} \right )}}{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.00 \begin {gather*} \int \frac {a+b\,\mathrm {asin}\left (d\,x^2+c\right )}{x^4} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________