\(\int \frac {25+e^{\frac {1}{5} (-7+5 x-2 x^3)} (-25+25 x-30 x^3)}{6-12 e^{\frac {1}{5} (-7+5 x-2 x^3)}+6 e^{\frac {2}{5} (-7+5 x-2 x^3)}} \, dx\) [7424]

   Optimal result
   Rubi [F]
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [F(-2)]
   Giac [A] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 70, antiderivative size = 26 \[ \int \frac {25+e^{\frac {1}{5} \left (-7+5 x-2 x^3\right )} \left (-25+25 x-30 x^3\right )}{6-12 e^{\frac {1}{5} \left (-7+5 x-2 x^3\right )}+6 e^{\frac {2}{5} \left (-7+5 x-2 x^3\right )}} \, dx=\frac {25 x}{6 \left (1-e^{x+\frac {1}{5} \left (-7-2 x^3\right )}\right )} \]

[Out]

25/6*x/(1-exp(-2/5*x^3+x-7/5))

Rubi [F]

\[ \int \frac {25+e^{\frac {1}{5} \left (-7+5 x-2 x^3\right )} \left (-25+25 x-30 x^3\right )}{6-12 e^{\frac {1}{5} \left (-7+5 x-2 x^3\right )}+6 e^{\frac {2}{5} \left (-7+5 x-2 x^3\right )}} \, dx=\int \frac {25+e^{\frac {1}{5} \left (-7+5 x-2 x^3\right )} \left (-25+25 x-30 x^3\right )}{6-12 e^{\frac {1}{5} \left (-7+5 x-2 x^3\right )}+6 e^{\frac {2}{5} \left (-7+5 x-2 x^3\right )}} \, dx \]

[In]

Int[(25 + E^((-7 + 5*x - 2*x^3)/5)*(-25 + 25*x - 30*x^3))/(6 - 12*E^((-7 + 5*x - 2*x^3)/5) + 6*E^((2*(-7 + 5*x
 - 2*x^3))/5)),x]

[Out]

(-25*E^(7/5 - x + (2*x^3)/5)*(5*x - 6*x^3))/(6*(5 - 6*x^2)) - (25*Defer[Int][E^(14/5 - x + (4*x^3)/5)/(E^x - E
^(7/5 + (2*x^3)/5)), x])/6 + (25*Defer[Int][(E^(14/5 + (4*x^3)/5)*x)/(E^x - E^(7/5 + (2*x^3)/5))^2, x])/6 + (2
5*Defer[Int][(E^(14/5 - x + (4*x^3)/5)*x)/(E^x - E^(7/5 + (2*x^3)/5)), x])/6 - 5*Defer[Int][(E^(14/5 + (4*x^3)
/5)*x^3)/(E^x - E^(7/5 + (2*x^3)/5))^2, x] - 5*Defer[Int][(E^(14/5 - x + (4*x^3)/5)*x^3)/(E^x - E^(7/5 + (2*x^
3)/5)), x]

