Integrand size = 18, antiderivative size = 94 \[ \int \frac {x (a+b \text {arctanh}(c x))}{d+c d x} \, dx=\frac {a x}{c d}+\frac {b x \text {arctanh}(c x)}{c d}+\frac {(a+b \text {arctanh}(c x)) \log \left (\frac {2}{1+c x}\right )}{c^2 d}+\frac {b \log \left (1-c^2 x^2\right )}{2 c^2 d}-\frac {b \operatorname {PolyLog}\left (2,1-\frac {2}{1+c x}\right )}{2 c^2 d} \] Output:
a*x/c/d+b*x*arctanh(c*x)/c/d+(a+b*arctanh(c*x))*ln(2/(c*x+1))/c^2/d+1/2*b* ln(-c^2*x^2+1)/c^2/d-1/2*b*polylog(2,1-2/(c*x+1))/c^2/d
Time = 0.17 (sec) , antiderivative size = 75, normalized size of antiderivative = 0.80 \[ \int \frac {x (a+b \text {arctanh}(c x))}{d+c d x} \, dx=\frac {2 a c x+2 b \text {arctanh}(c x) \left (c x+\log \left (1+e^{-2 \text {arctanh}(c x)}\right )\right )-2 a \log (1+c x)+b \log \left (1-c^2 x^2\right )-b \operatorname {PolyLog}\left (2,-e^{-2 \text {arctanh}(c x)}\right )}{2 c^2 d} \] Input:
Integrate[(x*(a + b*ArcTanh[c*x]))/(d + c*d*x),x]
Output:
(2*a*c*x + 2*b*ArcTanh[c*x]*(c*x + Log[1 + E^(-2*ArcTanh[c*x])]) - 2*a*Log [1 + c*x] + b*Log[1 - c^2*x^2] - b*PolyLog[2, -E^(-2*ArcTanh[c*x])])/(2*c^ 2*d)
Time = 0.51 (sec) , antiderivative size = 91, normalized size of antiderivative = 0.97, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {6492, 27, 2009, 6470, 2849, 2752}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {x (a+b \text {arctanh}(c x))}{c d x+d} \, dx\) |
\(\Big \downarrow \) 6492 |
\(\displaystyle \frac {\int (a+b \text {arctanh}(c x))dx}{c d}-\frac {\int \frac {a+b \text {arctanh}(c x)}{d (c x+1)}dx}{c}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {\int (a+b \text {arctanh}(c x))dx}{c d}-\frac {\int \frac {a+b \text {arctanh}(c x)}{c x+1}dx}{c d}\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {a x+b x \text {arctanh}(c x)+\frac {b \log \left (1-c^2 x^2\right )}{2 c}}{c d}-\frac {\int \frac {a+b \text {arctanh}(c x)}{c x+1}dx}{c d}\) |
\(\Big \downarrow \) 6470 |
\(\displaystyle \frac {a x+b x \text {arctanh}(c x)+\frac {b \log \left (1-c^2 x^2\right )}{2 c}}{c d}-\frac {b \int \frac {\log \left (\frac {2}{c x+1}\right )}{1-c^2 x^2}dx-\frac {\log \left (\frac {2}{c x+1}\right ) (a+b \text {arctanh}(c x))}{c}}{c d}\) |
\(\Big \downarrow \) 2849 |
\(\displaystyle \frac {a x+b x \text {arctanh}(c x)+\frac {b \log \left (1-c^2 x^2\right )}{2 c}}{c d}-\frac {\frac {b \int \frac {\log \left (\frac {2}{c x+1}\right )}{1-\frac {2}{c x+1}}d\frac {1}{c x+1}}{c}-\frac {\log \left (\frac {2}{c x+1}\right ) (a+b \text {arctanh}(c x))}{c}}{c d}\) |
\(\Big \downarrow \) 2752 |
\(\displaystyle \frac {a x+b x \text {arctanh}(c x)+\frac {b \log \left (1-c^2 x^2\right )}{2 c}}{c d}-\frac {\frac {b \operatorname {PolyLog}\left (2,1-\frac {2}{c x+1}\right )}{2 c}-\frac {\log \left (\frac {2}{c x+1}\right ) (a+b \text {arctanh}(c x))}{c}}{c d}\) |
Input:
Int[(x*(a + b*ArcTanh[c*x]))/(d + c*d*x),x]
Output:
(a*x + b*x*ArcTanh[c*x] + (b*Log[1 - c^2*x^2])/(2*c))/(c*d) - (-(((a + b*A rcTanh[c*x])*Log[2/(1 + c*x)])/c) + (b*PolyLog[2, 1 - 2/(1 + c*x)])/(2*c)) /(c*d)
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[Log[(c_.)*(x_)]/((d_) + (e_.)*(x_)), x_Symbol] :> Simp[(-e^(-1))*PolyLo g[2, 1 - c*x], x] /; FreeQ[{c, d, e}, x] && EqQ[e + c*d, 0]
Int[Log[(c_.)/((d_) + (e_.)*(x_))]/((f_) + (g_.)*(x_)^2), x_Symbol] :> Simp [-e/g Subst[Int[Log[2*d*x]/(1 - 2*d*x), x], x, 1/(d + e*x)], x] /; FreeQ[ {c, d, e, f, g}, x] && EqQ[c, 2*d] && EqQ[e^2*f + d^2*g, 0]
Int[((a_.) + ArcTanh[(c_.)*(x_)]*(b_.))^(p_.)/((d_) + (e_.)*(x_)), x_Symbol ] :> Simp[(-(a + b*ArcTanh[c*x])^p)*(Log[2/(1 + e*(x/d))]/e), x] + Simp[b*c *(p/e) Int[(a + b*ArcTanh[c*x])^(p - 1)*(Log[2/(1 + e*(x/d))]/(1 - c^2*x^ 2)), x], x] /; FreeQ[{a, b, c, d, e}, x] && IGtQ[p, 0] && EqQ[c^2*d^2 - e^2 , 0]
Int[(((a_.) + ArcTanh[(c_.)*(x_)]*(b_.))^(p_.)*((f_.)*(x_))^(m_.))/((d_) + (e_.)*(x_)), x_Symbol] :> Simp[f/e Int[(f*x)^(m - 1)*(a + b*ArcTanh[c*x]) ^p, x], x] - Simp[d*(f/e) Int[(f*x)^(m - 1)*((a + b*ArcTanh[c*x])^p/(d + e*x)), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && IGtQ[p, 0] && EqQ[c^2*d^2 - e^2, 0] && GtQ[m, 0]
Time = 0.19 (sec) , antiderivative size = 106, normalized size of antiderivative = 1.13
method | result | size |
derivativedivides | \(\frac {\frac {a \left (c x -\ln \left (c x +1\right )\right )}{d}+\frac {b \left (-\operatorname {arctanh}\left (c x \right ) \ln \left (c x +1\right )+\operatorname {arctanh}\left (c x \right ) c x +\frac {\ln \left (c x +1\right )^{2}}{4}-\frac {\left (\ln \left (c x +1\right )-\ln \left (\frac {c x}{2}+\frac {1}{2}\right )\right ) \ln \left (-\frac {c x}{2}+\frac {1}{2}\right )}{2}+\frac {\operatorname {dilog}\left (\frac {c x}{2}+\frac {1}{2}\right )}{2}+\frac {\ln \left (\left (c x -1\right ) \left (c x +1\right )\right )}{2}\right )}{d}}{c^{2}}\) | \(106\) |
default | \(\frac {\frac {a \left (c x -\ln \left (c x +1\right )\right )}{d}+\frac {b \left (-\operatorname {arctanh}\left (c x \right ) \ln \left (c x +1\right )+\operatorname {arctanh}\left (c x \right ) c x +\frac {\ln \left (c x +1\right )^{2}}{4}-\frac {\left (\ln \left (c x +1\right )-\ln \left (\frac {c x}{2}+\frac {1}{2}\right )\right ) \ln \left (-\frac {c x}{2}+\frac {1}{2}\right )}{2}+\frac {\operatorname {dilog}\left (\frac {c x}{2}+\frac {1}{2}\right )}{2}+\frac {\ln \left (\left (c x -1\right ) \left (c x +1\right )\right )}{2}\right )}{d}}{c^{2}}\) | \(106\) |
parts | \(\frac {a \left (\frac {x}{c}-\frac {\ln \left (c x +1\right )}{c^{2}}\right )}{d}+\frac {b \left (-\operatorname {arctanh}\left (c x \right ) \ln \left (c x +1\right )+\operatorname {arctanh}\left (c x \right ) c x +\frac {\ln \left (c x +1\right )^{2}}{4}-\frac {\left (\ln \left (c x +1\right )-\ln \left (\frac {c x}{2}+\frac {1}{2}\right )\right ) \ln \left (-\frac {c x}{2}+\frac {1}{2}\right )}{2}+\frac {\operatorname {dilog}\left (\frac {c x}{2}+\frac {1}{2}\right )}{2}+\frac {\ln \left (\left (c x -1\right ) \left (c x +1\right )\right )}{2}\right )}{d \,c^{2}}\) | \(110\) |
risch | \(-\frac {b \ln \left (c x +1\right )^{2}}{4 c^{2} d}+\frac {b x \ln \left (c x +1\right )}{2 c d}+\frac {b \ln \left (c x +1\right )}{2 c^{2} d}-\frac {\ln \left (-c x +1\right ) b x}{2 d c}-\frac {\ln \left (-\frac {c x}{2}+\frac {1}{2}\right ) \ln \left (\frac {c x}{2}+\frac {1}{2}\right ) b}{2 d \,c^{2}}+\frac {\ln \left (\frac {c x}{2}+\frac {1}{2}\right ) \ln \left (-c x +1\right ) b}{2 d \,c^{2}}+\frac {a x}{c d}-\frac {\ln \left (-c x -1\right ) a}{d \,c^{2}}-\frac {\operatorname {dilog}\left (-\frac {c x}{2}+\frac {1}{2}\right ) b}{2 d \,c^{2}}+\frac {b \ln \left (-c x +1\right )}{2 d \,c^{2}}-\frac {a}{d \,c^{2}}-\frac {b}{2 c^{2} d}\) | \(188\) |
Input:
int(x*(a+b*arctanh(c*x))/(c*d*x+d),x,method=_RETURNVERBOSE)
Output:
1/c^2*(a/d*(c*x-ln(c*x+1))+b/d*(-arctanh(c*x)*ln(c*x+1)+arctanh(c*x)*c*x+1 /4*ln(c*x+1)^2-1/2*(ln(c*x+1)-ln(1/2*c*x+1/2))*ln(-1/2*c*x+1/2)+1/2*dilog( 1/2*c*x+1/2)+1/2*ln((c*x-1)*(c*x+1))))
\[ \int \frac {x (a+b \text {arctanh}(c x))}{d+c d x} \, dx=\int { \frac {{\left (b \operatorname {artanh}\left (c x\right ) + a\right )} x}{c d x + d} \,d x } \] Input:
integrate(x*(a+b*arctanh(c*x))/(c*d*x+d),x, algorithm="fricas")
Output:
integral((b*x*arctanh(c*x) + a*x)/(c*d*x + d), x)
\[ \int \frac {x (a+b \text {arctanh}(c x))}{d+c d x} \, dx=\frac {\int \frac {a x}{c x + 1}\, dx + \int \frac {b x \operatorname {atanh}{\left (c x \right )}}{c x + 1}\, dx}{d} \] Input:
integrate(x*(a+b*atanh(c*x))/(c*d*x+d),x)
Output:
(Integral(a*x/(c*x + 1), x) + Integral(b*x*atanh(c*x)/(c*x + 1), x))/d
\[ \int \frac {x (a+b \text {arctanh}(c x))}{d+c d x} \, dx=\int { \frac {{\left (b \operatorname {artanh}\left (c x\right ) + a\right )} x}{c d x + d} \,d x } \] Input:
integrate(x*(a+b*arctanh(c*x))/(c*d*x+d),x, algorithm="maxima")
Output:
1/4*(c^2*(2*x/(c^3*d) - log(c*x + 1)/(c^4*d) + log(c*x - 1)/(c^4*d)) + 2*c ^2*integrate(x^2*log(c*x + 1)/(c^3*d*x^2 - c*d), x) - 4*c*integrate(x*log( c*x + 1)/(c^3*d*x^2 - c*d), x) - 2*(c*x - log(c*x + 1))*log(-c*x + 1)/(c^2 *d) + log(c^3*d*x^2 - c*d)/(c^2*d) - 2*integrate(log(c*x + 1)/(c^3*d*x^2 - c*d), x))*b + a*(x/(c*d) - log(c*x + 1)/(c^2*d))
\[ \int \frac {x (a+b \text {arctanh}(c x))}{d+c d x} \, dx=\int { \frac {{\left (b \operatorname {artanh}\left (c x\right ) + a\right )} x}{c d x + d} \,d x } \] Input:
integrate(x*(a+b*arctanh(c*x))/(c*d*x+d),x, algorithm="giac")
Output:
integrate((b*arctanh(c*x) + a)*x/(c*d*x + d), x)
Timed out. \[ \int \frac {x (a+b \text {arctanh}(c x))}{d+c d x} \, dx=\int \frac {x\,\left (a+b\,\mathrm {atanh}\left (c\,x\right )\right )}{d+c\,d\,x} \,d x \] Input:
int((x*(a + b*atanh(c*x)))/(d + c*d*x),x)
Output:
int((x*(a + b*atanh(c*x)))/(d + c*d*x), x)
\[ \int \frac {x (a+b \text {arctanh}(c x))}{d+c d x} \, dx=\frac {\left (\int \frac {\mathit {atanh} \left (c x \right ) x}{c x +1}d x \right ) b \,c^{2}-\mathrm {log}\left (c x +1\right ) a +a c x}{c^{2} d} \] Input:
int(x*(a+b*atanh(c*x))/(c*d*x+d),x)
Output:
(int((atanh(c*x)*x)/(c*x + 1),x)*b*c**2 - log(c*x + 1)*a + a*c*x)/(c**2*d)