3.203 \(\int x^2 \coth ^{-1}(c+d \tanh (a+b x)) \, dx\)

Optimal. Leaf size=307 \[ -\frac{x \text{PolyLog}\left (3,-\frac{(-c-d+1) e^{2 a+2 b x}}{-c+d+1}\right )}{4 b^2}+\frac{x \text{PolyLog}\left (3,-\frac{(c+d+1) e^{2 a+2 b x}}{c-d+1}\right )}{4 b^2}+\frac{\text{PolyLog}\left (4,-\frac{(-c-d+1) e^{2 a+2 b x}}{-c+d+1}\right )}{8 b^3}-\frac{\text{PolyLog}\left (4,-\frac{(c+d+1) e^{2 a+2 b x}}{c-d+1}\right )}{8 b^3}+\frac{x^2 \text{PolyLog}\left (2,-\frac{(-c-d+1) e^{2 a+2 b x}}{-c+d+1}\right )}{4 b}-\frac{x^2 \text{PolyLog}\left (2,-\frac{(c+d+1) e^{2 a+2 b x}}{c-d+1}\right )}{4 b}+\frac{1}{6} x^3 \log \left (\frac{(-c-d+1) e^{2 a+2 b x}}{-c+d+1}+1\right )-\frac{1}{6} x^3 \log \left (\frac{(c+d+1) e^{2 a+2 b x}}{c-d+1}+1\right )+\frac{1}{3} x^3 \coth ^{-1}(d \tanh (a+b x)+c) \]

[Out]

(x^3*ArcCoth[c + d*Tanh[a + b*x]])/3 + (x^3*Log[1 + ((1 - c - d)*E^(2*a + 2*b*x))/(1 - c + d)])/6 - (x^3*Log[1
 + ((1 + c + d)*E^(2*a + 2*b*x))/(1 + c - d)])/6 + (x^2*PolyLog[2, -(((1 - c - d)*E^(2*a + 2*b*x))/(1 - c + d)
)])/(4*b) - (x^2*PolyLog[2, -(((1 + c + d)*E^(2*a + 2*b*x))/(1 + c - d))])/(4*b) - (x*PolyLog[3, -(((1 - c - d
)*E^(2*a + 2*b*x))/(1 - c + d))])/(4*b^2) + (x*PolyLog[3, -(((1 + c + d)*E^(2*a + 2*b*x))/(1 + c - d))])/(4*b^
2) + PolyLog[4, -(((1 - c - d)*E^(2*a + 2*b*x))/(1 - c + d))]/(8*b^3) - PolyLog[4, -(((1 + c + d)*E^(2*a + 2*b
*x))/(1 + c - d))]/(8*b^3)

________________________________________________________________________________________

Rubi [A]  time = 0.464891, antiderivative size = 307, normalized size of antiderivative = 1., number of steps used = 11, number of rules used = 6, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.4, Rules used = {6244, 2190, 2531, 6609, 2282, 6589} \[ -\frac{x \text{PolyLog}\left (3,-\frac{(-c-d+1) e^{2 a+2 b x}}{-c+d+1}\right )}{4 b^2}+\frac{x \text{PolyLog}\left (3,-\frac{(c+d+1) e^{2 a+2 b x}}{c-d+1}\right )}{4 b^2}+\frac{\text{PolyLog}\left (4,-\frac{(-c-d+1) e^{2 a+2 b x}}{-c+d+1}\right )}{8 b^3}-\frac{\text{PolyLog}\left (4,-\frac{(c+d+1) e^{2 a+2 b x}}{c-d+1}\right )}{8 b^3}+\frac{x^2 \text{PolyLog}\left (2,-\frac{(-c-d+1) e^{2 a+2 b x}}{-c+d+1}\right )}{4 b}-\frac{x^2 \text{PolyLog}\left (2,-\frac{(c+d+1) e^{2 a+2 b x}}{c-d+1}\right )}{4 b}+\frac{1}{6} x^3 \log \left (\frac{(-c-d+1) e^{2 a+2 b x}}{-c+d+1}+1\right )-\frac{1}{6} x^3 \log \left (\frac{(c+d+1) e^{2 a+2 b x}}{c-d+1}+1\right )+\frac{1}{3} x^3 \coth ^{-1}(d \tanh (a+b x)+c) \]

Antiderivative was successfully verified.

[In]

