Integrand size = 34, antiderivative size = 57 \[ \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)}} \]
[Out]
Time = 0.04 (sec) , antiderivative size = 57, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.029, Rules used = {3191} \[ \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)}} \]
[In]
[Out]
Rule 3191
Rubi steps \begin{align*} \text {integral}& = -\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*}
Result contains higher order function than in optimal. Order 4 vs. order 3 in optimal.
Time = 18.30 (sec) , antiderivative size = 5053, normalized size of antiderivative = 88.65 \[ \int \sqrt {-\sqrt {b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)} \, dx=\text {Result too large to show} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(116\) vs. \(2(53)=106\).
Time = 1.34 (sec) , antiderivative size = 117, normalized size of antiderivative = 2.05
method | result | size |
default | \(\frac {2 \left (\sin \left (e x +d -\arctan \left (-b , c\right )\right )-1\right ) \sqrt {b^{2}+c^{2}}\, \left (\sin \left (e x +d -\arctan \left (-b , c\right )\right )+1\right )}{\cos \left (e x +d -\arctan \left (-b , c\right )\right ) \sqrt {\frac {b^{2} \sin \left (e x +d -\arctan \left (-b , c\right )\right )+c^{2} \sin \left (e x +d -\arctan \left (-b , c\right )\right )-b^{2}-c^{2}}{\sqrt {b^{2}+c^{2}}}}\, e}\) | \(117\) |
risch | \(\frac {\sqrt {2}\, \sqrt {-2 \sqrt {b^{2}+c^{2}}+2 b \cos \left (e x +d \right )+2 c \sin \left (e x +d \right )}\, \left (i b +c \right ) \left (i \sqrt {b^{2}+c^{2}}\, c +b^{2} {\mathrm e}^{i \left (e x +d \right )}+c^{2} {\mathrm e}^{i \left (e x +d \right )}+\sqrt {b^{2}+c^{2}}\, b \right ) \left (-i \sqrt {b^{2}+c^{2}}\, c +b^{2} {\mathrm e}^{i \left (e x +d \right )}+c^{2} {\mathrm e}^{i \left (e x +d \right )}-\sqrt {b^{2}+c^{2}}\, b \right )}{\left (i c \,{\mathrm e}^{2 i \left (e x +d \right )}-b \,{\mathrm e}^{2 i \left (e x +d \right )}+2 \sqrt {b^{2}+c^{2}}\, {\mathrm e}^{i \left (e x +d \right )}-i c -b \right ) \left (b^{2}+c^{2}\right )^{2} e}\) | \(213\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 80, normalized size of antiderivative = 1.40 \[ \int \sqrt {-\sqrt {b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)} \, dx=\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 )} \]
[In]
[Out]
\[ \int \sqrt {-\sqrt {b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)} \, dx=\int \sqrt {b \cos {\left (d + e x \right )} + c \sin {\left (d + e x \right )} - \sqrt {b^{2} + c^{2}}}\, dx \]
[In]
[Out]
Exception generated. \[ \int \sqrt {-\sqrt {b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)} \, dx=\text {Exception raised: RuntimeError} \]
[In]
[Out]
Exception generated. \[ \int \sqrt {-\sqrt {b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Timed out. \[ \int \sqrt {-\sqrt {b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)} \, dx=\int \sqrt {b\,\cos \left (d+e\,x\right )+c\,\sin \left (d+e\,x\right )-\sqrt {b^2+c^2}} \,d x \]
[In]
[Out]