Optimal. Leaf size=113 \[ \frac {x \left (a+b x^2\right )^{3/2}}{4 c \left (c+d x^2\right )^2}+\frac {3 a x \sqrt {a+b x^2}}{8 c^2 \left (c+d x^2\right )}+\frac {3 a^2 \tanh ^{-1}\left (\frac {\sqrt {b c-a d} x}{\sqrt {c} \sqrt {a+b x^2}}\right )}{8 c^{5/2} \sqrt {b c-a d}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 113, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {386, 385, 214}
\begin {gather*} \frac {3 a^2 \tanh ^{-1}\left (\frac {x \sqrt {b c-a d}}{\sqrt {c} \sqrt {a+b x^2}}\right )}{8 c^{5/2} \sqrt {b c-a d}}+\frac {3 a x \sqrt {a+b x^2}}{8 c^2 \left (c+d x^2\right )}+\frac {x \left (a+b x^2\right )^{3/2}}{4 c \left (c+d x^2\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 214
Rule 385
Rule 386
Rubi steps
\begin {align*} \int \frac {\left (a+b x^2\right )^{3/2}}{\left (c+d x^2\right )^3} \, dx &=\frac {x \left (a+b x^2\right )^{3/2}}{4 c \left (c+d x^2\right )^2}+\frac {(3 a) \int \frac {\sqrt {a+b x^2}}{\left (c+d x^2\right )^2} \, dx}{4 c}\\ &=\frac {x \left (a+b x^2\right )^{3/2}}{4 c \left (c+d x^2\right )^2}+\frac {3 a x \sqrt {a+b x^2}}{8 c^2 \left (c+d x^2\right )}+\frac {\left (3 a^2\right ) \int \frac {1}{\sqrt {a+b x^2} \left (c+d x^2\right )} \, dx}{8 c^2}\\ &=\frac {x \left (a+b x^2\right )^{3/2}}{4 c \left (c+d x^2\right )^2}+\frac {3 a x \sqrt {a+b x^2}}{8 c^2 \left (c+d x^2\right )}+\frac {\left (3 a^2\right ) \text {Subst}\left (\int \frac {1}{c-(b c-a d) x^2} \, dx,x,\frac {x}{\sqrt {a+b x^2}}\right )}{8 c^2}\\ &=\frac {x \left (a+b x^2\right )^{3/2}}{4 c \left (c+d x^2\right )^2}+\frac {3 a x \sqrt {a+b x^2}}{8 c^2 \left (c+d x^2\right )}+\frac {3 a^2 \tanh ^{-1}\left (\frac {\sqrt {b c-a d} x}{\sqrt {c} \sqrt {a+b x^2}}\right )}{8 c^{5/2} \sqrt {b c-a d}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(1002\) vs. \(2(113)=226\).
time = 3.60, size = 1002, normalized size = 8.87 \begin {gather*} \frac {1}{8} \left (\frac {3 a^2}{c^2 d x \left (-\sqrt {b} x+\sqrt {a+b x^2}\right )}+\frac {a^2 \left (a^2+11 a b x^2+12 b^2 x^4-5 a \sqrt {b} x \sqrt {a+b x^2}-12 b^{3/2} x^3 \sqrt {a+b x^2}\right )}{c d^2 x^3 \left (\sqrt {b} x-\sqrt {a+b x^2}\right ) \left (a^2+8 a b x^2+8 b^2 x^4-4 a \sqrt {b} x \sqrt {a+b x^2}-8 b^{3/2} x^3 \sqrt {a+b x^2}\right )}+\frac {2 \left (a+b x^2\right ) \left (a^3+13 a^2 b x^2+28 a b^2 x^4+16 b^3 x^6-5 a^2 \sqrt {b} x \sqrt {a+b x^2}-20 a b^{3/2} x^3 \sqrt {a+b x^2}-16 b^{5/2} x^5 \sqrt {a+b x^2}\right )}{d x \left (c+d x^2\right )^2 \left (\sqrt {b} x-\sqrt {a+b x^2}\right ) \left (a+2 b x^2-2 \sqrt {b} x \sqrt {a+b x^2}\right )^2}-\frac {\left (a-2 b x^2\right ) \left (a^4+64 b^{7/2} x^7 \left (\sqrt {b} x-\sqrt {a+b x^2}\right )+a^3 \left (25 b x^2-7 \sqrt {b} x \sqrt {a+b x^2}\right )-8 a^2 \left (-13 b^2 x^4+7 b^{3/2} x^3 \sqrt {a+b x^2}\right )-16 a \left (-9 b^3 x^6+7 b^{5/2} x^5 \sqrt {a+b x^2}\right )\right )}{d^2 x^3 \left (c+d x^2\right ) \left (\sqrt {b} x-\sqrt {a+b x^2}\right ) \left (a+2 b x^2-2 \sqrt {b} x \sqrt {a+b x^2}\right ) \left (a^2+8 a b x^2+8 b^2 x^4-4 a \sqrt {b} x \sqrt {a+b x^2}-8 b^{3/2} x^3 \sqrt {a+b x^2}\right )}-\frac {3 a^2 \tan ^{-1}\left (\frac {-d x \sqrt {a+b x^2}+\sqrt {b} \left (c+d x^2\right )}{\sqrt {c} \sqrt {-b c+a d}}\right )}{c^{5/2} \sqrt {-b c+a d}}-\frac {32 b^2 \tan ^{-1}\left (\frac {-d x \sqrt {a+b x^2}+\sqrt {b} \left (c+d x^2\right )}{\sqrt {c} \sqrt {-b c+a d}}\right )}{\sqrt {c} d^2 \sqrt {-b c+a d}}+\frac {24 a b \tan ^{-1}\left (\frac {-d x \sqrt {a+b x^2}+\sqrt {b} \left (c+d x^2\right )}{\sqrt {c} \sqrt {-b c+a d}}\right )}{c^{3/2} d \sqrt {-b c+a d}}-\frac {32 b^2 \tanh ^{-1}\left (\frac {-d x \sqrt {a+b x^2}+\sqrt {b} \left (c+d x^2\right )}{\sqrt {c} \sqrt {b c-a d}}\right )}{\sqrt {c} d^2 \sqrt {b c-a d}}+\frac {24 a b \tanh ^{-1}\left (\frac {-d x \sqrt {a+b x^2}+\sqrt {b} \left (c+d x^2\right )}{\sqrt {c} \sqrt {b c-a d}}\right )}{c^{3/2} d \sqrt {b c-a d}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(6920\) vs.
\(2(93)=186\).
time = 0.07, size = 6921, normalized size = 61.25
method | result | size |
default | \(\text {Expression too large to display}\) | \(6921\) |
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 [B] Leaf count of result is larger than twice the leaf count of optimal. 243 vs.
\(2 (93) = 186\).
time = 0.62, size = 526, normalized size = 4.65 \begin {gather*} \left [\frac {3 \, {\left (a^{2} d^{2} x^{4} + 2 \, a^{2} c d x^{2} + a^{2} c^{2}\right )} \sqrt {b c^{2} - a c d} \log \left (\frac {{\left (8 \, b^{2} c^{2} - 8 \, a b c d + a^{2} d^{2}\right )} x^{4} + a^{2} c^{2} + 2 \, {\left (4 \, a b c^{2} - 3 \, a^{2} c d\right )} x^{2} + 4 \, {\left ({\left (2 \, b c - a d\right )} x^{3} + a c x\right )} \sqrt {b c^{2} - a c d} \sqrt {b x^{2} + a}}{d^{2} x^{4} + 2 \, c d x^{2} + c^{2}}\right ) + 4 \, {\left ({\left (2 \, b^{2} c^{3} + a b c^{2} d - 3 \, a^{2} c d^{2}\right )} x^{3} + 5 \, {\left (a b c^{3} - a^{2} c^{2} d\right )} x\right )} \sqrt {b x^{2} + a}}{32 \, {\left (b c^{6} - a c^{5} d + {\left (b c^{4} d^{2} - a c^{3} d^{3}\right )} x^{4} + 2 \, {\left (b c^{5} d - a c^{4} d^{2}\right )} x^{2}\right )}}, -\frac {3 \, {\left (a^{2} d^{2} x^{4} + 2 \, a^{2} c d x^{2} + a^{2} c^{2}\right )} \sqrt {-b c^{2} + a c d} \arctan \left (\frac {\sqrt {-b c^{2} + a c d} {\left ({\left (2 \, b c - a d\right )} x^{2} + a c\right )} \sqrt {b x^{2} + a}}{2 \, {\left ({\left (b^{2} c^{2} - a b c d\right )} x^{3} + {\left (a b c^{2} - a^{2} c d\right )} x\right )}}\right ) - 2 \, {\left ({\left (2 \, b^{2} c^{3} + a b c^{2} d - 3 \, a^{2} c d^{2}\right )} x^{3} + 5 \, {\left (a b c^{3} - a^{2} c^{2} d\right )} x\right )} \sqrt {b x^{2} + a}}{16 \, {\left (b c^{6} - a c^{5} d + {\left (b c^{4} d^{2} - a c^{3} d^{3}\right )} x^{4} + 2 \, {\left (b c^{5} d - a c^{4} d^{2}\right )} x^{2}\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 \frac {\left (a + b x^{2}\right )^{\frac {3}{2}}}{\left (c + d x^{2}\right )^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 451 vs.
\(2 (93) = 186\).
time = 1.83, size = 451, normalized size = 3.99 \begin {gather*} -\frac {3 \, a^{2} \sqrt {b} \arctan \left (\frac {{\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{2} d + 2 \, b c - a d}{2 \, \sqrt {-b^{2} c^{2} + a b c d}}\right )}{8 \, \sqrt {-b^{2} c^{2} + a b c d} c^{2}} + \frac {8 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{6} b^{\frac {5}{2}} c^{2} d - 3 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{6} a^{2} \sqrt {b} d^{3} + 16 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{4} b^{\frac {7}{2}} c^{3} + 8 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{4} a b^{\frac {5}{2}} c^{2} d - 18 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{4} a^{2} b^{\frac {3}{2}} c d^{2} + 9 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{4} a^{3} \sqrt {b} d^{3} + 8 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{2} a^{2} b^{\frac {5}{2}} c^{2} d + 16 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{2} a^{3} b^{\frac {3}{2}} c d^{2} - 9 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{2} a^{4} \sqrt {b} d^{3} + 2 \, a^{4} b^{\frac {3}{2}} c d^{2} + 3 \, a^{5} \sqrt {b} d^{3}}{4 \, {\left ({\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{4} d + 4 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{2} b c - 2 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{2} a d + a^{2} d\right )}^{2} c^{2} d^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (b\,x^2+a\right )}^{3/2}}{{\left (d\,x^2+c\right )}^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________