Optimal. Leaf size=258 \[ -\frac{2 (c \cos (d+e x)-b \sin (d+e x)) \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^{5/2}}{7 e}-\frac{24 \sqrt{b^2+c^2} (c \cos (d+e x)-b \sin (d+e x)) \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^{3/2}}{35 e}-\frac{64 \left (b^2+c^2\right ) (c \cos (d+e x)-b \sin (d+e x)) \sqrt{\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)}}{35 e}-\frac{256 \left (b^2+c^2\right )^{3/2} (c \cos (d+e x)-b \sin (d+e x))}{35 e \sqrt{\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.178605, antiderivative size = 258, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 2, integrand size = 32, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.062, Rules used = {3113, 3112} \[ -\frac{2 (c \cos (d+e x)-b \sin (d+e x)) \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^{5/2}}{7 e}-\frac{24 \sqrt{b^2+c^2} (c \cos (d+e x)-b \sin (d+e x)) \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^{3/2}}{35 e}-\frac{64 \left (b^2+c^2\right ) (c \cos (d+e x)-b \sin (d+e x)) \sqrt{\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)}}{35 e}-\frac{256 \left (b^2+c^2\right )^{3/2} (c \cos (d+e x)-b \sin (d+e x))}{35 e \sqrt{\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3113
Rule 3112
Rubi steps
\begin{align*} \int \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^{7/2} \, dx &=-\frac{2 (c \cos (d+e x)-b \sin (d+e x)) \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^{5/2}}{7 e}+\frac{1}{7} \left (12 \sqrt{b^2+c^2}\right ) \int \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^{5/2} \, dx\\ &=-\frac{24 \sqrt{b^2+c^2} (c \cos (d+e x)-b \sin (d+e x)) \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^{3/2}}{35 e}-\frac{2 (c \cos (d+e x)-b \sin (d+e x)) \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^{5/2}}{7 e}+\frac{1}{35} \left (96 \left (b^2+c^2\right )\right ) \int \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^{3/2} \, dx\\ &=-\frac{64 \left (b^2+c^2\right ) (c \cos (d+e x)-b \sin (d+e x)) \sqrt{\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)}}{35 e}-\frac{24 \sqrt{b^2+c^2} (c \cos (d+e x)-b \sin (d+e x)) \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^{3/2}}{35 e}-\frac{2 (c \cos (d+e x)-b \sin (d+e x)) \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^{5/2}}{7 e}+\frac{1}{35} \left (128 \left (b^2+c^2\right )^{3/2}\right ) \int \sqrt{\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)} \, dx\\ &=-\frac{256 \left (b^2+c^2\right )^{3/2} (c \cos (d+e x)-b \sin (d+e x))}{35 e \sqrt{\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)}}-\frac{64 \left (b^2+c^2\right ) (c \cos (d+e x)-b \sin (d+e x)) \sqrt{\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)}}{35 e}-\frac{24 \sqrt{b^2+c^2} (c \cos (d+e x)-b \sin (d+e x)) \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^{3/2}}{35 e}-\frac{2 (c \cos (d+e x)-b \sin (d+e x)) \left (\sqrt{b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^{5/2}}{7 e}\\ \end{align*}
Mathematica [C] time = 32.745, size = 11888, normalized size = 46.08 \[ \text{Result too large to show} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 1.937, size = 306, normalized size = 1.2 \begin{align*}{\frac{ \left ( 2+2\,\sin \left ( ex+d-\arctan \left ( -b,c \right ) \right ) \right ) \left ( \sin \left ( ex+d-\arctan \left ( -b,c \right ) \right ) -1 \right ) \left ( 5\,{b}^{4} \left ( \sin \left ( ex+d-\arctan \left ( -b,c \right ) \right ) \right ) ^{3}+10\,{b}^{2}{c}^{2} \left ( \sin \left ( ex+d-\arctan \left ( -b,c \right ) \right ) \right ) ^{3}+5\,{c}^{4} \left ( \sin \left ( ex+d-\arctan \left ( -b,c \right ) \right ) \right ) ^{3}+27\,{b}^{4} \left ( \sin \left ( ex+d-\arctan \left ( -b,c \right ) \right ) \right ) ^{2}+54\,{b}^{2}{c}^{2} \left ( \sin \left ( ex+d-\arctan \left ( -b,c \right ) \right ) \right ) ^{2}+27\,{c}^{4} \left ( \sin \left ( ex+d-\arctan \left ( -b,c \right ) \right ) \right ) ^{2}+71\,{b}^{4}\sin \left ( ex+d-\arctan \left ( -b,c \right ) \right ) +142\,{b}^{2}{c}^{2}\sin \left ( ex+d-\arctan \left ( -b,c \right ) \right ) +71\,{c}^{4}\sin \left ( ex+d-\arctan \left ( -b,c \right ) \right ) +177\,{b}^{4}+354\,{b}^{2}{c}^{2}+177\,{c}^{4} \right ) }{35\,\cos \left ( ex+d-\arctan \left ( -b,c \right ) \right ) e}{\frac{1}{\sqrt{{({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}){\frac{1}{\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 = 2.00733, size = 645, normalized size = 2.5 \begin{align*} \frac{2 \,{\left (5 \,{\left (b^{4} - 6 \, b^{2} c^{2} + c^{4}\right )} \cos \left (e x + d\right )^{4} - 177 \, b^{4} - 310 \, b^{2} c^{2} - 128 \, c^{4} + 2 \,{\left (22 \, b^{4} + 15 \, b^{2} c^{2} - 27 \, c^{4}\right )} \cos \left (e x + d\right )^{2} + 4 \,{\left (5 \,{\left (b^{3} c - b c^{3}\right )} \cos \left (e x + d\right )^{3} +{\left (22 \, b^{3} c + 27 \, b c^{3}\right )} \cos \left (e x + d\right )\right )} \sin \left (e x + d\right ) + 2 \,{\left (11 \,{\left (b^{3} - 3 \, b c^{2}\right )} \cos \left (e x + d\right )^{3} +{\left (53 \, b^{3} + 86 \, b c^{2}\right )} \cos \left (e x + d\right ) +{\left (53 \, b^{2} c + 64 \, c^{3} + 11 \,{\left (3 \, b^{2} c - c^{3}\right )} \cos \left (e x + d\right )^{2}\right )} \sin \left (e x + d\right )\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}}}}{35 \,{\left (c e \cos \left (e x + d\right ) - b e \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 [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]