\(\int x^3 (a+b \text {arctanh}(c x)) (d+e \log (1-c^2 x^2)) \, dx\) [522]

Optimal result
Mathematica [A] (verified)
Rubi [A] (verified)
Maple [A] (verified)
Fricas [A] (verification not implemented)
Sympy [A] (verification not implemented)
Maxima [C] (verification not implemented)
Giac [F(-2)]
Mupad [B] (verification not implemented)
Reduce [B] (verification not implemented)

Optimal result

Integrand size = 27, antiderivative size = 225 \[ \int x^3 (a+b \text {arctanh}(c x)) \left (d+e \log \left (1-c^2 x^2\right )\right ) \, dx=\frac {b (2 d-3 e) x}{8 c^3}-\frac {2 b e x}{3 c^3}+\frac {b (2 d-e) x^3}{24 c}-\frac {b e x^3}{18 c}-\frac {b (2 d-3 e) \text {arctanh}(c x)}{8 c^4}+\frac {2 b e \text {arctanh}(c x)}{3 c^4}-\frac {e x^2 (a+b \text {arctanh}(c x))}{4 c^2}-\frac {1}{8} e x^4 (a+b \text {arctanh}(c x))+\frac {b e x \log \left (1-c^2 x^2\right )}{4 c^3}+\frac {b e x^3 \log \left (1-c^2 x^2\right )}{12 c}-\frac {e (a+b \text {arctanh}(c x)) \log \left (1-c^2 x^2\right )}{4 c^4}+\frac {1}{4} x^4 (a+b \text {arctanh}(c x)) \left (d+e \log \left (1-c^2 x^2\right )\right ) \] Output:

1/8*b*(2*d-3*e)*x/c^3-2/3*b*e*x/c^3+1/24*b*(2*d-e)*x^3/c-1/18*b*e*x^3/c-1/ 
8*b*(2*d-3*e)*arctanh(c*x)/c^4+2/3*b*e*arctanh(c*x)/c^4-1/4*e*x^2*(a+b*arc 
tanh(c*x))/c^2-1/8*e*x^4*(a+b*arctanh(c*x))+1/4*b*e*x*ln(-c^2*x^2+1)/c^3+1 
/12*b*e*x^3*ln(-c^2*x^2+1)/c-1/4*e*(a+b*arctanh(c*x))*ln(-c^2*x^2+1)/c^4+1 
/4*x^4*(a+b*arctanh(c*x))*(d+e*ln(-c^2*x^2+1))
 

Mathematica [A] (verified)

Time = 0.08 (sec) , antiderivative size = 192, normalized size of antiderivative = 0.85 \[ \int x^3 (a+b \text {arctanh}(c x)) \left (d+e \log \left (1-c^2 x^2\right )\right ) \, dx=\frac {6 b c (6 d-25 e) x-36 a c^2 e x^2+2 b c^3 (6 d-7 e) x^3+18 a c^4 (2 d-e) x^4-18 b c^2 x^2 \left (-2 c^2 d x^2+e \left (2+c^2 x^2\right )\right ) \text {arctanh}(c x)+3 (6 b d-12 a e-25 b e) \log (1-c x)-3 (6 b d+12 a e-25 b e) \log (1+c x)+12 e \left (3 a c^4 x^4+b c x \left (3+c^2 x^2\right )+3 b \left (-1+c^4 x^4\right ) \text {arctanh}(c x)\right ) \log \left (1-c^2 x^2\right )}{144 c^4} \] Input:

Integrate[x^3*(a + b*ArcTanh[c*x])*(d + e*Log[1 - c^2*x^2]),x]
 

Output:

