Optimal. Leaf size=15 \[ \frac{1}{2} \log \left (x^2+3\right )+3 \tan ^{-1}(x) \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.190183, antiderivative size = 15, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.115 \[ \frac{1}{2} \log \left (x^2+3\right )+3 \tan ^{-1}(x) \]
Antiderivative was successfully verified.
[In] Int[(9 + x + 3*x^2 + x^3)/((1 + x^2)*(3 + x^2)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 32.7411, size = 12, normalized size = 0.8 \[ \frac{\log{\left (x^{2} + 3 \right )}}{2} + 3 \operatorname{atan}{\left (x \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((x**3+3*x**2+x+9)/(x**2+1)/(x**2+3),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0122429, size = 15, normalized size = 1. \[ \frac{1}{2} \log \left (x^2+3\right )+3 \tan ^{-1}(x) \]
Antiderivative was successfully verified.
[In] Integrate[(9 + x + 3*x^2 + x^3)/((1 + x^2)*(3 + x^2)),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.006, size = 14, normalized size = 0.9 \[ 3\,\arctan \left ( x \right ) +{\frac{\ln \left ({x}^{2}+3 \right ) }{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((x^3+3*x^2+x+9)/(x^2+1)/(x^2+3),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.901664, size = 18, normalized size = 1.2 \[ 3 \, \arctan \left (x\right ) + \frac{1}{2} \, \log \left (x^{2} + 3\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((x^3 + 3*x^2 + x + 9)/((x^2 + 3)*(x^2 + 1)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.262736, size = 18, normalized size = 1.2 \[ 3 \, \arctan \left (x\right ) + \frac{1}{2} \, \log \left (x^{2} + 3\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((x^3 + 3*x^2 + x + 9)/((x^2 + 3)*(x^2 + 1)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.263852, size = 12, normalized size = 0.8 \[ \frac{\log{\left (x^{2} + 3 \right )}}{2} + 3 \operatorname{atan}{\left (x \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((x**3+3*x**2+x+9)/(x**2+1)/(x**2+3),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.263762, size = 18, normalized size = 1.2 \[ 3 \, \arctan \left (x\right ) + \frac{1}{2} \,{\rm ln}\left (x^{2} + 3\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((x^3 + 3*x^2 + x + 9)/((x^2 + 3)*(x^2 + 1)),x, algorithm="giac")
[Out]