3.36.77 \(\int \frac {-15-15 x-20 x^2+(15+20 x) \log (5)}{-3 x+3 \log (5)} \, dx\)

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

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 20, normalized size of antiderivative = 1.11, number of steps used = 2, number of rules used = 1, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.034, Rules used = {1850} \begin {gather*} \frac {10 x^2}{3}+5 x+5 \log (x-\log (5)) \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

Rule 1850

Int[(Pq_)*((a_) + (b_.)*(x_)^(n_.))^(p_.), x_Symbol] :> Int[ExpandIntegrand[Pq*(a + b*x^n)^p, x], x] /; FreeQ[
{a, b, n}, x] && PolyQ[Pq, x] && (IGtQ[p, 0] || EqQ[n, 1])

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 30, normalized size = 1.67 \begin {gather*} \frac {5}{3} \left (3 x+2 x^2-\log (5) (3+\log (25))+3 \log (x-\log (5))\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((20*x+15)*log(5)-20*x^2-15*x-15)/(3*log(5)-3*x),x, algorithm="fricas")

[Out]

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

________________________________________________________________________________________

giac [A]  time = 0.14, size = 19, normalized size = 1.06 \begin {gather*} \frac {10}{3} \, x^{2} + 5 \, x + 5 \, \log \left ({\left | x - \log \relax (5) \right |}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((20*x+15)*log(5)-20*x^2-15*x-15)/(3*log(5)-3*x),x, algorithm="giac")

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.11, size = 19, normalized size = 1.06




method result size



default \(\frac {10 x^{2}}{3}+5 x +5 \ln \left (-\ln \relax (5)+x \right )\) \(19\)
risch \(\frac {10 x^{2}}{3}+5 x +5 \ln \left (-\ln \relax (5)+x \right )\) \(19\)
norman \(5 x +\frac {10 x^{2}}{3}+5 \ln \left (3 \ln \relax (5)-3 x \right )\) \(21\)
meijerg \(-5 \ln \relax (5) \ln \left (1-\frac {x}{\ln \relax (5)}\right )+5 \ln \left (1-\frac {x}{\ln \relax (5)}\right )+\frac {20 \ln \relax (5)^{2} \left (\frac {x \left (\frac {3 x}{\ln \relax (5)}+6\right )}{6 \ln \relax (5)}+\ln \left (1-\frac {x}{\ln \relax (5)}\right )\right )}{3}-\left (-\frac {20 \ln \relax (5)}{3}+5\right ) \ln \relax (5) \left (-\frac {x}{\ln \relax (5)}-\ln \left (1-\frac {x}{\ln \relax (5)}\right )\right )\) \(91\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.42, size = 18, normalized size = 1.00 \begin {gather*} \frac {10}{3} \, x^{2} + 5 \, x + 5 \, \log \left (x - \log \relax (5)\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((20*x+15)*log(5)-20*x^2-15*x-15)/(3*log(5)-3*x),x, algorithm="maxima")

[Out]

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

________________________________________________________________________________________

mupad [B]  time = 2.17, size = 18, normalized size = 1.00 \begin {gather*} 5\,x+5\,\ln \left (x-\ln \relax (5)\right )+\frac {10\,x^2}{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((15*x - log(5)*(20*x + 15) + 20*x^2 + 15)/(3*x - 3*log(5)),x)

[Out]

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

________________________________________________________________________________________

sympy [A]  time = 0.12, size = 17, normalized size = 0.94 \begin {gather*} \frac {10 x^{2}}{3} + 5 x + 5 \log {\left (x - \log {\relax (5 )} \right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((20*x+15)*ln(5)-20*x**2-15*x-15)/(3*ln(5)-3*x),x)

[Out]

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

________________________________________________________________________________________