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

Optimal. Leaf size=122 \[ -\frac{2 f^2 \left (f \sqrt{a+\frac{2 d e x}{f^2}+\frac{e^2 x^2}{f^2}}+d+e x\right )^{n+1} \, _2F_1\left (1,\frac{n+1}{2};\frac{n+3}{2};\frac{\left (d+e x+f \sqrt{\frac{e^2 x^2}{f^2}+\frac{2 d e x}{f^2}+a}\right )^2}{d^2-a f^2}\right )}{e (n+1) \left (d^2-a f^2\right )} \]

[Out]

(-2*f^2*(d + e*x + f*Sqrt[a + (2*d*e*x)/f^2 + (e^2*x^2)/f^2])^(1 + n)*Hypergeome
tric2F1[1, (1 + n)/2, (3 + n)/2, (d + e*x + f*Sqrt[a + (2*d*e*x)/f^2 + (e^2*x^2)
/f^2])^2/(d^2 - a*f^2)])/(e*(d^2 - a*f^2)*(1 + n))

_______________________________________________________________________________________

Rubi [A]  time = 0.766204, antiderivative size = 122, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 56, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.054 \[ -\frac{2 f^2 \left (f \sqrt{a+\frac{2 d e x}{f^2}+\frac{e^2 x^2}{f^2}}+d+e x\right )^{n+1} \, _2F_1\left (1,\frac{n+1}{2};\frac{n+3}{2};\frac{\left (d+e x+f \sqrt{\frac{e^2 x^2}{f^2}+\frac{2 d e x}{f^2}+a}\right )^2}{d^2-a f^2}\right )}{e (n+1) \left (d^2-a f^2\right )} \]

Antiderivative was successfully verified.

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

[Out]

(-2*f^2*(d + e*x + f*Sqrt[a + (2*d*e*x)/f^2 + (e^2*x^2)/f^2])^(1 + n)*Hypergeome
tric2F1[1, (1 + n)/2, (3 + n)/2, (d + e*x + f*Sqrt[a + (2*d*e*x)/f^2 + (e^2*x^2)
/f^2])^2/(d^2 - a*f^2)])/(e*(d^2 - a*f^2)*(1 + 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((d+e*x+f*((a*f**2+e*x*(e*x+2*d))/f**2)**(1/2))**n/(a+2*d*e*x/f**2+e**2*x**2/f**2),x)

[Out]

Timed out

_______________________________________________________________________________________

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

Verification is Not applicable to the result.

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

[Out]

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

_______________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

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

[Out]

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

_______________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

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

[Out]

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

_______________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

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

[Out]

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

_______________________________________________________________________________________

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((d+e*x+f*((a*f**2+e*x*(e*x+2*d))/f**2)**(1/2))**n/(a+2*d*e*x/f**2+e**2*x**2/f**2),x)

[Out]

Timed out

_______________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

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

[Out]

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