\(\int (d+e x^2) (9+x^4)^{3/2} \, dx\) [248]

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

Optimal result

Integrand size = 17, antiderivative size = 187 \[ \int \left (d+e x^2\right ) \left (9+x^4\right )^{3/2} \, dx=\frac {108 e x \sqrt {9+x^4}}{5 \left (3+x^2\right )}+\frac {6}{35} x \left (15 d+7 e x^2\right ) \sqrt {9+x^4}+\frac {1}{63} x \left (9 d+7 e x^2\right ) \left (9+x^4\right )^{3/2}-\frac {108 \sqrt {3} e \left (3+x^2\right ) \sqrt {\frac {9+x^4}{\left (3+x^2\right )^2}} E\left (2 \arctan \left (\frac {x}{\sqrt {3}}\right )|\frac {1}{2}\right )}{5 \sqrt {9+x^4}}+\frac {54 \sqrt {3} (5 d+7 e) \left (3+x^2\right ) \sqrt {\frac {9+x^4}{\left (3+x^2\right )^2}} \operatorname {EllipticF}\left (2 \arctan \left (\frac {x}{\sqrt {3}}\right ),\frac {1}{2}\right )}{35 \sqrt {9+x^4}} \] Output:

108*e*x*(x^4+9)^(1/2)/(5*x^2+15)+6/35*x*(7*e*x^2+15*d)*(x^4+9)^(1/2)+1/63* 
x*(7*e*x^2+9*d)*(x^4+9)^(3/2)-108/5*3^(1/2)*e*(x^2+3)*((x^4+9)/(x^2+3)^2)^ 
(1/2)*EllipticE(sin(2*arctan(1/3*x*3^(1/2))),1/2*2^(1/2))/(x^4+9)^(1/2)+54 
/35*3^(1/2)*(5*d+7*e)*(x^2+3)*((x^4+9)/(x^2+3)^2)^(1/2)*InverseJacobiAM(2* 
arctan(1/3*x*3^(1/2)),1/2*2^(1/2))/(x^4+9)^(1/2)
 

Mathematica [C] (verified)

Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.

Time = 7.55 (sec) , antiderivative size = 45, normalized size of antiderivative = 0.24 \[ \int \left (d+e x^2\right ) \left (9+x^4\right )^{3/2} \, dx=27 d x \operatorname {Hypergeometric2F1}\left (-\frac {3}{2},\frac {1}{4},\frac {5}{4},-\frac {x^4}{9}\right )+9 e x^3 \operatorname {Hypergeometric2F1}\left (-\frac {3}{2},\frac {3}{4},\frac {7}{4},-\frac {x^4}{9}\right ) \] Input:

Integrate[(d + e*x^2)*(9 + x^4)^(3/2),x]
 

Output:

27*d*x*Hypergeometric2F1[-3/2, 1/4, 5/4, -1/9*x^4] + 9*e*x^3*Hypergeometri 
c2F1[-3/2, 3/4, 7/4, -1/9*x^4]
 

Rubi [A] (verified)

Time = 0.53 (sec) , antiderivative size = 194, normalized size of antiderivative = 1.04, number of steps used = 8, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.471, Rules used = {1491, 27, 1491, 27, 1512, 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 \left (x^4+9\right )^{3/2} \left (d+e x^2\right ) \, dx\)

\(\Big \downarrow \) 1491

\(\displaystyle \frac {1}{21} \int 18 \left (7 e x^2+9 d\right ) \sqrt {x^4+9}dx+\frac {1}{63} x \left (x^4+9\right )^{3/2} \left (9 d+7 e x^2\right )\)

\(\Big \downarrow \) 27

\(\displaystyle \frac {6}{7} \int \left (7 e x^2+9 d\right ) \sqrt {x^4+9}dx+\frac {1}{63} x \left (x^4+9\right )^{3/2} \left (9 d+7 e x^2\right )\)

\(\Big \downarrow \) 1491

\(\displaystyle \frac {6}{7} \left (\frac {1}{15} \int \frac {54 \left (7 e x^2+15 d\right )}{\sqrt {x^4+9}}dx+\frac {1}{5} x \sqrt {x^4+9} \left (15 d+7 e x^2\right )\right )+\frac {1}{63} x \left (x^4+9\right )^{3/2} \left (9 d+7 e x^2\right )\)

