3.53 \(\int \frac{\sinh ^3(x)}{a+a \text{sech}(x)} \, dx\)

Optimal. Leaf size=23 \[ \frac{\cosh ^3(x)}{3 a}-\frac{\sinh ^2(x)}{2 a} \]

[Out]

Cosh[x]^3/(3*a) - Sinh[x]^2/(2*a)

________________________________________________________________________________________

Rubi [A]  time = 0.122056, antiderivative size = 23, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.385, Rules used = {3872, 2835, 2564, 30, 2565} \[ \frac{\cosh ^3(x)}{3 a}-\frac{\sinh ^2(x)}{2 a} \]

Antiderivative was successfully verified.

[In]

Int[Sinh[x]^3/(a + a*Sech[x]),x]

[Out]

Cosh[x]^3/(3*a) - Sinh[x]^2/(2*a)

Rule 3872

Int[(cos[(e_.) + (f_.)*(x_)]*(g_.))^(p_.)*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(m_.), x_Symbol] :> Int[((g*C
os[e + f*x])^p*(b + a*Sin[e + f*x])^m)/Sin[e + f*x]^m, x] /; FreeQ[{a, b, e, f, g, p}, x] && IntegerQ[m]

Rule 2835

Int[(cos[(e_.) + (f_.)*(x_)]^(p_)*((d_.)*sin[(e_.) + (f_.)*(x_)])^(n_.))/((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]
), x_Symbol] :> Dist[1/a, Int[Cos[e + f*x]^(p - 2)*(d*Sin[e + f*x])^n, x], x] - Dist[1/(b*d), Int[Cos[e + f*x]
^(p - 2)*(d*Sin[e + f*x])^(n + 1), x], x] /; FreeQ[{a, b, d, e, f, n, p}, x] && IntegerQ[(p - 1)/2] && EqQ[a^2
 - b^2, 0] && IntegerQ[n] && (LtQ[0, n, (p + 1)/2] || (LeQ[p, -n] && LtQ[-n, 2*p - 3]) || (GtQ[n, 0] && LeQ[n,
 -p]))

Rule 2564

Int[cos[(e_.) + (f_.)*(x_)]^(n_.)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_.), x_Symbol] :> Dist[1/(a*f), Subst[Int[
x^m*(1 - x^2/a^2)^((n - 1)/2), x], x, a*Sin[e + f*x]], x] /; FreeQ[{a, e, f, m}, x] && IntegerQ[(n - 1)/2] &&
 !(IntegerQ[(m - 1)/2] && LtQ[0, m, n])

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 2565

Int[(cos[(e_.) + (f_.)*(x_)]*(a_.))^(m_.)*sin[(e_.) + (f_.)*(x_)]^(n_.), x_Symbol] :> -Dist[(a*f)^(-1), Subst[
Int[x^m*(1 - x^2/a^2)^((n - 1)/2), x], x, a*Cos[e + f*x]], x] /; FreeQ[{a, e, f, m}, x] && IntegerQ[(n - 1)/2]
 &&  !(IntegerQ[(m - 1)/2] && GtQ[m, 0] && LeQ[m, n])

Rubi steps

\begin{align*} \int \frac{\sinh ^3(x)}{a+a \text{sech}(x)} \, dx &=-\int \frac{\cosh (x) \sinh ^3(x)}{-a-a \cosh (x)} \, dx\\ &=-\frac{\int \cosh (x) \sinh (x) \, dx}{a}+\frac{\int \cosh ^2(x) \sinh (x) \, dx}{a}\\ &=\frac{\operatorname{Subst}(\int x \, dx,x,i \sinh (x))}{a}+\frac{\operatorname{Subst}\left (\int x^2 \, dx,x,\cosh (x)\right )}{a}\\ &=\frac{\cosh ^3(x)}{3 a}-\frac{\sinh ^2(x)}{2 a}\\ \end{align*}

