3.19.81 \(\int \frac {-1528-320 x+(152+32 x) \log (3)}{6859+4332 x+912 x^2+64 x^3} \, dx\)

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

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 23, normalized size of antiderivative = 1.15, number of steps used = 2, number of rules used = 1, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.032, Rules used = {2074} \begin {gather*} \frac {1}{(4 x+19)^2}+\frac {2 (10-\log (3))}{4 x+19} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(-1528 - 320*x + (152 + 32*x)*Log[3])/(6859 + 4332*x + 912*x^2 + 64*x^3),x]

[Out]

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

Rule 2074

Int[(P_)^(p_)*(Q_)^(q_.), x_Symbol] :> With[{PP = Factor[P]}, Int[ExpandIntegrand[PP^p*Q^q, x], x] /;  !SumQ[N
onfreeFactors[PP, x]]] /; FreeQ[q, x] && PolyQ[P, x] && PolyQ[Q, x] && IntegerQ[p] && NeQ[P, x]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 21, normalized size = 1.05 \begin {gather*} \frac {381-8 x (-10+\log (3))-38 \log (3)}{(19+4 x)^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(-1528 - 320*x + (152 + 32*x)*Log[3])/(6859 + 4332*x + 912*x^2 + 64*x^3),x]

[Out]

(381 - 8*x*(-10 + Log[3]) - 38*Log[3])/(19 + 4*x)^2

________________________________________________________________________________________

fricas [A]  time = 0.79, size = 28, normalized size = 1.40 \begin {gather*} -\frac {2 \, {\left (4 \, x + 19\right )} \log \relax (3) - 80 \, x - 381}{16 \, x^{2} + 152 \, x + 361} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((32*x+152)*log(3)-320*x-1528)/(64*x^3+912*x^2+4332*x+6859),x, algorithm="fricas")

[Out]

-(2*(4*x + 19)*log(3) - 80*x - 381)/(16*x^2 + 152*x + 361)

________________________________________________________________________________________

giac [A]  time = 0.22, size = 23, normalized size = 1.15 \begin {gather*} -\frac {8 \, x \log \relax (3) - 80 \, x + 38 \, \log \relax (3) - 381}{{\left (4 \, x + 19\right )}^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((32*x+152)*log(3)-320*x-1528)/(64*x^3+912*x^2+4332*x+6859),x, algorithm="giac")

[Out]

-(8*x*log(3) - 80*x + 38*log(3) - 381)/(4*x + 19)^2

________________________________________________________________________________________

maple [A]  time = 0.04, size = 23, normalized size = 1.15




method result size



norman \(\frac {\left (80-8 \ln \relax (3)\right ) x +381-38 \ln \relax (3)}{\left (4 x +19\right )^{2}}\) \(23\)
default \(-\frac {8 \left (\frac {\ln \relax (3)}{4}-\frac {5}{2}\right )}{4 x +19}+\frac {1}{\left (4 x +19\right )^{2}}\) \(24\)
risch \(\frac {\left (-\frac {\ln \relax (3)}{2}+5\right ) x +\frac {381}{16}-\frac {19 \ln \relax (3)}{8}}{x^{2}+\frac {19}{2} x +\frac {361}{16}}\) \(26\)
gosper \(-\frac {8 x \ln \relax (3)+38 \ln \relax (3)-80 x -381}{16 x^{2}+152 x +361}\) \(29\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((32*x+152)*ln(3)-320*x-1528)/(64*x^3+912*x^2+4332*x+6859),x,method=_RETURNVERBOSE)

[Out]

((80-8*ln(3))*x+381-38*ln(3))/(4*x+19)^2

________________________________________________________________________________________

maxima [A]  time = 0.53, size = 27, normalized size = 1.35 \begin {gather*} -\frac {8 \, x {\left (\log \relax (3) - 10\right )} + 38 \, \log \relax (3) - 381}{16 \, x^{2} + 152 \, x + 361} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((32*x+152)*log(3)-320*x-1528)/(64*x^3+912*x^2+4332*x+6859),x, algorithm="maxima")

[Out]

-(8*x*(log(3) - 10) + 38*log(3) - 381)/(16*x^2 + 152*x + 361)

________________________________________________________________________________________

mupad [B]  time = 1.15, size = 23, normalized size = 1.15 \begin {gather*} \frac {1}{{\left (4\,x+19\right )}^2}-\frac {2\,\ln \relax (3)-20}{4\,x+19} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(320*x - log(3)*(32*x + 152) + 1528)/(4332*x + 912*x^2 + 64*x^3 + 6859),x)

[Out]

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

________________________________________________________________________________________

sympy [B]  time = 0.19, size = 26, normalized size = 1.30 \begin {gather*} - \frac {x \left (-80 + 8 \log {\relax (3 )}\right ) - 381 + 38 \log {\relax (3 )}}{16 x^{2} + 152 x + 361} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(((32*x+152)*ln(3)-320*x-1528)/(64*x**3+912*x**2+4332*x+6859),x)

[Out]

-(x*(-80 + 8*log(3)) - 381 + 38*log(3))/(16*x**2 + 152*x + 361)

________________________________________________________________________________________