Optimal. Leaf size=352 \[ \frac{c^3 d \text{PolyLog}\left (2,-\frac{e e^{\cosh ^{-1}(c x)}}{c d-\sqrt{c^2 d^2-e^2}}\right )}{e \left (c^2 d^2-e^2\right )^{3/2}}-\frac{c^3 d \text{PolyLog}\left (2,-\frac{e e^{\cosh ^{-1}(c x)}}{\sqrt{c^2 d^2-e^2}+c d}\right )}{e \left (c^2 d^2-e^2\right )^{3/2}}+\frac{c^2 \log (d+e x)}{e \left (c^2 d^2-e^2\right )}-\frac{c \sqrt{-\frac{1-c x}{c x+1}} (c x+1) \cosh ^{-1}(c x)}{\left (c^2 d^2-e^2\right ) (d+e x)}+\frac{c^3 d \cosh ^{-1}(c x) \log \left (\frac{e e^{\cosh ^{-1}(c x)}}{c d-\sqrt{c^2 d^2-e^2}}+1\right )}{e \left (c^2 d^2-e^2\right )^{3/2}}-\frac{c^3 d \cosh ^{-1}(c x) \log \left (\frac{e e^{\cosh ^{-1}(c x)}}{\sqrt{c^2 d^2-e^2}+c d}+1\right )}{e \left (c^2 d^2-e^2\right )^{3/2}}-\frac{\cosh ^{-1}(c x)^2}{2 e (d+e x)^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.694363, antiderivative size = 352, normalized size of antiderivative = 1., number of steps used = 13, number of rules used = 10, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.714, Rules used = {5802, 5832, 3324, 3320, 2264, 2190, 2279, 2391, 2668, 31} \[ \frac{c^3 d \text{PolyLog}\left (2,-\frac{e e^{\cosh ^{-1}(c x)}}{c d-\sqrt{c^2 d^2-e^2}}\right )}{e \left (c^2 d^2-e^2\right )^{3/2}}-\frac{c^3 d \text{PolyLog}\left (2,-\frac{e e^{\cosh ^{-1}(c x)}}{\sqrt{c^2 d^2-e^2}+c d}\right )}{e \left (c^2 d^2-e^2\right )^{3/2}}+\frac{c^2 \log (d+e x)}{e \left (c^2 d^2-e^2\right )}-\frac{c \sqrt{-\frac{1-c x}{c x+1}} (c x+1) \cosh ^{-1}(c x)}{\left (c^2 d^2-e^2\right ) (d+e x)}+\frac{c^3 d \cosh ^{-1}(c x) \log \left (\frac{e e^{\cosh ^{-1}(c x)}}{c d-\sqrt{c^2 d^2-e^2}}+1\right )}{e \left (c^2 d^2-e^2\right )^{3/2}}-\frac{c^3 d \cosh ^{-1}(c x) \log \left (\frac{e e^{\cosh ^{-1}(c x)}}{\sqrt{c^2 d^2-e^2}+c d}+1\right )}{e \left (c^2 d^2-e^2\right )^{3/2}}-\frac{\cosh ^{-1}(c x)^2}{2 e (d+e x)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5802
Rule 5832
Rule 3324
Rule 3320
Rule 2264
Rule 2190
Rule 2279
Rule 2391
Rule 2668
Rule 31
Rubi steps
\begin{align*} \int \frac{\cosh ^{-1}(c x)^2}{(d+e x)^3} \, dx &=-\frac{\cosh ^{-1}(c x)^2}{2 e (d+e x)^2}+\frac{c \int \frac{\cosh ^{-1}(c x)}{\sqrt{-1+c x} \sqrt{1+c x} (d+e x)^2} \, dx}{e}\\ &=-\frac{\cosh ^{-1}(c x)^2}{2 e (d+e x)^2}+\frac{c^2 \operatorname{Subst}\left (\int \frac{x}{(c d+e \cosh (x))^2} \, dx,x,\cosh ^{-1}(c x)\right )}{e}\\ &=-\frac{c \sqrt{-\frac{1-c x}{1+c x}} (1+c x) \cosh ^{-1}(c x)}{\left (c^2 d^2-e^2\right ) (d+e x)}-\frac{\cosh ^{-1}(c x)^2}{2 e (d+e x)^2}+\frac{c^2 \operatorname{Subst}\left (\int \frac{\sinh (x)}{c d+e \cosh (x)} \, dx,x,\cosh ^{-1}(c x)\right )}{c^2 d^2-e^2}+\frac{\left (c^3 d\right ) \operatorname{Subst}\left (\int \frac{x}{c d+e \cosh (x)} \, dx,x,\cosh ^{-1}(c x)\right )}{e \left (c^2 d^2-e^2\right )}\\ &=-\frac{c \sqrt{-\frac{1-c x}{1+c x}} (1+c x) \cosh ^{-1}(c x)}{\left (c^2 d^2-e^2\right ) (d+e x)}-\frac{\cosh ^{-1}(c x)^2}{2 e (d+e x)^2}+\frac{c^2 \operatorname{Subst}\left (\int \frac{1}{c d+x} \, dx,x,c e x\right )}{e \left (c^2 d^2-e^2\right )}+\frac{\left (2 c^3 d\right ) \operatorname{Subst}\left (\int \frac{e^x x}{e+2 c d e^x+e e^{2 x}} \, dx,x,\cosh ^{-1}(c x)\right )}{e \left (c^2 d^2-e^2\right )}\\ &=-\frac{c \sqrt{-\frac{1-c x}{1+c x}} (1+c x) \cosh ^{-1}(c x)}{\left (c^2 d^2-e^2\right ) (d+e x)}-\frac{\cosh ^{-1}(c x)^2}{2 e (d+e x)^2}+\frac{c^2 \log (d+e x)}{e \left (c^2 d^2-e^2\right )}+\frac{\left (2 c^3 d\right ) \operatorname{Subst}\left (\int \frac{e^x x}{2 c d-2 \sqrt{c^2 d^2-e^2}+2 e e^x} \, dx,x,\cosh ^{-1}(c x)\right )}{\left (c^2 d^2-e^2\right )^{3/2}}-\frac{\left (2 c^3 d\right ) \operatorname{Subst}\left (\int \frac{e^x x}{2 c d+2 \sqrt{c^2 d^2-e^2}+2 e e^x} \, dx,x,\cosh ^{-1}(c x)\right )}{\left (c^2 d^2-e^2\right )^{3/2}}\\ &=-\frac{c \sqrt{-\frac{1-c x}{1+c x}} (1+c x) \cosh ^{-1}(c x)}{\left (c^2 d^2-e^2\right ) (d+e x)}-\frac{\cosh ^{-1}(c x)^2}{2 e (d+e x)^2}+\frac{c^3 d \cosh ^{-1}(c x) \log \left (1+\frac{e e^{\cosh ^{-1}(c x)}}{c d-\sqrt{c^2 d^2-e^2}}\right )}{e \left (c^2 d^2-e^2\right )^{3/2}}-\frac{c^3 d \cosh ^{-1}(c x) \log \left (1+\frac{e e^{\cosh ^{-1}(c x)}}{c d+\sqrt{c^2 d^2-e^2}}\right )}{e \left (c^2 d^2-e^2\right )^{3/2}}+\frac{c^2 \log (d+e x)}{e \left (c^2 d^2-e^2\right )}-\frac{\left (c^3 d\right ) \operatorname{Subst}\left (\int \log \left (1+\frac{2 e e^x}{2 c d-2 \sqrt{c^2 d^2-e^2}}\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{e \left (c^2 d^2-e^2\right )^{3/2}}+\frac{\left (c^3 d\right ) \operatorname{Subst}\left (\int \log \left (1+\frac{2 e e^x}{2 c d+2 \sqrt{c^2 d^2-e^2}}\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{e \left (c^2 d^2-e^2\right )^{3/2}}\\ &=-\frac{c \sqrt{-\frac{1-c x}{1+c x}} (1+c x) \cosh ^{-1}(c x)}{\left (c^2 d^2-e^2\right ) (d+e x)}-\frac{\cosh ^{-1}(c x)^2}{2 e (d+e x)^2}+\frac{c^3 d \cosh ^{-1}(c x) \log \left (1+\frac{e e^{\cosh ^{-1}(c x)}}{c d-\sqrt{c^2 d^2-e^2}}\right )}{e \left (c^2 d^2-e^2\right )^{3/2}}-\frac{c^3 d \cosh ^{-1}(c x) \log \left (1+\frac{e e^{\cosh ^{-1}(c x)}}{c d+\sqrt{c^2 d^2-e^2}}\right )}{e \left (c^2 d^2-e^2\right )^{3/2}}+\frac{c^2 \log (d+e x)}{e \left (c^2 d^2-e^2\right )}-\frac{\left (c^3 d\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{2 e x}{2 c d-2 \sqrt{c^2 d^2-e^2}}\right )}{x} \, dx,x,e^{\cosh ^{-1}(c x)}\right )}{e \left (c^2 d^2-e^2\right )^{3/2}}+\frac{\left (c^3 d\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{2 e x}{2 c d+2 \sqrt{c^2 d^2-e^2}}\right )}{x} \, dx,x,e^{\cosh ^{-1}(c x)}\right )}{e \left (c^2 d^2-e^2\right )^{3/2}}\\ &=-\frac{c \sqrt{-\frac{1-c x}{1+c x}} (1+c x) \cosh ^{-1}(c x)}{\left (c^2 d^2-e^2\right ) (d+e x)}-\frac{\cosh ^{-1}(c x)^2}{2 e (d+e x)^2}+\frac{c^3 d \cosh ^{-1}(c x) \log \left (1+\frac{e e^{\cosh ^{-1}(c x)}}{c d-\sqrt{c^2 d^2-e^2}}\right )}{e \left (c^2 d^2-e^2\right )^{3/2}}-\frac{c^3 d \cosh ^{-1}(c x) \log \left (1+\frac{e e^{\cosh ^{-1}(c x)}}{c d+\sqrt{c^2 d^2-e^2}}\right )}{e \left (c^2 d^2-e^2\right )^{3/2}}+\frac{c^2 \log (d+e x)}{e \left (c^2 d^2-e^2\right )}+\frac{c^3 d \text{Li}_2\left (-\frac{e e^{\cosh ^{-1}(c x)}}{c d-\sqrt{c^2 d^2-e^2}}\right )}{e \left (c^2 d^2-e^2\right )^{3/2}}-\frac{c^3 d \text{Li}_2\left (-\frac{e e^{\cosh ^{-1}(c x)}}{c d+\sqrt{c^2 d^2-e^2}}\right )}{e \left (c^2 d^2-e^2\right )^{3/2}}\\ \end{align*}
Mathematica [C] time = 4.45733, size = 936, normalized size = 2.66 \[ c^2 \left (-\frac{\cosh ^{-1}(c x)^2}{2 e (c d+c e x)^2}-\frac{\sqrt{\frac{c x-1}{c x+1}} (c x+1) \cosh ^{-1}(c x)}{(c d-e) (c d+e) (c d+c e x)}+\frac{\log \left (\frac{e x}{d}+1\right )}{c^2 d^2 e-e^3}+\frac{c d \left (2 \cosh ^{-1}(c x) \tan ^{-1}\left (\frac{(c d+e) \coth \left (\frac{1}{2} \cosh ^{-1}(c x)\right )}{\sqrt{e^2-c^2 d^2}}\right )-2 i \cos ^{-1}\left (-\frac{c d}{e}\right ) \tan ^{-1}\left (\frac{(e-c d) \tanh \left (\frac{1}{2} \cosh ^{-1}(c x)\right )}{\sqrt{e^2-c^2 d^2}}\right )+\left (\cos ^{-1}\left (-\frac{c d}{e}\right )+2 \left (\tan ^{-1}\left (\frac{(c d+e) \coth \left (\frac{1}{2} \cosh ^{-1}(c x)\right )}{\sqrt{e^2-c^2 d^2}}\right )+\tan ^{-1}\left (\frac{(e-c d) \tanh \left (\frac{1}{2} \cosh ^{-1}(c x)\right )}{\sqrt{e^2-c^2 d^2}}\right )\right )\right ) \log \left (\frac{\sqrt{e^2-c^2 d^2} e^{-\frac{1}{2} \cosh ^{-1}(c x)}}{\sqrt{2} \sqrt{e} \sqrt{c d+c e x}}\right )+\left (\cos ^{-1}\left (-\frac{c d}{e}\right )-2 \left (\tan ^{-1}\left (\frac{(c d+e) \coth \left (\frac{1}{2} \cosh ^{-1}(c x)\right )}{\sqrt{e^2-c^2 d^2}}\right )+\tan ^{-1}\left (\frac{(e-c d) \tanh \left (\frac{1}{2} \cosh ^{-1}(c x)\right )}{\sqrt{e^2-c^2 d^2}}\right )\right )\right ) \log \left (\frac{\sqrt{e^2-c^2 d^2} e^{\frac{1}{2} \cosh ^{-1}(c x)}}{\sqrt{2} \sqrt{e} \sqrt{c d+c e x}}\right )-\left (\cos ^{-1}\left (-\frac{c d}{e}\right )+2 \tan ^{-1}\left (\frac{(e-c d) \tanh \left (\frac{1}{2} \cosh ^{-1}(c x)\right )}{\sqrt{e^2-c^2 d^2}}\right )\right ) \log \left (\frac{(c d+e) \left (c d-e+i \sqrt{e^2-c^2 d^2}\right ) \left (\tanh \left (\frac{1}{2} \cosh ^{-1}(c x)\right )-1\right )}{e \left (c d+e+i \sqrt{e^2-c^2 d^2} \tanh \left (\frac{1}{2} \cosh ^{-1}(c x)\right )\right )}\right )-\left (\cos ^{-1}\left (-\frac{c d}{e}\right )-2 \tan ^{-1}\left (\frac{(e-c d) \tanh \left (\frac{1}{2} \cosh ^{-1}(c x)\right )}{\sqrt{e^2-c^2 d^2}}\right )\right ) \log \left (\frac{(c d+e) \left (-c d+e+i \sqrt{e^2-c^2 d^2}\right ) \left (\tanh \left (\frac{1}{2} \cosh ^{-1}(c x)\right )+1\right )}{e \left (c d+e+i \sqrt{e^2-c^2 d^2} \tanh \left (\frac{1}{2} \cosh ^{-1}(c x)\right )\right )}\right )+i \left (\text{PolyLog}\left (2,\frac{\left (c d-i \sqrt{e^2-c^2 d^2}\right ) \left (c d+e-i \sqrt{e^2-c^2 d^2} \tanh \left (\frac{1}{2} \cosh ^{-1}(c x)\right )\right )}{e \left (c d+e+i \sqrt{e^2-c^2 d^2} \tanh \left (\frac{1}{2} \cosh ^{-1}(c x)\right )\right )}\right )-\text{PolyLog}\left (2,\frac{\left (c d+i \sqrt{e^2-c^2 d^2}\right ) \left (c d+e-i \sqrt{e^2-c^2 d^2} \tanh \left (\frac{1}{2} \cosh ^{-1}(c x)\right )\right )}{e \left (c d+e+i \sqrt{e^2-c^2 d^2} \tanh \left (\frac{1}{2} \cosh ^{-1}(c x)\right )\right )}\right )\right )\right )}{e \left (e^2-c^2 d^2\right )^{3/2}}\right ) \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.185, size = 766, normalized size = 2.2 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \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{\operatorname{arcosh}\left (c x\right )^{2}}{e^{3} x^{3} + 3 \, d e^{2} x^{2} + 3 \, d^{2} e x + d^{3}}, 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{\operatorname{acosh}^{2}{\left (c x \right )}}{\left (d + e x\right )^{3}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]