Mathematica [A]  time = 0.0445961, size = 23, normalized size = 1. \[ \frac{3 \cosh (x)-3 \cosh (2 x)+\cosh (3 x)-7}{12 a} \]

Antiderivative was successfully verified.

[In]

Integrate[Sinh[x]^3/(a + a*Sech[x]),x]

[Out]

(-7 + 3*Cosh[x] - 3*Cosh[2*x] + Cosh[3*x])/(12*a)

________________________________________________________________________________________

Maple [B]  time = 0.024, size = 67, normalized size = 2.9 \begin{align*} 8\,{\frac{1}{a} \left ( 1/24\, \left ( \tanh \left ( x/2 \right ) +1 \right ) ^{-3}-1/8\, \left ( \tanh \left ( x/2 \right ) +1 \right ) ^{-2}+1/8\, \left ( \tanh \left ( x/2 \right ) +1 \right ) ^{-1}-1/24\, \left ( \tanh \left ( x/2 \right ) -1 \right ) ^{-3}-1/8\, \left ( \tanh \left ( x/2 \right ) -1 \right ) ^{-2}-1/8\, \left ( \tanh \left ( x/2 \right ) -1 \right ) ^{-1} \right ) } \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sinh(x)^3/(a+a*sech(x)),x)

[Out]

8/a*(1/24/(tanh(1/2*x)+1)^3-1/8/(tanh(1/2*x)+1)^2+1/8/(tanh(1/2*x)+1)-1/24/(tanh(1/2*x)-1)^3-1/8/(tanh(1/2*x)-
1)^2-1/8/(tanh(1/2*x)-1))

________________________________________________________________________________________

Maxima [B]  time = 1.16261, size = 62, normalized size = 2.7 \begin{align*} -\frac{{\left (3 \, e^{\left (-x\right )} - 3 \, e^{\left (-2 \, x\right )} - 1\right )} e^{\left (3 \, x\right )}}{24 \, a} + \frac{3 \, e^{\left (-x\right )} - 3 \, e^{\left (-2 \, x\right )} + e^{\left (-3 \, x\right )}}{24 \, a} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(x)^3/(a+a*sech(x)),x, algorithm="maxima")

[Out]

-1/24*(3*e^(-x) - 3*e^(-2*x) - 1)*e^(3*x)/a + 1/24*(3*e^(-x) - 3*e^(-2*x) + e^(-3*x))/a

________________________________________________________________________________________

Fricas [A]  time = 2.30223, size = 100, normalized size = 4.35 \begin{align*} \frac{\cosh \left (x\right )^{3} + 3 \,{\left (\cosh \left (x\right ) - 1\right )} \sinh \left (x\right )^{2} - 3 \, \cosh \left (x\right )^{2} + 3 \, \cosh \left (x\right )}{12 \, a} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(x)^3/(a+a*sech(x)),x, algorithm="fricas")

[Out]

1/12*(cosh(x)^3 + 3*(cosh(x) - 1)*sinh(x)^2 - 3*cosh(x)^2 + 3*cosh(x))/a

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \frac{\int \frac{\sinh ^{3}{\left (x \right )}}{\operatorname{sech}{\left (x \right )} + 1}\, dx}{a} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(x)**3/(a+a*sech(x)),x)

[Out]

Integral(sinh(x)**3/(sech(x) + 1), x)/a

________________________________________________________________________________________

Giac [A]  time = 1.12878, size = 50, normalized size = 2.17 \begin{align*} \frac{{\left (3 \, e^{\left (2 \, x\right )} - 3 \, e^{x} + 1\right )} e^{\left (-3 \, x\right )} + e^{\left (3 \, x\right )} - 3 \, e^{\left (2 \, x\right )} + 3 \, e^{x}}{24 \, a} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(x)^3/(a+a*sech(x)),x, algorithm="giac")

[Out]

1/24*((3*e^(2*x) - 3*e^x + 1)*e^(-3*x) + e^(3*x) - 3*e^(2*x) + 3*e^x)/a