\(\int \frac {x^5 (A+B x^2+C x^4)}{(c+d x^2) \sqrt {a+c x^4}} \, dx\) [21]

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

Optimal result

Integrand size = 36, antiderivative size = 254 \[ \int \frac {x^5 \left (A+B x^2+C x^4\right )}{\left (c+d x^2\right ) \sqrt {a+c x^4}} \, dx=\frac {\left (3 c^3 C-3 B c^2 d+3 A c d^2-2 a C d^2\right ) \sqrt {a+c x^4}}{6 c^2 d^3}-\frac {(c C-B d) x^2 \sqrt {a+c x^4}}{4 c d^2}+\frac {C x^4 \sqrt {a+c x^4}}{6 c d}-\frac {\left (2 c^4 C-2 B c^3 d+2 A c^2 d^2-a c C d^2+a B d^3\right ) \text {arctanh}\left (\frac {\sqrt {c} x^2}{\sqrt {a+c x^4}}\right )}{4 c^{3/2} d^4}-\frac {c^2 \left (c^2 C-B c d+A d^2\right ) \text {arctanh}\left (\frac {a d-c^2 x^2}{\sqrt {c^3+a d^2} \sqrt {a+c x^4}}\right )}{2 d^4 \sqrt {c^3+a d^2}} \] Output:

1/6*(3*A*c*d^2-3*B*c^2*d-2*C*a*d^2+3*C*c^3)*(c*x^4+a)^(1/2)/c^2/d^3-1/4*(- 
B*d+C*c)*x^2*(c*x^4+a)^(1/2)/c/d^2+1/6*C*x^4*(c*x^4+a)^(1/2)/c/d-1/4*(2*A* 
c^2*d^2+B*a*d^3-2*B*c^3*d-C*a*c*d^2+2*C*c^4)*arctanh(c^(1/2)*x^2/(c*x^4+a) 
^(1/2))/c^(3/2)/d^4-1/2*c^2*(A*d^2-B*c*d+C*c^2)*arctanh((-c^2*x^2+a*d)/(a* 
d^2+c^3)^(1/2)/(c*x^4+a)^(1/2))/d^4/(a*d^2+c^3)^(1/2)
 

Mathematica [A] (verified)

Time = 1.11 (sec) , antiderivative size = 226, normalized size of antiderivative = 0.89 \[ \int \frac {x^5 \left (A+B x^2+C x^4\right )}{\left (c+d x^2\right ) \sqrt {a+c x^4}} \, dx=\frac {d \sqrt {a+c x^4} \left (6 c^3 C-4 a C d^2-3 c^2 d \left (2 B+C x^2\right )+c d^2 \left (6 A+3 B x^2+2 C x^4\right )\right )-\frac {12 c^4 \left (c^2 C-B c d+A d^2\right ) \arctan \left (\frac {c^{3/2}+\sqrt {c} d x^2-d \sqrt {a+c x^4}}{\sqrt {-c^3-a d^2}}\right )}{\sqrt {-c^3-a d^2}}+3 \sqrt {c} \left (2 c^4 C-2 B c^3 d+2 A c^2 d^2-a c C d^2+a B d^3\right ) \log \left (-\sqrt {c} x^2+\sqrt {a+c x^4}\right )}{12 c^2 d^4} \] Input:

Integrate[(x^5*(A + B*x^2 + C*x^4))/((c + d*x^2)*Sqrt[a + c*x^4]),x]
 

Output:

(d*Sqrt[a + c*x^4]*(6*c^3*C - 4*a*C*d^2 - 3*c^2*d*(2*B + C*x^2) + c*d^2*(6 
*A + 3*B*x^2 + 2*C*x^4)) - (12*c^4*(c^2*C - B*c*d + A*d^2)*ArcTan[(c^(3/2) 
 + Sqrt[c]*d*x^2 - d*Sqrt[a + c*x^4])/Sqrt[-c^3 - a*d^2]])/Sqrt[-c^3 - a*d 
^2] + 3*Sqrt[c]*(2*c^4*C - 2*B*c^3*d + 2*A*c^2*d^2 - a*c*C*d^2 + a*B*d^3)* 
Log[-(Sqrt[c]*x^2) + Sqrt[a + c*x^4]])/(12*c^2*d^4)
 

