3.1 \(\int \cosh (a+b x) \, dx\)

Optimal. Leaf size=10 \[ \frac{\sinh (a+b x)}{b} \]

[Out]

Sinh[a + b*x]/b

________________________________________________________________________________________

Rubi [A]  time = 0.0048472, antiderivative size = 10, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 6, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {2637} \[ \frac{\sinh (a+b x)}{b} \]

Antiderivative was successfully verified.

[In]

Int[Cosh[a + b*x],x]

[Out]

Sinh[a + b*x]/b

Rule 2637

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

Rubi steps

\begin{align*} \int \cosh (a+b x) \, dx &=\frac{\sinh (a+b x)}{b}\\ \end{align*}

Mathematica [B]  time = 0.0079008, size = 21, normalized size = 2.1 \[ \frac{\sinh (a) \cosh (b x)}{b}+\frac{\cosh (a) \sinh (b x)}{b} \]

Antiderivative was successfully verified.

[In]

Integrate[Cosh[a + b*x],x]

[Out]

(Cosh[b*x]*Sinh[a])/b + (Cosh[a]*Sinh[b*x])/b

________________________________________________________________________________________

Maple [A]  time = 0.03, size = 11, normalized size = 1.1 \begin{align*}{\frac{\sinh \left ( bx+a \right ) }{b}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cosh(b*x+a),x)

[Out]

sinh(b*x+a)/b

________________________________________________________________________________________

Maxima [A]  time = 1.05949, size = 14, normalized size = 1.4 \begin{align*} \frac{\sinh \left (b x + a\right )}{b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(b*x+a),x, algorithm="maxima")

[Out]

sinh(b*x + a)/b

________________________________________________________________________________________

Fricas [A]  time = 1.66529, size = 23, normalized size = 2.3 \begin{align*} \frac{\sinh \left (b x + a\right )}{b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(b*x+a),x, algorithm="fricas")

[Out]

sinh(b*x + a)/b

________________________________________________________________________________________

Sympy [A]  time = 0.145025, size = 12, normalized size = 1.2 \begin{align*} \begin{cases} \frac{\sinh{\left (a + b x \right )}}{b} & \text{for}\: b \neq 0 \\x \cosh{\left (a \right )} & \text{otherwise} \end{cases} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(b*x+a),x)

[Out]

Piecewise((sinh(a + b*x)/b, Ne(b, 0)), (x*cosh(a), True))

________________________________________________________________________________________

Giac [B]  time = 1.17878, size = 35, normalized size = 3.5 \begin{align*} \frac{e^{\left (b x + a\right )}}{2 \, b} - \frac{e^{\left (-b x - a\right )}}{2 \, b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cosh(b*x+a),x, algorithm="giac")

[Out]

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