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]
________________________________________________________________________________________
Rubi [A] time = 0.0324898, antiderivative size = 42, normalized size of antiderivative = 1., 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]
[Out]
Rule 2633
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.0094332, size = 42, normalized size = 1. \[ \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]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.014, size = 36, normalized size = 0.9 \begin{align*}{\frac{\sinh \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) }{nb} \left ({\frac{2}{3}}+{\frac{ \left ( \cosh \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) \right ) ^{2}}{3}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.02788, size = 116, normalized size = 2.76 \begin{align*} \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} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.91825, size = 167, normalized size = 3.98 \begin{align*} \frac{\sinh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )^{3} + 3 \,{\left (\cosh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )^{2} + 3\right )} \sinh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )}{12 \, b n} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 16.1491, size = 87, normalized size = 2.07 \begin{align*} \begin{cases} \log{\left (x \right )} \cosh ^{3}{\left (a \right )} & \text{for}\: b = 0 \wedge n = 0 \\\log{\left (x \right )} \cosh ^{3}{\left (a + b \log{\left (c \right )} \right )} & \text{for}\: n = 0 \\\log{\left (x \right )} \cosh ^{3}{\left (a \right )} & \text{for}\: b = 0 \\- \frac{2 \sinh ^{3}{\left (a + b n \log{\left (x \right )} + b \log{\left (c \right )} \right )}}{3 b n} + \frac{\sinh{\left (a + b n \log{\left (x \right )} + b \log{\left (c \right )} \right )} \cosh ^{2}{\left (a + b n \log{\left (x \right )} + b \log{\left (c \right )} \right )}}{b n} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.20838, size = 109, normalized size = 2.6 \begin{align*} \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} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]