\(\int \frac {-306000+e^{2 x/25} (3600-288 x)}{180625-4250 e^{2 x/25}+25 e^{4 x/25}} \, dx\) [1775]

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

Optimal result

Integrand size = 38, antiderivative size = 20 \[ \int \frac {-306000+e^{2 x/25} (3600-288 x)}{180625-4250 e^{2 x/25}+25 e^{4 x/25}} \, dx=\frac {9 x}{-5+\frac {1}{16} \left (-5+e^{2 x/25}\right )} \]

[Out]

x/(1/144*exp(1/25*x)^2-85/144)

Rubi [B] (verified)

Leaf count is larger than twice the leaf count of optimal. \(98\) vs. \(2(20)=40\).

Time = 0.24 (sec) , antiderivative size = 98, normalized size of antiderivative = 4.90, number of steps used = 18, number of rules used = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.342, Rules used = {6873, 12, 6874, 2216, 2215, 2221, 2317, 2438, 2222, 2320, 36, 31, 29} \[ \int \frac {-306000+e^{2 x/25} (3600-288 x)}{180625-4250 e^{2 x/25}+25 e^{4 x/25}} \, dx=-\frac {144 x^2}{2125}+\frac {36 (25-2 x)^2}{2125}-\frac {144 x}{85-e^{2 x/25}}+\frac {144 x}{85}+\frac {72}{85} (25-2 x) \log \left (1-\frac {1}{85} e^{2 x/25}\right )-\frac {360}{17} \log \left (85-e^{2 x/25}\right )+\frac {144}{85} x \log \left (1-\frac {1}{85} e^{2 x/25}\right ) \]

[In]

Int[(-306000 + E^((2*x)/25)*(3600 - 288*x))/(180625 - 4250*E^((2*x)/25) + 25*E^((4*x)/25)),x]

[Out]

(36*(25 - 2*x)^2)/2125 + (144*x)/85 - (144*x)/(85 - E^((2*x)/25)) - (144*x^2)/2125 - (360*Log[85 - E^((2*x)/25
)])/17 + (72*(25 - 2*x)*Log[1 - E^((2*x)/25)/85])/85 + (144*x*Log[1 - E^((2*x)/25)/85])/85

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 29

Int[(x_)^(-1), x_Symbol] :> Simp[Log[x], x]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 36