\(\Big \downarrow \) 27

\(\displaystyle \frac {6}{7} \left (\frac {18}{5} \int \frac {7 e x^2+15 d}{\sqrt {x^4+9}}dx+\frac {1}{5} x \sqrt {x^4+9} \left (15 d+7 e x^2\right )\right )+\frac {1}{63} x \left (x^4+9\right )^{3/2} \left (9 d+7 e x^2\right )\)

\(\Big \downarrow \) 1512

\(\displaystyle \frac {6}{7} \left (\frac {18}{5} \left (3 (5 d+7 e) \int \frac {1}{\sqrt {x^4+9}}dx-21 e \int \frac {3-x^2}{3 \sqrt {x^4+9}}dx\right )+\frac {1}{5} x \sqrt {x^4+9} \left (15 d+7 e x^2\right )\right )+\frac {1}{63} x \left (x^4+9\right )^{3/2} \left (9 d+7 e x^2\right )\)

\(\Big \downarrow \) 27

\(\displaystyle \frac {6}{7} \left (\frac {18}{5} \left (3 (5 d+7 e) \int \frac {1}{\sqrt {x^4+9}}dx-7 e \int \frac {3-x^2}{\sqrt {x^4+9}}dx\right )+\frac {1}{5} x \sqrt {x^4+9} \left (15 d+7 e x^2\right )\right )+\frac {1}{63} x \left (x^4+9\right )^{3/2} \left (9 d+7 e x^2\right )\)

\(\Big \downarrow \) 761

\(\displaystyle \frac {6}{7} \left (\frac {18}{5} \left (\frac {\sqrt {3} \left (x^2+3\right ) \sqrt {\frac {x^4+9}{\left (x^2+3\right )^2}} (5 d+7 e) \operatorname {EllipticF}\left (2 \arctan \left (\frac {x}{\sqrt {3}}\right ),\frac {1}{2}\right )}{2 \sqrt {x^4+9}}-7 e \int \frac {3-x^2}{\sqrt {x^4+9}}dx\right )+\frac {1}{5} x \sqrt {x^4+9} \left (15 d+7 e x^2\right )\right )+\frac {1}{63} x \left (x^4+9\right )^{3/2} \left (9 d+7 e x^2\right )\)

\(\Big \downarrow \) 1510

\(\displaystyle \frac {6}{7} \left (\frac {18}{5} \left (\frac {\sqrt {3} \left (x^2+3\right ) \sqrt {\frac {x^4+9}{\left (x^2+3\right )^2}} (5 d+7 e) \operatorname {EllipticF}\left (2 \arctan \left (\frac {x}{\sqrt {3}}\right ),\frac {1}{2}\right )}{2 \sqrt {x^4+9}}-7 e \left (\frac {\sqrt {3} \left (x^2+3\right ) \sqrt {\frac {x^4+9}{\left (x^2+3\right )^2}} E\left (2 \arctan \left (\frac {x}{\sqrt {3}}\right )|\frac {1}{2}\right )}{\sqrt {x^4+9}}-\frac {x \sqrt {x^4+9}}{x^2+3}\right )\right )+\frac {1}{5} x \sqrt {x^4+9} \left (15 d+7 e x^2\right )\right )+\frac {1}{63} x \left (x^4+9\right )^{3/2} \left (9 d+7 e x^2\right )\)

Input:

Int[(d + e*x^2)*(9 + x^4)^(3/2),x]
 

Output:

(x*(9*d + 7*e*x^2)*(9 + x^4)^(3/2))/63 + (6*((x*(15*d + 7*e*x^2)*Sqrt[9 + 
x^4])/5 + (18*(-7*e*(-((x*Sqrt[9 + x^4])/(3 + x^2)) + (Sqrt[3]*(3 + x^2)*S 
qrt[(9 + x^4)/(3 + x^2)^2]*EllipticE[2*ArcTan[x/Sqrt[3]], 1/2])/Sqrt[9 + x 
^4]) + (Sqrt[3]*(5*d + 7*e)*(3 + x^2)*Sqrt[(9 + x^4)/(3 + x^2)^2]*Elliptic 
F[2*ArcTan[x/Sqrt[3]], 1/2])/(2*Sqrt[9 + x^4])))/5))/7
 

