\(\int \frac {\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))}{x} \, dx\) [133]

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

Optimal result

Integrand size = 26, antiderivative size = 177 \[ \int \frac {\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))}{x} \, dx=-\frac {b c x \sqrt {d+c^2 d x^2}}{\sqrt {1+c^2 x^2}}+\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))-\frac {2 \sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x)) \text {arctanh}\left (e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}}-\frac {b \sqrt {d+c^2 d x^2} \operatorname {PolyLog}\left (2,-e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}}+\frac {b \sqrt {d+c^2 d x^2} \operatorname {PolyLog}\left (2,e^{\text {arcsinh}(c x)}\right )}{\sqrt {1+c^2 x^2}} \] Output:

-b*c*x*(c^2*d*x^2+d)^(1/2)/(c^2*x^2+1)^(1/2)+(c^2*d*x^2+d)^(1/2)*(a+b*arcs 
inh(c*x))-2*(c^2*d*x^2+d)^(1/2)*(a+b*arcsinh(c*x))*arctanh(c*x+(c^2*x^2+1) 
^(1/2))/(c^2*x^2+1)^(1/2)-b*(c^2*d*x^2+d)^(1/2)*polylog(2,-c*x-(c^2*x^2+1) 
^(1/2))/(c^2*x^2+1)^(1/2)+b*(c^2*d*x^2+d)^(1/2)*polylog(2,c*x+(c^2*x^2+1)^ 
(1/2))/(c^2*x^2+1)^(1/2)
 

Mathematica [A] (verified)

Time = 0.37 (sec) , antiderivative size = 168, normalized size of antiderivative = 0.95 \[ \int \frac {\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))}{x} \, dx=a \sqrt {d+c^2 d x^2}+a \sqrt {d} \log (x)-a \sqrt {d} \log \left (d+\sqrt {d} \sqrt {d+c^2 d x^2}\right )+\frac {b \sqrt {d+c^2 d x^2} \left (-c x+\sqrt {1+c^2 x^2} \text {arcsinh}(c x)+\text {arcsinh}(c x) \log \left (1-e^{-\text {arcsinh}(c x)}\right )-\text {arcsinh}(c x) \log \left (1+e^{-\text {arcsinh}(c x)}\right )+\operatorname {PolyLog}\left (2,-e^{-\text {arcsinh}(c x)}\right )-\operatorname {PolyLog}\left (2,e^{-\text {arcsinh}(c x)}\right )\right )}{\sqrt {1+c^2 x^2}} \] Input:

Integrate[(Sqrt[d + c^2*d*x^2]*(a + b*ArcSinh[c*x]))/x,x]
 

Output:

a*Sqrt[d + c^2*d*x^2] + a*Sqrt[d]*Log[x] - a*Sqrt[d]*Log[d + Sqrt[d]*Sqrt[ 
d + c^2*d*x^2]] + (b*Sqrt[d + c^2*d*x^2]*(-(c*x) + Sqrt[1 + c^2*x^2]*ArcSi 
nh[c*x] + ArcSinh[c*x]*Log[1 - E^(-ArcSinh[c*x])] - ArcSinh[c*x]*Log[1 + E 
^(-ArcSinh[c*x])] + PolyLog[2, -E^(-ArcSinh[c*x])] - PolyLog[2, E^(-ArcSin 
h[c*x])]))/Sqrt[1 + c^2*x^2]
 

Rubi [C] (verified)

Result contains complex when optimal does not.

Time = 0.67 (sec) , antiderivative size = 135, normalized size of antiderivative = 0.76, number of steps used = 9, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {6221, 24, 6231, 3042, 26, 4670, 2715, 2838}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {\sqrt {c^2 d x^2+d} (a+b \text {arcsinh}(c x))}{x} \, dx\)

\(\Big \downarrow \) 6221

