3.53.39 \(\int \frac {-x+2 x \log (4 x)+(5-18 x) \log ^2(4 x)}{5 \log (4) \log ^2(4 x)} \, dx\)

Optimal. Leaf size=22 \[ \frac {x \left (5-9 x+\frac {x}{\log (4 x)}\right )}{5 \log (4)} \]

________________________________________________________________________________________

Rubi [A]  time = 0.11, antiderivative size = 35, normalized size of antiderivative = 1.59, number of steps used = 8, number of rules used = 5, integrand size = 37, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.135, Rules used = {12, 6742, 2306, 2309, 2178} \begin {gather*} \frac {x^2}{5 \log (4) \log (4 x)}-\frac {9 x^2}{5 \log (4)}+\frac {x}{\log (4)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(-x + 2*x*Log[4*x] + (5 - 18*x)*Log[4*x]^2)/(5*Log[4]*Log[4*x]^2),x]

[Out]

x/Log[4] - (9*x^2)/(5*Log[4]) + x^2/(5*Log[4]*Log[4*x])

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 2178

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - (c*f)/d))*ExpIntegral
Ei[(f*g*(c + d*x)*Log[F])/d])/d, x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !$UseGamma === True

Rule 2306

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_)*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*Log
[c*x^n])^(p + 1))/(b*d*n*(p + 1)), x] - Dist[(m + 1)/(b*n*(p + 1)), Int[(d*x)^m*(a + b*Log[c*x^n])^(p + 1), x]
, x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1] && LtQ[p, -1]

Rule 2309

Int[((a_.) + Log[(c_.)*(x_)]*(b_.))^(p_)*(x_)^(m_.), x_Symbol] :> Dist[1/c^(m + 1), Subst[Int[E^((m + 1)*x)*(a
 + b*x)^p, x], x, Log[c*x]], x] /; FreeQ[{a, b, c, p}, x] && IntegerQ[m]

Rule 6742

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

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=\frac {\int \frac {-x+2 x \log (4 x)+(5-18 x) \log ^2(4 x)}{\log ^2(4 x)} \, dx}{5 \log (4)}\\ &=\frac {\int \left (5-18 x-\frac {x}{\log ^2(4 x)}+\frac {2 x}{\log (4 x)}\right ) \, dx}{5 \log (4)}\\ &=\frac {x}{\log (4)}-\frac {9 x^2}{5 \log (4)}-\frac {\int \frac {x}{\log ^2(4 x)} \, dx}{5 \log (4)}+\frac {2 \int \frac {x}{\log (4 x)} \, dx}{5 \log (4)}\\ &=\frac {x}{\log (4)}-\frac {9 x^2}{5 \log (4)}+\frac {x^2}{5 \log (4) \log (4 x)}+\frac {\operatorname {Subst}\left (\int \frac {e^{2 x}}{x} \, dx,x,\log (4 x)\right )}{40 \log (4)}-\frac {2 \int \frac {x}{\log (4 x)} \, dx}{5 \log (4)}\\ &=\frac {x}{\log (4)}-\frac {9 x^2}{5 \log (4)}+\frac {\text {Ei}(2 \log (4 x))}{40 \log (4)}+\frac {x^2}{5 \log (4) \log (4 x)}-\frac {\operatorname {Subst}\left (\int \frac {e^{2 x}}{x} \, dx,x,\log (4 x)\right )}{40 \log (4)}\\ &=\frac {x}{\log (4)}-\frac {9 x^2}{5 \log (4)}+\frac {x^2}{5 \log (4) \log (4 x)}\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.13, size = 27, normalized size = 1.23 \begin {gather*} \frac {5 x-9 x^2+\frac {x^2}{\log (4 x)}}{5 \log (4)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(-x + 2*x*Log[4*x] + (5 - 18*x)*Log[4*x]^2)/(5*Log[4]*Log[4*x]^2),x]

[Out]

(5*x - 9*x^2 + x^2/Log[4*x])/(5*Log[4])

________________________________________________________________________________________

