3.5.5 \(\int \frac {75 x^2+5 x^4}{25+10 x^2+x^4} \, dx\)

Optimal. Leaf size=17 \[ 2+\frac {x^3}{1+\frac {x^2}{5}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 12, normalized size of antiderivative = 0.71, number of steps used = 2, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {28, 1588} \begin {gather*} \frac {5 x^3}{x^2+5} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(75*x^2 + 5*x^4)/(25 + 10*x^2 + x^4),x]

[Out]

(5*x^3)/(5 + x^2)

Rule 28

Int[(u_.)*((a_) + (c_.)*(x_)^(n2_.) + (b_.)*(x_)^(n_))^(p_.), x_Symbol] :> Dist[1/c^p, Int[u*(b/2 + c*x^n)^(2*
p), x], x] /; FreeQ[{a, b, c, n}, x] && EqQ[n2, 2*n] && EqQ[b^2 - 4*a*c, 0] && IntegerQ[p]

Rule 1588

Int[(Pp_)*(Qq_)^(m_.), x_Symbol] :> With[{p = Expon[Pp, x], q = Expon[Qq, x]}, Simp[(Coeff[Pp, x, p]*x^(p - q
+ 1)*Qq^(m + 1))/((p + m*q + 1)*Coeff[Qq, x, q]), x] /; NeQ[p + m*q + 1, 0] && EqQ[(p + m*q + 1)*Coeff[Qq, x,
q]*Pp, Coeff[Pp, x, p]*x^(p - q)*((p - q + 1)*Qq + (m + 1)*x*D[Qq, x])]] /; FreeQ[m, x] && PolyQ[Pp, x] && Pol
yQ[Qq, x] && NeQ[m, -1]

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {75 x^2+5 x^4}{\left (5+x^2\right )^2} \, dx\\ &=\frac {5 x^3}{5+x^2}\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 14, normalized size = 0.82 \begin {gather*} 5 \left (x-\frac {5 x}{5+x^2}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(75*x^2 + 5*x^4)/(25 + 10*x^2 + x^4),x]

[Out]

5*(x - (5*x)/(5 + x^2))

________________________________________________________________________________________

fricas [A]  time = 0.57, size = 12, normalized size = 0.71 \begin {gather*} \frac {5 \, x^{3}}{x^{2} + 5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((5*x^4+75*x^2)/(x^4+10*x^2+25),x, algorithm="fricas")

[Out]

5*x^3/(x^2 + 5)

________________________________________________________________________________________

giac [A]  time = 0.28, size = 14, normalized size = 0.82 \begin {gather*} 5 \, x - \frac {25 \, x}{x^{2} + 5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((5*x^4+75*x^2)/(x^4+10*x^2+25),x, algorithm="giac")

[Out]

5*x - 25*x/(x^2 + 5)

________________________________________________________________________________________

maple [A]  time = 0.02, size = 13, normalized size = 0.76




method result size



gosper \(\frac {5 x^{3}}{x^{2}+5}\) \(13\)
norman \(\frac {5 x^{3}}{x^{2}+5}\) \(13\)
default \(5 x -\frac {25 x}{x^{2}+5}\) \(15\)
risch \(5 x -\frac {25 x}{x^{2}+5}\) \(15\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int((5*x^4+75*x^2)/(x^4+10*x^2+25),x,method=_RETURNVERBOSE)

[Out]

5*x^3/(x^2+5)

________________________________________________________________________________________

maxima [A]  time = 0.44, size = 14, normalized size = 0.82 \begin {gather*} 5 \, x - \frac {25 \, x}{x^{2} + 5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((5*x^4+75*x^2)/(x^4+10*x^2+25),x, algorithm="maxima")

[Out]

5*x - 25*x/(x^2 + 5)

________________________________________________________________________________________

mupad [B]  time = 0.40, size = 12, normalized size = 0.71 \begin {gather*} \frac {5\,x^3}{x^2+5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((75*x^2 + 5*x^4)/(10*x^2 + x^4 + 25),x)

[Out]

(5*x^3)/(x^2 + 5)

________________________________________________________________________________________

sympy [A]  time = 0.08, size = 10, normalized size = 0.59 \begin {gather*} 5 x - \frac {25 x}{x^{2} + 5} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((5*x**4+75*x**2)/(x**4+10*x**2+25),x)

[Out]

5*x - 25*x/(x**2 + 5)

________________________________________________________________________________________