Optimal. Leaf size=160 \[ \frac {\tanh ^{-1}\left (\frac {\sqrt [4]{b^2+c^2} \sin \left (-\tan ^{-1}(b,c)+d+e x\right )}{\sqrt {2} \sqrt {\sqrt {b^2+c^2} \cos \left (-\tan ^{-1}(b,c)+d+e x\right )+\sqrt {b^2+c^2}}}\right )}{2 \sqrt {2} e \left (b^2+c^2\right )^{3/4}}-\frac {c \cos (d+e x)-b \sin (d+e x)}{2 e \sqrt {b^2+c^2} \left (\sqrt {b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.13, antiderivative size = 160, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {3116, 3115, 2649, 206} \[ \frac {\tanh ^{-1}\left (\frac {\sqrt [4]{b^2+c^2} \sin \left (-\tan ^{-1}(b,c)+d+e x\right )}{\sqrt {2} \sqrt {\sqrt {b^2+c^2} \cos \left (-\tan ^{-1}(b,c)+d+e x\right )+\sqrt {b^2+c^2}}}\right )}{2 \sqrt {2} e \left (b^2+c^2\right )^{3/4}}-\frac {c \cos (d+e x)-b \sin (d+e x)}{2 e \sqrt {b^2+c^2} \left (\sqrt {b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 2649
Rule 3115
Rule 3116
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/2}} \, dx &=-\frac {c \cos (d+e x)-b \sin (d+e x)}{2 \sqrt {b^2+c^2} e \left (\sqrt {b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^{3/2}}+\frac {\int \frac {1}{\sqrt {\sqrt {b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)}} \, dx}{4 \sqrt {b^2+c^2}}\\ &=-\frac {c \cos (d+e x)-b \sin (d+e x)}{2 \sqrt {b^2+c^2} e \left (\sqrt {b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^{3/2}}+\frac {\int \frac {1}{\sqrt {\sqrt {b^2+c^2}+\sqrt {b^2+c^2} \cos \left (d+e x-\tan ^{-1}(b,c)\right )}} \, dx}{4 \sqrt {b^2+c^2}}\\ &=-\frac {c \cos (d+e x)-b \sin (d+e x)}{2 \sqrt {b^2+c^2} e \left (\sqrt {b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^{3/2}}-\frac {\operatorname {Subst}\left (\int \frac {1}{2 \sqrt {b^2+c^2}-x^2} \, dx,x,-\frac {\sqrt {b^2+c^2} \sin \left (d+e x-\tan ^{-1}(b,c)\right )}{\sqrt {\sqrt {b^2+c^2}+\sqrt {b^2+c^2} \cos \left (d+e x-\tan ^{-1}(b,c)\right )}}\right )}{2 \sqrt {b^2+c^2} e}\\ &=\frac {\tanh ^{-1}\left (\frac {\sqrt [4]{b^2+c^2} \sin \left (d+e x-\tan ^{-1}(b,c)\right )}{\sqrt {2} \sqrt {\sqrt {b^2+c^2}+\sqrt {b^2+c^2} \cos \left (d+e x-\tan ^{-1}(b,c)\right )}}\right )}{2 \sqrt {2} \left (b^2+c^2\right )^{3/4} e}-\frac {c \cos (d+e x)-b \sin (d+e x)}{2 \sqrt {b^2+c^2} e \left (\sqrt {b^2+c^2}+b \cos (d+e x)+c \sin (d+e x)\right )^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 180.02, size = 0, normalized size = 0.00 \[ \text {\$Aborted} \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 1.82, size = 646, normalized size = 4.04 \[ -\frac {{\left (3 \, \sqrt {2} b^{2} c \cos \left (e x + d\right ) - \sqrt {2} {\left (3 \, b^{2} c - c^{3}\right )} \cos \left (e x + d\right )^{3} - {\left (\sqrt {2} b^{3} - \sqrt {2} {\left (b^{3} - 3 \, b c^{2}\right )} \cos \left (e x + d\right )^{2}\right )} \sin \left (e x + d\right )\right )} {\left (b^{2} + c^{2}\right )}^{\frac {1}{4}} \log \left (\frac {{\left (3 \, b^{2} c - c^{3}\right )} \cos \left (e x + d\right )^{3} + {\left (b^{2} c + 4 \, c^{3}\right )} \cos \left (e x + d\right ) - {\left (3 \, b^{3} + 4 \, b c^{2} + {\left (b^{3} - 3 \, b c^{2}\right )} \cos \left (e x + d\right )^{2}\right )} \sin \left (e x + d\right ) - 2 \, {\left (2 \, \sqrt {2} b c \cos \left (e x + d\right ) \sin \left (e x + d\right ) + \sqrt {2} {\left (b^{2} - c^{2}\right )} \cos \left (e x + d\right )^{2} + \sqrt {2} {\left (b^{2} + 2 \, c^{2}\right )} - 2 \, {\left (\sqrt {2} b \cos \left (e x + d\right ) + \sqrt {2} c \sin \left (e x + d\right )\right )} \sqrt {b^{2} + c^{2}}\right )} {\left (b^{2} + c^{2}\right )}^{\frac {1}{4}} \sqrt {b \cos \left (e x + d\right ) + c \sin \left (e x + d\right ) + \sqrt {b^{2} + c^{2}}} - 4 \, {\left (2 \, b c \cos \left (e x + d\right )^{2} - {\left (b^{2} - c^{2}\right )} \cos \left (e x + d\right ) \sin \left (e x + d\right ) - b c\right )} \sqrt {b^{2} + c^{2}}}{3 \, b^{2} c \cos \left (e x + d\right ) - {\left (3 \, b^{2} c - c^{3}\right )} \cos \left (e x + d\right )^{3} - {\left (b^{3} - {\left (b^{3} - 3 \, b c^{2}\right )} \cos \left (e x + d\right )^{2}\right )} \sin \left (e x + d\right )}\right ) + 4 \, {\left (2 \, {\left (b^{3} + b c^{2}\right )} \cos \left (e x + d\right ) + 2 \, {\left (b^{2} c + c^{3}\right )} \sin \left (e x + d\right ) - {\left (2 \, b c \cos \left (e x + d\right ) \sin \left (e x + d\right ) + {\left (b^{2} - c^{2}\right )} \cos \left (e x + d\right )^{2} + b^{2} + 2 \, c^{2}\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}}}}{8 \, {\left ({\left (3 \, b^{4} c + 2 \, b^{2} c^{3} - c^{5}\right )} e \cos \left (e x + d\right )^{3} - 3 \, {\left (b^{4} c + b^{2} c^{3}\right )} e \cos \left (e x + d\right ) - {\left ({\left (b^{5} - 2 \, b^{3} c^{2} - 3 \, b c^{4}\right )} e \cos \left (e x + d\right )^{2} - {\left (b^{5} + b^{3} c^{2}\right )} e\right )} \sin \left (e x + d\right )\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.41, size = 350, normalized size = 2.19 \[ -\frac {\left (\sin \left (e x +d -\arctan \left (-b , c\right )\right ) \sqrt {2}\, \arctanh \left (\frac {\sqrt {-\sqrt {b^{2}+c^{2}}\, \sin \left (e x +d -\arctan \left (-b , c\right )\right )+\sqrt {b^{2}+c^{2}}}\, \sqrt {2}}{2 \left (b^{2}+c^{2}\right )^{\frac {1}{4}}}\right ) \left (b^{2}+c^{2}\right )+2 \sqrt {-\sqrt {b^{2}+c^{2}}\, \sin \left (e x +d -\arctan \left (-b , c\right )\right )+\sqrt {b^{2}+c^{2}}}\, \left (b^{2}+c^{2}\right )^{\frac {3}{4}}+\sqrt {2}\, \arctanh \left (\frac {\sqrt {-\sqrt {b^{2}+c^{2}}\, \sin \left (e x +d -\arctan \left (-b , c\right )\right )+\sqrt {b^{2}+c^{2}}}\, \sqrt {2}}{2 \left (b^{2}+c^{2}\right )^{\frac {1}{4}}}\right ) b^{2}+\sqrt {2}\, \arctanh \left (\frac {\sqrt {-\sqrt {b^{2}+c^{2}}\, \sin \left (e x +d -\arctan \left (-b , c\right )\right )+\sqrt {b^{2}+c^{2}}}\, \sqrt {2}}{2 \left (b^{2}+c^{2}\right )^{\frac {1}{4}}}\right ) c^{2}\right ) \sqrt {-\sqrt {b^{2}+c^{2}}\, \left (\sin \left (e x +d -\arctan \left (-b , c\right )\right )-1\right )}}{4 \left (b^{2}+c^{2}\right )^{\frac {7}{4}} \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} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: RuntimeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {1}{{\left (b\,\cos \left (d+e\,x\right )+c\,\sin \left (d+e\,x\right )+\sqrt {b^2+c^2}\right )}^{3/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\left (b \cos {\left (d + e x \right )} + c \sin {\left (d + e x \right )} + \sqrt {b^{2} + c^{2}}\right )^{\frac {3}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________