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

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

[Out]

-5/2*a*d^(3/2)*f^2*arctanh((d+e*x+f*(a+e^2*x^2/f^2)^(1/2))^(1/2)/d^(1/2))/e+1/3*a*f^2*(d+e*x+f*(a+e^2*x^2/f^2)
^(1/2))^(3/2)/e+1/7*(d+e*x+f*(a+e^2*x^2/f^2)^(1/2))^(7/2)/e+2*a*d*f^2*(d+e*x+f*(a+e^2*x^2/f^2)^(1/2))^(1/2)/e-
1/2*a*d^2*f^2*(d+e*x+f*(a+e^2*x^2/f^2)^(1/2))^(1/2)/e/(e*x+f*(a+e^2*x^2/f^2)^(1/2))

________________________________________________________________________________________

Rubi [A]
time = 0.13, antiderivative size = 225, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.185, Rules used = {2142, 911, 1271, 1824, 212} \begin {gather*} -\frac {5 a d^{3/2} f^2 \tanh ^{-1}\left (\frac {\sqrt {f \sqrt {a+\frac {e^2 x^2}{f^2}}+d+e x}}{\sqrt {d}}\right )}{2 e}-\frac {a d^2 f^2 \sqrt {f \sqrt {a+\frac {e^2 x^2}{f^2}}+d+e x}}{2 e \left (f \sqrt {a+\frac {e^2 x^2}{f^2}}+e x\right )}+\frac {\left (f \sqrt {a+\frac {e^2 x^2}{f^2}}+d+e x\right )^{7/2}}{7 e}+\frac {a f^2 \left (f \sqrt {a+\frac {e^2 x^2}{f^2}}+d+e x\right )^{3/2}}{3 e}+\frac {2 a d f^2 \sqrt {f \sqrt {a+\frac {e^2 x^2}{f^2}}+d+e x}}{e} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

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

Rule 212

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] && (GtQ[a, 0] || LtQ[b, 0])

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 2142

Int[((g_.) + (h_.)*((d_.) + (e_.)*(x_) + (f_.)*Sqrt[(a_) + (c_.)*(x_)^2])^(n_))^(p_.), x_Symbol] :> Dist[1/(2*
e), Subst[Int[(g + h*x^n)^p*((d^2 + a*f^2 - 2*d*x + x^2)/(d - x)^2), x], x, d + e*x + f*Sqrt[a + c*x^2]], x] /
; FreeQ[{a, 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+\frac {e^2 x^2}{f^2}}\right )^{5/2} \, dx &=\frac {\text {Subst}\left (\int \frac {x^{5/2} \left (d^2+a f^2-2 d x+x^2\right )}{(d-x)^2} \, dx,x,d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}\right )}{2 e}\\ &=\frac {\text {Subst}\left (\int \frac {x^6 \left (d^2+a f^2-2 d x^2+x^4\right )}{\left (d-x^2\right )^2} \, dx,x,\sqrt {d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}}\right )}{e}\\ &=-\frac {a d^2 f^2 \sqrt {d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}}}{2 e \left (e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}\right )}+\frac {\text {Subst}\left (\int \frac {-a d^2 f^2-2 a d f^2 x^2-2 a f^2 x^4+2 d x^6-2 x^8}{d-x^2} \, dx,x,\sqrt {d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}}\right )}{2 e}\\ &=-\frac {a d^2 f^2 \sqrt {d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}}}{2 e \left (e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}\right )}+\frac {\text {Subst}\left (\int \left (4 a d f^2+2 a f^2 x^2+2 x^6-\frac {5 a d^2 f^2}{d-x^2}\right ) \, dx,x,\sqrt {d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}}\right )}{2 e}\\ &=\frac {2 a d f^2 \sqrt {d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}}}{e}-\frac {a d^2 f^2 \sqrt {d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}}}{2 e \left (e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}\right )}+\frac {a f^2 \left (d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}\right )^{3/2}}{3 e}+\frac {\left (d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}\right )^{7/2}}{7 e}-\frac {\left (5 a d^2 f^2\right ) \text {Subst}\left (\int \frac {1}{d-x^2} \, dx,x,\sqrt {d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}}\right )}{2 e}\\ &=\frac {2 a d f^2 \sqrt {d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}}}{e}-\frac {a d^2 f^2 \sqrt {d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}}}{2 e \left (e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}\right )}+\frac {a f^2 \left (d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}\right )^{3/2}}{3 e}+\frac {\left (d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}\right )^{7/2}}{7 e}-\frac {5 a d^{3/2} f^2 \tanh ^{-1}\left (\frac {\sqrt {d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}}}{\sqrt {d}}\right )}{2 e}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 1.47, size = 212, normalized size = 0.94 \begin {gather*} \frac {\frac {\sqrt {d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}} \left (20 a^2 f^4+6 (d+2 e x)^3 \left (e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}\right )+a f^2 \left (-3 d^2+4 e x \left (19 e x+13 f \sqrt {a+\frac {e^2 x^2}{f^2}}\right )+4 d \left (38 e x+29 f \sqrt {a+\frac {e^2 x^2}{f^2}}\right )\right )\right )}{e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}}-105 a d^{3/2} f^2 \tanh ^{-1}\left (\frac {\sqrt {d+e x+f \sqrt {a+\frac {e^2 x^2}{f^2}}}}{\sqrt {d}}\right )}{42 e} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

