3.609 \(\int \frac{1}{a \cosh (c+d x)-a \sinh (c+d x)} \, dx\)

Optimal. Leaf size=24 \[ \frac{1}{d (a \cosh (c+d x)-a \sinh (c+d x))} \]

[Out]

1/(d*(a*Cosh[c + d*x] - a*Sinh[c + d*x]))

________________________________________________________________________________________

Rubi [A]  time = 0.0155538, antiderivative size = 24, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.05, Rules used = {3071} \[ \frac{1}{d (a \cosh (c+d x)-a \sinh (c+d x))} \]

Antiderivative was successfully verified.

[In]

Int[(a*Cosh[c + d*x] - a*Sinh[c + d*x])^(-1),x]

[Out]

1/(d*(a*Cosh[c + d*x] - a*Sinh[c + d*x]))

Rule 3071

Int[(cos[(c_.) + (d_.)*(x_)]*(a_.) + (b_.)*sin[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Simp[(a*(a*Cos[c + d*x]
 + b*Sin[c + d*x])^n)/(b*d*n), x] /; FreeQ[{a, b, c, d, n}, x] && EqQ[a^2 + b^2, 0]

Rubi steps

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

Mathematica [A]  time = 0.0074059, size = 22, normalized size = 0.92 \[ \frac{1}{a d \cosh (c+d x)-a d \sinh (c+d x)} \]

Antiderivative was successfully verified.

[In]

Integrate[(a*Cosh[c + d*x] - a*Sinh[c + d*x])^(-1),x]

[Out]

(a*d*Cosh[c + d*x] - a*d*Sinh[c + d*x])^(-1)

________________________________________________________________________________________

Maple [A]  time = 0., size = 25, normalized size = 1. \begin{align*}{\frac{1}{da \left ( \cosh \left ( dx+c \right ) -\sinh \left ( dx+c \right ) \right ) }} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a*cosh(d*x+c)-a*sinh(d*x+c)),x)

[Out]

1/d/a/(cosh(d*x+c)-sinh(d*x+c))

________________________________________________________________________________________

Maxima [A]  time = 1.03732, size = 18, normalized size = 0.75 \begin{align*} \frac{e^{\left (d x + c\right )}}{a d} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a*cosh(d*x+c)-a*sinh(d*x+c)),x, algorithm="maxima")

[Out]

e^(d*x + c)/(a*d)

________________________________________________________________________________________

Fricas [A]  time = 2.2483, size = 53, normalized size = 2.21 \begin{align*} \frac{\cosh \left (d x + c\right ) + \sinh \left (d x + c\right )}{a d} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a*cosh(d*x+c)-a*sinh(d*x+c)),x, algorithm="fricas")

[Out]

(cosh(d*x + c) + sinh(d*x + c))/(a*d)

________________________________________________________________________________________

Sympy [A]  time = 0.475574, size = 32, normalized size = 1.33 \begin{align*} \begin{cases} \frac{1}{- a d \sinh{\left (c + d x \right )} + a d \cosh{\left (c + d x \right )}} & \text{for}\: d \neq 0 \\\frac{x}{- a \sinh{\left (c \right )} + a \cosh{\left (c \right )}} & \text{otherwise} \end{cases} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a*cosh(d*x+c)-a*sinh(d*x+c)),x)

[Out]

Piecewise((1/(-a*d*sinh(c + d*x) + a*d*cosh(c + d*x)), Ne(d, 0)), (x/(-a*sinh(c) + a*cosh(c)), True))

________________________________________________________________________________________

Giac [A]  time = 1.12332, size = 18, normalized size = 0.75 \begin{align*} \frac{e^{\left (d x + c\right )}}{a d} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a*cosh(d*x+c)-a*sinh(d*x+c)),x, algorithm="giac")

[Out]

e^(d*x + c)/(a*d)