3.44.72 \(\int \frac {2 x+3 x^2+3 \log (5)+(-x-3 x^2-\log (5)) \log (\frac {x+3 x^2+\log (5)}{3 x})}{-x-5 x^2-6 x^3+(-1-2 x) \log (5)+(x^2+3 x^3+x \log (5)) \log (\frac {x+3 x^2+\log (5)}{3 x})} \, dx\)

Optimal. Leaf size=37 \[ 4+\log \left (\frac {x}{2 \left (-x+x^2 \left (-2+\log \left (\frac {x^2+\frac {1}{3} (x+\log (5))}{x}\right )\right )\right )}\right ) \]

________________________________________________________________________________________

Rubi [A]  time = 0.27, antiderivative size = 26, normalized size of antiderivative = 0.70, number of steps used = 2, number of rules used = 2, integrand size = 100, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.020, Rules used = {6741, 6684} \begin {gather*} -\log \left (2 x+x \left (-\log \left (x+\frac {\log (5)}{3 x}+\frac {1}{3}\right )\right )+1\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

Rule 6684

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

Rule 6741

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

Rubi steps

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

________________________________________________________________________________________

Mathematica [F]  time = 2.32, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {2 x+3 x^2+3 \log (5)+\left (-x-3 x^2-\log (5)\right ) \log \left (\frac {x+3 x^2+\log (5)}{3 x}\right )}{-x-5 x^2-6 x^3+(-1-2 x) \log (5)+\left (x^2+3 x^3+x \log (5)\right ) \log \left (\frac {x+3 x^2+\log (5)}{3 x}\right )} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

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

[Out]

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

________________________________________________________________________________________

fricas [A]  time = 0.58, size = 34, normalized size = 0.92 \begin {gather*} -\log \relax (x) - \log \left (\frac {x \log \left (\frac {3 \, x^{2} + x + \log \relax (5)}{3 \, x}\right ) - 2 \, x - 1}{x}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

giac [A]  time = 0.23, size = 27, normalized size = 0.73 \begin {gather*} -\log \left (-x \log \left (3 \, x^{2} + x + \log \relax (5)\right ) + x \log \left (3 \, x\right ) + 2 \, x + 1\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-log(-x*log(3*x^2 + x + log(5)) + x*log(3*x) + 2*x + 1)

________________________________________________________________________________________

maple [A]  time = 0.10, size = 26, normalized size = 0.70




method result size



norman \(-\ln \left (\ln \left (\frac {\ln \relax (5)+3 x^{2}+x}{3 x}\right ) x -2 x -1\right )\) \(26\)
risch \(-\ln \relax (x )-\ln \left (\ln \left (\frac {\ln \relax (5)+3 x^{2}+x}{3 x}\right )-\frac {2 x +1}{x}\right )\) \(35\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-ln(ln(1/3*(ln(5)+3*x^2+x)/x)*x-2*x-1)

________________________________________________________________________________________

maxima [A]  time = 0.46, size = 38, normalized size = 1.03 \begin {gather*} -\log \relax (x) - \log \left (-\frac {x {\left (\log \relax (3) + 2\right )} - x \log \left (3 \, x^{2} + x + \log \relax (5)\right ) + x \log \relax (x) + 1}{x}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

mupad [B]  time = 6.00, size = 35, normalized size = 0.95 \begin {gather*} -\ln \left (\frac {2\,x-x\,\ln \left (\frac {3\,x^2+x+\ln \relax (5)}{3\,x}\right )+1}{x}\right )-\ln \relax (x) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

sympy [A]  time = 0.39, size = 29, normalized size = 0.78 \begin {gather*} - \log {\relax (x )} - \log {\left (\log {\left (\frac {x^{2} + \frac {x}{3} + \frac {\log {\relax (5 )}}{3}}{x} \right )} + \frac {- 2 x - 1}{x} \right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-log(x) - log(log((x**2 + x/3 + log(5)/3)/x) + (-2*x - 1)/x)

________________________________________________________________________________________