Defintions of rubi rules used

rule 27
Int[(a_)*(Fx_), x_Symbol] :> Simp[a   Int[Fx, x], x] /; FreeQ[a, x] &&  !Ma 
tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
 

rule 761
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]
 

rule 1491
Int[((d_) + (e_.)*(x_)^2)*((a_) + (c_.)*(x_)^4)^(p_), x_Symbol] :> Simp[x*( 
d*(4*p + 3) + e*(4*p + 1)*x^2)*((a + c*x^4)^p/((4*p + 1)*(4*p + 3))), x] + 
Simp[2*(p/((4*p + 1)*(4*p + 3)))   Int[Simp[2*a*d*(4*p + 3) + (2*a*e*(4*p + 
 1))*x^2, x]*(a + c*x^4)^(p - 1), x], x] /; FreeQ[{a, c, d, e}, x] && NeQ[c 
*d^2 + a*e^2, 0] && GtQ[p, 0] && FractionQ[p] && IntegerQ[2*p]
 

rule 1510
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]
 

rule 1512
Int[((d_) + (e_.)*(x_)^2)/Sqrt[(a_) + (c_.)*(x_)^4], x_Symbol] :> With[{q = 
 Rt[c/a, 2]}, Simp[(e + d*q)/q   Int[1/Sqrt[a + c*x^4], x], x] - Simp[e/q 
 Int[(1 - q*x^2)/Sqrt[a + c*x^4], x], x] /; NeQ[e + d*q, 0]] /; FreeQ[{a, c 
, d, e}, x] && PosQ[c/a]
 
Maple [A] (verified)

Time = 0.99 (sec) , antiderivative size = 34, normalized size of antiderivative = 0.18

method result size
meijerg \(9 e \,x^{3} \operatorname {hypergeom}\left (\left [-\frac {3}{2}, \frac {3}{4}\right ], \left [\frac {7}{4}\right ], -\frac {x^{4}}{9}\right )+27 d x \operatorname {hypergeom}\left (\left [-\frac {3}{2}, \frac {1}{4}\right ], \left [\frac {5}{4}\right ], -\frac {x^{4}}{9}\right )\) \(34\)
risch \(\frac {x \left (35 e \,x^{6}+45 d \,x^{4}+693 e \,x^{2}+1215 d \right ) \sqrt {x^{4}+9}}{315}+\frac {36 d \sqrt {-3 i x^{2}+9}\, \sqrt {3 i x^{2}+9}\, \operatorname {EllipticF}\left (x \left (\frac {\sqrt {6}}{6}+\frac {i \sqrt {6}}{6}\right ), i\right )}{7 \left (\frac {\sqrt {6}}{6}+\frac {i \sqrt {6}}{6}\right ) \sqrt {x^{4}+9}}+\frac {36 i e \sqrt {-3 i x^{2}+9}\, \sqrt {3 i x^{2}+9}\, \left (\operatorname {EllipticF}\left (x \left (\frac {\sqrt {6}}{6}+\frac {i \sqrt {6}}{6}\right ), i\right )-\operatorname {EllipticE}\left (x \left (\frac {\sqrt {6}}{6}+\frac {i \sqrt {6}}{6}\right ), i\right )\right )}{5 \left (\frac {\sqrt {6}}{6}+\frac {i \sqrt {6}}{6}\right ) \sqrt {x^{4}+9}}\) \(177\)
default \(d \left (\frac {x^{5} \sqrt {x^{4}+9}}{7}+\frac {27 x \sqrt {x^{4}+9}}{7}+\frac {36 \sqrt {-3 i x^{2}+9}\, \sqrt {3 i x^{2}+9}\, \operatorname {EllipticF}\left (x \left (\frac {\sqrt {6}}{6}+\frac {i \sqrt {6}}{6}\right ), i\right )}{7 \left (\frac {\sqrt {6}}{6}+\frac {i \sqrt {6}}{6}\right ) \sqrt {x^{4}+9}}\right )+e \left (\frac {x^{7} \sqrt {x^{4}+9}}{9}+\frac {11 x^{3} \sqrt {x^{4}+9}}{5}+\frac {36 i \sqrt {-3 i x^{2}+9}\, \sqrt {3 i x^{2}+9}\, \left (\operatorname {EllipticF}\left (x \left (\frac {\sqrt {6}}{6}+\frac {i \sqrt {6}}{6}\right ), i\right )-\operatorname {EllipticE}\left (x \left (\frac {\sqrt {6}}{6}+\frac {i \sqrt {6}}{6}\right ), i\right )\right )}{5 \left (\frac {\sqrt {6}}{6}+\frac {i \sqrt {6}}{6}\right ) \sqrt {x^{4}+9}}\right )\) \(195\)
elliptic \(\frac {e \,x^{7} \sqrt {x^{4}+9}}{9}+\frac {d \,x^{5} \sqrt {x^{4}+9}}{7}+\frac {11 e \,x^{3} \sqrt {x^{4}+9}}{5}+\frac {27 d x \sqrt {x^{4}+9}}{7}+\frac {36 d \sqrt {-3 i x^{2}+9}\, \sqrt {3 i x^{2}+9}\, \operatorname {EllipticF}\left (x \left (\frac {\sqrt {6}}{6}+\frac {i \sqrt {6}}{6}\right ), i\right )}{7 \left (\frac {\sqrt {6}}{6}+\frac {i \sqrt {6}}{6}\right ) \sqrt {x^{4}+9}}+\frac {36 i e \sqrt {-3 i x^{2}+9}\, \sqrt {3 i x^{2}+9}\, \left (\operatorname {EllipticF}\left (x \left (\frac {\sqrt {6}}{6}+\frac {i \sqrt {6}}{6}\right ), i\right )-\operatorname {EllipticE}\left (x \left (\frac {\sqrt {6}}{6}+\frac {i \sqrt {6}}{6}\right ), i\right )\right )}{5 \left (\frac {\sqrt {6}}{6}+\frac {i \sqrt {6}}{6}\right ) \sqrt {x^{4}+9}}\) \(195\)

