Optimal. Leaf size=81 \[ -\frac{b \text{PolyLog}\left (2,-e^{-2 \cosh ^{-1}(c+d x)}\right )}{2 d e}+\frac{\left (a+b \cosh ^{-1}(c+d x)\right )^2}{2 b d e}+\frac{\log \left (e^{-2 \cosh ^{-1}(c+d x)}+1\right ) \left (a+b \cosh ^{-1}(c+d x)\right )}{d e} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.107032, antiderivative size = 81, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 7, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {5866, 12, 5660, 3718, 2190, 2279, 2391} \[ \frac{b \text{PolyLog}\left (2,-e^{2 \cosh ^{-1}(c+d x)}\right )}{2 d e}-\frac{\left (a+b \cosh ^{-1}(c+d x)\right )^2}{2 b d e}+\frac{\log \left (e^{2 \cosh ^{-1}(c+d x)}+1\right ) \left (a+b \cosh ^{-1}(c+d x)\right )}{d e} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 5866
Rule 12
Rule 5660
Rule 3718
Rule 2190
Rule 2279
Rule 2391
Rubi steps
\begin{align*} \int \frac{a+b \cosh ^{-1}(c+d x)}{c e+d e x} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{a+b \cosh ^{-1}(x)}{e x} \, dx,x,c+d x\right )}{d}\\ &=\frac{\operatorname{Subst}\left (\int \frac{a+b \cosh ^{-1}(x)}{x} \, dx,x,c+d x\right )}{d e}\\ &=\frac{\operatorname{Subst}\left (\int (a+b x) \tanh (x) \, dx,x,\cosh ^{-1}(c+d x)\right )}{d e}\\ &=-\frac{\left (a+b \cosh ^{-1}(c+d x)\right )^2}{2 b d e}+\frac{2 \operatorname{Subst}\left (\int \frac{e^{2 x} (a+b x)}{1+e^{2 x}} \, dx,x,\cosh ^{-1}(c+d x)\right )}{d e}\\ &=-\frac{\left (a+b \cosh ^{-1}(c+d x)\right )^2}{2 b d e}+\frac{\left (a+b \cosh ^{-1}(c+d x)\right ) \log \left (1+e^{2 \cosh ^{-1}(c+d x)}\right )}{d e}-\frac{b \operatorname{Subst}\left (\int \log \left (1+e^{2 x}\right ) \, dx,x,\cosh ^{-1}(c+d x)\right )}{d e}\\ &=-\frac{\left (a+b \cosh ^{-1}(c+d x)\right )^2}{2 b d e}+\frac{\left (a+b \cosh ^{-1}(c+d x)\right ) \log \left (1+e^{2 \cosh ^{-1}(c+d x)}\right )}{d e}-\frac{b \operatorname{Subst}\left (\int \frac{\log (1+x)}{x} \, dx,x,e^{2 \cosh ^{-1}(c+d x)}\right )}{2 d e}\\ &=-\frac{\left (a+b \cosh ^{-1}(c+d x)\right )^2}{2 b d e}+\frac{\left (a+b \cosh ^{-1}(c+d x)\right ) \log \left (1+e^{2 \cosh ^{-1}(c+d x)}\right )}{d e}+\frac{b \text{Li}_2\left (-e^{2 \cosh ^{-1}(c+d x)}\right )}{2 d e}\\ \end{align*}
Mathematica [A] time = 0.0615755, size = 69, normalized size = 0.85 \[ \frac{-b \text{PolyLog}\left (2,-e^{-2 \cosh ^{-1}(c+d x)}\right )+2 a \log (c+d x)+b \cosh ^{-1}(c+d x)^2+2 b \cosh ^{-1}(c+d x) \log \left (e^{-2 \cosh ^{-1}(c+d x)}+1\right )}{2 d e} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.031, size = 111, normalized size = 1.4 \begin{align*}{\frac{a\ln \left ( dx+c \right ) }{de}}-{\frac{b \left ({\rm arccosh} \left (dx+c\right ) \right ) ^{2}}{2\,de}}+{\frac{b{\rm arccosh} \left (dx+c\right )}{de}\ln \left ( \left ( dx+c+\sqrt{dx+c-1}\sqrt{dx+c+1} \right ) ^{2}+1 \right ) }+{\frac{b}{2\,de}{\it polylog} \left ( 2,- \left ( dx+c+\sqrt{dx+c-1}\sqrt{dx+c+1} \right ) ^{2} \right ) } \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{b \operatorname{arcosh}\left (d x + c\right ) + a}{d e x + c e}, 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*} \frac{\int \frac{a}{c + d x}\, dx + \int \frac{b \operatorname{acosh}{\left (c + d x \right )}}{c + d x}\, dx}{e} \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{arcosh}\left (d x + c\right ) + a}{d e x + c e}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]