\(\int \frac {\text {arccosh}(a+b x)}{x} \, dx\) [87]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [B] (verified)
   Fricas [F]
   Sympy [F]
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 10, antiderivative size = 131 \[ \int \frac {\text {arccosh}(a+b x)}{x} \, dx=-\frac {1}{2} \text {arccosh}(a+b x)^2+\text {arccosh}(a+b x) \log \left (1-\frac {e^{\text {arccosh}(a+b x)}}{a-\sqrt {-1+a^2}}\right )+\text {arccosh}(a+b x) \log \left (1-\frac {e^{\text {arccosh}(a+b x)}}{a+\sqrt {-1+a^2}}\right )+\operatorname {PolyLog}\left (2,\frac {e^{\text {arccosh}(a+b x)}}{a-\sqrt {-1+a^2}}\right )+\operatorname {PolyLog}\left (2,\frac {e^{\text {arccosh}(a+b x)}}{a+\sqrt {-1+a^2}}\right ) \]

[Out]

-1/2*arccosh(b*x+a)^2+arccosh(b*x+a)*ln(1-(b*x+a+(b*x+a-1)^(1/2)*(b*x+a+1)^(1/2))/(a-(a^2-1)^(1/2)))+arccosh(b
*x+a)*ln(1-(b*x+a+(b*x+a-1)^(1/2)*(b*x+a+1)^(1/2))/(a+(a^2-1)^(1/2)))+polylog(2,(b*x+a+(b*x+a-1)^(1/2)*(b*x+a+
1)^(1/2))/(a-(a^2-1)^(1/2)))+polylog(2,(b*x+a+(b*x+a-1)^(1/2)*(b*x+a+1)^(1/2))/(a+(a^2-1)^(1/2)))

Rubi [A] (verified)

Time = 0.18 (sec) , antiderivative size = 131, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.600, Rules used = {5996, 5962, 5681, 2221, 2317, 2438} \[ \int \frac {\text {arccosh}(a+b x)}{x} \, dx=\operatorname {PolyLog}\left (2,\frac {e^{\text {arccosh}(a+b x)}}{a-\sqrt {a^2-1}}\right )+\operatorname {PolyLog}\left (2,\frac {e^{\text {arccosh}(a+b x)}}{a+\sqrt {a^2-1}}\right )+\text {arccosh}(a+b x) \log \left (1-\frac {e^{\text {arccosh}(a+b x)}}{a-\sqrt {a^2-1}}\right )+\text {arccosh}(a+b x) \log \left (1-\frac {e^{\text {arccosh}(a+b x)}}{\sqrt {a^2-1}+a}\right )-\frac {1}{2} \text {arccosh}(a+b x)^2 \]

[In]

Int[ArcCosh[a + b*x]/x,x]

[Out]

-1/2*ArcCosh[a + b*x]^2 + ArcCosh[a + b*x]*Log[1 - E^ArcCosh[a + b*x]/(a - Sqrt[-1 + a^2])] + ArcCosh[a + b*x]
*Log[1 - E^ArcCosh[a + b*x]/(a + Sqrt[-1 + a^2])] + PolyLog[2, E^ArcCosh[a + b*x]/(a - Sqrt[-1 + a^2])] + Poly
Log[2, E^ArcCosh[a + b*x]/(a + Sqrt[-1 + a^2])]

Rule 2221