Int[x^2*ArcCoth[c + d*Tanh[a + b*x]],x]

[Out]

(x^3*ArcCoth[c + d*Tanh[a + b*x]])/3 + (x^3*Log[1 + ((1 - c - d)*E^(2*a + 2*b*x))/(1 - c + d)])/6 - (x^3*Log[1
 + ((1 + c + d)*E^(2*a + 2*b*x))/(1 + c - d)])/6 + (x^2*PolyLog[2, -(((1 - c - d)*E^(2*a + 2*b*x))/(1 - c + d)
)])/(4*b) - (x^2*PolyLog[2, -(((1 + c + d)*E^(2*a + 2*b*x))/(1 + c - d))])/(4*b) - (x*PolyLog[3, -(((1 - c - d
)*E^(2*a + 2*b*x))/(1 - c + d))])/(4*b^2) + (x*PolyLog[3, -(((1 + c + d)*E^(2*a + 2*b*x))/(1 + c - d))])/(4*b^
2) + PolyLog[4, -(((1 - c - d)*E^(2*a + 2*b*x))/(1 - c + d))]/(8*b^3) - PolyLog[4, -(((1 + c + d)*E^(2*a + 2*b
*x))/(1 + c - d))]/(8*b^3)

Rule 6244

Int[ArcCoth[(c_.) + (d_.)*Tanh[(a_.) + (b_.)*(x_)]]*((e_.) + (f_.)*(x_))^(m_.), x_Symbol] :> Simp[((e + f*x)^(
m + 1)*ArcCoth[c + d*Tanh[a + b*x]])/(f*(m + 1)), x] + (Dist[(b*(1 - c - d))/(f*(m + 1)), Int[((e + f*x)^(m +
1)*E^(2*a + 2*b*x))/(1 - c + d + (1 - c - d)*E^(2*a + 2*b*x)), x], x] - Dist[(b*(1 + c + d))/(f*(m + 1)), Int[
((e + f*x)^(m + 1)*E^(2*a + 2*b*x))/(1 + c - d + (1 + c + d)*E^(2*a + 2*b*x)), x], x]) /; FreeQ[{a, b, c, d, e
, f}, x] && IGtQ[m, 0] && NeQ[(c - d)^2, 1]

Rule 2190