Rubi steps \begin{align*} \text {integral}& = \int \frac {e^{\frac {14}{5}+\frac {4 x^3}{5}} \left (25+e^{\frac {1}{5} \left (-7+5 x-2 x^3\right )} \left (-25+25 x-30 x^3\right )\right )}{6 \left (e^x-e^{\frac {7}{5}+\frac {2 x^3}{5}}\right )^2} \, dx \\ & = \frac {1}{6} \int \frac {e^{\frac {14}{5}+\frac {4 x^3}{5}} \left (25+e^{\frac {1}{5} \left (-7+5 x-2 x^3\right )} \left (-25+25 x-30 x^3\right )\right )}{\left (e^x-e^{\frac {7}{5}+\frac {2 x^3}{5}}\right )^2} \, dx \\ & = \frac {1}{6} \int \left (-\frac {5 e^{\frac {14}{5}+\frac {4 x^3}{5}} x \left (-5+6 x^2\right )}{\left (e^x-e^{\frac {7}{5}+\frac {2 x^3}{5}}\right )^2}-5 e^{\frac {7}{5}-x+\frac {2 x^3}{5}} \left (5-5 x+6 x^3\right )-\frac {5 e^{\frac {14}{5}-x+\frac {4 x^3}{5}} \left (5-5 x+6 x^3\right )}{e^x-e^{\frac {7}{5}+\frac {2 x^3}{5}}}\right ) \, dx \\ & = -\left (\frac {5}{6} \int \frac {e^{\frac {14}{5}+\frac {4 x^3}{5}} x \left (-5+6 x^2\right )}{\left (e^x-e^{\frac {7}{5}+\frac {2 x^3}{5}}\right )^2} \, dx\right )-\frac {5}{6} \int e^{\frac {7}{5}-x+\frac {2 x^3}{5}} \left (5-5 x+6 x^3\right ) \, dx-\frac {5}{6} \int \frac {e^{\frac {14}{5}-x+\frac {4 x^3}{5}} \left (5-5 x+6 x^3\right )}{e^x-e^{\frac {7}{5}+\frac {2 x^3}{5}}} \, dx \\ & = -\frac {25 e^{\frac {7}{5}-x+\frac {2 x^3}{5}} \left (5 x-6 x^3\right )}{6 \left (5-6 x^2\right )}-\frac {5}{6} \int \left (-\frac {5 e^{\frac {14}{5}+\frac {4 x^3}{5}} x}{\left (e^x-e^{\frac {7}{5}+\frac {2 x^3}{5}}\right )^2}+\frac {6 e^{\frac {14}{5}+\frac {4 x^3}{5}} x^3}{\left (e^x-e^{\frac {7}{5}+\frac {2 x^3}{5}}\right )^2}\right ) \, dx-\frac {5}{6} \int \left (\frac {5 e^{\frac {14}{5}-x+\frac {4 x^3}{5}}}{e^x-e^{\frac {7}{5}+\frac {2 x^3}{5}}}-\frac {5 e^{\frac {14}{5}-x+\frac {4 x^3}{5}} x}{e^x-e^{\frac {7}{5}+\frac {2 x^3}{5}}}+\frac {6 e^{\frac {14}{5}-x+\frac {4 x^3}{5}} x^3}{e^x-e^{\frac {7}{5}+\frac {2 x^3}{5}}}\right ) \, dx \\ & = -\frac {25 e^{\frac {7}{5}-x+\frac {2 x^3}{5}} \left (5 x-6 x^3\right )}{6 \left (5-6 x^2\right )}-\frac {25}{6} \int \frac {e^{\frac {14}{5}-x+\frac {4 x^3}{5}}}{e^x-e^{\frac {7}{5}+\frac {2 x^3}{5}}} \, dx+\frac {25}{6} \int \frac {e^{\frac {14}{5}+\frac {4 x^3}{5}} x}{\left (e^x-e^{\frac {7}{5}+\frac {2 x^3}{5}}\right )^2} \, dx+\frac {25}{6} \int \frac {e^{\frac {14}{5}-x+\frac {4 x^3}{5}} x}{e^x-e^{\frac {7}{5}+\frac {2 x^3}{5}}} \, dx-5 \int \frac {e^{\frac {14}{5}+\frac {4 x^3}{5}} x^3}{\left (e^x-e^{\frac {7}{5}+\frac {2 x^3}{5}}\right )^2} \, dx-5 \int \frac {e^{\frac {14}{5}-x+\frac {4 x^3}{5}} x^3}{e^x-e^{\frac {7}{5}+\frac {2 x^3}{5}}} \, dx \\ \end{align*}

Mathematica [A] (verified)

Time = 3.93 (sec) , antiderivative size = 39, normalized size of antiderivative = 1.50 \[ \int \frac {25+e^{\frac {1}{5} \left (-7+5 x-2 x^3\right )} \left (-25+25 x-30 x^3\right )}{6-12 e^{\frac {1}{5} \left (-7+5 x-2 x^3\right )}+6 e^{\frac {2}{5} \left (-7+5 x-2 x^3\right )}} \, dx=\frac {25 e^{\frac {7}{5}+\frac {2 x^3}{5}} x}{6 \left (-e^x+e^{\frac {7}{5}+\frac {2 x^3}{5}}\right )} \]

[In]

Integrate[(25 + E^((-7 + 5*x - 2*x^3)/5)*(-25 + 25*x - 30*x^3))/(6 - 12*E^((-7 + 5*x - 2*x^3)/5) + 6*E^((2*(-7
 + 5*x - 2*x^3))/5)),x]

[Out]

(25*E^(7/5 + (2*x^3)/5)*x)/(6*(-E^x + E^(7/5 + (2*x^3)/5)))

Maple [A] (verified)

Time = 0.12 (sec) , antiderivative size = 17, normalized size of antiderivative = 0.65

method result size
norman \(-\frac {25 x}{6 \left ({\mathrm e}^{-\frac {2}{5} x^{3}+x -\frac {7}{5}}-1\right )}\) \(17\)
risch \(-\frac {25 x}{6 \left ({\mathrm e}^{-\frac {2}{5} x^{3}+x -\frac {7}{5}}-1\right )}\) \(17\)
parallelrisch \(-\frac {25 x}{6 \left ({\mathrm e}^{-\frac {2}{5} x^{3}+x -\frac {7}{5}}-1\right )}\) \(17\)

[In]

int(((-30*x^3+25*x-25)*exp(-2/5*x^3+x-7/5)+25)/(6*exp(-2/5*x^3+x-7/5)^2-12*exp(-2/5*x^3+x-7/5)+6),x,method=_RE
TURNVERBOSE)

[Out]

-25/6*x/(exp(-2/5*x^3+x-7/5)-1)

