3.38.95 \(\int \frac {4-9 x+8 x^2-x^3-e^6 x \log (3)+x \log (x)}{16 x+8 x^2-7 x^3-2 x^4+x^5+e^6 (8 x+2 x^2-2 x^3) \log (3)+e^{12} x \log ^2(3)+(-8 x-2 x^2+2 x^3-2 e^6 x \log (3)) \log (x)+x \log ^2(x)} \, dx\)

Optimal. Leaf size=23 \[ \frac {-4+x}{-4-x+x^2-e^6 \log (3)+\log (x)} \]

________________________________________________________________________________________

Rubi [F]  time = 1.02, 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 {4-9 x+8 x^2-x^3-e^6 x \log (3)+x \log (x)}{16 x+8 x^2-7 x^3-2 x^4+x^5+e^6 \left (8 x+2 x^2-2 x^3\right ) \log (3)+e^{12} x \log ^2(3)+\left (-8 x-2 x^2+2 x^3-2 e^6 x \log (3)\right ) \log (x)+x \log ^2(x)} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Int[(4 - 9*x + 8*x^2 - x^3 - E^6*x*Log[3] + x*Log[x])/(16*x + 8*x^2 - 7*x^3 - 2*x^4 + x^5 + E^6*(8*x + 2*x^2 -
 2*x^3)*Log[3] + E^12*x*Log[3]^2 + (-8*x - 2*x^2 + 2*x^3 - 2*E^6*x*Log[3])*Log[x] + x*Log[x]^2),x]

[Out]

-5*Defer[Int][(x - x^2 + 4*(1 + (E^6*Log[3])/4) - Log[x])^(-2), x] + 4*Defer[Int][1/(x*(x - x^2 + 4*(1 + (E^6*
Log[3])/4) - Log[x])^2), x] + 9*Defer[Int][x/(x - x^2 + 4*(1 + (E^6*Log[3])/4) - Log[x])^2, x] - 2*Defer[Int][
x^2/(x - x^2 + 4*(1 + (E^6*Log[3])/4) - Log[x])^2, x] + Defer[Int][(-x + x^2 - 4*(1 + (E^6*Log[3])/4) + Log[x]
)^(-1), x]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 1.00, size = 23, normalized size = 1.00 \begin {gather*} \frac {-4+x}{-4-x+x^2-e^6 \log (3)+\log (x)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(4 - 9*x + 8*x^2 - x^3 - E^6*x*Log[3] + x*Log[x])/(16*x + 8*x^2 - 7*x^3 - 2*x^4 + x^5 + E^6*(8*x + 2
*x^2 - 2*x^3)*Log[3] + E^12*x*Log[3]^2 + (-8*x - 2*x^2 + 2*x^3 - 2*E^6*x*Log[3])*Log[x] + x*Log[x]^2),x]

[Out]

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

________________________________________________________________________________________

fricas [A]  time = 0.52, size = 22, normalized size = 0.96 \begin {gather*} \frac {x - 4}{x^{2} - e^{6} \log \relax (3) - x + \log \relax (x) - 4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x*log(x)-x*exp(3)^2*log(3)-x^3+8*x^2-9*x+4)/(x*log(x)^2+(-2*x*exp(3)^2*log(3)+2*x^3-2*x^2-8*x)*log(
x)+x*exp(3)^4*log(3)^2+(-2*x^3+2*x^2+8*x)*exp(3)^2*log(3)+x^5-2*x^4-7*x^3+8*x^2+16*x),x, algorithm="fricas")

[Out]

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

________________________________________________________________________________________

giac [A]  time = 0.18, size = 22, normalized size = 0.96 \begin {gather*} \frac {x - 4}{x^{2} - e^{6} \log \relax (3) - x + \log \relax (x) - 4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x*log(x)-x*exp(3)^2*log(3)-x^3+8*x^2-9*x+4)/(x*log(x)^2+(-2*x*exp(3)^2*log(3)+2*x^3-2*x^2-8*x)*log(
x)+x*exp(3)^4*log(3)^2+(-2*x^3+2*x^2+8*x)*exp(3)^2*log(3)+x^5-2*x^4-7*x^3+8*x^2+16*x),x, algorithm="giac")

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.18, size = 25, normalized size = 1.09




method result size



risch \(-\frac {x -4}{{\mathrm e}^{6} \ln \relax (3)-x^{2}-\ln \relax (x )+x +4}\) \(25\)
norman \(\frac {-x +4}{{\mathrm e}^{6} \ln \relax (3)-x^{2}-\ln \relax (x )+x +4}\) \(28\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x*ln(x)-x*exp(3)^2*ln(3)-x^3+8*x^2-9*x+4)/(x*ln(x)^2+(-2*x*exp(3)^2*ln(3)+2*x^3-2*x^2-8*x)*ln(x)+x*exp(3)
^4*ln(3)^2+(-2*x^3+2*x^2+8*x)*exp(3)^2*ln(3)+x^5-2*x^4-7*x^3+8*x^2+16*x),x,method=_RETURNVERBOSE)

[Out]

-(x-4)/(exp(6)*ln(3)-x^2-ln(x)+x+4)

________________________________________________________________________________________

maxima [A]  time = 0.59, size = 22, normalized size = 0.96 \begin {gather*} \frac {x - 4}{x^{2} - e^{6} \log \relax (3) - x + \log \relax (x) - 4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x*log(x)-x*exp(3)^2*log(3)-x^3+8*x^2-9*x+4)/(x*log(x)^2+(-2*x*exp(3)^2*log(3)+2*x^3-2*x^2-8*x)*log(
x)+x*exp(3)^4*log(3)^2+(-2*x^3+2*x^2+8*x)*exp(3)^2*log(3)+x^5-2*x^4-7*x^3+8*x^2+16*x),x, algorithm="maxima")

[Out]

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

________________________________________________________________________________________

mupad [B]  time = 2.60, size = 24, normalized size = 1.04 \begin {gather*} -\frac {x-4}{x-\ln \relax (x)+{\mathrm {e}}^6\,\ln \relax (3)-x^2+4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(9*x - x*log(x) - 8*x^2 + x^3 + x*exp(6)*log(3) - 4)/(16*x + x*log(x)^2 - log(x)*(8*x + 2*x^2 - 2*x^3 + 2
*x*exp(6)*log(3)) + 8*x^2 - 7*x^3 - 2*x^4 + x^5 + x*exp(12)*log(3)^2 + exp(6)*log(3)*(8*x + 2*x^2 - 2*x^3)),x)

[Out]

-(x - 4)/(x - log(x) + exp(6)*log(3) - x^2 + 4)

________________________________________________________________________________________

sympy [A]  time = 0.15, size = 19, normalized size = 0.83 \begin {gather*} \frac {x - 4}{x^{2} - x + \log {\relax (x )} - e^{6} \log {\relax (3 )} - 4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x*ln(x)-x*exp(3)**2*ln(3)-x**3+8*x**2-9*x+4)/(x*ln(x)**2+(-2*x*exp(3)**2*ln(3)+2*x**3-2*x**2-8*x)*l
n(x)+x*exp(3)**4*ln(3)**2+(-2*x**3+2*x**2+8*x)*exp(3)**2*ln(3)+x**5-2*x**4-7*x**3+8*x**2+16*x),x)

[Out]

(x - 4)/(x**2 - x + log(x) - exp(6)*log(3) - 4)

________________________________________________________________________________________