\(\int \frac {\sqrt [4]{b x^2+a x^4} (-b+2 a x^4)}{-2 b+a x^4} \, dx\) [2160]

Optimal result
Mathematica [A] (verified)
Rubi [A] (warning: unable to verify)
Maple [N/A] (verified)
Fricas [F(-1)]
Sympy [N/A]
Maxima [N/A]
Giac [N/A]
Mupad [N/A]
Reduce [N/A]

Optimal result

Integrand size = 37, antiderivative size = 158 \[ \int \frac {\sqrt [4]{b x^2+a x^4} \left (-b+2 a x^4\right )}{-2 b+a x^4} \, dx=x \sqrt [4]{b x^2+a x^4}-\frac {b \arctan \left (\frac {\sqrt [4]{a} x}{\sqrt [4]{b x^2+a x^4}}\right )}{2 a^{3/4}}+\frac {b \text {arctanh}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{b x^2+a x^4}}\right )}{2 a^{3/4}}+\frac {3}{8} b \text {RootSum}\left [2 a^2-a b-4 a \text {$\#$1}^4+2 \text {$\#$1}^8\&,\frac {-\log (x) \text {$\#$1}+\log \left (\sqrt [4]{b x^2+a x^4}-x \text {$\#$1}\right ) \text {$\#$1}}{-a+\text {$\#$1}^4}\&\right ] \] Output:

Unintegrable
 

Mathematica [A] (verified)

Time = 0.59 (sec) , antiderivative size = 197, normalized size of antiderivative = 1.25 \[ \int \frac {\sqrt [4]{b x^2+a x^4} \left (-b+2 a x^4\right )}{-2 b+a x^4} \, dx=\frac {x^{3/2} \left (b+a x^2\right )^{3/4} \left (8 a^{3/4} x^{3/2} \sqrt [4]{b+a x^2}-4 b \arctan \left (\frac {\sqrt [4]{a} \sqrt {x}}{\sqrt [4]{b+a x^2}}\right )+4 b \text {arctanh}\left (\frac {\sqrt [4]{a} \sqrt {x}}{\sqrt [4]{b+a x^2}}\right )+3 a^{3/4} b \text {RootSum}\left [2 a^2-a b-4 a \text {$\#$1}^4+2 \text {$\#$1}^8\&,\frac {-\log \left (\sqrt {x}\right ) \text {$\#$1}+\log \left (\sqrt [4]{b+a x^2}-\sqrt {x} \text {$\#$1}\right ) \text {$\#$1}}{-a+\text {$\#$1}^4}\&\right ]\right )}{8 a^{3/4} \left (x^2 \left (b+a x^2\right )\right )^{3/4}} \] Input:

Integrate[((b*x^2 + a*x^4)^(1/4)*(-b + 2*a*x^4))/(-2*b + a*x^4),x]
 

Output:

(x^(3/2)*(b + a*x^2)^(3/4)*(8*a^(3/4)*x^(3/2)*(b + a*x^2)^(1/4) - 4*b*ArcT 
an[(a^(1/4)*Sqrt[x])/(b + a*x^2)^(1/4)] + 4*b*ArcTanh[(a^(1/4)*Sqrt[x])/(b 
 + a*x^2)^(1/4)] + 3*a^(3/4)*b*RootSum[2*a^2 - a*b - 4*a*#1^4 + 2*#1^8 & , 
 (-(Log[Sqrt[x]]*#1) + Log[(b + a*x^2)^(1/4) - Sqrt[x]*#1]*#1)/(-a + #1^4) 
 & ]))/(8*a^(3/4)*(x^2*(b + a*x^2))^(3/4))
 

Rubi [A] (warning: unable to verify)

Time = 1.24 (sec) , antiderivative size = 267, normalized size of antiderivative = 1.69, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.108, Rules used = {2467, 2035, 7276, 2009}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {\sqrt [4]{a x^4+b x^2} \left (2 a x^4-b\right )}{a x^4-2 b} \, dx\)

\(\Big \downarrow \) 2467

\(\displaystyle \frac {\sqrt [4]{a x^4+b x^2} \int \frac {\sqrt {x} \sqrt [4]{a x^2+b} \left (b-2 a x^4\right )}{2 b-a x^4}dx}{\sqrt {x} \sqrt [4]{a x^2+b}}\)

\(\Big \downarrow \) 2035

\(\displaystyle \frac {2 \sqrt [4]{a x^4+b x^2} \int \frac {x \sqrt [4]{a x^2+b} \left (b-2 a x^4\right )}{2 b-a x^4}d\sqrt {x}}{\sqrt {x} \sqrt [4]{a x^2+b}}\)

\(\Big \downarrow \) 7276

\(\displaystyle \frac {2 \sqrt [4]{a x^4+b x^2} \int \left (2 x \sqrt [4]{a x^2+b}-\frac {3 b x \sqrt [4]{a x^2+b}}{2 b-a x^4}\right )d\sqrt {x}}{\sqrt {x} \sqrt [4]{a x^2+b}}\)

\(\Big \downarrow \) 2009

\(\displaystyle \frac {2 \sqrt [4]{a x^4+b x^2} \left (-\frac {b \arctan \left (\frac {\sqrt [4]{a} \sqrt {x}}{\sqrt [4]{a x^2+b}}\right )}{4 a^{3/4}}+\frac {b \text {arctanh}\left (\frac {\sqrt [4]{a} \sqrt {x}}{\sqrt [4]{a x^2+b}}\right )}{4 a^{3/4}}-\frac {x^{3/2} \sqrt [4]{a x^2+b} \operatorname {AppellF1}\left (\frac {3}{4},1,-\frac {1}{4},\frac {7}{4},-\frac {\sqrt {a} x^2}{\sqrt {2} \sqrt {b}},-\frac {a x^2}{b}\right )}{4 \sqrt [4]{\frac {a x^2}{b}+1}}-\frac {x^{3/2} \sqrt [4]{a x^2+b} \operatorname {AppellF1}\left (\frac {3}{4},1,-\frac {1}{4},\frac {7}{4},\frac {\sqrt {a} x^2}{\sqrt {2} \sqrt {b}},-\frac {a x^2}{b}\right )}{4 \sqrt [4]{\frac {a x^2}{b}+1}}+\frac {1}{2} x^{3/2} \sqrt [4]{a x^2+b}\right )}{\sqrt {x} \sqrt [4]{a x^2+b}}\)

Input:

Int[((b*x^2 + a*x^4)^(1/4)*(-b + 2*a*x^4))/(-2*b + a*x^4),x]
 

Output:

(2*(b*x^2 + a*x^4)^(1/4)*((x^(3/2)*(b + a*x^2)^(1/4))/2 - (x^(3/2)*(b + a* 
x^2)^(1/4)*AppellF1[3/4, 1, -1/4, 7/4, -((Sqrt[a]*x^2)/(Sqrt[2]*Sqrt[b])), 
 -((a*x^2)/b)])/(4*(1 + (a*x^2)/b)^(1/4)) - (x^(3/2)*(b + a*x^2)^(1/4)*App 
ellF1[3/4, 1, -1/4, 7/4, (Sqrt[a]*x^2)/(Sqrt[2]*Sqrt[b]), -((a*x^2)/b)])/( 
4*(1 + (a*x^2)/b)^(1/4)) - (b*ArcTan[(a^(1/4)*Sqrt[x])/(b + a*x^2)^(1/4)]) 
/(4*a^(3/4)) + (b*ArcTanh[(a^(1/4)*Sqrt[x])/(b + a*x^2)^(1/4)])/(4*a^(3/4) 
)))/(Sqrt[x]*(b + a*x^2)^(1/4))
 

Defintions of rubi rules used

rule 2009
Int[u_, x_Symbol] :> Simp[IntSum[u, x], x] /; SumQ[u]
 

rule 2035
Int[(Fx_)*(x_)^(m_), x_Symbol] :> With[{k = Denominator[m]}, Simp[k   Subst 
[Int[x^(k*(m + 1) - 1)*SubstPower[Fx, x, k], x], x, x^(1/k)], x]] /; Fracti 
onQ[m] && AlgebraicFunctionQ[Fx, x]
 

rule 2467
Int[(Fx_.)*(Px_)^(p_), x_Symbol] :> With[{r = Expon[Px, x, Min]}, Simp[Px^F 
racPart[p]/(x^(r*FracPart[p])*ExpandToSum[Px/x^r, x]^FracPart[p])   Int[x^( 
p*r)*ExpandToSum[Px/x^r, x]^p*Fx, x], x] /; IGtQ[r, 0]] /; FreeQ[p, x] && P 
olyQ[Px, x] &&  !IntegerQ[p] &&  !MonomialQ[Px, x] &&  !PolyQ[Fx, x]
 

rule 7276
Int[(u_)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> With[{v = RationalFunctionE 
xpand[u/(a + b*x^n), x]}, Int[v, x] /; SumQ[v]] /; FreeQ[{a, b}, x] && IGtQ 
[n, 0]
 
Maple [N/A] (verified)

Time = 0.61 (sec) , antiderivative size = 161, normalized size of antiderivative = 1.02

method result size
pseudoelliptic \(\frac {3 \left (\munderset {\textit {\_R} =\operatorname {RootOf}\left (2 \textit {\_Z}^{8}-4 a \,\textit {\_Z}^{4}+2 a^{2}-a b \right )}{\sum }\frac {\textit {\_R} \ln \left (\frac {-\textit {\_R} x +\left (x^{2} \left (a \,x^{2}+b \right )\right )^{\frac {1}{4}}}{x}\right )}{\textit {\_R}^{4}-a}\right ) b \,a^{\frac {3}{4}}+8 \left (x^{2} \left (a \,x^{2}+b \right )\right )^{\frac {1}{4}} x \,a^{\frac {3}{4}}+2 \ln \left (\frac {a^{\frac {1}{4}} x +\left (x^{2} \left (a \,x^{2}+b \right )\right )^{\frac {1}{4}}}{-a^{\frac {1}{4}} x +\left (x^{2} \left (a \,x^{2}+b \right )\right )^{\frac {1}{4}}}\right ) b +4 \arctan \left (\frac {\left (x^{2} \left (a \,x^{2}+b \right )\right )^{\frac {1}{4}}}{a^{\frac {1}{4}} x}\right ) b}{8 a^{\frac {3}{4}}}\) \(161\)

Input:

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

Output:

1/8*(3*sum(_R*ln((-_R*x+(x^2*(a*x^2+b))^(1/4))/x)/(_R^4-a),_R=RootOf(2*_Z^ 
8-4*_Z^4*a+2*a^2-a*b))*b*a^(3/4)+8*(x^2*(a*x^2+b))^(1/4)*x*a^(3/4)+2*ln((a 
^(1/4)*x+(x^2*(a*x^2+b))^(1/4))/(-a^(1/4)*x+(x^2*(a*x^2+b))^(1/4)))*b+4*ar 
ctan(1/a^(1/4)/x*(x^2*(a*x^2+b))^(1/4))*b)/a^(3/4)
 

Fricas [F(-1)]

Timed out. \[ \int \frac {\sqrt [4]{b x^2+a x^4} \left (-b+2 a x^4\right )}{-2 b+a x^4} \, dx=\text {Timed out} \] Input:

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

Output:

Timed out
 

Sympy [N/A]

Not integrable

Time = 15.65 (sec) , antiderivative size = 31, normalized size of antiderivative = 0.20 \[ \int \frac {\sqrt [4]{b x^2+a x^4} \left (-b+2 a x^4\right )}{-2 b+a x^4} \, dx=\int \frac {\sqrt [4]{x^{2} \left (a x^{2} + b\right )} \left (2 a x^{4} - b\right )}{a x^{4} - 2 b}\, dx \] Input:

integrate((a*x**4+b*x**2)**(1/4)*(2*a*x**4-b)/(a*x**4-2*b),x)
 

Output:

Integral((x**2*(a*x**2 + b))**(1/4)*(2*a*x**4 - b)/(a*x**4 - 2*b), x)
 

Maxima [N/A]

Not integrable

Time = 0.08 (sec) , antiderivative size = 37, normalized size of antiderivative = 0.23 \[ \int \frac {\sqrt [4]{b x^2+a x^4} \left (-b+2 a x^4\right )}{-2 b+a x^4} \, dx=\int { \frac {{\left (2 \, a x^{4} - b\right )} {\left (a x^{4} + b x^{2}\right )}^{\frac {1}{4}}}{a x^{4} - 2 \, b} \,d x } \] Input:

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

Output:

integrate((2*a*x^4 - b)*(a*x^4 + b*x^2)^(1/4)/(a*x^4 - 2*b), x)
 

Giac [N/A]

Not integrable

Time = 4.79 (sec) , antiderivative size = 37, normalized size of antiderivative = 0.23 \[ \int \frac {\sqrt [4]{b x^2+a x^4} \left (-b+2 a x^4\right )}{-2 b+a x^4} \, dx=\int { \frac {{\left (2 \, a x^{4} - b\right )} {\left (a x^{4} + b x^{2}\right )}^{\frac {1}{4}}}{a x^{4} - 2 \, b} \,d x } \] Input:

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

Output:

integrate((2*a*x^4 - b)*(a*x^4 + b*x^2)^(1/4)/(a*x^4 - 2*b), x)
 

Mupad [N/A]

Not integrable

Time = 11.73 (sec) , antiderivative size = 36, normalized size of antiderivative = 0.23 \[ \int \frac {\sqrt [4]{b x^2+a x^4} \left (-b+2 a x^4\right )}{-2 b+a x^4} \, dx=\int \frac {\left (b-2\,a\,x^4\right )\,{\left (a\,x^4+b\,x^2\right )}^{1/4}}{2\,b-a\,x^4} \,d x \] Input:

int(((b - 2*a*x^4)*(a*x^4 + b*x^2)^(1/4))/(2*b - a*x^4),x)
 

Output:

int(((b - 2*a*x^4)*(a*x^4 + b*x^2)^(1/4))/(2*b - a*x^4), x)
 

Reduce [N/A]

Not integrable

Time = 0.82 (sec) , antiderivative size = 159, normalized size of antiderivative = 1.01 \[ \int \frac {\sqrt [4]{b x^2+a x^4} \left (-b+2 a x^4\right )}{-2 b+a x^4} \, dx=\sqrt {x}\, \left (a \,x^{2}+b \right )^{\frac {1}{4}} x +\frac {\left (\int \frac {\sqrt {x}\, \left (a \,x^{2}+b \right )^{\frac {1}{4}} x^{4}}{a^{2} x^{6}+a b \,x^{4}-2 a b \,x^{2}-2 b^{2}}d x \right ) a b}{2}+3 \left (\int \frac {\sqrt {x}\, \left (a \,x^{2}+b \right )^{\frac {1}{4}} x^{2}}{a^{2} x^{6}+a b \,x^{4}-2 a b \,x^{2}-2 b^{2}}d x \right ) a b +2 \left (\int \frac {\sqrt {x}\, \left (a \,x^{2}+b \right )^{\frac {1}{4}}}{a^{2} x^{6}+a b \,x^{4}-2 a b \,x^{2}-2 b^{2}}d x \right ) b^{2} \] Input:

int((a*x^4+b*x^2)^(1/4)*(2*a*x^4-b)/(a*x^4-2*b),x)
 

Output:

(2*sqrt(x)*(a*x**2 + b)**(1/4)*x + int((sqrt(x)*(a*x**2 + b)**(1/4)*x**4)/ 
(a**2*x**6 + a*b*x**4 - 2*a*b*x**2 - 2*b**2),x)*a*b + 6*int((sqrt(x)*(a*x* 
*2 + b)**(1/4)*x**2)/(a**2*x**6 + a*b*x**4 - 2*a*b*x**2 - 2*b**2),x)*a*b + 
 4*int((sqrt(x)*(a*x**2 + b)**(1/4))/(a**2*x**6 + a*b*x**4 - 2*a*b*x**2 - 
2*b**2),x)*b**2)/2