Optimal. Leaf size=75 \[ \frac {\sqrt {\frac {1}{c x+1}} \sqrt {c x+1} \sin ^{-1}(c x)}{2 c^4}+\frac {\tanh ^{-1}(c x)}{c^4}-\frac {x \sqrt {1-c x}}{2 c^3 \sqrt {\frac {1}{c x+1}}}-\frac {x}{c^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.17, antiderivative size = 75, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.318, Rules used = {6341, 1956, 90, 41, 216, 321, 206} \[ -\frac {x \sqrt {1-c x}}{2 c^3 \sqrt {\frac {1}{c x+1}}}-\frac {x}{c^3}+\frac {\sqrt {\frac {1}{c x+1}} \sqrt {c x+1} \sin ^{-1}(c x)}{2 c^4}+\frac {\tanh ^{-1}(c x)}{c^4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 41
Rule 90
Rule 206
Rule 216
Rule 321
Rule 1956
Rule 6341
Rubi steps
\begin {align*} \int \frac {e^{\text {sech}^{-1}(c x)} x^3}{1-c^2 x^2} \, dx &=\frac {\int \frac {x^2 \sqrt {\frac {1}{1+c x}}}{\sqrt {1-c x}} \, dx}{c}+\frac {\int \frac {x^2}{1-c^2 x^2} \, dx}{c}\\ &=-\frac {x}{c^3}+\frac {\int \frac {1}{1-c^2 x^2} \, dx}{c^3}+\frac {\left (\sqrt {\frac {1}{1+c x}} \sqrt {1+c x}\right ) \int \frac {x^2}{\sqrt {1-c x} \sqrt {1+c x}} \, dx}{c}\\ &=-\frac {x}{c^3}-\frac {x \sqrt {1-c x}}{2 c^3 \sqrt {\frac {1}{1+c x}}}+\frac {\tanh ^{-1}(c x)}{c^4}+\frac {\left (\sqrt {\frac {1}{1+c x}} \sqrt {1+c x}\right ) \int \frac {1}{\sqrt {1-c x} \sqrt {1+c x}} \, dx}{2 c^3}\\ &=-\frac {x}{c^3}-\frac {x \sqrt {1-c x}}{2 c^3 \sqrt {\frac {1}{1+c x}}}+\frac {\tanh ^{-1}(c x)}{c^4}+\frac {\left (\sqrt {\frac {1}{1+c x}} \sqrt {1+c x}\right ) \int \frac {1}{\sqrt {1-c^2 x^2}} \, dx}{2 c^3}\\ &=-\frac {x}{c^3}-\frac {x \sqrt {1-c x}}{2 c^3 \sqrt {\frac {1}{1+c x}}}+\frac {\sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sin ^{-1}(c x)}{2 c^4}+\frac {\tanh ^{-1}(c x)}{c^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.16, size = 110, normalized size = 1.47 \[ -\frac {c^2 x^2 \sqrt {\frac {1-c x}{c x+1}}+2 c x+c x \sqrt {\frac {1-c x}{c x+1}}+\log (1-c x)-\log (c x+1)-i \log \left (2 \sqrt {\frac {1-c x}{c x+1}} (c x+1)-2 i c x\right )}{2 c^4} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 1.57, size = 91, normalized size = 1.21 \[ -\frac {c^{2} x^{2} \sqrt {\frac {c x + 1}{c x}} \sqrt {-\frac {c x - 1}{c x}} + 2 \, c x + \arctan \left (\sqrt {\frac {c x + 1}{c x}} \sqrt {-\frac {c x - 1}{c x}}\right ) - \log \left (c x + 1\right ) + \log \left (c x - 1\right )}{2 \, c^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int -\frac {x^{3} {\left (\sqrt {\frac {1}{c x} + 1} \sqrt {\frac {1}{c x} - 1} + \frac {1}{c x}\right )}}{c^{2} x^{2} - 1}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.08, size = 117, normalized size = 1.56 \[ -\frac {\sqrt {-\frac {c x -1}{c x}}\, x \sqrt {\frac {c x +1}{c x}}\, \left (x \sqrt {-c^{2} x^{2}+1}\, \mathrm {csgn}\relax (c ) c -\arctan \left (\frac {\mathrm {csgn}\relax (c ) c x}{\sqrt {-c^{2} x^{2}+1}}\right )\right ) \mathrm {csgn}\relax (c )}{2 c^{3} \sqrt {-c^{2} x^{2}+1}}-\frac {x}{c^{3}}+\frac {\ln \left (c x +1\right )}{2 c^{4}}-\frac {\ln \left (c x -1\right )}{2 c^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ -\frac {x}{c^{3}} + \frac {\log \left (c x + 1\right )}{2 \, c^{4}} - \frac {\log \left (c x - 1\right )}{2 \, c^{4}} - \int \frac {\sqrt {c x + 1} \sqrt {-c x + 1} x^{2}}{c^{3} x^{2} - c}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 8.08, size = 340, normalized size = 4.53 \[ \frac {\mathrm {atanh}\left (c\,x\right )-c\,x}{c^4}-\frac {\ln \left (\frac {\sqrt {\frac {1}{c\,x}-1}-\mathrm {i}}{\sqrt {\frac {1}{c\,x}+1}-1}\right )\,1{}\mathrm {i}}{2\,c^4}-\frac {\frac {1{}\mathrm {i}}{32\,c^4}+\frac {{\left (\sqrt {\frac {1}{c\,x}-1}-\mathrm {i}\right )}^2\,1{}\mathrm {i}}{16\,c^4\,{\left (\sqrt {\frac {1}{c\,x}+1}-1\right )}^2}-\frac {{\left (\sqrt {\frac {1}{c\,x}-1}-\mathrm {i}\right )}^4\,15{}\mathrm {i}}{32\,c^4\,{\left (\sqrt {\frac {1}{c\,x}+1}-1\right )}^4}}{\frac {{\left (\sqrt {\frac {1}{c\,x}-1}-\mathrm {i}\right )}^2}{{\left (\sqrt {\frac {1}{c\,x}+1}-1\right )}^2}+\frac {2\,{\left (\sqrt {\frac {1}{c\,x}-1}-\mathrm {i}\right )}^4}{{\left (\sqrt {\frac {1}{c\,x}+1}-1\right )}^4}+\frac {{\left (\sqrt {\frac {1}{c\,x}-1}-\mathrm {i}\right )}^6}{{\left (\sqrt {\frac {1}{c\,x}+1}-1\right )}^6}}+\frac {\ln \left (\frac {2\,c\,\sqrt {\frac {c+\frac {1}{x}}{c}}-\frac {2}{x}+c\,\sqrt {-\frac {c-\frac {1}{x}}{c}}\,2{}\mathrm {i}}{2\,c+\frac {1}{x}-2\,c\,\sqrt {\frac {c+\frac {1}{x}}{c}}}\right )\,1{}\mathrm {i}}{2\,c^4}-\frac {{\left (\sqrt {\frac {1}{c\,x}-1}-\mathrm {i}\right )}^2\,1{}\mathrm {i}}{32\,c^4\,{\left (\sqrt {\frac {1}{c\,x}+1}-1\right )}^2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ - \frac {\int \frac {x^{2}}{c^{2} x^{2} - 1}\, dx + \int \frac {c x^{3} \sqrt {-1 + \frac {1}{c x}} \sqrt {1 + \frac {1}{c x}}}{c^{2} x^{2} - 1}\, dx}{c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________