Optimal. Leaf size=79 \[ \frac {(3 B+i A) \tanh ^{-1}\left (\frac {\sqrt {a} \cosh (x)}{\sqrt {2} \sqrt {a+i a \sinh (x)}}\right )}{2 \sqrt {2} a^{3/2}}+\frac {(-B+i A) \cosh (x)}{2 (a+i a \sinh (x))^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 79, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {2750, 2649, 206} \[ \frac {(3 B+i A) \tanh ^{-1}\left (\frac {\sqrt {a} \cosh (x)}{\sqrt {2} \sqrt {a+i a \sinh (x)}}\right )}{2 \sqrt {2} a^{3/2}}+\frac {(-B+i A) \cosh (x)}{2 (a+i a \sinh (x))^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 2649
Rule 2750
Rubi steps
\begin {align*} \int \frac {A+B \sinh (x)}{(a+i a \sinh (x))^{3/2}} \, dx &=\frac {(i A-B) \cosh (x)}{2 (a+i a \sinh (x))^{3/2}}+\frac {(A-3 i B) \int \frac {1}{\sqrt {a+i a \sinh (x)}} \, dx}{4 a}\\ &=\frac {(i A-B) \cosh (x)}{2 (a+i a \sinh (x))^{3/2}}+\frac {(i A+3 B) \operatorname {Subst}\left (\int \frac {1}{2 a-x^2} \, dx,x,\frac {a \cosh (x)}{\sqrt {a+i a \sinh (x)}}\right )}{2 a}\\ &=\frac {(i A+3 B) \tanh ^{-1}\left (\frac {\sqrt {a} \cosh (x)}{\sqrt {2} \sqrt {a+i a \sinh (x)}}\right )}{2 \sqrt {2} a^{3/2}}+\frac {(i A-B) \cosh (x)}{2 (a+i a \sinh (x))^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.25, size = 105, normalized size = 1.33 \[ \frac {\left (\cosh \left (\frac {x}{2}\right )+i \sinh \left (\frac {x}{2}\right )\right ) \left ((A+i B) \sinh \left (\frac {x}{2}\right )+i (A+i B) \cosh \left (\frac {x}{2}\right )+(1+i) \sqrt [4]{-1} (A-3 i B) (\sinh (x)-i) \tan ^{-1}\left (\frac {\tanh \left (\frac {x}{4}\right )+i}{\sqrt {2}}\right )\right )}{2 (a+i a \sinh (x))^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.58, size = 267, normalized size = 3.38 \[ \frac {\sqrt {\frac {1}{2}} {\left (a^{2} e^{\left (2 \, x\right )} - 2 i \, a^{2} e^{x} - a^{2}\right )} \sqrt {-\frac {A^{2} - 6 i \, A B - 9 \, B^{2}}{a^{3}}} \log \left (\frac {\sqrt {\frac {1}{2}} a^{2} \sqrt {-\frac {A^{2} - 6 i \, A B - 9 \, B^{2}}{a^{3}}} + \sqrt {\frac {1}{2} i \, a e^{\left (-x\right )}} {\left (i \, A + 3 \, B\right )}}{i \, A + 3 \, B}\right ) - \sqrt {\frac {1}{2}} {\left (a^{2} e^{\left (2 \, x\right )} - 2 i \, a^{2} e^{x} - a^{2}\right )} \sqrt {-\frac {A^{2} - 6 i \, A B - 9 \, B^{2}}{a^{3}}} \log \left (-\frac {\sqrt {\frac {1}{2}} a^{2} \sqrt {-\frac {A^{2} - 6 i \, A B - 9 \, B^{2}}{a^{3}}} - \sqrt {\frac {1}{2} i \, a e^{\left (-x\right )}} {\left (i \, A + 3 \, B\right )}}{i \, A + 3 \, B}\right ) - {\left (2 \, {\left (i \, A - B\right )} e^{\left (2 \, x\right )} - {\left (2 \, A + 2 i \, B\right )} e^{x}\right )} \sqrt {\frac {1}{2} i \, a e^{\left (-x\right )}}}{2 \, {\left (a^{2} e^{\left (2 \, x\right )} - 2 i \, a^{2} e^{x} - a^{2}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {B \sinh \relax (x) + A}{{\left (i \, a \sinh \relax (x) + a\right )}^{\frac {3}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.12, size = 0, normalized size = 0.00 \[ \int \frac {A +B \sinh \relax (x )}{\left (a +i a \sinh \relax (x )\right )^{\frac {3}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {B \sinh \relax (x) + A}{{\left (i \, a \sinh \relax (x) + a\right )}^{\frac {3}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {A+B\,\mathrm {sinh}\relax (x)}{{\left (a+a\,\mathrm {sinh}\relax (x)\,1{}\mathrm {i}\right )}^{3/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {A + B \sinh {\relax (x )}}{\left (i a \left (\sinh {\relax (x )} - i\right )\right )^{\frac {3}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________