3.38.16 \(\int \frac {2 x+(-6+3 x) \log (\frac {e (2-x)}{x})}{(-2 x^2+x^3) \log (\frac {e (2-x)}{x})} \, dx\)

Optimal. Leaf size=18 \[ -\frac {3}{x}+\log \left (\log \left (-e+\frac {2 e}{x}\right )\right ) \]

________________________________________________________________________________________

Rubi [F]  time = 0.30, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \int \frac {2 x+(-6+3 x) \log \left (\frac {e (2-x)}{x}\right )}{\left (-2 x^2+x^3\right ) \log \left (\frac {e (2-x)}{x}\right )} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Int[(2*x + (-6 + 3*x)*Log[(E*(2 - x))/x])/((-2*x^2 + x^3)*Log[(E*(2 - x))/x]),x]

[Out]

-3/x + Defer[Int][1/((-2 + x)*Log[-E + (2*E)/x]), x] - Defer[Int][1/(x*Log[-E + (2*E)/x]), x]

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {2 x+(-6+3 x) \log \left (\frac {e (2-x)}{x}\right )}{(-2+x) x^2 \log \left (\frac {e (2-x)}{x}\right )} \, dx\\ &=\int \frac {3+\frac {2 x}{(-2+x) \log \left (-\frac {e (-2+x)}{x}\right )}}{x^2} \, dx\\ &=\int \left (\frac {3}{x^2}+\frac {2}{(-2+x) x \log \left (-e+\frac {2 e}{x}\right )}\right ) \, dx\\ &=-\frac {3}{x}+2 \int \frac {1}{(-2+x) x \log \left (-e+\frac {2 e}{x}\right )} \, dx\\ &=-\frac {3}{x}+2 \int \left (\frac {1}{2 (-2+x) \log \left (-e+\frac {2 e}{x}\right )}-\frac {1}{2 x \log \left (-e+\frac {2 e}{x}\right )}\right ) \, dx\\ &=-\frac {3}{x}+\int \frac {1}{(-2+x) \log \left (-e+\frac {2 e}{x}\right )} \, dx-\int \frac {1}{x \log \left (-e+\frac {2 e}{x}\right )} \, dx\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 5.02, size = 17, normalized size = 0.94 \begin {gather*} -\frac {3}{x}+\log \left (\log \left (-\frac {e (-2+x)}{x}\right )\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(2*x + (-6 + 3*x)*Log[(E*(2 - x))/x])/((-2*x^2 + x^3)*Log[(E*(2 - x))/x]),x]

[Out]

-3/x + Log[Log[-((E*(-2 + x))/x)]]

________________________________________________________________________________________

fricas [A]  time = 0.68, size = 20, normalized size = 1.11 \begin {gather*} \frac {x \log \left (\log \left (-\frac {{\left (x - 2\right )} e}{x}\right )\right ) - 3}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((3*x-6)*log((2-x)*exp(1)/x)+2*x)/(x^3-2*x^2)/log((2-x)*exp(1)/x),x, algorithm="fricas")

[Out]

(x*log(log(-(x - 2)*e/x)) - 3)/x

________________________________________________________________________________________

giac [A]  time = 0.13, size = 39, normalized size = 2.17 \begin {gather*} \frac {1}{2} \, {\left (2 \, e \log \left (\log \left (-\frac {x e - 2 \, e}{x}\right )\right ) + \frac {3 \, {\left (x e - 2 \, e\right )}}{x}\right )} e^{\left (-1\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((3*x-6)*log((2-x)*exp(1)/x)+2*x)/(x^3-2*x^2)/log((2-x)*exp(1)/x),x, algorithm="giac")

[Out]

1/2*(2*e*log(log(-(x*e - 2*e)/x)) + 3*(x*e - 2*e)/x)*e^(-1)

________________________________________________________________________________________

maple [A]  time = 0.10, size = 20, normalized size = 1.11




method result size



norman \(-\frac {3}{x}+\ln \left (\ln \left (\frac {\left (2-x \right ) {\mathrm e}}{x}\right )\right )\) \(20\)
risch \(-\frac {3}{x}+\ln \left (\ln \left (\frac {\left (2-x \right ) {\mathrm e}}{x}\right )\right )\) \(20\)
derivativedivides \(-\frac {{\mathrm e} \left (6 \,{\mathrm e}^{-2} \left (\frac {2 \,{\mathrm e}}{x}-{\mathrm e}\right )-4 \,{\mathrm e}^{-1} \ln \left (\ln \left (\frac {2 \,{\mathrm e}}{x}-{\mathrm e}\right )\right )\right )}{4}\) \(44\)
default \(-\frac {{\mathrm e} \left (6 \,{\mathrm e}^{-2} \left (\frac {2 \,{\mathrm e}}{x}-{\mathrm e}\right )-4 \,{\mathrm e}^{-1} \ln \left (\ln \left (\frac {2 \,{\mathrm e}}{x}-{\mathrm e}\right )\right )\right )}{4}\) \(44\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((3*x-6)*ln((2-x)*exp(1)/x)+2*x)/(x^3-2*x^2)/ln((2-x)*exp(1)/x),x,method=_RETURNVERBOSE)

[Out]

-3/x+ln(ln((2-x)*exp(1)/x))

________________________________________________________________________________________

maxima [B]  time = 0.42, size = 103, normalized size = 5.72 \begin {gather*} \frac {3}{2} \, {\left (e^{\left (-1\right )} \log \left (\frac {2 \, e}{x} - e\right ) \log \left (-\log \relax (x) + \log \left (-x + 2\right ) + 1\right ) + {\left ({\left (\log \relax (x) - \log \left (-x + 2\right ) - 1\right )} \log \left (-\log \relax (x) + \log \left (-x + 2\right ) + 1\right ) - \log \relax (x) + \log \left (-x + 2\right )\right )} e^{\left (-1\right )}\right )} e - \frac {3}{x} - \frac {3}{2} \, \log \left (x - 2\right ) + \frac {3}{2} \, \log \relax (x) + \log \left (-\log \relax (x) + \log \left (-x + 2\right ) + 1\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((3*x-6)*log((2-x)*exp(1)/x)+2*x)/(x^3-2*x^2)/log((2-x)*exp(1)/x),x, algorithm="maxima")

[Out]

3/2*(e^(-1)*log(2*e/x - e)*log(-log(x) + log(-x + 2) + 1) + ((log(x) - log(-x + 2) - 1)*log(-log(x) + log(-x +
 2) + 1) - log(x) + log(-x + 2))*e^(-1))*e - 3/x - 3/2*log(x - 2) + 3/2*log(x) + log(-log(x) + log(-x + 2) + 1
)

________________________________________________________________________________________

mupad [B]  time = 2.97, size = 18, normalized size = 1.00 \begin {gather*} \ln \left (\ln \left (-\frac {\mathrm {e}\,\left (x-2\right )}{x}\right )\right )-\frac {3}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(2*x + log(-(exp(1)*(x - 2))/x)*(3*x - 6))/(log(-(exp(1)*(x - 2))/x)*(2*x^2 - x^3)),x)

[Out]

log(log(-(exp(1)*(x - 2))/x)) - 3/x

________________________________________________________________________________________

sympy [A]  time = 0.15, size = 14, normalized size = 0.78 \begin {gather*} \log {\left (\log {\left (\frac {e \left (2 - x\right )}{x} \right )} \right )} - \frac {3}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((3*x-6)*ln((2-x)*exp(1)/x)+2*x)/(x**3-2*x**2)/ln((2-x)*exp(1)/x),x)

[Out]

log(log(E*(2 - x)/x)) - 3/x

________________________________________________________________________________________