3.165 \(\int \tanh ^p(a+\frac{\log (x)}{2}) \, dx\)

Optimal. Leaf size=51 \[ \frac{e^{-2 a} 2^{-p} \left (e^{2 a} x-1\right )^{p+1} \, _2F_1\left (p,p+1;p+2;\frac{1}{2} \left (1-e^{2 a} x\right )\right )}{p+1} \]

[Out]

((-1 + E^(2*a)*x)^(1 + p)*Hypergeometric2F1[p, 1 + p, 2 + p, (1 - E^(2*a)*x)/2])/(2^p*E^(2*a)*(1 + p))

________________________________________________________________________________________

Rubi [F]  time = 0.0468423, antiderivative size = 0, normalized size of antiderivative = 0., number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0., Rules used = {} \[ \int \tanh ^p\left (a+\frac{\log (x)}{2}\right ) \, dx \]

Verification is Not applicable to the result.

[In]

Int[Tanh[a + Log[x]/2]^p,x]

[Out]

Defer[Int][Tanh[(2*a + Log[x])/2]^p, x]

Rubi steps

\begin{align*} \int \tanh ^p\left (a+\frac{\log (x)}{2}\right ) \, dx &=\int \tanh ^p\left (\frac{1}{2} (2 a+\log (x))\right ) \, dx\\ \end{align*}

Mathematica [A]  time = 2.90375, size = 76, normalized size = 1.49 \[ \frac{e^{-2 a} 2^{-p} \left (\frac{e^{2 a} x-1}{e^{2 a} x+1}\right )^{p+1} \left (e^{2 a} x+1\right )^{p+1} \, _2F_1\left (p,p+1;p+2;\frac{1}{2} \left (1-e^{2 a} x\right )\right )}{p+1} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[Tanh[a + Log[x]/2]^p,x]

[Out]

(((-1 + E^(2*a)*x)/(1 + E^(2*a)*x))^(1 + p)*(1 + E^(2*a)*x)^(1 + p)*Hypergeometric2F1[p, 1 + p, 2 + p, (1 - E^
(2*a)*x)/2])/(2^p*E^(2*a)*(1 + p))

________________________________________________________________________________________

Maple [F]  time = 0.033, size = 0, normalized size = 0. \begin{align*} \int \left ( \tanh \left ( a+{\frac{\ln \left ( x \right ) }{2}} \right ) \right ) ^{p}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(tanh(a+1/2*ln(x))^p,x)

[Out]

int(tanh(a+1/2*ln(x))^p,x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \tanh \left (a + \frac{1}{2} \, \log \left (x\right )\right )^{p}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(tanh(a+1/2*log(x))^p,x, algorithm="maxima")

[Out]

integrate(tanh(a + 1/2*log(x))^p, x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\tanh \left (a + \frac{1}{2} \, \log \left (x\right )\right )^{p}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(tanh(a+1/2*log(x))^p,x, algorithm="fricas")

[Out]

integral(tanh(a + 1/2*log(x))^p, x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \tanh ^{p}{\left (a + \frac{\log{\left (x \right )}}{2} \right )}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(tanh(a+1/2*ln(x))**p,x)

[Out]

Integral(tanh(a + log(x)/2)**p, x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \tanh \left (a + \frac{1}{2} \, \log \left (x\right )\right )^{p}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(tanh(a+1/2*log(x))^p,x, algorithm="giac")

[Out]

integrate(tanh(a + 1/2*log(x))^p, x)