3.55 \(\int (f+g x) \sqrt{d-c^2 d x^2} (a+b \cosh ^{-1}(c x)) \, dx\)

Optimal. Leaf size=255 \[ \frac{1}{2} f x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac{f \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{4 b c \sqrt{c x-1} \sqrt{c x+1}}-\frac{g (1-c x) (c x+1) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 c^2}-\frac{b c f x^2 \sqrt{d-c^2 d x^2}}{4 \sqrt{c x-1} \sqrt{c x+1}}-\frac{b c g x^3 \sqrt{d-c^2 d x^2}}{9 \sqrt{c x-1} \sqrt{c x+1}}+\frac{b g x \sqrt{d-c^2 d x^2}}{3 c \sqrt{c x-1} \sqrt{c x+1}} \]

[Out]

(b*g*x*Sqrt[d - c^2*d*x^2])/(3*c*Sqrt[-1 + c*x]*Sqrt[1 + c*x]) - (b*c*f*x^2*Sqrt[d - c^2*d*x^2])/(4*Sqrt[-1 +
c*x]*Sqrt[1 + c*x]) - (b*c*g*x^3*Sqrt[d - c^2*d*x^2])/(9*Sqrt[-1 + c*x]*Sqrt[1 + c*x]) + (f*x*Sqrt[d - c^2*d*x
^2]*(a + b*ArcCosh[c*x]))/2 - (g*(1 - c*x)*(1 + c*x)*Sqrt[d - c^2*d*x^2]*(a + b*ArcCosh[c*x]))/(3*c^2) - (f*Sq
rt[d - c^2*d*x^2]*(a + b*ArcCosh[c*x])^2)/(4*b*c*Sqrt[-1 + c*x]*Sqrt[1 + c*x])

________________________________________________________________________________________

Rubi [A]  time = 0.545669, antiderivative size = 255, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 6, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.207, Rules used = {5836, 5822, 5683, 5676, 30, 5718} \[ \frac{1}{2} f x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac{f \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{4 b c \sqrt{c x-1} \sqrt{c x+1}}-\frac{g (1-c x) (c x+1) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 c^2}-\frac{b c f x^2 \sqrt{d-c^2 d x^2}}{4 \sqrt{c x-1} \sqrt{c x+1}}-\frac{b c g x^3 \sqrt{d-c^2 d x^2}}{9 \sqrt{c x-1} \sqrt{c x+1}}+\frac{b g x \sqrt{d-c^2 d x^2}}{3 c \sqrt{c x-1} \sqrt{c x+1}} \]

Antiderivative was successfully verified.

[In]

Int[(f + g*x)*Sqrt[d - c^2*d*x^2]*(a + b*ArcCosh[c*x]),x]

[Out]

(b*g*x*Sqrt[d - c^2*d*x^2])/(3*c*Sqrt[-1 + c*x]*Sqrt[1 + c*x]) - (b*c*f*x^2*Sqrt[d - c^2*d*x^2])/(4*Sqrt[-1 +
c*x]*Sqrt[1 + c*x]) - (b*c*g*x^3*Sqrt[d - c^2*d*x^2])/(9*Sqrt[-1 + c*x]*Sqrt[1 + c*x]) + (f*x*Sqrt[d - c^2*d*x
^2]*(a + b*ArcCosh[c*x]))/2 - (g*(1 - c*x)*(1 + c*x)*Sqrt[d - c^2*d*x^2]*(a + b*ArcCosh[c*x]))/(3*c^2) - (f*Sq
rt[d - c^2*d*x^2]*(a + b*ArcCosh[c*x])^2)/(4*b*c*Sqrt[-1 + c*x]*Sqrt[1 + c*x])

Rule 5836

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*((f_) + (g_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^2)^(p_), x_Symbol]
:> Dist[((-d)^IntPart[p]*(d + e*x^2)^FracPart[p])/((1 + c*x)^FracPart[p]*(-1 + c*x)^FracPart[p]), Int[(f + g*x
)^m*(1 + c*x)^p*(-1 + c*x)^p*(a + b*ArcCosh[c*x])^n, x], x] /; FreeQ[{a, b, c, d, e, f, g, n}, x] && EqQ[c^2*d
 + e, 0] && IntegerQ[m] && IntegerQ[p - 1/2]

Rule 5822

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*((d1_) + (e1_.)*(x_))^(p_)*((d2_) + (e2_.)*(x_))^(p_)*((f_) + (g
_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(d1 + e1*x)^p*(d2 + e2*x)^p*(a + b*ArcCosh[c*x])^n, (f + g*x
)^m, x], x] /; FreeQ[{a, b, c, d1, e1, d2, e2, f, g}, x] && EqQ[e1 - c*d1, 0] && EqQ[e2 + c*d2, 0] && IGtQ[m,
0] && IntegerQ[p + 1/2] && GtQ[d1, 0] && LtQ[d2, 0] && IGtQ[n, 0] && ((EqQ[n, 1] && GtQ[p, -1]) || GtQ[p, 0] |
| EqQ[m, 1] || (EqQ[m, 2] && LtQ[p, -2]))

Rule 5683

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*Sqrt[(d1_) + (e1_.)*(x_)]*Sqrt[(d2_) + (e2_.)*(x_)], x_Symbol] :
> Simp[(x*Sqrt[d1 + e1*x]*Sqrt[d2 + e2*x]*(a + b*ArcCosh[c*x])^n)/2, x] + (-Dist[(Sqrt[d1 + e1*x]*Sqrt[d2 + e2
*x])/(2*Sqrt[1 + c*x]*Sqrt[-1 + c*x]), Int[(a + b*ArcCosh[c*x])^n/(Sqrt[1 + c*x]*Sqrt[-1 + c*x]), x], x] - Dis
t[(b*c*n*Sqrt[d1 + e1*x]*Sqrt[d2 + e2*x])/(2*Sqrt[1 + c*x]*Sqrt[-1 + c*x]), Int[x*(a + b*ArcCosh[c*x])^(n - 1)
, x], x]) /; FreeQ[{a, b, c, d1, e1, d2, e2}, x] && EqQ[e1, c*d1] && EqQ[e2, -(c*d2)] && GtQ[n, 0]

Rule 5676

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)/(Sqrt[(d1_) + (e1_.)*(x_)]*Sqrt[(d2_) + (e2_.)*(x_)]), x_Symbol]
 :> Simp[(a + b*ArcCosh[c*x])^(n + 1)/(b*c*Sqrt[-(d1*d2)]*(n + 1)), x] /; FreeQ[{a, b, c, d1, e1, d2, e2, n},
x] && EqQ[e1, c*d1] && EqQ[e2, -(c*d2)] && GtQ[d1, 0] && LtQ[d2, 0] && NeQ[n, -1]

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 5718

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*(x_)*((d1_) + (e1_.)*(x_))^(p_.)*((d2_) + (e2_.)*(x_))^(p_.), x_
Symbol] :> Simp[((d1 + e1*x)^(p + 1)*(d2 + e2*x)^(p + 1)*(a + b*ArcCosh[c*x])^n)/(2*e1*e2*(p + 1)), x] - Dist[
(b*n*(-(d1*d2))^IntPart[p]*(d1 + e1*x)^FracPart[p]*(d2 + e2*x)^FracPart[p])/(2*c*(p + 1)*(1 + c*x)^FracPart[p]
*(-1 + c*x)^FracPart[p]), Int[(-1 + c^2*x^2)^(p + 1/2)*(a + b*ArcCosh[c*x])^(n - 1), x], x] /; FreeQ[{a, b, c,
 d1, e1, d2, e2, p}, x] && EqQ[e1 - c*d1, 0] && EqQ[e2 + c*d2, 0] && GtQ[n, 0] && NeQ[p, -1] && IntegerQ[p + 1
/2]