Rubi [A] (verified)

Time = 1.32 (sec) , antiderivative size = 272, normalized size of antiderivative = 1.07, number of steps used = 15, number of rules used = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.389, Rules used = {2237, 27, 2237, 27, 2237, 27, 2253, 2239, 27, 719, 224, 219, 488, 219}

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 {x^5 \left (A+B x^2+C x^4\right )}{\sqrt {a+c x^4} \left (c+d x^2\right )} \, dx\)

\(\Big \downarrow \) 2237

\(\displaystyle \frac {\int -\frac {2 \left (C x^3 \left (d x^2+c\right ) \left (3 c x^4+2 a\right )-3 c d x^5 \left (C x^4+B x^2+A\right )\right )}{\left (d x^2+c\right ) \sqrt {c x^4+a}}dx}{6 c d}+\frac {C x^4 \sqrt {a+c x^4}}{6 c d}\)

\(\Big \downarrow \) 27

\(\displaystyle \frac {C x^4 \sqrt {a+c x^4}}{6 c d}-\frac {\int \frac {C x^3 \left (d x^2+c\right ) \left (3 c x^4+2 a\right )-3 c d x^5 \left (C x^4+B x^2+A\right )}{\left (d x^2+c\right ) \sqrt {c x^4+a}}dx}{3 c d}\)

\(\Big \downarrow \) 2237

\(\displaystyle \frac {C x^4 \sqrt {a+c x^4}}{6 c d}-\frac {\frac {\int -\frac {2 \left (3 c (c C-B d) x \left (d x^2+c\right ) \left (2 c x^4+a\right )-2 c d \left (C x^3 \left (d x^2+c\right ) \left (3 c x^4+2 a\right )-3 c d x^5 \left (C x^4+B x^2+A\right )\right )\right )}{\left (d x^2+c\right ) \sqrt {c x^4+a}}dx}{4 c d}+\frac {3 x^2 \sqrt {a+c x^4} (c C-B d)}{4 d}}{3 c d}\)

\(\Big \downarrow \) 27

\(\displaystyle \frac {C x^4 \sqrt {a+c x^4}}{6 c d}-\frac {\frac {3 x^2 \sqrt {a+c x^4} (c C-B d)}{4 d}-\frac {\int \frac {3 c (c C-B d) x \left (d x^2+c\right ) \left (2 c x^4+a\right )-2 c d \left (C x^3 \left (d x^2+c\right ) \left (3 c x^4+2 a\right )-3 c d x^5 \left (C x^4+B x^2+A\right )\right )}{\left (d x^2+c\right ) \sqrt {c x^4+a}}dx}{2 c d}}{3 c d}\)

\(\Big \downarrow \) 2237

\(\displaystyle \frac {C x^4 \sqrt {a+c x^4}}{6 c d}-\frac {\frac {3 x^2 \sqrt {a+c x^4} (c C-B d)}{4 d}-\frac {\frac {\int -\frac {2 \left (2 c^2 \left (3 C c^3-3 B d c^2+3 A d^2 c-2 a C d^2\right ) x^3 \left (d x^2+c\right )-d \left (3 c^2 (c C-B d) x \left (d x^2+c\right ) \left (2 c x^4+a\right )-2 c^2 d \left (C x^3 \left (d x^2+c\right ) \left (3 c x^4+2 a\right )-3 c d x^5 \left (C x^4+B x^2+A\right )\right )\right )\right )}{\left (d x^2+c\right ) \sqrt {c x^4+a}}dx}{2 c d}+\frac {\sqrt {a+c x^4} \left (-2 a C d^2+3 A c d^2-3 B c^2 d+3 c^3 C\right )}{d}}{2 c d}}{3 c d}\)

