Optimal. Leaf size=22 \[ \log \left (e^{\frac {16 (7+x) \left (x+x^2\right )}{x^2}} \left (1+x^2\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 15, normalized size of antiderivative = 0.68, number of steps used = 4, number of rules used = 3, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {1593, 1802, 260} \begin {gather*} \log \left (x^2+1\right )+16 x+\frac {112}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 260
Rule 1593
Rule 1802
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-112-96 x^2+2 x^3+16 x^4}{x^2 \left (1+x^2\right )} \, dx\\ &=\int \left (16-\frac {112}{x^2}+\frac {2 x}{1+x^2}\right ) \, dx\\ &=\frac {112}{x}+16 x+2 \int \frac {x}{1+x^2} \, dx\\ &=\frac {112}{x}+16 x+\log \left (1+x^2\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 21, normalized size = 0.95 \begin {gather*} 2 \left (\frac {56}{x}+8 x+\frac {1}{2} \log \left (1+x^2\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.02, size = 19, normalized size = 0.86 \begin {gather*} \frac {16 \, x^{2} + x \log \left (x^{2} + 1\right ) + 112}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 15, normalized size = 0.68 \begin {gather*} 16 \, x + \frac {112}{x} + \log \left (x^{2} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.08, size = 16, normalized size = 0.73
method | result | size |
default | \(16 x +\ln \left (x^{2}+1\right )+\frac {112}{x}\) | \(16\) |
meijerg | \(16 x +\ln \left (x^{2}+1\right )+\frac {112}{x}\) | \(16\) |
risch | \(16 x +\ln \left (x^{2}+1\right )+\frac {112}{x}\) | \(16\) |
norman | \(\frac {16 x^{2}+112}{x}+\ln \left (x^{2}+1\right )\) | \(19\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.44, size = 15, normalized size = 0.68 \begin {gather*} 16 \, x + \frac {112}{x} + \log \left (x^{2} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 15, normalized size = 0.68 \begin {gather*} 16\,x+\ln \left (x^2+1\right )+\frac {112}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.12, size = 12, normalized size = 0.55 \begin {gather*} 16 x + \log {\left (x^{2} + 1 \right )} + \frac {112}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________