Optimal. Leaf size=57 \[ -\frac{2 (c \cos (d+e x)-b \sin (d+e x))}{e \sqrt{-\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0381648, antiderivative size = 57, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 34, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.029, Rules used = {3112} \[ -\frac{2 (c \cos (d+e x)-b \sin (d+e x))}{e \sqrt{-\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3112
Rubi steps
\begin{align*} \int \sqrt{-\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)} \, dx &=-\frac{2 (c \cos (d+e x)-b \sin (d+e x))}{e \sqrt{-\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)}}\\ \end{align*}
Mathematica [C] time = 21.5246, size = 11415, normalized size = 200.26 \[ \text{Result too large to show} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 1.706, size = 117, normalized size = 2.1 \begin{align*} 2\,{\frac{\sqrt{{b}^{2}+{c}^{2}} \left ( \sin \left ( ex+d-\arctan \left ( -b,c \right ) \right ) -1 \right ) \left ( 1+\sin \left ( ex+d-\arctan \left ( -b,c \right ) \right ) \right ) }{\cos \left ( ex+d-\arctan \left ( -b,c \right ) \right ) e}{\frac{1}{\sqrt{{\frac{{b}^{2}\sin \left ( ex+d-\arctan \left ( -b,c \right ) \right ) +{c}^{2}\sin \left ( ex+d-\arctan \left ( -b,c \right ) \right ) -{b}^{2}-{c}^{2}}{\sqrt{{b}^{2}+{c}^{2}}}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: RuntimeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.86122, size = 201, normalized size = 3.53 \begin{align*} \frac{2 \,{\left (b \cos \left (e x + d\right ) + c \sin \left (e x + d\right ) + \sqrt{b^{2} + c^{2}}\right )} \sqrt{b \cos \left (e x + d\right ) + c \sin \left (e x + d\right ) - \sqrt{b^{2} + c^{2}}}}{c e \cos \left (e x + d\right ) - b e \sin \left (e x + d\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{b \cos{\left (d + e x \right )} + c \sin{\left (d + e x \right )} - \sqrt{b^{2} + c^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]