Optimal. Leaf size=73 \[ \frac {(m+1) x^{m+1} \cosh \left (a+b \log \left (c x^n\right )\right )}{(m+1)^2-b^2 n^2}-\frac {b n x^{m+1} \sinh \left (a+b \log \left (c x^n\right )\right )}{(m+1)^2-b^2 n^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 73, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {5528} \[ \frac {(m+1) x^{m+1} \cosh \left (a+b \log \left (c x^n\right )\right )}{(m+1)^2-b^2 n^2}-\frac {b n x^{m+1} \sinh \left (a+b \log \left (c x^n\right )\right )}{(m+1)^2-b^2 n^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5528
Rubi steps
\begin {align*} \int x^m \cosh \left (a+b \log \left (c x^n\right )\right ) \, dx &=\frac {(1+m) x^{1+m} \cosh \left (a+b \log \left (c x^n\right )\right )}{(1+m)^2-b^2 n^2}-\frac {b n x^{1+m} \sinh \left (a+b \log \left (c x^n\right )\right )}{(1+m)^2-b^2 n^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.14, size = 54, normalized size = 0.74 \[ \frac {x^{m+1} \left ((m+1) \cosh \left (a+b \log \left (c x^n\right )\right )-b n \sinh \left (a+b \log \left (c x^n\right )\right )\right )}{(-b n+m+1) (b n+m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.47, size = 99, normalized size = 1.36 \[ -\frac {{\left (m + 1\right )} x \cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right ) \cosh \left (m \log \relax (x)\right ) + {\left (m + 1\right )} x \cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right ) \sinh \left (m \log \relax (x)\right ) - {\left (b n x \cosh \left (m \log \relax (x)\right ) + b n x \sinh \left (m \log \relax (x)\right )\right )} \sinh \left (b n \log \relax (x) + b \log \relax (c) + a\right )}{b^{2} n^{2} - m^{2} - 2 \, m - 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.16, size = 235, normalized size = 3.22 \[ \frac {b c^{b} n x x^{b n} x^{m} e^{a}}{2 \, {\left (b^{2} n^{2} - m^{2} - 2 \, m - 1\right )}} - \frac {c^{b} m x x^{b n} x^{m} e^{a}}{2 \, {\left (b^{2} n^{2} - m^{2} - 2 \, m - 1\right )}} - \frac {c^{b} x x^{b n} x^{m} e^{a}}{2 \, {\left (b^{2} n^{2} - m^{2} - 2 \, m - 1\right )}} - \frac {b n x x^{m} e^{\left (-a\right )}}{2 \, {\left (b^{2} n^{2} - m^{2} - 2 \, m - 1\right )} c^{b} x^{b n}} - \frac {m x x^{m} e^{\left (-a\right )}}{2 \, {\left (b^{2} n^{2} - m^{2} - 2 \, m - 1\right )} c^{b} x^{b n}} - \frac {x x^{m} e^{\left (-a\right )}}{2 \, {\left (b^{2} n^{2} - m^{2} - 2 \, m - 1\right )} c^{b} x^{b n}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.08, size = 0, normalized size = 0.00 \[ \int x^{m} \cosh \left (a +b \ln \left (c \,x^{n}\right )\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.36, size = 64, normalized size = 0.88 \[ \frac {c^{b} x e^{\left (b \log \left (x^{n}\right ) + m \log \relax (x) + a\right )}}{2 \, {\left (b n + m + 1\right )}} - \frac {x e^{\left (-b \log \left (x^{n}\right ) + m \log \relax (x) - a\right )}}{2 \, {\left (b c^{b} n - c^{b} {\left (m + 1\right )}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.05, size = 55, normalized size = 0.75 \[ \frac {x\,x^m\,{\mathrm {e}}^{-a}}{{\left (c\,x^n\right )}^b\,\left (2\,m-2\,b\,n+2\right )}+\frac {x\,x^m\,{\mathrm {e}}^a\,{\left (c\,x^n\right )}^b}{2\,m+2\,b\,n+2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \begin {cases} \log {\relax (x )} \cosh {\relax (a )} & \text {for}\: b = 0 \wedge m = -1 \\\int x^{m} \cosh {\left (a - \frac {m \log {\left (c x^{n} \right )}}{n} - \frac {\log {\left (c x^{n} \right )}}{n} \right )}\, dx & \text {for}\: b = - \frac {m + 1}{n} \\\int x^{m} \cosh {\left (a + \frac {m \log {\left (c x^{n} \right )}}{n} + \frac {\log {\left (c x^{n} \right )}}{n} \right )}\, dx & \text {for}\: b = \frac {m + 1}{n} \\\frac {b n x x^{m} \sinh {\left (a + b n \log {\relax (x )} + b \log {\relax (c )} \right )}}{b^{2} n^{2} - m^{2} - 2 m - 1} - \frac {m x x^{m} \cosh {\left (a + b n \log {\relax (x )} + b \log {\relax (c )} \right )}}{b^{2} n^{2} - m^{2} - 2 m - 1} - \frac {x x^{m} \cosh {\left (a + b n \log {\relax (x )} + b \log {\relax (c )} \right )}}{b^{2} n^{2} - m^{2} - 2 m - 1} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________