Rubi steps

\begin{align*} \int (f+g x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right ) \, dx &=\frac{\sqrt{d-c^2 d x^2} \int \sqrt{-1+c x} \sqrt{1+c x} (f+g x) \left (a+b \cosh ^{-1}(c x)\right ) \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{\sqrt{d-c^2 d x^2} \int \left (f \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right )+g x \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right )\right ) \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{\left (f \sqrt{d-c^2 d x^2}\right ) \int \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (g \sqrt{d-c^2 d x^2}\right ) \int x \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right ) \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{1}{2} f x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac{g (1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 c^2}-\frac{\left (f \sqrt{d-c^2 d x^2}\right ) \int \frac{a+b \cosh ^{-1}(c x)}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{2 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (b c f \sqrt{d-c^2 d x^2}\right ) \int x \, dx}{2 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (b g \sqrt{d-c^2 d x^2}\right ) \int \left (-1+c^2 x^2\right ) \, dx}{3 c \sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{b g x \sqrt{d-c^2 d x^2}}{3 c \sqrt{-1+c x} \sqrt{1+c x}}-\frac{b c f x^2 \sqrt{d-c^2 d x^2}}{4 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{b c g x^3 \sqrt{d-c^2 d x^2}}{9 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{1}{2} f x \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )-\frac{g (1-c x) (1+c x) \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 c^2}-\frac{f \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{4 b c \sqrt{-1+c x} \sqrt{1+c x}}\\ \end{align*}

Mathematica [A]  time = 1.05511, size = 251, normalized size = 0.98 \[ \frac{12 a \sqrt{d-c^2 d x^2} \left (3 c^2 f x+2 g \left (c^2 x^2-1\right )\right )-36 a c \sqrt{d} f \tan ^{-1}\left (\frac{c x \sqrt{d-c^2 d x^2}}{\sqrt{d} \left (c^2 x^2-1\right )}\right )-\frac{9 b c f \sqrt{d-c^2 d x^2} \left (2 \cosh ^{-1}(c x)^2+\cosh \left (2 \cosh ^{-1}(c x)\right )-2 \cosh ^{-1}(c x) \sinh \left (2 \cosh ^{-1}(c x)\right )\right )}{\sqrt{\frac{c x-1}{c x+1}} (c x+1)}+\frac{2 b g \sqrt{d-c^2 d x^2} \left (9 c x+12 \left (\frac{c x-1}{c x+1}\right )^{3/2} (c x+1)^3 \cosh ^{-1}(c x)-\cosh \left (3 \cosh ^{-1}(c x)\right )\right )}{\sqrt{\frac{c x-1}{c x+1}} (c x+1)}}{72 c^2} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[(f + g*x)*Sqrt[d - c^2*d*x^2]*(a + b*ArcCosh[c*x]),x]

[Out]

(12*a*Sqrt[d - c^2*d*x^2]*(3*c^2*f*x + 2*g*(-1 + c^2*x^2)) - 36*a*c*Sqrt[d]*f*ArcTan[(c*x*Sqrt[d - c^2*d*x^2])
/(Sqrt[d]*(-1 + c^2*x^2))] + (2*b*g*Sqrt[d - c^2*d*x^2]*(9*c*x + 12*((-1 + c*x)/(1 + c*x))^(3/2)*(1 + c*x)^3*A
rcCosh[c*x] - Cosh[3*ArcCosh[c*x]]))/(Sqrt[(-1 + c*x)/(1 + c*x)]*(1 + c*x)) - (9*b*c*f*Sqrt[d - c^2*d*x^2]*(2*
ArcCosh[c*x]^2 + Cosh[2*ArcCosh[c*x]] - 2*ArcCosh[c*x]*Sinh[2*ArcCosh[c*x]]))/(Sqrt[(-1 + c*x)/(1 + c*x)]*(1 +
 c*x)))/(72*c^2)

________________________________________________________________________________________

Maple [B]  time = 0.389, size = 461, normalized size = 1.8 \begin{align*} -{\frac{ag}{3\,{c}^{2}d} \left ( -{c}^{2}d{x}^{2}+d \right ) ^{{\frac{3}{2}}}}+{\frac{afx}{2}\sqrt{-{c}^{2}d{x}^{2}+d}}+{\frac{afd}{2}\arctan \left ({x\sqrt{{c}^{2}d}{\frac{1}{\sqrt{-{c}^{2}d{x}^{2}+d}}}} \right ){\frac{1}{\sqrt{{c}^{2}d}}}}+{\frac{bg{c}^{2}{\rm arccosh} \left (cx\right ){x}^{4}}{ \left ( 3\,cx+3 \right ) \left ( cx-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }}-{\frac{2\,bg{\rm arccosh} \left (cx\right ){x}^{2}}{ \left ( 3\,cx+3 \right ) \left ( cx-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }}+{\frac{bf{c}^{2}{\rm arccosh} \left (cx\right ){x}^{3}}{ \left ( 2\,cx+2 \right ) \left ( cx-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }}-{\frac{bf{\rm arccosh} \left (cx\right )x}{ \left ( 2\,cx+2 \right ) \left ( cx-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }}+{\frac{bf}{8\,c}\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }{\frac{1}{\sqrt{cx-1}}}{\frac{1}{\sqrt{cx+1}}}}-{\frac{bcf{x}^{2}}{4}\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }{\frac{1}{\sqrt{cx-1}}}{\frac{1}{\sqrt{cx+1}}}}-{\frac{bgc{x}^{3}}{9}\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }{\frac{1}{\sqrt{cx-1}}}{\frac{1}{\sqrt{cx+1}}}}+{\frac{bgx}{3\,c}\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }{\frac{1}{\sqrt{cx-1}}}{\frac{1}{\sqrt{cx+1}}}}-{\frac{bf \left ({\rm arccosh} \left (cx\right ) \right ) ^{2}}{4\,c}\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }{\frac{1}{\sqrt{cx-1}}}{\frac{1}{\sqrt{cx+1}}}}+{\frac{bg{\rm arccosh} \left (cx\right )}{ \left ( 3\,cx+3 \right ){c}^{2} \left ( cx-1 \right ) }\sqrt{-d \left ({c}^{2}{x}^{2}-1 \right ) }} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((g*x+f)*(a+b*arccosh(c*x))*(-c^2*d*x^2+d)^(1/2),x)

[Out]

-1/3*a*g/c^2/d*(-c^2*d*x^2+d)^(3/2)+1/2*a*f*x*(-c^2*d*x^2+d)^(1/2)+1/2*a*f*d/(c^2*d)^(1/2)*arctan((c^2*d)^(1/2
)*x/(-c^2*d*x^2+d)^(1/2))+1/3*b*(-d*(c^2*x^2-1))^(1/2)*g/(c*x+1)*c^2/(c*x-1)*arccosh(c*x)*x^4-2/3*b*(-d*(c^2*x
^2-1))^(1/2)*g/(c*x+1)/(c*x-1)*arccosh(c*x)*x^2+1/2*b*(-d*(c^2*x^2-1))^(1/2)*f/(c*x+1)/(c*x-1)*c^2*arccosh(c*x
)*x^3-1/2*b*(-d*(c^2*x^2-1))^(1/2)*f/(c*x+1)/(c*x-1)*arccosh(c*x)*x+1/8*b*(-d*(c^2*x^2-1))^(1/2)*f/(c*x+1)^(1/
2)/(c*x-1)^(1/2)/c-1/4*b*(-d*(c^2*x^2-1))^(1/2)*f/(c*x+1)^(1/2)/(c*x-1)^(1/2)*c*x^2-1/9*b*(-d*(c^2*x^2-1))^(1/
2)*g/(c*x+1)^(1/2)*c/(c*x-1)^(1/2)*x^3+1/3*b*(-d*(c^2*x^2-1))^(1/2)*g/(c*x+1)^(1/2)/c/(c*x-1)^(1/2)*x-1/4*b*(-
d*(c^2*x^2-1))^(1/2)/(c*x-1)^(1/2)/(c*x+1)^(1/2)/c*f*arccosh(c*x)^2+1/3*b*(-d*(c^2*x^2-1))^(1/2)*g/(c*x+1)/c^2
/(c*x-1)*arccosh(c*x)

________________________________________________________________________________________

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((g*x+f)*(a+b*arccosh(c*x))*(-c^2*d*x^2+d)^(1/2),x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x+f)*(a+b*arccosh(c*x))*(-c^2*d*x^2+d)^(1/2),x, algorithm="fricas")

[Out]

integral(sqrt(-c^2*d*x^2 + d)*(a*g*x + a*f + (b*g*x + b*f)*arccosh(c*x)), x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{- d \left (c x - 1\right ) \left (c x + 1\right )} \left (a + b \operatorname{acosh}{\left (c x \right )}\right ) \left (f + g x\right )\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x+f)*(a+b*acosh(c*x))*(-c**2*d*x**2+d)**(1/2),x)

[Out]

Integral(sqrt(-d*(c*x - 1)*(c*x + 1))*(a + b*acosh(c*x))*(f + g*x), x)

________________________________________________________________________________________

Giac [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x+f)*(a+b*arccosh(c*x))*(-c^2*d*x^2+d)^(1/2),x, algorithm="giac")

[Out]

Timed out