(6*b*c*(6*d - 25*e)*x - 36*a*c^2*e*x^2 + 2*b*c^3*(6*d - 7*e)*x^3 + 18*a*c^ 
4*(2*d - e)*x^4 - 18*b*c^2*x^2*(-2*c^2*d*x^2 + e*(2 + c^2*x^2))*ArcTanh[c* 
x] + 3*(6*b*d - 12*a*e - 25*b*e)*Log[1 - c*x] - 3*(6*b*d + 12*a*e - 25*b*e 
)*Log[1 + c*x] + 12*e*(3*a*c^4*x^4 + b*c*x*(3 + c^2*x^2) + 3*b*(-1 + c^4*x 
^4)*ArcTanh[c*x])*Log[1 - c^2*x^2])/(144*c^4)
 

Rubi [A] (verified)

Time = 0.57 (sec) , antiderivative size = 222, normalized size of antiderivative = 0.99, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.074, Rules used = {6645, 2009}

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 x^3 (a+b \text {arctanh}(c x)) \left (e \log \left (1-c^2 x^2\right )+d\right ) \, dx\)

\(\Big \downarrow \) 6645

\(\displaystyle -b c \int \left (-\frac {\left (2 e-c^2 (2 d-e) x^2\right ) x^2}{8 c^2 \left (1-c^2 x^2\right )}-\frac {e \left (c^2 x^2+1\right ) \log \left (1-c^2 x^2\right )}{4 c^4}\right )dx+\frac {1}{4} x^4 (a+b \text {arctanh}(c x)) \left (e \log \left (1-c^2 x^2\right )+d\right )-\frac {e x^2 (a+b \text {arctanh}(c x))}{4 c^2}-\frac {e \log \left (1-c^2 x^2\right ) (a+b \text {arctanh}(c x))}{4 c^4}-\frac {1}{8} e x^4 (a+b \text {arctanh}(c x))\)

\(\Big \downarrow \) 2009

\(\displaystyle \frac {1}{4} x^4 (a+b \text {arctanh}(c x)) \left (e \log \left (1-c^2 x^2\right )+d\right )-\frac {e x^2 (a+b \text {arctanh}(c x))}{4 c^2}-\frac {e \log \left (1-c^2 x^2\right ) (a+b \text {arctanh}(c x))}{4 c^4}-\frac {1}{8} e x^4 (a+b \text {arctanh}(c x))-b c \left (\frac {(2 d-3 e) \text {arctanh}(c x)}{8 c^5}-\frac {2 e \text {arctanh}(c x)}{3 c^5}-\frac {x (2 d-3 e)}{8 c^4}+\frac {2 e x}{3 c^4}-\frac {x^3 (2 d-e)}{24 c^2}+\frac {e x^3}{18 c^2}-\frac {e x^3 \log \left (1-c^2 x^2\right )}{12 c^2}-\frac {e x \log \left (1-c^2 x^2\right )}{4 c^4}\right )\)

Input:

Int[x^3*(a + b*ArcTanh[c*x])*(d + e*Log[1 - c^2*x^2]),x]
 

Output:

-1/4*(e*x^2*(a + b*ArcTanh[c*x]))/c^2 - (e*x^4*(a + b*ArcTanh[c*x]))/8 - ( 
e*(a + b*ArcTanh[c*x])*Log[1 - c^2*x^2])/(4*c^4) + (x^4*(a + b*ArcTanh[c*x 
])*(d + e*Log[1 - c^2*x^2]))/4 - b*c*(-1/8*((2*d - 3*e)*x)/c^4 + (2*e*x)/( 
3*c^4) - ((2*d - e)*x^3)/(24*c^2) + (e*x^3)/(18*c^2) + ((2*d - 3*e)*ArcTan 
h[c*x])/(8*c^5) - (2*e*ArcTanh[c*x])/(3*c^5) - (e*x*Log[1 - c^2*x^2])/(4*c 
^4) - (e*x^3*Log[1 - c^2*x^2])/(12*c^2))
 

Defintions of rubi rules used

rule 2009
Int[u_, x_Symbol] :> Simp[IntSum[u, x], x] /; SumQ[u]
 

