Integrand size = 11, antiderivative size = 224 \[ \int \sqrt {a+\frac {b}{x^4}} \, dx=-\frac {2 \sqrt {b} \sqrt {a+\frac {b}{x^4}}}{\left (\sqrt {a}+\frac {\sqrt {b}}{x^2}\right ) x}+\sqrt {a+\frac {b}{x^4}} x+\frac {2 \sqrt [4]{a} \sqrt [4]{b} \sqrt {\frac {a+\frac {b}{x^4}}{\left (\sqrt {a}+\frac {\sqrt {b}}{x^2}\right )^2}} \left (\sqrt {a}+\frac {\sqrt {b}}{x^2}\right ) E\left (2 \cot ^{-1}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{b}}\right )|\frac {1}{2}\right )}{\sqrt {a+\frac {b}{x^4}}}-\frac {\sqrt [4]{a} \sqrt [4]{b} \sqrt {\frac {a+\frac {b}{x^4}}{\left (\sqrt {a}+\frac {\sqrt {b}}{x^2}\right )^2}} \left (\sqrt {a}+\frac {\sqrt {b}}{x^2}\right ) \operatorname {EllipticF}\left (2 \cot ^{-1}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{b}}\right ),\frac {1}{2}\right )}{\sqrt {a+\frac {b}{x^4}}} \] Output:
-2*b^(1/2)*(a+b/x^4)^(1/2)/(a^(1/2)+b^(1/2)/x^2)/x+(a+b/x^4)^(1/2)*x+2*a^( 1/4)*b^(1/4)*((a+b/x^4)/(a^(1/2)+b^(1/2)/x^2)^2)^(1/2)*(a^(1/2)+b^(1/2)/x^ 2)*EllipticE(sin(2*arccot(a^(1/4)*x/b^(1/4))),1/2*2^(1/2))/(a+b/x^4)^(1/2) -a^(1/4)*b^(1/4)*((a+b/x^4)/(a^(1/2)+b^(1/2)/x^2)^2)^(1/2)*(a^(1/2)+b^(1/2 )/x^2)*InverseJacobiAM(2*arccot(a^(1/4)*x/b^(1/4)),1/2*2^(1/2))/(a+b/x^4)^ (1/2)
Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
Time = 7.93 (sec) , antiderivative size = 47, normalized size of antiderivative = 0.21 \[ \int \sqrt {a+\frac {b}{x^4}} \, dx=-\frac {\sqrt {a+\frac {b}{x^4}} x \operatorname {Hypergeometric2F1}\left (-\frac {1}{2},-\frac {1}{4},\frac {3}{4},-\frac {a x^4}{b}\right )}{\sqrt {1+\frac {a x^4}{b}}} \] Input:
Integrate[Sqrt[a + b/x^4],x]
Output:
-((Sqrt[a + b/x^4]*x*Hypergeometric2F1[-1/2, -1/4, 3/4, -((a*x^4)/b)])/Sqr t[1 + (a*x^4)/b])
Time = 0.55 (sec) , antiderivative size = 236, normalized size of antiderivative = 1.05, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.545, Rules used = {773, 809, 834, 27, 761, 1510}
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 \sqrt {a+\frac {b}{x^4}} \, dx\) |
\(\Big \downarrow \) 773 |
\(\displaystyle -\int \sqrt {a+\frac {b}{x^4}} x^2d\frac {1}{x}\) |
\(\Big \downarrow \) 809 |
\(\displaystyle x \sqrt {a+\frac {b}{x^4}}-2 b \int \frac {1}{\sqrt {a+\frac {b}{x^4}} x^2}d\frac {1}{x}\) |
\(\Big \downarrow \) 834 |
\(\displaystyle x \sqrt {a+\frac {b}{x^4}}-2 b \left (\frac {\sqrt {a} \int \frac {1}{\sqrt {a+\frac {b}{x^4}}}d\frac {1}{x}}{\sqrt {b}}-\frac {\sqrt {a} \int \frac {\sqrt {a}-\frac {\sqrt {b}}{x^2}}{\sqrt {a} \sqrt {a+\frac {b}{x^4}}}d\frac {1}{x}}{\sqrt {b}}\right )\) |
\(\Big \downarrow \) 27 |
\(\displaystyle x \sqrt {a+\frac {b}{x^4}}-2 b \left (\frac {\sqrt {a} \int \frac {1}{\sqrt {a+\frac {b}{x^4}}}d\frac {1}{x}}{\sqrt {b}}-\frac {\int \frac {\sqrt {a}-\frac {\sqrt {b}}{x^2}}{\sqrt {a+\frac {b}{x^4}}}d\frac {1}{x}}{\sqrt {b}}\right )\) |
\(\Big \downarrow \) 761 |
\(\displaystyle x \sqrt {a+\frac {b}{x^4}}-2 b \left (\frac {\sqrt [4]{a} \sqrt {\frac {a+\frac {b}{x^4}}{\left (\sqrt {a}+\frac {\sqrt {b}}{x^2}\right )^2}} \left (\sqrt {a}+\frac {\sqrt {b}}{x^2}\right ) \operatorname {EllipticF}\left (2 \arctan \left (\frac {\sqrt [4]{b}}{\sqrt [4]{a} x}\right ),\frac {1}{2}\right )}{2 b^{3/4} \sqrt {a+\frac {b}{x^4}}}-\frac {\int \frac {\sqrt {a}-\frac {\sqrt {b}}{x^2}}{\sqrt {a+\frac {b}{x^4}}}d\frac {1}{x}}{\sqrt {b}}\right )\) |
\(\Big \downarrow \) 1510 |
\(\displaystyle x \sqrt {a+\frac {b}{x^4}}-2 b \left (\frac {\sqrt [4]{a} \sqrt {\frac {a+\frac {b}{x^4}}{\left (\sqrt {a}+\frac {\sqrt {b}}{x^2}\right )^2}} \left (\sqrt {a}+\frac {\sqrt {b}}{x^2}\right ) \operatorname {EllipticF}\left (2 \arctan \left (\frac {\sqrt [4]{b}}{\sqrt [4]{a} x}\right ),\frac {1}{2}\right )}{2 b^{3/4} \sqrt {a+\frac {b}{x^4}}}-\frac {\frac {\sqrt [4]{a} \sqrt {\frac {a+\frac {b}{x^4}}{\left (\sqrt {a}+\frac {\sqrt {b}}{x^2}\right )^2}} \left (\sqrt {a}+\frac {\sqrt {b}}{x^2}\right ) E\left (2 \arctan \left (\frac {\sqrt [4]{b}}{\sqrt [4]{a} x}\right )|\frac {1}{2}\right )}{\sqrt [4]{b} \sqrt {a+\frac {b}{x^4}}}-\frac {\sqrt {a+\frac {b}{x^4}}}{x \left (\sqrt {a}+\frac {\sqrt {b}}{x^2}\right )}}{\sqrt {b}}\right )\) |
Input:
Int[Sqrt[a + b/x^4],x]
Output:
Sqrt[a + b/x^4]*x - 2*b*(-((-(Sqrt[a + b/x^4]/((Sqrt[a] + Sqrt[b]/x^2)*x)) + (a^(1/4)*Sqrt[(a + b/x^4)/(Sqrt[a] + Sqrt[b]/x^2)^2]*(Sqrt[a] + Sqrt[b] /x^2)*EllipticE[2*ArcTan[b^(1/4)/(a^(1/4)*x)], 1/2])/(b^(1/4)*Sqrt[a + b/x ^4]))/Sqrt[b]) + (a^(1/4)*Sqrt[(a + b/x^4)/(Sqrt[a] + Sqrt[b]/x^2)^2]*(Sqr t[a] + Sqrt[b]/x^2)*EllipticF[2*ArcTan[b^(1/4)/(a^(1/4)*x)], 1/2])/(2*b^(3 /4)*Sqrt[a + b/x^4]))
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[1/Sqrt[(a_) + (b_.)*(x_)^4], x_Symbol] :> With[{q = Rt[b/a, 4]}, Simp[( 1 + q^2*x^2)*(Sqrt[(a + b*x^4)/(a*(1 + q^2*x^2)^2)]/(2*q*Sqrt[a + b*x^4]))* EllipticF[2*ArcTan[q*x], 1/2], x]] /; FreeQ[{a, b}, x] && PosQ[b/a]
Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> -Subst[Int[(a + b/x^n)^p/x^ 2, x], x, 1/x] /; FreeQ[{a, b, p}, x] && ILtQ[n, 0] && !IntegerQ[p]
Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(c* x)^(m + 1)*((a + b*x^n)^p/(c*(m + 1))), x] - Simp[b*n*(p/(c^n*(m + 1))) I nt[(c*x)^(m + n)*(a + b*x^n)^(p - 1), x], x] /; FreeQ[{a, b, c}, x] && IGtQ [n, 0] && GtQ[p, 0] && LtQ[m, -1] && !ILtQ[(m + n*p + n + 1)/n, 0] && IntB inomialQ[a, b, c, n, m, p, x]
Int[(x_)^2/Sqrt[(a_) + (b_.)*(x_)^4], x_Symbol] :> With[{q = Rt[b/a, 2]}, S imp[1/q Int[1/Sqrt[a + b*x^4], x], x] - Simp[1/q Int[(1 - q*x^2)/Sqrt[a + b*x^4], x], x]] /; FreeQ[{a, b}, x] && PosQ[b/a]
Int[((d_) + (e_.)*(x_)^2)/Sqrt[(a_) + (c_.)*(x_)^4], x_Symbol] :> With[{q = Rt[c/a, 4]}, Simp[(-d)*x*(Sqrt[a + c*x^4]/(a*(1 + q^2*x^2))), x] + Simp[d* (1 + q^2*x^2)*(Sqrt[(a + c*x^4)/(a*(1 + q^2*x^2)^2)]/(q*Sqrt[a + c*x^4]))*E llipticE[2*ArcTan[q*x], 1/2], x] /; EqQ[e + d*q^2, 0]] /; FreeQ[{a, c, d, e }, x] && PosQ[c/a]
Result contains complex when optimal does not.
Time = 0.52 (sec) , antiderivative size = 130, normalized size of antiderivative = 0.58
method | result | size |
risch | \(-\sqrt {\frac {a \,x^{4}+b}{x^{4}}}\, x +\frac {2 i \sqrt {a}\, \sqrt {b}\, \sqrt {1-\frac {i \sqrt {a}\, x^{2}}{\sqrt {b}}}\, \sqrt {1+\frac {i \sqrt {a}\, x^{2}}{\sqrt {b}}}\, \left (\operatorname {EllipticF}\left (x \sqrt {\frac {i \sqrt {a}}{\sqrt {b}}}, i\right )-\operatorname {EllipticE}\left (x \sqrt {\frac {i \sqrt {a}}{\sqrt {b}}}, i\right )\right ) \sqrt {\frac {a \,x^{4}+b}{x^{4}}}\, x^{2}}{\sqrt {\frac {i \sqrt {a}}{\sqrt {b}}}\, \left (a \,x^{4}+b \right )}\) | \(130\) |
default | \(\frac {\sqrt {\frac {a \,x^{4}+b}{x^{4}}}\, x \left (2 i \sqrt {a}\, \sqrt {b}\, \sqrt {\frac {-i \sqrt {a}\, x^{2}+\sqrt {b}}{\sqrt {b}}}\, \sqrt {\frac {i \sqrt {a}\, x^{2}+\sqrt {b}}{\sqrt {b}}}\, x \operatorname {EllipticF}\left (x \sqrt {\frac {i \sqrt {a}}{\sqrt {b}}}, i\right )-2 i \sqrt {a}\, \sqrt {b}\, \sqrt {\frac {-i \sqrt {a}\, x^{2}+\sqrt {b}}{\sqrt {b}}}\, \sqrt {\frac {i \sqrt {a}\, x^{2}+\sqrt {b}}{\sqrt {b}}}\, x \operatorname {EllipticE}\left (x \sqrt {\frac {i \sqrt {a}}{\sqrt {b}}}, i\right )-\sqrt {\frac {i \sqrt {a}}{\sqrt {b}}}\, a \,x^{4}-\sqrt {\frac {i \sqrt {a}}{\sqrt {b}}}\, b \right )}{\left (a \,x^{4}+b \right ) \sqrt {\frac {i \sqrt {a}}{\sqrt {b}}}}\) | \(196\) |
Input:
int((a+b/x^4)^(1/2),x,method=_RETURNVERBOSE)
Output:
-((a*x^4+b)/x^4)^(1/2)*x+2*I*a^(1/2)*b^(1/2)/(I*a^(1/2)/b^(1/2))^(1/2)*(1- I*a^(1/2)/b^(1/2)*x^2)^(1/2)*(1+I*a^(1/2)/b^(1/2)*x^2)^(1/2)/(a*x^4+b)*(El lipticF(x*(I*a^(1/2)/b^(1/2))^(1/2),I)-EllipticE(x*(I*a^(1/2)/b^(1/2))^(1/ 2),I))*((a*x^4+b)/x^4)^(1/2)*x^2
\[ \int \sqrt {a+\frac {b}{x^4}} \, dx=\int { \sqrt {a + \frac {b}{x^{4}}} \,d x } \] Input:
integrate((a+b/x^4)^(1/2),x, algorithm="fricas")
Output:
integral(sqrt((a*x^4 + b)/x^4), x)
Result contains complex when optimal does not.
Time = 0.63 (sec) , antiderivative size = 42, normalized size of antiderivative = 0.19 \[ \int \sqrt {a+\frac {b}{x^4}} \, dx=- \frac {\sqrt {a} x \Gamma \left (- \frac {1}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, - \frac {1}{4} \\ \frac {3}{4} \end {matrix}\middle | {\frac {b e^{i \pi }}{a x^{4}}} \right )}}{4 \Gamma \left (\frac {3}{4}\right )} \] Input:
integrate((a+b/x**4)**(1/2),x)
Output:
-sqrt(a)*x*gamma(-1/4)*hyper((-1/2, -1/4), (3/4,), b*exp_polar(I*pi)/(a*x* *4))/(4*gamma(3/4))
\[ \int \sqrt {a+\frac {b}{x^4}} \, dx=\int { \sqrt {a + \frac {b}{x^{4}}} \,d x } \] Input:
integrate((a+b/x^4)^(1/2),x, algorithm="maxima")
Output:
integrate(sqrt(a + b/x^4), x)
\[ \int \sqrt {a+\frac {b}{x^4}} \, dx=\int { \sqrt {a + \frac {b}{x^{4}}} \,d x } \] Input:
integrate((a+b/x^4)^(1/2),x, algorithm="giac")
Output:
integrate(sqrt(a + b/x^4), x)
Time = 0.44 (sec) , antiderivative size = 38, normalized size of antiderivative = 0.17 \[ \int \sqrt {a+\frac {b}{x^4}} \, dx=-\frac {x\,\sqrt {a+\frac {b}{x^4}}\,{{}}_2{\mathrm {F}}_1\left (-\frac {1}{2},-\frac {1}{4};\ \frac {3}{4};\ -\frac {a\,x^4}{b}\right )}{\sqrt {\frac {a\,x^4}{b}+1}} \] Input:
int((a + b/x^4)^(1/2),x)
Output:
-(x*(a + b/x^4)^(1/2)*hypergeom([-1/2, -1/4], 3/4, -(a*x^4)/b))/((a*x^4)/b + 1)^(1/2)
\[ \int \sqrt {a+\frac {b}{x^4}} \, dx=\frac {\sqrt {a \,x^{4}+b}+2 \left (\int \frac {\sqrt {a \,x^{4}+b}}{a \,x^{6}+b \,x^{2}}d x \right ) b x}{x} \] Input:
int((a+b/x^4)^(1/2),x)
Output:
(sqrt(a*x**4 + b) + 2*int(sqrt(a*x**4 + b)/(a*x**6 + b*x**2),x)*b*x)/x