3.5.79 \(\int (d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}})^{5/2} \, dx\) [479]

Optimal. Leaf size=370 \[ \frac {f^2 \left (2 d e-b f^2\right ) \left (4 a e^2-b^2 f^2\right ) \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}{4 e^4}+\frac {f^2 \left (4 a e^2-b^2 f^2\right ) \left (d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}\right )^{3/2}}{12 e^3}+\frac {\left (d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}\right )^{7/2}}{7 e}-\frac {f^2 \left (2 d e-b f^2\right )^2 \left (4 a e^2-b^2 f^2\right ) \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}{16 e^4 \left (b f^2+2 e \left (e x+f \sqrt {a+\frac {x \left (b f^2+e^2 x\right )}{f^2}}\right )\right )}-\frac {5 f^2 \left (2 d e-b f^2\right )^{3/2} \left (4 a e^2-b^2 f^2\right ) \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {e} \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}{\sqrt {2 d e-b f^2}}\right )}{16 \sqrt {2} e^{9/2}} \]

[Out]

-5/32*f^2*(-b*f^2+2*d*e)^(3/2)*(-b^2*f^2+4*a*e^2)*arctanh(2^(1/2)*e^(1/2)*(d+e*x+f*(a+b*x+e^2*x^2/f^2)^(1/2))^
(1/2)/(-b*f^2+2*d*e)^(1/2))/e^(9/2)*2^(1/2)+1/12*f^2*(-b^2*f^2+4*a*e^2)*(d+e*x+f*(a+b*x+e^2*x^2/f^2)^(1/2))^(3
/2)/e^3+1/7*(d+e*x+f*(a+b*x+e^2*x^2/f^2)^(1/2))^(7/2)/e+1/4*f^2*(-b*f^2+2*d*e)*(-b^2*f^2+4*a*e^2)*(d+e*x+f*(a+
b*x+e^2*x^2/f^2)^(1/2))^(1/2)/e^4-1/16*f^2*(-b*f^2+2*d*e)^2*(-b^2*f^2+4*a*e^2)*(d+e*x+f*(a+b*x+e^2*x^2/f^2)^(1
/2))^(1/2)/e^4/(b*f^2+2*e*(e*x+f*(a+x*(b*f^2+e^2*x)/f^2)^(1/2)))

________________________________________________________________________________________

Rubi [A]
time = 0.42, antiderivative size = 370, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {2141, 911, 1271, 1824, 214} \begin {gather*} -\frac {5 f^2 \left (4 a e^2-b^2 f^2\right ) \left (2 d e-b f^2\right )^{3/2} \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {e} \sqrt {f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}+d+e x}}{\sqrt {2 d e-b f^2}}\right )}{16 \sqrt {2} e^{9/2}}+\frac {f^2 \left (4 a e^2-b^2 f^2\right ) \left (2 d e-b f^2\right ) \sqrt {f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}+d+e x}}{4 e^4}-\frac {f^2 \left (4 a e^2-b^2 f^2\right ) \left (2 d e-b f^2\right )^2 \sqrt {f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}+d+e x}}{16 e^4 \left (2 e \left (f \sqrt {a+\frac {x \left (b f^2+e^2 x\right )}{f^2}}+e x\right )+b f^2\right )}+\frac {f^2 \left (4 a e^2-b^2 f^2\right ) \left (f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}+d+e x\right )^{3/2}}{12 e^3}+\frac {\left (f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}+d+e x\right )^{7/2}}{7 e} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(d + e*x + f*Sqrt[a + b*x + (e^2*x^2)/f^2])^(5/2),x]

[Out]

