3.159 \(\int \frac {\sinh (x)}{a+a \cosh (x)} \, dx\)

Optimal. Leaf size=9 \[ \frac {\log (\cosh (x)+1)}{a} \]

[Out]

ln(1+cosh(x))/a

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 9, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {2667, 31} \[ \frac {\log (\cosh (x)+1)}{a} \]

Antiderivative was successfully verified.

[In]

Int[Sinh[x]/(a + a*Cosh[x]),x]

[Out]

Log[1 + Cosh[x]]/a

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 2667

Int[cos[(e_.) + (f_.)*(x_)]^(p_.)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_.), x_Symbol] :> Dist[1/(b^p*f), S
ubst[Int[(a + x)^(m + (p - 1)/2)*(a - x)^((p - 1)/2), x], x, b*Sin[e + f*x]], x] /; FreeQ[{a, b, e, f, m}, x]
&& IntegerQ[(p - 1)/2] && EqQ[a^2 - b^2, 0] && (GeQ[p, -1] ||  !IntegerQ[m + 1/2])

Rubi steps

\begin {align*} \int \frac {\sinh (x)}{a+a \cosh (x)} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {1}{a+x} \, dx,x,a \cosh (x)\right )}{a}\\ &=\frac {\log (1+\cosh (x))}{a}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 12, normalized size = 1.33 \[ \frac {2 \log \left (\cosh \left (\frac {x}{2}\right )\right )}{a} \]

Antiderivative was successfully verified.

[In]

Integrate[Sinh[x]/(a + a*Cosh[x]),x]

[Out]

(2*Log[Cosh[x/2]])/a

________________________________________________________________________________________

fricas [A]  time = 0.78, size = 16, normalized size = 1.78 \[ -\frac {x - 2 \, \log \left (\cosh \relax (x) + \sinh \relax (x) + 1\right )}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-(x - 2*log(cosh(x) + sinh(x) + 1))/a

________________________________________________________________________________________

giac [A]  time = 0.16, size = 17, normalized size = 1.89 \[ -\frac {x}{a} + \frac {2 \, \log \left (e^{x} + 1\right )}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.04, size = 12, normalized size = 1.33 \[ \frac {\ln \left (a +a \cosh \relax (x )\right )}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

ln(a+a*cosh(x))/a

________________________________________________________________________________________

maxima [A]  time = 0.30, size = 11, normalized size = 1.22 \[ \frac {\log \left (a \cosh \relax (x) + a\right )}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

log(a*cosh(x) + a)/a

________________________________________________________________________________________

mupad [B]  time = 0.89, size = 9, normalized size = 1.00 \[ \frac {\ln \left (\mathrm {cosh}\relax (x)+1\right )}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

log(cosh(x) + 1)/a

________________________________________________________________________________________

sympy [A]  time = 0.13, size = 7, normalized size = 0.78 \[ \frac {\log {\left (\cosh {\relax (x )} + 1 \right )}}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

log(cosh(x) + 1)/a

________________________________________________________________________________________