3.25.8 \(\int \frac {x^4 (3+x^5)}{\sqrt {1+x^5} (-1+a-(1+2 a) x^5+a x^{10})} \, dx\)

Optimal. Leaf size=193 \[ \frac {\sqrt {2} \left (8 a+\sqrt {8 a+1}+1\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {a} \sqrt {x^5+1}}{\sqrt {-4 a-\sqrt {8 a+1}-1}}\right )}{5 \sqrt {a} \sqrt {8 a+1} \sqrt {-4 a-\sqrt {8 a+1}-1}}+\frac {\sqrt {2} \left (-8 a+\sqrt {8 a+1}-1\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {a} \sqrt {x^5+1}}{\sqrt {-4 a+\sqrt {8 a+1}-1}}\right )}{5 \sqrt {a} \sqrt {8 a+1} \sqrt {-4 a+\sqrt {8 a+1}-1}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.47, antiderivative size = 73, normalized size of antiderivative = 0.38, number of steps used = 7, number of rules used = 5, integrand size = 38, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.132, Rules used = {6715, 826, 1161, 618, 206} \begin {gather*} \frac {2 \tanh ^{-1}\left (\sqrt {8 a+1}-2 \sqrt {a} \sqrt {x^5+1}\right )}{5 \sqrt {a}}-\frac {2 \tanh ^{-1}\left (2 \sqrt {a} \sqrt {x^5+1}+\sqrt {8 a+1}\right )}{5 \sqrt {a}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(x^4*(3 + x^5))/(Sqrt[1 + x^5]*(-1 + a - (1 + 2*a)*x^5 + a*x^10)),x]

[Out]

(2*ArcTanh[Sqrt[1 + 8*a] - 2*Sqrt[a]*Sqrt[1 + x^5]])/(5*Sqrt[a]) - (2*ArcTanh[Sqrt[1 + 8*a] + 2*Sqrt[a]*Sqrt[1
 + x^5]])/(5*Sqrt[a])

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 618

Int[((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> Dist[-2, Subst[Int[1/Simp[b^2 - 4*a*c - x^2, x], x]
, x, b + 2*c*x], x] /; FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 826

Int[((f_.) + (g_.)*(x_))/(Sqrt[(d_.) + (e_.)*(x_)]*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)), x_Symbol] :> Dist[2,
Subst[Int[(e*f - d*g + g*x^2)/(c*d^2 - b*d*e + a*e^2 - (2*c*d - b*e)*x^2 + c*x^4), x], x, Sqrt[d + e*x]], x] /
; FreeQ[{a, b, c, d, e, f, g}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0]

Rule 1161

Int[((d_) + (e_.)*(x_)^2)/((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[(2*d)/e - b/c, 2]},
Dist[e/(2*c), Int[1/Simp[d/e + q*x + x^2, x], x], x] + Dist[e/(2*c), Int[1/Simp[d/e - q*x + x^2, x], x], x]] /
; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && EqQ[c*d^2 - a*e^2, 0] && (GtQ[(2*d)/e - b/c, 0] || ( !Lt
Q[(2*d)/e - b/c, 0] && EqQ[d - e*Rt[a/c, 2], 0]))

Rule 6715

Int[(u_)*(x_)^(m_.), x_Symbol] :> Dist[1/(m + 1), Subst[Int[SubstFor[x^(m + 1), u, x], x], x, x^(m + 1)], x] /
; FreeQ[m, x] && NeQ[m, -1] && FunctionOfQ[x^(m + 1), u, x]

Rubi steps

\begin {align*} \int \frac {x^4 \left (3+x^5\right )}{\sqrt {1+x^5} \left (-1+a-(1+2 a) x^5+a x^{10}\right )} \, dx &=\frac {1}{5} \operatorname {Subst}\left (\int \frac {3+x}{\sqrt {1+x} \left (-1+a+(-1-2 a) x+a x^2\right )} \, dx,x,x^5\right )\\ &=\frac {2}{5} \operatorname {Subst}\left (\int \frac {2+x^2}{4 a+(-1-4 a) x^2+a x^4} \, dx,x,\sqrt {1+x^5}\right )\\ &=\frac {\operatorname {Subst}\left (\int \frac {1}{2-\frac {\sqrt {1+8 a} x}{\sqrt {a}}+x^2} \, dx,x,\sqrt {1+x^5}\right )}{5 a}+\frac {\operatorname {Subst}\left (\int \frac {1}{2+\frac {\sqrt {1+8 a} x}{\sqrt {a}}+x^2} \, dx,x,\sqrt {1+x^5}\right )}{5 a}\\ &=-\frac {2 \operatorname {Subst}\left (\int \frac {1}{\frac {1}{a}-x^2} \, dx,x,-\frac {\sqrt {1+8 a}}{\sqrt {a}}+2 \sqrt {1+x^5}\right )}{5 a}-\frac {2 \operatorname {Subst}\left (\int \frac {1}{\frac {1}{a}-x^2} \, dx,x,\frac {\sqrt {1+8 a}}{\sqrt {a}}+2 \sqrt {1+x^5}\right )}{5 a}\\ &=\frac {2 \tanh ^{-1}\left (\sqrt {a} \left (\frac {\sqrt {1+8 a}}{\sqrt {a}}-2 \sqrt {1+x^5}\right )\right )}{5 \sqrt {a}}-\frac {2 \tanh ^{-1}\left (\sqrt {a} \left (\frac {\sqrt {1+8 a}}{\sqrt {a}}+2 \sqrt {1+x^5}\right )\right )}{5 \sqrt {a}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.21, size = 158, normalized size = 0.82 \begin {gather*} \frac {\sqrt {4 a-\sqrt {8 a+1}+1} \left (\sqrt {8 a+1}+1\right ) \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {a} \sqrt {x^5+1}}{\sqrt {4 a-\sqrt {8 a+1}+1}}\right )-\left (\sqrt {8 a+1}-1\right ) \sqrt {4 a+\sqrt {8 a+1}+1} \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {a} \sqrt {x^5+1}}{\sqrt {4 a+\sqrt {8 a+1}+1}}\right )}{10 \sqrt {2} a^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(x^4*(3 + x^5))/(Sqrt[1 + x^5]*(-1 + a - (1 + 2*a)*x^5 + a*x^10)),x]

[Out]

(Sqrt[1 + 4*a - Sqrt[1 + 8*a]]*(1 + Sqrt[1 + 8*a])*ArcTanh[(Sqrt[2]*Sqrt[a]*Sqrt[1 + x^5])/Sqrt[1 + 4*a - Sqrt
[1 + 8*a]]] - (-1 + Sqrt[1 + 8*a])*Sqrt[1 + 4*a + Sqrt[1 + 8*a]]*ArcTanh[(Sqrt[2]*Sqrt[a]*Sqrt[1 + x^5])/Sqrt[
1 + 4*a + Sqrt[1 + 8*a]]])/(10*Sqrt[2]*a^(3/2))

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.32, size = 193, normalized size = 1.00 \begin {gather*} \frac {\sqrt {2} \left (1+8 a+\sqrt {1+8 a}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {a} \sqrt {1+x^5}}{\sqrt {-1-4 a-\sqrt {1+8 a}}}\right )}{5 \sqrt {a} \sqrt {1+8 a} \sqrt {-1-4 a-\sqrt {1+8 a}}}+\frac {\sqrt {2} \left (-1-8 a+\sqrt {1+8 a}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {a} \sqrt {1+x^5}}{\sqrt {-1-4 a+\sqrt {1+8 a}}}\right )}{5 \sqrt {a} \sqrt {1+8 a} \sqrt {-1-4 a+\sqrt {1+8 a}}} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[(x^4*(3 + x^5))/(Sqrt[1 + x^5]*(-1 + a - (1 + 2*a)*x^5 + a*x^10)),x]

