3.3.34 \(\int \cosh ^{-1}(\sqrt {x}) \, dx\) [234]

Optimal. Leaf size=50 \[ -\frac {1}{2} \sqrt {-1+\sqrt {x}} \sqrt {1+\sqrt {x}} \sqrt {x}-\frac {1}{2} \cosh ^{-1}\left (\sqrt {x}\right )+x \cosh ^{-1}\left (\sqrt {x}\right ) \]

[Out]

-1/2*arccosh(x^(1/2))+x*arccosh(x^(1/2))-1/2*x^(1/2)*(-1+x^(1/2))^(1/2)*(1+x^(1/2))^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 50, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.833, Rules used = {6016, 12, 329, 336, 54} \begin {gather*} -\frac {1}{2} \sqrt {\sqrt {x}-1} \sqrt {\sqrt {x}+1} \sqrt {x}+x \cosh ^{-1}\left (\sqrt {x}\right )-\frac {1}{2} \cosh ^{-1}\left (\sqrt {x}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[ArcCosh[Sqrt[x]],x]

[Out]

-1/2*(Sqrt[-1 + Sqrt[x]]*Sqrt[1 + Sqrt[x]]*Sqrt[x]) - ArcCosh[Sqrt[x]]/2 + x*ArcCosh[Sqrt[x]]

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 54

Int[1/(Sqrt[(a_) + (b_.)*(x_)]*Sqrt[(c_) + (d_.)*(x_)]), x_Symbol] :> Simp[ArcCosh[b*(x/a)]/b, x] /; FreeQ[{a,
 b, c, d}, x] && EqQ[a + c, 0] && EqQ[b - d, 0] && GtQ[a, 0]

Rule 329

Int[((c_.)*(x_))^(m_)*((a1_) + (b1_.)*(x_)^(n_))^(p_)*((a2_) + (b2_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[c^(2*
n - 1)*(c*x)^(m - 2*n + 1)*(a1 + b1*x^n)^(p + 1)*((a2 + b2*x^n)^(p + 1)/(b1*b2*(m + 2*n*p + 1))), x] - Dist[a1
*a2*c^(2*n)*((m - 2*n + 1)/(b1*b2*(m + 2*n*p + 1))), Int[(c*x)^(m - 2*n)*(a1 + b1*x^n)^p*(a2 + b2*x^n)^p, x],
x] /; FreeQ[{a1, b1, a2, b2, c, p}, x] && EqQ[a2*b1 + a1*b2, 0] && IGtQ[2*n, 0] && GtQ[m, 2*n - 1] && NeQ[m +
2*n*p + 1, 0] && IntBinomialQ[a1*a2, b1*b2, c, 2*n, m, p, x]

Rule 336

Int[((c_.)*(x_))^(m_)*((a1_) + (b1_.)*(x_)^(n_))^(p_)*((a2_) + (b2_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{k =
Denominator[m]}, Dist[k/c, Subst[Int[x^(k*(m + 1) - 1)*(a1 + b1*(x^(k*n)/c^n))^p*(a2 + b2*(x^(k*n)/c^n))^p, x]
, x, (c*x)^(1/k)], x]] /; FreeQ[{a1, b1, a2, b2, c, p}, x] && EqQ[a2*b1 + a1*b2, 0] && IGtQ[2*n, 0] && Fractio
nQ[m] && IntBinomialQ[a1*a2, b1*b2, c, 2*n, m, p, x]

Rule 6016

Int[ArcCosh[u_], x_Symbol] :> Simp[x*ArcCosh[u], x] - Int[SimplifyIntegrand[x*(D[u, x]/(Sqrt[-1 + u]*Sqrt[1 +
u])), x], x] /; InverseFunctionFreeQ[u, x] &&  !FunctionOfExponentialQ[u, x]

Rubi steps

\begin {align*} \int \cosh ^{-1}\left (\sqrt {x}\right ) \, dx &=x \cosh ^{-1}\left (\sqrt {x}\right )-\int \frac {\sqrt {x}}{2 \sqrt {-1+\sqrt {x}} \sqrt {1+\sqrt {x}}} \, dx\\ &=x \cosh ^{-1}\left (\sqrt {x}\right )-\frac {1}{2} \int \frac {\sqrt {x}}{\sqrt {-1+\sqrt {x}} \sqrt {1+\sqrt {x}}} \, dx\\ &=-\frac {1}{2} \sqrt {-1+\sqrt {x}} \sqrt {1+\sqrt {x}} \sqrt {x}+x \cosh ^{-1}\left (\sqrt {x}\right )-\frac {1}{4} \int \frac {1}{\sqrt {-1+\sqrt {x}} \sqrt {1+\sqrt {x}} \sqrt {x}} \, dx\\ &=-\frac {1}{2} \sqrt {-1+\sqrt {x}} \sqrt {1+\sqrt {x}} \sqrt {x}+x \cosh ^{-1}\left (\sqrt {x}\right )-\frac {1}{2} \text {Subst}\left (\int \frac {1}{\sqrt {-1+x} \sqrt {1+x}} \, dx,x,\sqrt {x}\right )\\ &=-\frac {1}{2} \sqrt {-1+\sqrt {x}} \sqrt {1+\sqrt {x}} \sqrt {x}-\frac {1}{2} \cosh ^{-1}\left (\sqrt {x}\right )+x \cosh ^{-1}\left (\sqrt {x}\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(273\) vs. \(2(50)=100\).
time = 3.21, size = 273, normalized size = 5.46 \begin {gather*} -\frac {2 \left (4 \sqrt {1+\sqrt {x}} \left (-12-24 \sqrt {x}+x+5 x^{3/2}\right )+\sqrt {-1+\sqrt {x}} \sqrt {1+\sqrt {x}} \left (-84-10 \sqrt {x}+28 x+7 x^{3/2}\right )+\sqrt {3} \left (28+70 \sqrt {x}+18 x-14 x^{3/2}-4 x^2-4 \sqrt {-1+\sqrt {x}} \left (-12-8 \sqrt {x}+5 x+3 x^{3/2}\right )\right )\right )}{56-16 \sqrt {3} \sqrt {1+\sqrt {x}} \left (2+3 \sqrt {x}\right )+\sqrt {-1+\sqrt {x}} \left (96-8 \sqrt {3} \sqrt {1+\sqrt {x}} \left (7+2 \sqrt {x}\right )+80 \sqrt {x}\right )+112 \sqrt {x}+28 x}+x \cosh ^{-1}\left (\sqrt {x}\right )+2 \tanh ^{-1}\left (\frac {-1+\sqrt {-1+\sqrt {x}}}{\sqrt {3}-\sqrt {1+\sqrt {x}}}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[ArcCosh[Sqrt[x]],x]

[Out]

(-2*(4*Sqrt[1 + Sqrt[x]]*(-12 - 24*Sqrt[x] + x + 5*x^(3/2)) + Sqrt[-1 + Sqrt[x]]*Sqrt[1 + Sqrt[x]]*(-84 - 10*S
qrt[x] + 28*x + 7*x^(3/2)) + Sqrt[3]*(28 + 70*Sqrt[x] + 18*x - 14*x^(3/2) - 4*x^2 - 4*Sqrt[-1 + Sqrt[x]]*(-12
- 8*Sqrt[x] + 5*x + 3*x^(3/2)))))/(56 - 16*Sqrt[3]*Sqrt[1 + Sqrt[x]]*(2 + 3*Sqrt[x]) + Sqrt[-1 + Sqrt[x]]*(96
- 8*Sqrt[3]*Sqrt[1 + Sqrt[x]]*(7 + 2*Sqrt[x]) + 80*Sqrt[x]) + 112*Sqrt[x] + 28*x) + x*ArcCosh[Sqrt[x]] + 2*Arc
Tanh[(-1 + Sqrt[-1 + Sqrt[x]])/(Sqrt[3] - Sqrt[1 + Sqrt[x]])]

________________________________________________________________________________________

Maple [A]
time = 0.02, size = 49, normalized size = 0.98

method result size
derivativedivides \(x \,\mathrm {arccosh}\left (\sqrt {x}\right )-\frac {\sqrt {-1+\sqrt {x}}\, \sqrt {1+\sqrt {x}}\, \left (\sqrt {x}\, \sqrt {-1+x}+\ln \left (\sqrt {x}+\sqrt {-1+x}\right )\right )}{2 \sqrt {-1+x}}\) \(49\)
default \(x \,\mathrm {arccosh}\left (\sqrt {x}\right )-\frac {\sqrt {-1+\sqrt {x}}\, \sqrt {1+\sqrt {x}}\, \left (\sqrt {x}\, \sqrt {-1+x}+\ln \left (\sqrt {x}+\sqrt {-1+x}\right )\right )}{2 \sqrt {-1+x}}\) \(49\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(arccosh(x^(1/2)),x,method=_RETURNVERBOSE)

[Out]

x*arccosh(x^(1/2))-1/2*(-1+x^(1/2))^(1/2)*(1+x^(1/2))^(1/2)*(x^(1/2)*(-1+x)^(1/2)+ln(x^(1/2)+(-1+x)^(1/2)))/(-
1+x)^(1/2)

________________________________________________________________________________________

Maxima [A]
time = 0.30, size = 33, normalized size = 0.66 \begin {gather*} x \operatorname {arcosh}\left (\sqrt {x}\right ) - \frac {1}{2} \, \sqrt {x - 1} \sqrt {x} - \frac {1}{2} \, \log \left (2 \, \sqrt {x - 1} + 2 \, \sqrt {x}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arccosh(x^(1/2)),x, algorithm="maxima")

[Out]

x*arccosh(sqrt(x)) - 1/2*sqrt(x - 1)*sqrt(x) - 1/2*log(2*sqrt(x - 1) + 2*sqrt(x))

________________________________________________________________________________________

Fricas [A]
time = 0.35, size = 28, normalized size = 0.56 \begin {gather*} \frac {1}{2} \, {\left (2 \, x - 1\right )} \log \left (\sqrt {x - 1} + \sqrt {x}\right ) - \frac {1}{2} \, \sqrt {x - 1} \sqrt {x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arccosh(x^(1/2)),x, algorithm="fricas")

[Out]

1/2*(2*x - 1)*log(sqrt(x - 1) + sqrt(x)) - 1/2*sqrt(x - 1)*sqrt(x)

________________________________________________________________________________________

Sympy [A]
time = 0.09, size = 29, normalized size = 0.58 \begin {gather*} - \frac {\sqrt {x} \sqrt {x - 1}}{2} + x \operatorname {acosh}{\left (\sqrt {x} \right )} - \frac {\operatorname {acosh}{\left (\sqrt {x} \right )}}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(acosh(x**(1/2)),x)

[Out]

-sqrt(x)*sqrt(x - 1)/2 + x*acosh(sqrt(x)) - acosh(sqrt(x))/2

________________________________________________________________________________________

Giac [A]
time = 1.63, size = 47, normalized size = 0.94 \begin {gather*} x \log \left (\sqrt {\sqrt {x} + 1} \sqrt {\sqrt {x} - 1} + \sqrt {x}\right ) - \frac {1}{2} \, \sqrt {x - 1} \sqrt {x} + \frac {1}{2} \, \log \left (-\sqrt {x - 1} + \sqrt {x}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arccosh(x^(1/2)),x, algorithm="giac")

[Out]

x*log(sqrt(sqrt(x) + 1)*sqrt(sqrt(x) - 1) + sqrt(x)) - 1/2*sqrt(x - 1)*sqrt(x) + 1/2*log(-sqrt(x - 1) + sqrt(x
))

________________________________________________________________________________________

Mupad [B]
time = 1.43, size = 40, normalized size = 0.80 \begin {gather*} -2\,\sqrt {x}\,\mathrm {acosh}\left (\sqrt {x}\right )\,\left (\frac {1}{4\,\sqrt {x}}-\frac {\sqrt {x}}{2}\right )-\frac {\sqrt {x}\,\sqrt {\sqrt {x}-1}\,\sqrt {\sqrt {x}+1}}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(acosh(x^(1/2)),x)

[Out]

- 2*x^(1/2)*acosh(x^(1/2))*(1/(4*x^(1/2)) - x^(1/2)/2) - (x^(1/2)*(x^(1/2) - 1)^(1/2)*(x^(1/2) + 1)^(1/2))/2

________________________________________________________________________________________