3.30.68 \(\int \frac {-600-300 x+67 x^2+8 x^3-x^4}{-1800 x+150 x^2+99 x^3-2 x^4-x^5+(600 x-150 x^2-8 x^3+2 x^4) \log (\frac {300-75 x-4 x^2+x^3}{x})} \, dx\)

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

________________________________________________________________________________________

Rubi [A]  time = 0.25, antiderivative size = 20, normalized size of antiderivative = 0.83, number of steps used = 2, number of rules used = 2, integrand size = 85, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.024, Rules used = {6688, 6684} \begin {gather*} \log \left (-2 \log \left (x^2-4 x+\frac {300}{x}-75\right )+x+6\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(-600 - 300*x + 67*x^2 + 8*x^3 - x^4)/(-1800*x + 150*x^2 + 99*x^3 - 2*x^4 - x^5 + (600*x - 150*x^2 - 8*x^3
 + 2*x^4)*Log[(300 - 75*x - 4*x^2 + x^3)/x]),x]

[Out]

Log[6 + x - 2*Log[-75 + 300/x - 4*x + x^2]]

Rule 6684

Int[(u_)/(y_), x_Symbol] :> With[{q = DerivativeDivides[y, u, x]}, Simp[q*Log[RemoveContent[y, x]], x] /;  !Fa
lseQ[q]]

Rule 6688

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

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {600+300 x-67 x^2-8 x^3+x^4}{x \left (300-75 x-4 x^2+x^3\right ) \left (6+x-2 \log \left (-75+\frac {300}{x}-4 x+x^2\right )\right )} \, dx\\ &=\log \left (6+x-2 \log \left (-75+\frac {300}{x}-4 x+x^2\right )\right )\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.82, size = 20, normalized size = 0.83 \begin {gather*} \log \left (6+x-2 \log \left (-75+\frac {300}{x}-4 x+x^2\right )\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(-600 - 300*x + 67*x^2 + 8*x^3 - x^4)/(-1800*x + 150*x^2 + 99*x^3 - 2*x^4 - x^5 + (600*x - 150*x^2 -
 8*x^3 + 2*x^4)*Log[(300 - 75*x - 4*x^2 + x^3)/x]),x]

[Out]

Log[6 + x - 2*Log[-75 + 300/x - 4*x + x^2]]

________________________________________________________________________________________

fricas [A]  time = 0.66, size = 26, normalized size = 1.08 \begin {gather*} \log \left (-x + 2 \, \log \left (\frac {x^{3} - 4 \, x^{2} - 75 \, x + 300}{x}\right ) - 6\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-x^4+8*x^3+67*x^2-300*x-600)/((2*x^4-8*x^3-150*x^2+600*x)*log((x^3-4*x^2-75*x+300)/x)-x^5-2*x^4+99*
x^3+150*x^2-1800*x),x, algorithm="fricas")

[Out]

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

________________________________________________________________________________________

giac [A]  time = 0.35, size = 24, normalized size = 1.00 \begin {gather*} \log \left (x - 2 \, \log \left (\frac {x^{3} - 4 \, x^{2} - 75 \, x + 300}{x}\right ) + 6\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-x^4+8*x^3+67*x^2-300*x-600)/((2*x^4-8*x^3-150*x^2+600*x)*log((x^3-4*x^2-75*x+300)/x)-x^5-2*x^4+99*
x^3+150*x^2-1800*x),x, algorithm="giac")

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.06, size = 25, normalized size = 1.04




method result size



norman \(\ln \left (x -2 \ln \left (\frac {x^{3}-4 x^{2}-75 x +300}{x}\right )+6\right )\) \(25\)
risch \(\ln \left (-\frac {x}{2}+\ln \left (\frac {x^{3}-4 x^{2}-75 x +300}{x}\right )-3\right )\) \(25\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int((-x^4+8*x^3+67*x^2-300*x-600)/((2*x^4-8*x^3-150*x^2+600*x)*ln((x^3-4*x^2-75*x+300)/x)-x^5-2*x^4+99*x^3+150
*x^2-1800*x),x,method=_RETURNVERBOSE)

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.45, size = 20, normalized size = 0.83 \begin {gather*} \log \left (-\frac {1}{2} \, x + \log \left (x^{2} - 75\right ) + \log \left (x - 4\right ) - \log \relax (x) - 3\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-x^4+8*x^3+67*x^2-300*x-600)/((2*x^4-8*x^3-150*x^2+600*x)*log((x^3-4*x^2-75*x+300)/x)-x^5-2*x^4+99*
x^3+150*x^2-1800*x),x, algorithm="maxima")

[Out]

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

________________________________________________________________________________________

mupad [B]  time = 2.21, size = 27, normalized size = 1.12 \begin {gather*} \ln \left (\ln \left (-\frac {-x^3+4\,x^2+75\,x-300}{x}\right )-\frac {x}{2}-3\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((300*x - 67*x^2 - 8*x^3 + x^4 + 600)/(1800*x - log(-(75*x + 4*x^2 - x^3 - 300)/x)*(600*x - 150*x^2 - 8*x^3
 + 2*x^4) - 150*x^2 - 99*x^3 + 2*x^4 + x^5),x)

[Out]

log(log(-(75*x + 4*x^2 - x^3 - 300)/x) - x/2 - 3)

________________________________________________________________________________________

sympy [A]  time = 0.41, size = 22, normalized size = 0.92 \begin {gather*} \log {\left (- \frac {x}{2} + \log {\left (\frac {x^{3} - 4 x^{2} - 75 x + 300}{x} \right )} - 3 \right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-x**4+8*x**3+67*x**2-300*x-600)/((2*x**4-8*x**3-150*x**2+600*x)*ln((x**3-4*x**2-75*x+300)/x)-x**5-2
*x**4+99*x**3+150*x**2-1800*x),x)

[Out]

log(-x/2 + log((x**3 - 4*x**2 - 75*x + 300)/x) - 3)

________________________________________________________________________________________