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

   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 = 23, antiderivative size = 116 \[ \int \frac {(a+b \text {arcsinh}(c+d x))^2}{c e+d e x} \, dx=\frac {(a+b \text {arcsinh}(c+d x))^3}{3 b d e}+\frac {(a+b \text {arcsinh}(c+d x))^2 \log \left (1-e^{-2 \text {arcsinh}(c+d x)}\right )}{d e}-\frac {b (a+b \text {arcsinh}(c+d x)) \operatorname {PolyLog}\left (2,e^{-2 \text {arcsinh}(c+d x)}\right )}{d e}-\frac {b^2 \operatorname {PolyLog}\left (3,e^{-2 \text {arcsinh}(c+d x)}\right )}{2 d e} \]

[Out]

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

Rubi [A] (verified)

Time = 0.18 (sec) , antiderivative size = 116, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.348, Rules used = {5859, 12, 5775, 3797, 2221, 2611, 2320, 6724} \[ \int \frac {(a+b \text {arcsinh}(c+d x))^2}{c e+d e x} \, dx=-\frac {b \operatorname {PolyLog}\left (2,e^{-2 \text {arcsinh}(c+d x)}\right ) (a+b \text {arcsinh}(c+d x))}{d e}+\frac {(a+b \text {arcsinh}(c+d x))^3}{3 b d e}+\frac {\log \left (1-e^{-2 \text {arcsinh}(c+d x)}\right ) (a+b \text {arcsinh}(c+d x))^2}{d e}-\frac {b^2 \operatorname {PolyLog}\left (3,e^{-2 \text {arcsinh}(c+d x)}\right )}{2 d e} \]

[In]

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

[Out]

(a + b*ArcSinh[c + d*x])^3/(3*b*d*e) + ((a + b*ArcSinh[c + d*x])^2*Log[1 - E^(-2*ArcSinh[c + d*x])])/(d*e) - (
b*(a + b*ArcSinh[c + d*x])*PolyLog[2, E^(-2*ArcSinh[c + d*x])])/(d*e) - (b^2*PolyLog[3, E^(-2*ArcSinh[c + d*x]
)])/(2*d*e)

