Optimal. Leaf size=194 \[ \frac{2 b^2 (d e-c f) \text{PolyLog}\left (2,-e^{\text{csch}^{-1}(c+d x)}\right )}{d^2}-\frac{2 b^2 (d e-c f) \text{PolyLog}\left (2,e^{\text{csch}^{-1}(c+d x)}\right )}{d^2}-\frac{(d e-c f)^2 \left (a+b \text{csch}^{-1}(c+d x)\right )^2}{2 d^2 f}+\frac{4 b (d e-c f) \tanh ^{-1}\left (e^{\text{csch}^{-1}(c+d x)}\right ) \left (a+b \text{csch}^{-1}(c+d x)\right )}{d^2}+\frac{b f (c+d x) \sqrt{\frac{1}{(c+d x)^2}+1} \left (a+b \text{csch}^{-1}(c+d x)\right )}{d^2}+\frac{(e+f x)^2 \left (a+b \text{csch}^{-1}(c+d x)\right )^2}{2 f}+\frac{b^2 f \log (c+d x)}{d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.273336, antiderivative size = 194, normalized size of antiderivative = 1., number of steps used = 11, number of rules used = 8, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.444, Rules used = {6322, 5469, 4190, 4182, 2279, 2391, 4184, 3475} \[ \frac{2 b^2 (d e-c f) \text{PolyLog}\left (2,-e^{\text{csch}^{-1}(c+d x)}\right )}{d^2}-\frac{2 b^2 (d e-c f) \text{PolyLog}\left (2,e^{\text{csch}^{-1}(c+d x)}\right )}{d^2}-\frac{(d e-c f)^2 \left (a+b \text{csch}^{-1}(c+d x)\right )^2}{2 d^2 f}+\frac{4 b (d e-c f) \tanh ^{-1}\left (e^{\text{csch}^{-1}(c+d x)}\right ) \left (a+b \text{csch}^{-1}(c+d x)\right )}{d^2}+\frac{b f (c+d x) \sqrt{\frac{1}{(c+d x)^2}+1} \left (a+b \text{csch}^{-1}(c+d x)\right )}{d^2}+\frac{(e+f x)^2 \left (a+b \text{csch}^{-1}(c+d x)\right )^2}{2 f}+\frac{b^2 f \log (c+d x)}{d^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6322
Rule 5469
Rule 4190
Rule 4182
Rule 2279
Rule 2391
Rule 4184
Rule 3475
Rubi steps
\begin{align*} \int (e+f x) \left (a+b \text{csch}^{-1}(c+d x)\right )^2 \, dx &=-\frac{\operatorname{Subst}\left (\int (a+b x)^2 \coth (x) \text{csch}(x) (d e-c f+f \text{csch}(x)) \, dx,x,\text{csch}^{-1}(c+d x)\right )}{d^2}\\ &=\frac{(e+f x)^2 \left (a+b \text{csch}^{-1}(c+d x)\right )^2}{2 f}-\frac{b \operatorname{Subst}\left (\int (a+b x) (d e-c f+f \text{csch}(x))^2 \, dx,x,\text{csch}^{-1}(c+d x)\right )}{d^2 f}\\ &=\frac{(e+f x)^2 \left (a+b \text{csch}^{-1}(c+d x)\right )^2}{2 f}-\frac{b \operatorname{Subst}\left (\int \left (d^2 e^2 \left (1+\frac{c f (-2 d e+c f)}{d^2 e^2}\right ) (a+b x)+2 d e f \left (1-\frac{c f}{d e}\right ) (a+b x) \text{csch}(x)+f^2 (a+b x) \text{csch}^2(x)\right ) \, dx,x,\text{csch}^{-1}(c+d x)\right )}{d^2 f}\\ &=-\frac{(d e-c f)^2 \left (a+b \text{csch}^{-1}(c+d x)\right )^2}{2 d^2 f}+\frac{(e+f x)^2 \left (a+b \text{csch}^{-1}(c+d x)\right )^2}{2 f}-\frac{(b f) \operatorname{Subst}\left (\int (a+b x) \text{csch}^2(x) \, dx,x,\text{csch}^{-1}(c+d x)\right )}{d^2}-\frac{(2 b (d e-c f)) \operatorname{Subst}\left (\int (a+b x) \text{csch}(x) \, dx,x,\text{csch}^{-1}(c+d x)\right )}{d^2}\\ &=\frac{b f (c+d x) \sqrt{1+\frac{1}{(c+d x)^2}} \left (a+b \text{csch}^{-1}(c+d x)\right )}{d^2}-\frac{(d e-c f)^2 \left (a+b \text{csch}^{-1}(c+d x)\right )^2}{2 d^2 f}+\frac{(e+f x)^2 \left (a+b \text{csch}^{-1}(c+d x)\right )^2}{2 f}+\frac{4 b (d e-c f) \left (a+b \text{csch}^{-1}(c+d x)\right ) \tanh ^{-1}\left (e^{\text{csch}^{-1}(c+d x)}\right )}{d^2}-\frac{\left (b^2 f\right ) \operatorname{Subst}\left (\int \coth (x) \, dx,x,\text{csch}^{-1}(c+d x)\right )}{d^2}+\frac{\left (2 b^2 (d e-c f)\right ) \operatorname{Subst}\left (\int \log \left (1-e^x\right ) \, dx,x,\text{csch}^{-1}(c+d x)\right )}{d^2}-\frac{\left (2 b^2 (d e-c f)\right ) \operatorname{Subst}\left (\int \log \left (1+e^x\right ) \, dx,x,\text{csch}^{-1}(c+d x)\right )}{d^2}\\ &=\frac{b f (c+d x) \sqrt{1+\frac{1}{(c+d x)^2}} \left (a+b \text{csch}^{-1}(c+d x)\right )}{d^2}-\frac{(d e-c f)^2 \left (a+b \text{csch}^{-1}(c+d x)\right )^2}{2 d^2 f}+\frac{(e+f x)^2 \left (a+b \text{csch}^{-1}(c+d x)\right )^2}{2 f}+\frac{4 b (d e-c f) \left (a+b \text{csch}^{-1}(c+d x)\right ) \tanh ^{-1}\left (e^{\text{csch}^{-1}(c+d x)}\right )}{d^2}+\frac{b^2 f \log (c+d x)}{d^2}+\frac{\left (2 b^2 (d e-c f)\right ) \operatorname{Subst}\left (\int \frac{\log (1-x)}{x} \, dx,x,e^{\text{csch}^{-1}(c+d x)}\right )}{d^2}-\frac{\left (2 b^2 (d e-c f)\right ) \operatorname{Subst}\left (\int \frac{\log (1+x)}{x} \, dx,x,e^{\text{csch}^{-1}(c+d x)}\right )}{d^2}\\ &=\frac{b f (c+d x) \sqrt{1+\frac{1}{(c+d x)^2}} \left (a+b \text{csch}^{-1}(c+d x)\right )}{d^2}-\frac{(d e-c f)^2 \left (a+b \text{csch}^{-1}(c+d x)\right )^2}{2 d^2 f}+\frac{(e+f x)^2 \left (a+b \text{csch}^{-1}(c+d x)\right )^2}{2 f}+\frac{4 b (d e-c f) \left (a+b \text{csch}^{-1}(c+d x)\right ) \tanh ^{-1}\left (e^{\text{csch}^{-1}(c+d x)}\right )}{d^2}+\frac{b^2 f \log (c+d x)}{d^2}+\frac{2 b^2 (d e-c f) \text{Li}_2\left (-e^{\text{csch}^{-1}(c+d x)}\right )}{d^2}-\frac{2 b^2 (d e-c f) \text{Li}_2\left (e^{\text{csch}^{-1}(c+d x)}\right )}{d^2}\\ \end{align*}
Mathematica [B] time = 1.38779, size = 401, normalized size = 2.07 \[ \frac{2 b^2 d e \left (-2 \text{PolyLog}\left (2,-e^{-\text{csch}^{-1}(c+d x)}\right )+2 \text{PolyLog}\left (2,e^{-\text{csch}^{-1}(c+d x)}\right )+\text{csch}^{-1}(c+d x) \left ((c+d x) \text{csch}^{-1}(c+d x)-2 \log \left (1-e^{-\text{csch}^{-1}(c+d x)}\right )+2 \log \left (e^{-\text{csch}^{-1}(c+d x)}+1\right )\right )\right )-2 b^2 c f \left (-2 \text{PolyLog}\left (2,-e^{-\text{csch}^{-1}(c+d x)}\right )+2 \text{PolyLog}\left (2,e^{-\text{csch}^{-1}(c+d x)}\right )+\text{csch}^{-1}(c+d x) \left ((c+d x) \text{csch}^{-1}(c+d x)-2 \log \left (1-e^{-\text{csch}^{-1}(c+d x)}\right )+2 \log \left (e^{-\text{csch}^{-1}(c+d x)}+1\right )\right )\right )+2 a^2 (c+d x) (d e-c f)+a^2 f (c+d x)^2+2 a b d e \left (2 (c+d x) \text{csch}^{-1}(c+d x)-2 \log \left (2 (c+d x) \sinh ^2\left (\frac{1}{2} \text{csch}^{-1}(c+d x)\right )\right )\right )+2 a b f (c+d x) \left (\sqrt{\frac{1}{(c+d x)^2}+1}+(c+d x) \text{csch}^{-1}(c+d x)\right )+2 a b c f \left (2 \log \left (2 (c+d x) \sinh ^2\left (\frac{1}{2} \text{csch}^{-1}(c+d x)\right )\right )-2 (c+d x) \text{csch}^{-1}(c+d x)\right )+2 b^2 f \left (-\log \left (\frac{1}{c+d x}\right )+\frac{1}{2} (c+d x)^2 \text{csch}^{-1}(c+d x)^2+(c+d x) \sqrt{\frac{1}{(c+d x)^2}+1} \text{csch}^{-1}(c+d x)\right )}{2 d^2} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.222, size = 0, normalized size = 0. \begin{align*} \int \left ( fx+e \right ) \left ( a+b{\rm arccsch} \left (dx+c\right ) \right ) ^{2}\, 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*} \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 (a^{2} f x + a^{2} e +{\left (b^{2} f x + b^{2} e\right )} \operatorname{arcsch}\left (d x + c\right )^{2} + 2 \,{\left (a b f x + a b e\right )} \operatorname{arcsch}\left (d x + c\right ), 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 \left (a + b \operatorname{acsch}{\left (c + d x \right )}\right )^{2} \left (e + f x\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{\left (f x + e\right )}{\left (b \operatorname{arcsch}\left (d x + c\right ) + a\right )}^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]