3.58.12 \(\int \frac {9+24 x^2}{4 x^2} \, dx\)

Optimal. Leaf size=31 \[ 3 \left (6+2 x+\frac {\frac {1}{4} (-3-x)+\frac {3 x}{\left (-1+e^4\right )^2}}{x}\right ) \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 11, normalized size of antiderivative = 0.35, number of steps used = 3, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {12, 14} \begin {gather*} 6 x-\frac {9}{4 x} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(9 + 24*x^2)/(4*x^2),x]

[Out]

-9/(4*x) + 6*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 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 {gather*} \begin {aligned} \text {integral} &=\frac {1}{4} \int \frac {9+24 x^2}{x^2} \, dx\\ &=\frac {1}{4} \int \left (24+\frac {9}{x^2}\right ) \, dx\\ &=-\frac {9}{4 x}+6 x\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 11, normalized size = 0.35 \begin {gather*} -\frac {9}{4 x}+6 x \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(9 + 24*x^2)/(4*x^2),x]

[Out]

-9/(4*x) + 6*x

________________________________________________________________________________________

fricas [A]  time = 0.58, size = 12, normalized size = 0.39 \begin {gather*} \frac {3 \, {\left (8 \, x^{2} - 3\right )}}{4 \, x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/4*(24*x^2+9)/x^2,x, algorithm="fricas")

[Out]

3/4*(8*x^2 - 3)/x

________________________________________________________________________________________

giac [A]  time = 0.11, size = 9, normalized size = 0.29 \begin {gather*} 6 \, x - \frac {9}{4 \, x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/4*(24*x^2+9)/x^2,x, algorithm="giac")

[Out]

6*x - 9/4/x

________________________________________________________________________________________

maple [A]  time = 0.02, size = 10, normalized size = 0.32




method result size



default \(6 x -\frac {9}{4 x}\) \(10\)
risch \(6 x -\frac {9}{4 x}\) \(10\)
norman \(\frac {-\frac {9}{4}+6 x^{2}}{x}\) \(12\)
gosper \(\frac {-\frac {9}{4}+6 x^{2}}{x}\) \(13\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/4*(24*x^2+9)/x^2,x,method=_RETURNVERBOSE)

[Out]

6*x-9/4/x

________________________________________________________________________________________

maxima [A]  time = 0.35, size = 9, normalized size = 0.29 \begin {gather*} 6 \, x - \frac {9}{4 \, x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/4*(24*x^2+9)/x^2,x, algorithm="maxima")

[Out]

6*x - 9/4/x

________________________________________________________________________________________

mupad [B]  time = 0.02, size = 9, normalized size = 0.29 \begin {gather*} 6\,x-\frac {9}{4\,x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((6*x^2 + 9/4)/x^2,x)

[Out]

6*x - 9/(4*x)

________________________________________________________________________________________

sympy [A]  time = 0.06, size = 7, normalized size = 0.23 \begin {gather*} 6 x - \frac {9}{4 x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/4*(24*x**2+9)/x**2,x)

[Out]

6*x - 9/(4*x)

________________________________________________________________________________________