\(\displaystyle \frac {\sqrt {c^2 d x^2+d} \int \frac {a+b \text {arcsinh}(c x)}{x \sqrt {c^2 x^2+1}}dx}{\sqrt {c^2 x^2+1}}-\frac {b c \sqrt {c^2 d x^2+d} \int 1dx}{\sqrt {c^2 x^2+1}}+\sqrt {c^2 d x^2+d} (a+b \text {arcsinh}(c x))\)

\(\Big \downarrow \) 24

\(\displaystyle \frac {\sqrt {c^2 d x^2+d} \int \frac {a+b \text {arcsinh}(c x)}{x \sqrt {c^2 x^2+1}}dx}{\sqrt {c^2 x^2+1}}+\sqrt {c^2 d x^2+d} (a+b \text {arcsinh}(c x))-\frac {b c x \sqrt {c^2 d x^2+d}}{\sqrt {c^2 x^2+1}}\)

\(\Big \downarrow \) 6231

\(\displaystyle \frac {\sqrt {c^2 d x^2+d} \int \frac {a+b \text {arcsinh}(c x)}{c x}d\text {arcsinh}(c x)}{\sqrt {c^2 x^2+1}}+\sqrt {c^2 d x^2+d} (a+b \text {arcsinh}(c x))-\frac {b c x \sqrt {c^2 d x^2+d}}{\sqrt {c^2 x^2+1}}\)

\(\Big \downarrow \) 3042

\(\displaystyle \frac {\sqrt {c^2 d x^2+d} \int i (a+b \text {arcsinh}(c x)) \csc (i \text {arcsinh}(c x))d\text {arcsinh}(c x)}{\sqrt {c^2 x^2+1}}+\sqrt {c^2 d x^2+d} (a+b \text {arcsinh}(c x))-\frac {b c x \sqrt {c^2 d x^2+d}}{\sqrt {c^2 x^2+1}}\)

\(\Big \downarrow \) 26

\(\displaystyle \frac {i \sqrt {c^2 d x^2+d} \int (a+b \text {arcsinh}(c x)) \csc (i \text {arcsinh}(c x))d\text {arcsinh}(c x)}{\sqrt {c^2 x^2+1}}+\sqrt {c^2 d x^2+d} (a+b \text {arcsinh}(c x))-\frac {b c x \sqrt {c^2 d x^2+d}}{\sqrt {c^2 x^2+1}}\)

\(\Big \downarrow \) 4670

\(\displaystyle \frac {i \sqrt {c^2 d x^2+d} \left (i b \int \log \left (1-e^{\text {arcsinh}(c x)}\right )d\text {arcsinh}(c x)-i b \int \log \left (1+e^{\text {arcsinh}(c x)}\right )d\text {arcsinh}(c x)+2 i \text {arctanh}\left (e^{\text {arcsinh}(c x)}\right ) (a+b \text {arcsinh}(c x))\right )}{\sqrt {c^2 x^2+1}}+\sqrt {c^2 d x^2+d} (a+b \text {arcsinh}(c x))-\frac {b c x \sqrt {c^2 d x^2+d}}{\sqrt {c^2 x^2+1}}\)

\(\Big \downarrow \) 2715

\(\displaystyle \frac {i \sqrt {c^2 d x^2+d} \left (i b \int e^{-\text {arcsinh}(c x)} \log \left (1-e^{\text {arcsinh}(c x)}\right )de^{\text {arcsinh}(c x)}-i b \int e^{-\text {arcsinh}(c x)} \log \left (1+e^{\text {arcsinh}(c x)}\right )de^{\text {arcsinh}(c x)}+2 i \text {arctanh}\left (e^{\text {arcsinh}(c x)}\right ) (a+b \text {arcsinh}(c x))\right )}{\sqrt {c^2 x^2+1}}+\sqrt {c^2 d x^2+d} (a+b \text {arcsinh}(c x))-\frac {b c x \sqrt {c^2 d x^2+d}}{\sqrt {c^2 x^2+1}}\)

\(\Big \downarrow \) 2838

