3.254 \(\int \cosh (a+b x) \sinh (a+b x) \, dx\)

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

[Out]

1/2*sinh(b*x+a)^2/b

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 15, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {2564, 30} \[ \frac {\sinh ^2(a+b x)}{2 b} \]

Antiderivative was successfully verified.

[In]

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

[Out]

Sinh[a + b*x]^2/(2*b)

Rule 30

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

Rule 2564

Int[cos[(e_.) + (f_.)*(x_)]^(n_.)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_.), x_Symbol] :> Dist[1/(a*f), Subst[Int[
x^m*(1 - x^2/a^2)^((n - 1)/2), x], x, a*Sin[e + f*x]], x] /; FreeQ[{a, e, f, m}, x] && IntegerQ[(n - 1)/2] &&
 !(IntegerQ[(m - 1)/2] && LtQ[0, m, n])

Rubi steps

\begin {align*} \int \cosh (a+b x) \sinh (a+b x) \, dx &=-\frac {\operatorname {Subst}(\int x \, dx,x,i \sinh (a+b x))}{b}\\ &=\frac {\sinh ^2(a+b x)}{2 b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [B]  time = 0.01, size = 37, normalized size = 2.47 \[ \frac {1}{2} \left (\frac {\sinh (2 a) \sinh (2 b x)}{2 b}+\frac {\cosh (2 a) \cosh (2 b x)}{2 b}\right ) \]

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

fricas [A]  time = 0.60, size = 22, normalized size = 1.47 \[ \frac {\cosh \left (b x + a\right )^{2} + \sinh \left (b x + a\right )^{2}}{4 \, b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/4*(cosh(b*x + a)^2 + sinh(b*x + a)^2)/b

________________________________________________________________________________________

giac [B]  time = 0.13, size = 29, normalized size = 1.93 \[ \frac {e^{\left (2 \, b x + 2 \, a\right )}}{8 \, b} + \frac {e^{\left (-2 \, b x - 2 \, a\right )}}{8 \, b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.02, size = 14, normalized size = 0.93 \[ \frac {\cosh ^{2}\left (b x +a \right )}{2 b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/2*cosh(b*x+a)^2/b

________________________________________________________________________________________

maxima [A]  time = 0.38, size = 13, normalized size = 0.87 \[ \frac {\cosh \left (b x + a\right )^{2}}{2 \, b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/2*cosh(b*x + a)^2/b

________________________________________________________________________________________

mupad [B]  time = 1.43, size = 13, normalized size = 0.87 \[ \frac {{\mathrm {cosh}\left (a+b\,x\right )}^2}{2\,b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

cosh(a + b*x)^2/(2*b)

________________________________________________________________________________________

sympy [A]  time = 0.18, size = 19, normalized size = 1.27 \[ \begin {cases} \frac {\sinh ^{2}{\left (a + b x \right )}}{2 b} & \text {for}\: b \neq 0 \\x \sinh {\relax (a )} \cosh {\relax (a )} & \text {otherwise} \end {cases} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________