(f^2*(2*d*e - b*f^2)*(4*a*e^2 - b^2*f^2)*Sqrt[d + e*x + f*Sqrt[a + b*x + (e^2*x^2)/f^2]])/(4*e^4) + (f^2*(4*a*
e^2 - b^2*f^2)*(d + e*x + f*Sqrt[a + b*x + (e^2*x^2)/f^2])^(3/2))/(12*e^3) + (d + e*x + f*Sqrt[a + b*x + (e^2*
x^2)/f^2])^(7/2)/(7*e) - (f^2*(2*d*e - b*f^2)^2*(4*a*e^2 - b^2*f^2)*Sqrt[d + e*x + f*Sqrt[a + b*x + (e^2*x^2)/
f^2]])/(16*e^4*(b*f^2 + 2*e*(e*x + f*Sqrt[a + (x*(b*f^2 + e^2*x))/f^2]))) - (5*f^2*(2*d*e - b*f^2)^(3/2)*(4*a*
e^2 - b^2*f^2)*ArcTanh[(Sqrt[2]*Sqrt[e]*Sqrt[d + e*x + f*Sqrt[a + b*x + (e^2*x^2)/f^2]])/Sqrt[2*d*e - b*f^2]])
/(16*Sqrt[2]*e^(9/2))

Rule 214

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-a/b, 2]/a)*ArcTanh[x/Rt[-a/b, 2]], x] /; FreeQ[{a, b},
x] && NegQ[a/b]

Rule 911

