3.2.30 \(\int (c e+d e x) (a+b \sinh ^{-1}(c+d x))^2 \, dx\) [130]

Optimal. Leaf size=103 \[ \frac {b^2 e (c+d x)^2}{4 d}-\frac {b e (c+d x) \sqrt {1+(c+d x)^2} \left (a+b \sinh ^{-1}(c+d x)\right )}{2 d}+\frac {e \left (a+b \sinh ^{-1}(c+d x)\right )^2}{4 d}+\frac {e (c+d x)^2 \left (a+b \sinh ^{-1}(c+d x)\right )^2}{2 d} \]

[Out]

1/4*b^2*e*(d*x+c)^2/d+1/4*e*(a+b*arcsinh(d*x+c))^2/d+1/2*e*(d*x+c)^2*(a+b*arcsinh(d*x+c))^2/d-1/2*b*e*(d*x+c)*
(a+b*arcsinh(d*x+c))*(1+(d*x+c)^2)^(1/2)/d

________________________________________________________________________________________

Rubi [A]
time = 0.10, antiderivative size = 103, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {5859, 12, 5776, 5812, 5783, 30} \begin {gather*} \frac {e (c+d x)^2 \left (a+b \sinh ^{-1}(c+d x)\right )^2}{2 d}-\frac {b e \sqrt {(c+d x)^2+1} (c+d x) \left (a+b \sinh ^{-1}(c+d x)\right )}{2 d}+\frac {e \left (a+b \sinh ^{-1}(c+d x)\right )^2}{4 d}+\frac {b^2 e (c+d x)^2}{4 d} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

(b^2*e*(c + d*x)^2)/(4*d) - (b*e*(c + d*x)*Sqrt[1 + (c + d*x)^2]*(a + b*ArcSinh[c + d*x]))/(2*d) + (e*(a + b*A
rcSinh[c + d*x])^2)/(4*d) + (e*(c + d*x)^2*(a + b*ArcSinh[c + d*x])^2)/(2*d)

Rule 12

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

Rule 30

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

Rule 5776

