3.109 \(\int \frac{(a+b \cosh ^{-1}(c+d x))^2}{c e+d e x} \, dx\)

Optimal. Leaf size=118 \[ -\frac{b \text{PolyLog}\left (2,-e^{-2 \cosh ^{-1}(c+d x)}\right ) \left (a+b \cosh ^{-1}(c+d x)\right )}{d e}-\frac{b^2 \text{PolyLog}\left (3,-e^{-2 \cosh ^{-1}(c+d x)}\right )}{2 d e}+\frac{\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 b d e}+\frac{\log \left (e^{-2 \cosh ^{-1}(c+d x)}+1\right ) \left (a+b \cosh ^{-1}(c+d x)\right )^2}{d e} \]

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.190075, antiderivative size = 117, normalized size of antiderivative = 0.99, number of steps used = 8, number of rules used = 8, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.348, Rules used = {5866, 12, 5660, 3718, 2190, 2531, 2282, 6589} \[ \frac{b \text{PolyLog}\left (2,-e^{2 \cosh ^{-1}(c+d x)}\right ) \left (a+b \cosh ^{-1}(c+d x)\right )}{d e}-\frac{b^2 \text{PolyLog}\left (3,-e^{2 \cosh ^{-1}(c+d x)}\right )}{2 d e}-\frac{\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 b d e}+\frac{\log \left (e^{2 \cosh ^{-1}(c+d x)}+1\right ) \left (a+b \cosh ^{-1}(c+d x)\right )^2}{d e} \]

Warning: Unable to verify antiderivative.

[In]

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

[Out]

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

Rule 5866

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
]

Rule 12

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

Rule 5660

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

Rule 3718

Int[((c_.) + (d_.)*(x_))^(m_.)*tan[(e_.) + (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))), x],
x] /; FreeQ[{c, d, e, f, fz}, x] && IGtQ[m, 0]

Rule 2190

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*Log[1 + (b*(F^(g*(e + f*x)))^n)/a])/(b*f*g*n*Log[F]), 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 2531

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 2282

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 6589

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*} \int \frac{\left (a+b \cosh ^{-1}(c+d x)\right )^2}{c e+d e x} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{\left (a+b \cosh ^{-1}(x)\right )^2}{e x} \, dx,x,c+d x\right )}{d}\\ &=\frac{\operatorname{Subst}\left (\int \frac{\left (a+b \cosh ^{-1}(x)\right )^2}{x} \, dx,x,c+d x\right )}{d e}\\ &=\frac{\operatorname{Subst}\left (\int (a+b x)^2 \tanh (x) \, dx,x,\cosh ^{-1}(c+d x)\right )}{d e}\\ &=-\frac{\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 b d e}+\frac{2 \operatorname{Subst}\left (\int \frac{e^{2 x} (a+b x)^2}{1+e^{2 x}} \, dx,x,\cosh ^{-1}(c+d x)\right )}{d e}\\ &=-\frac{\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 b d e}+\frac{\left (a+b \cosh ^{-1}(c+d x)\right )^2 \log \left (1+e^{2 \cosh ^{-1}(c+d x)}\right )}{d e}-\frac{(2 b) \operatorname{Subst}\left (\int (a+b x) \log \left (1+e^{2 x}\right ) \, dx,x,\cosh ^{-1}(c+d x)\right )}{d e}\\ &=-\frac{\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 b d e}+\frac{\left (a+b \cosh ^{-1}(c+d x)\right )^2 \log \left (1+e^{2 \cosh ^{-1}(c+d x)}\right )}{d e}+\frac{b \left (a+b \cosh ^{-1}(c+d x)\right ) \text{Li}_2\left (-e^{2 \cosh ^{-1}(c+d x)}\right )}{d e}-\frac{b^2 \operatorname{Subst}\left (\int \text{Li}_2\left (-e^{2 x}\right ) \, dx,x,\cosh ^{-1}(c+d x)\right )}{d e}\\ &=-\frac{\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 b d e}+\frac{\left (a+b \cosh ^{-1}(c+d x)\right )^2 \log \left (1+e^{2 \cosh ^{-1}(c+d x)}\right )}{d e}+\frac{b \left (a+b \cosh ^{-1}(c+d x)\right ) \text{Li}_2\left (-e^{2 \cosh ^{-1}(c+d x)}\right )}{d e}-\frac{b^2 \operatorname{Subst}\left (\int \frac{\text{Li}_2(-x)}{x} \, dx,x,e^{2 \cosh ^{-1}(c+d x)}\right )}{2 d e}\\ &=-\frac{\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 b d e}+\frac{\left (a+b \cosh ^{-1}(c+d x)\right )^2 \log \left (1+e^{2 \cosh ^{-1}(c+d x)}\right )}{d e}+\frac{b \left (a+b \cosh ^{-1}(c+d x)\right ) \text{Li}_2\left (-e^{2 \cosh ^{-1}(c+d x)}\right )}{d e}-\frac{b^2 \text{Li}_3\left (-e^{2 \cosh ^{-1}(c+d x)}\right )}{2 d e}\\ \end{align*}