Int[(((F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.)*((c_.) + (d_.)*(x_))^(m_.))/((a_) + (b_.)*((F_)^((g_.)*((e_.) +
 (f_.)*(x_))))^(n_.)), x_Symbol] :> Simp[((c + d*x)^m*Log[1 + (b*(F^(g*(e + f*x)))^n)/a])/(b*f*g*n*Log[F]), x]
 - Dist[(d*m)/(b*f*g*n*Log[F]), Int[(c + d*x)^(m - 1)*Log[1 + (b*(F^(g*(e + f*x)))^n)/a], x], x] /; FreeQ[{F,
a, b, c, d, e, f, g, n}, x] && IGtQ[m, 0]

Rule 2531

Int[Log[1 + (e_.)*((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.)]*((f_.) + (g_.)*(x_))^(m_.), x_Symbol] :> -Simp[((
f + g*x)^m*PolyLog[2, -(e*(F^(c*(a + b*x)))^n)])/(b*c*n*Log[F]), x] + Dist[(g*m)/(b*c*n*Log[F]), Int[(f + g*x)
^(m - 1)*PolyLog[2, -(e*(F^(c*(a + b*x)))^n)], x], x] /; FreeQ[{F, a, b, c, e, f, g, n}, x] && GtQ[m, 0]

Rule 6609

Int[((e_.) + (f_.)*(x_))^(m_.)*PolyLog[n_, (d_.)*((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(p_.)], x_Symbol] :> Simp
[((e + f*x)^m*PolyLog[n + 1, d*(F^(c*(a + b*x)))^p])/(b*c*p*Log[F]), x] - Dist[(f*m)/(b*c*p*Log[F]), Int[(e +
f*x)^(m - 1)*PolyLog[n + 1, d*(F^(c*(a + b*x)))^p], x], x] /; FreeQ[{F, a, b, c, d, e, f, n, p}, x] && GtQ[m,
0]

Rule 2282

Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Dist[v/D[v, x], Subst[Int[FunctionOfExponentialFu
nction[u, x]/x, x], x, v], x]] /; FunctionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; F
reeQ[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x))*(F_)[v_] /; FreeQ[{a, b, c}, x
] && InverseFunctionQ[F[x]]]

Rule 6589

Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_Symbol] :> Simp[PolyLog[n + 1, c*(a
+ b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d, e, n, p}, x] && EqQ[b*d, a*e]

Rubi steps

\begin{align*} \int x^2 \coth ^{-1}(c+d \tanh (a+b x)) \, dx &=\frac{1}{3} x^3 \coth ^{-1}(c+d \tanh (a+b x))+\frac{1}{3} (b (1-c-d)) \int \frac{e^{2 a+2 b x} x^3}{1-c+d+(1-c-d) e^{2 a+2 b x}} \, dx-\frac{1}{3} (b (1+c+d)) \int \frac{e^{2 a+2 b x} x^3}{1+c-d+(1+c+d) e^{2 a+2 b x}} \, dx\\ &=\frac{1}{3} x^3 \coth ^{-1}(c+d \tanh (a+b x))+\frac{1}{6} x^3 \log \left (1+\frac{(1-c-d) e^{2 a+2 b x}}{1-c+d}\right )-\frac{1}{6} x^3 \log \left (1+\frac{(1+c+d) e^{2 a+2 b x}}{1+c-d}\right )-\frac{1}{2} \int x^2 \log \left (1+\frac{(1-c-d) e^{2 a+2 b x}}{1-c+d}\right ) \, dx+\frac{1}{2} \int x^2 \log \left (1+\frac{(1+c+d) e^{2 a+2 b x}}{1+c-d}\right ) \, dx\\ &=\frac{1}{3} x^3 \coth ^{-1}(c+d \tanh (a+b x))+\frac{1}{6} x^3 \log \left (1+\frac{(1-c-d) e^{2 a+2 b x}}{1-c+d}\right )-\frac{1}{6} x^3 \log \left (1+\frac{(1+c+d) e^{2 a+2 b x}}{1+c-d}\right )+\frac{x^2 \text{Li}_2\left (-\frac{(1-c-d) e^{2 a+2 b x}}{1-c+d}\right )}{4 b}-\frac{x^2 \text{Li}_2\left (-\frac{(1+c+d) e^{2 a+2 b x}}{1+c-d}\right )}{4 b}-\frac{\int x \text{Li}_2\left (-\frac{(1-c-d) e^{2 a+2 b x}}{1-c+d}\right ) \, dx}{2 b}+\frac{\int x \text{Li}_2\left (-\frac{(1+c+d) e^{2 a+2 b x}}{1+c-d}\right ) \, dx}{2 b}\\ &=\frac{1}{3} x^3 \coth ^{-1}(c+d \tanh (a+b x))+\frac{1}{6} x^3 \log \left (1+\frac{(1-c-d) e^{2 a+2 b x}}{1-c+d}\right )-\frac{1}{6} x^3 \log \left (1+\frac{(1+c+d) e^{2 a+2 b x}}{1+c-d}\right )+\frac{x^2 \text{Li}_2\left (-\frac{(1-c-d) e^{2 a+2 b x}}{1-c+d}\right )}{4 b}-\frac{x^2 \text{Li}_2\left (-\frac{(1+c+d) e^{2 a+2 b x}}{1+c-d}\right )}{4 b}-\frac{x \text{Li}_3\left (-\frac{(1-c-d) e^{2 a+2 b x}}{1-c+d}\right )}{4 b^2}+\frac{x \text{Li}_3\left (-\frac{(1+c+d) e^{2 a+2 b x}}{1+c-d}\right )}{4 b^2}+\frac{\int \text{Li}_3\left (-\frac{(1-c-d) e^{2 a+2 b x}}{1-c+d}\right ) \, dx}{4 b^2}-\frac{\int \text{Li}_3\left (-\frac{(1+c+d) e^{2 a+2 b x}}{1+c-d}\right ) \, dx}{4 b^2}\\ &=\frac{1}{3} x^3 \coth ^{-1}(c+d \tanh (a+b x))+\frac{1}{6} x^3 \log \left (1+\frac{(1-c-d) e^{2 a+2 b x}}{1-c+d}\right )-\frac{1}{6} x^3 \log \left (1+\frac{(1+c+d) e^{2 a+2 b x}}{1+c-d}\right )+\frac{x^2 \text{Li}_2\left (-\frac{(1-c-d) e^{2 a+2 b x}}{1-c+d}\right )}{4 b}-\frac{x^2 \text{Li}_2\left (-\frac{(1+c+d) e^{2 a+2 b x}}{1+c-d}\right )}{4 b}-\frac{x \text{Li}_3\left (-\frac{(1-c-d) e^{2 a+2 b x}}{1-c+d}\right )}{4 b^2}+\frac{x \text{Li}_3\left (-\frac{(1+c+d) e^{2 a+2 b x}}{1+c-d}\right )}{4 b^2}+\frac{\operatorname{Subst}\left (\int \frac{\text{Li}_3\left (-\frac{(-1+c+d) x}{-1+c-d}\right )}{x} \, dx,x,e^{2 a+2 b x}\right )}{8 b^3}-\frac{\operatorname{Subst}\left (\int \frac{\text{Li}_3\left (-\frac{(1+c+d) x}{1+c-d}\right )}{x} \, dx,x,e^{2 a+2 b x}\right )}{8 b^3}\\ &=\frac{1}{3} x^3 \coth ^{-1}(c+d \tanh (a+b x))+\frac{1}{6} x^3 \log \left (1+\frac{(1-c-d) e^{2 a+2 b x}}{1-c+d}\right )-\frac{1}{6} x^3 \log \left (1+\frac{(1+c+d) e^{2 a+2 b x}}{1+c-d}\right )+\frac{x^2 \text{Li}_2\left (-\frac{(1-c-d) e^{2 a+2 b x}}{1-c+d}\right )}{4 b}-\frac{x^2 \text{Li}_2\left (-\frac{(1+c+d) e^{2 a+2 b x}}{1+c-d}\right )}{4 b}-\frac{x \text{Li}_3\left (-\frac{(1-c-d) e^{2 a+2 b x}}{1-c+d}\right )}{4 b^2}+\frac{x \text{Li}_3\left (-\frac{(1+c+d) e^{2 a+2 b x}}{1+c-d}\right )}{4 b^2}+\frac{\text{Li}_4\left (-\frac{(1-c-d) e^{2 a+2 b x}}{1-c+d}\right )}{8 b^3}-\frac{\text{Li}_4\left (-\frac{(1+c+d) e^{2 a+2 b x}}{1+c-d}\right )}{8 b^3}\\ \end{align*}

Mathematica [A]  time = 0.452205, size = 345, normalized size = 1.12 \[ \frac{-6 b^2 x^2 \text{PolyLog}\left (2,\frac{(c-d-1) (\sinh (2 (a+b x))-\cosh (2 (a+b x)))}{c+d-1}\right )+6 b^2 x^2 \text{PolyLog}\left (2,\frac{(c-d+1) (\sinh (2 (a+b x))-\cosh (2 (a+b x)))}{c+d+1}\right )-6 b x \text{PolyLog}\left (3,\frac{(c-d-1) (\sinh (2 (a+b x))-\cosh (2 (a+b x)))}{c+d-1}\right )+6 b x \text{PolyLog}\left (3,\frac{(c-d+1) (\sinh (2 (a+b x))-\cosh (2 (a+b x)))}{c+d+1}\right )-3 \text{PolyLog}\left (4,\frac{(c-d-1) (\sinh (2 (a+b x))-\cosh (2 (a+b x)))}{c+d-1}\right )+3 \text{PolyLog}\left (4,\frac{(c-d+1) (\sinh (2 (a+b x))-\cosh (2 (a+b x)))}{c+d+1}\right )+4 b^3 x^3 \log \left (\frac{(c-d-1) (\cosh (2 (a+b x))-\sinh (2 (a+b x)))}{c+d-1}+1\right )-4 b^3 x^3 \log \left (\frac{(c-d+1) (\cosh (2 (a+b x))-\sinh (2 (a+b x)))}{c+d+1}+1\right )}{24 b^3}+\frac{1}{3} x^3 \coth ^{-1}(d \tanh (a+b x)+c) \]

Antiderivative was successfully verified.

[In]

Integrate[x^2*ArcCoth[c + d*Tanh[a + b*x]],x]

[Out]

(x^3*ArcCoth[c + d*Tanh[a + b*x]])/3 + (4*b^3*x^3*Log[1 + ((-1 + c - d)*(Cosh[2*(a + b*x)] - Sinh[2*(a + b*x)]
))/(-1 + c + d)] - 4*b^3*x^3*Log[1 + ((1 + c - d)*(Cosh[2*(a + b*x)] - Sinh[2*(a + b*x)]))/(1 + c + d)] - 6*b^
2*x^2*PolyLog[2, ((-1 + c - d)*(-Cosh[2*(a + b*x)] + Sinh[2*(a + b*x)]))/(-1 + c + d)] + 6*b^2*x^2*PolyLog[2,
((1 + c - d)*(-Cosh[2*(a + b*x)] + Sinh[2*(a + b*x)]))/(1 + c + d)] - 6*b*x*PolyLog[3, ((-1 + c - d)*(-Cosh[2*
(a + b*x)] + Sinh[2*(a + b*x)]))/(-1 + c + d)] + 6*b*x*PolyLog[3, ((1 + c - d)*(-Cosh[2*(a + b*x)] + Sinh[2*(a
 + b*x)]))/(1 + c + d)] - 3*PolyLog[4, ((-1 + c - d)*(-Cosh[2*(a + b*x)] + Sinh[2*(a + b*x)]))/(-1 + c + d)] +
 3*PolyLog[4, ((1 + c - d)*(-Cosh[2*(a + b*x)] + Sinh[2*(a + b*x)]))/(1 + c + d)])/(24*b^3)

________________________________________________________________________________________

Maple [C]  time = 5.085, size = 5294, normalized size = 17.2 \begin{align*} \text{output too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*arccoth(c+d*tanh(b*x+a)),x)

[Out]

result too large to display

________________________________________________________________________________________

Maxima [A]  time = 2.28858, size = 379, normalized size = 1.23 \begin{align*} \frac{1}{3} \, x^{3} \operatorname{arcoth}\left (d \tanh \left (b x + a\right ) + c\right ) - \frac{1}{18} \, b d{\left (\frac{4 \, b^{3} x^{3} \log \left (\frac{{\left (c + d + 1\right )} e^{\left (2 \, b x + 2 \, a\right )}}{c - d + 1} + 1\right ) + 6 \, b^{2} x^{2}{\rm Li}_2\left (-\frac{{\left (c + d + 1\right )} e^{\left (2 \, b x + 2 \, a\right )}}{c - d + 1}\right ) - 6 \, b x{\rm Li}_{3}(-\frac{{\left (c + d + 1\right )} e^{\left (2 \, b x + 2 \, a\right )}}{c - d + 1}) + 3 \,{\rm Li}_{4}(-\frac{{\left (c + d + 1\right )} e^{\left (2 \, b x + 2 \, a\right )}}{c - d + 1})}{b^{4} d} - \frac{4 \, b^{3} x^{3} \log \left (\frac{{\left (c + d - 1\right )} e^{\left (2 \, b x + 2 \, a\right )}}{c - d - 1} + 1\right ) + 6 \, b^{2} x^{2}{\rm Li}_2\left (-\frac{{\left (c + d - 1\right )} e^{\left (2 \, b x + 2 \, a\right )}}{c - d - 1}\right ) - 6 \, b x{\rm Li}_{3}(-\frac{{\left (c + d - 1\right )} e^{\left (2 \, b x + 2 \, a\right )}}{c - d - 1}) + 3 \,{\rm Li}_{4}(-\frac{{\left (c + d - 1\right )} e^{\left (2 \, b x + 2 \, a\right )}}{c - d - 1})}{b^{4} d}\right )} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*arccoth(c+d*tanh(b*x+a)),x, algorithm="maxima")

