### 3.1754 $$\int \frac{(a^2+2 a b x+b^2 x^2)^p}{(d+e x)^{3/2}} \, dx$$

Optimal. Leaf size=81 $-\frac{2 \left (a^2+2 a b x+b^2 x^2\right )^p \left (-\frac{e (a+b x)}{b d-a e}\right )^{-2 p} \, _2F_1\left (-\frac{1}{2},-2 p;\frac{1}{2};\frac{b (d+e x)}{b d-a e}\right )}{e \sqrt{d+e x}}$

[Out]

(-2*(a^2 + 2*a*b*x + b^2*x^2)^p*Hypergeometric2F1[-1/2, -2*p, 1/2, (b*(d + e*x))/(b*d - a*e)])/(e*(-((e*(a + b
*x))/(b*d - a*e)))^(2*p)*Sqrt[d + e*x])

________________________________________________________________________________________

Rubi [A]  time = 0.0390484, antiderivative size = 81, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 28, $$\frac{\text{number of rules}}{\text{integrand size}}$$ = 0.107, Rules used = {646, 70, 69} $-\frac{2 \left (a^2+2 a b x+b^2 x^2\right )^p \left (-\frac{e (a+b x)}{b d-a e}\right )^{-2 p} \, _2F_1\left (-\frac{1}{2},-2 p;\frac{1}{2};\frac{b (d+e x)}{b d-a e}\right )}{e \sqrt{d+e x}}$

Antiderivative was successfully veriﬁed.

[In]

Int[(a^2 + 2*a*b*x + b^2*x^2)^p/(d + e*x)^(3/2),x]

[Out]

(-2*(a^2 + 2*a*b*x + b^2*x^2)^p*Hypergeometric2F1[-1/2, -2*p, 1/2, (b*(d + e*x))/(b*d - a*e)])/(e*(-((e*(a + b
*x))/(b*d - a*e)))^(2*p)*Sqrt[d + e*x])

Rule 646

Int[((d_.) + (e_.)*(x_))^(m_)*((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Dist[(a + b*x + c*x^2)^Fra
cPart[p]/(c^IntPart[p]*(b/2 + c*x)^(2*FracPart[p])), Int[(d + e*x)^m*(b/2 + c*x)^(2*p), x], x] /; FreeQ[{a, b,
c, d, e, m, p}, x] && EqQ[b^2 - 4*a*c, 0] &&  !IntegerQ[p] && NeQ[2*c*d - b*e, 0]

Rule 70

Int[((a_) + (b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Dist[(c + d*x)^FracPart[n]/((b/(b*c - a*d)
)^IntPart[n]*((b*(c + d*x))/(b*c - a*d))^FracPart[n]), Int[(a + b*x)^m*Simp[(b*c)/(b*c - a*d) + (b*d*x)/(b*c -
a*d), x]^n, x], x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] &&  !IntegerQ[m] &&  !IntegerQ[n] &&
(RationalQ[m] ||  !SimplerQ[n + 1, m + 1])

Rule 69

Int[((a_) + (b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*Hypergeometric2F1[
-n, m + 1, m + 2, -((d*(a + b*x))/(b*c - a*d))])/(b*(m + 1)*(b/(b*c - a*d))^n), x] /; FreeQ[{a, b, c, d, m, n}
, x] && NeQ[b*c - a*d, 0] &&  !IntegerQ[m] &&  !IntegerQ[n] && GtQ[b/(b*c - a*d), 0] && (RationalQ[m] ||  !(Ra
tionalQ[n] && GtQ[-(d/(b*c - a*d)), 0]))

Rubi steps

\begin{align*} \int \frac{\left (a^2+2 a b x+b^2 x^2\right )^p}{(d+e x)^{3/2}} \, dx &=\left (\left (a b+b^2 x\right )^{-2 p} \left (a^2+2 a b x+b^2 x^2\right )^p\right ) \int \frac{\left (a b+b^2 x\right )^{2 p}}{(d+e x)^{3/2}} \, dx\\ &=\left (\left (\frac{e \left (a b+b^2 x\right )}{-b^2 d+a b e}\right )^{-2 p} \left (a^2+2 a b x+b^2 x^2\right )^p\right ) \int \frac{\left (-\frac{a e}{b d-a e}-\frac{b e x}{b d-a e}\right )^{2 p}}{(d+e x)^{3/2}} \, dx\\ &=-\frac{2 \left (-\frac{e (a+b x)}{b d-a e}\right )^{-2 p} \left (a^2+2 a b x+b^2 x^2\right )^p \, _2F_1\left (-\frac{1}{2},-2 p;\frac{1}{2};\frac{b (d+e x)}{b d-a e}\right )}{e \sqrt{d+e x}}\\ \end{align*}

Mathematica [A]  time = 0.0183813, size = 71, normalized size = 0.88 $-\frac{2 \left ((a+b x)^2\right )^p \left (\frac{e (a+b x)}{a e-b d}\right )^{-2 p} \, _2F_1\left (-\frac{1}{2},-2 p;\frac{1}{2};\frac{b (d+e x)}{b d-a e}\right )}{e \sqrt{d+e x}}$

Antiderivative was successfully veriﬁed.

[In]

Integrate[(a^2 + 2*a*b*x + b^2*x^2)^p/(d + e*x)^(3/2),x]

[Out]

(-2*((a + b*x)^2)^p*Hypergeometric2F1[-1/2, -2*p, 1/2, (b*(d + e*x))/(b*d - a*e)])/(e*((e*(a + b*x))/(-(b*d) +
a*e))^(2*p)*Sqrt[d + e*x])

________________________________________________________________________________________

Maple [F]  time = 1.161, size = 0, normalized size = 0. \begin{align*} \int{ \left ({b}^{2}{x}^{2}+2\,abx+{a}^{2} \right ) ^{p} \left ( ex+d \right ) ^{-{\frac{3}{2}}}}\, dx \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

int((b^2*x^2+2*a*b*x+a^2)^p/(e*x+d)^(3/2),x)

[Out]

int((b^2*x^2+2*a*b*x+a^2)^p/(e*x+d)^(3/2),x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{p}}{{\left (e x + d\right )}^{\frac{3}{2}}}\,{d x} \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

integrate((b^2*x^2+2*a*b*x+a^2)^p/(e*x+d)^(3/2),x, algorithm="maxima")

[Out]

integrate((b^2*x^2 + 2*a*b*x + a^2)^p/(e*x + d)^(3/2), x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{e x + d}{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{p}}{e^{2} x^{2} + 2 \, d e x + d^{2}}, x\right ) \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

integrate((b^2*x^2+2*a*b*x+a^2)^p/(e*x+d)^(3/2),x, algorithm="fricas")

[Out]

integral(sqrt(e*x + d)*(b^2*x^2 + 2*a*b*x + a^2)^p/(e^2*x^2 + 2*d*e*x + d^2), x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (\left (a + b x\right )^{2}\right )^{p}}{\left (d + e x\right )^{\frac{3}{2}}}\, dx \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

integrate((b**2*x**2+2*a*b*x+a**2)**p/(e*x+d)**(3/2),x)

[Out]

Integral(((a + b*x)**2)**p/(d + e*x)**(3/2), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{p}}{{\left (e x + d\right )}^{\frac{3}{2}}}\,{d x} \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

integrate((b^2*x^2+2*a*b*x+a^2)^p/(e*x+d)^(3/2),x, algorithm="giac")

[Out]

integrate((b^2*x^2 + 2*a*b*x + a^2)^p/(e*x + d)^(3/2), x)