3.99.64 \(\int \frac {-432+216 x-3 x^2+36 \log (5)}{1296-72 x+x^2} \, dx\)

Optimal. Leaf size=19 \[ \frac {x (3 (4-x)-\log (5))}{-36+x} \]

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 17, normalized size of antiderivative = 0.89, number of steps used = 3, number of rules used = 2, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {27, 683} \begin {gather*} \frac {36 (96+\log (5))}{36-x}-3 x \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(-432 + 216*x - 3*x^2 + 36*Log[5])/(1296 - 72*x + x^2),x]

[Out]

-3*x + (36*(96 + Log[5]))/(36 - x)

Rule 27

Int[(u_.)*((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[u*Cancel[(b/2 + c*x)^(2*p)/c^p], x] /; Fr
eeQ[{a, b, c}, x] && EqQ[b^2 - 4*a*c, 0] && IntegerQ[p]

Rule 683

Int[((d_.) + (e_.)*(x_))^(m_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[ExpandIntegrand[(d +
 e*x)^m*(a + b*x + c*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, m}, x] && NeQ[b^2 - 4*a*c, 0] && EqQ[2*c*d - b*e,
 0] && IGtQ[p, 0] &&  !(EqQ[m, 3] && NeQ[p, 1])

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 15, normalized size = 0.79 \begin {gather*} -3 \left (x+\frac {12 (96+\log (5))}{-36+x}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(-432 + 216*x - 3*x^2 + 36*Log[5])/(1296 - 72*x + x^2),x]

[Out]

-3*(x + (12*(96 + Log[5]))/(-36 + x))

________________________________________________________________________________________

fricas [A]  time = 0.72, size = 19, normalized size = 1.00 \begin {gather*} -\frac {3 \, {\left (x^{2} - 36 \, x + 12 \, \log \relax (5) + 1152\right )}}{x - 36} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((36*log(5)-3*x^2+216*x-432)/(x^2-72*x+1296),x, algorithm="fricas")

[Out]

-3*(x^2 - 36*x + 12*log(5) + 1152)/(x - 36)

________________________________________________________________________________________

giac [A]  time = 0.14, size = 15, normalized size = 0.79 \begin {gather*} -3 \, x - \frac {36 \, {\left (\log \relax (5) + 96\right )}}{x - 36} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((36*log(5)-3*x^2+216*x-432)/(x^2-72*x+1296),x, algorithm="giac")

[Out]

-3*x - 36*(log(5) + 96)/(x - 36)

________________________________________________________________________________________

maple [A]  time = 0.14, size = 17, normalized size = 0.89




method result size



gosper \(-\frac {3 \left (x^{2}+12 \ln \relax (5)-144\right )}{x -36}\) \(17\)
default \(-3 x -\frac {3 \left (1152+12 \ln \relax (5)\right )}{x -36}\) \(18\)
norman \(\frac {-3 x^{2}+432-36 \ln \relax (5)}{x -36}\) \(18\)
risch \(-3 x -\frac {3456}{x -36}-\frac {36 \ln \relax (5)}{x -36}\) \(21\)
meijerg \(\frac {17 x}{3 \left (1-\frac {x}{36}\right )}+\frac {x \ln \relax (5)}{36-x}-\frac {x \left (-\frac {x}{12}+6\right )}{1-\frac {x}{36}}\) \(39\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int((36*ln(5)-3*x^2+216*x-432)/(x^2-72*x+1296),x,method=_RETURNVERBOSE)

[Out]

-3*(x^2+12*ln(5)-144)/(x-36)

________________________________________________________________________________________

maxima [A]  time = 0.36, size = 15, normalized size = 0.79 \begin {gather*} -3 \, x - \frac {36 \, {\left (\log \relax (5) + 96\right )}}{x - 36} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((36*log(5)-3*x^2+216*x-432)/(x^2-72*x+1296),x, algorithm="maxima")

[Out]

-3*x - 36*(log(5) + 96)/(x - 36)

________________________________________________________________________________________

mupad [B]  time = 5.64, size = 17, normalized size = 0.89 \begin {gather*} -3\,x-\frac {36\,\ln \relax (5)+3456}{x-36} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((216*x + 36*log(5) - 3*x^2 - 432)/(x^2 - 72*x + 1296),x)

[Out]

- 3*x - (36*log(5) + 3456)/(x - 36)

________________________________________________________________________________________

sympy [A]  time = 0.12, size = 14, normalized size = 0.74 \begin {gather*} - 3 x - \frac {36 \log {\relax (5 )} + 3456}{x - 36} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((36*ln(5)-3*x**2+216*x-432)/(x**2-72*x+1296),x)

[Out]

-3*x - (36*log(5) + 3456)/(x - 36)

________________________________________________________________________________________