\(\Big \downarrow \) 27

\(\displaystyle \frac {C x^4 \sqrt {a+c x^4}}{6 c d}-\frac {\frac {3 x^2 \sqrt {a+c x^4} (c C-B d)}{4 d}-\frac {\frac {\sqrt {a+c x^4} \left (-2 a C d^2+3 A c d^2-3 B c^2 d+3 c^3 C\right )}{d}-\frac {\int \frac {2 c^2 \left (3 C c^3-3 B d c^2+3 A d^2 c-2 a C d^2\right ) x^3 \left (d x^2+c\right )-d \left (3 c^2 (c C-B d) x \left (d x^2+c\right ) \left (2 c x^4+a\right )-2 c^2 d \left (C x^3 \left (d x^2+c\right ) \left (3 c x^4+2 a\right )-3 c d x^5 \left (C x^4+B x^2+A\right )\right )\right )}{\left (d x^2+c\right ) \sqrt {c x^4+a}}dx}{c d}}{2 c d}}{3 c d}\)

\(\Big \downarrow \) 2253

\(\displaystyle \frac {C x^4 \sqrt {a+c x^4}}{6 c d}-\frac {\frac {3 x^2 \sqrt {a+c x^4} (c C-B d)}{4 d}-\frac {\frac {\sqrt {a+c x^4} \left (-2 a C d^2+3 A c d^2-3 B c^2 d+3 c^3 C\right )}{d}-\frac {\int \frac {x \left (3 c^2 \left (2 C c^4-2 B d c^3+2 A d^2 c^2-a C d^2 c+a B d^3\right ) x^2-3 a c^3 d (c C-B d)\right )}{\left (d x^2+c\right ) \sqrt {c x^4+a}}dx}{c d}}{2 c d}}{3 c d}\)

\(\Big \downarrow \) 2239

\(\displaystyle \frac {C x^4 \sqrt {a+c x^4}}{6 c d}-\frac {\frac {3 x^2 \sqrt {a+c x^4} (c C-B d)}{4 d}-\frac {\frac {\sqrt {a+c x^4} \left (-2 a C d^2+3 A c d^2-3 B c^2 d+3 c^3 C\right )}{d}-\frac {\int -\frac {3 c^2 \left (a c d (c C-B d)-\left (2 C c^4-2 B d c^3+2 A d^2 c^2-a C d^2 c+a B d^3\right ) x^2\right )}{\left (d x^2+c\right ) \sqrt {c x^4+a}}dx^2}{2 c d}}{2 c d}}{3 c d}\)

\(\Big \downarrow \) 27

\(\displaystyle \frac {C x^4 \sqrt {a+c x^4}}{6 c d}-\frac {\frac {3 x^2 \sqrt {a+c x^4} (c C-B d)}{4 d}-\frac {\frac {3 c \int \frac {a c d (c C-B d)-\left (2 C c^4-2 B d c^3+2 A d^2 c^2-a C d^2 c+a B d^3\right ) x^2}{\left (d x^2+c\right ) \sqrt {c x^4+a}}dx^2}{2 d}+\frac {\sqrt {a+c x^4} \left (-2 a C d^2+3 A c d^2-3 B c^2 d+3 c^3 C\right )}{d}}{2 c d}}{3 c d}\)

\(\Big \downarrow \) 719

