Optimal. Leaf size=52 \[ \frac{i \sqrt{2} \tanh ^{-1}\left (\frac{\sqrt{a} \cosh (c+d x)}{\sqrt{2} \sqrt{a+i a \sinh (c+d x)}}\right )}{\sqrt{a} d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0243704, antiderivative size = 52, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118, Rules used = {2649, 206} \[ \frac{i \sqrt{2} \tanh ^{-1}\left (\frac{\sqrt{a} \cosh (c+d x)}{\sqrt{2} \sqrt{a+i a \sinh (c+d x)}}\right )}{\sqrt{a} d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2649
Rule 206
Rubi steps
\begin{align*} \int \frac{1}{\sqrt{a+i a \sinh (c+d x)}} \, dx &=\frac{(2 i) \operatorname{Subst}\left (\int \frac{1}{2 a-x^2} \, dx,x,\frac{a \cosh (c+d x)}{\sqrt{a+i a \sinh (c+d x)}}\right )}{d}\\ &=\frac{i \sqrt{2} \tanh ^{-1}\left (\frac{\sqrt{a} \cosh (c+d x)}{\sqrt{2} \sqrt{a+i a \sinh (c+d x)}}\right )}{\sqrt{a} d}\\ \end{align*}
Mathematica [A] time = 0.0852399, size = 84, normalized size = 1.62 \[ \frac{(2+2 i) \sqrt [4]{-1} \tan ^{-1}\left (\left (\frac{1}{2}+\frac{i}{2}\right ) \sqrt [4]{-1} \left (1-i \tanh \left (\frac{1}{4} (c+d x)\right )\right )\right ) \left (\sinh \left (\frac{1}{2} (c+d x)\right )-i \cosh \left (\frac{1}{2} (c+d x)\right )\right )}{d \sqrt{a+i a \sinh (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.506, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{\sqrt{a+ia\sinh \left ( dx+c \right ) }}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{i \, a \sinh \left (d x + c\right ) + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.11263, size = 518, normalized size = 9.96 \begin{align*} i \, \sqrt{2} \sqrt{\frac{1}{a d^{2}}} \log \left (\frac{\sqrt{2}{\left (a d e^{\left (d x + c\right )} - i \, a d\right )} \sqrt{\frac{1}{a d^{2}}} + 2 \, \sqrt{\frac{1}{2}} \sqrt{i \, a e^{\left (2 \, d x + 2 \, c\right )} + 2 \, a e^{\left (d x + c\right )} - i \, a} e^{\left (-\frac{1}{2} \, d x - \frac{1}{2} \, c\right )}}{2 \, e^{\left (d x + c\right )} - 2 i}\right ) - i \, \sqrt{2} \sqrt{\frac{1}{a d^{2}}} \log \left (-\frac{\sqrt{2}{\left (a d e^{\left (d x + c\right )} - i \, a d\right )} \sqrt{\frac{1}{a d^{2}}} - 2 \, \sqrt{\frac{1}{2}} \sqrt{i \, a e^{\left (2 \, d x + 2 \, c\right )} + 2 \, a e^{\left (d x + c\right )} - i \, a} e^{\left (-\frac{1}{2} \, d x - \frac{1}{2} \, c\right )}}{2 \, e^{\left (d x + c\right )} - 2 i}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{i a \sinh{\left (c + d x \right )} + a}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{i \, a \sinh \left (d x + c\right ) + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]