Optimal. Leaf size=16 \[ \frac {1}{2} a \log \left (x^2+1\right )+b \tan ^{-1}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 16, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {635, 203, 260} \[ \frac {1}{2} a \log \left (x^2+1\right )+b \tan ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 260
Rule 635
Rubi steps
\begin {align*} \int \frac {b+a x}{1+x^2} \, dx &=a \int \frac {x}{1+x^2} \, dx+b \int \frac {1}{1+x^2} \, dx\\ &=b \tan ^{-1}(x)+\frac {1}{2} a \log \left (1+x^2\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 16, normalized size = 1.00 \[ \frac {1}{2} a \log \left (x^2+1\right )+b \tan ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.40, size = 14, normalized size = 0.88 \[ b \arctan \relax (x) + \frac {1}{2} \, a \log \left (x^{2} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.19, size = 14, normalized size = 0.88 \[ b \arctan \relax (x) + \frac {1}{2} \, a \log \left (x^{2} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 15, normalized size = 0.94 \[ \frac {a \ln \left (x^{2}+1\right )}{2}+b \arctan \relax (x ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.97, size = 14, normalized size = 0.88 \[ b \arctan \relax (x) + \frac {1}{2} \, a \log \left (x^{2} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 14, normalized size = 0.88 \[ \frac {a\,\ln \left (x^2+1\right )}{2}+b\,\mathrm {atan}\relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 0.16, size = 26, normalized size = 1.62 \[ \left (\frac {a}{2} - \frac {i b}{2}\right ) \log {\left (x - i \right )} + \left (\frac {a}{2} + \frac {i b}{2}\right ) \log {\left (x + i \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________