\(\displaystyle \frac {C x^4 \sqrt {a+c x^4}}{6 c d}-\frac {\frac {3 x^2 \sqrt {a+c x^4} (c C-B d)}{4 d}-\frac {\frac {3 c \left (\frac {2 c^3 \left (A d^2-B c d+c^2 C\right ) \int \frac {1}{\left (d x^2+c\right ) \sqrt {c x^4+a}}dx^2}{d}-\frac {\left (a B d^3-a c C d^2+2 A c^2 d^2-2 B c^3 d+2 c^4 C\right ) \int \frac {1}{\sqrt {c x^4+a}}dx^2}{d}\right )}{2 d}+\frac {\sqrt {a+c x^4} \left (-2 a C d^2+3 A c d^2-3 B c^2 d+3 c^3 C\right )}{d}}{2 c d}}{3 c d}\)

\(\Big \downarrow \) 224

\(\displaystyle \frac {C x^4 \sqrt {a+c x^4}}{6 c d}-\frac {\frac {3 x^2 \sqrt {a+c x^4} (c C-B d)}{4 d}-\frac {\frac {3 c \left (\frac {2 c^3 \left (A d^2-B c d+c^2 C\right ) \int \frac {1}{\left (d x^2+c\right ) \sqrt {c x^4+a}}dx^2}{d}-\frac {\left (a B d^3-a c C d^2+2 A c^2 d^2-2 B c^3 d+2 c^4 C\right ) \int \frac {1}{1-c x^4}d\frac {x^2}{\sqrt {c x^4+a}}}{d}\right )}{2 d}+\frac {\sqrt {a+c x^4} \left (-2 a C d^2+3 A c d^2-3 B c^2 d+3 c^3 C\right )}{d}}{2 c d}}{3 c d}\)

\(\Big \downarrow \) 219

\(\displaystyle \frac {C x^4 \sqrt {a+c x^4}}{6 c d}-\frac {\frac {3 x^2 \sqrt {a+c x^4} (c C-B d)}{4 d}-\frac {\frac {3 c \left (\frac {2 c^3 \left (A d^2-B c d+c^2 C\right ) \int \frac {1}{\left (d x^2+c\right ) \sqrt {c x^4+a}}dx^2}{d}-\frac {\text {arctanh}\left (\frac {\sqrt {c} x^2}{\sqrt {a+c x^4}}\right ) \left (a B d^3-a c C d^2+2 A c^2 d^2-2 B c^3 d+2 c^4 C\right )}{\sqrt {c} d}\right )}{2 d}+\frac {\sqrt {a+c x^4} \left (-2 a C d^2+3 A c d^2-3 B c^2 d+3 c^3 C\right )}{d}}{2 c d}}{3 c d}\)

\(\Big \downarrow \) 488

\(\displaystyle \frac {C x^4 \sqrt {a+c x^4}}{6 c d}-\frac {\frac {3 x^2 \sqrt {a+c x^4} (c C-B d)}{4 d}-\frac {\frac {3 c \left (-\frac {2 c^3 \left (A d^2-B c d+c^2 C\right ) \int \frac {1}{-x^4+c^3+a d^2}d\frac {a d-c^2 x^2}{\sqrt {c x^4+a}}}{d}-\frac {\text {arctanh}\left (\frac {\sqrt {c} x^2}{\sqrt {a+c x^4}}\right ) \left (a B d^3-a c C d^2+2 A c^2 d^2-2 B c^3 d+2 c^4 C\right )}{\sqrt {c} d}\right )}{2 d}+\frac {\sqrt {a+c x^4} \left (-2 a C d^2+3 A c d^2-3 B c^2 d+3 c^3 C\right )}{d}}{2 c d}}{3 c d}\)

\(\Big \downarrow \) 219

\(\displaystyle \frac {C x^4 \sqrt {a+c x^4}}{6 c d}-\frac {\frac {3 x^2 \sqrt {a+c x^4} (c C-B d)}{4 d}-\frac {\frac {3 c \left (-\frac {2 c^3 \text {arctanh}\left (\frac {a d-c^2 x^2}{\sqrt {a d^2+c^3} \sqrt {a+c x^4}}\right ) \left (A d^2-B c d+c^2 C\right )}{d \sqrt {a d^2+c^3}}-\frac {\text {arctanh}\left (\frac {\sqrt {c} x^2}{\sqrt {a+c x^4}}\right ) \left (a B d^3-a c C d^2+2 A c^2 d^2-2 B c^3 d+2 c^4 C\right )}{\sqrt {c} d}\right )}{2 d}+\frac {\sqrt {a+c x^4} \left (-2 a C d^2+3 A c d^2-3 B c^2 d+3 c^3 C\right )}{d}}{2 c d}}{3 c d}\)