Rule 12

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

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 2320

Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Dist[v/D[v, x], Subst[Int[FunctionOfExponentialFu
nction[u, x]/x, x], x, v], x]] /; FunctionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; F
reeQ[{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 2611

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] + Dist[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 3797

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

Rule 5775

Int[((a_.) + ArcSinh[(c_.)*(x_)]*(b_.))^(n_.)/(x_), x_Symbol] :> Dist[1/b, Subst[Int[x^n*Coth[-a/b + x/b], x],
 x, a + b*ArcSinh[c*x]], x] /; FreeQ[{a, b, c}, x] && IGtQ[n, 0]

Rule 5859

Int[((a_.) + ArcSinh[(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*ArcSinh[x])^n, x], x, c + d*x], x] /; FreeQ[{a, b, c, d, e, f, m, n}, x
]

Rule 6724

Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_Symbol] :> 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]

Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {(a+b \text {arcsinh}(x))^2}{e x} \, dx,x,c+d x\right )}{d} \\ & = \frac {\text {Subst}\left (\int \frac {(a+b \text {arcsinh}(x))^2}{x} \, dx,x,c+d x\right )}{d e} \\ & = -\frac {\text {Subst}\left (\int x^2 \coth \left (\frac {a}{b}-\frac {x}{b}\right ) \, dx,x,a+b \text {arcsinh}(c+d x)\right )}{b d e} \\ & = \frac {(a+b \text {arcsinh}(c+d x))^3}{3 b d e}+\frac {2 \text {Subst}\left (\int \frac {e^{2 \left (\frac {a}{b}-\frac {x}{b}\right )} x^2}{1-e^{2 \left (\frac {a}{b}-\frac {x}{b}\right )}} \, dx,x,a+b \text {arcsinh}(c+d x)\right )}{b d e} \\ & = \frac {(a+b \text {arcsinh}(c+d x))^3}{3 b d e}+\frac {(a+b \text {arcsinh}(c+d x))^2 \log \left (1-e^{-2 \text {arcsinh}(c+d x)}\right )}{d e}-\frac {2 \text {Subst}\left (\int x \log \left (1-e^{2 \left (\frac {a}{b}-\frac {x}{b}\right )}\right ) \, dx,x,a+b \text {arcsinh}(c+d x)\right )}{d e} \\ & = \frac {(a+b \text {arcsinh}(c+d x))^3}{3 b d e}+\frac {(a+b \text {arcsinh}(c+d x))^2 \log \left (1-e^{-2 \text {arcsinh}(c+d x)}\right )}{d e}-\frac {b (a+b \text {arcsinh}(c+d x)) \operatorname {PolyLog}\left (2,e^{-2 \text {arcsinh}(c+d x)}\right )}{d e}+\frac {b \text {Subst}\left (\int \operatorname {PolyLog}\left (2,e^{2 \left (\frac {a}{b}-\frac {x}{b}\right )}\right ) \, dx,x,a+b \text {arcsinh}(c+d x)\right )}{d e} \\ & = \frac {(a+b \text {arcsinh}(c+d x))^3}{3 b d e}+\frac {(a+b \text {arcsinh}(c+d x))^2 \log \left (1-e^{-2 \text {arcsinh}(c+d x)}\right )}{d e}-\frac {b (a+b \text {arcsinh}(c+d x)) \operatorname {PolyLog}\left (2,e^{-2 \text {arcsinh}(c+d x)}\right )}{d e}-\frac {b^2 \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,x)}{x} \, dx,x,e^{2 \left (\frac {a}{b}-\frac {a+b \text {arcsinh}(c+d x)}{b}\right )}\right )}{2 d e} \\ & = \frac {(a+b \text {arcsinh}(c+d x))^3}{3 b d e}+\frac {(a+b \text {arcsinh}(c+d x))^2 \log \left (1-e^{-2 \text {arcsinh}(c+d x)}\right )}{d e}-\frac {b (a+b \text {arcsinh}(c+d x)) \operatorname {PolyLog}\left (2,e^{-2 \text {arcsinh}(c+d x)}\right )}{d e}-\frac {b^2 \operatorname {PolyLog}\left (3,e^{2 \left (\frac {a}{b}-\frac {a+b \text {arcsinh}(c+d x)}{b}\right )}\right )}{2 d e} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.03 (sec) , antiderivative size = 100, normalized size of antiderivative = 0.86 \[ \int \frac {(a+b \text {arcsinh}(c+d x))^2}{c e+d e x} \, dx=\frac {-2 (a+b \text {arcsinh}(c+d x))^2 \left (a+b \text {arcsinh}(c+d x)-3 b \log \left (1-e^{2 \text {arcsinh}(c+d x)}\right )\right )+6 b^2 (a+b \text {arcsinh}(c+d x)) \operatorname {PolyLog}\left (2,e^{2 \text {arcsinh}(c+d x)}\right )-3 b^3 \operatorname {PolyLog}\left (3,e^{2 \text {arcsinh}(c+d x)}\right )}{6 b d e} \]

[In]

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

[Out]

(-2*(a + b*ArcSinh[c + d*x])^2*(a + b*ArcSinh[c + d*x] - 3*b*Log[1 - E^(2*ArcSinh[c + d*x])]) + 6*b^2*(a + b*A
rcSinh[c + d*x])*PolyLog[2, E^(2*ArcSinh[c + d*x])] - 3*b^3*PolyLog[3, E^(2*ArcSinh[c + d*x])])/(6*b*d*e)

Maple [B] (verified)

Leaf count of result is larger than twice the leaf count of optimal. \(311\) vs. \(2(136)=272\).

Time = 0.43 (sec) , antiderivative size = 312, normalized size of antiderivative = 2.69

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

[In]

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

[Out]

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

Fricas [F]

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

[In]

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

[Out]

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

Sympy [F]

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

[In]

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

[Out]

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

Maxima [F]

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

[In]

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

[Out]

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

Giac [F]

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

[In]

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

[Out]

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

Mupad [F(-1)]

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

[In]

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

[Out]

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