3.331 \(\int (\frac {x}{\cosh ^{\frac {7}{2}}(x)}+\frac {3}{5} x \sqrt {\cosh (x)}) \, dx\)

Optimal. Leaf size=47 \[ \frac {4}{15 \cosh ^{\frac {3}{2}}(x)}-\frac {12 \sqrt {\cosh (x)}}{5}+\frac {2 x \sinh (x)}{5 \cosh ^{\frac {5}{2}}(x)}+\frac {6 x \sinh (x)}{5 \sqrt {\cosh (x)}} \]

[Out]

4/15/cosh(x)^(3/2)+2/5*x*sinh(x)/cosh(x)^(5/2)+6/5*x*sinh(x)/cosh(x)^(1/2)-12/5*cosh(x)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 47, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {3315} \[ \frac {4}{15 \cosh ^{\frac {3}{2}}(x)}-\frac {12 \sqrt {\cosh (x)}}{5}+\frac {2 x \sinh (x)}{5 \cosh ^{\frac {5}{2}}(x)}+\frac {6 x \sinh (x)}{5 \sqrt {\cosh (x)}} \]

Antiderivative was successfully verified.

[In]

Int[x/Cosh[x]^(7/2) + (3*x*Sqrt[Cosh[x]])/5,x]

[Out]

4/(15*Cosh[x]^(3/2)) - (12*Sqrt[Cosh[x]])/5 + (2*x*Sinh[x])/(5*Cosh[x]^(5/2)) + (6*x*Sinh[x])/(5*Sqrt[Cosh[x]]
)

Rule 3315

Int[((c_.) + (d_.)*(x_))*((b_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp[((c + d*x)*Cos[e + f*x]*(b*Si
n[e + f*x])^(n + 1))/(b*f*(n + 1)), x] + (Dist[(n + 2)/(b^2*(n + 1)), Int[(c + d*x)*(b*Sin[e + f*x])^(n + 2),
x], x] - Simp[(d*(b*Sin[e + f*x])^(n + 2))/(b^2*f^2*(n + 1)*(n + 2)), x]) /; FreeQ[{b, c, d, e, f}, x] && LtQ[
n, -1] && NeQ[n, -2]

Rubi steps

\begin {align*} \int \left (\frac {x}{\cosh ^{\frac {7}{2}}(x)}+\frac {3}{5} x \sqrt {\cosh (x)}\right ) \, dx &=\frac {3}{5} \int x \sqrt {\cosh (x)} \, dx+\int \frac {x}{\cosh ^{\frac {7}{2}}(x)} \, dx\\ &=\frac {4}{15 \cosh ^{\frac {3}{2}}(x)}+\frac {2 x \sinh (x)}{5 \cosh ^{\frac {5}{2}}(x)}+\frac {3}{5} \int \frac {x}{\cosh ^{\frac {3}{2}}(x)} \, dx+\frac {3}{5} \int x \sqrt {\cosh (x)} \, dx\\ &=\frac {4}{15 \cosh ^{\frac {3}{2}}(x)}-\frac {12 \sqrt {\cosh (x)}}{5}+\frac {2 x \sinh (x)}{5 \cosh ^{\frac {5}{2}}(x)}+\frac {6 x \sinh (x)}{5 \sqrt {\cosh (x)}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.61, size = 64, normalized size = 1.36 \[ \frac {1}{5} \sqrt {\cosh (x)} \left (6 x \tanh (x)+\left (2 x \tanh (x)+\frac {4}{3}\right ) \text {sech}^2(x)-\frac {12 \sinh ^2(x)}{\sqrt {\cosh (x)-1} (\cosh (x)+1)^{3/2} \sqrt {\tanh ^2\left (\frac {x}{2}\right )}}\right ) \]

Warning: Unable to verify antiderivative.

[In]

Integrate[x/Cosh[x]^(7/2) + (3*x*Sqrt[Cosh[x]])/5,x]

[Out]

(Sqrt[Cosh[x]]*((-12*Sinh[x]^2)/(Sqrt[-1 + Cosh[x]]*(1 + Cosh[x])^(3/2)*Sqrt[Tanh[x/2]^2]) + 6*x*Tanh[x] + Sec
h[x]^2*(4/3 + 2*x*Tanh[x])))/5

________________________________________________________________________________________

fricas [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/cosh(x)^(7/2)+3/5*x*cosh(x)^(1/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (ha
s polynomial part)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {3}{5} \, x \sqrt {\cosh \relax (x)} + \frac {x}{\cosh \relax (x)^{\frac {7}{2}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/cosh(x)^(7/2)+3/5*x*cosh(x)^(1/2),x, algorithm="giac")

[Out]

integrate(3/5*x*sqrt(cosh(x)) + x/cosh(x)^(7/2), x)

________________________________________________________________________________________

maple [F(-2)]  time = 180.00, size = 0, normalized size = 0.00 \[ \int \frac {x}{\cosh \relax (x )^{\frac {7}{2}}}+\frac {3 x \left (\sqrt {\cosh }\relax (x )\right )}{5}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/cosh(x)^(7/2)+3/5*x*cosh(x)^(1/2),x)

[Out]

int(x/cosh(x)^(7/2)+3/5*x*cosh(x)^(1/2),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {3}{5} \, x \sqrt {\cosh \relax (x)} + \frac {x}{\cosh \relax (x)^{\frac {7}{2}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/cosh(x)^(7/2)+3/5*x*cosh(x)^(1/2),x, algorithm="maxima")

[Out]

integrate(3/5*x*sqrt(cosh(x)) + x/cosh(x)^(7/2), x)

________________________________________________________________________________________

mupad [B]  time = 1.11, size = 110, normalized size = 2.34 \[ \frac {{\mathrm {e}}^{2\,x}\,\left (\frac {8\,x}{5}+\frac {16}{15}\right )\,\sqrt {\frac {{\mathrm {e}}^{-x}}{2}+\frac {{\mathrm {e}}^x}{2}}}{{\left ({\mathrm {e}}^{2\,x}+1\right )}^2}-\left (\frac {6\,x}{5}+\frac {12}{5}\right )\,\sqrt {\frac {{\mathrm {e}}^{-x}}{2}+\frac {{\mathrm {e}}^x}{2}}+\frac {12\,x\,{\mathrm {e}}^{2\,x}\,\sqrt {\frac {{\mathrm {e}}^{-x}}{2}+\frac {{\mathrm {e}}^x}{2}}}{5\,\left ({\mathrm {e}}^{2\,x}+1\right )}-\frac {16\,x\,{\mathrm {e}}^{2\,x}\,\sqrt {\frac {{\mathrm {e}}^{-x}}{2}+\frac {{\mathrm {e}}^x}{2}}}{5\,{\left ({\mathrm {e}}^{2\,x}+1\right )}^3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((3*x*cosh(x)^(1/2))/5 + x/cosh(x)^(7/2),x)

[Out]

(exp(2*x)*((8*x)/5 + 16/15)*(exp(-x)/2 + exp(x)/2)^(1/2))/(exp(2*x) + 1)^2 - ((6*x)/5 + 12/5)*(exp(-x)/2 + exp
(x)/2)^(1/2) + (12*x*exp(2*x)*(exp(-x)/2 + exp(x)/2)^(1/2))/(5*(exp(2*x) + 1)) - (16*x*exp(2*x)*(exp(-x)/2 + e
xp(x)/2)^(1/2))/(5*(exp(2*x) + 1)^3)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/cosh(x)**(7/2)+3/5*x*cosh(x)**(1/2),x)

[Out]

Timed out

________________________________________________________________________________________