Optimal. Leaf size=118 \[ \frac{2 \sqrt{\cos (d+e x)} \sqrt{a+b \sec (d+e x)+c \tan (d+e x)} E\left (\frac{1}{2} \left (d+e x-\tan ^{-1}(a,c)\right )|\frac{2 \sqrt{a^2+c^2}}{b+\sqrt{a^2+c^2}}\right )}{e \sqrt{\frac{a \cos (d+e x)+b+c \sin (d+e x)}{\sqrt{a^2+c^2}+b}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.146648, antiderivative size = 118, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 33, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091, Rules used = {3163, 3119, 2653} \[ \frac{2 \sqrt{\cos (d+e x)} \sqrt{a+b \sec (d+e x)+c \tan (d+e x)} E\left (\frac{1}{2} \left (d+e x-\tan ^{-1}(a,c)\right )|\frac{2 \sqrt{a^2+c^2}}{b+\sqrt{a^2+c^2}}\right )}{e \sqrt{\frac{a \cos (d+e x)+b+c \sin (d+e x)}{\sqrt{a^2+c^2}+b}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3163
Rule 3119
Rule 2653
Rubi steps
\begin{align*} \int \sqrt{\cos (d+e x)} \sqrt{a+b \sec (d+e x)+c \tan (d+e x)} \, dx &=\frac{\left (\sqrt{\cos (d+e x)} \sqrt{a+b \sec (d+e x)+c \tan (d+e x)}\right ) \int \sqrt{b+a \cos (d+e x)+c \sin (d+e x)} \, dx}{\sqrt{b+a \cos (d+e x)+c \sin (d+e x)}}\\ &=\frac{\left (\sqrt{\cos (d+e x)} \sqrt{a+b \sec (d+e x)+c \tan (d+e x)}\right ) \int \sqrt{\frac{b}{b+\sqrt{a^2+c^2}}+\frac{\sqrt{a^2+c^2} \cos \left (d+e x-\tan ^{-1}(a,c)\right )}{b+\sqrt{a^2+c^2}}} \, dx}{\sqrt{\frac{b+a \cos (d+e x)+c \sin (d+e x)}{b+\sqrt{a^2+c^2}}}}\\ &=\frac{2 \sqrt{\cos (d+e x)} E\left (\frac{1}{2} \left (d+e x-\tan ^{-1}(a,c)\right )|\frac{2 \sqrt{a^2+c^2}}{b+\sqrt{a^2+c^2}}\right ) \sqrt{a+b \sec (d+e x)+c \tan (d+e x)}}{e \sqrt{\frac{b+a \cos (d+e x)+c \sin (d+e x)}{b+\sqrt{a^2+c^2}}}}\\ \end{align*}
Mathematica [F] time = 21.2875, size = 0, normalized size = 0. \[ \int \sqrt{\cos (d+e x)} \sqrt{a+b \sec (d+e x)+c \tan (d+e x)} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.444, size = 12460, normalized size = 105.6 \begin{align*} \text{output too large to display} \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 \sec \left (e x + d\right ) + c \tan \left (e x + d\right ) + a} \sqrt{\cos \left (e x + d\right )}\,{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 \sec \left (e x + d\right ) + c \tan \left (e x + d\right ) + a} \sqrt{\cos \left (e x + d\right )}, 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 \sec{\left (d + e x \right )} + c \tan{\left (d + e x \right )}} \sqrt{\cos{\left (d + e 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 \sec \left (e x + d\right ) + c \tan \left (e x + d\right ) + a} \sqrt{\cos \left (e x + d\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]