Optimal. Leaf size=29 \[ \frac {1}{5} \left (4-e^5+\frac {4}{x^2}\right ) \left (3 (7-x)^2-x\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 41, normalized size of antiderivative = 1.41, number of steps used = 3, number of rules used = 2, integrand size = 37, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.054, Rules used = {12, 14} \begin {gather*} \frac {3}{5} \left (4-e^5\right ) x^2+\frac {588}{5 x^2}-\frac {43}{5} \left (4-e^5\right ) x-\frac {172}{5 x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{5} \int \frac {-1176+172 x-172 x^3+24 x^4+e^5 \left (43 x^3-6 x^4\right )}{x^3} \, dx\\ &=\frac {1}{5} \int \left (43 \left (-4+e^5\right )-\frac {1176}{x^3}+\frac {172}{x^2}-6 \left (-4+e^5\right ) x\right ) \, dx\\ &=\frac {588}{5 x^2}-\frac {172}{5 x}-\frac {43}{5} \left (4-e^5\right ) x+\frac {3}{5} \left (4-e^5\right ) x^2\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 33, normalized size = 1.14 \begin {gather*} \frac {1}{5} \left (\frac {588}{x^2}-\frac {172}{x}+43 \left (-4+e^5\right ) x-3 \left (-4+e^5\right ) x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.33, size = 35, normalized size = 1.21 \begin {gather*} \frac {12 \, x^{4} - 172 \, x^{3} - {\left (3 \, x^{4} - 43 \, x^{3}\right )} e^{5} - 172 \, x + 588}{5 \, x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.19, size = 31, normalized size = 1.07 \begin {gather*} -\frac {3}{5} \, x^{2} e^{5} + \frac {12}{5} \, x^{2} + \frac {43}{5} \, x e^{5} - \frac {172}{5} \, x - \frac {4 \, {\left (43 \, x - 147\right )}}{5 \, x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 30, normalized size = 1.03
method | result | size |
norman | \(\frac {\frac {588}{5}+\left (-\frac {3 \,{\mathrm e}^{5}}{5}+\frac {12}{5}\right ) x^{4}+\left (\frac {43 \,{\mathrm e}^{5}}{5}-\frac {172}{5}\right ) x^{3}-\frac {172 x}{5}}{x^{2}}\) | \(30\) |
default | \(-\frac {3 x^{2} {\mathrm e}^{5}}{5}+\frac {43 x \,{\mathrm e}^{5}}{5}+\frac {12 x^{2}}{5}-\frac {172 x}{5}-\frac {172}{5 x}+\frac {588}{5 x^{2}}\) | \(32\) |
risch | \(-\frac {3 x^{2} {\mathrm e}^{5}}{5}+\frac {43 x \,{\mathrm e}^{5}}{5}+\frac {12 x^{2}}{5}-\frac {172 x}{5}+\frac {-172 x +588}{5 x^{2}}\) | \(32\) |
gosper | \(-\frac {3 x^{4} {\mathrm e}^{5}-43 x^{3} {\mathrm e}^{5}-12 x^{4}+172 x^{3}+172 x -588}{5 x^{2}}\) | \(35\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 27, normalized size = 0.93 \begin {gather*} -\frac {3}{5} \, x^{2} {\left (e^{5} - 4\right )} + \frac {43}{5} \, x {\left (e^{5} - 4\right )} - \frac {4 \, {\left (43 \, x - 147\right )}}{5 \, x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.06, size = 30, normalized size = 1.03 \begin {gather*} x\,\left (\frac {43\,{\mathrm {e}}^5}{5}-\frac {172}{5}\right )-\frac {\frac {172\,x}{5}-\frac {588}{5}}{x^2}-x^2\,\left (\frac {3\,{\mathrm {e}}^5}{5}-\frac {12}{5}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 31, normalized size = 1.07 \begin {gather*} \frac {x^{2} \left (12 - 3 e^{5}\right )}{5} + \frac {x \left (-172 + 43 e^{5}\right )}{5} + \frac {588 - 172 x}{5 x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________