\(\displaystyle \frac {i \sqrt {c^2 d x^2+d} \left (2 i \text {arctanh}\left (e^{\text {arcsinh}(c x)}\right ) (a+b \text {arcsinh}(c x))+i b \operatorname {PolyLog}\left (2,-e^{\text {arcsinh}(c x)}\right )-i b \operatorname {PolyLog}\left (2,e^{\text {arcsinh}(c x)}\right )\right )}{\sqrt {c^2 x^2+1}}+\sqrt {c^2 d x^2+d} (a+b \text {arcsinh}(c x))-\frac {b c x \sqrt {c^2 d x^2+d}}{\sqrt {c^2 x^2+1}}\)

Input:

Int[(Sqrt[d + c^2*d*x^2]*(a + b*ArcSinh[c*x]))/x,x]
 

Output:

-((b*c*x*Sqrt[d + c^2*d*x^2])/Sqrt[1 + c^2*x^2]) + Sqrt[d + c^2*d*x^2]*(a 
+ b*ArcSinh[c*x]) + (I*Sqrt[d + c^2*d*x^2]*((2*I)*(a + b*ArcSinh[c*x])*Arc 
Tanh[E^ArcSinh[c*x]] + I*b*PolyLog[2, -E^ArcSinh[c*x]] - I*b*PolyLog[2, E^ 
ArcSinh[c*x]]))/Sqrt[1 + c^2*x^2]
 

Defintions of rubi rules used

rule 24
Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]
 

rule 26
Int[(Complex[0, a_])*(Fx_), x_Symbol] :> Simp[(Complex[Identity[0], a])   I 
nt[Fx, x], x] /; FreeQ[a, x] && EqQ[a^2, 1]
 