Input:

Int[(x^5*(A + B*x^2 + C*x^4))/((c + d*x^2)*Sqrt[a + c*x^4]),x]
 

Output:

(C*x^4*Sqrt[a + c*x^4])/(6*c*d) - ((3*(c*C - B*d)*x^2*Sqrt[a + c*x^4])/(4* 
d) - (((3*c^3*C - 3*B*c^2*d + 3*A*c*d^2 - 2*a*C*d^2)*Sqrt[a + c*x^4])/d + 
(3*c*(-(((2*c^4*C - 2*B*c^3*d + 2*A*c^2*d^2 - a*c*C*d^2 + a*B*d^3)*ArcTanh 
[(Sqrt[c]*x^2)/Sqrt[a + c*x^4]])/(Sqrt[c]*d)) - (2*c^3*(c^2*C - B*c*d + A* 
d^2)*ArcTanh[(a*d - c^2*x^2)/(Sqrt[c^3 + a*d^2]*Sqrt[a + c*x^4])])/(d*Sqrt 
[c^3 + a*d^2])))/(2*d))/(2*c*d))/(3*c*d)
 

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 219
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))* 
ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x] /; FreeQ[{a, b}, x] && NegQ[a/b] && (Gt 
Q[a, 0] || LtQ[b, 0])
 

rule 224
Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], 
x, x/Sqrt[a + b*x^2]] /; FreeQ[{a, b}, x] &&  !GtQ[a, 0]
 

rule 488
Int[1/(((c_) + (d_.)*(x_))*Sqrt[(a_) + (b_.)*(x_)^2]), x_Symbol] :> -Subst[ 
Int[1/(b*c^2 + a*d^2 - x^2), x], x, (a*d - b*c*x)/Sqrt[a + b*x^2]] /; FreeQ 
[{a, b, c, d}, x]
 

rule 719
Int[((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_))*((a_) + (c_.)*(x_)^2)^(p 
_.), x_Symbol] :> Simp[g/e   Int[(d + e*x)^(m + 1)*(a + c*x^2)^p, x], x] + 
Simp[(e*f - d*g)/e   Int[(d + e*x)^m*(a + c*x^2)^p, x], x] /; FreeQ[{a, c, 
d, e, f, g, m, p}, x] &&  !IGtQ[m, 0]
 

rule 2237
Int[(Px_)/(((d_) + (e_.)*(x_)^2)*Sqrt[(a_) + (c_.)*(x_)^4]), x_Symbol] :> W 
ith[{q = Expon[Px, x]}, Simp[Coeff[Px, x, q]*x^(q - 5)*(Sqrt[a + c*x^4]/(c* 
e*(q - 3))), x] + Simp[1/(c*e*(q - 3))   Int[(c*e*(q - 3)*Px - Coeff[Px, x, 
 q]*x^(q - 6)*(d + e*x^2)*(a*(q - 5) + c*(q - 3)*x^4))/((d + e*x^2)*Sqrt[a 
+ c*x^4]), x], x] /; GtQ[q, 4]] /; FreeQ[{a, c, d, e}, x] && PolyQ[Px, x]
 

rule 2239
Int[(Px_)*(x_)*((d_) + (e_.)*(x_)^2)^(q_.)*((a_) + (c_.)*(x_)^4)^(p_.), x_S 
ymbol] :> Simp[1/2   Subst[Int[(Px /. x -> Sqrt[x])*(d + e*x)^q*(a + c*x^2) 
^p, x], x, x^2], x] /; FreeQ[{a, c, d, e, p, q}, x] && PolyQ[Px, x^2]
 

