3.64 \(\int \frac {\sinh (x)}{\sqrt {a+i a \sinh (x)}} \, dx\)

Optimal. Leaf size=57 \[ \frac {2 \cosh (x)}{\sqrt {a+i a \sinh (x)}}-\frac {\sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {a} \cosh (x)}{\sqrt {2} \sqrt {a+i a \sinh (x)}}\right )}{\sqrt {a}} \]

[Out]

-arctanh(1/2*cosh(x)*a^(1/2)*2^(1/2)/(a+I*a*sinh(x))^(1/2))*2^(1/2)/a^(1/2)+2*cosh(x)/(a+I*a*sinh(x))^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.06, antiderivative size = 57, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {2751, 2649, 206} \[ \frac {2 \cosh (x)}{\sqrt {a+i a \sinh (x)}}-\frac {\sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {a} \cosh (x)}{\sqrt {2} \sqrt {a+i a \sinh (x)}}\right )}{\sqrt {a}} \]

Antiderivative was successfully verified.

[In]

Int[Sinh[x]/Sqrt[a + I*a*Sinh[x]],x]

[Out]

-((Sqrt[2]*ArcTanh[(Sqrt[a]*Cosh[x])/(Sqrt[2]*Sqrt[a + I*a*Sinh[x]])])/Sqrt[a]) + (2*Cosh[x])/Sqrt[a + I*a*Sin
h[x]]

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 2649

Int[1/Sqrt[(a_) + (b_.)*sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Dist[-2/d, Subst[Int[1/(2*a - x^2), x], x, (b*C
os[c + d*x])/Sqrt[a + b*Sin[c + d*x]]], x] /; FreeQ[{a, b, c, d}, x] && EqQ[a^2 - b^2, 0]

Rule 2751

Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]), x_Symbol] :> -Simp[(d
*Cos[e + f*x]*(a + b*Sin[e + f*x])^m)/(f*(m + 1)), x] + Dist[(a*d*m + b*c*(m + 1))/(b*(m + 1)), Int[(a + b*Sin
[e + f*x])^m, x], x] /; FreeQ[{a, b, c, d, e, f, m}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] &&  !LtQ[m,
-2^(-1)]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.07, size = 75, normalized size = 1.32 \[ \frac {2 \left (\cosh \left (\frac {x}{2}\right )+i \sinh \left (\frac {x}{2}\right )\right ) \left (-i \sinh \left (\frac {x}{2}\right )+\cosh \left (\frac {x}{2}\right )+(1+i) \sqrt [4]{-1} \tan ^{-1}\left (\frac {\tanh \left (\frac {x}{4}\right )+i}{\sqrt {2}}\right )\right )}{\sqrt {a+i a \sinh (x)}} \]

Antiderivative was successfully verified.

[In]

Integrate[Sinh[x]/Sqrt[a + I*a*Sinh[x]],x]

[Out]

(2*((1 + I)*(-1)^(1/4)*ArcTan[(I + Tanh[x/4])/Sqrt[2]] + Cosh[x/2] - I*Sinh[x/2])*(Cosh[x/2] + I*Sinh[x/2]))/S
qrt[a + I*a*Sinh[x]]

________________________________________________________________________________________

fricas [A]  time = 0.62, size = 76, normalized size = 1.33 \[ -\frac {\sqrt {2} \sqrt {a} \log \left (\frac {1}{2} \, \sqrt {2} \sqrt {a} + \sqrt {\frac {1}{2} i \, a e^{\left (-x\right )}}\right ) - \sqrt {2} \sqrt {a} \log \left (-\frac {1}{2} \, \sqrt {2} \sqrt {a} + \sqrt {\frac {1}{2} i \, a e^{\left (-x\right )}}\right ) + 2 \, \sqrt {\frac {1}{2} i \, a e^{\left (-x\right )}} {\left (i \, e^{x} - 1\right )}}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(x)/(a+I*a*sinh(x))^(1/2),x, algorithm="fricas")

[Out]

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

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sinh \relax (x)}{\sqrt {i \, a \sinh \relax (x) + a}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(x)/(a+I*a*sinh(x))^(1/2),x, algorithm="giac")

[Out]

integrate(sinh(x)/sqrt(I*a*sinh(x) + a), x)

________________________________________________________________________________________

maple [F]  time = 0.41, size = 0, normalized size = 0.00 \[ \int \frac {\sinh \relax (x )}{\sqrt {a +i a \sinh \relax (x )}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sinh(x)/(a+I*a*sinh(x))^(1/2),x)

[Out]

int(sinh(x)/(a+I*a*sinh(x))^(1/2),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sinh \relax (x)}{\sqrt {i \, a \sinh \relax (x) + a}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(x)/(a+I*a*sinh(x))^(1/2),x, algorithm="maxima")

[Out]

integrate(sinh(x)/sqrt(I*a*sinh(x) + a), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {\mathrm {sinh}\relax (x)}{\sqrt {a+a\,\mathrm {sinh}\relax (x)\,1{}\mathrm {i}}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sinh(x)/(a + a*sinh(x)*1i)^(1/2),x)

[Out]

int(sinh(x)/(a + a*sinh(x)*1i)^(1/2), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sinh {\relax (x )}}{\sqrt {i a \left (\sinh {\relax (x )} - i\right )}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(x)/(a+I*a*sinh(x))**(1/2),x)

[Out]

Integral(sinh(x)/sqrt(I*a*(sinh(x) - I)), x)

________________________________________________________________________________________