Optimal. Leaf size=64 \[ \frac{2 c (a x+1) \sqrt{1-a^2 x^2} x^m (-a x)^{-m} \text{Hypergeometric2F1}\left (\frac{3}{2},-m,\frac{5}{2},a x+1\right )}{3 a \sqrt{c-a c x}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.124062, antiderivative size = 64, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.19, Rules used = {6128, 892, 67, 65} \[ \frac{2 c (a x+1) \sqrt{1-a^2 x^2} x^m (-a x)^{-m} \, _2F_1\left (\frac{3}{2},-m;\frac{5}{2};a x+1\right )}{3 a \sqrt{c-a c x}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6128
Rule 892
Rule 67
Rule 65
Rubi steps
\begin{align*} \int e^{\tanh ^{-1}(a x)} x^m \sqrt{c-a c x} \, dx &=c \int \frac{x^m \sqrt{1-a^2 x^2}}{\sqrt{c-a c x}} \, dx\\ &=\frac{\left (c \sqrt{1-a^2 x^2}\right ) \int x^m \sqrt{\frac{1}{c}+\frac{a x}{c}} \, dx}{\sqrt{\frac{1}{c}+\frac{a x}{c}} \sqrt{c-a c x}}\\ &=\frac{\left (c x^m (-a x)^{-m} \sqrt{1-a^2 x^2}\right ) \int (-a x)^m \sqrt{\frac{1}{c}+\frac{a x}{c}} \, dx}{\sqrt{\frac{1}{c}+\frac{a x}{c}} \sqrt{c-a c x}}\\ &=\frac{2 c x^m (-a x)^{-m} (1+a x) \sqrt{1-a^2 x^2} \, _2F_1\left (\frac{3}{2},-m;\frac{5}{2};1+a x\right )}{3 a \sqrt{c-a c x}}\\ \end{align*}
Mathematica [A] time = 0.01767, size = 46, normalized size = 0.72 \[ \frac{x^{m+1} \sqrt{c-a c x} \text{Hypergeometric2F1}\left (-\frac{1}{2},m+1,m+2,-a x\right )}{(m+1) \sqrt{1-a x}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.368, size = 0, normalized size = 0. \begin{align*} \int{ \left ( ax+1 \right ){x}^{m}\sqrt{-acx+c}{\frac{1}{\sqrt{-{a}^{2}{x}^{2}+1}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{-a c x + c}{\left (a x + 1\right )} x^{m}}{\sqrt{-a^{2} x^{2} + 1}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{\sqrt{-a^{2} x^{2} + 1} \sqrt{-a c x + c} x^{m}}{a x - 1}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{m} \sqrt{- c \left (a x - 1\right )} \left (a x + 1\right )}{\sqrt{- \left (a x - 1\right ) \left (a x + 1\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{-a c x + c}{\left (a x + 1\right )} x^{m}}{\sqrt{-a^{2} x^{2} + 1}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]