3.8.61 \(\int (a+b \cosh (x)+c \sinh (x))^{5/2} \, dx\) [761]

Optimal. Leaf size=294 \[ \frac {16}{15} (a c \cosh (x)+a b \sinh (x)) \sqrt {a+b \cosh (x)+c \sinh (x)}+\frac {2}{5} (c \cosh (x)+b \sinh (x)) (a+b \cosh (x)+c \sinh (x))^{3/2}-\frac {2 i \left (23 a^2+9 b^2-9 c^2\right ) E\left (\frac {1}{2} \left (i x-\tan ^{-1}(b,-i c)\right )|\frac {2 \sqrt {b^2-c^2}}{a+\sqrt {b^2-c^2}}\right ) \sqrt {a+b \cosh (x)+c \sinh (x)}}{15 \sqrt {\frac {a+b \cosh (x)+c \sinh (x)}{a+\sqrt {b^2-c^2}}}}+\frac {16 i a \left (a^2-b^2+c^2\right ) F\left (\frac {1}{2} \left (i x-\tan ^{-1}(b,-i c)\right )|\frac {2 \sqrt {b^2-c^2}}{a+\sqrt {b^2-c^2}}\right ) \sqrt {\frac {a+b \cosh (x)+c \sinh (x)}{a+\sqrt {b^2-c^2}}}}{15 \sqrt {a+b \cosh (x)+c \sinh (x)}} \]

[Out]

2/5*(c*cosh(x)+b*sinh(x))*(a+b*cosh(x)+c*sinh(x))^(3/2)+16/15*(a*c*cosh(x)+a*b*sinh(x))*(a+b*cosh(x)+c*sinh(x)
)^(1/2)-2/15*I*(23*a^2+9*b^2-9*c^2)*(cos(1/2*I*x-1/2*arctan(b,-I*c))^2)^(1/2)/cos(1/2*I*x-1/2*arctan(b,-I*c))*
EllipticE(sin(1/2*I*x-1/2*arctan(b,-I*c)),2^(1/2)*((b^2-c^2)^(1/2)/(a+(b^2-c^2)^(1/2)))^(1/2))*(a+b*cosh(x)+c*
sinh(x))^(1/2)/((a+b*cosh(x)+c*sinh(x))/(a+(b^2-c^2)^(1/2)))^(1/2)+16/15*I*a*(a^2-b^2+c^2)*(cos(1/2*I*x-1/2*ar
ctan(b,-I*c))^2)^(1/2)/cos(1/2*I*x-1/2*arctan(b,-I*c))*EllipticF(sin(1/2*I*x-1/2*arctan(b,-I*c)),2^(1/2)*((b^2
-c^2)^(1/2)/(a+(b^2-c^2)^(1/2)))^(1/2))*((a+b*cosh(x)+c*sinh(x))/(a+(b^2-c^2)^(1/2)))^(1/2)/(a+b*cosh(x)+c*sin
h(x))^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.36, antiderivative size = 294, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {3199, 3225, 3228, 3198, 2732, 3206, 2740} \begin {gather*} \frac {16 i a \left (a^2-b^2+c^2\right ) \sqrt {\frac {a+b \cosh (x)+c \sinh (x)}{a+\sqrt {b^2-c^2}}} F\left (\frac {1}{2} \left (i x-\tan ^{-1}(b,-i c)\right )|\frac {2 \sqrt {b^2-c^2}}{a+\sqrt {b^2-c^2}}\right )}{15 \sqrt {a+b \cosh (x)+c \sinh (x)}}-\frac {2 i \left (23 a^2+9 b^2-9 c^2\right ) \sqrt {a+b \cosh (x)+c \sinh (x)} E\left (\frac {1}{2} \left (i x-\tan ^{-1}(b,-i c)\right )|\frac {2 \sqrt {b^2-c^2}}{a+\sqrt {b^2-c^2}}\right )}{15 \sqrt {\frac {a+b \cosh (x)+c \sinh (x)}{a+\sqrt {b^2-c^2}}}}+\frac {2}{5} (b \sinh (x)+c \cosh (x)) (a+b \cosh (x)+c \sinh (x))^{3/2}+\frac {16}{15} (a b \sinh (x)+a c \cosh (x)) \sqrt {a+b \cosh (x)+c \sinh (x)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*Cosh[x] + c*Sinh[x])^(5/2),x]

[Out]

(16*(a*c*Cosh[x] + a*b*Sinh[x])*Sqrt[a + b*Cosh[x] + c*Sinh[x]])/15 + (2*(c*Cosh[x] + b*Sinh[x])*(a + b*Cosh[x
] + c*Sinh[x])^(3/2))/5 - (((2*I)/15)*(23*a^2 + 9*b^2 - 9*c^2)*EllipticE[(I*x - ArcTan[b, (-I)*c])/2, (2*Sqrt[
b^2 - c^2])/(a + Sqrt[b^2 - c^2])]*Sqrt[a + b*Cosh[x] + c*Sinh[x]])/Sqrt[(a + b*Cosh[x] + c*Sinh[x])/(a + Sqrt
[b^2 - c^2])] + (((16*I)/15)*a*(a^2 - b^2 + c^2)*EllipticF[(I*x - ArcTan[b, (-I)*c])/2, (2*Sqrt[b^2 - c^2])/(a
 + Sqrt[b^2 - c^2])]*Sqrt[(a + b*Cosh[x] + c*Sinh[x])/(a + Sqrt[b^2 - c^2])])/Sqrt[a + b*Cosh[x] + c*Sinh[x]]

