3.92 \(\int \frac {1}{5+3 i \sinh (c+d x)} \, dx\)

Optimal. Leaf size=37 \[ \frac {x}{4}-\frac {i \tan ^{-1}\left (\frac {\cosh (c+d x)}{3+i \sinh (c+d x)}\right )}{2 d} \]

[Out]

1/4*x-1/2*I*arctan(cosh(d*x+c)/(3+I*sinh(d*x+c)))/d

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 37, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {2657} \[ \frac {x}{4}-\frac {i \tan ^{-1}\left (\frac {\cosh (c+d x)}{3+i \sinh (c+d x)}\right )}{2 d} \]

Antiderivative was successfully verified.

[In]

Int[(5 + (3*I)*Sinh[c + d*x])^(-1),x]

[Out]

x/4 - ((I/2)*ArcTan[Cosh[c + d*x]/(3 + I*Sinh[c + d*x])])/d

Rule 2657

Int[((a_) + (b_.)*sin[(c_.) + (d_.)*(x_)])^(-1), x_Symbol] :> With[{q = Rt[a^2 - b^2, 2]}, Simp[x/q, x] + Simp
[(2*ArcTan[(b*Cos[c + d*x])/(a + q + b*Sin[c + d*x])])/(d*q), x]] /; FreeQ[{a, b, c, d}, x] && GtQ[a^2 - b^2,
0] && PosQ[a]

Rubi steps

\begin {align*} \int \frac {1}{5+3 i \sinh (c+d x)} \, dx &=\frac {x}{4}-\frac {i \tan ^{-1}\left (\frac {\cosh (c+d x)}{3+i \sinh (c+d x)}\right )}{2 d}\\ \end {align*}

________________________________________________________________________________________

Mathematica [B]  time = 0.03, size = 171, normalized size = 4.62 \[ -\frac {\log (5 \cosh (c+d x)-4 \sinh (c+d x))}{8 d}+\frac {\log (4 \sinh (c+d x)+5 \cosh (c+d x))}{8 d}-\frac {i \tan ^{-1}\left (\frac {2 \cosh \left (\frac {1}{2} (c+d x)\right )-\sinh \left (\frac {1}{2} (c+d x)\right )}{\cosh \left (\frac {1}{2} (c+d x)\right )-2 \sinh \left (\frac {1}{2} (c+d x)\right )}\right )}{4 d}+\frac {i \tan ^{-1}\left (\frac {2 \sinh \left (\frac {1}{2} (c+d x)\right )+\cosh \left (\frac {1}{2} (c+d x)\right )}{\sinh \left (\frac {1}{2} (c+d x)\right )+2 \cosh \left (\frac {1}{2} (c+d x)\right )}\right )}{4 d} \]

Antiderivative was successfully verified.

[In]

Integrate[(5 + (3*I)*Sinh[c + d*x])^(-1),x]

[Out]

((-1/4*I)*ArcTan[(2*Cosh[(c + d*x)/2] - Sinh[(c + d*x)/2])/(Cosh[(c + d*x)/2] - 2*Sinh[(c + d*x)/2])])/d + ((I
/4)*ArcTan[(Cosh[(c + d*x)/2] + 2*Sinh[(c + d*x)/2])/(2*Cosh[(c + d*x)/2] + Sinh[(c + d*x)/2])])/d - Log[5*Cos
h[c + d*x] - 4*Sinh[c + d*x]]/(8*d) + Log[5*Cosh[c + d*x] + 4*Sinh[c + d*x]]/(8*d)

________________________________________________________________________________________

fricas [A]  time = 0.48, size = 26, normalized size = 0.70 \[ \frac {\log \left (e^{\left (d x + c\right )} - \frac {1}{3} i\right ) - \log \left (e^{\left (d x + c\right )} - 3 i\right )}{4 \, d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(5+3*I*sinh(d*x+c)),x, algorithm="fricas")

[Out]

1/4*(log(e^(d*x + c) - 1/3*I) - log(e^(d*x + c) - 3*I))/d

________________________________________________________________________________________

giac [A]  time = 0.24, size = 28, normalized size = 0.76 \[ \frac {\log \left (3 \, e^{\left (d x + c\right )} - i\right ) - \log \left (e^{\left (d x + c\right )} - 3 i\right )}{4 \, d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(5+3*I*sinh(d*x+c)),x, algorithm="giac")

[Out]

1/4*(log(3*e^(d*x + c) - I) - log(e^(d*x + c) - 3*I))/d

________________________________________________________________________________________

maple [A]  time = 0.05, size = 44, normalized size = 1.19 \[ -\frac {\ln \left (5 \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )-4-3 i\right )}{4 d}+\frac {\ln \left (5 \tanh \left (\frac {d x}{2}+\frac {c}{2}\right )+4-3 i\right )}{4 d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(5+3*I*sinh(d*x+c)),x)

[Out]

-1/4/d*ln(5*tanh(1/2*d*x+1/2*c)-4-3*I)+1/4/d*ln(5*tanh(1/2*d*x+1/2*c)+4-3*I)

________________________________________________________________________________________

maxima [A]  time = 0.41, size = 36, normalized size = 0.97 \[ \frac {\log \left (-\frac {6 \, {\left (-i \, e^{\left (-d x - c\right )} + 3\right )}}{6 i \, e^{\left (-d x - c\right )} - 2}\right )}{4 \, d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(5+3*I*sinh(d*x+c)),x, algorithm="maxima")

[Out]

1/4*log(-6*(-I*e^(-d*x - c) + 3)/(6*I*e^(-d*x - c) - 2))/d

________________________________________________________________________________________

mupad [B]  time = 0.61, size = 32, normalized size = 0.86 \[ -\frac {\ln \left (-\frac {{\mathrm {e}}^{d\,x}\,{\mathrm {e}}^c}{2}+\frac {3}{2}{}\mathrm {i}\right )-\ln \left (\frac {9\,{\mathrm {e}}^{d\,x}\,{\mathrm {e}}^c}{2}-\frac {3}{2}{}\mathrm {i}\right )}{4\,d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(sinh(c + d*x)*3i + 5),x)

[Out]

-(log(3i/2 - (exp(d*x)*exp(c))/2) - log((9*exp(d*x)*exp(c))/2 - 3i/2))/(4*d)

________________________________________________________________________________________

sympy [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: NotInvertible} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(5+3*I*sinh(d*x+c)),x)

[Out]

Exception raised: NotInvertible

________________________________________________________________________________________