rule 2253
Int[(Px_)*((d_) + (e_.)*(x_)^2)^(q_.)*((a_) + (c_.)*(x_)^4)^(p_), x_Symbol] 
 :> With[{m = Expon[Px, x, Min]}, Int[x^m*ExpandToSum[Px/x^m, x]*(d + e*x^2 
)^q*(a + c*x^4)^p, x] /; GtQ[m, 0] &&  !MatchQ[Px, x^m*(u_.)]] /; FreeQ[{a, 
 c, d, e, p, q}, x] && PolyQ[Px, x]
 
Maple [A] (verified)

Time = 0.94 (sec) , antiderivative size = 295, normalized size of antiderivative = 1.16

method result size
risch \(\frac {\left (2 C c \,d^{2} x^{4}+3 B c \,d^{2} x^{2}-3 C \,c^{2} d \,x^{2}+6 A c \,d^{2}-6 d \,c^{2} B -4 C a \,d^{2}+6 C \,c^{3}\right ) \sqrt {c \,x^{4}+a}}{12 c^{2} d^{3}}-\frac {\frac {\left (2 A \,c^{2} d^{2}+B a \,d^{3}-2 B \,c^{3} d -C a c \,d^{2}+2 C \,c^{4}\right ) \ln \left (\sqrt {c}\, x^{2}+\sqrt {c \,x^{4}+a}\right )}{2 d \sqrt {c}}+\frac {c^{3} \left (A \,d^{2}-B c d +C \,c^{2}\right ) \ln \left (\frac {\frac {2 a \,d^{2}+2 c^{3}}{d^{2}}-\frac {2 c^{2} \left (x^{2}+\frac {c}{d}\right )}{d}+2 \sqrt {\frac {a \,d^{2}+c^{3}}{d^{2}}}\, \sqrt {\left (x^{2}+\frac {c}{d}\right )^{2} c -\frac {2 c^{2} \left (x^{2}+\frac {c}{d}\right )}{d}+\frac {a \,d^{2}+c^{3}}{d^{2}}}}{x^{2}+\frac {c}{d}}\right )}{d^{2} \sqrt {\frac {a \,d^{2}+c^{3}}{d^{2}}}}}{2 d^{3} c}\) \(295\)
default \(-\frac {c^{2} \left (A \,d^{2}-B c d +C \,c^{2}\right ) \ln \left (\frac {\frac {2 a \,d^{2}+2 c^{3}}{d^{2}}-\frac {2 c^{2} \left (x^{2}+\frac {c}{d}\right )}{d}+2 \sqrt {\frac {a \,d^{2}+c^{3}}{d^{2}}}\, \sqrt {\left (x^{2}+\frac {c}{d}\right )^{2} c -\frac {2 c^{2} \left (x^{2}+\frac {c}{d}\right )}{d}+\frac {a \,d^{2}+c^{3}}{d^{2}}}}{x^{2}+\frac {c}{d}}\right )}{2 d^{5} \sqrt {\frac {a \,d^{2}+c^{3}}{d^{2}}}}-\frac {-d^{2} \left (B d -C c \right ) \left (\frac {x^{2} \sqrt {c \,x^{4}+a}}{4 c}-\frac {a \ln \left (\sqrt {c}\, x^{2}+\sqrt {c \,x^{4}+a}\right )}{4 c^{\frac {3}{2}}}\right )-\frac {d \left (A \,d^{2}-B c d +C \,c^{2}\right ) \sqrt {c \,x^{4}+a}}{2 c}+\frac {\sqrt {c}\, \left (A \,d^{2}-B c d +C \,c^{2}\right ) \ln \left (\sqrt {c}\, x^{2}+\sqrt {c \,x^{4}+a}\right )}{2}+\frac {C \,d^{3} \sqrt {c \,x^{4}+a}\, \left (-c \,x^{4}+2 a \right )}{6 c^{2}}}{d^{4}}\) \(308\)
elliptic \(\frac {d^{2} \left (B d -C c \right ) \left (\frac {x^{2} \sqrt {c \,x^{4}+a}}{2 c}-\frac {a \ln \left (\sqrt {c}\, x^{2}+\sqrt {c \,x^{4}+a}\right )}{2 c^{\frac {3}{2}}}\right )+\frac {d \left (A \,d^{2}-B c d +C \,c^{2}\right ) \sqrt {c \,x^{4}+a}}{c}+C \,d^{3} \left (\frac {x^{4} \sqrt {c \,x^{4}+a}}{3 c}-\frac {2 a \sqrt {c \,x^{4}+a}}{3 c^{2}}\right )+d \,c^{\frac {3}{2}} B \ln \left (\sqrt {c}\, x^{2}+\sqrt {c \,x^{4}+a}\right )-C \,c^{\frac {5}{2}} \ln \left (\sqrt {c}\, x^{2}+\sqrt {c \,x^{4}+a}\right )-A \sqrt {c}\, d^{2} \ln \left (\sqrt {c}\, x^{2}+\sqrt {c \,x^{4}+a}\right )}{2 d^{4}}-\frac {c^{2} \left (A \,d^{2}-B c d +C \,c^{2}\right ) \ln \left (\frac {\frac {2 a \,d^{2}+2 c^{3}}{d^{2}}-\frac {2 c^{2} \left (x^{2}+\frac {c}{d}\right )}{d}+2 \sqrt {\frac {a \,d^{2}+c^{3}}{d^{2}}}\, \sqrt {\left (x^{2}+\frac {c}{d}\right )^{2} c -\frac {2 c^{2} \left (x^{2}+\frac {c}{d}\right )}{d}+\frac {a \,d^{2}+c^{3}}{d^{2}}}}{x^{2}+\frac {c}{d}}\right )}{2 d^{5} \sqrt {\frac {a \,d^{2}+c^{3}}{d^{2}}}}\) \(352\)

