Optimal. Leaf size=68 \[ 8 \tan ^{-1}\left (\frac{2 \tan (x)}{\sqrt{-5 \tan ^2(x)-1}}\right )-\frac{7}{2} \sqrt{5} \tan ^{-1}\left (\frac{\sqrt{5} \tan (x)}{\sqrt{-5 \tan ^2(x)-1}}\right )-\frac{5}{2} \tan (x) \sqrt{-5 \tan ^2(x)-1} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0554331, antiderivative size = 68, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.5, Rules used = {4128, 416, 523, 217, 203, 377} \[ 8 \tan ^{-1}\left (\frac{2 \tan (x)}{\sqrt{-5 \tan ^2(x)-1}}\right )-\frac{7}{2} \sqrt{5} \tan ^{-1}\left (\frac{\sqrt{5} \tan (x)}{\sqrt{-5 \tan ^2(x)-1}}\right )-\frac{5}{2} \tan (x) \sqrt{-5 \tan ^2(x)-1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4128
Rule 416
Rule 523
Rule 217
Rule 203
Rule 377
Rubi steps
\begin{align*} \int \left (4-5 \sec ^2(x)\right )^{3/2} \, dx &=\operatorname{Subst}\left (\int \frac{\left (-1-5 x^2\right )^{3/2}}{1+x^2} \, dx,x,\tan (x)\right )\\ &=-\frac{5}{2} \tan (x) \sqrt{-1-5 \tan ^2(x)}+\frac{1}{2} \operatorname{Subst}\left (\int \frac{-3-35 x^2}{\sqrt{-1-5 x^2} \left (1+x^2\right )} \, dx,x,\tan (x)\right )\\ &=-\frac{5}{2} \tan (x) \sqrt{-1-5 \tan ^2(x)}+16 \operatorname{Subst}\left (\int \frac{1}{\sqrt{-1-5 x^2} \left (1+x^2\right )} \, dx,x,\tan (x)\right )-\frac{35}{2} \operatorname{Subst}\left (\int \frac{1}{\sqrt{-1-5 x^2}} \, dx,x,\tan (x)\right )\\ &=-\frac{5}{2} \tan (x) \sqrt{-1-5 \tan ^2(x)}+16 \operatorname{Subst}\left (\int \frac{1}{1+4 x^2} \, dx,x,\frac{\tan (x)}{\sqrt{-1-5 \tan ^2(x)}}\right )-\frac{35}{2} \operatorname{Subst}\left (\int \frac{1}{1+5 x^2} \, dx,x,\frac{\tan (x)}{\sqrt{-1-5 \tan ^2(x)}}\right )\\ &=8 \tan ^{-1}\left (\frac{2 \tan (x)}{\sqrt{-1-5 \tan ^2(x)}}\right )-\frac{7}{2} \sqrt{5} \tan ^{-1}\left (\frac{\sqrt{5} \tan (x)}{\sqrt{-1-5 \tan ^2(x)}}\right )-\frac{5}{2} \tan (x) \sqrt{-1-5 \tan ^2(x)}\\ \end{align*}
Mathematica [C] time = 0.206649, size = 115, normalized size = 1.69 \[ -\frac{\left (4 \cos ^2(x)-5\right ) \sec (x) \sqrt{4-5 \sec ^2(x)} \left (5 \sin (x) \sqrt{2 \cos (2 x)-3}+16 i \cos ^2(x) \log \left (\sqrt{2 \cos (2 x)-3}+2 i \sin (x)\right )+7 \sqrt{5} \cos ^2(x) \tan ^{-1}\left (\frac{\sqrt{5} \sin (x)}{\sqrt{2 \cos (2 x)-3}}\right )\right )}{2 (2 \cos (2 x)-3)^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.264, size = 754, normalized size = 11.1 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (-5 \, \sec \left (x\right )^{2} + 4\right )}^{\frac{3}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 3.72658, size = 417, normalized size = 6.13 \begin{align*} \frac{7 \, \sqrt{5} \arctan \left (\frac{\sqrt{5} \sqrt{\frac{4 \, \cos \left (x\right )^{2} - 5}{\cos \left (x\right )^{2}}} \cos \left (x\right )}{5 \, \sin \left (x\right )}\right ) \cos \left (x\right ) + 8 \, \arctan \left (\frac{4 \,{\left (8 \, \cos \left (x\right )^{3} - 9 \, \cos \left (x\right )\right )} \sqrt{\frac{4 \, \cos \left (x\right )^{2} - 5}{\cos \left (x\right )^{2}}} \sin \left (x\right ) + \cos \left (x\right ) \sin \left (x\right )}{64 \, \cos \left (x\right )^{4} - 143 \, \cos \left (x\right )^{2} + 80}\right ) \cos \left (x\right ) - 8 \, \arctan \left (\frac{\sin \left (x\right )}{\cos \left (x\right )}\right ) \cos \left (x\right ) - 5 \, \sqrt{\frac{4 \, \cos \left (x\right )^{2} - 5}{\cos \left (x\right )^{2}}} \sin \left (x\right )}{2 \, \cos \left (x\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (4 - 5 \sec ^{2}{\left (x \right )}\right )^{\frac{3}{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (-5 \, \sec \left (x\right )^{2} + 4\right )}^{\frac{3}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]