rule 6645
Int[((a_.) + ArcTanh[(c_.)*(x_)]*(b_.))*((d_.) + Log[(f_.) + (g_.)*(x_)^2]* 
(e_.))*(x_)^(m_.), x_Symbol] :> With[{u = IntHide[x^m*(d + e*Log[f + g*x^2] 
), x]}, Simp[(a + b*ArcTanh[c*x])   u, x] - Simp[b*c   Int[ExpandIntegrand[ 
u/(1 - c^2*x^2), x], x], x]] /; FreeQ[{a, b, c, d, e, f, g}, x] && IGtQ[(m 
+ 1)/2, 0]
 
Maple [A] (verified)

Time = 3.66 (sec) , antiderivative size = 249, normalized size of antiderivative = 1.11

method result size
parallelrisch \(\frac {75 \,\operatorname {arctanh}\left (c x \right ) b e -18 a \,c^{2} e \,x^{2}-75 b c e x +18 b c d x -18 \,\operatorname {arctanh}\left (c x \right ) b \,c^{2} e \,x^{2}+18 a \,c^{4} d \,x^{4}+6 b \,c^{3} d \,x^{3}-18 \,\operatorname {arctanh}\left (c x \right ) b d +18 d b \,\operatorname {arctanh}\left (c x \right ) x^{4} c^{4}-18 a e -18 \,\operatorname {arctanh}\left (c x \right ) \ln \left (-c^{2} x^{2}+1\right ) b e -18 \ln \left (-c^{2} x^{2}+1\right ) a e +18 \ln \left (-c^{2} x^{2}+1\right ) b c e x -9 a \,c^{4} e \,x^{4}-7 b \,c^{3} e \,x^{3}+18 x^{4} \operatorname {arctanh}\left (c x \right ) \ln \left (-c^{2} x^{2}+1\right ) b e \,c^{4}+6 b e \ln \left (-c^{2} x^{2}+1\right ) x^{3} c^{3}+18 x^{4} \ln \left (-c^{2} x^{2}+1\right ) a e \,c^{4}-9 x^{4} \operatorname {arctanh}\left (c x \right ) b \,c^{4} e}{72 c^{4}}\) \(249\)
orering \(\frac {\left (9 c^{8} x^{8}+76 c^{6} x^{6}-497 c^{4} x^{4}+1570 c^{2} x^{2}-1350\right ) \left (a +b \,\operatorname {arctanh}\left (c x \right )\right ) \left (d +e \ln \left (-c^{2} x^{2}+1\right )\right )}{12 c^{6} x^{2} \left (c^{2} x^{2}+3\right )}-\frac {\left (19 c^{8} x^{8}+274 c^{6} x^{6}-2162 c^{4} x^{4}+6210 c^{2} x^{2}-4725\right ) \left (3 x^{2} \left (a +b \,\operatorname {arctanh}\left (c x \right )\right ) \left (d +e \ln \left (-c^{2} x^{2}+1\right )\right )+\frac {x^{3} b c \left (d +e \ln \left (-c^{2} x^{2}+1\right )\right )}{-c^{2} x^{2}+1}-\frac {2 x^{4} \left (a +b \,\operatorname {arctanh}\left (c x \right )\right ) c^{2} e}{-c^{2} x^{2}+1}\right )}{72 c^{6} x^{4} \left (c^{2} x^{2}+3\right )}+\frac {\left (4 c^{6} x^{6}+89 c^{4} x^{4}-642 c^{2} x^{2}+1125\right ) \left (c x -1\right ) \left (c x +1\right ) \left (6 x \left (a +b \,\operatorname {arctanh}\left (c x \right )\right ) \left (d +e \ln \left (-c^{2} x^{2}+1\right )\right )+\frac {6 x^{2} b c \left (d +e \ln \left (-c^{2} x^{2}+1\right )\right )}{-c^{2} x^{2}+1}-\frac {14 x^{3} \left (a +b \,\operatorname {arctanh}\left (c x \right )\right ) c^{2} e}{-c^{2} x^{2}+1}+\frac {2 x^{4} b \,c^{3} \left (d +e \ln \left (-c^{2} x^{2}+1\right )\right )}{\left (-c^{2} x^{2}+1\right )^{2}}-\frac {4 x^{4} b \,c^{3} e}{\left (-c^{2} x^{2}+1\right )^{2}}-\frac {4 x^{5} \left (a +b \,\operatorname {arctanh}\left (c x \right )\right ) c^{4} e}{\left (-c^{2} x^{2}+1\right )^{2}}\right )}{72 c^{6} x^{3} \left (c^{2} x^{2}+3\right )}-\frac {\left (c^{4} x^{4}+32 c^{2} x^{2}-225\right ) \left (c x +1\right )^{2} \left (c x -1\right )^{2} \left (6 \left (a +b \,\operatorname {arctanh}\left (c x \right )\right ) \left (d +e \ln \left (-c^{2} x^{2}+1\right )\right )+\frac {18 x b c \left (d +e \ln \left (-c^{2} x^{2}+1\right )\right )}{-c^{2} x^{2}+1}-\frac {54 x^{2} \left (a +b \,\operatorname {arctanh}\left (c x \right )\right ) c^{2} e}{-c^{2} x^{2}+1}+\frac {20 x^{3} b \,c^{3} \left (d +e \ln \left (-c^{2} x^{2}+1\right )\right )}{\left (-c^{2} x^{2}+1\right )^{2}}-\frac {42 x^{3} b \,c^{3} e}{\left (-c^{2} x^{2}+1\right )^{2}}-\frac {48 x^{4} \left (a +b \,\operatorname {arctanh}\left (c x \right )\right ) c^{4} e}{\left (-c^{2} x^{2}+1\right )^{2}}+\frac {8 x^{5} b \,c^{5} \left (d +e \ln \left (-c^{2} x^{2}+1\right )\right )}{\left (-c^{2} x^{2}+1\right )^{3}}-\frac {24 x^{5} b \,c^{5} e}{\left (-c^{2} x^{2}+1\right )^{3}}-\frac {16 x^{6} \left (a +b \,\operatorname {arctanh}\left (c x \right )\right ) c^{6} e}{\left (-c^{2} x^{2}+1\right )^{3}}\right )}{144 x^{2} c^{6} \left (c^{2} x^{2}+3\right )}\) \(765\)
default \(\text {Expression too large to display}\) \(3609\)
parts \(\text {Expression too large to display}\) \(3609\)
risch \(\text {Expression too large to display}\) \(8859\)

