Optimal. Leaf size=191 \[ -\frac{2 (c \cos (d+e x)-b \sin (d+e x))}{15 e \left (b^2+c^2\right ) \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^2}-\frac{c \cos (d+e x)-b \sin (d+e x)}{5 e \sqrt{b^2+c^2} \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^3}-\frac{2 \left (c-\sqrt{b^2+c^2} \sin (d+e x)\right )}{15 c e \left (b^2+c^2\right ) (c \cos (d+e x)-b \sin (d+e x))} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.132685, antiderivative size = 191, normalized size of antiderivative = 1., number of steps used = 3, 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))}{15 e \left (b^2+c^2\right ) \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^2}-\frac{c \cos (d+e x)-b \sin (d+e x)}{5 e \sqrt{b^2+c^2} \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^3}-\frac{2 \left (c-\sqrt{b^2+c^2} \sin (d+e x)\right )}{15 c e \left (b^2+c^2\right ) (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 )^3} \, dx &=-\frac{c \cos (d+e x)-b \sin (d+e x)}{5 \sqrt{b^2+c^2} e \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^3}+\frac{2 \int \frac{1}{\left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^2} \, dx}{5 \sqrt{b^2+c^2}}\\ &=-\frac{c \cos (d+e x)-b \sin (d+e x)}{5 \sqrt{b^2+c^2} 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))}{15 \left (b^2+c^2\right ) 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}{15 \left (b^2+c^2\right )}\\ &=-\frac{c \cos (d+e x)-b \sin (d+e x)}{5 \sqrt{b^2+c^2} 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))}{15 \left (b^2+c^2\right ) 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 )}{15 c \left (b^2+c^2\right ) e (c \cos (d+e x)-b \sin (d+e x))}\\ \end{align*}
Mathematica [B] time = 2.77742, size = 420, normalized size = 2.2 \[ \frac{100 c^4 \sqrt{b^2+c^2} \sin (d+e x)+5 c^4 \sqrt{b^2+c^2} \sin (3 (d+e x))+c^4 \sqrt{b^2+c^2} \sin (5 (d+e x))+110 b^2 c^2 \sqrt{b^2+c^2} \sin (d+e x)-40 b^3 c^2 \sin (2 (d+e x))-6 b^2 c^2 \sqrt{b^2+c^2} \sin (5 (d+e x))+10 b^4 \sqrt{b^2+c^2} \sin (d+e x)-5 b^4 \sqrt{b^2+c^2} \sin (3 (d+e x))+b^4 \sqrt{b^2+c^2} \sin (5 (d+e x))+10 b c^3 \sqrt{b^2+c^2} \cos (3 (d+e x))+4 b c^3 \sqrt{b^2+c^2} \cos (5 (d+e x))+90 b c \left (b^2+c^2\right )^{3/2} \cos (d+e x)+20 c \left (c^4-b^4\right ) \cos (2 (d+e x))+10 b^3 c \sqrt{b^2+c^2} \cos (3 (d+e x))-4 b^3 c \sqrt{b^2+c^2} \cos (5 (d+e x))-152 b^2 c^3-76 b^4 c-40 b c^4 \sin (2 (d+e x))-76 c^5}{120 c e \left (b^2+c^2\right ) (c \cos (d+e x)-b \sin (d+e x))^5} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.194, size = 496, normalized size = 2.6 \begin{align*} 2\,{\frac{1}{{c}^{4}e} \left ( -{\frac{ \left ( 4\,\sqrt{{b}^{2}+{c}^{2}}{b}^{2}+\sqrt{{b}^{2}+{c}^{2}}{c}^{2}+4\,{b}^{3}+3\,b{c}^{2} \right ) \left ( \tan \left ( d/2+1/2\,ex \right ) \right ) ^{4}}{{c}^{2}}}-2\,{\frac{ \left ( 8\,{b}^{4}+8\,{b}^{2}{c}^{2}+{c}^{4}+8\,\sqrt{{b}^{2}+{c}^{2}}{b}^{3}+4\,\sqrt{{b}^{2}+{c}^{2}}b{c}^{2} \right ) \left ( \tan \left ( d/2+1/2\,ex \right ) \right ) ^{3}}{{c}^{3}}}-4/3\,{\frac{ \left ( 24\,\sqrt{{b}^{2}+{c}^{2}}{b}^{4}+20\,\sqrt{{b}^{2}+{c}^{2}}{b}^{2}{c}^{2}+2\,\sqrt{{b}^{2}+{c}^{2}}{c}^{4}+24\,{b}^{5}+32\,{b}^{3}{c}^{2}+9\,b{c}^{4} \right ) \left ( \tan \left ( d/2+1/2\,ex \right ) \right ) ^{2}}{{c}^{4}}}-2/3\,{\frac{ \left ( 48\,{b}^{6}+76\,{b}^{4}{c}^{2}+31\,{b}^{2}{c}^{4}+2\,{c}^{6}+48\,\sqrt{{b}^{2}+{c}^{2}}{b}^{5}+52\,\sqrt{{b}^{2}+{c}^{2}}{b}^{3}{c}^{2}+11\,\sqrt{{b}^{2}+{c}^{2}}b{c}^{4} \right ) \tan \left ( d/2+1/2\,ex \right ) }{{c}^{5}}}-1/15\,{\frac{192\,\sqrt{{b}^{2}+{c}^{2}}{b}^{6}+256\,\sqrt{{b}^{2}+{c}^{2}}{b}^{4}{c}^{2}+96\,\sqrt{{b}^{2}+{c}^{2}}{b}^{2}{c}^{4}+7\,\sqrt{{b}^{2}+{c}^{2}}{c}^{6}+192\,{b}^{7}+352\,{b}^{5}{c}^{2}+200\,{b}^{3}{c}^{4}+35\,b{c}^{6}}{{c}^{6}}} \right ) \left ( \left ( \tan \left ( d/2+1/2\,ex \right ) \right ) ^{2}+2\,{\frac{\sqrt{{b}^{2}+{c}^{2}}\tan \left ( d/2+1/2\,ex \right ) }{c}}+2\,{\frac{b\tan \left ( d/2+1/2\,ex \right ) }{c}}+2\,{\frac{\sqrt{{b}^{2}+{c}^{2}}b}{{c}^{2}}}+2\,{\frac{{b}^{2}}{{c}^{2}}}+1 \right ) ^{-2} \left ( \tan \left ( d/2+1/2\,ex \right ) +{\frac{\sqrt{{b}^{2}+{c}^{2}}}{c}}+{\frac{b}{c}} \right ) ^{-1}} \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 = 2.98511, size = 1080, normalized size = 5.65 \begin{align*} -\frac{7 \, b^{6} + 26 \, b^{4} c^{2} + 31 \, b^{2} c^{4} + 12 \, c^{6} + 5 \,{\left (b^{6} + b^{4} c^{2} - b^{2} c^{4} - c^{6}\right )} \cos \left (e x + d\right )^{2} + 10 \,{\left (b^{5} c + 2 \, b^{3} c^{3} + b c^{5}\right )} \cos \left (e x + d\right ) \sin \left (e x + d\right ) -{\left (2 \,{\left (b^{5} - 10 \, b^{3} c^{2} + 5 \, b c^{4}\right )} \cos \left (e x + d\right )^{5} - 5 \,{\left (b^{5} - 6 \, b^{3} c^{2} + b c^{4}\right )} \cos \left (e x + d\right )^{3} + 5 \,{\left (3 \, b^{5} + 3 \, b^{3} c^{2} + 2 \, b c^{4}\right )} \cos \left (e x + d\right ) +{\left (15 \, b^{4} c + 25 \, b^{2} c^{3} + 12 \, c^{5} + 2 \,{\left (5 \, b^{4} c - 10 \, b^{2} c^{3} + c^{5}\right )} \cos \left (e x + d\right )^{4} -{\left (15 \, b^{4} c - 10 \, b^{2} c^{3} - c^{5}\right )} \cos \left (e x + d\right )^{2}\right )} \sin \left (e x + d\right )\right )} \sqrt{b^{2} + c^{2}}}{15 \,{\left ({\left (5 \, b^{8} c - 14 \, b^{4} c^{5} - 8 \, b^{2} c^{7} + c^{9}\right )} e \cos \left (e x + d\right )^{5} - 10 \,{\left (b^{8} c + b^{6} c^{3} - b^{4} c^{5} - b^{2} c^{7}\right )} e \cos \left (e x + d\right )^{3} + 5 \,{\left (b^{8} c + 2 \, b^{6} c^{3} + b^{4} c^{5}\right )} e \cos \left (e x + d\right ) -{\left ({\left (b^{9} - 8 \, b^{7} c^{2} - 14 \, b^{5} c^{4} + 5 \, b c^{8}\right )} e \cos \left (e x + d\right )^{4} - 2 \,{\left (b^{9} - 3 \, b^{7} c^{2} - 9 \, b^{5} c^{4} - 5 \, b^{3} c^{6}\right )} e \cos \left (e x + d\right )^{2} +{\left (b^{9} + 2 \, b^{7} c^{2} + b^{5} c^{4}\right )} e\right )} \sin \left (e x + d\right )\right )}} \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 [A] time = 1.14242, size = 467, normalized size = 2.45 \begin{align*} -\frac{2 \,{\left (192 \, b^{7} + 352 \, b^{5} c^{2} + 200 \, b^{3} c^{4} + 35 \, b c^{6} + 15 \,{\left (4 \, b^{3} c^{4} + 3 \, b c^{6} +{\left (4 \, b^{2} c^{4} + c^{6}\right )} \sqrt{b^{2} + c^{2}}\right )} \tan \left (\frac{1}{2} \, x e + \frac{1}{2} \, d\right )^{4} + 30 \,{\left (8 \, b^{4} c^{3} + 8 \, b^{2} c^{5} + c^{7} + 4 \,{\left (2 \, b^{3} c^{3} + b c^{5}\right )} \sqrt{b^{2} + c^{2}}\right )} \tan \left (\frac{1}{2} \, x e + \frac{1}{2} \, d\right )^{3} + 20 \,{\left (24 \, b^{5} c^{2} + 32 \, b^{3} c^{4} + 9 \, b c^{6} + 2 \,{\left (12 \, b^{4} c^{2} + 10 \, b^{2} c^{4} + c^{6}\right )} \sqrt{b^{2} + c^{2}}\right )} \tan \left (\frac{1}{2} \, x e + \frac{1}{2} \, d\right )^{2} + 10 \,{\left (48 \, b^{6} c + 76 \, b^{4} c^{3} + 31 \, b^{2} c^{5} + 2 \, c^{7} +{\left (48 \, b^{5} c + 52 \, b^{3} c^{3} + 11 \, b c^{5}\right )} \sqrt{b^{2} + c^{2}}\right )} \tan \left (\frac{1}{2} \, x e + \frac{1}{2} \, d\right ) +{\left (192 \, b^{6} + 256 \, b^{4} c^{2} + 96 \, b^{2} c^{4} + 7 \, c^{6}\right )} \sqrt{b^{2} + c^{2}}\right )} e^{\left (-1\right )}}{15 \,{\left (c \tan \left (\frac{1}{2} \, x e + \frac{1}{2} \, d\right ) + b + \sqrt{b^{2} + c^{2}}\right )}^{5} c^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]