3.354 \(\int \sqrt{a+\frac{2 d e x}{f^2}+\frac{e^2 x^2}{f^2}} \left (d+e x+f \sqrt{a+\frac{2 d e x}{f^2}+\frac{e^2 x^2}{f^2}}\right )^n \, dx\)

Optimal. Leaf size=171 \[ -\frac{\left (d^2-a f^2\right )^2 \left (f \sqrt{a+\frac{2 d e x}{f^2}+\frac{e^2 x^2}{f^2}}+d+e x\right )^{n-2}}{4 e f (2-n)}-\frac{\left (d^2-a f^2\right ) \left (f \sqrt{a+\frac{2 d e x}{f^2}+\frac{e^2 x^2}{f^2}}+d+e x\right )^n}{2 e f n}+\frac{\left (f \sqrt{a+\frac{2 d e x}{f^2}+\frac{e^2 x^2}{f^2}}+d+e x\right )^{n+2}}{4 e f (n+2)} \]

[Out]

-((d^2 - a*f^2)^2*(d + e*x + f*Sqrt[a + (2*d*e*x)/f^2 + (e^2*x^2)/f^2])^(-2 + n)
)/(4*e*f*(2 - n)) - ((d^2 - a*f^2)*(d + e*x + f*Sqrt[a + (2*d*e*x)/f^2 + (e^2*x^
2)/f^2])^n)/(2*e*f*n) + (d + e*x + f*Sqrt[a + (2*d*e*x)/f^2 + (e^2*x^2)/f^2])^(2
 + n)/(4*e*f*(2 + n))

_______________________________________________________________________________________

Rubi [A]  time = 0.561311, antiderivative size = 171, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 58, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.052 \[ -\frac{\left (d^2-a f^2\right )^2 \left (f \sqrt{a+\frac{2 d e x}{f^2}+\frac{e^2 x^2}{f^2}}+d+e x\right )^{n-2}}{4 e f (2-n)}-\frac{\left (d^2-a f^2\right ) \left (f \sqrt{a+\frac{2 d e x}{f^2}+\frac{e^2 x^2}{f^2}}+d+e x\right )^n}{2 e f n}+\frac{\left (f \sqrt{a+\frac{2 d e x}{f^2}+\frac{e^2 x^2}{f^2}}+d+e x\right )^{n+2}}{4 e f (n+2)} \]

Antiderivative was successfully verified.

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

[Out]

-((d^2 - a*f^2)^2*(d + e*x + f*Sqrt[a + (2*d*e*x)/f^2 + (e^2*x^2)/f^2])^(-2 + n)
)/(4*e*f*(2 - n)) - ((d^2 - a*f^2)*(d + e*x + f*Sqrt[a + (2*d*e*x)/f^2 + (e^2*x^
2)/f^2])^n)/(2*e*f*n) + (d + e*x + f*Sqrt[a + (2*d*e*x)/f^2 + (e^2*x^2)/f^2])^(2
 + n)/(4*e*f*(2 + n))

_______________________________________________________________________________________

Rubi in Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((a+2*d*e*x/f**2+e**2*x**2/f**2)**(1/2)*(d+e*x+f*(a+2*d*e*x/f**2+e**2*x**2/f**2)**(1/2))**n,x)

[Out]

Timed out

_______________________________________________________________________________________

Mathematica [A]  time = 0.113423, size = 0, normalized size = 0. \[ \int \sqrt{a+\frac{2 d e x}{f^2}+\frac{e^2 x^2}{f^2}} \left (d+e x+f \sqrt{a+\frac{2 d e x}{f^2}+\frac{e^2 x^2}{f^2}}\right )^n \, dx \]

Verification is Not applicable to the result.

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

[Out]

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

_______________________________________________________________________________________

Maple [F]  time = 0.104, size = 0, normalized size = 0. \[ \int \sqrt{a+2\,{\frac{dex}{{f}^{2}}}+{\frac{{e}^{2}{x}^{2}}{{f}^{2}}}} \left ( d+ex+f\sqrt{a+2\,{\frac{dex}{{f}^{2}}}+{\frac{{e}^{2}{x}^{2}}{{f}^{2}}}} \right ) ^{n}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((a+2*d*e*x/f^2+e^2*x^2/f^2)^(1/2)*(d+e*x+f*(a+2*d*e*x/f^2+e^2*x^2/f^2)^(1/2))^n,x)

[Out]

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

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \sqrt{\frac{e^{2} x^{2}}{f^{2}} + a + \frac{2 \, d e x}{f^{2}}}{\left (e x + \sqrt{\frac{e^{2} x^{2}}{f^{2}} + a + \frac{2 \, d e x}{f^{2}}} f + d\right )}^{n}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt(e^2*x^2/f^2 + a + 2*d*e*x/f^2)*(e*x + sqrt(e^2*x^2/f^2 + a + 2*d*e*x/f^2)*f + d)^n,x, algorithm="maxima")

[Out]

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

_______________________________________________________________________________________

Fricas [A]  time = 0.306425, size = 165, normalized size = 0.96 \[ \frac{{\left (e^{2} n^{2} x^{2} + a f^{2} n^{2} + 2 \, d e n^{2} x - 2 \, a f^{2} + 2 \, d^{2} - 2 \,{\left (e f n x + d f n\right )} \sqrt{\frac{e^{2} x^{2} + a f^{2} + 2 \, d e x}{f^{2}}}\right )}{\left (e x + f \sqrt{\frac{e^{2} x^{2} + a f^{2} + 2 \, d e x}{f^{2}}} + d\right )}^{n}}{e f n^{3} - 4 \, e f n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt(e^2*x^2/f^2 + a + 2*d*e*x/f^2)*(e*x + sqrt(e^2*x^2/f^2 + a + 2*d*e*x/f^2)*f + d)^n,x, algorithm="fricas")

[Out]

(e^2*n^2*x^2 + a*f^2*n^2 + 2*d*e*n^2*x - 2*a*f^2 + 2*d^2 - 2*(e*f*n*x + d*f*n)*s
qrt((e^2*x^2 + a*f^2 + 2*d*e*x)/f^2))*(e*x + f*sqrt((e^2*x^2 + a*f^2 + 2*d*e*x)/
f^2) + d)^n/(e*f*n^3 - 4*e*f*n)

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((a+2*d*e*x/f**2+e**2*x**2/f**2)**(1/2)*(d+e*x+f*(a+2*d*e*x/f**2+e**2*x**2/f**2)**(1/2))**n,x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \sqrt{\frac{e^{2} x^{2}}{f^{2}} + a + \frac{2 \, d e x}{f^{2}}}{\left (e x + \sqrt{\frac{e^{2} x^{2}}{f^{2}} + a + \frac{2 \, d e x}{f^{2}}} f + d\right )}^{n}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt(e^2*x^2/f^2 + a + 2*d*e*x/f^2)*(e*x + sqrt(e^2*x^2/f^2 + a + 2*d*e*x/f^2)*f + d)^n,x, algorithm="giac")

[Out]

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