3.756 \(\int (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)) \, dx\)

Optimal. Leaf size=24 \[ x \sqrt {b^2-c^2}+b \sinh (x)+c \cosh (x) \]

[Out]

c*cosh(x)+b*sinh(x)+x*(b^2-c^2)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {2637, 2638} \[ x \sqrt {b^2-c^2}+b \sinh (x)+c \cosh (x) \]

Antiderivative was successfully verified.

[In]

Int[Sqrt[b^2 - c^2] + b*Cosh[x] + c*Sinh[x],x]

[Out]

Sqrt[b^2 - c^2]*x + c*Cosh[x] + b*Sinh[x]

Rule 2637

Int[sin[Pi/2 + (c_.) + (d_.)*(x_)], x_Symbol] :> Simp[Sin[c + d*x]/d, x] /; FreeQ[{c, d}, x]

Rule 2638

Int[sin[(c_.) + (d_.)*(x_)], x_Symbol] :> -Simp[Cos[c + d*x]/d, x] /; FreeQ[{c, d}, x]

Rubi steps

\begin {align*} \int \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right ) \, dx &=\sqrt {b^2-c^2} x+b \int \cosh (x) \, dx+c \int \sinh (x) \, dx\\ &=\sqrt {b^2-c^2} x+c \cosh (x)+b \sinh (x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 24, normalized size = 1.00 \[ x \sqrt {b^2-c^2}+b \sinh (x)+c \cosh (x) \]

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[b^2 - c^2] + b*Cosh[x] + c*Sinh[x],x]

[Out]

Sqrt[b^2 - c^2]*x + c*Cosh[x] + b*Sinh[x]

________________________________________________________________________________________

fricas [B]  time = 0.40, size = 61, normalized size = 2.54 \[ \frac {{\left (b + c\right )} \cosh \relax (x)^{2} + 2 \, {\left (b + c\right )} \cosh \relax (x) \sinh \relax (x) + {\left (b + c\right )} \sinh \relax (x)^{2} + 2 \, \sqrt {b^{2} - c^{2}} {\left (x \cosh \relax (x) + x \sinh \relax (x)\right )} - b + c}{2 \, {\left (\cosh \relax (x) + \sinh \relax (x)\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/2*((b + c)*cosh(x)^2 + 2*(b + c)*cosh(x)*sinh(x) + (b + c)*sinh(x)^2 + 2*sqrt(b^2 - c^2)*(x*cosh(x) + x*sinh
(x)) - b + c)/(cosh(x) + sinh(x))

________________________________________________________________________________________

giac [A]  time = 0.13, size = 36, normalized size = 1.50 \[ \frac {1}{2} \, c {\left (e^{\left (-x\right )} + e^{x}\right )} - \frac {1}{2} \, b {\left (e^{\left (-x\right )} - e^{x}\right )} + \sqrt {b^{2} - c^{2}} x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(b*cosh(x)+c*sinh(x)+(b^2-c^2)^(1/2),x, algorithm="giac")

[Out]

1/2*c*(e^(-x) + e^x) - 1/2*b*(e^(-x) - e^x) + sqrt(b^2 - c^2)*x

________________________________________________________________________________________

maple [A]  time = 0.02, size = 23, normalized size = 0.96 \[ c \cosh \relax (x )+b \sinh \relax (x )+x \sqrt {b^{2}-c^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(b*cosh(x)+c*sinh(x)+(b^2-c^2)^(1/2),x)

[Out]

c*cosh(x)+b*sinh(x)+x*(b^2-c^2)^(1/2)

________________________________________________________________________________________

maxima [A]  time = 0.47, size = 22, normalized size = 0.92 \[ c \cosh \relax (x) + b \sinh \relax (x) + \sqrt {b^{2} - c^{2}} x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(b*cosh(x)+c*sinh(x)+(b^2-c^2)^(1/2),x, algorithm="maxima")

[Out]

c*cosh(x) + b*sinh(x) + sqrt(b^2 - c^2)*x

________________________________________________________________________________________

mupad [B]  time = 0.06, size = 22, normalized size = 0.92 \[ x\,\sqrt {b^2-c^2}+c\,\mathrm {cosh}\relax (x)+b\,\mathrm {sinh}\relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(b*cosh(x) + (b^2 - c^2)^(1/2) + c*sinh(x),x)

[Out]

x*(b^2 - c^2)^(1/2) + c*cosh(x) + b*sinh(x)

________________________________________________________________________________________

sympy [A]  time = 0.12, size = 20, normalized size = 0.83 \[ b \sinh {\relax (x )} + c \cosh {\relax (x )} + x \sqrt {b^{2} - c^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(b*cosh(x)+c*sinh(x)+(b**2-c**2)**(1/2),x)

[Out]

b*sinh(x) + c*cosh(x) + x*sqrt(b**2 - c**2)

________________________________________________________________________________________