((Sqrt[d + e*x + f*Sqrt[a + (e^2*x^2)/f^2]]*(20*a^2*f^4 + 6*(d + 2*e*x)^3*(e*x + f*Sqrt[a + (e^2*x^2)/f^2]) +
a*f^2*(-3*d^2 + 4*e*x*(19*e*x + 13*f*Sqrt[a + (e^2*x^2)/f^2]) + 4*d*(38*e*x + 29*f*Sqrt[a + (e^2*x^2)/f^2]))))
/(e*x + f*Sqrt[a + (e^2*x^2)/f^2]) - 105*a*d^(3/2)*f^2*ArcTanh[Sqrt[d + e*x + f*Sqrt[a + (e^2*x^2)/f^2]]/Sqrt[
d]])/(42*e)

________________________________________________________________________________________

Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \left (d +e x +f \sqrt {a +\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+1/f^2*e^2*x^2)^(1/2))^(5/2),x)

[Out]

int((d+e*x+f*(a+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+e^2*x^2/f^2)^(1/2))^(5/2),x, algorithm="maxima")

[Out]

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

________________________________________________________________________________________

Fricas [A]
time = 0.42, size = 408, normalized size = 1.81 \begin {gather*} \left [\frac {1}{84} \, {\left (105 \, a d^{\frac {3}{2}} f^{2} \log \left (a f^{2} - 2 \, d x e + 2 \, d f \sqrt {\frac {a f^{2} + x^{2} e^{2}}{f^{2}}} + 2 \, {\left (\sqrt {d} x e - \sqrt {d} f \sqrt {\frac {a f^{2} + x^{2} e^{2}}{f^{2}}}\right )} \sqrt {x e + f \sqrt {\frac {a f^{2} + x^{2} e^{2}}{f^{2}}} + d}\right ) + 2 \, {\left (116 \, a d f^{2} + 24 \, x^{3} e^{3} + 36 \, d x^{2} e^{2} + 6 \, d^{3} + {\left (32 \, a f^{2} + 39 \, d^{2}\right )} x e + {\left (20 \, a f^{3} + 24 \, f x^{2} e^{2} + 36 \, d f x e - 3 \, d^{2} f\right )} \sqrt {\frac {a f^{2} + x^{2} e^{2}}{f^{2}}}\right )} \sqrt {x e + f \sqrt {\frac {a f^{2} + x^{2} e^{2}}{f^{2}}} + d}\right )} e^{\left (-1\right )}, \frac {1}{42} \, {\left (105 \, a \sqrt {-d} d f^{2} \arctan \left (\frac {\sqrt {x e + f \sqrt {\frac {a f^{2} + x^{2} e^{2}}{f^{2}}} + d} \sqrt {-d}}{d}\right ) + {\left (116 \, a d f^{2} + 24 \, x^{3} e^{3} + 36 \, d x^{2} e^{2} + 6 \, d^{3} + {\left (32 \, a f^{2} + 39 \, d^{2}\right )} x e + {\left (20 \, a f^{3} + 24 \, f x^{2} e^{2} + 36 \, d f x e - 3 \, d^{2} f\right )} \sqrt {\frac {a f^{2} + x^{2} e^{2}}{f^{2}}}\right )} \sqrt {x e + f \sqrt {\frac {a f^{2} + x^{2} e^{2}}{f^{2}}} + d}\right )} e^{\left (-1\right )}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

[1/84*(105*a*d^(3/2)*f^2*log(a*f^2 - 2*d*x*e + 2*d*f*sqrt((a*f^2 + x^2*e^2)/f^2) + 2*(sqrt(d)*x*e - sqrt(d)*f*
sqrt((a*f^2 + x^2*e^2)/f^2))*sqrt(x*e + f*sqrt((a*f^2 + x^2*e^2)/f^2) + d)) + 2*(116*a*d*f^2 + 24*x^3*e^3 + 36
*d*x^2*e^2 + 6*d^3 + (32*a*f^2 + 39*d^2)*x*e + (20*a*f^3 + 24*f*x^2*e^2 + 36*d*f*x*e - 3*d^2*f)*sqrt((a*f^2 +
x^2*e^2)/f^2))*sqrt(x*e + f*sqrt((a*f^2 + x^2*e^2)/f^2) + d))*e^(-1), 1/42*(105*a*sqrt(-d)*d*f^2*arctan(sqrt(x
*e + f*sqrt((a*f^2 + x^2*e^2)/f^2) + d)*sqrt(-d)/d) + (116*a*d*f^2 + 24*x^3*e^3 + 36*d*x^2*e^2 + 6*d^3 + (32*a
*f^2 + 39*d^2)*x*e + (20*a*f^3 + 24*f*x^2*e^2 + 36*d*f*x*e - 3*d^2*f)*sqrt((a*f^2 + x^2*e^2)/f^2))*sqrt(x*e +
f*sqrt((a*f^2 + x^2*e^2)/f^2) + d))*e^(-1)]

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (d + e x + f \sqrt {a + \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+e**2*x**2/f**2)**(1/2))**(5/2),x)

[Out]

Integral((d + e*x + f*sqrt(a + 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+e^2*x^2/f^2)^(1/2))^(5/2),x, algorithm="giac")

[Out]

integrate((x*e + sqrt(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+\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 + (e^2*x^2)/f^2)^(1/2))^(5/2),x)

[Out]

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

________________________________________________________________________________________