[Out]

1/3*x^3*arccoth(d*tanh(b*x + a) + c) - 1/18*b*d*((4*b^3*x^3*log((c + d + 1)*e^(2*b*x + 2*a)/(c - d + 1) + 1) +
 6*b^2*x^2*dilog(-(c + d + 1)*e^(2*b*x + 2*a)/(c - d + 1)) - 6*b*x*polylog(3, -(c + d + 1)*e^(2*b*x + 2*a)/(c
- d + 1)) + 3*polylog(4, -(c + d + 1)*e^(2*b*x + 2*a)/(c - d + 1)))/(b^4*d) - (4*b^3*x^3*log((c + d - 1)*e^(2*
b*x + 2*a)/(c - d - 1) + 1) + 6*b^2*x^2*dilog(-(c + d - 1)*e^(2*b*x + 2*a)/(c - d - 1)) - 6*b*x*polylog(3, -(c
 + d - 1)*e^(2*b*x + 2*a)/(c - d - 1)) + 3*polylog(4, -(c + d - 1)*e^(2*b*x + 2*a)/(c - d - 1)))/(b^4*d))

________________________________________________________________________________________

Fricas [C]  time = 2.06443, size = 2587, normalized size = 8.43 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*arccoth(c+d*tanh(b*x+a)),x, algorithm="fricas")