[Out]

(Sqrt[2]*(1 + 8*a + Sqrt[1 + 8*a])*ArcTan[(Sqrt[2]*Sqrt[a]*Sqrt[1 + x^5])/Sqrt[-1 - 4*a - Sqrt[1 + 8*a]]])/(5*
Sqrt[a]*Sqrt[1 + 8*a]*Sqrt[-1 - 4*a - Sqrt[1 + 8*a]]) + (Sqrt[2]*(-1 - 8*a + Sqrt[1 + 8*a])*ArcTan[(Sqrt[2]*Sq
rt[a]*Sqrt[1 + x^5])/Sqrt[-1 - 4*a + Sqrt[1 + 8*a]]])/(5*Sqrt[a]*Sqrt[1 + 8*a]*Sqrt[-1 - 4*a + Sqrt[1 + 8*a]])

________________________________________________________________________________________

fricas [A]  time = 0.50, size = 92, normalized size = 0.48 \begin {gather*} \left [\frac {\log \left (\frac {a x^{10} - {\left (2 \, a - 1\right )} x^{5} - 2 \, \sqrt {x^{5} + 1} {\left (x^{5} - 1\right )} \sqrt {a} + a + 1}{a x^{10} - {\left (2 \, a + 1\right )} x^{5} + a - 1}\right )}{5 \, \sqrt {a}}, \frac {2 \, \sqrt {-a} \arctan \left (\frac {{\left (x^{5} - 1\right )} \sqrt {-a}}{\sqrt {x^{5} + 1}}\right )}{5 \, a}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

[1/5*log((a*x^10 - (2*a - 1)*x^5 - 2*sqrt(x^5 + 1)*(x^5 - 1)*sqrt(a) + a + 1)/(a*x^10 - (2*a + 1)*x^5 + a - 1)
)/sqrt(a), 2/5*sqrt(-a)*arctan((x^5 - 1)*sqrt(-a)/sqrt(x^5 + 1))/a]

________________________________________________________________________________________

giac [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Exception raised: TypeError >> An error occurred running a Giac command:INPUT:sage2:=int(sage0,x):;OUTPUT:a: r
ecursive definition (in sto)  Error: Bad Argument ValueWarning, need to choose a branch for the root of a poly
nomial with parameters. This might be wrong.The choice was done assuming [a]=[6]a: recursive definition (in st
o)  Error: Bad Argument ValueWarning, need to choose a branch for the root of a polynomial with parameters. Th
is might be wrong.The choice was done assuming [a]=[-31]a: recursive definition (in sto)  Error: Bad Argument
ValueWarning, need to choose a branch for the root of a polynomial with parameters. This might be wrong.The ch
oice was done assuming [a]=[-5]Warning, choosing root of [1,0,%%%{16,[2]%%%}+%%%{-12,[1]%%%}+%%%{-2,[0]%%%},%%
%{64,[2]%%%}+%%%{8,[1]%%%},%%%{64,[4]%%%}+%%%{128,[3]%%%}+%%%{112,[2]%%%}+%%%{20,[1]%%%}+%%%{1,[0]%%%}] at par
ameters values [-86]a: recursive definition (in sto)  Error: Bad Argument ValueWarning, need to choose a branc
h for the root of a polynomial with parameters. This might be wrong.The choice was done assuming [a]=[-96]Done

________________________________________________________________________________________

maple [F]  time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {x^{4} \left (x^{5}+3\right )}{\sqrt {x^{5}+1}\, \left (-1+a -\left (1+2 a \right ) x^{5}+a \,x^{10}\right )}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^4*(x^5+3)/(x^5+1)^(1/2)/(-1+a-(1+2*a)*x^5+a*x^10),x)

[Out]

int(x^4*(x^5+3)/(x^5+1)^(1/2)/(-1+a-(1+2*a)*x^5+a*x^10),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {{\left (x^{5} + 3\right )} x^{4}}{{\left (a x^{10} - {\left (2 \, a + 1\right )} x^{5} + a - 1\right )} \sqrt {x^{5} + 1}}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate((x^5 + 3)*x^4/((a*x^10 - (2*a + 1)*x^5 + a - 1)*sqrt(x^5 + 1)), x)

________________________________________________________________________________________

mupad [B]  time = 2.67, size = 73, normalized size = 0.38 \begin {gather*} \frac {\ln \left (\frac {a-2\,a\,x^5+a\,x^{10}+2\,\sqrt {a}\,\sqrt {x^5+1}+x^5-2\,\sqrt {a}\,x^5\,\sqrt {x^5+1}+1}{2\,a\,x^5-a-a\,x^{10}+x^5+1}\right )}{5\,\sqrt {a}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^4*(x^5 + 3))/((x^5 + 1)^(1/2)*(a - x^5*(2*a + 1) + a*x^10 - 1)),x)

[Out]

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

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**4*(x**5+3)/(x**5+1)**(1/2)/(-1+a-(1+2*a)*x**5+a*x**10),x)

[Out]

Timed out

________________________________________________________________________________________