Optimal. Leaf size=54 \[ \frac {1}{32} \tan ^{-1}\left (\frac {1}{2} \sqrt {1+5 \tan ^2(x)}\right )-\frac {1}{12 \left (1+5 \tan ^2(x)\right )^{3/2}}+\frac {1}{16 \sqrt {1+5 \tan ^2(x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 5, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {3751, 455, 53,
65, 209} \begin {gather*} \frac {1}{32} \text {ArcTan}\left (\frac {1}{2} \sqrt {5 \tan ^2(x)+1}\right )+\frac {1}{16 \sqrt {5 \tan ^2(x)+1}}-\frac {1}{12 \left (5 \tan ^2(x)+1\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 53
Rule 65
Rule 209
Rule 455
Rule 3751
Rubi steps
\begin {align*} \int \frac {\tan (x)}{\left (1+5 \tan ^2(x)\right )^{5/2}} \, dx &=\text {Subst}\left (\int \frac {x}{\left (1+x^2\right ) \left (1+5 x^2\right )^{5/2}} \, dx,x,\tan (x)\right )\\ &=\frac {1}{2} \text {Subst}\left (\int \frac {1}{(1+x) (1+5 x)^{5/2}} \, dx,x,\tan ^2(x)\right )\\ &=-\frac {1}{12 \left (1+5 \tan ^2(x)\right )^{3/2}}-\frac {1}{8} \text {Subst}\left (\int \frac {1}{(1+x) (1+5 x)^{3/2}} \, dx,x,\tan ^2(x)\right )\\ &=-\frac {1}{12 \left (1+5 \tan ^2(x)\right )^{3/2}}+\frac {1}{16 \sqrt {1+5 \tan ^2(x)}}+\frac {1}{32} \text {Subst}\left (\int \frac {1}{(1+x) \sqrt {1+5 x}} \, dx,x,\tan ^2(x)\right )\\ &=-\frac {1}{12 \left (1+5 \tan ^2(x)\right )^{3/2}}+\frac {1}{16 \sqrt {1+5 \tan ^2(x)}}+\frac {1}{80} \text {Subst}\left (\int \frac {1}{\frac {4}{5}+\frac {x^2}{5}} \, dx,x,\sqrt {1+5 \tan ^2(x)}\right )\\ &=\frac {1}{32} \tan ^{-1}\left (\frac {1}{2} \sqrt {1+5 \tan ^2(x)}\right )-\frac {1}{12 \left (1+5 \tan ^2(x)\right )^{3/2}}+\frac {1}{16 \sqrt {1+5 \tan ^2(x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.30, size = 71, normalized size = 1.31 \begin {gather*} \frac {(-3+2 \cos (2 x)) \left (-6 \cos (x)+8 \cos (3 x)-3 (-3+2 \cos (2 x))^{3/2} \log \left (2 \cos (x)+\sqrt {-3+2 \cos (2 x)}\right )\right ) \sec ^5(x)}{96 \left (1+5 \tan ^2(x)\right )^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.05, size = 41, normalized size = 0.76
method | result | size |
derivativedivides | \(\frac {\arctan \left (\frac {\sqrt {1+5 \left (\tan ^{2}\left (x \right )\right )}}{2}\right )}{32}+\frac {1}{16 \sqrt {1+5 \left (\tan ^{2}\left (x \right )\right )}}-\frac {1}{12 \left (1+5 \left (\tan ^{2}\left (x \right )\right )\right )^{\frac {3}{2}}}\) | \(41\) |
default | \(\frac {\arctan \left (\frac {\sqrt {1+5 \left (\tan ^{2}\left (x \right )\right )}}{2}\right )}{32}+\frac {1}{16 \sqrt {1+5 \left (\tan ^{2}\left (x \right )\right )}}-\frac {1}{12 \left (1+5 \left (\tan ^{2}\left (x \right )\right )\right )^{\frac {3}{2}}}\) | \(41\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.29, size = 76, normalized size = 1.41 \begin {gather*} \frac {3 \, {\left (25 \, \tan \left (x\right )^{4} + 10 \, \tan \left (x\right )^{2} + 1\right )} \arctan \left (\frac {5 \, \tan \left (x\right )^{2} - 3}{4 \, \sqrt {5 \, \tan \left (x\right )^{2} + 1}}\right ) + 4 \, {\left (15 \, \tan \left (x\right )^{2} - 1\right )} \sqrt {5 \, \tan \left (x\right )^{2} + 1}}{192 \, {\left (25 \, \tan \left (x\right )^{4} + 10 \, \tan \left (x\right )^{2} + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 3.25, size = 46, normalized size = 0.85 \begin {gather*} \frac {\operatorname {atan}{\left (\frac {\sqrt {5 \tan ^{2}{\left (x \right )} + 1}}{2} \right )}}{32} + \frac {1}{16 \sqrt {5 \tan ^{2}{\left (x \right )} + 1}} - \frac {1}{12 \left (5 \tan ^{2}{\left (x \right )} + 1\right )^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.53, size = 36, normalized size = 0.67 \begin {gather*} \frac {15 \, \tan \left (x\right )^{2} - 1}{48 \, {\left (5 \, \tan \left (x\right )^{2} + 1\right )}^{\frac {3}{2}}} + \frac {1}{32} \, \arctan \left (\frac {1}{2} \, \sqrt {5 \, \tan \left (x\right )^{2} + 1}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.51, size = 172, normalized size = 3.19 \begin {gather*} \frac {\ln \left (\mathrm {tan}\left (x\right )-\frac {2\,\sqrt {5}\,\sqrt {{\mathrm {tan}\left (x\right )}^2+\frac {1}{5}}}{5}+\frac {1}{5}{}\mathrm {i}\right )\,1{}\mathrm {i}}{64}+\frac {\ln \left (\mathrm {tan}\left (x\right )+\frac {2\,\sqrt {5}\,\sqrt {{\mathrm {tan}\left (x\right )}^2+\frac {1}{5}}}{5}-\frac {1}{5}{}\mathrm {i}\right )\,1{}\mathrm {i}}{64}-\frac {\ln \left (\mathrm {tan}\left (x\right )-\mathrm {i}\right )\,1{}\mathrm {i}}{64}-\frac {\ln \left (\mathrm {tan}\left (x\right )+1{}\mathrm {i}\right )\,1{}\mathrm {i}}{64}-\frac {\sqrt {{\mathrm {tan}\left (x\right )}^2+\frac {1}{5}}\,1{}\mathrm {i}}{96\,\left (\mathrm {tan}\left (x\right )-\frac {\sqrt {5}\,1{}\mathrm {i}}{5}\right )}+\frac {\sqrt {{\mathrm {tan}\left (x\right )}^2+\frac {1}{5}}\,1{}\mathrm {i}}{96\,\left (\mathrm {tan}\left (x\right )+\frac {\sqrt {5}\,1{}\mathrm {i}}{5}\right )}+\frac {\sqrt {5}\,\sqrt {{\mathrm {tan}\left (x\right )}^2+\frac {1}{5}}}{240\,\left ({\mathrm {tan}\left (x\right )}^2+\frac {2{}\mathrm {i}\,\sqrt {5}\,\mathrm {tan}\left (x\right )}{5}-\frac {1}{5}\right )}-\frac {\sqrt {5}\,\sqrt {{\mathrm {tan}\left (x\right )}^2+\frac {1}{5}}}{240\,\left (-{\mathrm {tan}\left (x\right )}^2+\frac {2{}\mathrm {i}\,\sqrt {5}\,\mathrm {tan}\left (x\right )}{5}+\frac {1}{5}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________