Input:

int(x^3*(a+b*arctanh(c*x))*(d+e*ln(-c^2*x^2+1)),x,method=_RETURNVERBOSE)
 

Output:

1/72*(75*arctanh(c*x)*b*e-18*a*c^2*e*x^2-75*b*c*e*x+18*b*c*d*x-18*arctanh( 
c*x)*b*c^2*e*x^2+18*a*c^4*d*x^4+6*b*c^3*d*x^3-18*arctanh(c*x)*b*d+18*d*b*a 
rctanh(c*x)*x^4*c^4-18*a*e-18*arctanh(c*x)*ln(-c^2*x^2+1)*b*e-18*ln(-c^2*x 
^2+1)*a*e+18*ln(-c^2*x^2+1)*b*c*e*x-9*a*c^4*e*x^4-7*b*c^3*e*x^3+18*x^4*arc 
tanh(c*x)*ln(-c^2*x^2+1)*b*e*c^4+6*b*e*ln(-c^2*x^2+1)*x^3*c^3+18*x^4*ln(-c 
^2*x^2+1)*a*e*c^4-9*x^4*arctanh(c*x)*b*c^4*e)/c^4
 

Fricas [A] (verification not implemented)

Time = 0.10 (sec) , antiderivative size = 196, normalized size of antiderivative = 0.87 \[ \int x^3 (a+b \text {arctanh}(c x)) \left (d+e \log \left (1-c^2 x^2\right )\right ) \, dx=-\frac {36 \, a c^{2} e x^{2} - 18 \, {\left (2 \, a c^{4} d - a c^{4} e\right )} x^{4} - 2 \, {\left (6 \, b c^{3} d - 7 \, b c^{3} e\right )} x^{3} - 6 \, {\left (6 \, b c d - 25 \, b c e\right )} x - 12 \, {\left (3 \, a c^{4} e x^{4} + b c^{3} e x^{3} + 3 \, b c e x - 3 \, a e\right )} \log \left (-c^{2} x^{2} + 1\right ) + 3 \, {\left (6 \, b c^{2} e x^{2} - 3 \, {\left (2 \, b c^{4} d - b c^{4} e\right )} x^{4} + 6 \, b d - 25 \, b e - 6 \, {\left (b c^{4} e x^{4} - b e\right )} \log \left (-c^{2} x^{2} + 1\right )\right )} \log \left (-\frac {c x + 1}{c x - 1}\right )}{144 \, c^{4}} \] Input:

integrate(x^3*(a+b*arctanh(c*x))*(d+e*log(-c^2*x^2+1)),x, algorithm="frica 
s")
 

Output:

-1/144*(36*a*c^2*e*x^2 - 18*(2*a*c^4*d - a*c^4*e)*x^4 - 2*(6*b*c^3*d - 7*b 
*c^3*e)*x^3 - 6*(6*b*c*d - 25*b*c*e)*x - 12*(3*a*c^4*e*x^4 + b*c^3*e*x^3 + 
 3*b*c*e*x - 3*a*e)*log(-c^2*x^2 + 1) + 3*(6*b*c^2*e*x^2 - 3*(2*b*c^4*d - 
b*c^4*e)*x^4 + 6*b*d - 25*b*e - 6*(b*c^4*e*x^4 - b*e)*log(-c^2*x^2 + 1))*l 
og(-(c*x + 1)/(c*x - 1)))/c^4
 

Sympy [A] (verification not implemented)

Time = 1.30 (sec) , antiderivative size = 279, normalized size of antiderivative = 1.24 \[ \int x^3 (a+b \text {arctanh}(c x)) \left (d+e \log \left (1-c^2 x^2\right )\right ) \, dx=\begin {cases} \frac {a d x^{4}}{4} + \frac {a e x^{4} \log {\left (- c^{2} x^{2} + 1 \right )}}{4} - \frac {a e x^{4}}{8} - \frac {a e x^{2}}{4 c^{2}} - \frac {a e \log {\left (- c^{2} x^{2} + 1 \right )}}{4 c^{4}} + \frac {b d x^{4} \operatorname {atanh}{\left (c x \right )}}{4} + \frac {b e x^{4} \log {\left (- c^{2} x^{2} + 1 \right )} \operatorname {atanh}{\left (c x \right )}}{4} - \frac {b e x^{4} \operatorname {atanh}{\left (c x \right )}}{8} + \frac {b d x^{3}}{12 c} + \frac {b e x^{3} \log {\left (- c^{2} x^{2} + 1 \right )}}{12 c} - \frac {7 b e x^{3}}{72 c} - \frac {b e x^{2} \operatorname {atanh}{\left (c x \right )}}{4 c^{2}} + \frac {b d x}{4 c^{3}} + \frac {b e x \log {\left (- c^{2} x^{2} + 1 \right )}}{4 c^{3}} - \frac {25 b e x}{24 c^{3}} - \frac {b d \operatorname {atanh}{\left (c x \right )}}{4 c^{4}} - \frac {b e \log {\left (- c^{2} x^{2} + 1 \right )} \operatorname {atanh}{\left (c x \right )}}{4 c^{4}} + \frac {25 b e \operatorname {atanh}{\left (c x \right )}}{24 c^{4}} & \text {for}\: c \neq 0 \\\frac {a d x^{4}}{4} & \text {otherwise} \end {cases} \] Input:

integrate(x**3*(a+b*atanh(c*x))*(d+e*ln(-c**2*x**2+1)),x)
                                                                                    
                                                                                    
 

Output:

Piecewise((a*d*x**4/4 + a*e*x**4*log(-c**2*x**2 + 1)/4 - a*e*x**4/8 - a*e* 
x**2/(4*c**2) - a*e*log(-c**2*x**2 + 1)/(4*c**4) + b*d*x**4*atanh(c*x)/4 + 
 b*e*x**4*log(-c**2*x**2 + 1)*atanh(c*x)/4 - b*e*x**4*atanh(c*x)/8 + b*d*x 
**3/(12*c) + b*e*x**3*log(-c**2*x**2 + 1)/(12*c) - 7*b*e*x**3/(72*c) - b*e 
*x**2*atanh(c*x)/(4*c**2) + b*d*x/(4*c**3) + b*e*x*log(-c**2*x**2 + 1)/(4* 
c**3) - 25*b*e*x/(24*c**3) - b*d*atanh(c*x)/(4*c**4) - b*e*log(-c**2*x**2 
+ 1)*atanh(c*x)/(4*c**4) + 25*b*e*atanh(c*x)/(24*c**4), Ne(c, 0)), (a*d*x* 
*4/4, True))
 

Maxima [C] (verification not implemented)

Result contains complex when optimal does not.

Time = 0.03 (sec) , antiderivative size = 271, normalized size of antiderivative = 1.20 \[ \int x^3 (a+b \text {arctanh}(c x)) \left (d+e \log \left (1-c^2 x^2\right )\right ) \, dx=\frac {1}{4} \, a d x^{4} + \frac {1}{8} \, {\left (2 \, x^{4} \log \left (-c^{2} x^{2} + 1\right ) - c^{2} {\left (\frac {c^{2} x^{4} + 2 \, x^{2}}{c^{4}} + \frac {2 \, \log \left (c^{2} x^{2} - 1\right )}{c^{6}}\right )}\right )} b e \operatorname {artanh}\left (c x\right ) + \frac {1}{24} \, {\left (6 \, x^{4} \operatorname {artanh}\left (c x\right ) + c {\left (\frac {2 \, {\left (c^{2} x^{3} + 3 \, x\right )}}{c^{4}} - \frac {3 \, \log \left (c x + 1\right )}{c^{5}} + \frac {3 \, \log \left (c x - 1\right )}{c^{5}}\right )}\right )} b d + \frac {1}{8} \, {\left (2 \, x^{4} \log \left (-c^{2} x^{2} + 1\right ) - c^{2} {\left (\frac {c^{2} x^{4} + 2 \, x^{2}}{c^{4}} + \frac {2 \, \log \left (c^{2} x^{2} - 1\right )}{c^{6}}\right )}\right )} a e - \frac {{\left (2 \, {\left (-6 i \, \pi c^{3} + 7 \, c^{3}\right )} x^{3} + 6 \, {\left (-6 i \, \pi c + 25 \, c\right )} x + 3 \, {\left (6 i \, \pi - 4 \, c^{3} x^{3} - 12 \, c x - 25\right )} \log \left (c x + 1\right ) + 3 \, {\left (-6 i \, \pi - 4 \, c^{3} x^{3} - 12 \, c x + 25\right )} \log \left (c x - 1\right )\right )} b e}{144 \, c^{4}} \] Input:

integrate(x^3*(a+b*arctanh(c*x))*(d+e*log(-c^2*x^2+1)),x, algorithm="maxim 
a")
 

Output:

1/4*a*d*x^4 + 1/8*(2*x^4*log(-c^2*x^2 + 1) - c^2*((c^2*x^4 + 2*x^2)/c^4 + 
2*log(c^2*x^2 - 1)/c^6))*b*e*arctanh(c*x) + 1/24*(6*x^4*arctanh(c*x) + c*( 
2*(c^2*x^3 + 3*x)/c^4 - 3*log(c*x + 1)/c^5 + 3*log(c*x - 1)/c^5))*b*d + 1/ 
8*(2*x^4*log(-c^2*x^2 + 1) - c^2*((c^2*x^4 + 2*x^2)/c^4 + 2*log(c^2*x^2 - 
1)/c^6))*a*e - 1/144*(2*(-6*I*pi*c^3 + 7*c^3)*x^3 + 6*(-6*I*pi*c + 25*c)*x 
 + 3*(6*I*pi - 4*c^3*x^3 - 12*c*x - 25)*log(c*x + 1) + 3*(-6*I*pi - 4*c^3* 
x^3 - 12*c*x + 25)*log(c*x - 1))*b*e/c^4
 

Giac [F(-2)]

Exception generated. \[ \int x^3 (a+b \text {arctanh}(c x)) \left (d+e \log \left (1-c^2 x^2\right )\right ) \, dx=\text {Exception raised: TypeError} \] Input:

integrate(x^3*(a+b*arctanh(c*x))*(d+e*log(-c^2*x^2+1)),x, algorithm="giac" 
)
 

Output:

Exception raised: TypeError >> an error occurred running a Giac command:IN 
PUT:sage2:=int(sage0,sageVARx):;OUTPUT:sym2poly/r2sym(const gen & e,const 
index_m & i,const vecteur & l) Error: Bad Argument Value
 

Mupad [B] (verification not implemented)

Time = 4.25 (sec) , antiderivative size = 851, normalized size of antiderivative = 3.78 \[ \int x^3 (a+b \text {arctanh}(c x)) \left (d+e \log \left (1-c^2 x^2\right )\right ) \, dx =\text {Too large to display} \] Input:

int(x^3*(a + b*atanh(c*x))*(d + e*log(1 - c^2*x^2)),x)
 

Output:

log(1 - c*x)^2*((b*e)/(8*c^4) - (b*e*x^4)/8) - log(c*x + 1)^2*((b*e)/(8*c^ 
4) - (b*e*x^4)/8) + log(1 - c*x)*((x^4*(a*e - (b*d)/2 + (b*e)/4 + (b*e*(lo 
g(c*x + 1) + log(1 - c*x) - log(1 - c^2*x^2)))/2))/4 - (x^2*((16*a*e - 8*b 
*d + 8*b*e*(log(c*x + 1) + log(1 - c*x) - log(1 - c^2*x^2)))/c - (16*a*e - 
 8*b*d + 4*b*e + 8*b*e*(log(c*x + 1) + log(1 - c*x) - log(1 - c^2*x^2)))/c 
))/(32*c) + (b*e*x)/(4*c^3) + (b*e*x^3)/(12*c)) - x^2*((a*(e - 2*d + 2*e*( 
log(c*x + 1) + log(1 - c*x) - log(1 - c^2*x^2))))/(4*c^2) + (a*(d - e*(log 
(c*x + 1) + log(1 - c*x) - log(1 - c^2*x^2))))/(2*c^2)) - x*((b*(7*e - 6*d 
 + 6*e*(log(c*x + 1) + log(1 - c*x) - log(1 - c^2*x^2))))/(24*c^3) + (3*b* 
e)/(4*c^3)) - (a*x^4*(e - 2*d + 2*e*(log(c*x + 1) + log(1 - c*x) - log(1 - 
 c^2*x^2))))/8 - (log((x*(12*a*e - 6*b*d + 25*b*e + 6*b*e*(log(c*x + 1) + 
log(1 - c*x) - log(1 - c^2*x^2))))/(24*c^2) - (25*b*e - 6*b*d + 6*b*e*(log 
(c*x + 1) + log(1 - c*x) - log(1 - c^2*x^2)))/(24*c^3) - (a*e*x)/(2*c^2))* 
(12*a*e - 6*b*d + 25*b*e + 6*b*e*(log(c*x + 1) + log(1 - c*x) - log(1 - c^ 
2*x^2))))/(48*c^4) - (log((x*(12*a*e + 6*b*d - 25*b*e - 6*b*e*(log(c*x + 1 
) + log(1 - c*x) - log(1 - c^2*x^2))))/(24*c^2) - (25*b*e - 6*b*d + 6*b*e* 
(log(c*x + 1) + log(1 - c*x) - log(1 - c^2*x^2)))/(24*c^3) - (a*e*x)/(2*c^ 
2))*(12*a*e + 6*b*d - 25*b*e - 6*b*e*(log(c*x + 1) + log(1 - c*x) - log(1 
- c^2*x^2))))/(48*c^4) + c*log(c*x + 1)*((x^4*(4*a*e + 2*b*d - b*e - 2*b*e 
*(log(c*x + 1) + log(1 - c*x) - log(1 - c^2*x^2))))/(16*c) + (b*e*x)/(4...
 

Reduce [B] (verification not implemented)

Time = 0.16 (sec) , antiderivative size = 244, normalized size of antiderivative = 1.08 \[ \int x^3 (a+b \text {arctanh}(c x)) \left (d+e \log \left (1-c^2 x^2\right )\right ) \, dx=\frac {18 \mathit {atanh} \left (c x \right ) \mathrm {log}\left (-c^{2} x^{2}+1\right ) b \,c^{4} e \,x^{4}-18 \mathit {atanh} \left (c x \right ) \mathrm {log}\left (-c^{2} x^{2}+1\right ) b e +18 \mathit {atanh} \left (c x \right ) b \,c^{4} d \,x^{4}-9 \mathit {atanh} \left (c x \right ) b \,c^{4} e \,x^{4}-18 \mathit {atanh} \left (c x \right ) b \,c^{2} e \,x^{2}-18 \mathit {atanh} \left (c x \right ) b d +75 \mathit {atanh} \left (c x \right ) b e +18 \,\mathrm {log}\left (-c^{2} x^{2}+1\right ) a \,c^{4} e \,x^{4}-18 \,\mathrm {log}\left (-c^{2} x^{2}+1\right ) a e +6 \,\mathrm {log}\left (-c^{2} x^{2}+1\right ) b \,c^{3} e \,x^{3}+18 \,\mathrm {log}\left (-c^{2} x^{2}+1\right ) b c e x +18 a \,c^{4} d \,x^{4}-9 a \,c^{4} e \,x^{4}-18 a \,c^{2} e \,x^{2}+6 b \,c^{3} d \,x^{3}-7 b \,c^{3} e \,x^{3}+18 b c d x -75 b c e x}{72 c^{4}} \] Input:

int(x^3*(a+b*atanh(c*x))*(d+e*log(-c^2*x^2+1)),x)
 

Output:

(18*atanh(c*x)*log( - c**2*x**2 + 1)*b*c**4*e*x**4 - 18*atanh(c*x)*log( - 
c**2*x**2 + 1)*b*e + 18*atanh(c*x)*b*c**4*d*x**4 - 9*atanh(c*x)*b*c**4*e*x 
**4 - 18*atanh(c*x)*b*c**2*e*x**2 - 18*atanh(c*x)*b*d + 75*atanh(c*x)*b*e 
+ 18*log( - c**2*x**2 + 1)*a*c**4*e*x**4 - 18*log( - c**2*x**2 + 1)*a*e + 
6*log( - c**2*x**2 + 1)*b*c**3*e*x**3 + 18*log( - c**2*x**2 + 1)*b*c*e*x + 
 18*a*c**4*d*x**4 - 9*a*c**4*e*x**4 - 18*a*c**2*e*x**2 + 6*b*c**3*d*x**3 - 
 7*b*c**3*e*x**3 + 18*b*c*d*x - 75*b*c*e*x)/(72*c**4)