Int[((a_.) + ArcSinh[(c_.)*(x_)]*(b_.))^(n_.)*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[(d*x)^(m + 1)*((a + b*ArcS
inh[c*x])^n/(d*(m + 1))), x] - Dist[b*c*(n/(d*(m + 1))), Int[(d*x)^(m + 1)*((a + b*ArcSinh[c*x])^(n - 1)/Sqrt[
1 + c^2*x^2]), x], x] /; FreeQ[{a, b, c, d, m}, x] && IGtQ[n, 0] && NeQ[m, -1]

Rule 5783

Int[((a_.) + ArcSinh[(c_.)*(x_)]*(b_.))^(n_.)/Sqrt[(d_) + (e_.)*(x_)^2], x_Symbol] :> Simp[(1/(b*c*(n + 1)))*S
imp[Sqrt[1 + c^2*x^2]/Sqrt[d + e*x^2]]*(a + b*ArcSinh[c*x])^(n + 1), x] /; FreeQ[{a, b, c, d, e, n}, x] && EqQ
[e, c^2*d] && NeQ[n, -1]

Rule 5812

Int[((a_.) + ArcSinh[(c_.)*(x_)]*(b_.))^(n_.)*((f_.)*(x_))^(m_)*((d_) + (e_.)*(x_)^2)^(p_), x_Symbol] :> Simp[
f*(f*x)^(m - 1)*(d + e*x^2)^(p + 1)*((a + b*ArcSinh[c*x])^n/(e*(m + 2*p + 1))), x] + (-Dist[f^2*((m - 1)/(c^2*
(m + 2*p + 1))), Int[(f*x)^(m - 2)*(d + e*x^2)^p*(a + b*ArcSinh[c*x])^n, x], x] - Dist[b*f*(n/(c*(m + 2*p + 1)
))*Simp[(d + e*x^2)^p/(1 + c^2*x^2)^p], Int[(f*x)^(m - 1)*(1 + c^2*x^2)^(p + 1/2)*(a + b*ArcSinh[c*x])^(n - 1)
, x], x]) /; FreeQ[{a, b, c, d, e, f, p}, x] && EqQ[e, c^2*d] && GtQ[n, 0] && IGtQ[m, 1] && NeQ[m + 2*p + 1, 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
]

Rubi steps

\begin {align*} \int (c e+d e x) \left (a+b \sinh ^{-1}(c+d x)\right )^2 \, dx &=\frac {\text {Subst}\left (\int e x \left (a+b \sinh ^{-1}(x)\right )^2 \, dx,x,c+d x\right )}{d}\\ &=\frac {e \text {Subst}\left (\int x \left (a+b \sinh ^{-1}(x)\right )^2 \, dx,x,c+d x\right )}{d}\\ &=\frac {e (c+d x)^2 \left (a+b \sinh ^{-1}(c+d x)\right )^2}{2 d}-\frac {(b e) \text {Subst}\left (\int \frac {x^2 \left (a+b \sinh ^{-1}(x)\right )}{\sqrt {1+x^2}} \, dx,x,c+d x\right )}{d}\\ &=-\frac {b e (c+d x) \sqrt {1+(c+d x)^2} \left (a+b \sinh ^{-1}(c+d x)\right )}{2 d}+\frac {e (c+d x)^2 \left (a+b \sinh ^{-1}(c+d x)\right )^2}{2 d}+\frac {(b e) \text {Subst}\left (\int \frac {a+b \sinh ^{-1}(x)}{\sqrt {1+x^2}} \, dx,x,c+d x\right )}{2 d}+\frac {\left (b^2 e\right ) \text {Subst}(\int x \, dx,x,c+d x)}{2 d}\\ &=\frac {b^2 e (c+d x)^2}{4 d}-\frac {b e (c+d x) \sqrt {1+(c+d x)^2} \left (a+b \sinh ^{-1}(c+d x)\right )}{2 d}+\frac {e \left (a+b \sinh ^{-1}(c+d x)\right )^2}{4 d}+\frac {e (c+d x)^2 \left (a+b \sinh ^{-1}(c+d x)\right )^2}{2 d}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.12, size = 120, normalized size = 1.17 \begin {gather*} \frac {e \left (\left (2 a^2+b^2\right ) (c+d x)^2-2 a b (c+d x) \sqrt {1+(c+d x)^2}+2 a b \sinh ^{-1}(c+d x)+2 b (c+d x) \left (2 a (c+d x)-b \sqrt {1+(c+d x)^2}\right ) \sinh ^{-1}(c+d x)+b^2 \left (1+2 (c+d x)^2\right ) \sinh ^{-1}(c+d x)^2\right )}{4 d} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

(e*((2*a^2 + b^2)*(c + d*x)^2 - 2*a*b*(c + d*x)*Sqrt[1 + (c + d*x)^2] + 2*a*b*ArcSinh[c + d*x] + 2*b*(c + d*x)
*(2*a*(c + d*x) - b*Sqrt[1 + (c + d*x)^2])*ArcSinh[c + d*x] + b^2*(1 + 2*(c + d*x)^2)*ArcSinh[c + d*x]^2))/(4*
d)

________________________________________________________________________________________

Maple [A]
time = 2.36, size = 135, normalized size = 1.31

method result size
derivativedivides \(\frac {\frac {e \left (d x +c \right )^{2} a^{2}}{2}+e \,b^{2} \left (\frac {\arcsinh \left (d x +c \right )^{2} \left (1+\left (d x +c \right )^{2}\right )}{2}-\frac {\arcsinh \left (d x +c \right ) \left (d x +c \right ) \sqrt {1+\left (d x +c \right )^{2}}}{2}-\frac {\arcsinh \left (d x +c \right )^{2}}{4}+\frac {\left (d x +c \right )^{2}}{4}+\frac {1}{4}\right )+2 e a b \left (\frac {\left (d x +c \right )^{2} \arcsinh \left (d x +c \right )}{2}-\frac {\left (d x +c \right ) \sqrt {1+\left (d x +c \right )^{2}}}{4}+\frac {\arcsinh \left (d x +c \right )}{4}\right )}{d}\) \(135\)
default \(\frac {\frac {e \left (d x +c \right )^{2} a^{2}}{2}+e \,b^{2} \left (\frac {\arcsinh \left (d x +c \right )^{2} \left (1+\left (d x +c \right )^{2}\right )}{2}-\frac {\arcsinh \left (d x +c \right ) \left (d x +c \right ) \sqrt {1+\left (d x +c \right )^{2}}}{2}-\frac {\arcsinh \left (d x +c \right )^{2}}{4}+\frac {\left (d x +c \right )^{2}}{4}+\frac {1}{4}\right )+2 e a b \left (\frac {\left (d x +c \right )^{2} \arcsinh \left (d x +c \right )}{2}-\frac {\left (d x +c \right ) \sqrt {1+\left (d x +c \right )^{2}}}{4}+\frac {\arcsinh \left (d x +c \right )}{4}\right )}{d}\) \(135\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/d*(1/2*e*(d*x+c)^2*a^2+e*b^2*(1/2*arcsinh(d*x+c)^2*(1+(d*x+c)^2)-1/2*arcsinh(d*x+c)*(d*x+c)*(1+(d*x+c)^2)^(1
/2)-1/4*arcsinh(d*x+c)^2+1/4*(d*x+c)^2+1/4)+2*e*a*b*(1/2*(d*x+c)^2*arcsinh(d*x+c)-1/4*(d*x+c)*(1+(d*x+c)^2)^(1
/2)+1/4*arcsinh(d*x+c)))

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/2*a^2*d*x^2*e + 1/2*(2*x^2*arcsinh(d*x + c) - d*(3*c^2*arcsinh(2*(d^2*x + c*d)/sqrt(-4*c^2*d^2 + 4*(c^2 + 1)
*d^2))/d^3 + sqrt(d^2*x^2 + 2*c*d*x + c^2 + 1)*x/d^2 - (c^2 + 1)*arcsinh(2*(d^2*x + c*d)/sqrt(-4*c^2*d^2 + 4*(
c^2 + 1)*d^2))/d^3 - 3*sqrt(d^2*x^2 + 2*c*d*x + c^2 + 1)*c/d^3))*a*b*d*e + a^2*c*x*e + 2*((d*x + c)*arcsinh(d*
x + c) - sqrt((d*x + c)^2 + 1))*a*b*c*e/d + 1/2*(b^2*d*x^2*e + 2*b^2*c*x*e)*log(d*x + c + sqrt(d^2*x^2 + 2*c*d
*x + c^2 + 1))^2 - integrate((b^2*d^4*x^4*e + 4*b^2*c*d^3*x^3*e + (5*b^2*c^2*d^2 + b^2*d^2)*x^2*e + 2*(b^2*c^3
*d + b^2*c*d)*x*e + (b^2*d^3*x^3*e + 3*b^2*c*d^2*x^2*e + 2*b^2*c^2*d*x*e)*sqrt(d^2*x^2 + 2*c*d*x + c^2 + 1))*l
og(d*x + c + sqrt(d^2*x^2 + 2*c*d*x + c^2 + 1))/(d^3*x^3 + 3*c*d^2*x^2 + c^3 + (3*c^2*d + d)*x + (d^2*x^2 + 2*
c*d*x + c^2 + 1)^(3/2) + c), x)

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 361 vs. \(2 (97) = 194\).
time = 0.43, size = 361, normalized size = 3.50 \begin {gather*} \frac {{\left ({\left (2 \, b^{2} d^{2} x^{2} + 4 \, b^{2} c d x + 2 \, b^{2} c^{2} + b^{2}\right )} \cosh \left (1\right ) + {\left (2 \, b^{2} d^{2} x^{2} + 4 \, b^{2} c d x + 2 \, b^{2} c^{2} + b^{2}\right )} \sinh \left (1\right )\right )} \log \left (d x + c + \sqrt {d^{2} x^{2} + 2 \, c d x + c^{2} + 1}\right )^{2} + {\left ({\left (2 \, a^{2} + b^{2}\right )} d^{2} x^{2} + 2 \, {\left (2 \, a^{2} + b^{2}\right )} c d x\right )} \cosh \left (1\right ) + 2 \, {\left ({\left (2 \, a b d^{2} x^{2} + 4 \, a b c d x + 2 \, a b c^{2} + a b\right )} \cosh \left (1\right ) + {\left (2 \, a b d^{2} x^{2} + 4 \, a b c d x + 2 \, a b c^{2} + a b\right )} \sinh \left (1\right ) - \sqrt {d^{2} x^{2} + 2 \, c d x + c^{2} + 1} {\left ({\left (b^{2} d x + b^{2} c\right )} \cosh \left (1\right ) + {\left (b^{2} d x + b^{2} c\right )} \sinh \left (1\right )\right )}\right )} \log \left (d x + c + \sqrt {d^{2} x^{2} + 2 \, c d x + c^{2} + 1}\right ) + {\left ({\left (2 \, a^{2} + b^{2}\right )} d^{2} x^{2} + 2 \, {\left (2 \, a^{2} + b^{2}\right )} c d x\right )} \sinh \left (1\right ) - 2 \, \sqrt {d^{2} x^{2} + 2 \, c d x + c^{2} + 1} {\left ({\left (a b d x + a b c\right )} \cosh \left (1\right ) + {\left (a b d x + a b c\right )} \sinh \left (1\right )\right )}}{4 \, d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/4*(((2*b^2*d^2*x^2 + 4*b^2*c*d*x + 2*b^2*c^2 + b^2)*cosh(1) + (2*b^2*d^2*x^2 + 4*b^2*c*d*x + 2*b^2*c^2 + b^2
)*sinh(1))*log(d*x + c + sqrt(d^2*x^2 + 2*c*d*x + c^2 + 1))^2 + ((2*a^2 + b^2)*d^2*x^2 + 2*(2*a^2 + b^2)*c*d*x
)*cosh(1) + 2*((2*a*b*d^2*x^2 + 4*a*b*c*d*x + 2*a*b*c^2 + a*b)*cosh(1) + (2*a*b*d^2*x^2 + 4*a*b*c*d*x + 2*a*b*
c^2 + a*b)*sinh(1) - sqrt(d^2*x^2 + 2*c*d*x + c^2 + 1)*((b^2*d*x + b^2*c)*cosh(1) + (b^2*d*x + b^2*c)*sinh(1))
)*log(d*x + c + sqrt(d^2*x^2 + 2*c*d*x + c^2 + 1)) + ((2*a^2 + b^2)*d^2*x^2 + 2*(2*a^2 + b^2)*c*d*x)*sinh(1) -
 2*sqrt(d^2*x^2 + 2*c*d*x + c^2 + 1)*((a*b*d*x + a*b*c)*cosh(1) + (a*b*d*x + a*b*c)*sinh(1)))/d

________________________________________________________________________________________

Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 335 vs. \(2 (88) = 176\).
time = 0.20, size = 335, normalized size = 3.25 \begin {gather*} \begin {cases} a^{2} c e x + \frac {a^{2} d e x^{2}}{2} + \frac {a b c^{2} e \operatorname {asinh}{\left (c + d x \right )}}{d} + 2 a b c e x \operatorname {asinh}{\left (c + d x \right )} - \frac {a b c e \sqrt {c^{2} + 2 c d x + d^{2} x^{2} + 1}}{2 d} + a b d e x^{2} \operatorname {asinh}{\left (c + d x \right )} - \frac {a b e x \sqrt {c^{2} + 2 c d x + d^{2} x^{2} + 1}}{2} + \frac {a b e \operatorname {asinh}{\left (c + d x \right )}}{2 d} + \frac {b^{2} c^{2} e \operatorname {asinh}^{2}{\left (c + d x \right )}}{2 d} + b^{2} c e x \operatorname {asinh}^{2}{\left (c + d x \right )} + \frac {b^{2} c e x}{2} - \frac {b^{2} c e \sqrt {c^{2} + 2 c d x + d^{2} x^{2} + 1} \operatorname {asinh}{\left (c + d x \right )}}{2 d} + \frac {b^{2} d e x^{2} \operatorname {asinh}^{2}{\left (c + d x \right )}}{2} + \frac {b^{2} d e x^{2}}{4} - \frac {b^{2} e x \sqrt {c^{2} + 2 c d x + d^{2} x^{2} + 1} \operatorname {asinh}{\left (c + d x \right )}}{2} + \frac {b^{2} e \operatorname {asinh}^{2}{\left (c + d x \right )}}{4 d} & \text {for}\: d \neq 0 \\c e x \left (a + b \operatorname {asinh}{\left (c \right )}\right )^{2} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Piecewise((a**2*c*e*x + a**2*d*e*x**2/2 + a*b*c**2*e*asinh(c + d*x)/d + 2*a*b*c*e*x*asinh(c + d*x) - a*b*c*e*s
qrt(c**2 + 2*c*d*x + d**2*x**2 + 1)/(2*d) + a*b*d*e*x**2*asinh(c + d*x) - a*b*e*x*sqrt(c**2 + 2*c*d*x + d**2*x
**2 + 1)/2 + a*b*e*asinh(c + d*x)/(2*d) + b**2*c**2*e*asinh(c + d*x)**2/(2*d) + b**2*c*e*x*asinh(c + d*x)**2 +
 b**2*c*e*x/2 - b**2*c*e*sqrt(c**2 + 2*c*d*x + d**2*x**2 + 1)*asinh(c + d*x)/(2*d) + b**2*d*e*x**2*asinh(c + d
*x)**2/2 + b**2*d*e*x**2/4 - b**2*e*x*sqrt(c**2 + 2*c*d*x + d**2*x**2 + 1)*asinh(c + d*x)/2 + b**2*e*asinh(c +
 d*x)**2/(4*d), Ne(d, 0)), (c*e*x*(a + b*asinh(c))**2, True))

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \left (c\,e+d\,e\,x\right )\,{\left (a+b\,\mathrm {asinh}\left (c+d\,x\right )\right )}^2 \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________