3.249 \(\int \frac {\cosh ^3(a+b \log (c x^n))}{x} \, dx\)

Optimal. Leaf size=42 \[ \frac {\sinh ^3\left (a+b \log \left (c x^n\right )\right )}{3 b n}+\frac {\sinh \left (a+b \log \left (c x^n\right )\right )}{b n} \]

[Out]

sinh(a+b*ln(c*x^n))/b/n+1/3*sinh(a+b*ln(c*x^n))^3/b/n

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 1, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {2633} \[ \frac {\sinh ^3\left (a+b \log \left (c x^n\right )\right )}{3 b n}+\frac {\sinh \left (a+b \log \left (c x^n\right )\right )}{b n} \]

Antiderivative was successfully verified.

[In]

Int[Cosh[a + b*Log[c*x^n]]^3/x,x]

[Out]

Sinh[a + b*Log[c*x^n]]/(b*n) + Sinh[a + b*Log[c*x^n]]^3/(3*b*n)

Rule 2633

Int[sin[(c_.) + (d_.)*(x_)]^(n_), x_Symbol] :> -Dist[d^(-1), Subst[Int[Expand[(1 - x^2)^((n - 1)/2), x], x], x
, Cos[c + d*x]], x] /; FreeQ[{c, d}, x] && IGtQ[(n - 1)/2, 0]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 42, normalized size = 1.00 \[ \frac {\sinh ^3\left (a+b \log \left (c x^n\right )\right )}{3 b n}+\frac {\sinh \left (a+b \log \left (c x^n\right )\right )}{b n} \]

Antiderivative was successfully verified.

[In]

Integrate[Cosh[a + b*Log[c*x^n]]^3/x,x]

[Out]

Sinh[a + b*Log[c*x^n]]/(b*n) + Sinh[a + b*Log[c*x^n]]^3/(3*b*n)

________________________________________________________________________________________

fricas [A]  time = 0.52, size = 53, normalized size = 1.26 \[ \frac {\sinh \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{3} + 3 \, {\left (\cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{2} + 3\right )} \sinh \left (b n \log \relax (x) + b \log \relax (c) + a\right )}{12 \, b n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(a+b*log(c*x^n))^3/x,x, algorithm="fricas")

[Out]

1/12*(sinh(b*n*log(x) + b*log(c) + a)^3 + 3*(cosh(b*n*log(x) + b*log(c) + a)^2 + 3)*sinh(b*n*log(x) + b*log(c)
 + a))/(b*n)

________________________________________________________________________________________

giac [B]  time = 0.16, size = 81, normalized size = 1.93 \[ \frac {{\left (c^{6 \, b} x^{3 \, b n} e^{\left (6 \, a\right )} + 9 \, c^{4 \, b} x^{b n} e^{\left (4 \, a\right )} - \frac {9 \, c^{2 \, b} x^{2 \, b n} e^{\left (2 \, a\right )} + 1}{x^{3 \, b n}}\right )} e^{\left (-3 \, a\right )}}{24 \, b c^{3 \, b} n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(a+b*log(c*x^n))^3/x,x, algorithm="giac")

[Out]

1/24*(c^(6*b)*x^(3*b*n)*e^(6*a) + 9*c^(4*b)*x^(b*n)*e^(4*a) - (9*c^(2*b)*x^(2*b*n)*e^(2*a) + 1)/x^(3*b*n))*e^(
-3*a)/(b*c^(3*b)*n)

________________________________________________________________________________________

maple [A]  time = 0.21, size = 36, normalized size = 0.86 \[ \frac {\left (\frac {2}{3}+\frac {\left (\cosh ^{2}\left (a +b \ln \left (c \,x^{n}\right )\right )\right )}{3}\right ) \sinh \left (a +b \ln \left (c \,x^{n}\right )\right )}{n b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cosh(a+b*ln(c*x^n))^3/x,x)

[Out]

1/n/b*(2/3+1/3*cosh(a+b*ln(c*x^n))^2)*sinh(a+b*ln(c*x^n))

________________________________________________________________________________________

maxima [B]  time = 0.33, size = 86, normalized size = 2.05 \[ \frac {e^{\left (3 \, b \log \left (c x^{n}\right ) + 3 \, a\right )}}{24 \, b n} + \frac {3 \, e^{\left (b \log \left (c x^{n}\right ) + a\right )}}{8 \, b n} - \frac {3 \, e^{\left (-b \log \left (c x^{n}\right ) - a\right )}}{8 \, b n} - \frac {e^{\left (-3 \, b \log \left (c x^{n}\right ) - 3 \, a\right )}}{24 \, b n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(a+b*log(c*x^n))^3/x,x, algorithm="maxima")

[Out]

1/24*e^(3*b*log(c*x^n) + 3*a)/(b*n) + 3/8*e^(b*log(c*x^n) + a)/(b*n) - 3/8*e^(-b*log(c*x^n) - a)/(b*n) - 1/24*
e^(-3*b*log(c*x^n) - 3*a)/(b*n)

________________________________________________________________________________________

mupad [B]  time = 1.05, size = 35, normalized size = 0.83 \[ \frac {{\mathrm {sinh}\left (a+b\,\ln \left (c\,x^n\right )\right )}^3+3\,\mathrm {sinh}\left (a+b\,\ln \left (c\,x^n\right )\right )}{3\,b\,n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cosh(a + b*log(c*x^n))^3/x,x)

[Out]

(3*sinh(a + b*log(c*x^n)) + sinh(a + b*log(c*x^n))^3)/(3*b*n)

________________________________________________________________________________________

sympy [A]  time = 10.57, size = 87, normalized size = 2.07 \[ \begin {cases} \log {\relax (x )} \cosh ^{3}{\relax (a )} & \text {for}\: b = 0 \wedge n = 0 \\\log {\relax (x )} \cosh ^{3}{\left (a + b \log {\relax (c )} \right )} & \text {for}\: n = 0 \\\log {\relax (x )} \cosh ^{3}{\relax (a )} & \text {for}\: b = 0 \\- \frac {2 \sinh ^{3}{\left (a + b n \log {\relax (x )} + b \log {\relax (c )} \right )}}{3 b n} + \frac {\sinh {\left (a + b n \log {\relax (x )} + b \log {\relax (c )} \right )} \cosh ^{2}{\left (a + b n \log {\relax (x )} + b \log {\relax (c )} \right )}}{b n} & \text {otherwise} \end {cases} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(a+b*ln(c*x**n))**3/x,x)

[Out]

Piecewise((log(x)*cosh(a)**3, Eq(b, 0) & Eq(n, 0)), (log(x)*cosh(a + b*log(c))**3, Eq(n, 0)), (log(x)*cosh(a)*
*3, Eq(b, 0)), (-2*sinh(a + b*n*log(x) + b*log(c))**3/(3*b*n) + sinh(a + b*n*log(x) + b*log(c))*cosh(a + b*n*l
og(x) + b*log(c))**2/(b*n), True))

________________________________________________________________________________________