Optimal. Leaf size=96 \[ -\frac{i \sqrt{2 a+b \sinh (2 c+2 d x)} E\left (\frac{1}{2} \left (2 i c+2 i d x-\frac{\pi }{2}\right )|\frac{2 b}{2 i a+b}\right )}{\sqrt{2} d \sqrt{\frac{2 a+b \sinh (2 c+2 d x)}{2 a-i b}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0726453, antiderivative size = 96, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.15, Rules used = {2666, 2655, 2653} \[ -\frac{i \sqrt{2 a+b \sinh (2 c+2 d x)} E\left (\frac{1}{2} \left (2 i c+2 i d x-\frac{\pi }{2}\right )|\frac{2 b}{2 i a+b}\right )}{\sqrt{2} d \sqrt{\frac{2 a+b \sinh (2 c+2 d x)}{2 a-i b}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2666
Rule 2655
Rule 2653
Rubi steps
\begin{align*} \int \sqrt{a+b \cosh (c+d x) \sinh (c+d x)} \, dx &=\int \sqrt{a+\frac{1}{2} b \sinh (2 c+2 d x)} \, dx\\ &=\frac{\sqrt{a+\frac{1}{2} b \sinh (2 c+2 d x)} \int \sqrt{\frac{a}{a-\frac{i b}{2}}+\frac{b \sinh (2 c+2 d x)}{2 \left (a-\frac{i b}{2}\right )}} \, dx}{\sqrt{\frac{a+\frac{1}{2} b \sinh (2 c+2 d x)}{a-\frac{i b}{2}}}}\\ &=-\frac{i E\left (\frac{1}{2} \left (2 i c-\frac{\pi }{2}+2 i d x\right )|\frac{2 b}{2 i a+b}\right ) \sqrt{2 a+b \sinh (2 c+2 d x)}}{\sqrt{2} d \sqrt{\frac{2 a+b \sinh (2 c+2 d x)}{2 a-i b}}}\\ \end{align*}
Mathematica [A] time = 0.108877, size = 94, normalized size = 0.98 \[ \frac{(b+2 i a) \sqrt{\frac{2 a+b \sinh (2 (c+d x))}{2 a-i b}} E\left (\frac{1}{4} (-4 i c-4 i d x+\pi )|-\frac{2 i b}{2 a-i b}\right )}{d \sqrt{4 a+2 b \sinh (2 (c+d x))}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.396, size = 351, normalized size = 3.7 \begin{align*}{\frac{ib-2\,a}{b\cosh \left ( 2\,dx+2\,c \right ) d}\sqrt{-{\frac{2\,a+b\sinh \left ( 2\,dx+2\,c \right ) }{ib-2\,a}}}\sqrt{{\frac{ \left ( -\sinh \left ( 2\,dx+2\,c \right ) +i \right ) b}{ib+2\,a}}}\sqrt{{\frac{ \left ( i+\sinh \left ( 2\,dx+2\,c \right ) \right ) b}{ib-2\,a}}} \left ( i{\it EllipticE} \left ( \sqrt{-{\frac{2\,a+b\sinh \left ( 2\,dx+2\,c \right ) }{ib-2\,a}}},\sqrt{-{\frac{ib-2\,a}{ib+2\,a}}} \right ) b-i{\it EllipticF} \left ( \sqrt{-{\frac{2\,a+b\sinh \left ( 2\,dx+2\,c \right ) }{ib-2\,a}}},\sqrt{-{\frac{ib-2\,a}{ib+2\,a}}} \right ) b+2\,{\it EllipticE} \left ( \sqrt{-{\frac{2\,a+b\sinh \left ( 2\,dx+2\,c \right ) }{ib-2\,a}}},\sqrt{-{\frac{ib-2\,a}{ib+2\,a}}} \right ) a-2\,a{\it EllipticF} \left ( \sqrt{-{\frac{2\,a+b\sinh \left ( 2\,dx+2\,c \right ) }{ib-2\,a}}},\sqrt{-{\frac{ib-2\,a}{ib+2\,a}}} \right ) \right ){\frac{1}{\sqrt{4\,a+2\,b\sinh \left ( 2\,dx+2\,c \right ) }}}} \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 \sqrt{b \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\sqrt{b \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + a}, x\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 \sqrt{a + b \sinh{\left (c + d x \right )} \cosh{\left (c + d x \right )}}\, 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 \sqrt{b \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]