Input:

int((e*x^2+d)*(x^4+9)^(3/2),x,method=_RETURNVERBOSE)
 

Output:

9*e*x^3*hypergeom([-3/2,3/4],[7/4],-1/9*x^4)+27*d*x*hypergeom([-3/2,1/4],[ 
5/4],-1/9*x^4)
 

Fricas [C] (verification not implemented)

Result contains complex when optimal does not.

Time = 0.07 (sec) , antiderivative size = 82, normalized size of antiderivative = 0.44 \[ \int \left (d+e x^2\right ) \left (9+x^4\right )^{3/2} \, dx=\frac {20412 i \, \sqrt {3 i} e x E(\arcsin \left (\frac {\sqrt {3 i}}{x}\right )\,|\,-1) + 972 i \, \sqrt {3 i} {\left (5 \, d - 21 \, e\right )} x F(\arcsin \left (\frac {\sqrt {3 i}}{x}\right )\,|\,-1) + {\left (35 \, e x^{8} + 45 \, d x^{6} + 693 \, e x^{4} + 1215 \, d x^{2} + 6804 \, e\right )} \sqrt {x^{4} + 9}}{315 \, x} \] Input:

integrate((e*x^2+d)*(x^4+9)^(3/2),x, algorithm="fricas")
 

Output:

1/315*(20412*I*sqrt(3*I)*e*x*elliptic_e(arcsin(sqrt(3*I)/x), -1) + 972*I*s 
qrt(3*I)*(5*d - 21*e)*x*elliptic_f(arcsin(sqrt(3*I)/x), -1) + (35*e*x^8 + 
45*d*x^6 + 693*e*x^4 + 1215*d*x^2 + 6804*e)*sqrt(x^4 + 9))/x
 

Sympy [C] (verification not implemented)

Result contains complex when optimal does not.

