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

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

Optimal result

Integrand size = 23, antiderivative size = 138 \[ \int \frac {(a+b \text {arcsinh}(c x))^2}{d+c^2 d x^2} \, dx=\frac {2 (a+b \text {arcsinh}(c x))^2 \arctan \left (e^{\text {arcsinh}(c x)}\right )}{c d}-\frac {2 i b (a+b \text {arcsinh}(c x)) \operatorname {PolyLog}\left (2,-i e^{\text {arcsinh}(c x)}\right )}{c d}+\frac {2 i b (a+b \text {arcsinh}(c x)) \operatorname {PolyLog}\left (2,i e^{\text {arcsinh}(c x)}\right )}{c d}+\frac {2 i b^2 \operatorname {PolyLog}\left (3,-i e^{\text {arcsinh}(c x)}\right )}{c d}-\frac {2 i b^2 \operatorname {PolyLog}\left (3,i e^{\text {arcsinh}(c x)}\right )}{c d} \] Output:

2*(a+b*arcsinh(c*x))^2*arctan(c*x+(c^2*x^2+1)^(1/2))/c/d-2*I*b*(a+b*arcsin 
h(c*x))*polylog(2,-I*(c*x+(c^2*x^2+1)^(1/2)))/c/d+2*I*b*(a+b*arcsinh(c*x)) 
*polylog(2,I*(c*x+(c^2*x^2+1)^(1/2)))/c/d+2*I*b^2*polylog(3,-I*(c*x+(c^2*x 
^2+1)^(1/2)))/c/d-2*I*b^2*polylog(3,I*(c*x+(c^2*x^2+1)^(1/2)))/c/d
 

Mathematica [A] (verified)

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

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

Output:

-((c*(a^2*Sqrt[-c^2]*ArcTan[c*x] - 2*a*b*c*ArcSinh[c*x]*Log[1 + (c*E^ArcSi 
nh[c*x])/Sqrt[-c^2]] - b^2*c*ArcSinh[c*x]^2*Log[1 + (c*E^ArcSinh[c*x])/Sqr 
t[-c^2]] + 2*a*b*c*ArcSinh[c*x]*Log[1 + (Sqrt[-c^2]*E^ArcSinh[c*x])/c] + b 
^2*c*ArcSinh[c*x]^2*Log[1 + (Sqrt[-c^2]*E^ArcSinh[c*x])/c] + 2*b*c*(a + b* 
ArcSinh[c*x])*PolyLog[2, (c*E^ArcSinh[c*x])/Sqrt[-c^2]] - 2*b*c*(a + b*Arc 
Sinh[c*x])*PolyLog[2, (Sqrt[-c^2]*E^ArcSinh[c*x])/c] - 2*b^2*c*PolyLog[3, 
(c*E^ArcSinh[c*x])/Sqrt[-c^2]] + 2*b^2*c*PolyLog[3, (Sqrt[-c^2]*E^ArcSinh[ 
c*x])/c]))/((-c^2)^(3/2)*d))
 

Rubi [A] (verified)

Time = 0.70 (sec) , antiderivative size = 111, normalized size of antiderivative = 0.80, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.261, Rules used = {6204, 3042, 4668, 3011, 2720, 7143}

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 {(a+b \text {arcsinh}(c x))^2}{c^2 d x^2+d} \, dx\)

\(\Big \downarrow \) 6204

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

\(\Big \downarrow \) 3042

\(\displaystyle \frac {\int (a+b \text {arcsinh}(c x))^2 \csc \left (i \text {arcsinh}(c x)+\frac {\pi }{2}\right )d\text {arcsinh}(c x)}{c d}\)

\(\Big \downarrow \) 4668

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

\(\Big \downarrow \) 3011

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

\(\Big \downarrow \) 2720

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

\(\Big \downarrow \) 7143

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

Input:

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

Output:

(2*(a + b*ArcSinh[c*x])^2*ArcTan[E^ArcSinh[c*x]] + (2*I)*b*(-((a + b*ArcSi 
nh[c*x])*PolyLog[2, (-I)*E^ArcSinh[c*x]]) + b*PolyLog[3, (-I)*E^ArcSinh[c* 
x]]) - (2*I)*b*(-((a + b*ArcSinh[c*x])*PolyLog[2, I*E^ArcSinh[c*x]]) + b*P 
olyLog[3, I*E^ArcSinh[c*x]]))/(c*d)
 

Defintions of rubi rules used

rule 2720
Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Simp[v/D[v, x] 
   Subst[Int[FunctionOfExponentialFunction[u, x]/x, x], x, v], x]] /; Funct 
ionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; FreeQ 
[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x)) 
*(F_)[v_] /; FreeQ[{a, b, c}, x] && InverseFunctionQ[F[x]]]
 

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

rule 3042
Int[u_, x_Symbol] :> Int[DeactivateTrig[u, x], x] /; FunctionOfTrigOfLinear 
Q[u, x]
 

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

rule 6204
Int[((a_.) + ArcSinh[(c_.)*(x_)]*(b_.))^(n_.)/((d_) + (e_.)*(x_)^2), x_Symb 
ol] :> Simp[1/(c*d)   Subst[Int[(a + b*x)^n*Sech[x], x], x, ArcSinh[c*x]], 
x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[e, c^2*d] && IGtQ[n, 0]
 

rule 7143
Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_S 
ymbol] :> Simp[PolyLog[n + 1, c*(a + b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d 
, e, n, p}, x] && EqQ[b*d, a*e]
 
Maple [F]

\[\int \frac {\left (a +b \,\operatorname {arcsinh}\left (x c \right )\right )^{2}}{c^{2} d \,x^{2}+d}d x\]

Input:

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

Output:

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

Fricas [F]

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

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

Output:

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

Sympy [F]

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

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

Output:

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

Maxima [F]

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

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

Output:

a^2*arctan(c*x)/(c*d) + integrate(b^2*log(c*x + sqrt(c^2*x^2 + 1))^2/(c^2* 
d*x^2 + d) + 2*a*b*log(c*x + sqrt(c^2*x^2 + 1))/(c^2*d*x^2 + d), x)
 

Giac [F]

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

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

Output:

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

Mupad [F(-1)]

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

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

Output:

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

Reduce [F]

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

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

Output:

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