Int[((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_))^(n_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :
> With[{q = Denominator[m]}, Dist[q/e, Subst[Int[x^(q*(m + 1) - 1)*((e*f - d*g)/e + g*(x^q/e))^n*((c*d^2 - b*d
*e + a*e^2)/e^2 - (2*c*d - b*e)*(x^q/e^2) + c*(x^(2*q)/e^2))^p, x], x, (d + e*x)^(1/q)], x]] /; FreeQ[{a, b, c
, d, e, f, g}, x] && NeQ[e*f - d*g, 0] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0] && IntegersQ[n,
 p] && FractionQ[m]

Rule 1271

Int[(x_)^(m_.)*((d_) + (e_.)*(x_)^2)^(q_)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_.), x_Symbol] :> Simp[(-d)^(
m/2 - 1)*(c*d^2 - b*d*e + a*e^2)^p*x*((d + e*x^2)^(q + 1)/(2*e^(2*p + m/2)*(q + 1))), x] + Dist[1/(2*e^(2*p +
m/2)*(q + 1)), Int[(d + e*x^2)^(q + 1)*ExpandToSum[Together[(1/(d + e*x^2))*(2*e^(2*p + m/2)*(q + 1)*x^m*(a +
b*x^2 + c*x^4)^p - (-d)^(m/2 - 1)*(c*d^2 - b*d*e + a*e^2)^p*(d + e*(2*q + 3)*x^2))], x], x], x] /; FreeQ[{a, b
, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && IGtQ[p, 0] && ILtQ[q, -1] && IGtQ[m/2, 0]

Rule 1824

Int[(Pq_)*((a_) + (b_.)*(x_)^2)^(p_.), x_Symbol] :> Int[ExpandIntegrand[Pq*(a + b*x^2)^p, x], x] /; FreeQ[{a,
b}, x] && PolyQ[Pq, x] && IGtQ[p, -2]

Rule 2141

Int[((g_.) + (h_.)*((d_.) + (e_.)*(x_) + (f_.)*Sqrt[(a_.) + (b_.)*(x_) + (c_.)*(x_)^2])^(n_))^(p_.), x_Symbol]
 :> Dist[2, Subst[Int[(g + h*x^n)^p*((d^2*e - (b*d - a*e)*f^2 - (2*d*e - b*f^2)*x + e*x^2)/(-2*d*e + b*f^2 + 2
*e*x)^2), x], x, d + e*x + f*Sqrt[a + b*x + c*x^2]], x] /; FreeQ[{a, b, c, d, e, f, g, h, n}, x] && EqQ[e^2 -
c*f^2, 0] && IntegerQ[p]

Rubi steps

\begin {align*} \int \left (d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}\right )^{5/2} \, dx &=2 \text {Subst}\left (\int \frac {x^{5/2} \left (d^2 e-(b d-a e) f^2-\left (2 d e-b f^2\right ) x+e x^2\right )}{\left (-2 d e+b f^2+2 e x\right )^2} \, dx,x,d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}\right )\\ &=4 \text {Subst}\left (\int \frac {x^6 \left (d^2 e-(b d-a e) f^2+\left (-2 d e+b f^2\right ) x^2+e x^4\right )}{\left (-2 d e+b f^2+2 e x^2\right )^2} \, dx,x,\sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}\right )\\ &=-\frac {f^2 \left (2 d e-b f^2\right )^2 \left (4 a e^2-b^2 f^2\right ) \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}{16 e^4 \left (b f^2+2 e \left (e x+f \sqrt {a+\frac {x \left (b f^2+e^2 x\right )}{f^2}}\right )\right )}-\frac {\text {Subst}\left (\int \frac {-e f^2 \left (2 d e-b f^2\right )^2 \left (4 a e^2-b^2 f^2\right )-4 e^2 f^2 \left (2 d e-b f^2\right ) \left (4 a e^2-b^2 f^2\right ) x^2-8 e^3 f^2 \left (4 a e^2-b^2 f^2\right ) x^4+16 e^4 \left (2 d e-b f^2\right ) x^6-32 e^5 x^8}{-2 d e+b f^2+2 e x^2} \, dx,x,\sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}\right )}{16 e^5}\\ &=-\frac {f^2 \left (2 d e-b f^2\right )^2 \left (4 a e^2-b^2 f^2\right ) \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}{16 e^4 \left (b f^2+2 e \left (e x+f \sqrt {a+\frac {x \left (b f^2+e^2 x\right )}{f^2}}\right )\right )}-\frac {\text {Subst}\left (\int \left (-4 e f^2 \left (2 d e-b f^2\right ) \left (4 a e^2-b^2 f^2\right )-4 e^2 f^2 \left (4 a e^2-b^2 f^2\right ) x^2-16 e^4 x^6-\frac {5 \left (16 a d^2 e^5 f^2-4 b^2 d^2 e^3 f^4-16 a b d e^4 f^4+4 b^3 d e^2 f^6+4 a b^2 e^3 f^6-b^4 e f^8\right )}{-2 d e+b f^2+2 e x^2}\right ) \, dx,x,\sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}\right )}{16 e^5}\\ &=\frac {f^2 \left (2 d e-b f^2\right ) \left (4 a e^2-b^2 f^2\right ) \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}{4 e^4}+\frac {f^2 \left (4 a e^2-b^2 f^2\right ) \left (d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}\right )^{3/2}}{12 e^3}+\frac {\left (d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}\right )^{7/2}}{7 e}-\frac {f^2 \left (2 d e-b f^2\right )^2 \left (4 a e^2-b^2 f^2\right ) \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}{16 e^4 \left (b f^2+2 e \left (e x+f \sqrt {a+\frac {x \left (b f^2+e^2 x\right )}{f^2}}\right )\right )}+\frac {\left (5 f^2 \left (2 d e-b f^2\right )^2 \left (4 a e^2-b^2 f^2\right )\right ) \text {Subst}\left (\int \frac {1}{-2 d e+b f^2+2 e x^2} \, dx,x,\sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}\right )}{16 e^4}\\ &=\frac {f^2 \left (2 d e-b f^2\right ) \left (4 a e^2-b^2 f^2\right ) \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}{4 e^4}+\frac {f^2 \left (4 a e^2-b^2 f^2\right ) \left (d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}\right )^{3/2}}{12 e^3}+\frac {\left (d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}\right )^{7/2}}{7 e}-\frac {f^2 \left (2 d e-b f^2\right )^2 \left (4 a e^2-b^2 f^2\right ) \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}{16 e^4 \left (b f^2+2 e \left (e x+f \sqrt {a+\frac {x \left (b f^2+e^2 x\right )}{f^2}}\right )\right )}-\frac {5 f^2 \left (2 d e-b f^2\right )^{3/2} \left (4 a e^2-b^2 f^2\right ) \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {e} \sqrt {d+e x+f \sqrt {a+b x+\frac {e^2 x^2}{f^2}}}}{\sqrt {2 d e-b f^2}}\right )}{16 \sqrt {2} e^{9/2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(985\) vs. \(2(370)=740\).
time = 5.00, size = 985, normalized size = 2.66 \begin {gather*} \frac {1}{32} \left (\frac {2 \sqrt {d+e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}} \left (105 b^4 f^8+28 b^3 e f^6 \left (-10 d+3 e x+5 f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )+4 b^2 e^2 f^4 \left (21 d^2-119 a f^2+16 e x \left (2 e x-f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )-2 d \left (31 e x+49 f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )\right )+16 b e^3 f^2 \left (3 d^3+79 a d f^2+36 d e x \left (2 e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )+9 d^2 \left (3 e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )+4 \left (15 e^3 x^3-8 a f^3 \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}+9 e^2 f x^2 \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )\right )+16 e^4 \left (20 a^2 f^4+6 (d+2 e x)^3 \left (e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )+a f^2 \left (-3 d^2+4 e x \left (19 e x+13 f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )+4 d \left (38 e x+29 f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )\right )\right )\right )}{21 e^4 \left (b f^2+2 e \left (e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}\right )\right )}-\frac {20 b^2 d^2 f^4 \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {e} \sqrt {d+e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}}}{\sqrt {-2 d e+b f^2}}\right )}{e^{5/2} \sqrt {-d e+\frac {b f^2}{2}}}-\frac {80 a b d f^4 \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {e} \sqrt {d+e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}}}{\sqrt {-2 d e+b f^2}}\right )}{e^{3/2} \sqrt {-d e+\frac {b f^2}{2}}}+\frac {20 b^3 d f^6 \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {e} \sqrt {d+e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}}}{\sqrt {-2 d e+b f^2}}\right )}{e^{7/2} \sqrt {-d e+\frac {b f^2}{2}}}+\frac {20 a b^2 f^6 \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {e} \sqrt {d+e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}}}{\sqrt {-2 d e+b f^2}}\right )}{e^{5/2} \sqrt {-d e+\frac {b f^2}{2}}}-\frac {5 b^4 f^8 \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {e} \sqrt {d+e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}}}{\sqrt {-2 d e+b f^2}}\right )}{e^{9/2} \sqrt {-d e+\frac {b f^2}{2}}}+\frac {80 \sqrt {2} a d^2 f^2 \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {e} \sqrt {d+e x+f \sqrt {a+x \left (b+\frac {e^2 x}{f^2}\right )}}}{\sqrt {-2 d e+b f^2}}\right )}{\sqrt {e} \sqrt {-2 d e+b f^2}}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(d + e*x + f*Sqrt[a + b*x + (e^2*x^2)/f^2])^(5/2),x]