Input:

int(x^5*(C*x^4+B*x^2+A)/(d*x^2+c)/(c*x^4+a)^(1/2),x,method=_RETURNVERBOSE)
 

Output:

1/12*(2*C*c*d^2*x^4+3*B*c*d^2*x^2-3*C*c^2*d*x^2+6*A*c*d^2-6*B*c^2*d-4*C*a* 
d^2+6*C*c^3)*(c*x^4+a)^(1/2)/c^2/d^3-1/2/d^3/c*(1/2*(2*A*c^2*d^2+B*a*d^3-2 
*B*c^3*d-C*a*c*d^2+2*C*c^4)/d*ln(c^(1/2)*x^2+(c*x^4+a)^(1/2))/c^(1/2)+c^3* 
(A*d^2-B*c*d+C*c^2)/d^2/((a*d^2+c^3)/d^2)^(1/2)*ln((2*(a*d^2+c^3)/d^2-2*c^ 
2/d*(x^2+c/d)+2*((a*d^2+c^3)/d^2)^(1/2)*((x^2+c/d)^2*c-2*c^2/d*(x^2+c/d)+( 
a*d^2+c^3)/d^2)^(1/2))/(x^2+c/d)))
 

Fricas [F(-1)]

Timed out. \[ \int \frac {x^5 \left (A+B x^2+C x^4\right )}{\left (c+d x^2\right ) \sqrt {a+c x^4}} \, dx=\text {Timed out} \] Input:

integrate(x^5*(C*x^4+B*x^2+A)/(d*x^2+c)/(c*x^4+a)^(1/2),x, algorithm="fric 
as")
 

Output:

Timed out
 

Sympy [F]

\[ \int \frac {x^5 \left (A+B x^2+C x^4\right )}{\left (c+d x^2\right ) \sqrt {a+c x^4}} \, dx=\int \frac {x^{5} \left (A + B x^{2} + C x^{4}\right )}{\sqrt {a + c x^{4}} \left (c + d x^{2}\right )}\, dx \] Input:

integrate(x**5*(C*x**4+B*x**2+A)/(d*x**2+c)/(c*x**4+a)**(1/2),x)
 

Output:

Integral(x**5*(A + B*x**2 + C*x**4)/(sqrt(a + c*x**4)*(c + d*x**2)), x)
 

Maxima [F]

\[ \int \frac {x^5 \left (A+B x^2+C x^4\right )}{\left (c+d x^2\right ) \sqrt {a+c x^4}} \, dx=\int { \frac {{\left (C x^{4} + B x^{2} + A\right )} x^{5}}{\sqrt {c x^{4} + a} {\left (d x^{2} + c\right )}} \,d x } \] Input:

integrate(x^5*(C*x^4+B*x^2+A)/(d*x^2+c)/(c*x^4+a)^(1/2),x, algorithm="maxi 
ma")
 

Output:

integrate((C*x^4 + B*x^2 + A)*x^5/(sqrt(c*x^4 + a)*(d*x^2 + c)), x)
 

Giac [F(-2)]

Exception generated. \[ \int \frac {x^5 \left (A+B x^2+C x^4\right )}{\left (c+d x^2\right ) \sqrt {a+c x^4}} \, dx=\text {Exception raised: TypeError} \] Input:

integrate(x^5*(C*x^4+B*x^2+A)/(d*x^2+c)/(c*x^4+a)^(1/2),x, algorithm="giac 
")
 

Output:

Exception raised: TypeError >> an error occurred running a Giac command:IN 
PUT:sage2:=int(sage0,sageVARx):;OUTPUT:index.cc index_m i_lex_is_greater E 
rror: Bad Argument Value
 

Mupad [F(-1)]

Timed out. \[ \int \frac {x^5 \left (A+B x^2+C x^4\right )}{\left (c+d x^2\right ) \sqrt {a+c x^4}} \, dx=\int \frac {x^5\,\left (C\,x^4+B\,x^2+A\right )}{\sqrt {c\,x^4+a}\,\left (d\,x^2+c\right )} \,d x \] Input:

int((x^5*(A + B*x^2 + C*x^4))/((a + c*x^4)^(1/2)*(c + d*x^2)),x)
                                                                                    
                                                                                    
 

Output:

int((x^5*(A + B*x^2 + C*x^4))/((a + c*x^4)^(1/2)*(c + d*x^2)), x)
 

Reduce [F]

\[ \int \frac {x^5 \left (A+B x^2+C x^4\right )}{\left (c+d x^2\right ) \sqrt {a+c x^4}} \, dx=\left (\int \frac {x^{9}}{\sqrt {c \,x^{4}+a}\, c +\sqrt {c \,x^{4}+a}\, d \,x^{2}}d x \right ) c +\left (\int \frac {x^{7}}{\sqrt {c \,x^{4}+a}\, c +\sqrt {c \,x^{4}+a}\, d \,x^{2}}d x \right ) b +\left (\int \frac {x^{5}}{\sqrt {c \,x^{4}+a}\, c +\sqrt {c \,x^{4}+a}\, d \,x^{2}}d x \right ) a \] Input:

int(x^5*(C*x^4+B*x^2+A)/(d*x^2+c)/(c*x^4+a)^(1/2),x)
 

Output:

int(x**9/(sqrt(a + c*x**4)*c + sqrt(a + c*x**4)*d*x**2),x)*c + int(x**7/(s 
qrt(a + c*x**4)*c + sqrt(a + c*x**4)*d*x**2),x)*b + int(x**5/(sqrt(a + c*x 
**4)*c + sqrt(a + c*x**4)*d*x**2),x)*a