Time = 1.32 (sec) , antiderivative size = 146, normalized size of antiderivative = 0.78 \[ \int \left (d+e x^2\right ) \left (9+x^4\right )^{3/2} \, dx=\frac {3 d x^{5} \Gamma \left (\frac {5}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {5}{4} \\ \frac {9}{4} \end {matrix}\middle | {\frac {x^{4} e^{i \pi }}{9}} \right )}}{4 \Gamma \left (\frac {9}{4}\right )} + \frac {27 d x \Gamma \left (\frac {1}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {1}{4} \\ \frac {5}{4} \end {matrix}\middle | {\frac {x^{4} e^{i \pi }}{9}} \right )}}{4 \Gamma \left (\frac {5}{4}\right )} + \frac {3 e x^{7} \Gamma \left (\frac {7}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {7}{4} \\ \frac {11}{4} \end {matrix}\middle | {\frac {x^{4} e^{i \pi }}{9}} \right )}}{4 \Gamma \left (\frac {11}{4}\right )} + \frac {27 e x^{3} \Gamma \left (\frac {3}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {3}{4} \\ \frac {7}{4} \end {matrix}\middle | {\frac {x^{4} e^{i \pi }}{9}} \right )}}{4 \Gamma \left (\frac {7}{4}\right )} \] Input:

integrate((e*x**2+d)*(x**4+9)**(3/2),x)
 

Output:

3*d*x**5*gamma(5/4)*hyper((-1/2, 5/4), (9/4,), x**4*exp_polar(I*pi)/9)/(4* 
gamma(9/4)) + 27*d*x*gamma(1/4)*hyper((-1/2, 1/4), (5/4,), x**4*exp_polar( 
I*pi)/9)/(4*gamma(5/4)) + 3*e*x**7*gamma(7/4)*hyper((-1/2, 7/4), (11/4,), 
x**4*exp_polar(I*pi)/9)/(4*gamma(11/4)) + 27*e*x**3*gamma(3/4)*hyper((-1/2 
, 3/4), (7/4,), x**4*exp_polar(I*pi)/9)/(4*gamma(7/4))
 

Maxima [F]

\[ \int \left (d+e x^2\right ) \left (9+x^4\right )^{3/2} \, dx=\int { {\left (x^{4} + 9\right )}^{\frac {3}{2}} {\left (e x^{2} + d\right )} \,d x } \] Input:

integrate((e*x^2+d)*(x^4+9)^(3/2),x, algorithm="maxima")
 

Output:

integrate((x^4 + 9)^(3/2)*(e*x^2 + d), x)
                                                                                    
                                                                                    
 

Giac [F]

\[ \int \left (d+e x^2\right ) \left (9+x^4\right )^{3/2} \, dx=\int { {\left (x^{4} + 9\right )}^{\frac {3}{2}} {\left (e x^{2} + d\right )} \,d x } \] Input:

integrate((e*x^2+d)*(x^4+9)^(3/2),x, algorithm="giac")
 

Output:

integrate((x^4 + 9)^(3/2)*(e*x^2 + d), x)
 

Mupad [F(-1)]

Timed out. \[ \int \left (d+e x^2\right ) \left (9+x^4\right )^{3/2} \, dx=\int {\left (x^4+9\right )}^{3/2}\,\left (e\,x^2+d\right ) \,d x \] Input:

int((x^4 + 9)^(3/2)*(d + e*x^2),x)
 

Output:

int((x^4 + 9)^(3/2)*(d + e*x^2), x)
 

Reduce [F]

\[ \int \left (d+e x^2\right ) \left (9+x^4\right )^{3/2} \, dx=\frac {\sqrt {x^{4}+9}\, d \,x^{5}}{7}+\frac {27 \sqrt {x^{4}+9}\, d x}{7}+\frac {\sqrt {x^{4}+9}\, e \,x^{7}}{9}+\frac {11 \sqrt {x^{4}+9}\, e \,x^{3}}{5}+\frac {324 \left (\int \frac {\sqrt {x^{4}+9}}{x^{4}+9}d x \right ) d}{7}+\frac {108 \left (\int \frac {\sqrt {x^{4}+9}\, x^{2}}{x^{4}+9}d x \right ) e}{5} \] Input:

int((e*x^2+d)*(x^4+9)^(3/2),x)
 

Output:

(45*sqrt(x**4 + 9)*d*x**5 + 1215*sqrt(x**4 + 9)*d*x + 35*sqrt(x**4 + 9)*e* 
x**7 + 693*sqrt(x**4 + 9)*e*x**3 + 14580*int(sqrt(x**4 + 9)/(x**4 + 9),x)* 
d + 6804*int((sqrt(x**4 + 9)*x**2)/(x**4 + 9),x)*e)/315