Optimal. Leaf size=309 \[ \frac{\sqrt{1-a^2 x^2} \log \left (\frac{\sqrt{1-a x}}{\sqrt{a x+1}}-\frac{\sqrt{2} \sqrt [4]{1-a x}}{\sqrt [4]{a x+1}}+1\right )}{\sqrt{2} a \sqrt{c-a^2 c x^2}}-\frac{\sqrt{1-a^2 x^2} \log \left (\frac{\sqrt{1-a x}}{\sqrt{a x+1}}+\frac{\sqrt{2} \sqrt [4]{1-a x}}{\sqrt [4]{a x+1}}+1\right )}{\sqrt{2} a \sqrt{c-a^2 c x^2}}+\frac{\sqrt{2} \sqrt{1-a^2 x^2} \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{1-a x}}{\sqrt [4]{a x+1}}\right )}{a \sqrt{c-a^2 c x^2}}-\frac{\sqrt{2} \sqrt{1-a^2 x^2} \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{1-a x}}{\sqrt [4]{a x+1}}+1\right )}{a \sqrt{c-a^2 c x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.204799, antiderivative size = 309, normalized size of antiderivative = 1., number of steps used = 13, number of rules used = 10, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.385, Rules used = {6143, 6140, 63, 240, 211, 1165, 628, 1162, 617, 204} \[ \frac{\sqrt{1-a^2 x^2} \log \left (\frac{\sqrt{1-a x}}{\sqrt{a x+1}}-\frac{\sqrt{2} \sqrt [4]{1-a x}}{\sqrt [4]{a x+1}}+1\right )}{\sqrt{2} a \sqrt{c-a^2 c x^2}}-\frac{\sqrt{1-a^2 x^2} \log \left (\frac{\sqrt{1-a x}}{\sqrt{a x+1}}+\frac{\sqrt{2} \sqrt [4]{1-a x}}{\sqrt [4]{a x+1}}+1\right )}{\sqrt{2} a \sqrt{c-a^2 c x^2}}+\frac{\sqrt{2} \sqrt{1-a^2 x^2} \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{1-a x}}{\sqrt [4]{a x+1}}\right )}{a \sqrt{c-a^2 c x^2}}-\frac{\sqrt{2} \sqrt{1-a^2 x^2} \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{1-a x}}{\sqrt [4]{a x+1}}+1\right )}{a \sqrt{c-a^2 c x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6143
Rule 6140
Rule 63
Rule 240
Rule 211
Rule 1165
Rule 628
Rule 1162
Rule 617
Rule 204
Rubi steps
\begin{align*} \int \frac{e^{\frac{1}{2} \tanh ^{-1}(a x)}}{\sqrt{c-a^2 c x^2}} \, dx &=\frac{\sqrt{1-a^2 x^2} \int \frac{e^{\frac{1}{2} \tanh ^{-1}(a x)}}{\sqrt{1-a^2 x^2}} \, dx}{\sqrt{c-a^2 c x^2}}\\ &=\frac{\sqrt{1-a^2 x^2} \int \frac{1}{(1-a x)^{3/4} \sqrt [4]{1+a x}} \, dx}{\sqrt{c-a^2 c x^2}}\\ &=-\frac{\left (4 \sqrt{1-a^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt [4]{2-x^4}} \, dx,x,\sqrt [4]{1-a x}\right )}{a \sqrt{c-a^2 c x^2}}\\ &=-\frac{\left (4 \sqrt{1-a^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{1}{1+x^4} \, dx,x,\frac{\sqrt [4]{1-a x}}{\sqrt [4]{1+a x}}\right )}{a \sqrt{c-a^2 c x^2}}\\ &=-\frac{\left (2 \sqrt{1-a^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{1-x^2}{1+x^4} \, dx,x,\frac{\sqrt [4]{1-a x}}{\sqrt [4]{1+a x}}\right )}{a \sqrt{c-a^2 c x^2}}-\frac{\left (2 \sqrt{1-a^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{1+x^2}{1+x^4} \, dx,x,\frac{\sqrt [4]{1-a x}}{\sqrt [4]{1+a x}}\right )}{a \sqrt{c-a^2 c x^2}}\\ &=-\frac{\sqrt{1-a^2 x^2} \operatorname{Subst}\left (\int \frac{1}{1-\sqrt{2} x+x^2} \, dx,x,\frac{\sqrt [4]{1-a x}}{\sqrt [4]{1+a x}}\right )}{a \sqrt{c-a^2 c x^2}}-\frac{\sqrt{1-a^2 x^2} \operatorname{Subst}\left (\int \frac{1}{1+\sqrt{2} x+x^2} \, dx,x,\frac{\sqrt [4]{1-a x}}{\sqrt [4]{1+a x}}\right )}{a \sqrt{c-a^2 c x^2}}+\frac{\sqrt{1-a^2 x^2} \operatorname{Subst}\left (\int \frac{\sqrt{2}+2 x}{-1-\sqrt{2} x-x^2} \, dx,x,\frac{\sqrt [4]{1-a x}}{\sqrt [4]{1+a x}}\right )}{\sqrt{2} a \sqrt{c-a^2 c x^2}}+\frac{\sqrt{1-a^2 x^2} \operatorname{Subst}\left (\int \frac{\sqrt{2}-2 x}{-1+\sqrt{2} x-x^2} \, dx,x,\frac{\sqrt [4]{1-a x}}{\sqrt [4]{1+a x}}\right )}{\sqrt{2} a \sqrt{c-a^2 c x^2}}\\ &=\frac{\sqrt{1-a^2 x^2} \log \left (1+\frac{\sqrt{1-a x}}{\sqrt{1+a x}}-\frac{\sqrt{2} \sqrt [4]{1-a x}}{\sqrt [4]{1+a x}}\right )}{\sqrt{2} a \sqrt{c-a^2 c x^2}}-\frac{\sqrt{1-a^2 x^2} \log \left (1+\frac{\sqrt{1-a x}}{\sqrt{1+a x}}+\frac{\sqrt{2} \sqrt [4]{1-a x}}{\sqrt [4]{1+a x}}\right )}{\sqrt{2} a \sqrt{c-a^2 c x^2}}-\frac{\left (\sqrt{2} \sqrt{1-a^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1-\frac{\sqrt{2} \sqrt [4]{1-a x}}{\sqrt [4]{1+a x}}\right )}{a \sqrt{c-a^2 c x^2}}+\frac{\left (\sqrt{2} \sqrt{1-a^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1+\frac{\sqrt{2} \sqrt [4]{1-a x}}{\sqrt [4]{1+a x}}\right )}{a \sqrt{c-a^2 c x^2}}\\ &=\frac{\sqrt{2} \sqrt{1-a^2 x^2} \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{1-a x}}{\sqrt [4]{1+a x}}\right )}{a \sqrt{c-a^2 c x^2}}-\frac{\sqrt{2} \sqrt{1-a^2 x^2} \tan ^{-1}\left (1+\frac{\sqrt{2} \sqrt [4]{1-a x}}{\sqrt [4]{1+a x}}\right )}{a \sqrt{c-a^2 c x^2}}+\frac{\sqrt{1-a^2 x^2} \log \left (1+\frac{\sqrt{1-a x}}{\sqrt{1+a x}}-\frac{\sqrt{2} \sqrt [4]{1-a x}}{\sqrt [4]{1+a x}}\right )}{\sqrt{2} a \sqrt{c-a^2 c x^2}}-\frac{\sqrt{1-a^2 x^2} \log \left (1+\frac{\sqrt{1-a x}}{\sqrt{1+a x}}+\frac{\sqrt{2} \sqrt [4]{1-a x}}{\sqrt [4]{1+a x}}\right )}{\sqrt{2} a \sqrt{c-a^2 c x^2}}\\ \end{align*}
Mathematica [C] time = 0.0219701, size = 69, normalized size = 0.22 \[ -\frac{2\ 2^{3/4} \sqrt [4]{1-a x} \sqrt{1-a^2 x^2} \text{Hypergeometric2F1}\left (\frac{1}{4},\frac{1}{4},\frac{5}{4},\frac{1}{2} (1-a x)\right )}{a \sqrt{c-a^2 c x^2}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.202, size = 0, normalized size = 0. \begin{align*} \int{\sqrt{{(ax+1){\frac{1}{\sqrt{-{a}^{2}{x}^{2}+1}}}}}{\frac{1}{\sqrt{-{a}^{2}c{x}^{2}+c}}}}\, 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{\frac{a x + 1}{\sqrt{-a^{2} x^{2} + 1}}}}{\sqrt{-a^{2} c x^{2} + c}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \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{\sqrt{\frac{a x + 1}{\sqrt{- a^{2} x^{2} + 1}}}}{\sqrt{- c \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{\frac{a x + 1}{\sqrt{-a^{2} x^{2} + 1}}}}{\sqrt{-a^{2} c x^{2} + c}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]