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

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

Optimal result

Integrand size = 37, antiderivative size = 151 \[ \int \sqrt {b+a^2 x^4} \sqrt {a x^2+\sqrt {b+a^2 x^4}} \, dx=\frac {3 \sqrt {a} b x^2+2 a^{5/2} x^6+2 a^{3/2} x^4 \sqrt {b+a^2 x^4}}{8 \sqrt {a} x \sqrt {a x^2+\sqrt {b+a^2 x^4}}}+\frac {5 b \log \left (a x^2+\sqrt {b+a^2 x^4}+\sqrt {2} \sqrt {a} x \sqrt {a x^2+\sqrt {b+a^2 x^4}}\right )}{8 \sqrt {2} \sqrt {a}} \]

[Out]

1/8*(3*a^(1/2)*b*x^2+2*a^(5/2)*x^6+2*a^(3/2)*x^4*(a^2*x^4+b)^(1/2))/a^(1/2)/x/(a*x^2+(a^2*x^4+b)^(1/2))^(1/2)+
5/16*b*ln(a*x^2+(a^2*x^4+b)^(1/2)+2^(1/2)*a^(1/2)*x*(a*x^2+(a^2*x^4+b)^(1/2))^(1/2))*2^(1/2)/a^(1/2)

Rubi [F]

\[ \int \sqrt {b+a^2 x^4} \sqrt {a x^2+\sqrt {b+a^2 x^4}} \, dx=\int \sqrt {b+a^2 x^4} \sqrt {a x^2+\sqrt {b+a^2 x^4}} \, dx \]

[In]

Int[Sqrt[b + a^2*x^4]*Sqrt[a*x^2 + Sqrt[b + a^2*x^4]],x]

[Out]

Defer[Int][Sqrt[b + a^2*x^4]*Sqrt[a*x^2 + Sqrt[b + a^2*x^4]], x]

Rubi steps \begin{align*} \text {integral}& = \int \sqrt {b+a^2 x^4} \sqrt {a x^2+\sqrt {b+a^2 x^4}} \, dx \\ \end{align*}

Mathematica [A] (verified)

Time = 0.65 (sec) , antiderivative size = 128, normalized size of antiderivative = 0.85 \[ \int \sqrt {b+a^2 x^4} \sqrt {a x^2+\sqrt {b+a^2 x^4}} \, dx=\frac {3 b x+2 a x^3 \left (a x^2+\sqrt {b+a^2 x^4}\right )}{8 \sqrt {a x^2+\sqrt {b+a^2 x^4}}}+\frac {5 b \log \left (a x^2+\sqrt {b+a^2 x^4}+\sqrt {2} \sqrt {a} x \sqrt {a x^2+\sqrt {b+a^2 x^4}}\right )}{8 \sqrt {2} \sqrt {a}} \]

[In]

Integrate[Sqrt[b + a^2*x^4]*Sqrt[a*x^2 + Sqrt[b + a^2*x^4]],x]

[Out]

(3*b*x + 2*a*x^3*(a*x^2 + Sqrt[b + a^2*x^4]))/(8*Sqrt[a*x^2 + Sqrt[b + a^2*x^4]]) + (5*b*Log[a*x^2 + Sqrt[b +
a^2*x^4] + Sqrt[2]*Sqrt[a]*x*Sqrt[a*x^2 + Sqrt[b + a^2*x^4]]])/(8*Sqrt[2]*Sqrt[a])

Maple [F]

\[\int \sqrt {a^{2} x^{4}+b}\, \sqrt {a \,x^{2}+\sqrt {a^{2} x^{4}+b}}d x\]

[In]

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

[Out]

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

Fricas [A] (verification not implemented)

none