rule 2715
Int[Log[(a_) + (b_.)*((F_)^((e_.)*((c_.) + (d_.)*(x_))))^(n_.)], x_Symbol] 
:> Simp[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 2838
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 3042
Int[u_, x_Symbol] :> Int[DeactivateTrig[u, x], x] /; FunctionOfTrigOfLinear 
Q[u, x]
 

rule 4670
Int[csc[(e_.) + (Complex[0, fz_])*(f_.)*(x_)]*((c_.) + (d_.)*(x_))^(m_.), x 
_Symbol] :> Simp[-2*(c + d*x)^m*(ArcTanh[E^((-I)*e + f*fz*x)]/(f*fz*I)), x] 
 + (-Simp[d*(m/(f*fz*I))   Int[(c + d*x)^(m - 1)*Log[1 - E^((-I)*e + f*fz*x 
)], x], x] + Simp[d*(m/(f*fz*I))   Int[(c + d*x)^(m - 1)*Log[1 + E^((-I)*e 
+ f*fz*x)], x], x]) /; FreeQ[{c, d, e, f, fz}, x] && IGtQ[m, 0]
 

rule 6221
Int[((a_.) + ArcSinh[(c_.)*(x_)]*(b_.))^(n_.)*((f_.)*(x_))^(m_)*Sqrt[(d_) + 
 (e_.)*(x_)^2], x_Symbol] :> Simp[(f*x)^(m + 1)*Sqrt[d + e*x^2]*((a + b*Arc 
Sinh[c*x])^n/(f*(m + 2))), x] + (Simp[(1/(m + 2))*Simp[Sqrt[d + e*x^2]/Sqrt 
[1 + c^2*x^2]]   Int[(f*x)^m*((a + b*ArcSinh[c*x])^n/Sqrt[1 + c^2*x^2]), x] 
, x] - Simp[b*c*(n/(f*(m + 2)))*Simp[Sqrt[d + e*x^2]/Sqrt[1 + c^2*x^2]]   I 
nt[(f*x)^(m + 1)*(a + b*ArcSinh[c*x])^(n - 1), x], x]) /; FreeQ[{a, b, c, d 
, e, f, m}, x] && EqQ[e, c^2*d] && IGtQ[n, 0] && (IGtQ[m, -2] || EqQ[n, 1])
 

rule 6231
Int[(((a_.) + ArcSinh[(c_.)*(x_)]*(b_.))^(n_.)*(x_)^(m_))/Sqrt[(d_) + (e_.) 
*(x_)^2], x_Symbol] :> Simp[(1/c^(m + 1))*Simp[Sqrt[1 + c^2*x^2]/Sqrt[d + e 
*x^2]]   Subst[Int[(a + b*x)^n*Sinh[x]^m, x], x, ArcSinh[c*x]], x] /; FreeQ 
[{a, b, c, d, e}, x] && EqQ[e, c^2*d] && IGtQ[n, 0] && IntegerQ[m]
 
Maple [A] (verified)

Time = 0.83 (sec) , antiderivative size = 331, normalized size of antiderivative = 1.87

method result size
default \(-\sqrt {d}\, \ln \left (\frac {2 d +2 \sqrt {d}\, \sqrt {c^{2} d \,x^{2}+d}}{x}\right ) a +\sqrt {c^{2} d \,x^{2}+d}\, a +\frac {b \,c^{2} x^{2} \operatorname {arcsinh}\left (x c \right ) \sqrt {d \left (c^{2} x^{2}+1\right )}}{c^{2} x^{2}+1}-\frac {b c x \sqrt {d \left (c^{2} x^{2}+1\right )}}{\sqrt {c^{2} x^{2}+1}}+\frac {b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (x c \right )}{c^{2} x^{2}+1}+\frac {b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (x c \right ) \ln \left (1-x c -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}+\frac {b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {polylog}\left (2, x c +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}-\frac {b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (x c \right ) \ln \left (1+x c +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}-\frac {b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {polylog}\left (2, -x c -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}\) \(331\)
parts \(-\sqrt {d}\, \ln \left (\frac {2 d +2 \sqrt {d}\, \sqrt {c^{2} d \,x^{2}+d}}{x}\right ) a +\sqrt {c^{2} d \,x^{2}+d}\, a +\frac {b \,c^{2} x^{2} \operatorname {arcsinh}\left (x c \right ) \sqrt {d \left (c^{2} x^{2}+1\right )}}{c^{2} x^{2}+1}-\frac {b c x \sqrt {d \left (c^{2} x^{2}+1\right )}}{\sqrt {c^{2} x^{2}+1}}+\frac {b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (x c \right )}{c^{2} x^{2}+1}+\frac {b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (x c \right ) \ln \left (1-x c -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}+\frac {b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {polylog}\left (2, x c +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}-\frac {b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (x c \right ) \ln \left (1+x c +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}-\frac {b \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {polylog}\left (2, -x c -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}}\) \(331\)

Input:

int((c^2*d*x^2+d)^(1/2)*(a+b*arcsinh(x*c))/x,x,method=_RETURNVERBOSE)
 

Output:

-d^(1/2)*ln((2*d+2*d^(1/2)*(c^2*d*x^2+d)^(1/2))/x)*a+(c^2*d*x^2+d)^(1/2)*a 
+b*c^2*x^2*arcsinh(x*c)/(c^2*x^2+1)*(d*(c^2*x^2+1))^(1/2)-b*c*x*(d*(c^2*x^ 
2+1))^(1/2)/(c^2*x^2+1)^(1/2)+b*(d*(c^2*x^2+1))^(1/2)/(c^2*x^2+1)*arcsinh( 
x*c)+b*(d*(c^2*x^2+1))^(1/2)/(c^2*x^2+1)^(1/2)*arcsinh(x*c)*ln(1-x*c-(c^2* 
x^2+1)^(1/2))+b*(d*(c^2*x^2+1))^(1/2)/(c^2*x^2+1)^(1/2)*polylog(2,x*c+(c^2 
*x^2+1)^(1/2))-b*(d*(c^2*x^2+1))^(1/2)/(c^2*x^2+1)^(1/2)*arcsinh(x*c)*ln(1 
+x*c+(c^2*x^2+1)^(1/2))-b*(d*(c^2*x^2+1))^(1/2)/(c^2*x^2+1)^(1/2)*polylog( 
2,-x*c-(c^2*x^2+1)^(1/2))
 

Fricas [F]

\[ \int \frac {\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))}{x} \, dx=\int { \frac {\sqrt {c^{2} d x^{2} + d} {\left (b \operatorname {arsinh}\left (c x\right ) + a\right )}}{x} \,d x } \] Input:

integrate((c^2*d*x^2+d)^(1/2)*(a+b*arcsinh(c*x))/x,x, algorithm="fricas")
 

Output:

integral(sqrt(c^2*d*x^2 + d)*(b*arcsinh(c*x) + a)/x, x)
 

Sympy [F]

\[ \int \frac {\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))}{x} \, dx=\int \frac {\sqrt {d \left (c^{2} x^{2} + 1\right )} \left (a + b \operatorname {asinh}{\left (c x \right )}\right )}{x}\, dx \] Input:

integrate((c**2*d*x**2+d)**(1/2)*(a+b*asinh(c*x))/x,x)
 

Output:

Integral(sqrt(d*(c**2*x**2 + 1))*(a + b*asinh(c*x))/x, x)
 

Maxima [F]

\[ \int \frac {\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))}{x} \, dx=\int { \frac {\sqrt {c^{2} d x^{2} + d} {\left (b \operatorname {arsinh}\left (c x\right ) + a\right )}}{x} \,d x } \] Input:

integrate((c^2*d*x^2+d)^(1/2)*(a+b*arcsinh(c*x))/x,x, algorithm="maxima")
 

Output:

-(sqrt(d)*arcsinh(1/(c*abs(x))) - sqrt(c^2*d*x^2 + d))*a + b*integrate(sqr 
t(c^2*d*x^2 + d)*log(c*x + sqrt(c^2*x^2 + 1))/x, x)
 

Giac [F(-2)]

Exception generated. \[ \int \frac {\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))}{x} \, dx=\text {Exception raised: TypeError} \] Input:

integrate((c^2*d*x^2+d)^(1/2)*(a+b*arcsinh(c*x))/x,x, algorithm="giac")
 

Output:

Exception raised: TypeError >> an error occurred running a Giac command:IN 
PUT:sage2:=int(sage0,sageVARx):;OUTPUT:sym2poly/r2sym(const gen & e,const 
index_m & i,const vecteur & l) Error: Bad Argument Value
 

Mupad [F(-1)]

Timed out. \[ \int \frac {\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))}{x} \, dx=\int \frac {\left (a+b\,\mathrm {asinh}\left (c\,x\right )\right )\,\sqrt {d\,c^2\,x^2+d}}{x} \,d x \] Input:

int(((a + b*asinh(c*x))*(d + c^2*d*x^2)^(1/2))/x,x)
                                                                                    
                                                                                    
 

Output:

int(((a + b*asinh(c*x))*(d + c^2*d*x^2)^(1/2))/x, x)
 

Reduce [F]

\[ \int \frac {\sqrt {d+c^2 d x^2} (a+b \text {arcsinh}(c x))}{x} \, dx=\sqrt {d}\, \left (\sqrt {c^{2} x^{2}+1}\, a +\left (\int \frac {\sqrt {c^{2} x^{2}+1}\, \mathit {asinh} \left (c x \right )}{x}d x \right ) b +\mathrm {log}\left (\sqrt {c^{2} x^{2}+1}+c x -1\right ) a -\mathrm {log}\left (\sqrt {c^{2} x^{2}+1}+c x +1\right ) a \right ) \] Input:

int((c^2*d*x^2+d)^(1/2)*(a+b*asinh(c*x))/x,x)
 

Output:

sqrt(d)*(sqrt(c**2*x**2 + 1)*a + int((sqrt(c**2*x**2 + 1)*asinh(c*x))/x,x) 
*b + log(sqrt(c**2*x**2 + 1) + c*x - 1)*a - log(sqrt(c**2*x**2 + 1) + c*x 
+ 1)*a)