Int[(((F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.)*((c_.) + (d_.)*(x_))^(m_.))/((a_) + (b_.)*((F_)^((g_.)*((e_.) +
 (f_.)*(x_))))^(n_.)), x_Symbol] :> Simp[((c + d*x)^m/(b*f*g*n*Log[F]))*Log[1 + b*((F^(g*(e + f*x)))^n/a)], x]
 - Dist[d*(m/(b*f*g*n*Log[F])), Int[(c + d*x)^(m - 1)*Log[1 + b*((F^(g*(e + f*x)))^n/a)], x], x] /; FreeQ[{F,
a, b, c, d, e, f, g, n}, x] && IGtQ[m, 0]

Rule 2317

Int[Log[(a_) + (b_.)*((F_)^((e_.)*((c_.) + (d_.)*(x_))))^(n_.)], x_Symbol] :> Dist[1/(d*e*n*Log[F]), Subst[Int
[Log[a + b*x]/x, x], x, (F^(e*(c + d*x)))^n], x] /; FreeQ[{F, a, b, c, d, e, n}, x] && GtQ[a, 0]

Rule 2438

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> Simp[-PolyLog[2, (-c)*e*x^n]/n, x] /; FreeQ[{c, d,
 e, n}, x] && EqQ[c*d, 1]

Rule 5681

Int[(((e_.) + (f_.)*(x_))^(m_.)*Sinh[(c_.) + (d_.)*(x_)])/(Cosh[(c_.) + (d_.)*(x_)]*(b_.) + (a_)), x_Symbol] :
> Simp[-(e + f*x)^(m + 1)/(b*f*(m + 1)), x] + (Int[(e + f*x)^m*(E^(c + d*x)/(a - Rt[a^2 - b^2, 2] + b*E^(c + d
*x))), x] + Int[(e + f*x)^m*(E^(c + d*x)/(a + Rt[a^2 - b^2, 2] + b*E^(c + d*x))), x]) /; FreeQ[{a, b, c, d, e,
 f}, x] && IGtQ[m, 0] && NeQ[a^2 - b^2, 0]

Rule 5962

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)/((d_.) + (e_.)*(x_)), x_Symbol] :> Subst[Int[(a + b*x)^n*(Sinh[x
]/(c*d + e*Cosh[x])), x], x, ArcCosh[c*x]] /; FreeQ[{a, b, c, d, e}, x] && IGtQ[n, 0]

Rule 5996

Int[((a_.) + ArcCosh[(c_) + (d_.)*(x_)]*(b_.))^(n_.)*((e_.) + (f_.)*(x_))^(m_.), x_Symbol] :> Dist[1/d, Subst[
Int[((d*e - c*f)/d + f*(x/d))^m*(a + b*ArcCosh[x])^n, x], x, c + d*x], x] /; FreeQ[{a, b, c, d, e, f, m, n}, x
]

Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {\text {arccosh}(x)}{-\frac {a}{b}+\frac {x}{b}} \, dx,x,a+b x\right )}{b} \\ & = \frac {\text {Subst}\left (\int \frac {x \sinh (x)}{-\frac {a}{b}+\frac {\cosh (x)}{b}} \, dx,x,\text {arccosh}(a+b x)\right )}{b} \\ & = -\frac {1}{2} \text {arccosh}(a+b x)^2+\frac {\text {Subst}\left (\int \frac {e^x x}{-\frac {a}{b}-\frac {\sqrt {-1+a^2}}{b}+\frac {e^x}{b}} \, dx,x,\text {arccosh}(a+b x)\right )}{b}+\frac {\text {Subst}\left (\int \frac {e^x x}{-\frac {a}{b}+\frac {\sqrt {-1+a^2}}{b}+\frac {e^x}{b}} \, dx,x,\text {arccosh}(a+b x)\right )}{b} \\ & = -\frac {1}{2} \text {arccosh}(a+b x)^2+\text {arccosh}(a+b x) \log \left (1-\frac {e^{\text {arccosh}(a+b x)}}{a-\sqrt {-1+a^2}}\right )+\text {arccosh}(a+b x) \log \left (1-\frac {e^{\text {arccosh}(a+b x)}}{a+\sqrt {-1+a^2}}\right )-\text {Subst}\left (\int \log \left (1+\frac {e^x}{\left (-\frac {a}{b}-\frac {\sqrt {-1+a^2}}{b}\right ) b}\right ) \, dx,x,\text {arccosh}(a+b x)\right )-\text {Subst}\left (\int \log \left (1+\frac {e^x}{\left (-\frac {a}{b}+\frac {\sqrt {-1+a^2}}{b}\right ) b}\right ) \, dx,x,\text {arccosh}(a+b x)\right ) \\ & = -\frac {1}{2} \text {arccosh}(a+b x)^2+\text {arccosh}(a+b x) \log \left (1-\frac {e^{\text {arccosh}(a+b x)}}{a-\sqrt {-1+a^2}}\right )+\text {arccosh}(a+b x) \log \left (1-\frac {e^{\text {arccosh}(a+b x)}}{a+\sqrt {-1+a^2}}\right )-\text {Subst}\left (\int \frac {\log \left (1+\frac {x}{\left (-\frac {a}{b}-\frac {\sqrt {-1+a^2}}{b}\right ) b}\right )}{x} \, dx,x,e^{\text {arccosh}(a+b x)}\right )-\text {Subst}\left (\int \frac {\log \left (1+\frac {x}{\left (-\frac {a}{b}+\frac {\sqrt {-1+a^2}}{b}\right ) b}\right )}{x} \, dx,x,e^{\text {arccosh}(a+b x)}\right ) \\ & = -\frac {1}{2} \text {arccosh}(a+b x)^2+\text {arccosh}(a+b x) \log \left (1-\frac {e^{\text {arccosh}(a+b x)}}{a-\sqrt {-1+a^2}}\right )+\text {arccosh}(a+b x) \log \left (1-\frac {e^{\text {arccosh}(a+b x)}}{a+\sqrt {-1+a^2}}\right )+\operatorname {PolyLog}\left (2,\frac {e^{\text {arccosh}(a+b x)}}{a-\sqrt {-1+a^2}}\right )+\operatorname {PolyLog}\left (2,\frac {e^{\text {arccosh}(a+b x)}}{a+\sqrt {-1+a^2}}\right ) \\ \end{align*}

