Optimal. Leaf size=31 \[ \frac {2 i a \cosh (c+d x)}{d \sqrt {a+i a \sinh (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {2725}
\begin {gather*} \frac {2 i a \cosh (c+d x)}{d \sqrt {a+i a \sinh (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2725
Rubi steps
\begin {align*} \int \sqrt {a+i a \sinh (c+d x)} \, dx &=\frac {2 i a \cosh (c+d x)}{d \sqrt {a+i a \sinh (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Both result and optimal contain complex but leaf count is larger than twice
the leaf count of optimal. \(74\) vs. \(2(31)=62\).
time = 0.03, size = 74, normalized size = 2.39 \begin {gather*} \frac {2 \left (i \cosh \left (\frac {1}{2} (c+d x)\right )+\sinh \left (\frac {1}{2} (c+d x)\right )\right ) \sqrt {a+i a \sinh (c+d x)}}{d \left (\cosh \left (\frac {1}{2} (c+d x)\right )+i \sinh \left (\frac {1}{2} (c+d x)\right )\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 88 vs. \(2 (27 ) = 54\).
time = 1.66, size = 89, normalized size = 2.87
method | result | size |
risch | \(\frac {i \sqrt {2}\, \sqrt {a \left (i {\mathrm e}^{2 d x +2 c}+2 \,{\mathrm e}^{d x +c}-i\right ) {\mathrm e}^{-d x -c}}\, \left ({\mathrm e}^{d x +c}+i\right ) \left ({\mathrm e}^{d x +c}-i\right )}{\left (i {\mathrm e}^{2 d x +2 c}+2 \,{\mathrm e}^{d x +c}-i\right ) d}\) | \(89\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 27, normalized size = 0.87 \begin {gather*} \frac {2 \, \sqrt {\frac {1}{2} i \, a e^{\left (-d x - c\right )}} {\left (e^{\left (d x + c\right )} + i\right )}}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {i a \sinh {\left (c + d x \right )} + a}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.75, size = 53, normalized size = 1.71 \begin {gather*} \frac {\sqrt {2}\,\left ({\mathrm {e}}^{c+d\,x}+1{}\mathrm {i}\right )\,\sqrt {a\,{\mathrm {e}}^{-c-d\,x}\,{\left ({\mathrm {e}}^{c+d\,x}-\mathrm {i}\right )}^2\,1{}\mathrm {i}}}{d\,\left ({\mathrm {e}}^{c+d\,x}-\mathrm {i}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________