3.69.87 10+ex(2x)5x+exxdx

Optimal. Leaf size=16 log(4e4x25+ex)

________________________________________________________________________________________

Rubi [A]  time = 0.14, antiderivative size = 15, normalized size of antiderivative = 0.94, number of steps used = 8, number of rules used = 6, integrand size = 23, number of rulesintegrand size = 0.261, Rules used = {6742, 2282, 36, 31, 29, 43} 2log(x)log(5ex)

Antiderivative was successfully verified.

[In]

Int[(-10 + E^x*(2 - x))/(-5*x + E^x*x),x]

[Out]

-Log[5 - E^x] + 2*Log[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 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 2282

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 6742

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

Rubi steps

integral=(55+ex+2xx)dx=(515+exdx)+2xxdx=(5Subst(1(5+x)xdx,x,ex))+(1+2x)dx=x+2log(x)Subst(15+xdx,x,ex)+Subst(1xdx,x,ex)=log(5ex)+2log(x)

________________________________________________________________________________________

Mathematica [A]  time = 0.03, size = 15, normalized size = 0.94 log(5ex)+2log(x)

Antiderivative was successfully verified.

[In]

Integrate[(-10 + E^x*(2 - x))/(-5*x + E^x*x),x]

[Out]

-Log[5 - E^x] + 2*Log[x]

________________________________________________________________________________________

fricas [A]  time = 0.88, size = 12, normalized size = 0.75 2log(x)log(ex5)

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((2-x)*exp(x)-10)/(exp(x)*x-5*x),x, algorithm="fricas")

[Out]

2*log(x) - log(e^x - 5)

________________________________________________________________________________________

giac [A]  time = 0.26, size = 12, normalized size = 0.75 2log(x)log(ex5)

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((2-x)*exp(x)-10)/(exp(x)*x-5*x),x, algorithm="giac")

[Out]

2*log(x) - log(e^x - 5)

________________________________________________________________________________________

maple [A]  time = 0.03, size = 13, normalized size = 0.81




method result size



norman 2ln(x)ln(ex5) 13
risch 2ln(x)ln(ex5) 13



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((2-x)*exp(x)-10)/(exp(x)*x-5*x),x,method=_RETURNVERBOSE)

[Out]

2*ln(x)-ln(exp(x)-5)

________________________________________________________________________________________

maxima [A]  time = 0.38, size = 12, normalized size = 0.75 2log(x)log(ex5)

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((2-x)*exp(x)-10)/(exp(x)*x-5*x),x, algorithm="maxima")

[Out]

2*log(x) - log(e^x - 5)

________________________________________________________________________________________

mupad [B]  time = 0.06, size = 12, normalized size = 0.75 2ln(x)ln(ex5)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((exp(x)*(x - 2) + 10)/(5*x - x*exp(x)),x)

[Out]

2*log(x) - log(exp(x) - 5)

________________________________________________________________________________________

sympy [A]  time = 0.10, size = 10, normalized size = 0.62 2log(x)log(ex5)

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((2-x)*exp(x)-10)/(exp(x)*x-5*x),x)

[Out]

2*log(x) - log(exp(x) - 5)

________________________________________________________________________________________