3.206 \(\int e^{-2 \tanh ^{-1}(a x)} (c-a c x)^p \, dx\)

Optimal. Leaf size=44 \[ -\frac {(c-a c x)^{p+2} \, _2F_1\left (1,p+2;p+3;\frac {1}{2} (1-a x)\right )}{2 a c^2 (p+2)} \]

[Out]

-1/2*(-a*c*x+c)^(2+p)*hypergeom([1, 2+p],[3+p],-1/2*a*x+1/2)/a/c^2/(2+p)

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {6130, 21, 68} \[ -\frac {(c-a c x)^{p+2} \, _2F_1\left (1,p+2;p+3;\frac {1}{2} (1-a x)\right )}{2 a c^2 (p+2)} \]

Antiderivative was successfully verified.

[In]

Int[(c - a*c*x)^p/E^(2*ArcTanh[a*x]),x]

[Out]

-((c - a*c*x)^(2 + p)*Hypergeometric2F1[1, 2 + p, 3 + p, (1 - a*x)/2])/(2*a*c^2*(2 + p))

Rule 21

Int[(u_.)*((a_) + (b_.)*(v_))^(m_.)*((c_) + (d_.)*(v_))^(n_.), x_Symbol] :> Dist[(b/d)^m, Int[u*(c + d*v)^(m +
 n), x], x] /; FreeQ[{a, b, c, d, n}, x] && EqQ[b*c - a*d, 0] && IntegerQ[m] && ( !IntegerQ[n] || SimplerQ[c +
 d*x, a + b*x])

Rule 68

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

Rule 6130

Int[E^(ArcTanh[(a_.)*(x_)]*(n_.))*(u_.)*((c_) + (d_.)*(x_))^(p_.), x_Symbol] :> Int[(u*(c + d*x)^p*(1 + a*x)^(
n/2))/(1 - a*x)^(n/2), x] /; FreeQ[{a, c, d, n, p}, x] && EqQ[a^2*c^2 - d^2, 0] &&  !(IntegerQ[p] || GtQ[c, 0]
)

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 43, normalized size = 0.98 \[ \frac {(a x-1) (c-a c x)^p \left (\, _2F_1\left (1,p+1;p+2;\frac {1}{2} (1-a x)\right )-1\right )}{a (p+1)} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[(c - a*c*x)^p/E^(2*ArcTanh[a*x]),x]

[Out]

((-1 + a*x)*(c - a*c*x)^p*(-1 + Hypergeometric2F1[1, 1 + p, 2 + p, (1 - a*x)/2]))/(a*(1 + p))

________________________________________________________________________________________

fricas [F]  time = 0.47, size = 0, normalized size = 0.00 \[ {\rm integral}\left (-\frac {{\left (a x - 1\right )} {\left (-a c x + c\right )}^{p}}{a x + 1}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-a*c*x+c)^p/(a*x+1)^2*(-a^2*x^2+1),x, algorithm="fricas")

[Out]

integral(-(a*x - 1)*(-a*c*x + c)^p/(a*x + 1), x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int -\frac {{\left (a^{2} x^{2} - 1\right )} {\left (-a c x + c\right )}^{p}}{{\left (a x + 1\right )}^{2}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-a*c*x+c)^p/(a*x+1)^2*(-a^2*x^2+1),x, algorithm="giac")

[Out]

integrate(-(a^2*x^2 - 1)*(-a*c*x + c)^p/(a*x + 1)^2, x)

________________________________________________________________________________________

maple [F]  time = 0.31, size = 0, normalized size = 0.00 \[ \int \frac {\left (-a c x +c \right )^{p} \left (-a^{2} x^{2}+1\right )}{\left (a x +1\right )^{2}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((-a*c*x+c)^p/(a*x+1)^2*(-a^2*x^2+1),x)

[Out]

int((-a*c*x+c)^p/(a*x+1)^2*(-a^2*x^2+1),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ -\int \frac {{\left (a^{2} x^{2} - 1\right )} {\left (-a c x + c\right )}^{p}}{{\left (a x + 1\right )}^{2}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-a*c*x+c)^p/(a*x+1)^2*(-a^2*x^2+1),x, algorithm="maxima")

[Out]

-integrate((a^2*x^2 - 1)*(-a*c*x + c)^p/(a*x + 1)^2, x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ -\int \frac {\left (a^2\,x^2-1\right )\,{\left (c-a\,c\,x\right )}^p}{{\left (a\,x+1\right )}^2} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-((a^2*x^2 - 1)*(c - a*c*x)^p)/(a*x + 1)^2,x)

[Out]

-int(((a^2*x^2 - 1)*(c - a*c*x)^p)/(a*x + 1)^2, x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ - \int \left (- \frac {\left (- a c x + c\right )^{p}}{a x + 1}\right )\, dx - \int \frac {a x \left (- a c x + c\right )^{p}}{a x + 1}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-a*c*x+c)**p/(a*x+1)**2*(-a**2*x**2+1),x)

[Out]

-Integral(-(-a*c*x + c)**p/(a*x + 1), x) - Integral(a*x*(-a*c*x + c)**p/(a*x + 1), x)

________________________________________________________________________________________