Optimal. Leaf size=133 \[ \frac{b \text{PolyLog}\left (2,e^{-2 \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )}\right )}{2 c}-\frac{\left (a+b \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )\right )^2}{2 b c}-\frac{\log \left (1-e^{-2 \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )}\right ) \left (a+b \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )\right )}{c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.121832, antiderivative size = 133, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 7, integrand size = 38, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.184, Rules used = {206, 6681, 5659, 3716, 2190, 2279, 2391} \[ -\frac{b \text{PolyLog}\left (2,e^{2 \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )}\right )}{2 c}+\frac{\left (a+b \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )\right )^2}{2 b c}-\frac{\log \left (1-e^{2 \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )}\right ) \left (a+b \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )\right )}{c} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 206
Rule 6681
Rule 5659
Rule 3716
Rule 2190
Rule 2279
Rule 2391
Rubi steps
\begin{align*} \int \frac{a+b \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )}{1-c^2 x^2} \, dx &=-\frac{\operatorname{Subst}\left (\int \frac{a+b \sinh ^{-1}(x)}{x} \, dx,x,\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )}{c}\\ &=-\frac{\operatorname{Subst}\left (\int (a+b x) \coth (x) \, dx,x,\sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )}{c}\\ &=\frac{\left (a+b \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )^2}{2 b c}+\frac{2 \operatorname{Subst}\left (\int \frac{e^{2 x} (a+b x)}{1-e^{2 x}} \, dx,x,\sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )}{c}\\ &=\frac{\left (a+b \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )^2}{2 b c}-\frac{\left (a+b \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right ) \log \left (1-e^{2 \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )}\right )}{c}+\frac{b \operatorname{Subst}\left (\int \log \left (1-e^{2 x}\right ) \, dx,x,\sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )}{c}\\ &=\frac{\left (a+b \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )^2}{2 b c}-\frac{\left (a+b \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right ) \log \left (1-e^{2 \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )}\right )}{c}+\frac{b \operatorname{Subst}\left (\int \frac{\log (1-x)}{x} \, dx,x,e^{2 \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )}\right )}{2 c}\\ &=\frac{\left (a+b \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )^2}{2 b c}-\frac{\left (a+b \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right ) \log \left (1-e^{2 \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )}\right )}{c}-\frac{b \text{Li}_2\left (e^{2 \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )}\right )}{2 c}\\ \end{align*}
Mathematica [A] time = 0.0279931, size = 127, normalized size = 0.95 \[ \frac{\left (a+b \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )\right ) \left (a+b \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )-2 b \log \left (1-e^{2 \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )}\right )\right )-b^2 \text{PolyLog}\left (2,e^{2 \sinh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )}\right )}{2 b c} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.006, size = 263, normalized size = 2. \begin{align*} -{\frac{a\ln \left ( cx-1 \right ) }{2\,c}}+{\frac{a\ln \left ( cx+1 \right ) }{2\,c}}+{\frac{b}{2\,c} \left ({\it Arcsinh} \left ({\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}} \right ) \right ) ^{2}}-{\frac{b}{c}{\it Arcsinh} \left ({\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}} \right ) \ln \left ( 1+{\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}}+\sqrt{1+{\frac{-cx+1}{cx+1}}} \right ) }-{\frac{b}{c}{\it polylog} \left ( 2,-{\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}}-\sqrt{1+{\frac{-cx+1}{cx+1}}} \right ) }-{\frac{b}{c}{\it Arcsinh} \left ({\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}} \right ) \ln \left ( 1-{\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}}-\sqrt{1+{\frac{-cx+1}{cx+1}}} \right ) }-{\frac{b}{c}{\it polylog} \left ( 2,{\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}}+\sqrt{1+{\frac{-cx+1}{cx+1}}} \right ) } \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*} -\frac{1}{8} \, b{\left (\frac{2 \,{\left (\log \left (c x + 1\right ) - \log \left (-c x + 1\right )\right )} \log \left (c x + 1\right ) - \log \left (c x + 1\right )^{2} + 2 \, \log \left (c x + 1\right ) \log \left (-c x + 1\right ) - \log \left (-c x + 1\right )^{2} - 4 \,{\left (\log \left (c x + 1\right ) - \log \left (-c x + 1\right )\right )} \log \left (\sqrt{2} + \sqrt{-c x + 1}\right )}{c} + 8 \, \int -\frac{\sqrt{2} \log \left (c x + 1\right ) - \sqrt{2} \log \left (-c x + 1\right )}{4 \,{\left (\sqrt{2} c x +{\left (c x - 1\right )} \sqrt{-c x + 1} - \sqrt{2}\right )}}\,{d x}\right )} + \frac{1}{2} \, a{\left (\frac{\log \left (c x + 1\right )}{c} - \frac{\log \left (c x - 1\right )}{c}\right )} \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{b \operatorname{arsinh}\left (\frac{\sqrt{-c x + 1}}{\sqrt{c x + 1}}\right ) + a}{c^{2} x^{2} - 1}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [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]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int -\frac{b \operatorname{arsinh}\left (\frac{\sqrt{-c x + 1}}{\sqrt{c x + 1}}\right ) + a}{c^{2} x^{2} - 1}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]