Integrand size = 18, antiderivative size = 130 \[ \int \frac {a+b \coth ^{-1}(c+d x)}{e+f x} \, dx=-\frac {\left (a+b \coth ^{-1}(c+d x)\right ) \log \left (\frac {2}{1+c+d x}\right )}{f}+\frac {\left (a+b \coth ^{-1}(c+d x)\right ) \log \left (\frac {2 d (e+f x)}{(d e+f-c f) (1+c+d x)}\right )}{f}+\frac {b \operatorname {PolyLog}\left (2,1-\frac {2}{1+c+d x}\right )}{2 f}-\frac {b \operatorname {PolyLog}\left (2,1-\frac {2 d (e+f x)}{(d e+f-c f) (1+c+d x)}\right )}{2 f} \]
[Out]
Time = 0.12 (sec) , antiderivative size = 130, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.278, Rules used = {6247, 6058, 2449, 2352, 2497} \[ \int \frac {a+b \coth ^{-1}(c+d x)}{e+f x} \, dx=\frac {\left (a+b \coth ^{-1}(c+d x)\right ) \log \left (\frac {2 d (e+f x)}{(c+d x+1) (-c f+d e+f)}\right )}{f}-\frac {\log \left (\frac {2}{c+d x+1}\right ) \left (a+b \coth ^{-1}(c+d x)\right )}{f}-\frac {b \operatorname {PolyLog}\left (2,1-\frac {2 d (e+f x)}{(d e-c f+f) (c+d x+1)}\right )}{2 f}+\frac {b \operatorname {PolyLog}\left (2,1-\frac {2}{c+d x+1}\right )}{2 f} \]
[In]
[Out]
Rule 2352
Rule 2449
Rule 2497
Rule 6058
Rule 6247
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {a+b \coth ^{-1}(x)}{\frac {d e-c f}{d}+\frac {f x}{d}} \, dx,x,c+d x\right )}{d} \\ & = -\frac {\left (a+b \coth ^{-1}(c+d x)\right ) \log \left (\frac {2}{1+c+d x}\right )}{f}+\frac {\left (a+b \coth ^{-1}(c+d x)\right ) \log \left (\frac {2 d (e+f x)}{(d e+f-c f) (1+c+d x)}\right )}{f}+\frac {b \text {Subst}\left (\int \frac {\log \left (\frac {2}{1+x}\right )}{1-x^2} \, dx,x,c+d x\right )}{f}-\frac {b \text {Subst}\left (\int \frac {\log \left (\frac {2 \left (\frac {d e-c f}{d}+\frac {f x}{d}\right )}{\left (\frac {f}{d}+\frac {d e-c f}{d}\right ) (1+x)}\right )}{1-x^2} \, dx,x,c+d x\right )}{f} \\ & = -\frac {\left (a+b \coth ^{-1}(c+d x)\right ) \log \left (\frac {2}{1+c+d x}\right )}{f}+\frac {\left (a+b \coth ^{-1}(c+d x)\right ) \log \left (\frac {2 d (e+f x)}{(d e+f-c f) (1+c+d x)}\right )}{f}-\frac {b \operatorname {PolyLog}\left (2,1-\frac {2 d (e+f x)}{(d e+f-c f) (1+c+d x)}\right )}{2 f}+\frac {b \text {Subst}\left (\int \frac {\log (2 x)}{1-2 x} \, dx,x,\frac {1}{1+c+d x}\right )}{f} \\ & = -\frac {\left (a+b \coth ^{-1}(c+d x)\right ) \log \left (\frac {2}{1+c+d x}\right )}{f}+\frac {\left (a+b \coth ^{-1}(c+d x)\right ) \log \left (\frac {2 d (e+f x)}{(d e+f-c f) (1+c+d x)}\right )}{f}+\frac {b \operatorname {PolyLog}\left (2,1-\frac {2}{1+c+d x}\right )}{2 f}-\frac {b \operatorname {PolyLog}\left (2,1-\frac {2 d (e+f x)}{(d e+f-c f) (1+c+d x)}\right )}{2 f} \\ \end{align*}
Time = 0.07 (sec) , antiderivative size = 206, normalized size of antiderivative = 1.58 \[ \int \frac {a+b \coth ^{-1}(c+d x)}{e+f x} \, dx=\frac {a \log (e+f x)}{f}+\frac {b \log \left (\frac {f (1-c-d x)}{d e+f-c f}\right ) \log (e+f x)}{2 f}-\frac {b \log \left (-\frac {1-c-d x}{c+d x}\right ) \log (e+f x)}{2 f}-\frac {b \log \left (-\frac {f (1+c+d x)}{d e-f-c f}\right ) \log (e+f x)}{2 f}+\frac {b \log \left (\frac {1+c+d x}{c+d x}\right ) \log (e+f x)}{2 f}-\frac {b \operatorname {PolyLog}\left (2,\frac {d (e+f x)}{d e-f-c f}\right )}{2 f}+\frac {b \operatorname {PolyLog}\left (2,\frac {d (e+f x)}{d e+f-c f}\right )}{2 f} \]
[In]
[Out]
Time = 1.22 (sec) , antiderivative size = 191, normalized size of antiderivative = 1.47
method | result | size |
risch | \(\frac {a \ln \left (\left (d x +c -1\right ) f -c f +d e +f \right )}{f}-\frac {b \operatorname {dilog}\left (\frac {\left (d x +c -1\right ) f -c f +d e +f}{-c f +d e +f}\right )}{2 f}-\frac {b \ln \left (d x +c -1\right ) \ln \left (\frac {\left (d x +c -1\right ) f -c f +d e +f}{-c f +d e +f}\right )}{2 f}+\frac {b \operatorname {dilog}\left (\frac {\left (d x +c +1\right ) f -c f +d e -f}{-c f +d e -f}\right )}{2 f}+\frac {b \ln \left (d x +c +1\right ) \ln \left (\frac {\left (d x +c +1\right ) f -c f +d e -f}{-c f +d e -f}\right )}{2 f}\) | \(191\) |
parts | \(\frac {a \ln \left (f x +e \right )}{f}+\frac {b \ln \left (f \left (d x +c \right )-c f +d e \right ) \operatorname {arccoth}\left (d x +c \right )}{f}+\frac {b \ln \left (f \left (d x +c \right )-c f +d e \right ) \ln \left (\frac {f \left (d x +c \right )-f}{c f -d e -f}\right )}{2 f}+\frac {b \operatorname {dilog}\left (\frac {f \left (d x +c \right )-f}{c f -d e -f}\right )}{2 f}-\frac {b \ln \left (f \left (d x +c \right )-c f +d e \right ) \ln \left (\frac {f \left (d x +c \right )+f}{c f -d e +f}\right )}{2 f}-\frac {b \operatorname {dilog}\left (\frac {f \left (d x +c \right )+f}{c f -d e +f}\right )}{2 f}\) | \(192\) |
derivativedivides | \(\frac {\frac {a d \ln \left (c f -d e -f \left (d x +c \right )\right )}{f}-b d \left (-\frac {\ln \left (c f -d e -f \left (d x +c \right )\right ) \operatorname {arccoth}\left (d x +c \right )}{f}+\frac {-\frac {f \left (\operatorname {dilog}\left (\frac {-f \left (d x +c \right )+f}{-c f +d e +f}\right )+\ln \left (c f -d e -f \left (d x +c \right )\right ) \ln \left (\frac {-f \left (d x +c \right )+f}{-c f +d e +f}\right )\right )}{2}+\frac {f \left (\operatorname {dilog}\left (\frac {-f \left (d x +c \right )-f}{-c f +d e -f}\right )+\ln \left (c f -d e -f \left (d x +c \right )\right ) \ln \left (\frac {-f \left (d x +c \right )-f}{-c f +d e -f}\right )\right )}{2}}{f^{2}}\right )}{d}\) | \(211\) |
default | \(\frac {\frac {a d \ln \left (c f -d e -f \left (d x +c \right )\right )}{f}-b d \left (-\frac {\ln \left (c f -d e -f \left (d x +c \right )\right ) \operatorname {arccoth}\left (d x +c \right )}{f}+\frac {-\frac {f \left (\operatorname {dilog}\left (\frac {-f \left (d x +c \right )+f}{-c f +d e +f}\right )+\ln \left (c f -d e -f \left (d x +c \right )\right ) \ln \left (\frac {-f \left (d x +c \right )+f}{-c f +d e +f}\right )\right )}{2}+\frac {f \left (\operatorname {dilog}\left (\frac {-f \left (d x +c \right )-f}{-c f +d e -f}\right )+\ln \left (c f -d e -f \left (d x +c \right )\right ) \ln \left (\frac {-f \left (d x +c \right )-f}{-c f +d e -f}\right )\right )}{2}}{f^{2}}\right )}{d}\) | \(211\) |
[In]
[Out]
\[ \int \frac {a+b \coth ^{-1}(c+d x)}{e+f x} \, dx=\int { \frac {b \operatorname {arcoth}\left (d x + c\right ) + a}{f x + e} \,d x } \]
[In]
[Out]
\[ \int \frac {a+b \coth ^{-1}(c+d x)}{e+f x} \, dx=\int \frac {a + b \operatorname {acoth}{\left (c + d x \right )}}{e + f x}\, dx \]
[In]
[Out]
\[ \int \frac {a+b \coth ^{-1}(c+d x)}{e+f x} \, dx=\int { \frac {b \operatorname {arcoth}\left (d x + c\right ) + a}{f x + e} \,d x } \]
[In]
[Out]
\[ \int \frac {a+b \coth ^{-1}(c+d x)}{e+f x} \, dx=\int { \frac {b \operatorname {arcoth}\left (d x + c\right ) + a}{f x + e} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {a+b \coth ^{-1}(c+d x)}{e+f x} \, dx=\int \frac {a+b\,\mathrm {acoth}\left (c+d\,x\right )}{e+f\,x} \,d x \]
[In]
[Out]