Time = 1.44 (sec) , antiderivative size = 236, normalized size of antiderivative = 1.56 \[ \int \sqrt {b+a^2 x^4} \sqrt {a x^2+\sqrt {b+a^2 x^4}} \, dx=\left [\frac {5 \, \sqrt {2} \sqrt {a} b \log \left (4 \, a^{2} x^{4} + 4 \, \sqrt {a^{2} x^{4} + b} a x^{2} + 2 \, {\left (\sqrt {2} a^{\frac {3}{2}} x^{3} + \sqrt {2} \sqrt {a^{2} x^{4} + b} \sqrt {a} x\right )} \sqrt {a x^{2} + \sqrt {a^{2} x^{4} + b}} + b\right ) - 4 \, {\left (a^{2} x^{3} - 3 \, \sqrt {a^{2} x^{4} + b} a x\right )} \sqrt {a x^{2} + \sqrt {a^{2} x^{4} + b}}}{32 \, a}, -\frac {5 \, \sqrt {2} \sqrt {-a} b \arctan \left (\frac {\sqrt {2} \sqrt {a x^{2} + \sqrt {a^{2} x^{4} + b}} \sqrt {-a}}{2 \, a x}\right ) + 2 \, {\left (a^{2} x^{3} - 3 \, \sqrt {a^{2} x^{4} + b} a x\right )} \sqrt {a x^{2} + \sqrt {a^{2} x^{4} + b}}}{16 \, a}\right ] \]

[In]

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

[Out]

[1/32*(5*sqrt(2)*sqrt(a)*b*log(4*a^2*x^4 + 4*sqrt(a^2*x^4 + b)*a*x^2 + 2*(sqrt(2)*a^(3/2)*x^3 + sqrt(2)*sqrt(a
^2*x^4 + b)*sqrt(a)*x)*sqrt(a*x^2 + sqrt(a^2*x^4 + b)) + b) - 4*(a^2*x^3 - 3*sqrt(a^2*x^4 + b)*a*x)*sqrt(a*x^2
 + sqrt(a^2*x^4 + b)))/a, -1/16*(5*sqrt(2)*sqrt(-a)*b*arctan(1/2*sqrt(2)*sqrt(a*x^2 + sqrt(a^2*x^4 + b))*sqrt(
-a)/(a*x)) + 2*(a^2*x^3 - 3*sqrt(a^2*x^4 + b)*a*x)*sqrt(a*x^2 + sqrt(a^2*x^4 + b)))/a]

Sympy [F]

\[ \int \sqrt {b+a^2 x^4} \sqrt {a x^2+\sqrt {b+a^2 x^4}} \, dx=\int \sqrt {a x^{2} + \sqrt {a^{2} x^{4} + b}} \sqrt {a^{2} x^{4} + b}\, dx \]

[In]

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

[Out]

Integral(sqrt(a*x**2 + sqrt(a**2*x**4 + b))*sqrt(a**2*x**4 + b), x)

Maxima [F]

\[ \int \sqrt {b+a^2 x^4} \sqrt {a x^2+\sqrt {b+a^2 x^4}} \, dx=\int { \sqrt {a^{2} x^{4} + b} \sqrt {a x^{2} + \sqrt {a^{2} x^{4} + b}} \,d x } \]

[In]

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

[Out]

integrate(sqrt(a^2*x^4 + b)*sqrt(a*x^2 + sqrt(a^2*x^4 + b)), x)

Giac [F]

\[ \int \sqrt {b+a^2 x^4} \sqrt {a x^2+\sqrt {b+a^2 x^4}} \, dx=\int { \sqrt {a^{2} x^{4} + b} \sqrt {a x^{2} + \sqrt {a^{2} x^{4} + b}} \,d x } \]

[In]

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

[Out]

integrate(sqrt(a^2*x^4 + b)*sqrt(a*x^2 + sqrt(a^2*x^4 + b)), x)

Mupad [F(-1)]

Timed out. \[ \int \sqrt {b+a^2 x^4} \sqrt {a x^2+\sqrt {b+a^2 x^4}} \, dx=\int \sqrt {\sqrt {a^2\,x^4+b}+a\,x^2}\,\sqrt {a^2\,x^4+b} \,d x \]

[In]

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

[Out]

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