[Out]

((2*Sqrt[d + e*x + f*Sqrt[a + x*(b + (e^2*x)/f^2)]]*(105*b^4*f^8 + 28*b^3*e*f^6*(-10*d + 3*e*x + 5*f*Sqrt[a +
x*(b + (e^2*x)/f^2)]) + 4*b^2*e^2*f^4*(21*d^2 - 119*a*f^2 + 16*e*x*(2*e*x - f*Sqrt[a + x*(b + (e^2*x)/f^2)]) -
 2*d*(31*e*x + 49*f*Sqrt[a + x*(b + (e^2*x)/f^2)])) + 16*b*e^3*f^2*(3*d^3 + 79*a*d*f^2 + 36*d*e*x*(2*e*x + f*S
qrt[a + x*(b + (e^2*x)/f^2)]) + 9*d^2*(3*e*x + f*Sqrt[a + x*(b + (e^2*x)/f^2)]) + 4*(15*e^3*x^3 - 8*a*f^3*Sqrt
[a + x*(b + (e^2*x)/f^2)] + 9*e^2*f*x^2*Sqrt[a + x*(b + (e^2*x)/f^2)])) + 16*e^4*(20*a^2*f^4 + 6*(d + 2*e*x)^3
*(e*x + f*Sqrt[a + x*(b + (e^2*x)/f^2)]) + a*f^2*(-3*d^2 + 4*e*x*(19*e*x + 13*f*Sqrt[a + x*(b + (e^2*x)/f^2)])
 + 4*d*(38*e*x + 29*f*Sqrt[a + x*(b + (e^2*x)/f^2)])))))/(21*e^4*(b*f^2 + 2*e*(e*x + f*Sqrt[a + x*(b + (e^2*x)
/f^2)]))) - (20*b^2*d^2*f^4*ArcTan[(Sqrt[2]*Sqrt[e]*Sqrt[d + e*x + f*Sqrt[a + x*(b + (e^2*x)/f^2)]])/Sqrt[-2*d
*e + b*f^2]])/(e^(5/2)*Sqrt[-(d*e) + (b*f^2)/2]) - (80*a*b*d*f^4*ArcTan[(Sqrt[2]*Sqrt[e]*Sqrt[d + e*x + f*Sqrt
[a + x*(b + (e^2*x)/f^2)]])/Sqrt[-2*d*e + b*f^2]])/(e^(3/2)*Sqrt[-(d*e) + (b*f^2)/2]) + (20*b^3*d*f^6*ArcTan[(
Sqrt[2]*Sqrt[e]*Sqrt[d + e*x + f*Sqrt[a + x*(b + (e^2*x)/f^2)]])/Sqrt[-2*d*e + b*f^2]])/(e^(7/2)*Sqrt[-(d*e) +
 (b*f^2)/2]) + (20*a*b^2*f^6*ArcTan[(Sqrt[2]*Sqrt[e]*Sqrt[d + e*x + f*Sqrt[a + x*(b + (e^2*x)/f^2)]])/Sqrt[-2*
d*e + b*f^2]])/(e^(5/2)*Sqrt[-(d*e) + (b*f^2)/2]) - (5*b^4*f^8*ArcTan[(Sqrt[2]*Sqrt[e]*Sqrt[d + e*x + f*Sqrt[a
 + x*(b + (e^2*x)/f^2)]])/Sqrt[-2*d*e + b*f^2]])/(e^(9/2)*Sqrt[-(d*e) + (b*f^2)/2]) + (80*Sqrt[2]*a*d^2*f^2*Ar
cTan[(Sqrt[2]*Sqrt[e]*Sqrt[d + e*x + f*Sqrt[a + x*(b + (e^2*x)/f^2)]])/Sqrt[-2*d*e + b*f^2]])/(Sqrt[e]*Sqrt[-2
*d*e + b*f^2]))/32