Rule 2732

Int[Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[2*(Sqrt[a + b]/d)*EllipticE[(1/2)*(c - Pi/2
+ d*x), 2*(b/(a + b))], x] /; FreeQ[{a, b, c, d}, x] && NeQ[a^2 - b^2, 0] && GtQ[a + b, 0]

Rule 2740

Int[1/Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2/(d*Sqrt[a + b]))*EllipticF[(1/2)*(c - P
i/2 + d*x), 2*(b/(a + b))], x] /; FreeQ[{a, b, c, d}, x] && NeQ[a^2 - b^2, 0] && GtQ[a + b, 0]

Rule 3198

Int[Sqrt[cos[(d_.) + (e_.)*(x_)]*(b_.) + (a_) + (c_.)*sin[(d_.) + (e_.)*(x_)]], x_Symbol] :> Dist[Sqrt[a + b*C
os[d + e*x] + c*Sin[d + e*x]]/Sqrt[(a + b*Cos[d + e*x] + c*Sin[d + e*x])/(a + Sqrt[b^2 + c^2])], Int[Sqrt[a/(a
 + Sqrt[b^2 + c^2]) + (Sqrt[b^2 + c^2]/(a + Sqrt[b^2 + c^2]))*Cos[d + e*x - ArcTan[b, c]]], x], x] /; FreeQ[{a
, b, c, d, e}, x] && NeQ[a^2 - b^2 - c^2, 0] && NeQ[b^2 + c^2, 0] &&  !GtQ[a + Sqrt[b^2 + c^2], 0]

Rule 3199

Int[(cos[(d_.) + (e_.)*(x_)]*(b_.) + (a_) + (c_.)*sin[(d_.) + (e_.)*(x_)])^(n_), x_Symbol] :> Simp[(-(c*Cos[d
+ e*x] - b*Sin[d + e*x]))*((a + b*Cos[d + e*x] + c*Sin[d + e*x])^(n - 1)/(e*n)), x] + Dist[1/n, Int[Simp[n*a^2
 + (n - 1)*(b^2 + c^2) + a*b*(2*n - 1)*Cos[d + e*x] + a*c*(2*n - 1)*Sin[d + e*x], x]*(a + b*Cos[d + e*x] + c*S
in[d + e*x])^(n - 2), x], x] /; FreeQ[{a, b, c, d, e}, x] && NeQ[a^2 - b^2 - c^2, 0] && GtQ[n, 1]

Rule 3206

Int[1/Sqrt[cos[(d_.) + (e_.)*(x_)]*(b_.) + (a_) + (c_.)*sin[(d_.) + (e_.)*(x_)]], x_Symbol] :> Dist[Sqrt[(a +
b*Cos[d + e*x] + c*Sin[d + e*x])/(a + Sqrt[b^2 + c^2])]/Sqrt[a + b*Cos[d + e*x] + c*Sin[d + e*x]], Int[1/Sqrt[
a/(a + Sqrt[b^2 + c^2]) + (Sqrt[b^2 + c^2]/(a + Sqrt[b^2 + c^2]))*Cos[d + e*x - ArcTan[b, c]]], x], x] /; Free
Q[{a, b, c, d, e}, x] && NeQ[a^2 - b^2 - c^2, 0] && NeQ[b^2 + c^2, 0] &&  !GtQ[a + Sqrt[b^2 + c^2], 0]

Rule 3225

Int[(cos[(d_.) + (e_.)*(x_)]*(b_.) + (a_) + (c_.)*sin[(d_.) + (e_.)*(x_)])^(n_.)*((A_.) + cos[(d_.) + (e_.)*(x
_)]*(B_.) + (C_.)*sin[(d_.) + (e_.)*(x_)]), x_Symbol] :> Simp[(B*c - b*C - a*C*Cos[d + e*x] + a*B*Sin[d + e*x]
)*((a + b*Cos[d + e*x] + c*Sin[d + e*x])^n/(a*e*(n + 1))), x] + Dist[1/(a*(n + 1)), Int[(a + b*Cos[d + e*x] +
c*Sin[d + e*x])^(n - 1)*Simp[a*(b*B + c*C)*n + a^2*A*(n + 1) + (n*(a^2*B - B*c^2 + b*c*C) + a*b*A*(n + 1))*Cos
[d + e*x] + (n*(b*B*c + a^2*C - b^2*C) + a*c*A*(n + 1))*Sin[d + e*x], x], x], x] /; FreeQ[{a, b, c, d, e, A, B
, C}, x] && GtQ[n, 0] && NeQ[a^2 - b^2 - c^2, 0]

Rule 3228

Int[((A_.) + cos[(d_.) + (e_.)*(x_)]*(B_.) + (C_.)*sin[(d_.) + (e_.)*(x_)])/Sqrt[cos[(d_.) + (e_.)*(x_)]*(b_.)
 + (a_) + (c_.)*sin[(d_.) + (e_.)*(x_)]], x_Symbol] :> Dist[B/b, Int[Sqrt[a + b*Cos[d + e*x] + c*Sin[d + e*x]]
, x], x] + Dist[(A*b - a*B)/b, Int[1/Sqrt[a + b*Cos[d + e*x] + c*Sin[d + e*x]], x], x] /; FreeQ[{a, b, c, d, e
, A, B, C}, x] && EqQ[B*c - b*C, 0] && NeQ[A*b - a*B, 0]

