Integrand size = 37, antiderivative size = 194 \[ \int \frac {b-a x^4+2 x^8}{\sqrt [4]{-b+a x^4} \left (b+3 a x^4\right )} \, dx=\frac {x \left (-b+a x^4\right )^{3/4}}{6 a^2}+\frac {\left (-6 a^2-b\right ) \arctan \left (\frac {\sqrt [4]{a} x}{\sqrt [4]{-b+a x^4}}\right )}{36 a^{9/4}}+\frac {\left (6 a^2+b\right ) \arctan \left (\frac {\sqrt {2} \sqrt [4]{a} x}{\sqrt [4]{-b+a x^4}}\right )}{9 \sqrt {2} a^{9/4}}+\frac {\left (-6 a^2-b\right ) \text {arctanh}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{-b+a x^4}}\right )}{36 a^{9/4}}+\frac {\left (6 a^2+b\right ) \text {arctanh}\left (\frac {\sqrt {2} \sqrt [4]{a} x}{\sqrt [4]{-b+a x^4}}\right )}{9 \sqrt {2} a^{9/4}} \]
1/6*x*(a*x^4-b)^(3/4)/a^2+1/36*(-6*a^2-b)*arctan(a^(1/4)*x/(a*x^4-b)^(1/4) )/a^(9/4)+1/18*(6*a^2+b)*arctan(2^(1/2)*a^(1/4)*x/(a*x^4-b)^(1/4))*2^(1/2) /a^(9/4)+1/36*(-6*a^2-b)*arctanh(a^(1/4)*x/(a*x^4-b)^(1/4))/a^(9/4)+1/18*( 6*a^2+b)*arctanh(2^(1/2)*a^(1/4)*x/(a*x^4-b)^(1/4))*2^(1/2)/a^(9/4)
Time = 1.06 (sec) , antiderivative size = 171, normalized size of antiderivative = 0.88 \[ \int \frac {b-a x^4+2 x^8}{\sqrt [4]{-b+a x^4} \left (b+3 a x^4\right )} \, dx=\frac {6 \sqrt [4]{a} x \left (-b+a x^4\right )^{3/4}-\left (6 a^2+b\right ) \arctan \left (\frac {\sqrt [4]{a} x}{\sqrt [4]{-b+a x^4}}\right )+2 \sqrt {2} \left (6 a^2+b\right ) \arctan \left (\frac {\sqrt {2} \sqrt [4]{a} x}{\sqrt [4]{-b+a x^4}}\right )-\left (6 a^2+b\right ) \text {arctanh}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{-b+a x^4}}\right )+2 \sqrt {2} \left (6 a^2+b\right ) \text {arctanh}\left (\frac {\sqrt {2} \sqrt [4]{a} x}{\sqrt [4]{-b+a x^4}}\right )}{36 a^{9/4}} \]
(6*a^(1/4)*x*(-b + a*x^4)^(3/4) - (6*a^2 + b)*ArcTan[(a^(1/4)*x)/(-b + a*x ^4)^(1/4)] + 2*Sqrt[2]*(6*a^2 + b)*ArcTan[(Sqrt[2]*a^(1/4)*x)/(-b + a*x^4) ^(1/4)] - (6*a^2 + b)*ArcTanh[(a^(1/4)*x)/(-b + a*x^4)^(1/4)] + 2*Sqrt[2]* (6*a^2 + b)*ArcTanh[(Sqrt[2]*a^(1/4)*x)/(-b + a*x^4)^(1/4)])/(36*a^(9/4))
Time = 0.68 (sec) , antiderivative size = 256, normalized size of antiderivative = 1.32, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.054, Rules used = {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 {-a x^4+b+2 x^8}{\sqrt [4]{a x^4-b} \left (3 a x^4+b\right )} \, dx\) |
\(\Big \downarrow \) 7276 |
\(\displaystyle \int \left (\frac {2 \left (6 a^2 b+b^2\right )}{9 a^2 \sqrt [4]{a x^4-b} \left (3 a x^4+b\right )}+\frac {-\frac {2 b}{a^2}-3}{9 \sqrt [4]{a x^4-b}}+\frac {2 x^4}{3 a \sqrt [4]{a x^4-b}}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {b \arctan \left (\frac {\sqrt [4]{a} x}{\sqrt [4]{a x^4-b}}\right )}{12 a^{9/4}}+\frac {b \text {arctanh}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{a x^4-b}}\right )}{12 a^{9/4}}+\frac {x \left (a x^4-b\right )^{3/4}}{6 a^2}-\frac {\left (3 a^2+2 b\right ) \arctan \left (\frac {\sqrt [4]{a} x}{\sqrt [4]{a x^4-b}}\right )}{18 a^{9/4}}+\frac {\left (6 a^2+b\right ) \arctan \left (\frac {\sqrt {2} \sqrt [4]{a} x}{\sqrt [4]{a x^4-b}}\right )}{9 \sqrt {2} a^{9/4}}-\frac {\left (3 a^2+2 b\right ) \text {arctanh}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{a x^4-b}}\right )}{18 a^{9/4}}+\frac {\left (6 a^2+b\right ) \text {arctanh}\left (\frac {\sqrt {2} \sqrt [4]{a} x}{\sqrt [4]{a x^4-b}}\right )}{9 \sqrt {2} a^{9/4}}\) |
(x*(-b + a*x^4)^(3/4))/(6*a^2) + (b*ArcTan[(a^(1/4)*x)/(-b + a*x^4)^(1/4)] )/(12*a^(9/4)) - ((3*a^2 + 2*b)*ArcTan[(a^(1/4)*x)/(-b + a*x^4)^(1/4)])/(1 8*a^(9/4)) + ((6*a^2 + b)*ArcTan[(Sqrt[2]*a^(1/4)*x)/(-b + a*x^4)^(1/4)])/ (9*Sqrt[2]*a^(9/4)) + (b*ArcTanh[(a^(1/4)*x)/(-b + a*x^4)^(1/4)])/(12*a^(9 /4)) - ((3*a^2 + 2*b)*ArcTanh[(a^(1/4)*x)/(-b + a*x^4)^(1/4)])/(18*a^(9/4) ) + ((6*a^2 + b)*ArcTanh[(Sqrt[2]*a^(1/4)*x)/(-b + a*x^4)^(1/4)])/(9*Sqrt[ 2]*a^(9/4))
3.25.15.3.1 Defintions of rubi rules used
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]
Time = 0.45 (sec) , antiderivative size = 167, normalized size of antiderivative = 0.86
method | result | size |
pseudoelliptic | \(\frac {x \left (a \,x^{4}-b \right )^{\frac {3}{4}} a^{\frac {1}{4}}+\left (a^{2}+\frac {b}{6}\right ) \left (\left (-2 \arctan \left (\frac {\sqrt {2}\, \left (a \,x^{4}-b \right )^{\frac {1}{4}}}{2 a^{\frac {1}{4}} x}\right )+\ln \left (\frac {x \,a^{\frac {1}{4}} \sqrt {2}+\left (a \,x^{4}-b \right )^{\frac {1}{4}}}{-x \,a^{\frac {1}{4}} \sqrt {2}+\left (a \,x^{4}-b \right )^{\frac {1}{4}}}\right )\right ) \sqrt {2}+\arctan \left (\frac {\left (a \,x^{4}-b \right )^{\frac {1}{4}}}{a^{\frac {1}{4}} x}\right )-\frac {\ln \left (\frac {a^{\frac {1}{4}} x +\left (a \,x^{4}-b \right )^{\frac {1}{4}}}{-a^{\frac {1}{4}} x +\left (a \,x^{4}-b \right )^{\frac {1}{4}}}\right )}{2}\right )}{6 a^{\frac {9}{4}}}\) | \(167\) |
1/6/a^(9/4)*(x*(a*x^4-b)^(3/4)*a^(1/4)+(a^2+1/6*b)*((-2*arctan(1/2*2^(1/2) /a^(1/4)/x*(a*x^4-b)^(1/4))+ln((x*a^(1/4)*2^(1/2)+(a*x^4-b)^(1/4))/(-x*a^( 1/4)*2^(1/2)+(a*x^4-b)^(1/4))))*2^(1/2)+arctan(1/a^(1/4)/x*(a*x^4-b)^(1/4) )-1/2*ln((a^(1/4)*x+(a*x^4-b)^(1/4))/(-a^(1/4)*x+(a*x^4-b)^(1/4)))))
Result contains complex when optimal does not.
Time = 0.29 (sec) , antiderivative size = 1053, normalized size of antiderivative = 5.43 \[ \int \frac {b-a x^4+2 x^8}{\sqrt [4]{-b+a x^4} \left (b+3 a x^4\right )} \, dx=\text {Too large to display} \]
1/72*(4*(1/4)^(1/4)*a^2*((1296*a^8 + 864*a^6*b + 216*a^4*b^2 + 24*a^2*b^3 + b^4)/a^9)^(1/4)*log((4*(1/4)^(3/4)*a^7*x*((1296*a^8 + 864*a^6*b + 216*a^ 4*b^2 + 24*a^2*b^3 + b^4)/a^9)^(3/4) + (216*a^6 + 108*a^4*b + 18*a^2*b^2 + b^3)*(a*x^4 - b)^(1/4))/x) - 4*(1/4)^(1/4)*a^2*((1296*a^8 + 864*a^6*b + 2 16*a^4*b^2 + 24*a^2*b^3 + b^4)/a^9)^(1/4)*log(-(4*(1/4)^(3/4)*a^7*x*((1296 *a^8 + 864*a^6*b + 216*a^4*b^2 + 24*a^2*b^3 + b^4)/a^9)^(3/4) - (216*a^6 + 108*a^4*b + 18*a^2*b^2 + b^3)*(a*x^4 - b)^(1/4))/x) - 4*I*(1/4)^(1/4)*a^2 *((1296*a^8 + 864*a^6*b + 216*a^4*b^2 + 24*a^2*b^3 + b^4)/a^9)^(1/4)*log(( 4*I*(1/4)^(3/4)*a^7*x*((1296*a^8 + 864*a^6*b + 216*a^4*b^2 + 24*a^2*b^3 + b^4)/a^9)^(3/4) + (216*a^6 + 108*a^4*b + 18*a^2*b^2 + b^3)*(a*x^4 - b)^(1/ 4))/x) + 4*I*(1/4)^(1/4)*a^2*((1296*a^8 + 864*a^6*b + 216*a^4*b^2 + 24*a^2 *b^3 + b^4)/a^9)^(1/4)*log((-4*I*(1/4)^(3/4)*a^7*x*((1296*a^8 + 864*a^6*b + 216*a^4*b^2 + 24*a^2*b^3 + b^4)/a^9)^(3/4) + (216*a^6 + 108*a^4*b + 18*a ^2*b^2 + b^3)*(a*x^4 - b)^(1/4))/x) - a^2*((1296*a^8 + 864*a^6*b + 216*a^4 *b^2 + 24*a^2*b^3 + b^4)/a^9)^(1/4)*log((a^7*x*((1296*a^8 + 864*a^6*b + 21 6*a^4*b^2 + 24*a^2*b^3 + b^4)/a^9)^(3/4) + (216*a^6 + 108*a^4*b + 18*a^2*b ^2 + b^3)*(a*x^4 - b)^(1/4))/x) + a^2*((1296*a^8 + 864*a^6*b + 216*a^4*b^2 + 24*a^2*b^3 + b^4)/a^9)^(1/4)*log(-(a^7*x*((1296*a^8 + 864*a^6*b + 216*a ^4*b^2 + 24*a^2*b^3 + b^4)/a^9)^(3/4) - (216*a^6 + 108*a^4*b + 18*a^2*b^2 + b^3)*(a*x^4 - b)^(1/4))/x) + I*a^2*((1296*a^8 + 864*a^6*b + 216*a^4*b...
\[ \int \frac {b-a x^4+2 x^8}{\sqrt [4]{-b+a x^4} \left (b+3 a x^4\right )} \, dx=\int \frac {- a x^{4} + b + 2 x^{8}}{\sqrt [4]{a x^{4} - b} \left (3 a x^{4} + b\right )}\, dx \]
\[ \int \frac {b-a x^4+2 x^8}{\sqrt [4]{-b+a x^4} \left (b+3 a x^4\right )} \, dx=\int { \frac {2 \, x^{8} - a x^{4} + b}{{\left (3 \, a x^{4} + b\right )} {\left (a x^{4} - b\right )}^{\frac {1}{4}}} \,d x } \]
\[ \int \frac {b-a x^4+2 x^8}{\sqrt [4]{-b+a x^4} \left (b+3 a x^4\right )} \, dx=\int { \frac {2 \, x^{8} - a x^{4} + b}{{\left (3 \, a x^{4} + b\right )} {\left (a x^{4} - b\right )}^{\frac {1}{4}}} \,d x } \]
Timed out. \[ \int \frac {b-a x^4+2 x^8}{\sqrt [4]{-b+a x^4} \left (b+3 a x^4\right )} \, dx=\int \frac {2\,x^8-a\,x^4+b}{{\left (a\,x^4-b\right )}^{1/4}\,\left (3\,a\,x^4+b\right )} \,d x \]