fricas [A]  time = 0.47, size = 31, normalized size = 1.41 \begin {gather*} \frac {x^{2} - {\left (9 \, x^{2} - 5 \, x\right )} \log \left (4 \, x\right )}{10 \, \log \relax (2) \log \left (4 \, x\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/10*((-18*x+5)*log(4*x)^2+2*x*log(4*x)-x)/log(2)/log(4*x)^2,x, algorithm="fricas")

[Out]

1/10*(x^2 - (9*x^2 - 5*x)*log(4*x))/(log(2)*log(4*x))

________________________________________________________________________________________

giac [A]  time = 0.29, size = 26, normalized size = 1.18 \begin {gather*} -\frac {9 \, x^{2} - 5 \, x - \frac {x^{2}}{\log \left (4 \, x\right )}}{10 \, \log \relax (2)} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/10*((-18*x+5)*log(4*x)^2+2*x*log(4*x)-x)/log(2)/log(4*x)^2,x, algorithm="giac")

[Out]

-1/10*(9*x^2 - 5*x - x^2/log(4*x))/log(2)

________________________________________________________________________________________

maple [A]  time = 0.09, size = 26, normalized size = 1.18




method result size



default \(\frac {-9 x^{2}+5 x +\frac {x^{2}}{\ln \left (4 x \right )}}{10 \ln \relax (2)}\) \(26\)
derivativedivides \(\frac {-144 x^{2}+80 x +\frac {16 x^{2}}{\ln \left (4 x \right )}}{160 \ln \relax (2)}\) \(27\)
risch \(-\frac {9 x^{2}}{10 \ln \relax (2)}+\frac {x}{2 \ln \relax (2)}+\frac {x^{2}}{10 \ln \relax (2) \ln \left (4 x \right )}\) \(33\)
norman \(\frac {\frac {x^{2}}{10 \ln \relax (2)}+\frac {x \ln \left (4 x \right )}{2 \ln \relax (2)}-\frac {9 x^{2} \ln \left (4 x \right )}{10 \ln \relax (2)}}{\ln \left (4 x \right )}\) \(42\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/10*((-18*x+5)*ln(4*x)^2+2*x*ln(4*x)-x)/ln(2)/ln(4*x)^2,x,method=_RETURNVERBOSE)

[Out]

1/10/ln(2)*(-9*x^2+5*x+x^2/ln(4*x))

________________________________________________________________________________________

maxima [C]  time = 0.37, size = 32, normalized size = 1.45 \begin {gather*} -\frac {72 \, x^{2} - 40 \, x - {\rm Ei}\left (2 \, \log \left (4 \, x\right )\right ) + \Gamma \left (-1, -2 \, \log \left (4 \, x\right )\right )}{80 \, \log \relax (2)} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/10*((-18*x+5)*log(4*x)^2+2*x*log(4*x)-x)/log(2)/log(4*x)^2,x, algorithm="maxima")

[Out]

-1/80*(72*x^2 - 40*x - Ei(2*log(4*x)) + gamma(-1, -2*log(4*x)))/log(2)

________________________________________________________________________________________

mupad [B]  time = 3.39, size = 28, normalized size = 1.27 \begin {gather*} \frac {x^2}{10\,\ln \left (4\,x\right )\,\ln \relax (2)}-\frac {x\,\left (9\,x-5\right )}{10\,\ln \relax (2)} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(x/10 - (x*log(4*x))/5 + (log(4*x)^2*(18*x - 5))/10)/(log(4*x)^2*log(2)),x)

[Out]

x^2/(10*log(4*x)*log(2)) - (x*(9*x - 5))/(10*log(2))

________________________________________________________________________________________

sympy [A]  time = 0.11, size = 29, normalized size = 1.32 \begin {gather*} - \frac {9 x^{2}}{10 \log {\relax (2 )}} + \frac {x^{2}}{10 \log {\relax (2 )} \log {\left (4 x \right )}} + \frac {x}{2 \log {\relax (2 )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/10*((-18*x+5)*ln(4*x)**2+2*x*ln(4*x)-x)/ln(2)/ln(4*x)**2,x)

[Out]

-9*x**2/(10*log(2)) + x**2/(10*log(2)*log(4*x)) + x/(2*log(2))

________________________________________________________________________________________