Optimal. Leaf size=79 \[ x \left (-1-e^{2 a} x^{2 b}\right )^p \left (1+e^{2 a} x^{2 b}\right )^{-p} F_1\left (\frac {1}{2 b};p,-p;\frac {1}{2} \left (2+\frac {1}{b}\right );e^{2 a} x^{2 b},-e^{2 a} x^{2 b}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 79, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {5653, 441, 440}
\begin {gather*} x \left (-e^{2 a} x^{2 b}-1\right )^p \left (e^{2 a} x^{2 b}+1\right )^{-p} F_1\left (\frac {1}{2 b};p,-p;\frac {1}{2} \left (2+\frac {1}{b}\right );e^{2 a} x^{2 b},-e^{2 a} x^{2 b}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 440
Rule 441
Rule 5653
Rubi steps
\begin {align*} \int \coth ^p(a+b \log (x)) \, dx &=\int \coth ^p(a+b \log (x)) \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(259\) vs. \(2(79)=158\).
time = 1.36, size = 259, normalized size = 3.28 \begin {gather*} \frac {(1+2 b) x \left (\frac {1+e^{2 a} x^{2 b}}{-1+e^{2 a} x^{2 b}}\right )^p F_1\left (\frac {1}{2 b};p,-p;1+\frac {1}{2 b};e^{2 a} x^{2 b},-e^{2 a} x^{2 b}\right )}{2 b e^{2 a} p x^{2 b} F_1\left (1+\frac {1}{2 b};p,1-p;2+\frac {1}{2 b};e^{2 a} x^{2 b},-e^{2 a} x^{2 b}\right )+2 b e^{2 a} p x^{2 b} F_1\left (1+\frac {1}{2 b};1+p,-p;2+\frac {1}{2 b};e^{2 a} x^{2 b},-e^{2 a} x^{2 b}\right )+(1+2 b) F_1\left (\frac {1}{2 b};p,-p;1+\frac {1}{2 b};e^{2 a} x^{2 b},-e^{2 a} x^{2 b}\right )} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.85, size = 0, normalized size = 0.00 \[\int \coth ^{p}\left (a +b \ln \left (x \right )\right )\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \coth ^{p}{\left (a + b \log {\left (x \right )} \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\mathrm {coth}\left (a+b\,\ln \left (x\right )\right )}^p \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________