Fricas [A] (verification not implemented)

none

Time = 0.24 (sec) , antiderivative size = 16, normalized size of antiderivative = 0.62 \[ \int \frac {25+e^{\frac {1}{5} \left (-7+5 x-2 x^3\right )} \left (-25+25 x-30 x^3\right )}{6-12 e^{\frac {1}{5} \left (-7+5 x-2 x^3\right )}+6 e^{\frac {2}{5} \left (-7+5 x-2 x^3\right )}} \, dx=-\frac {25 \, x}{6 \, {\left (e^{\left (-\frac {2}{5} \, x^{3} + x - \frac {7}{5}\right )} - 1\right )}} \]

[In]

integrate(((-30*x^3+25*x-25)*exp(-2/5*x^3+x-7/5)+25)/(6*exp(-2/5*x^3+x-7/5)^2-12*exp(-2/5*x^3+x-7/5)+6),x, alg
orithm="fricas")

[Out]

-25/6*x/(e^(-2/5*x^3 + x - 7/5) - 1)

Sympy [A] (verification not implemented)

Time = 0.07 (sec) , antiderivative size = 20, normalized size of antiderivative = 0.77 \[ \int \frac {25+e^{\frac {1}{5} \left (-7+5 x-2 x^3\right )} \left (-25+25 x-30 x^3\right )}{6-12 e^{\frac {1}{5} \left (-7+5 x-2 x^3\right )}+6 e^{\frac {2}{5} \left (-7+5 x-2 x^3\right )}} \, dx=- \frac {25 x}{6 e^{- \frac {2 x^{3}}{5} + x - \frac {7}{5}} - 6} \]

[In]

integrate(((-30*x**3+25*x-25)*exp(-2/5*x**3+x-7/5)+25)/(6*exp(-2/5*x**3+x-7/5)**2-12*exp(-2/5*x**3+x-7/5)+6),x
)

[Out]

-25*x/(6*exp(-2*x**3/5 + x - 7/5) - 6)

Maxima [F(-2)]

Exception generated. \[ \int \frac {25+e^{\frac {1}{5} \left (-7+5 x-2 x^3\right )} \left (-25+25 x-30 x^3\right )}{6-12 e^{\frac {1}{5} \left (-7+5 x-2 x^3\right )}+6 e^{\frac {2}{5} \left (-7+5 x-2 x^3\right )}} \, dx=\text {Exception raised: RuntimeError} \]

[In]

integrate(((-30*x^3+25*x-25)*exp(-2/5*x^3+x-7/5)+25)/(6*exp(-2/5*x^3+x-7/5)^2-12*exp(-2/5*x^3+x-7/5)+6),x, alg
orithm="maxima")

[Out]

Exception raised: RuntimeError >> ECL says: THROW: The catch RAT-ERR is undefined.

Giac [A] (verification not implemented)

none

Time = 0.29 (sec) , antiderivative size = 16, normalized size of antiderivative = 0.62 \[ \int \frac {25+e^{\frac {1}{5} \left (-7+5 x-2 x^3\right )} \left (-25+25 x-30 x^3\right )}{6-12 e^{\frac {1}{5} \left (-7+5 x-2 x^3\right )}+6 e^{\frac {2}{5} \left (-7+5 x-2 x^3\right )}} \, dx=-\frac {25 \, x}{6 \, {\left (e^{\left (-\frac {2}{5} \, x^{3} + x - \frac {7}{5}\right )} - 1\right )}} \]

[In]

integrate(((-30*x^3+25*x-25)*exp(-2/5*x^3+x-7/5)+25)/(6*exp(-2/5*x^3+x-7/5)^2-12*exp(-2/5*x^3+x-7/5)+6),x, alg
orithm="giac")

[Out]

-25/6*x/(e^(-2/5*x^3 + x - 7/5) - 1)

Mupad [B] (verification not implemented)

Time = 11.65 (sec) , antiderivative size = 18, normalized size of antiderivative = 0.69 \[ \int \frac {25+e^{\frac {1}{5} \left (-7+5 x-2 x^3\right )} \left (-25+25 x-30 x^3\right )}{6-12 e^{\frac {1}{5} \left (-7+5 x-2 x^3\right )}+6 e^{\frac {2}{5} \left (-7+5 x-2 x^3\right )}} \, dx=-\frac {25\,x}{6\,\left ({\mathrm {e}}^{-\frac {2\,x^3}{5}+x-\frac {7}{5}}-1\right )} \]

[In]

int(-(exp(x - (2*x^3)/5 - 7/5)*(30*x^3 - 25*x + 25) - 25)/(6*exp(2*x - (4*x^3)/5 - 14/5) - 12*exp(x - (2*x^3)/
5 - 7/5) + 6),x)

[Out]

-(25*x)/(6*(exp(x - (2*x^3)/5 - 7/5) - 1))