Optimal. Leaf size=61 \[ x \left (1-e^{2 a} x^4\right )^{-p} \left (-1+e^{2 a} x^4\right )^p F_1\left (\frac {1}{4};-p,p;\frac {5}{4};e^{2 a} x^4,-e^{2 a} x^4\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 61, 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 = {5652, 441, 440}
\begin {gather*} x \left (1-e^{2 a} x^4\right )^{-p} \left (e^{2 a} x^4-1\right )^p F_1\left (\frac {1}{4};-p,p;\frac {5}{4};e^{2 a} x^4,-e^{2 a} x^4\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 440
Rule 441
Rule 5652
Rubi steps
\begin {align*} \int \tanh ^p(a+2 \log (x)) \, dx &=\int \tanh ^p(a+2 \log (x)) \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(171\) vs. \(2(61)=122\).
time = 1.32, size = 171, normalized size = 2.80 \begin {gather*} \frac {5 x \left (\frac {-1+e^{2 a} x^4}{1+e^{2 a} x^4}\right )^p F_1\left (\frac {1}{4};-p,p;\frac {5}{4};e^{2 a} x^4,-e^{2 a} x^4\right )}{5 F_1\left (\frac {1}{4};-p,p;\frac {5}{4};e^{2 a} x^4,-e^{2 a} x^4\right )-4 e^{2 a} p x^4 \left (F_1\left (\frac {5}{4};1-p,p;\frac {9}{4};e^{2 a} x^4,-e^{2 a} x^4\right )+F_1\left (\frac {5}{4};-p,1+p;\frac {9}{4};e^{2 a} x^4,-e^{2 a} x^4\right )\right )} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.62, size = 0, normalized size = 0.00 \[\int \tanh ^{p}\left (a +2 \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 \tanh ^{p}{\left (a + 2 \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.02 \begin {gather*} \int {\mathrm {tanh}\left (a+2\,\ln \left (x\right )\right )}^p \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________