________________________________________________________________________________________

Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \left (d +e x +f \sqrt {a +b x +\frac {e^{2} x^{2}}{f^{2}}}\right )^{\frac {5}{2}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d+e*x+f*(a+b*x+1/f^2*e^2*x^2)^(1/2))^(5/2),x)

[Out]

int((d+e*x+f*(a+b*x+1/f^2*e^2*x^2)^(1/2))^(5/2),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d+e*x+f*(a+b*x+e^2*x^2/f^2)^(1/2))^(5/2),x, algorithm="maxima")

[Out]

integrate((x*e + sqrt(b*x + a + x^2*e^2/f^2)*f + d)^(5/2), x)

________________________________________________________________________________________

Fricas [A]
time = 0.55, size = 858, normalized size = 2.32 \begin {gather*} \left [\frac {1}{672} \, {\left (105 \, \sqrt {\frac {1}{2}} {\left (b^{3} f^{6} - 2 \, b^{2} d f^{4} e - 4 \, a b f^{4} e^{2} + 8 \, a d f^{2} e^{3}\right )} \sqrt {-{\left (b f^{2} - 2 \, d e\right )} e^{\left (-1\right )}} \log \left (b^{2} f^{4} - 4 \, b d f^{2} e - 8 \, d x e^{3} + 4 \, {\left (b f^{2} x + a f^{2}\right )} e^{2} - 4 \, {\left (2 \, \sqrt {\frac {1}{2}} \sqrt {-{\left (b f^{2} - 2 \, d e\right )} e^{\left (-1\right )}} f \sqrt {\frac {b f^{2} x + a f^{2} + x^{2} e^{2}}{f^{2}}} e^{2} - \sqrt {\frac {1}{2}} {\left (b f^{2} e + 2 \, x e^{3}\right )} \sqrt {-{\left (b f^{2} - 2 \, d e\right )} e^{\left (-1\right )}}\right )} \sqrt {x e + f \sqrt {\frac {b f^{2} x + a f^{2} + x^{2} e^{2}}{f^{2}}} + d} - 4 \, {\left (b f^{3} e - 2 \, d f e^{2}\right )} \sqrt {\frac {b f^{2} x + a f^{2} + x^{2} e^{2}}{f^{2}}}\right ) + 2 \, {\left (105 \, b^{3} f^{6} - 280 \, b^{2} d f^{4} e + 192 \, x^{3} e^{6} + 288 \, d x^{2} e^{5} + 8 \, {\left (18 \, b f^{2} x^{2} + {\left (32 \, a f^{2} + 39 \, d^{2}\right )} x\right )} e^{4} - 8 \, {\left (3 \, b d f^{2} x - 116 \, a d f^{2} - 6 \, d^{3}\right )} e^{3} + 14 \, {\left (b^{2} f^{4} x - 24 \, a b f^{4} + 6 \, b d^{2} f^{2}\right )} e^{2} - 2 \, {\left (35 \, b^{2} f^{5} e - 84 \, b d f^{3} e^{2} - 96 \, f x^{2} e^{5} - 144 \, d f x e^{4} - 4 \, {\left (6 \, b f^{3} x + 20 \, a f^{3} - 3 \, d^{2} f\right )} e^{3}\right )} \sqrt {\frac {b f^{2} x + a f^{2} + x^{2} e^{2}}{f^{2}}}\right )} \sqrt {x e + f \sqrt {\frac {b f^{2} x + a f^{2} + x^{2} e^{2}}{f^{2}}} + d}\right )} e^{\left (-4\right )}, \frac {1}{336} \, {\left (105 \, \sqrt {\frac {1}{2}} {\left (b^{3} f^{6} - 2 \, b^{2} d f^{4} e - 4 \, a b f^{4} e^{2} + 8 \, a d f^{2} e^{3}\right )} \sqrt {b f^{2} - 2 \, d e} \arctan \left (-\frac {2 \, \sqrt {\frac {1}{2}} \sqrt {x e + f \sqrt {\frac {b f^{2} x + a f^{2} + x^{2} e^{2}}{f^{2}}} + d} e^{\frac {1}{2}}}{\sqrt {b f^{2} - 2 \, d e}}\right ) e^{\left (-\frac {1}{2}\right )} + {\left (105 \, b^{3} f^{6} - 280 \, b^{2} d f^{4} e + 192 \, x^{3} e^{6} + 288 \, d x^{2} e^{5} + 8 \, {\left (18 \, b f^{2} x^{2} + {\left (32 \, a f^{2} + 39 \, d^{2}\right )} x\right )} e^{4} - 8 \, {\left (3 \, b d f^{2} x - 116 \, a d f^{2} - 6 \, d^{3}\right )} e^{3} + 14 \, {\left (b^{2} f^{4} x - 24 \, a b f^{4} + 6 \, b d^{2} f^{2}\right )} e^{2} - 2 \, {\left (35 \, b^{2} f^{5} e - 84 \, b d f^{3} e^{2} - 96 \, f x^{2} e^{5} - 144 \, d f x e^{4} - 4 \, {\left (6 \, b f^{3} x + 20 \, a f^{3} - 3 \, d^{2} f\right )} e^{3}\right )} \sqrt {\frac {b f^{2} x + a f^{2} + x^{2} e^{2}}{f^{2}}}\right )} \sqrt {x e + f \sqrt {\frac {b f^{2} x + a f^{2} + x^{2} e^{2}}{f^{2}}} + d}\right )} e^{\left (-4\right )}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d+e*x+f*(a+b*x+e^2*x^2/f^2)^(1/2))^(5/2),x, algorithm="fricas")

