\(\int \frac {(1-2 x^2) \log (5)}{4 x^2} \, dx\) [1423]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [A] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 16, antiderivative size = 28 \[ \int \frac {\left (1-2 x^2\right ) \log (5)}{4 x^2} \, dx=\frac {1}{2} \left (-\frac {10-4 x}{20 x}-x-\log (2)+\log (4)\right ) \log (5) \]

[Out]

1/2*(ln(2)-1/20*(10-4*x)/x-x)*ln(5)

Rubi [A] (verified)

Time = 0.00 (sec) , antiderivative size = 17, normalized size of antiderivative = 0.61, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {12, 14} \[ \int \frac {\left (1-2 x^2\right ) \log (5)}{4 x^2} \, dx=-\frac {1}{2} x \log (5)-\frac {\log (5)}{4 x} \]

[In]

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

[Out]

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

Rule 12

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

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rubi steps \begin{align*} \text {integral}& = \frac {1}{4} \log (5) \int \frac {1-2 x^2}{x^2} \, dx \\ & = \frac {1}{4} \log (5) \int \left (-2+\frac {1}{x^2}\right ) \, dx \\ & = -\frac {\log (5)}{4 x}-\frac {1}{2} x \log (5) \\ \end{align*}

Mathematica [A] (verified)

Time = 0.00 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.54 \[ \int \frac {\left (1-2 x^2\right ) \log (5)}{4 x^2} \, dx=\frac {1}{4} \left (-\frac {1}{x}-2 x\right ) \log (5) \]

[In]

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

[Out]

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

Maple [A] (verified)

Time = 0.04 (sec) , antiderivative size = 14, normalized size of antiderivative = 0.50

method result size
default \(\frac {\ln \left (5\right ) \left (-2 x -\frac {1}{x}\right )}{4}\) \(14\)
risch \(-\frac {x \ln \left (5\right )}{2}-\frac {\ln \left (5\right )}{4 x}\) \(14\)
gosper \(-\frac {\ln \left (5\right ) \left (2 x^{2}+1\right )}{4 x}\) \(15\)
parallelrisch \(-\frac {\ln \left (5\right ) \left (2 x^{2}+1\right )}{4 x}\) \(15\)
norman \(\frac {-\frac {x^{2} \ln \left (5\right )}{2}-\frac {\ln \left (5\right )}{4}}{x}\) \(17\)

[In]

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

[Out]

1/4*ln(5)*(-2*x-1/x)

Fricas [A] (verification not implemented)

none

Time = 0.25 (sec) , antiderivative size = 14, normalized size of antiderivative = 0.50 \[ \int \frac {\left (1-2 x^2\right ) \log (5)}{4 x^2} \, dx=-\frac {{\left (2 \, x^{2} + 1\right )} \log \left (5\right )}{4 \, x} \]

[In]

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

[Out]

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

Sympy [A] (verification not implemented)

Time = 0.04 (sec) , antiderivative size = 14, normalized size of antiderivative = 0.50 \[ \int \frac {\left (1-2 x^2\right ) \log (5)}{4 x^2} \, dx=- \frac {x \log {\left (5 \right )}}{2} - \frac {\log {\left (5 \right )}}{4 x} \]

[In]

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

[Out]

-x*log(5)/2 - log(5)/(4*x)

Maxima [A] (verification not implemented)

none

Time = 0.17 (sec) , antiderivative size = 11, normalized size of antiderivative = 0.39 \[ \int \frac {\left (1-2 x^2\right ) \log (5)}{4 x^2} \, dx=-\frac {1}{4} \, {\left (2 \, x + \frac {1}{x}\right )} \log \left (5\right ) \]

[In]

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

[Out]

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

Giac [A] (verification not implemented)

none

Time = 0.27 (sec) , antiderivative size = 11, normalized size of antiderivative = 0.39 \[ \int \frac {\left (1-2 x^2\right ) \log (5)}{4 x^2} \, dx=-\frac {1}{4} \, {\left (2 \, x + \frac {1}{x}\right )} \log \left (5\right ) \]

[In]

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

[Out]

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

Mupad [B] (verification not implemented)

Time = 0.04 (sec) , antiderivative size = 14, normalized size of antiderivative = 0.50 \[ \int \frac {\left (1-2 x^2\right ) \log (5)}{4 x^2} \, dx=-\frac {\ln \left (5\right )\,\left (2\,x^2+1\right )}{4\,x} \]

[In]

int(-(log(5)*(2*x^2 - 1))/(4*x^2),x)

[Out]

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