Optimal. Leaf size=92 \[ -\frac {(b c-a d) x}{4 c d \left (c+d x^2\right )^2}+\frac {(b c+3 a d) x}{8 c^2 d \left (c+d x^2\right )}+\frac {(b c+3 a d) \tan ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {c}}\right )}{8 c^{5/2} d^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 92, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {393, 205, 211}
\begin {gather*} \frac {(3 a d+b c) \text {ArcTan}\left (\frac {\sqrt {d} x}{\sqrt {c}}\right )}{8 c^{5/2} d^{3/2}}+\frac {x (3 a d+b c)}{8 c^2 d \left (c+d x^2\right )}-\frac {x (b c-a d)}{4 c d \left (c+d x^2\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 205
Rule 211
Rule 393
Rubi steps
\begin {align*} \int \frac {a+b x^2}{\left (c+d x^2\right )^3} \, dx &=-\frac {(b c-a d) x}{4 c d \left (c+d x^2\right )^2}+\frac {(b c+3 a d) \int \frac {1}{\left (c+d x^2\right )^2} \, dx}{4 c d}\\ &=-\frac {(b c-a d) x}{4 c d \left (c+d x^2\right )^2}+\frac {(b c+3 a d) x}{8 c^2 d \left (c+d x^2\right )}+\frac {(b c+3 a d) \int \frac {1}{c+d x^2} \, dx}{8 c^2 d}\\ &=-\frac {(b c-a d) x}{4 c d \left (c+d x^2\right )^2}+\frac {(b c+3 a d) x}{8 c^2 d \left (c+d x^2\right )}+\frac {(b c+3 a d) \tan ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {c}}\right )}{8 c^{5/2} d^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 82, normalized size = 0.89 \begin {gather*} \frac {x \left (b c \left (-c+d x^2\right )+a d \left (5 c+3 d x^2\right )\right )}{8 c^2 d \left (c+d x^2\right )^2}+\frac {(b c+3 a d) \tan ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {c}}\right )}{8 c^{5/2} d^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 77, normalized size = 0.84
method | result | size |
default | \(\frac {\frac {\left (3 a d +b c \right ) x^{3}}{8 c^{2}}+\frac {\left (5 a d -b c \right ) x}{8 c d}}{\left (d \,x^{2}+c \right )^{2}}+\frac {\left (3 a d +b c \right ) \arctan \left (\frac {d x}{\sqrt {c d}}\right )}{8 c^{2} d \sqrt {c d}}\) | \(77\) |
risch | \(\frac {\frac {\left (3 a d +b c \right ) x^{3}}{8 c^{2}}+\frac {\left (5 a d -b c \right ) x}{8 c d}}{\left (d \,x^{2}+c \right )^{2}}-\frac {3 \ln \left (d x +\sqrt {-c d}\right ) a}{16 \sqrt {-c d}\, c^{2}}-\frac {\ln \left (d x +\sqrt {-c d}\right ) b}{16 \sqrt {-c d}\, d c}+\frac {3 \ln \left (-d x +\sqrt {-c d}\right ) a}{16 \sqrt {-c d}\, c^{2}}+\frac {\ln \left (-d x +\sqrt {-c d}\right ) b}{16 \sqrt {-c d}\, d c}\) | \(147\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.52, size = 92, normalized size = 1.00 \begin {gather*} \frac {{\left (b c d + 3 \, a d^{2}\right )} x^{3} - {\left (b c^{2} - 5 \, a c d\right )} x}{8 \, {\left (c^{2} d^{3} x^{4} + 2 \, c^{3} d^{2} x^{2} + c^{4} d\right )}} + \frac {{\left (b c + 3 \, a d\right )} \arctan \left (\frac {d x}{\sqrt {c d}}\right )}{8 \, \sqrt {c d} c^{2} d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.54, size = 300, normalized size = 3.26 \begin {gather*} \left [\frac {2 \, {\left (b c^{2} d^{2} + 3 \, a c d^{3}\right )} x^{3} - {\left ({\left (b c d^{2} + 3 \, a d^{3}\right )} x^{4} + b c^{3} + 3 \, a c^{2} d + 2 \, {\left (b c^{2} d + 3 \, a c d^{2}\right )} x^{2}\right )} \sqrt {-c d} \log \left (\frac {d x^{2} - 2 \, \sqrt {-c d} x - c}{d x^{2} + c}\right ) - 2 \, {\left (b c^{3} d - 5 \, a c^{2} d^{2}\right )} x}{16 \, {\left (c^{3} d^{4} x^{4} + 2 \, c^{4} d^{3} x^{2} + c^{5} d^{2}\right )}}, \frac {{\left (b c^{2} d^{2} + 3 \, a c d^{3}\right )} x^{3} + {\left ({\left (b c d^{2} + 3 \, a d^{3}\right )} x^{4} + b c^{3} + 3 \, a c^{2} d + 2 \, {\left (b c^{2} d + 3 \, a c d^{2}\right )} x^{2}\right )} \sqrt {c d} \arctan \left (\frac {\sqrt {c d} x}{c}\right ) - {\left (b c^{3} d - 5 \, a c^{2} d^{2}\right )} x}{8 \, {\left (c^{3} d^{4} x^{4} + 2 \, c^{4} d^{3} x^{2} + c^{5} d^{2}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.28, size = 150, normalized size = 1.63 \begin {gather*} - \frac {\sqrt {- \frac {1}{c^{5} d^{3}}} \cdot \left (3 a d + b c\right ) \log {\left (- c^{3} d \sqrt {- \frac {1}{c^{5} d^{3}}} + x \right )}}{16} + \frac {\sqrt {- \frac {1}{c^{5} d^{3}}} \cdot \left (3 a d + b c\right ) \log {\left (c^{3} d \sqrt {- \frac {1}{c^{5} d^{3}}} + x \right )}}{16} + \frac {x^{3} \cdot \left (3 a d^{2} + b c d\right ) + x \left (5 a c d - b c^{2}\right )}{8 c^{4} d + 16 c^{3} d^{2} x^{2} + 8 c^{2} d^{3} x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.97, size = 78, normalized size = 0.85 \begin {gather*} \frac {{\left (b c + 3 \, a d\right )} \arctan \left (\frac {d x}{\sqrt {c d}}\right )}{8 \, \sqrt {c d} c^{2} d} + \frac {b c d x^{3} + 3 \, a d^{2} x^{3} - b c^{2} x + 5 \, a c d x}{8 \, {\left (d x^{2} + c\right )}^{2} c^{2} d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.06, size = 82, normalized size = 0.89 \begin {gather*} \frac {\frac {x^3\,\left (3\,a\,d+b\,c\right )}{8\,c^2}+\frac {x\,\left (5\,a\,d-b\,c\right )}{8\,c\,d}}{c^2+2\,c\,d\,x^2+d^2\,x^4}+\frac {\mathrm {atan}\left (\frac {\sqrt {d}\,x}{\sqrt {c}}\right )\,\left (3\,a\,d+b\,c\right )}{8\,c^{5/2}\,d^{3/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________