[Out]

[1/672*(105*sqrt(1/2)*(b^3*f^6 - 2*b^2*d*f^4*e - 4*a*b*f^4*e^2 + 8*a*d*f^2*e^3)*sqrt(-(b*f^2 - 2*d*e)*e^(-1))*
log(b^2*f^4 - 4*b*d*f^2*e - 8*d*x*e^3 + 4*(b*f^2*x + a*f^2)*e^2 - 4*(2*sqrt(1/2)*sqrt(-(b*f^2 - 2*d*e)*e^(-1))
*f*sqrt((b*f^2*x + a*f^2 + x^2*e^2)/f^2)*e^2 - sqrt(1/2)*(b*f^2*e + 2*x*e^3)*sqrt(-(b*f^2 - 2*d*e)*e^(-1)))*sq
rt(x*e + f*sqrt((b*f^2*x + a*f^2 + x^2*e^2)/f^2) + d) - 4*(b*f^3*e - 2*d*f*e^2)*sqrt((b*f^2*x + a*f^2 + x^2*e^
2)/f^2)) + 2*(105*b^3*f^6 - 280*b^2*d*f^4*e + 192*x^3*e^6 + 288*d*x^2*e^5 + 8*(18*b*f^2*x^2 + (32*a*f^2 + 39*d
^2)*x)*e^4 - 8*(3*b*d*f^2*x - 116*a*d*f^2 - 6*d^3)*e^3 + 14*(b^2*f^4*x - 24*a*b*f^4 + 6*b*d^2*f^2)*e^2 - 2*(35
*b^2*f^5*e - 84*b*d*f^3*e^2 - 96*f*x^2*e^5 - 144*d*f*x*e^4 - 4*(6*b*f^3*x + 20*a*f^3 - 3*d^2*f)*e^3)*sqrt((b*f
^2*x + a*f^2 + x^2*e^2)/f^2))*sqrt(x*e + f*sqrt((b*f^2*x + a*f^2 + x^2*e^2)/f^2) + d))*e^(-4), 1/336*(105*sqrt
(1/2)*(b^3*f^6 - 2*b^2*d*f^4*e - 4*a*b*f^4*e^2 + 8*a*d*f^2*e^3)*sqrt(b*f^2 - 2*d*e)*arctan(-2*sqrt(1/2)*sqrt(x
*e + f*sqrt((b*f^2*x + a*f^2 + x^2*e^2)/f^2) + d)*e^(1/2)/sqrt(b*f^2 - 2*d*e))*e^(-1/2) + (105*b^3*f^6 - 280*b
^2*d*f^4*e + 192*x^3*e^6 + 288*d*x^2*e^5 + 8*(18*b*f^2*x^2 + (32*a*f^2 + 39*d^2)*x)*e^4 - 8*(3*b*d*f^2*x - 116
*a*d*f^2 - 6*d^3)*e^3 + 14*(b^2*f^4*x - 24*a*b*f^4 + 6*b*d^2*f^2)*e^2 - 2*(35*b^2*f^5*e - 84*b*d*f^3*e^2 - 96*
f*x^2*e^5 - 144*d*f*x*e^4 - 4*(6*b*f^3*x + 20*a*f^3 - 3*d^2*f)*e^3)*sqrt((b*f^2*x + a*f^2 + x^2*e^2)/f^2))*sqr
t(x*e + f*sqrt((b*f^2*x + a*f^2 + x^2*e^2)/f^2) + d))*e^(-4)]

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (d + e x + f \sqrt {a + b x + \frac {e^{2} x^{2}}{f^{2}}}\right )^{\frac {5}{2}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d+e*x+f*(a+b*x+e**2*x**2/f**2)**(1/2))**(5/2),x)

[Out]

Integral((d + e*x + f*sqrt(a + b*x + e**2*x**2/f**2))**(5/2), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d+e*x+f*(a+b*x+e^2*x^2/f^2)^(1/2))^(5/2),x, algorithm="giac")

[Out]

integrate((x*e + sqrt(b*x + a + x^2*e^2/f^2)*f + d)^(5/2), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int {\left (d+e\,x+f\,\sqrt {a+b\,x+\frac {e^2\,x^2}{f^2}}\right )}^{5/2} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d + e*x + f*(a + b*x + (e^2*x^2)/f^2)^(1/2))^(5/2),x)

[Out]

int((d + e*x + f*(a + b*x + (e^2*x^2)/f^2)^(1/2))^(5/2), x)

________________________________________________________________________________________