[Out]

1/6*(b^3*x^3*log(((c + 1)*cosh(b*x + a) + d*sinh(b*x + a))/((c - 1)*cosh(b*x + a) + d*sinh(b*x + a))) - 3*b^2*
x^2*dilog(sqrt(-(c + d + 1)/(c - d + 1))*(cosh(b*x + a) + sinh(b*x + a))) - 3*b^2*x^2*dilog(-sqrt(-(c + d + 1)
/(c - d + 1))*(cosh(b*x + a) + sinh(b*x + a))) + 3*b^2*x^2*dilog(sqrt(-(c + d - 1)/(c - d - 1))*(cosh(b*x + a)
 + sinh(b*x + a))) + 3*b^2*x^2*dilog(-sqrt(-(c + d - 1)/(c - d - 1))*(cosh(b*x + a) + sinh(b*x + a))) + a^3*lo
g(2*(c + d + 1)*cosh(b*x + a) + 2*(c + d + 1)*sinh(b*x + a) + 2*(c - d + 1)*sqrt(-(c + d + 1)/(c - d + 1))) +
a^3*log(2*(c + d + 1)*cosh(b*x + a) + 2*(c + d + 1)*sinh(b*x + a) - 2*(c - d + 1)*sqrt(-(c + d + 1)/(c - d + 1
))) - a^3*log(2*(c + d - 1)*cosh(b*x + a) + 2*(c + d - 1)*sinh(b*x + a) + 2*(c - d - 1)*sqrt(-(c + d - 1)/(c -
 d - 1))) - a^3*log(2*(c + d - 1)*cosh(b*x + a) + 2*(c + d - 1)*sinh(b*x + a) - 2*(c - d - 1)*sqrt(-(c + d - 1
)/(c - d - 1))) + 6*b*x*polylog(3, sqrt(-(c + d + 1)/(c - d + 1))*(cosh(b*x + a) + sinh(b*x + a))) + 6*b*x*pol
ylog(3, -sqrt(-(c + d + 1)/(c - d + 1))*(cosh(b*x + a) + sinh(b*x + a))) - 6*b*x*polylog(3, sqrt(-(c + d - 1)/
(c - d - 1))*(cosh(b*x + a) + sinh(b*x + a))) - 6*b*x*polylog(3, -sqrt(-(c + d - 1)/(c - d - 1))*(cosh(b*x + a
) + sinh(b*x + a))) - (b^3*x^3 + a^3)*log(sqrt(-(c + d + 1)/(c - d + 1))*(cosh(b*x + a) + sinh(b*x + a)) + 1)
- (b^3*x^3 + a^3)*log(-sqrt(-(c + d + 1)/(c - d + 1))*(cosh(b*x + a) + sinh(b*x + a)) + 1) + (b^3*x^3 + a^3)*l
og(sqrt(-(c + d - 1)/(c - d - 1))*(cosh(b*x + a) + sinh(b*x + a)) + 1) + (b^3*x^3 + a^3)*log(-sqrt(-(c + d - 1
)/(c - d - 1))*(cosh(b*x + a) + sinh(b*x + a)) + 1) - 6*polylog(4, sqrt(-(c + d + 1)/(c - d + 1))*(cosh(b*x +
a) + sinh(b*x + a))) - 6*polylog(4, -sqrt(-(c + d + 1)/(c - d + 1))*(cosh(b*x + a) + sinh(b*x + a))) + 6*polyl
og(4, sqrt(-(c + d - 1)/(c - d - 1))*(cosh(b*x + a) + sinh(b*x + a))) + 6*polylog(4, -sqrt(-(c + d - 1)/(c - d
 - 1))*(cosh(b*x + a) + sinh(b*x + a))))/b^3

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*acoth(c+d*tanh(b*x+a)),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{2} \operatorname{arcoth}\left (d \tanh \left (b x + a\right ) + c\right )\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*arccoth(c+d*tanh(b*x+a)),x, algorithm="giac")

[Out]

integrate(x^2*arccoth(d*tanh(b*x + a) + c), x)