Optimal. Leaf size=196 \[ \frac{b \text{PolyLog}\left (2,-e^{-2 \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )}\right ) \left (a+b \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )\right )}{c}+\frac{b^2 \text{PolyLog}\left (3,-e^{-2 \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )}\right )}{2 c}-\frac{\left (a+b \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )\right )^3}{3 b c}-\frac{\log \left (e^{-2 \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )}+1\right ) \left (a+b \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )\right )^2}{c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.195145, antiderivative size = 197, normalized size of antiderivative = 1.01, number of steps used = 7, number of rules used = 7, integrand size = 40, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.175, Rules used = {6681, 5660, 3718, 2190, 2531, 2282, 6589} \[ -\frac{b \text{PolyLog}\left (2,-e^{2 \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )}\right ) \left (a+b \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )\right )}{c}+\frac{b^2 \text{PolyLog}\left (3,-e^{2 \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )}\right )}{2 c}+\frac{\left (a+b \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )\right )^3}{3 b c}-\frac{\log \left (e^{2 \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )}+1\right ) \left (a+b \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{c x+1}}\right )\right )^2}{c} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 6681
Rule 5660
Rule 3718
Rule 2190
Rule 2531
Rule 2282
Rule 6589
Rubi steps
\begin{align*} \int \frac{\left (a+b \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )^2}{1-c^2 x^2} \, dx &=-\frac{\operatorname{Subst}\left (\int \frac{\left (a+b \cosh ^{-1}(x)\right )^2}{x} \, dx,x,\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )}{c}\\ &=-\frac{\operatorname{Subst}\left (\int (a+b x)^2 \tanh (x) \, dx,x,\cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )}{c}\\ &=\frac{\left (a+b \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )^3}{3 b c}-\frac{2 \operatorname{Subst}\left (\int \frac{e^{2 x} (a+b x)^2}{1+e^{2 x}} \, dx,x,\cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )}{c}\\ &=\frac{\left (a+b \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )^3}{3 b c}-\frac{\left (a+b \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )^2 \log \left (1+e^{2 \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )}\right )}{c}+\frac{(2 b) \operatorname{Subst}\left (\int (a+b x) \log \left (1+e^{2 x}\right ) \, dx,x,\cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )}{c}\\ &=\frac{\left (a+b \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )^3}{3 b c}-\frac{\left (a+b \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )^2 \log \left (1+e^{2 \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )}\right )}{c}-\frac{b \left (a+b \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right ) \text{Li}_2\left (-e^{2 \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )}\right )}{c}+\frac{b^2 \operatorname{Subst}\left (\int \text{Li}_2\left (-e^{2 x}\right ) \, dx,x,\cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )}{c}\\ &=\frac{\left (a+b \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )^3}{3 b c}-\frac{\left (a+b \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )^2 \log \left (1+e^{2 \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )}\right )}{c}-\frac{b \left (a+b \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right ) \text{Li}_2\left (-e^{2 \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )}\right )}{c}+\frac{b^2 \operatorname{Subst}\left (\int \frac{\text{Li}_2(-x)}{x} \, dx,x,e^{2 \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )}\right )}{2 c}\\ &=\frac{\left (a+b \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )^3}{3 b c}-\frac{\left (a+b \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )^2 \log \left (1+e^{2 \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )}\right )}{c}-\frac{b \left (a+b \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right ) \text{Li}_2\left (-e^{2 \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )}\right )}{c}+\frac{b^2 \text{Li}_3\left (-e^{2 \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )}\right )}{2 c}\\ \end{align*}
Mathematica [F] time = 0.97689, size = 0, normalized size = 0. \[ \int \frac{\left (a+b \cosh ^{-1}\left (\frac{\sqrt{1-c x}}{\sqrt{1+c x}}\right )\right )^2}{1-c^2 x^2} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 491, normalized size = 2.5 \begin{align*} -{\frac{{a}^{2}\ln \left ( cx-1 \right ) }{2\,c}}+{\frac{{a}^{2}\ln \left ( cx+1 \right ) }{2\,c}}+{\frac{{b}^{2}}{3\,c} \left ({\rm arccosh} \left ({\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}}\right ) \right ) ^{3}}-{\frac{{b}^{2}}{c} \left ({\rm arccosh} \left ({\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}}\right ) \right ) ^{2}\ln \left ( \left ({\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}}+\sqrt{{\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}}-1}\sqrt{{\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}}+1} \right ) ^{2}+1 \right ) }-{\frac{{b}^{2}}{c}{\rm arccosh} \left ({\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}}\right ){\it polylog} \left ( 2,- \left ({\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}}+\sqrt{{\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}}-1}\sqrt{{\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}}+1} \right ) ^{2} \right ) }+{\frac{{b}^{2}}{2\,c}{\it polylog} \left ( 3,- \left ({\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}}+\sqrt{{\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}}-1}\sqrt{{\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}}+1} \right ) ^{2} \right ) }+{\frac{ab}{c} \left ({\rm arccosh} \left ({\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}}\right ) \right ) ^{2}}-2\,{\frac{ab}{c}{\rm arccosh} \left ({\frac{\sqrt{-cx+1}}{\sqrt{cx+1}}}\right )\ln \left ( \left ({\frac{\sqrt{-cx+1}}{\sqrt{cx+1}}}+\sqrt{{\frac{\sqrt{-cx+1}}{\sqrt{cx+1}}}-1}\sqrt{{\frac{\sqrt{-cx+1}}{\sqrt{cx+1}}}+1} \right ) ^{2}+1 \right ) }-{\frac{ab}{c}{\it polylog} \left ( 2,- \left ({\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}}+\sqrt{{\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}}-1}\sqrt{{\sqrt{-cx+1}{\frac{1}{\sqrt{cx+1}}}}+1} \right ) ^{2} \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*} \text{result too large to display} \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^{2} \operatorname{arcosh}\left (\frac{\sqrt{-c x + 1}}{\sqrt{c x + 1}}\right )^{2} + 2 \, a b \operatorname{arcosh}\left (\frac{\sqrt{-c x + 1}}{\sqrt{c x + 1}}\right ) + a^{2}}{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(-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]