Optimal. Leaf size=23 \[ \frac {1}{2} \left (a+x^2\right ) \log \left (a+x^2\right )-\frac {x^2}{2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {2454, 2389, 2295} \[ \frac {1}{2} \left (a+x^2\right ) \log \left (a+x^2\right )-\frac {x^2}{2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2295
Rule 2389
Rule 2454
Rubi steps
\begin {align*} \int x \log \left (a+x^2\right ) \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \log (a+x) \, dx,x,x^2\right )\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \log (x) \, dx,x,a+x^2\right )\\ &=-\frac {x^2}{2}+\frac {1}{2} \left (a+x^2\right ) \log \left (a+x^2\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 22, normalized size = 0.96 \[ \frac {1}{2} \left (\left (a+x^2\right ) \log \left (a+x^2\right )-x^2\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.41, size = 19, normalized size = 0.83 \[ -\frac {1}{2} \, x^{2} + \frac {1}{2} \, {\left (x^{2} + a\right )} \log \left (x^{2} + a\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.36, size = 22, normalized size = 0.96 \[ -\frac {1}{2} \, x^{2} + \frac {1}{2} \, {\left (x^{2} + a\right )} \log \left (x^{2} + a\right ) - \frac {1}{2} \, a \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 23, normalized size = 1.00 \[ -\frac {x^{2}}{2}-\frac {a}{2}+\frac {\left (x^{2}+a \right ) \ln \left (x^{2}+a \right )}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.42, size = 22, normalized size = 0.96 \[ -\frac {1}{2} \, x^{2} + \frac {1}{2} \, {\left (x^{2} + a\right )} \log \left (x^{2} + a\right ) - \frac {1}{2} \, a \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.14, size = 41, normalized size = 1.78 \[ \frac {a\,\ln \left (x+\sqrt {-a}\right )}{2}+\frac {x^2\,\ln \left (x^2+a\right )}{2}+\frac {a\,\ln \left (x-\sqrt {-a}\right )}{2}-\frac {x^2}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.15, size = 26, normalized size = 1.13 \[ \frac {a \log {\left (a + x^{2} \right )}}{2} + \frac {x^{2} \log {\left (a + x^{2} \right )}}{2} - \frac {x^{2}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________