Optimal. Leaf size=259 \[ -\frac{2 (c \cos (d+e x)-b \sin (d+e x))}{35 e \left (b^2+c^2\right )^{3/2} \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^2}-\frac{3 (c \cos (d+e x)-b \sin (d+e x))}{35 e \left (b^2+c^2\right ) \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^3}-\frac{c \cos (d+e x)-b \sin (d+e x)}{7 e \sqrt{b^2+c^2} \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^4}-\frac{2 \left (c-\sqrt{b^2+c^2} \sin (d+e x)\right )}{35 c e \left (b^2+c^2\right )^{3/2} (c \cos (d+e x)-b \sin (d+e x))} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.189269, antiderivative size = 259, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 2, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067, Rules used = {3116, 3114} \[ -\frac{2 (c \cos (d+e x)-b \sin (d+e x))}{35 e \left (b^2+c^2\right )^{3/2} \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^2}-\frac{3 (c \cos (d+e x)-b \sin (d+e x))}{35 e \left (b^2+c^2\right ) \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^3}-\frac{c \cos (d+e x)-b \sin (d+e x)}{7 e \sqrt{b^2+c^2} \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^4}-\frac{2 \left (c-\sqrt{b^2+c^2} \sin (d+e x)\right )}{35 c e \left (b^2+c^2\right )^{3/2} (c \cos (d+e x)-b \sin (d+e x))} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3116
Rule 3114
Rubi steps
\begin{align*} \int \frac{1}{\left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^4} \, dx &=-\frac{c \cos (d+e x)-b \sin (d+e x)}{7 \sqrt{b^2+c^2} e \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^4}+\frac{3 \int \frac{1}{\left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^3} \, dx}{7 \sqrt{b^2+c^2}}\\ &=-\frac{c \cos (d+e x)-b \sin (d+e x)}{7 \sqrt{b^2+c^2} e \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^4}-\frac{3 (c \cos (d+e x)-b \sin (d+e x))}{35 \left (b^2+c^2\right ) e \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^3}+\frac{6 \int \frac{1}{\left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^2} \, dx}{35 \left (b^2+c^2\right )}\\ &=-\frac{c \cos (d+e x)-b \sin (d+e x)}{7 \sqrt{b^2+c^2} e \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^4}-\frac{3 (c \cos (d+e x)-b \sin (d+e x))}{35 \left (b^2+c^2\right ) e \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^3}-\frac{2 (c \cos (d+e x)-b \sin (d+e x))}{35 \left (b^2+c^2\right )^{3/2} e \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^2}+\frac{2 \int \frac{1}{\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)} \, dx}{35 \left (b^2+c^2\right )^{3/2}}\\ &=-\frac{c \cos (d+e x)-b \sin (d+e x)}{7 \sqrt{b^2+c^2} e \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^4}-\frac{3 (c \cos (d+e x)-b \sin (d+e x))}{35 \left (b^2+c^2\right ) e \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^3}-\frac{2 (c \cos (d+e x)-b \sin (d+e x))}{35 \left (b^2+c^2\right )^{3/2} e \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^2}-\frac{2 \left (c-\sqrt{b^2+c^2} \sin (d+e x)\right )}{35 c \left (b^2+c^2\right )^{3/2} e (c \cos (d+e x)-b \sin (d+e x))}\\ \end{align*}
Mathematica [B] time = 2.11432, size = 533, normalized size = 2.06 \[ \frac{-1295 b^4 c^2 \sin (d+e x)-189 b^4 c^2 \sin (3 (d+e x))+35 b^4 c^2 \sin (5 (d+e x))-15 b^4 c^2 \sin (7 (d+e x))+896 b^3 c^2 \sqrt{b^2+c^2} \sin (2 (d+e x))-2485 b^2 c^4 \sin (d+e x)-161 b^2 c^4 \sin (3 (d+e x))+35 b^2 c^4 \sin (5 (d+e x))+15 b^2 c^4 \sin (7 (d+e x))+896 b c^4 \sqrt{b^2+c^2} \sin (2 (d+e x))+56 b^3 c^3 \cos (3 (d+e x))+20 b^3 c^3 \cos (7 (d+e x))-1190 b c \left (b^2+c^2\right )^2 \cos (d+e x)+448 c \sqrt{b^2+c^2} \left (b^4-c^4\right ) \cos (2 (d+e x))+832 b^4 c \sqrt{b^2+c^2}+1664 b^2 c^3 \sqrt{b^2+c^2}+832 c^5 \sqrt{b^2+c^2}-112 b^5 c \cos (3 (d+e x))+28 b^5 c \cos (5 (d+e x))-6 b^5 c \cos (7 (d+e x))-35 b^6 \sin (d+e x)+21 b^6 \sin (3 (d+e x))-7 b^6 \sin (5 (d+e x))+b^6 \sin (7 (d+e x))+168 b c^5 \cos (3 (d+e x))-28 b c^5 \cos (5 (d+e x))-6 b c^5 \cos (7 (d+e x))-1225 c^6 \sin (d+e x)+49 c^6 \sin (3 (d+e x))-7 c^6 \sin (5 (d+e x))-c^6 \sin (7 (d+e x))}{1120 c e \left (b^2+c^2\right ) (b \sin (d+e x)-c \cos (d+e x))^7} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.318, size = 823, normalized size = 3.2 \begin{align*} \text{result too large to display} \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 [B] time = 5.61137, size = 1643, normalized size = 6.34 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.17106, size = 809, normalized size = 3.12 \begin{align*} -\frac{2 \,{\left (2560 \, b^{10} + 6528 \, b^{8} c^{2} + 5888 \, b^{6} c^{4} + 2248 \, b^{4} c^{6} + 340 \, b^{2} c^{8} + 12 \, c^{10} + 35 \,{\left (8 \, b^{4} c^{6} + 8 \, b^{2} c^{8} + c^{10} + 4 \,{\left (2 \, b^{3} c^{6} + b c^{8}\right )} \sqrt{b^{2} + c^{2}}\right )} \tan \left (\frac{1}{2} \, x e + \frac{1}{2} \, d\right )^{6} + 105 \,{\left (16 \, b^{5} c^{5} + 20 \, b^{3} c^{7} + 5 \, b c^{9} +{\left (16 \, b^{4} c^{5} + 12 \, b^{2} c^{7} + c^{9}\right )} \sqrt{b^{2} + c^{2}}\right )} \tan \left (\frac{1}{2} \, x e + \frac{1}{2} \, d\right )^{5} + 70 \,{\left (80 \, b^{6} c^{4} + 124 \, b^{4} c^{6} + 49 \, b^{2} c^{8} + 3 \, c^{10} +{\left (80 \, b^{5} c^{4} + 84 \, b^{3} c^{6} + 17 \, b c^{8}\right )} \sqrt{b^{2} + c^{2}}\right )} \tan \left (\frac{1}{2} \, x e + \frac{1}{2} \, d\right )^{4} + 70 \,{\left (160 \, b^{7} c^{3} + 288 \, b^{5} c^{5} + 150 \, b^{3} c^{7} + 20 \, b c^{9} +{\left (160 \, b^{6} c^{3} + 208 \, b^{4} c^{5} + 66 \, b^{2} c^{7} + 3 \, c^{9}\right )} \sqrt{b^{2} + c^{2}}\right )} \tan \left (\frac{1}{2} \, x e + \frac{1}{2} \, d\right )^{3} + 21 \,{\left (640 \, b^{8} c^{2} + 1312 \, b^{6} c^{4} + 856 \, b^{4} c^{6} + 186 \, b^{2} c^{8} + 7 \, c^{10} + 2 \,{\left (320 \, b^{7} c^{2} + 496 \, b^{5} c^{4} + 220 \, b^{3} c^{6} + 25 \, b c^{8}\right )} \sqrt{b^{2} + c^{2}}\right )} \tan \left (\frac{1}{2} \, x e + \frac{1}{2} \, d\right )^{2} + 7 \,{\left (1280 \, b^{9} c + 2944 \, b^{7} c^{3} + 2288 \, b^{5} c^{5} + 676 \, b^{3} c^{7} + 57 \, b c^{9} +{\left (1280 \, b^{8} c + 2304 \, b^{6} c^{3} + 1296 \, b^{4} c^{5} + 236 \, b^{2} c^{7} + 7 \, c^{9}\right )} \sqrt{b^{2} + c^{2}}\right )} \tan \left (\frac{1}{2} \, x e + \frac{1}{2} \, d\right ) + 4 \,{\left (640 \, b^{9} + 1312 \, b^{7} c^{2} + 896 \, b^{5} c^{4} + 238 \, b^{3} c^{6} + 21 \, b c^{8}\right )} \sqrt{b^{2} + c^{2}}\right )} e^{\left (-1\right )}}{35 \,{\left (c \tan \left (\frac{1}{2} \, x e + \frac{1}{2} \, d\right ) + b + \sqrt{b^{2} + c^{2}}\right )}^{7} c^{7}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]