Mathematica [A] (verified)

Time = 0.01 (sec) , antiderivative size = 153, normalized size of antiderivative = 1.17 \[ \int \frac {\text {arccosh}(a+b x)}{x} \, dx=-\frac {1}{2} \text {arccosh}(a+b x)^2+\text {arccosh}(a+b x) \log \left (1+\frac {e^{\text {arccosh}(a+b x)}}{\left (-\frac {a}{b}-\frac {\sqrt {-1+a^2}}{b}\right ) b}\right )+\text {arccosh}(a+b x) \log \left (1+\frac {e^{\text {arccosh}(a+b x)}}{\left (-\frac {a}{b}+\frac {\sqrt {-1+a^2}}{b}\right ) b}\right )+\operatorname {PolyLog}\left (2,-\frac {e^{\text {arccosh}(a+b x)}}{-a+\sqrt {-1+a^2}}\right )+\operatorname {PolyLog}\left (2,\frac {e^{\text {arccosh}(a+b x)}}{a+\sqrt {-1+a^2}}\right ) \]

[In]

Integrate[ArcCosh[a + b*x]/x,x]

[Out]

-1/2*ArcCosh[a + b*x]^2 + ArcCosh[a + b*x]*Log[1 + E^ArcCosh[a + b*x]/((-(a/b) - Sqrt[-1 + a^2]/b)*b)] + ArcCo
sh[a + b*x]*Log[1 + E^ArcCosh[a + b*x]/((-(a/b) + Sqrt[-1 + a^2]/b)*b)] + PolyLog[2, -(E^ArcCosh[a + b*x]/(-a
+ Sqrt[-1 + a^2]))] + PolyLog[2, E^ArcCosh[a + b*x]/(a + Sqrt[-1 + a^2])]

Maple [B] (verified)

Leaf count of result is larger than twice the leaf count of optimal. \(435\) vs. \(2(177)=354\).

Time = 0.92 (sec) , antiderivative size = 436, normalized size of antiderivative = 3.33