Rubi steps

\begin {align*} \int (a+b \cosh (x)+c \sinh (x))^{5/2} \, dx &=\frac {2}{5} (c \cosh (x)+b \sinh (x)) (a+b \cosh (x)+c \sinh (x))^{3/2}+\frac {2}{5} \int \sqrt {a+b \cosh (x)+c \sinh (x)} \left (\frac {1}{2} \left (5 a^2+3 b^2-3 c^2\right )+4 a b \cosh (x)+4 a c \sinh (x)\right ) \, dx\\ &=\frac {16}{15} (a c \cosh (x)+a b \sinh (x)) \sqrt {a+b \cosh (x)+c \sinh (x)}+\frac {2}{5} (c \cosh (x)+b \sinh (x)) (a+b \cosh (x)+c \sinh (x))^{3/2}+\frac {4 \int \frac {\frac {1}{4} a^2 \left (15 a^2+17 b^2-17 c^2\right )+\frac {1}{4} a b \left (23 a^2+9 b^2-9 c^2\right ) \cosh (x)+\frac {1}{4} a c \left (23 a^2+9 b^2-9 c^2\right ) \sinh (x)}{\sqrt {a+b \cosh (x)+c \sinh (x)}} \, dx}{15 a}\\ &=\frac {16}{15} (a c \cosh (x)+a b \sinh (x)) \sqrt {a+b \cosh (x)+c \sinh (x)}+\frac {2}{5} (c \cosh (x)+b \sinh (x)) (a+b \cosh (x)+c \sinh (x))^{3/2}+\frac {1}{15} \left (23 a^2+9 b^2-9 c^2\right ) \int \sqrt {a+b \cosh (x)+c \sinh (x)} \, dx-\frac {1}{15} \left (8 a \left (a^2-b^2+c^2\right )\right ) \int \frac {1}{\sqrt {a+b \cosh (x)+c \sinh (x)}} \, dx\\ &=\frac {16}{15} (a c \cosh (x)+a b \sinh (x)) \sqrt {a+b \cosh (x)+c \sinh (x)}+\frac {2}{5} (c \cosh (x)+b \sinh (x)) (a+b \cosh (x)+c \sinh (x))^{3/2}+\frac {\left (\left (23 a^2+9 b^2-9 c^2\right ) \sqrt {a+b \cosh (x)+c \sinh (x)}\right ) \int \sqrt {\frac {a}{a+\sqrt {b^2-c^2}}+\frac {\sqrt {b^2-c^2} \cosh \left (x+i \tan ^{-1}(b,-i c)\right )}{a+\sqrt {b^2-c^2}}} \, dx}{15 \sqrt {\frac {a+b \cosh (x)+c \sinh (x)}{a+\sqrt {b^2-c^2}}}}-\frac {\left (8 a \left (a^2-b^2+c^2\right ) \sqrt {\frac {a+b \cosh (x)+c \sinh (x)}{a+\sqrt {b^2-c^2}}}\right ) \int \frac {1}{\sqrt {\frac {a}{a+\sqrt {b^2-c^2}}+\frac {\sqrt {b^2-c^2} \cosh \left (x+i \tan ^{-1}(b,-i c)\right )}{a+\sqrt {b^2-c^2}}}} \, dx}{15 \sqrt {a+b \cosh (x)+c \sinh (x)}}\\ &=\frac {16}{15} (a c \cosh (x)+a b \sinh (x)) \sqrt {a+b \cosh (x)+c \sinh (x)}+\frac {2}{5} (c \cosh (x)+b \sinh (x)) (a+b \cosh (x)+c \sinh (x))^{3/2}-\frac {2 i \left (23 a^2+9 b^2-9 c^2\right ) E\left (\frac {1}{2} \left (i x-\tan ^{-1}(b,-i c)\right )|\frac {2 \sqrt {b^2-c^2}}{a+\sqrt {b^2-c^2}}\right ) \sqrt {a+b \cosh (x)+c \sinh (x)}}{15 \sqrt {\frac {a+b \cosh (x)+c \sinh (x)}{a+\sqrt {b^2-c^2}}}}+\frac {16 i a \left (a^2-b^2+c^2\right ) F\left (\frac {1}{2} \left (i x-\tan ^{-1}(b,-i c)\right )|\frac {2 \sqrt {b^2-c^2}}{a+\sqrt {b^2-c^2}}\right ) \sqrt {\frac {a+b \cosh (x)+c \sinh (x)}{a+\sqrt {b^2-c^2}}}}{15 \sqrt {a+b \cosh (x)+c \sinh (x)}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains higher order function than in optimal. Order 6 vs. order 4 in optimal.
time = 6.25, size = 3775, normalized size = 12.84 \begin {gather*} \text {Result too large to show} \end {gather*}

Warning: Unable to verify antiderivative.

[In]

Integrate[(a + b*Cosh[x] + c*Sinh[x])^(5/2),x]

[Out]

Sqrt[a + b*Cosh[x] + c*Sinh[x]]*((2*b*(23*a^2 + 9*b^2 - 9*c^2))/(15*c) + (22*a*c*Cosh[x])/15 + (2*b*c*Cosh[2*x
])/5 + (22*a*b*Sinh[x])/15 + ((b^2 + c^2)*Sinh[2*x])/5) + (2*a^3*AppellF1[1/2, 1/2, 1/2, 3/2, ((-I)*(a + Sqrt[
1 - b^2/c^2]*c*Sinh[x + ArcTanh[b/c]]))/(Sqrt[1 - b^2/c^2]*(1 - (I*a)/(Sqrt[1 - b^2/c^2]*c))*c), ((-I)*(a + Sq
rt[1 - b^2/c^2]*c*Sinh[x + ArcTanh[b/c]]))/(Sqrt[1 - b^2/c^2]*(-1 - (I*a)/(Sqrt[1 - b^2/c^2]*c))*c)]*Sech[x +
ArcTanh[b/c]]*Sqrt[-1 + I*Sinh[x + ArcTanh[b/c]]]*Sqrt[(c*Sqrt[(-b^2 + c^2)/c^2] - I*c*Sqrt[(-b^2 + c^2)/c^2]*
Sinh[x + ArcTanh[b/c]])/(I*a + c*Sqrt[(-b^2 + c^2)/c^2])]*Sqrt[(c*Sqrt[(-b^2 + c^2)/c^2] +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+ (c*Sinh[x + ArcTanh[c/b]])/(b*Sqrt[1 - c^2/b^2]))/Sqrt[a + b*Sqrt[1 - c^2/b^2]*Cosh[x + ArcTanh[c/b
]]]))/(15*c) - (3*b^4*((c*AppellF1[-1/2, -1/2, -1/2, 1/2, (a + b*Sqrt[1 - c^2/b^2]*Cosh[x + ArcTanh[c/b]])/(b*
Sqrt[1 - c^2/b^2]*(1 + a/(b*Sqrt[1 - c^2/b^2]))), (a + b*Sqrt[1 - c^2/b^2]*Cosh[x + ArcTanh[c/b]])/(b*Sqrt[1 -
 c^2/b^2]*(-1 + a/(b*Sqrt[1 - c^2/b^2])))]*Sinh[x + ArcTanh[c/b]])/(b*Sqrt[1 - c^2/b^2]*Sqrt[(b*Sqrt[(b^2 - c^
2)/b^2] - b*Sqrt[(b^2 - c^2)/b^2]*Cosh[x + ArcTanh[c/b]])/(a + b*Sqrt[(b^2 - c^2)/b^2])]*Sqrt[a + b*Sqrt[(b^2
- c^2)/b^2]*Cosh[x + ArcTanh[c/b]]]*Sqrt[(b*Sqrt[(b^2 - c^2)/b^2] + b*Sqrt[(b^2 - c^2)/b^2]*Cosh[x + ArcTanh[c
/b]])/(-a + b*Sqrt[(b^2 - c^2)/b^2])]) - ((-2*b*(a + b*Sqrt[1 - c^2/b^2]*Cosh[x + ArcTanh[c/b]]))/(b^2 - c^2)
+ (c*Sinh[x + ArcTanh[c/b]])/(b*Sqrt[1 - c^2/b^2]))/Sqrt[a + b*Sqrt[1 - c^2/b^2]*Cosh[x + ArcTanh[c/b]]]))/(5*
c) + (23*a^2*c*((c*AppellF1[-1/2, -1/2, -1/2, 1/2, (a + b*Sqrt[1 - c^2/b^2]*Cosh[x + ArcTanh[c/b]])/(b*Sqrt[1
- c^2/b^2]*(1 + a/(b*Sqrt[1 - c^2/b^2]))), (a + b*Sqrt[1 - c^2/b^2]*Cosh[x + ArcTanh[c/b]])/(b*Sqrt[1 - c^2/b^
2]*(-1 + a/(b*Sqrt[1 - c^2/b^2])))]*Sinh[x + ArcTanh[c/b]])/(b*Sqrt[1 - c^2/b^2]*Sqrt[(b*Sqrt[(b^2 - c^2)/b^2]
 - b*Sqrt[(b^2 - c^2)/b^2]*Cosh[x + ArcTanh[c/b]])/(a + b*Sqrt[(b^2 - c^2)/b^2])]*Sqrt[a + b*Sqrt[(b^2 - c^2)/
b^2]*Cosh[x + ArcTanh[c/b]]]*Sqrt[(b*Sqrt[(b^2 - c^2)/b^2] + b*Sqrt[(b^2 - c^2)/b^2]*Cosh[x + ArcTanh[c/b]])/(
-a + b*Sqrt[(b^2 - c^2)/b^2])]) - ((-2*b*(a + b*Sqrt[1 - c^2/b^2]*Cosh[x + ArcTanh[c/b]]))/(b^2 - c^2) + (c*Si
nh[x + ArcTanh[c/b]])/(b*Sqrt[1 - c^2/b^2]))/Sqrt[a + b*Sqrt[1 - c^2/b^2]*Cosh[x + ArcTanh[c/b]]]))/15 + (6*b^
2*c*((c*AppellF1[-1/2, -1/2, -1/2, 1/2, (a + b*Sqrt[1 - c^2/b^2]*Cosh[x + ArcTanh[c/b]])/(b*Sqrt[1 - c^2/b^2]*
(1 + a/(b*Sqrt[1 - c^2/b^2]))), (a + b*Sqrt[1 - c^2/b^2]*Cosh[x + ArcTanh[c/b]])/(b*Sqrt[1 - c^2/b^2]*(-1 + a/
(b*Sqrt[1 - c^2/b^2])))]*Sinh[x + ArcTanh[c/b]])/(b*Sqrt[1 - c^2/b^2]*Sqrt[(b*Sqrt[(b^2 - c^2)/b^2] - b*Sqrt[(
b^2 - c^2)/b^2]*Cosh[x + ArcTanh[c/b]])/(a + b*Sqrt[(b^2 - c^2)/b^2])]*Sqrt[a + b*Sqrt[(b^2 - c^2)/b^2]*Cosh[x
 + ArcTanh[c/b]]]*Sqrt[(b*Sqrt[(b^2 - c^2)/b^2]...

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(898\) vs. \(2(328)=656\).
time = 2.87, size = 899, normalized size = 3.06

method result size
default \(-\frac {\sqrt {\left (b -c \right ) \left (b +c \right )}\, \left (\frac {\left (\cosh ^{3}\left (x \right )\right ) b^{2}}{3}-\frac {\left (\cosh ^{3}\left (x \right )\right ) c^{2}}{3}+3 a^{2} \cosh \left (x \right )-b^{2} \cosh \left (x \right )+c^{2} \cosh \left (x \right )\right )}{\sqrt {\frac {-\sinh \left (x \right ) b^{2}+\sinh \left (x \right ) c^{2}+a \sqrt {b^{2}-c^{2}}}{\sqrt {b^{2}-c^{2}}}}}+\frac {\sqrt {\frac {\left (-\sinh \left (x \right ) b^{2}+\sinh \left (x \right ) c^{2}+a \sqrt {b^{2}-c^{2}}\right ) \left (\sinh ^{2}\left (x \right )\right )}{\sqrt {b^{2}-c^{2}}}}\, \left (\frac {a \cosh \left (x \right ) \sqrt {b^{2}-c^{2}}\, \sqrt {\frac {\left (-\sinh \left (x \right ) b^{2}+\sinh \left (x \right ) c^{2}+a \sqrt {b^{2}-c^{2}}\right ) \left (\sinh ^{2}\left (x \right )\right )}{\sqrt {b^{2}-c^{2}}}}\, b^{2}}{-2 \sinh \left (x \right ) b^{2}+2 \sinh \left (x \right ) c^{2}+2 a \sqrt {b^{2}-c^{2}}}-\frac {a \cosh \left (x \right ) \sqrt {b^{2}-c^{2}}\, \sqrt {\frac {\left (-\sinh \left (x \right ) b^{2}+\sinh \left (x \right ) c^{2}+a \sqrt {b^{2}-c^{2}}\right ) \left (\sinh ^{2}\left (x \right )\right )}{\sqrt {b^{2}-c^{2}}}}\, c^{2}}{2 \left (-\sinh \left (x \right ) b^{2}+\sinh \left (x \right ) c^{2}+a \sqrt {b^{2}-c^{2}}\right )}-\frac {a \ln \left (\frac {\left (-\sinh \left (x \right ) b^{2}+\sinh \left (x \right ) c^{2}+a \sqrt {b^{2}-c^{2}}\right ) \cosh \left (x \right )}{\sqrt {b^{2}-c^{2}}\, \sqrt {\frac {-\sinh \left (x \right ) b^{2}+\sinh \left (x \right ) c^{2}+a \sqrt {b^{2}-c^{2}}}{\sqrt {b^{2}-c^{2}}}}}+\sqrt {\frac {\left (-\sinh \left (x \right ) b^{2}+\sinh \left (x \right ) c^{2}+a \sqrt {b^{2}-c^{2}}\right ) \left (\sinh ^{2}\left (x \right )\right )}{\sqrt {b^{2}-c^{2}}}}\right ) b^{2}}{2 \sqrt {\frac {-\sinh \left (x \right ) b^{2}+\sinh \left (x \right ) c^{2}+a \sqrt {b^{2}-c^{2}}}{\sqrt {b^{2}-c^{2}}}}}+\frac {a \ln \left (\frac {\left (-\sinh \left (x \right ) b^{2}+\sinh \left (x \right ) c^{2}+a \sqrt {b^{2}-c^{2}}\right ) \cosh \left (x \right )}{\sqrt {b^{2}-c^{2}}\, \sqrt {\frac {-\sinh \left (x \right ) b^{2}+\sinh \left (x \right ) c^{2}+a \sqrt {b^{2}-c^{2}}}{\sqrt {b^{2}-c^{2}}}}}+\sqrt {\frac {\left (-\sinh \left (x \right ) b^{2}+\sinh \left (x \right ) c^{2}+a \sqrt {b^{2}-c^{2}}\right ) \left (\sinh ^{2}\left (x \right )\right )}{\sqrt {b^{2}-c^{2}}}}\right ) c^{2}}{2 \sqrt {\frac {-\sinh \left (x \right ) b^{2}+\sinh \left (x \right ) c^{2}+a \sqrt {b^{2}-c^{2}}}{\sqrt {b^{2}-c^{2}}}}}+\frac {a^{3} \ln \left (\frac {\left (-\sinh \left (x \right ) b^{2}+\sinh \left (x \right ) c^{2}+a \sqrt {b^{2}-c^{2}}\right ) \cosh \left (x \right )}{\sqrt {b^{2}-c^{2}}\, \sqrt {\frac {-\sinh \left (x \right ) b^{2}+\sinh \left (x \right ) c^{2}+a \sqrt {b^{2}-c^{2}}}{\sqrt {b^{2}-c^{2}}}}}+\sqrt {\frac {\left (-\sinh \left (x \right ) b^{2}+\sinh \left (x \right ) c^{2}+a \sqrt {b^{2}-c^{2}}\right ) \left (\sinh ^{2}\left (x \right )\right )}{\sqrt {b^{2}-c^{2}}}}\right )}{\sqrt {\frac {-\sinh \left (x \right ) b^{2}+\sinh \left (x \right ) c^{2}+a \sqrt {b^{2}-c^{2}}}{\sqrt {b^{2}-c^{2}}}}}\right )}{\sinh \left (x \right ) \sqrt {\frac {-\sinh \left (x \right ) b^{2}+\sinh \left (x \right ) c^{2}+a \sqrt {b^{2}-c^{2}}}{\sqrt {b^{2}-c^{2}}}}}\) \(899\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*cosh(x)+c*sinh(x))^(5/2),x,method=_RETURNVERBOSE)

[Out]

-1/((-sinh(x)*b^2+sinh(x)*c^2+a*(b^2-c^2)^(1/2))/(b^2-c^2)^(1/2))^(1/2)*((b-c)*(b+c))^(1/2)*(1/3*cosh(x)^3*b^2
-1/3*cosh(x)^3*c^2+3*a^2*cosh(x)-b^2*cosh(x)+c^2*cosh(x))+((-sinh(x)*b^2+sinh(x)*c^2+a*(b^2-c^2)^(1/2))/(b^2-c
^2)^(1/2)*sinh(x)^2)^(1/2)*(1/2*a*cosh(x)/(-sinh(x)*b^2+sinh(x)*c^2+a*(b^2-c^2)^(1/2))*(b^2-c^2)^(1/2)*((-sinh
(x)*b^2+sinh(x)*c^2+a*(b^2-c^2)^(1/2))/(b^2-c^2)^(1/2)*sinh(x)^2)^(1/2)*b^2-1/2*a*cosh(x)/(-sinh(x)*b^2+sinh(x
)*c^2+a*(b^2-c^2)^(1/2))*(b^2-c^2)^(1/2)*((-sinh(x)*b^2+sinh(x)*c^2+a*(b^2-c^2)^(1/2))/(b^2-c^2)^(1/2)*sinh(x)
^2)^(1/2)*c^2-1/2*a*ln((-sinh(x)*b^2+sinh(x)*c^2+a*(b^2-c^2)^(1/2))/(b^2-c^2)^(1/2)*cosh(x)/((-sinh(x)*b^2+sin
h(x)*c^2+a*(b^2-c^2)^(1/2))/(b^2-c^2)^(1/2))^(1/2)+((-sinh(x)*b^2+sinh(x)*c^2+a*(b^2-c^2)^(1/2))/(b^2-c^2)^(1/
2)*sinh(x)^2)^(1/2))/((-sinh(x)*b^2+sinh(x)*c^2+a*(b^2-c^2)^(1/2))/(b^2-c^2)^(1/2))^(1/2)*b^2+1/2*a*ln((-sinh(
x)*b^2+sinh(x)*c^2+a*(b^2-c^2)^(1/2))/(b^2-c^2)^(1/2)*cosh(x)/((-sinh(x)*b^2+sinh(x)*c^2+a*(b^2-c^2)^(1/2))/(b
^2-c^2)^(1/2))^(1/2)+((-sinh(x)*b^2+sinh(x)*c^2+a*(b^2-c^2)^(1/2))/(b^2-c^2)^(1/2)*sinh(x)^2)^(1/2))/((-sinh(x
)*b^2+sinh(x)*c^2+a*(b^2-c^2)^(1/2))/(b^2-c^2)^(1/2))^(1/2)*c^2+a^3*ln((-sinh(x)*b^2+sinh(x)*c^2+a*(b^2-c^2)^(
1/2))/(b^2-c^2)^(1/2)*cosh(x)/((-sinh(x)*b^2+sinh(x)*c^2+a*(b^2-c^2)^(1/2))/(b^2-c^2)^(1/2))^(1/2)+((-sinh(x)*
b^2+sinh(x)*c^2+a*(b^2-c^2)^(1/2))/(b^2-c^2)^(1/2)*sinh(x)^2)^(1/2))/((-sinh(x)*b^2+sinh(x)*c^2+a*(b^2-c^2)^(1
/2))/(b^2-c^2)^(1/2))^(1/2))/sinh(x)/((-sinh(x)*b^2+sinh(x)*c^2+a*(b^2-c^2)^(1/2))/(b^2-c^2)^(1/2))^(1/2)

________________________________________________________________________________________

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((a+b*cosh(x)+c*sinh(x))^(5/2),x, algorithm="maxima")

[Out]

integrate((b*cosh(x) + c*sinh(x) + a)^(5/2), x)

________________________________________________________________________________________

Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order 4.
time = 0.14, size = 928, normalized size = 3.16 \begin {gather*} -\frac {4 \, {\left (\sqrt {2} {\left (a^{3} - 33 \, a b^{2} + 33 \, a c^{2}\right )} \cosh \left (x\right )^{2} + 2 \, \sqrt {2} {\left (a^{3} - 33 \, a b^{2} + 33 \, a c^{2}\right )} \cosh \left (x\right ) \sinh \left (x\right ) + \sqrt {2} {\left (a^{3} - 33 \, a b^{2} + 33 \, a c^{2}\right )} \sinh \left (x\right )^{2}\right )} \sqrt {b + c} {\rm weierstrassPInverse}\left (\frac {4 \, {\left (4 \, a^{2} - 3 \, b^{2} + 3 \, c^{2}\right )}}{3 \, {\left (b^{2} + 2 \, b c + c^{2}\right )}}, -\frac {8 \, {\left (8 \, a^{3} - 9 \, a b^{2} + 9 \, a c^{2}\right )}}{27 \, {\left (b^{3} + 3 \, b^{2} c + 3 \, b c^{2} + c^{3}\right )}}, \frac {3 \, {\left (b + c\right )} \cosh \left (x\right ) + 3 \, {\left (b + c\right )} \sinh \left (x\right ) + 2 \, a}{3 \, {\left (b + c\right )}}\right ) + 12 \, {\left (\sqrt {2} {\left (23 \, a^{2} b + 9 \, b^{3} - 9 \, b c^{2} - 9 \, c^{3} + {\left (23 \, a^{2} + 9 \, b^{2}\right )} c\right )} \cosh \left (x\right )^{2} + 2 \, \sqrt {2} {\left (23 \, a^{2} b + 9 \, b^{3} - 9 \, b c^{2} - 9 \, c^{3} + {\left (23 \, a^{2} + 9 \, b^{2}\right )} c\right )} \cosh \left (x\right ) \sinh \left (x\right ) + \sqrt {2} {\left (23 \, a^{2} b + 9 \, b^{3} - 9 \, b c^{2} - 9 \, c^{3} + {\left (23 \, a^{2} + 9 \, b^{2}\right )} c\right )} \sinh \left (x\right )^{2}\right )} \sqrt {b + c} {\rm weierstrassZeta}\left (\frac {4 \, {\left (4 \, a^{2} - 3 \, b^{2} + 3 \, c^{2}\right )}}{3 \, {\left (b^{2} + 2 \, b c + c^{2}\right )}}, -\frac {8 \, {\left (8 \, a^{3} - 9 \, a b^{2} + 9 \, a c^{2}\right )}}{27 \, {\left (b^{3} + 3 \, b^{2} c + 3 \, b c^{2} + c^{3}\right )}}, {\rm weierstrassPInverse}\left (\frac {4 \, {\left (4 \, a^{2} - 3 \, b^{2} + 3 \, c^{2}\right )}}{3 \, {\left (b^{2} + 2 \, b c + c^{2}\right )}}, -\frac {8 \, {\left (8 \, a^{3} - 9 \, a b^{2} + 9 \, a c^{2}\right )}}{27 \, {\left (b^{3} + 3 \, b^{2} c + 3 \, b c^{2} + c^{3}\right )}}, \frac {3 \, {\left (b + c\right )} \cosh \left (x\right ) + 3 \, {\left (b + c\right )} \sinh \left (x\right ) + 2 \, a}{3 \, {\left (b + c\right )}}\right )\right ) - 3 \, {\left (3 \, {\left (b^{3} + 3 \, b^{2} c + 3 \, b c^{2} + c^{3}\right )} \cosh \left (x\right )^{4} + 3 \, {\left (b^{3} + 3 \, b^{2} c + 3 \, b c^{2} + c^{3}\right )} \sinh \left (x\right )^{4} + 22 \, {\left (a b^{2} + 2 \, a b c + a c^{2}\right )} \cosh \left (x\right )^{3} + 2 \, {\left (11 \, a b^{2} + 22 \, a b c + 11 \, a c^{2} + 6 \, {\left (b^{3} + 3 \, b^{2} c + 3 \, b c^{2} + c^{3}\right )} \cosh \left (x\right )\right )} \sinh \left (x\right )^{3} - 3 \, b^{3} + 3 \, b^{2} c + 3 \, b c^{2} - 3 \, c^{3} - 4 \, {\left (23 \, a^{2} b + 9 \, b^{3} - 9 \, b c^{2} - 9 \, c^{3} + {\left (23 \, a^{2} + 9 \, b^{2}\right )} c\right )} \cosh \left (x\right )^{2} - 2 \, {\left (46 \, a^{2} b + 18 \, b^{3} - 18 \, b c^{2} - 18 \, c^{3} - 9 \, {\left (b^{3} + 3 \, b^{2} c + 3 \, b c^{2} + c^{3}\right )} \cosh \left (x\right )^{2} + 2 \, {\left (23 \, a^{2} + 9 \, b^{2}\right )} c - 33 \, {\left (a b^{2} + 2 \, a b c + a c^{2}\right )} \cosh \left (x\right )\right )} \sinh \left (x\right )^{2} - 22 \, {\left (a b^{2} - a c^{2}\right )} \cosh \left (x\right ) + 2 \, {\left (6 \, {\left (b^{3} + 3 \, b^{2} c + 3 \, b c^{2} + c^{3}\right )} \cosh \left (x\right )^{3} - 11 \, a b^{2} + 11 \, a c^{2} + 33 \, {\left (a b^{2} + 2 \, a b c + a c^{2}\right )} \cosh \left (x\right )^{2} - 4 \, {\left (23 \, a^{2} b + 9 \, b^{3} - 9 \, b c^{2} - 9 \, c^{3} + {\left (23 \, a^{2} + 9 \, b^{2}\right )} c\right )} \cosh \left (x\right )\right )} \sinh \left (x\right )\right )} \sqrt {b \cosh \left (x\right ) + c \sinh \left (x\right ) + a}}{90 \, {\left ({\left (b + c\right )} \cosh \left (x\right )^{2} + 2 \, {\left (b + c\right )} \cosh \left (x\right ) \sinh \left (x\right ) + {\left (b + c\right )} \sinh \left (x\right )^{2}\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*cosh(x)+c*sinh(x))^(5/2),x, algorithm="fricas")

[Out]

-1/90*(4*(sqrt(2)*(a^3 - 33*a*b^2 + 33*a*c^2)*cosh(x)^2 + 2*sqrt(2)*(a^3 - 33*a*b^2 + 33*a*c^2)*cosh(x)*sinh(x
) + sqrt(2)*(a^3 - 33*a*b^2 + 33*a*c^2)*sinh(x)^2)*sqrt(b + c)*weierstrassPInverse(4/3*(4*a^2 - 3*b^2 + 3*c^2)
/(b^2 + 2*b*c + c^2), -8/27*(8*a^3 - 9*a*b^2 + 9*a*c^2)/(b^3 + 3*b^2*c + 3*b*c^2 + c^3), 1/3*(3*(b + c)*cosh(x
) + 3*(b + c)*sinh(x) + 2*a)/(b + c)) + 12*(sqrt(2)*(23*a^2*b + 9*b^3 - 9*b*c^2 - 9*c^3 + (23*a^2 + 9*b^2)*c)*
cosh(x)^2 + 2*sqrt(2)*(23*a^2*b + 9*b^3 - 9*b*c^2 - 9*c^3 + (23*a^2 + 9*b^2)*c)*cosh(x)*sinh(x) + sqrt(2)*(23*
a^2*b + 9*b^3 - 9*b*c^2 - 9*c^3 + (23*a^2 + 9*b^2)*c)*sinh(x)^2)*sqrt(b + c)*weierstrassZeta(4/3*(4*a^2 - 3*b^
2 + 3*c^2)/(b^2 + 2*b*c + c^2), -8/27*(8*a^3 - 9*a*b^2 + 9*a*c^2)/(b^3 + 3*b^2*c + 3*b*c^2 + c^3), weierstrass
PInverse(4/3*(4*a^2 - 3*b^2 + 3*c^2)/(b^2 + 2*b*c + c^2), -8/27*(8*a^3 - 9*a*b^2 + 9*a*c^2)/(b^3 + 3*b^2*c + 3
*b*c^2 + c^3), 1/3*(3*(b + c)*cosh(x) + 3*(b + c)*sinh(x) + 2*a)/(b + c))) - 3*(3*(b^3 + 3*b^2*c + 3*b*c^2 + c
^3)*cosh(x)^4 + 3*(b^3 + 3*b^2*c + 3*b*c^2 + c^3)*sinh(x)^4 + 22*(a*b^2 + 2*a*b*c + a*c^2)*cosh(x)^3 + 2*(11*a
*b^2 + 22*a*b*c + 11*a*c^2 + 6*(b^3 + 3*b^2*c + 3*b*c^2 + c^3)*cosh(x))*sinh(x)^3 - 3*b^3 + 3*b^2*c + 3*b*c^2
- 3*c^3 - 4*(23*a^2*b + 9*b^3 - 9*b*c^2 - 9*c^3 + (23*a^2 + 9*b^2)*c)*cosh(x)^2 - 2*(46*a^2*b + 18*b^3 - 18*b*
c^2 - 18*c^3 - 9*(b^3 + 3*b^2*c + 3*b*c^2 + c^3)*cosh(x)^2 + 2*(23*a^2 + 9*b^2)*c - 33*(a*b^2 + 2*a*b*c + a*c^
2)*cosh(x))*sinh(x)^2 - 22*(a*b^2 - a*c^2)*cosh(x) + 2*(6*(b^3 + 3*b^2*c + 3*b*c^2 + c^3)*cosh(x)^3 - 11*a*b^2
 + 11*a*c^2 + 33*(a*b^2 + 2*a*b*c + a*c^2)*cosh(x)^2 - 4*(23*a^2*b + 9*b^3 - 9*b*c^2 - 9*c^3 + (23*a^2 + 9*b^2
)*c)*cosh(x))*sinh(x))*sqrt(b*cosh(x) + c*sinh(x) + a))/((b + c)*cosh(x)^2 + 2*(b + c)*cosh(x)*sinh(x) + (b +
c)*sinh(x)^2)

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*cosh(x)+c*sinh(x))**(5/2),x)

[Out]

Timed out

________________________________________________________________________________________

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((a+b*cosh(x)+c*sinh(x))^(5/2),x, algorithm="giac")

[Out]

integrate((b*cosh(x) + c*sinh(x) + a)^(5/2), x)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*cosh(x) + c*sinh(x))^(5/2),x)

[Out]

int((a + b*cosh(x) + c*sinh(x))^(5/2), x)

________________________________________________________________________________________