Optimal. Leaf size=54 \[ \frac {(b c-a d) x}{a b \sqrt {a+b x^2}}+\frac {d \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{b^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {393, 223, 212}
\begin {gather*} \frac {d \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{b^{3/2}}+\frac {x (b c-a d)}{a b \sqrt {a+b x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 223
Rule 393
Rubi steps
\begin {align*} \int \frac {c+d x^2}{\left (a+b x^2\right )^{3/2}} \, dx &=\frac {(b c-a d) x}{a b \sqrt {a+b x^2}}+\frac {d \int \frac {1}{\sqrt {a+b x^2}} \, dx}{b}\\ &=\frac {(b c-a d) x}{a b \sqrt {a+b x^2}}+\frac {d \text {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {x}{\sqrt {a+b x^2}}\right )}{b}\\ &=\frac {(b c-a d) x}{a b \sqrt {a+b x^2}}+\frac {d \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{b^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 58, normalized size = 1.07 \begin {gather*} \frac {b c x-a d x}{a b \sqrt {a+b x^2}}-\frac {d \log \left (-\sqrt {b} x+\sqrt {a+b x^2}\right )}{b^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 55, normalized size = 1.02
method | result | size |
default | \(d \left (-\frac {x}{b \sqrt {b \,x^{2}+a}}+\frac {\ln \left (x \sqrt {b}+\sqrt {b \,x^{2}+a}\right )}{b^{\frac {3}{2}}}\right )+\frac {c x}{a \sqrt {b \,x^{2}+a}}\) | \(55\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.33, size = 46, normalized size = 0.85 \begin {gather*} \frac {c x}{\sqrt {b x^{2} + a} a} - \frac {d x}{\sqrt {b x^{2} + a} b} + \frac {d \operatorname {arsinh}\left (\frac {b x}{\sqrt {a b}}\right )}{b^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.51, size = 167, normalized size = 3.09 \begin {gather*} \left [\frac {2 \, {\left (b^{2} c - a b d\right )} \sqrt {b x^{2} + a} x + {\left (a b d x^{2} + a^{2} d\right )} \sqrt {b} \log \left (-2 \, b x^{2} - 2 \, \sqrt {b x^{2} + a} \sqrt {b} x - a\right )}{2 \, {\left (a b^{3} x^{2} + a^{2} b^{2}\right )}}, \frac {{\left (b^{2} c - a b d\right )} \sqrt {b x^{2} + a} x - {\left (a b d x^{2} + a^{2} d\right )} \sqrt {-b} \arctan \left (\frac {\sqrt {-b} x}{\sqrt {b x^{2} + a}}\right )}{a b^{3} x^{2} + a^{2} b^{2}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 2.36, size = 60, normalized size = 1.11 \begin {gather*} d \left (\frac {\operatorname {asinh}{\left (\frac {\sqrt {b} x}{\sqrt {a}} \right )}}{b^{\frac {3}{2}}} - \frac {x}{\sqrt {a} b \sqrt {1 + \frac {b x^{2}}{a}}}\right ) + \frac {c x}{a^{\frac {3}{2}} \sqrt {1 + \frac {b x^{2}}{a}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.83, size = 50, normalized size = 0.93 \begin {gather*} -\frac {d \log \left ({\left | -\sqrt {b} x + \sqrt {b x^{2} + a} \right |}\right )}{b^{\frac {3}{2}}} + \frac {{\left (b c - a d\right )} x}{\sqrt {b x^{2} + a} a b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.12, size = 53, normalized size = 0.98 \begin {gather*} \frac {d\,\ln \left (\sqrt {b}\,x+\sqrt {b\,x^2+a}\right )}{b^{3/2}}+\frac {c\,x}{a\,\sqrt {b\,x^2+a}}-\frac {d\,x}{b\,\sqrt {b\,x^2+a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________