method result size
derivativedivides \(-\frac {\operatorname {arccosh}\left (b x +a \right )^{2}}{2}+\frac {a \,\operatorname {arccosh}\left (b x +a \right ) \ln \left (\frac {\sqrt {a^{2}-1}-b x -\sqrt {b x +a -1}\, \sqrt {b x +a +1}}{a +\sqrt {a^{2}-1}}\right )}{\sqrt {a^{2}-1}}-\frac {a \,\operatorname {arccosh}\left (b x +a \right ) \ln \left (\frac {\sqrt {a^{2}-1}+b x +\sqrt {b x +a -1}\, \sqrt {b x +a +1}}{-a +\sqrt {a^{2}-1}}\right )}{\sqrt {a^{2}-1}}-\frac {\left (a^{2}-1+a \sqrt {a^{2}-1}\right ) \operatorname {arccosh}\left (b x +a \right ) \left (2 \ln \left (\frac {\sqrt {a^{2}-1}-b x -\sqrt {b x +a -1}\, \sqrt {b x +a +1}}{a +\sqrt {a^{2}-1}}\right ) a^{2}-\ln \left (\frac {\sqrt {a^{2}-1}-b x -\sqrt {b x +a -1}\, \sqrt {b x +a +1}}{a +\sqrt {a^{2}-1}}\right )-\ln \left (\frac {\sqrt {a^{2}-1}+b x +\sqrt {b x +a -1}\, \sqrt {b x +a +1}}{-a +\sqrt {a^{2}-1}}\right )-2 a \sqrt {a^{2}-1}\, \ln \left (\frac {\sqrt {a^{2}-1}-b x -\sqrt {b x +a -1}\, \sqrt {b x +a +1}}{a +\sqrt {a^{2}-1}}\right )\right )}{a^{2}-1}+\operatorname {dilog}\left (\frac {\sqrt {a^{2}-1}-b x -\sqrt {b x +a -1}\, \sqrt {b x +a +1}}{a +\sqrt {a^{2}-1}}\right )+\operatorname {dilog}\left (\frac {\sqrt {a^{2}-1}+b x +\sqrt {b x +a -1}\, \sqrt {b x +a +1}}{-a +\sqrt {a^{2}-1}}\right )\) \(436\)
default \(-\frac {\operatorname {arccosh}\left (b x +a \right )^{2}}{2}+\frac {a \,\operatorname {arccosh}\left (b x +a \right ) \ln \left (\frac {\sqrt {a^{2}-1}-b x -\sqrt {b x +a -1}\, \sqrt {b x +a +1}}{a +\sqrt {a^{2}-1}}\right )}{\sqrt {a^{2}-1}}-\frac {a \,\operatorname {arccosh}\left (b x +a \right ) \ln \left (\frac {\sqrt {a^{2}-1}+b x +\sqrt {b x +a -1}\, \sqrt {b x +a +1}}{-a +\sqrt {a^{2}-1}}\right )}{\sqrt {a^{2}-1}}-\frac {\left (a^{2}-1+a \sqrt {a^{2}-1}\right ) \operatorname {arccosh}\left (b x +a \right ) \left (2 \ln \left (\frac {\sqrt {a^{2}-1}-b x -\sqrt {b x +a -1}\, \sqrt {b x +a +1}}{a +\sqrt {a^{2}-1}}\right ) a^{2}-\ln \left (\frac {\sqrt {a^{2}-1}-b x -\sqrt {b x +a -1}\, \sqrt {b x +a +1}}{a +\sqrt {a^{2}-1}}\right )-\ln \left (\frac {\sqrt {a^{2}-1}+b x +\sqrt {b x +a -1}\, \sqrt {b x +a +1}}{-a +\sqrt {a^{2}-1}}\right )-2 a \sqrt {a^{2}-1}\, \ln \left (\frac {\sqrt {a^{2}-1}-b x -\sqrt {b x +a -1}\, \sqrt {b x +a +1}}{a +\sqrt {a^{2}-1}}\right )\right )}{a^{2}-1}+\operatorname {dilog}\left (\frac {\sqrt {a^{2}-1}-b x -\sqrt {b x +a -1}\, \sqrt {b x +a +1}}{a +\sqrt {a^{2}-1}}\right )+\operatorname {dilog}\left (\frac {\sqrt {a^{2}-1}+b x +\sqrt {b x +a -1}\, \sqrt {b x +a +1}}{-a +\sqrt {a^{2}-1}}\right )\) \(436\)

[In]

int(arccosh(b*x+a)/x,x,method=_RETURNVERBOSE)

[Out]

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

Fricas [F]

\[ \int \frac {\text {arccosh}(a+b x)}{x} \, dx=\int { \frac {\operatorname {arcosh}\left (b x + a\right )}{x} \,d x } \]

[In]

integrate(arccosh(b*x+a)/x,x, algorithm="fricas")

[Out]

integral(arccosh(b*x + a)/x, x)

Sympy [F]

\[ \int \frac {\text {arccosh}(a+b x)}{x} \, dx=\int \frac {\operatorname {acosh}{\left (a + b x \right )}}{x}\, dx \]

[In]

integrate(acosh(b*x+a)/x,x)

[Out]

Integral(acosh(a + b*x)/x, x)

Maxima [F]

\[ \int \frac {\text {arccosh}(a+b x)}{x} \, dx=\int { \frac {\operatorname {arcosh}\left (b x + a\right )}{x} \,d x } \]

[In]

integrate(arccosh(b*x+a)/x,x, algorithm="maxima")

[Out]

integrate(arccosh(b*x + a)/x, x)

Giac [F]

\[ \int \frac {\text {arccosh}(a+b x)}{x} \, dx=\int { \frac {\operatorname {arcosh}\left (b x + a\right )}{x} \,d x } \]

[In]

integrate(arccosh(b*x+a)/x,x, algorithm="giac")

[Out]

integrate(arccosh(b*x + a)/x, x)

Mupad [F(-1)]

Timed out. \[ \int \frac {\text {arccosh}(a+b x)}{x} \, dx=\int \frac {\mathrm {acosh}\left (a+b\,x\right )}{x} \,d x \]

[In]

int(acosh(a + b*x)/x,x)

[Out]

int(acosh(a + b*x)/x, x)