3.41 \(\int \sqrt {b \coth ^4(c+d x)} \, dx\)

Optimal. Leaf size=50 \[ x \tanh ^2(c+d x) \sqrt {b \coth ^4(c+d x)}-\frac {\tanh (c+d x) \sqrt {b \coth ^4(c+d x)}}{d} \]

[Out]

-(b*coth(d*x+c)^4)^(1/2)*tanh(d*x+c)/d+x*(b*coth(d*x+c)^4)^(1/2)*tanh(d*x+c)^2

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 50, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.214, Rules used = {3658, 3473, 8} \[ x \tanh ^2(c+d x) \sqrt {b \coth ^4(c+d x)}-\frac {\tanh (c+d x) \sqrt {b \coth ^4(c+d x)}}{d} \]

Antiderivative was successfully verified.

[In]

Int[Sqrt[b*Coth[c + d*x]^4],x]

[Out]

-((Sqrt[b*Coth[c + d*x]^4]*Tanh[c + d*x])/d) + x*Sqrt[b*Coth[c + d*x]^4]*Tanh[c + d*x]^2

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rule 3473

Int[((b_.)*tan[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Simp[(b*(b*Tan[c + d*x])^(n - 1))/(d*(n - 1)), x] - Dis
t[b^2, Int[(b*Tan[c + d*x])^(n - 2), x], x] /; FreeQ[{b, c, d}, x] && GtQ[n, 1]

Rule 3658

Int[(u_.)*((b_.)*tan[(e_.) + (f_.)*(x_)]^(n_))^(p_), x_Symbol] :> With[{ff = FreeFactors[Tan[e + f*x], x]}, Di
st[((b*ff^n)^IntPart[p]*(b*Tan[e + f*x]^n)^FracPart[p])/(Tan[e + f*x]/ff)^(n*FracPart[p]), Int[ActivateTrig[u]
*(Tan[e + f*x]/ff)^(n*p), x], x]] /; FreeQ[{b, e, f, n, p}, x] &&  !IntegerQ[p] && IntegerQ[n] && (EqQ[u, 1] |
| MatchQ[u, ((d_.)*(trig_)[e + f*x])^(m_.) /; FreeQ[{d, m}, x] && MemberQ[{sin, cos, tan, cot, sec, csc}, trig
]])

Rubi steps

\begin {align*} \int \sqrt {b \coth ^4(c+d x)} \, dx &=\left (\sqrt {b \coth ^4(c+d x)} \tanh ^2(c+d x)\right ) \int \coth ^2(c+d x) \, dx\\ &=-\frac {\sqrt {b \coth ^4(c+d x)} \tanh (c+d x)}{d}+\left (\sqrt {b \coth ^4(c+d x)} \tanh ^2(c+d x)\right ) \int 1 \, dx\\ &=-\frac {\sqrt {b \coth ^4(c+d x)} \tanh (c+d x)}{d}+x \sqrt {b \coth ^4(c+d x)} \tanh ^2(c+d x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 0.03, size = 41, normalized size = 0.82 \[ -\frac {\tanh (c+d x) \sqrt {b \coth ^4(c+d x)} \, _2F_1\left (-\frac {1}{2},1;\frac {1}{2};\tanh ^2(c+d x)\right )}{d} \]

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[b*Coth[c + d*x]^4],x]

[Out]

-((Sqrt[b*Coth[c + d*x]^4]*Hypergeometric2F1[-1/2, 1, 1/2, Tanh[c + d*x]^2]*Tanh[c + d*x])/d)

________________________________________________________________________________________

fricas [B]  time = 1.10, size = 415, normalized size = 8.30 \[ \frac {{\left (d x \cosh \left (d x + c\right )^{2} + {\left (d x e^{\left (4 \, d x + 4 \, c\right )} - 2 \, d x e^{\left (2 \, d x + 2 \, c\right )} + d x\right )} \sinh \left (d x + c\right )^{2} - d x + {\left (d x \cosh \left (d x + c\right )^{2} - d x - 2\right )} e^{\left (4 \, d x + 4 \, c\right )} - 2 \, {\left (d x \cosh \left (d x + c\right )^{2} - d x - 2\right )} e^{\left (2 \, d x + 2 \, c\right )} + 2 \, {\left (d x \cosh \left (d x + c\right ) e^{\left (4 \, d x + 4 \, c\right )} - 2 \, d x \cosh \left (d x + c\right ) e^{\left (2 \, d x + 2 \, c\right )} + d x \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right ) - 2\right )} \sqrt {\frac {b e^{\left (8 \, d x + 8 \, c\right )} + 4 \, b e^{\left (6 \, d x + 6 \, c\right )} + 6 \, b e^{\left (4 \, d x + 4 \, c\right )} + 4 \, b e^{\left (2 \, d x + 2 \, c\right )} + b}{e^{\left (8 \, d x + 8 \, c\right )} - 4 \, e^{\left (6 \, d x + 6 \, c\right )} + 6 \, e^{\left (4 \, d x + 4 \, c\right )} - 4 \, e^{\left (2 \, d x + 2 \, c\right )} + 1}}}{d \cosh \left (d x + c\right )^{2} + {\left (d e^{\left (4 \, d x + 4 \, c\right )} + 2 \, d e^{\left (2 \, d x + 2 \, c\right )} + d\right )} \sinh \left (d x + c\right )^{2} + {\left (d \cosh \left (d x + c\right )^{2} - d\right )} e^{\left (4 \, d x + 4 \, c\right )} + 2 \, {\left (d \cosh \left (d x + c\right )^{2} - d\right )} e^{\left (2 \, d x + 2 \, c\right )} + 2 \, {\left (d \cosh \left (d x + c\right ) e^{\left (4 \, d x + 4 \, c\right )} + 2 \, d \cosh \left (d x + c\right ) e^{\left (2 \, d x + 2 \, c\right )} + d \cosh \left (d x + c\right )\right )} \sinh \left (d x + c\right ) - d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*coth(d*x+c)^4)^(1/2),x, algorithm="fricas")

[Out]

(d*x*cosh(d*x + c)^2 + (d*x*e^(4*d*x + 4*c) - 2*d*x*e^(2*d*x + 2*c) + d*x)*sinh(d*x + c)^2 - d*x + (d*x*cosh(d
*x + c)^2 - d*x - 2)*e^(4*d*x + 4*c) - 2*(d*x*cosh(d*x + c)^2 - d*x - 2)*e^(2*d*x + 2*c) + 2*(d*x*cosh(d*x + c
)*e^(4*d*x + 4*c) - 2*d*x*cosh(d*x + c)*e^(2*d*x + 2*c) + d*x*cosh(d*x + c))*sinh(d*x + c) - 2)*sqrt((b*e^(8*d
*x + 8*c) + 4*b*e^(6*d*x + 6*c) + 6*b*e^(4*d*x + 4*c) + 4*b*e^(2*d*x + 2*c) + b)/(e^(8*d*x + 8*c) - 4*e^(6*d*x
 + 6*c) + 6*e^(4*d*x + 4*c) - 4*e^(2*d*x + 2*c) + 1))/(d*cosh(d*x + c)^2 + (d*e^(4*d*x + 4*c) + 2*d*e^(2*d*x +
 2*c) + d)*sinh(d*x + c)^2 + (d*cosh(d*x + c)^2 - d)*e^(4*d*x + 4*c) + 2*(d*cosh(d*x + c)^2 - d)*e^(2*d*x + 2*
c) + 2*(d*cosh(d*x + c)*e^(4*d*x + 4*c) + 2*d*cosh(d*x + c)*e^(2*d*x + 2*c) + d*cosh(d*x + c))*sinh(d*x + c) -
 d)

________________________________________________________________________________________

giac [A]  time = 0.16, size = 27, normalized size = 0.54 \[ \frac {{\left (d x + c - \frac {2}{e^{\left (2 \, d x + 2 \, c\right )} - 1}\right )} \sqrt {b}}{d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*coth(d*x+c)^4)^(1/2),x, algorithm="giac")

[Out]

(d*x + c - 2/(e^(2*d*x + 2*c) - 1))*sqrt(b)/d

________________________________________________________________________________________

maple [A]  time = 0.16, size = 55, normalized size = 1.10 \[ -\frac {\sqrt {b \left (\coth ^{4}\left (d x +c \right )\right )}\, \left (2 \coth \left (d x +c \right )+\ln \left (\coth \left (d x +c \right )-1\right )-\ln \left (\coth \left (d x +c \right )+1\right )\right )}{2 d \coth \left (d x +c \right )^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*coth(d*x+c)^4)^(1/2),x)

[Out]

-1/2/d*(b*coth(d*x+c)^4)^(1/2)*(2*coth(d*x+c)+ln(coth(d*x+c)-1)-ln(coth(d*x+c)+1))/coth(d*x+c)^2

________________________________________________________________________________________

maxima [A]  time = 0.42, size = 34, normalized size = 0.68 \[ \frac {{\left (d x + c\right )} \sqrt {b}}{d} + \frac {2 \, \sqrt {b}}{d {\left (e^{\left (-2 \, d x - 2 \, c\right )} - 1\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*coth(d*x+c)^4)^(1/2),x, algorithm="maxima")

[Out]

(d*x + c)*sqrt(b)/d + 2*sqrt(b)/(d*(e^(-2*d*x - 2*c) - 1))

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \int \sqrt {b\,{\mathrm {coth}\left (c+d\,x\right )}^4} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*coth(c + d*x)^4)^(1/2),x)

[Out]

int((b*coth(c + d*x)^4)^(1/2), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {b \coth ^{4}{\left (c + d x \right )}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*coth(d*x+c)**4)**(1/2),x)

[Out]

Integral(sqrt(b*coth(c + d*x)**4), x)

________________________________________________________________________________________