Mathematica [A]  time = 0.392605, size = 140, normalized size = 1.19 \[ \frac{-b \text{PolyLog}\left (2,-e^{-2 \cosh ^{-1}(c+d x)}\right ) \left (a+b \cosh ^{-1}(c+d x)\right )-\frac{1}{2} b^2 \text{PolyLog}\left (3,-e^{-2 \cosh ^{-1}(c+d x)}\right )+a^2 \log (c+d x)+a b \cosh ^{-1}(c+d x)^2+2 a b \cosh ^{-1}(c+d x) \log \left (e^{-2 \cosh ^{-1}(c+d x)}+1\right )+\frac{1}{3} b^2 \cosh ^{-1}(c+d x)^3+b^2 \cosh ^{-1}(c+d x)^2 \log \left (e^{-2 \cosh ^{-1}(c+d x)}+1\right )}{d e} \]

Warning: Unable to verify antiderivative.

[In]

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

[Out]

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

________________________________________________________________________________________

Maple [A]  time = 0.031, size = 263, normalized size = 2.2 \begin{align*}{\frac{{a}^{2}\ln \left ( dx+c \right ) }{de}}-{\frac{{b}^{2} \left ({\rm arccosh} \left (dx+c\right ) \right ) ^{3}}{3\,de}}+{\frac{{b}^{2} \left ({\rm arccosh} \left (dx+c\right ) \right ) ^{2}}{de}\ln \left ( \left ( dx+c+\sqrt{dx+c-1}\sqrt{dx+c+1} \right ) ^{2}+1 \right ) }+{\frac{{b}^{2}{\rm arccosh} \left (dx+c\right )}{de}{\it polylog} \left ( 2,- \left ( dx+c+\sqrt{dx+c-1}\sqrt{dx+c+1} \right ) ^{2} \right ) }-{\frac{{b}^{2}}{2\,de}{\it polylog} \left ( 3,- \left ( dx+c+\sqrt{dx+c-1}\sqrt{dx+c+1} \right ) ^{2} \right ) }-{\frac{ab \left ({\rm arccosh} \left (dx+c\right ) \right ) ^{2}}{de}}+2\,{\frac{ab{\rm arccosh} \left (dx+c\right )\ln \left ( \left ( dx+c+\sqrt{dx+c-1}\sqrt{dx+c+1} \right ) ^{2}+1 \right ) }{de}}+{\frac{ab}{de}{\it polylog} \left ( 2,- \left ( dx+c+\sqrt{dx+c-1}\sqrt{dx+c+1} \right ) ^{2} \right ) } \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{b^{2} \operatorname{arcosh}\left (d x + c\right )^{2} + 2 \, a b \operatorname{arcosh}\left (d x + c\right ) + a^{2}}{d e x + c e}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \frac{\int \frac{a^{2}}{c + d x}\, dx + \int \frac{b^{2} \operatorname{acosh}^{2}{\left (c + d x \right )}}{c + d x}\, dx + \int \frac{2 a b \operatorname{acosh}{\left (c + d x \right )}}{c + d x}\, dx}{e} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \operatorname{arcosh}\left (d x + c\right ) + a\right )}^{2}}{d e x + c e}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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