Optimal. Leaf size=23 \[ \frac {\log \left (d+c \sqrt {a+b x^2}\right )}{b c} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.074, Rules used = {2186, 31}
\begin {gather*} \frac {\log \left (c \sqrt {a+b x^2}+d\right )}{b c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 2186
Rubi steps
\begin {align*} \int \frac {x}{a c+b c x^2+d \sqrt {a+b x^2}} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {1}{a c+b c x+d \sqrt {a+b x}} \, dx,x,x^2\right )\\ &=\frac {\text {Subst}\left (\int \frac {1}{d+c x} \, dx,x,\sqrt {a+b x^2}\right )}{b}\\ &=\frac {\log \left (d+c \sqrt {a+b x^2}\right )}{b c}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 26, normalized size = 1.13 \begin {gather*} \frac {\log \left (b d+b c \sqrt {a+b x^2}\right )}{b c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(1930\) vs.
\(2(21)=42\).
time = 0.03, size = 1931, normalized size = 83.96
method | result | size |
default | \(\text {Expression too large to display}\) | \(1931\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 21, normalized size = 0.91 \begin {gather*} \frac {\log \left (\sqrt {b x^{2} + a} c + d\right )}{b c} \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. 105 vs.
\(2 (21) = 42\).
time = 0.37, size = 105, normalized size = 4.57 \begin {gather*} \frac {2 \, \log \left (b c^{2} x^{2} + a c^{2} - d^{2}\right ) + \log \left (-\frac {b c^{2} x^{2} + a c^{2} + 2 \, \sqrt {b x^{2} + a} c d + d^{2}}{x^{2}}\right ) - \log \left (-\frac {b c^{2} x^{2} + a c^{2} - 2 \, \sqrt {b x^{2} + a} c d + d^{2}}{x^{2}}\right )}{4 \, b c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 1.94, size = 29, normalized size = 1.26 \begin {gather*} \frac {\begin {cases} \frac {\sqrt {a + b x^{2}}}{d} & \text {for}\: c = 0 \\\frac {\log {\left (c \sqrt {a + b x^{2}} + d \right )}}{c} & \text {otherwise} \end {cases}}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.33, size = 22, normalized size = 0.96 \begin {gather*} \frac {\log \left ({\left | \sqrt {b x^{2} + a} c + d \right |}\right )}{b c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.47, size = 45, normalized size = 1.96 \begin {gather*} \frac {\mathrm {atanh}\left (\frac {c\,\sqrt {b\,x^2+a}}{d}\right )+\frac {\ln \left (b\,c^2\,x^2+a\,c^2-d^2\right )}{2}}{b\,c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________