Optimal. Leaf size=25 \[ 2 x+\frac {400+x}{4-x-x^2}-x \log (3) \]
________________________________________________________________________________________
Rubi [A] time = 0.10, antiderivative size = 27, normalized size of antiderivative = 1.08, number of steps used = 4, number of rules used = 4, integrand size = 64, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {1680, 1814, 21, 8} \begin {gather*} \frac {4 (x+400)}{17-4 \left (x+\frac {1}{2}\right )^2}+x (2-\log (3)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 21
Rule 1680
Rule 1814
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\operatorname {Subst}\left (\int \frac {12784 x-8 x^2 (32-17 \log (3))+17 (38-17 \log (3))+16 x^4 (2-\log (3))}{\left (17-4 x^2\right )^2} \, dx,x,\frac {1}{2}+x\right )\\ &=\frac {4 (400+x)}{17-4 \left (\frac {1}{2}+x\right )^2}-\frac {1}{34} \operatorname {Subst}\left (\int \frac {-578 (2-\log (3))+136 x^2 (2-\log (3))}{17-4 x^2} \, dx,x,\frac {1}{2}+x\right )\\ &=\frac {4 (400+x)}{17-4 \left (\frac {1}{2}+x\right )^2}-(-2+\log (3)) \operatorname {Subst}\left (\int 1 \, dx,x,\frac {1}{2}+x\right )\\ &=\frac {4 (400+x)}{17-4 \left (\frac {1}{2}+x\right )^2}+x (2-\log (3))\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 23, normalized size = 0.92 \begin {gather*} \frac {-400-x}{-4+x+x^2}+x (2-\log (3)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.66, size = 38, normalized size = 1.52 \begin {gather*} \frac {2 \, x^{3} + 2 \, x^{2} - {\left (x^{3} + x^{2} - 4 \, x\right )} \log \relax (3) - 9 \, x - 400}{x^{2} + x - 4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.20, size = 22, normalized size = 0.88 \begin {gather*} -x \log \relax (3) + 2 \, x - \frac {x + 400}{x^{2} + x - 4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 24, normalized size = 0.96
method | result | size |
default | \(\frac {-x -400}{x^{2}+x -4}+2 x -x \ln \relax (3)\) | \(24\) |
risch | \(\frac {-x -400}{x^{2}+x -4}+2 x -x \ln \relax (3)\) | \(24\) |
norman | \(\frac {\left (2-\ln \relax (3)\right ) x^{3}+\left (5 \ln \relax (3)-11\right ) x -392-4 \ln \relax (3)}{x^{2}+x -4}\) | \(34\) |
gosper | \(-\frac {x^{3} \ln \relax (3)-2 x^{3}-5 x \ln \relax (3)+4 \ln \relax (3)+11 x +392}{x^{2}+x -4}\) | \(36\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.34, size = 21, normalized size = 0.84 \begin {gather*} -x {\left (\log \relax (3) - 2\right )} - \frac {x + 400}{x^{2} + x - 4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.52, size = 21, normalized size = 0.84 \begin {gather*} -\frac {x+400}{x^2+x-4}-x\,\left (\ln \relax (3)-2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.16, size = 17, normalized size = 0.68 \begin {gather*} x \left (2 - \log {\relax (3 )}\right ) + \frac {- x - 400}{x^{2} + x - 4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________