Int[1/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :> Dist[b/(b*c - a*d), Int[1/(a + b*x), x], x] -
Dist[d/(b*c - a*d), Int[1/(c + d*x), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]

Rule 2215

Int[((c_.) + (d_.)*(x_))^(m_.)/((a_) + (b_.)*((F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.)), x_Symbol] :> Simp[(c
+ d*x)^(m + 1)/(a*d*(m + 1)), x] - Dist[b/a, Int[(c + d*x)^m*((F^(g*(e + f*x)))^n/(a + b*(F^(g*(e + f*x)))^n))
, x], x] /; FreeQ[{F, a, b, c, d, e, f, g, n}, x] && IGtQ[m, 0]

Rule 2216

Int[((a_) + (b_.)*((F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.))^(p_)*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Dis
t[1/a, Int[(c + d*x)^m*(a + b*(F^(g*(e + f*x)))^n)^(p + 1), x], x] - Dist[b/a, Int[(c + d*x)^m*(F^(g*(e + f*x)
))^n*(a + b*(F^(g*(e + f*x)))^n)^p, x], x] /; FreeQ[{F, a, b, c, d, e, f, g, n}, x] && ILtQ[p, 0] && IGtQ[m, 0
]

Rule 2221

Int[(((F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.)*((c_.) + (d_.)*(x_))^(m_.))/((a_) + (b_.)*((F_)^((g_.)*((e_.) +
 (f_.)*(x_))))^(n_.)), x_Symbol] :> Simp[((c + d*x)^m/(b*f*g*n*Log[F]))*Log[1 + b*((F^(g*(e + f*x)))^n/a)], x]
 - Dist[d*(m/(b*f*g*n*Log[F])), Int[(c + d*x)^(m - 1)*Log[1 + b*((F^(g*(e + f*x)))^n/a)], x], x] /; FreeQ[{F,
a, b, c, d, e, f, g, n}, x] && IGtQ[m, 0]

Rule 2222

Int[((F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.)*((a_.) + (b_.)*((F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.))^(p_.)*
((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[(c + d*x)^m*((a + b*(F^(g*(e + f*x)))^n)^(p + 1)/(b*f*g*n*(p + 1
)*Log[F])), x] - Dist[d*(m/(b*f*g*n*(p + 1)*Log[F])), Int[(c + d*x)^(m - 1)*(a + b*(F^(g*(e + f*x)))^n)^(p + 1
), x], x] /; FreeQ[{F, a, b, c, d, e, f, g, m, n, p}, x] && NeQ[p, -1]

Rule 2317

Int[Log[(a_) + (b_.)*((F_)^((e_.)*((c_.) + (d_.)*(x_))))^(n_.)], x_Symbol] :> Dist[1/(d*e*n*Log[F]), Subst[Int
[Log[a + b*x]/x, x], x, (F^(e*(c + d*x)))^n], x] /; FreeQ[{F, a, b, c, d, e, n}, x] && GtQ[a, 0]

Rule 2320

Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Dist[v/D[v, x], Subst[Int[FunctionOfExponentialFu
nction[u, x]/x, x], x, v], x]] /; FunctionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; F
reeQ[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x))*(F_)[v_] /; FreeQ[{a, b, c}, x
] && InverseFunctionQ[F[x]]]

Rule 2438

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> Simp[-PolyLog[2, (-c)*e*x^n]/n, x] /; FreeQ[{c, d,
 e, n}, x] && EqQ[c*d, 1]

Rule 6873

Int[u_, x_Symbol] :> With[{v = NormalizeIntegrand[u, x]}, Int[v, x] /; v =!= u]

Rule 6874

Int[u_, x_Symbol] :> With[{v = ExpandIntegrand[u, x]}, Int[v, x] /; SumQ[v]]

Rubi steps \begin{align*} \text {integral}& = \int \frac {-306000+e^{2 x/25} (3600-288 x)}{25 \left (85-e^{2 x/25}\right )^2} \, dx \\ & = \frac {1}{25} \int \frac {-306000+e^{2 x/25} (3600-288 x)}{\left (85-e^{2 x/25}\right )^2} \, dx \\ & = \frac {1}{25} \int \left (-\frac {24480 x}{\left (-85+e^{2 x/25}\right )^2}-\frac {144 (-25+2 x)}{-85+e^{2 x/25}}\right ) \, dx \\ & = -\left (\frac {144}{25} \int \frac {-25+2 x}{-85+e^{2 x/25}} \, dx\right )-\frac {4896}{5} \int \frac {x}{\left (-85+e^{2 x/25}\right )^2} \, dx \\ & = \frac {36 (25-2 x)^2}{2125}-\frac {144 \int \frac {e^{2 x/25} (-25+2 x)}{-85+e^{2 x/25}} \, dx}{2125}-\frac {288}{25} \int \frac {e^{2 x/25} x}{\left (-85+e^{2 x/25}\right )^2} \, dx+\frac {288}{25} \int \frac {x}{-85+e^{2 x/25}} \, dx \\ & = \frac {36 (25-2 x)^2}{2125}-\frac {144 x}{85-e^{2 x/25}}-\frac {144 x^2}{2125}+\frac {72}{85} (25-2 x) \log \left (1-\frac {1}{85} e^{2 x/25}\right )+\frac {288 \int \frac {e^{2 x/25} x}{-85+e^{2 x/25}} \, dx}{2125}+\frac {144}{85} \int \log \left (1-\frac {1}{85} e^{2 x/25}\right ) \, dx-144 \int \frac {1}{-85+e^{2 x/25}} \, dx \\ & = \frac {36 (25-2 x)^2}{2125}-\frac {144 x}{85-e^{2 x/25}}-\frac {144 x^2}{2125}+\frac {72}{85} (25-2 x) \log \left (1-\frac {1}{85} e^{2 x/25}\right )+\frac {144}{85} x \log \left (1-\frac {1}{85} e^{2 x/25}\right )-\frac {144}{85} \int \log \left (1-\frac {1}{85} e^{2 x/25}\right ) \, dx+\frac {360}{17} \text {Subst}\left (\int \frac {\log \left (1-\frac {x}{85}\right )}{x} \, dx,x,e^{2 x/25}\right )-1800 \text {Subst}\left (\int \frac {1}{(-85+x) x} \, dx,x,e^{2 x/25}\right ) \\ & = \frac {36 (25-2 x)^2}{2125}-\frac {144 x}{85-e^{2 x/25}}-\frac {144 x^2}{2125}+\frac {72}{85} (25-2 x) \log \left (1-\frac {1}{85} e^{2 x/25}\right )+\frac {144}{85} x \log \left (1-\frac {1}{85} e^{2 x/25}\right )-\frac {360}{17} \operatorname {PolyLog}\left (2,\frac {1}{85} e^{2 x/25}\right )-\frac {360}{17} \text {Subst}\left (\int \frac {1}{-85+x} \, dx,x,e^{2 x/25}\right )+\frac {360}{17} \text {Subst}\left (\int \frac {1}{x} \, dx,x,e^{2 x/25}\right )-\frac {360}{17} \text {Subst}\left (\int \frac {\log \left (1-\frac {x}{85}\right )}{x} \, dx,x,e^{2 x/25}\right ) \\ & = \frac {36 (25-2 x)^2}{2125}+\frac {144 x}{85}-\frac {144 x}{85-e^{2 x/25}}-\frac {144 x^2}{2125}-\frac {360}{17} \log \left (85-e^{2 x/25}\right )+\frac {72}{85} (25-2 x) \log \left (1-\frac {1}{85} e^{2 x/25}\right )+\frac {144}{85} x \log \left (1-\frac {1}{85} e^{2 x/25}\right ) \\ \end{align*}

Mathematica [A] (verified)

Time = 0.13 (sec) , antiderivative size = 14, normalized size of antiderivative = 0.70 \[ \int \frac {-306000+e^{2 x/25} (3600-288 x)}{180625-4250 e^{2 x/25}+25 e^{4 x/25}} \, dx=\frac {144 x}{-85+e^{2 x/25}} \]

[In]

Integrate[(-306000 + E^((2*x)/25)*(3600 - 288*x))/(180625 - 4250*E^((2*x)/25) + 25*E^((4*x)/25)),x]

[Out]

(144*x)/(-85 + E^((2*x)/25))

Maple [A] (verified)

Time = 0.14 (sec) , antiderivative size = 12, normalized size of antiderivative = 0.60

method result size
risch \(\frac {144 x}{{\mathrm e}^{\frac {2 x}{25}}-85}\) \(12\)
norman \(\frac {144 x}{{\mathrm e}^{\frac {2 x}{25}}-85}\) \(14\)
parallelrisch \(\frac {144 x}{{\mathrm e}^{\frac {2 x}{25}}-85}\) \(14\)
derivativedivides \(-\frac {720 \ln \left ({\mathrm e}^{\frac {x}{25}}\right )}{17}+\frac {144 x \,{\mathrm e}^{\frac {2 x}{25}}}{85 \left ({\mathrm e}^{\frac {2 x}{25}}-85\right )}\) \(28\)
default \(-\frac {720 \ln \left ({\mathrm e}^{\frac {x}{25}}\right )}{17}+\frac {144 x \,{\mathrm e}^{\frac {2 x}{25}}}{85 \left ({\mathrm e}^{\frac {2 x}{25}}-85\right )}\) \(28\)

[In]

int(((-288*x+3600)*exp(1/25*x)^2-306000)/(25*exp(1/25*x)^4-4250*exp(1/25*x)^2+180625),x,method=_RETURNVERBOSE)

[Out]

144*x/(exp(2/25*x)-85)

Fricas [A] (verification not implemented)

none

Time = 0.24 (sec) , antiderivative size = 11, normalized size of antiderivative = 0.55 \[ \int \frac {-306000+e^{2 x/25} (3600-288 x)}{180625-4250 e^{2 x/25}+25 e^{4 x/25}} \, dx=\frac {144 \, x}{e^{\left (\frac {2}{25} \, x\right )} - 85} \]

[In]

integrate(((-288*x+3600)*exp(1/25*x)^2-306000)/(25*exp(1/25*x)^4-4250*exp(1/25*x)^2+180625),x, algorithm="fric
as")

[Out]

144*x/(e^(2/25*x) - 85)

Sympy [A] (verification not implemented)

Time = 0.06 (sec) , antiderivative size = 10, normalized size of antiderivative = 0.50 \[ \int \frac {-306000+e^{2 x/25} (3600-288 x)}{180625-4250 e^{2 x/25}+25 e^{4 x/25}} \, dx=\frac {144 x}{e^{\frac {2 x}{25}} - 85} \]

[In]

integrate(((-288*x+3600)*exp(1/25*x)**2-306000)/(25*exp(1/25*x)**4-4250*exp(1/25*x)**2+180625),x)

[Out]

144*x/(exp(2*x/25) - 85)

Maxima [A] (verification not implemented)

none

Time = 0.20 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.95 \[ \int \frac {-306000+e^{2 x/25} (3600-288 x)}{180625-4250 e^{2 x/25}+25 e^{4 x/25}} \, dx=-\frac {144}{85} \, x + \frac {144 \, x e^{\left (\frac {2}{25} \, x\right )}}{85 \, {\left (e^{\left (\frac {2}{25} \, x\right )} - 85\right )}} \]

[In]

integrate(((-288*x+3600)*exp(1/25*x)^2-306000)/(25*exp(1/25*x)^4-4250*exp(1/25*x)^2+180625),x, algorithm="maxi
ma")

[Out]

-144/85*x + 144/85*x*e^(2/25*x)/(e^(2/25*x) - 85)

Giac [A] (verification not implemented)

none

Time = 0.25 (sec) , antiderivative size = 11, normalized size of antiderivative = 0.55 \[ \int \frac {-306000+e^{2 x/25} (3600-288 x)}{180625-4250 e^{2 x/25}+25 e^{4 x/25}} \, dx=\frac {144 \, x}{e^{\left (\frac {2}{25} \, x\right )} - 85} \]

[In]

integrate(((-288*x+3600)*exp(1/25*x)^2-306000)/(25*exp(1/25*x)^4-4250*exp(1/25*x)^2+180625),x, algorithm="giac
")

[Out]

144*x/(e^(2/25*x) - 85)

Mupad [B] (verification not implemented)

Time = 9.26 (sec) , antiderivative size = 11, normalized size of antiderivative = 0.55 \[ \int \frac {-306000+e^{2 x/25} (3600-288 x)}{180625-4250 e^{2 x/25}+25 e^{4 x/25}} \, dx=\frac {144\,x}{{\mathrm {e}}^{\frac {2\,x}{25}}-85} \]

[In]

int(-(exp((2*x)/25)*(288*x - 3600) + 306000)/(25*exp((4*x)/25) - 4250*exp((2*x)/25) + 180625),x)

[Out]

(144*x)/(exp((2*x)/25) - 85)