Optimal. Leaf size=34 \[ -\frac {15 \sin (x)}{8}+\frac {1}{4} \sin (x) \tan ^4(x)-\frac {5}{8} \sin (x) \tan ^2(x)+\frac {15}{8} \tanh ^{-1}(\sin (x)) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.571, Rules used = {2592, 288, 321, 206} \[ -\frac {15 \sin (x)}{8}+\frac {1}{4} \sin (x) \tan ^4(x)-\frac {5}{8} \sin (x) \tan ^2(x)+\frac {15}{8} \tanh ^{-1}(\sin (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 288
Rule 321
Rule 2592
Rubi steps
\begin {align*} \int \sin (x) \tan ^5(x) \, dx &=\operatorname {Subst}\left (\int \frac {x^6}{\left (1-x^2\right )^3} \, dx,x,\sin (x)\right )\\ &=\frac {1}{4} \sin (x) \tan ^4(x)-\frac {5}{4} \operatorname {Subst}\left (\int \frac {x^4}{\left (1-x^2\right )^2} \, dx,x,\sin (x)\right )\\ &=-\frac {5}{8} \sin (x) \tan ^2(x)+\frac {1}{4} \sin (x) \tan ^4(x)+\frac {15}{8} \operatorname {Subst}\left (\int \frac {x^2}{1-x^2} \, dx,x,\sin (x)\right )\\ &=-\frac {15 \sin (x)}{8}-\frac {5}{8} \sin (x) \tan ^2(x)+\frac {1}{4} \sin (x) \tan ^4(x)+\frac {15}{8} \operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sin (x)\right )\\ &=\frac {15}{8} \tanh ^{-1}(\sin (x))-\frac {15 \sin (x)}{8}-\frac {5}{8} \sin (x) \tan ^2(x)+\frac {1}{4} \sin (x) \tan ^4(x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 42, normalized size = 1.24 \[ -\sin (x) \tan ^4(x)+\frac {15}{8} \tanh ^{-1}(\sin (x))-\frac {15}{4} \tan (x) \sec ^3(x)+5 \tan ^3(x) \sec (x)+\frac {15}{8} \tan (x) \sec (x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.97, size = 49, normalized size = 1.44 \[ \frac {15 \, \cos \relax (x)^{4} \log \left (\sin \relax (x) + 1\right ) - 15 \, \cos \relax (x)^{4} \log \left (-\sin \relax (x) + 1\right ) - 2 \, {\left (8 \, \cos \relax (x)^{4} + 9 \, \cos \relax (x)^{2} - 2\right )} \sin \relax (x)}{16 \, \cos \relax (x)^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 42, normalized size = 1.24 \[ \frac {9 \, \sin \relax (x)^{3} - 7 \, \sin \relax (x)}{8 \, {\left (\sin \relax (x)^{2} - 1\right )}^{2}} + \frac {15}{16} \, \log \left (\sin \relax (x) + 1\right ) - \frac {15}{16} \, \log \left (-\sin \relax (x) + 1\right ) - \sin \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 46, normalized size = 1.35 \[ \frac {\sin ^{7}\relax (x )}{4 \cos \relax (x )^{4}}-\frac {3 \left (\sin ^{7}\relax (x )\right )}{8 \cos \relax (x )^{2}}-\frac {3 \left (\sin ^{5}\relax (x )\right )}{8}-\frac {5 \left (\sin ^{3}\relax (x )\right )}{8}-\frac {15 \sin \relax (x )}{8}+\frac {15 \ln \left (\sec \relax (x )+\tan \relax (x )\right )}{8} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.31, size = 46, normalized size = 1.35 \[ \frac {9 \, \sin \relax (x)^{3} - 7 \, \sin \relax (x)}{8 \, {\left (\sin \relax (x)^{4} - 2 \, \sin \relax (x)^{2} + 1\right )}} + \frac {15}{16} \, \log \left (\sin \relax (x) + 1\right ) - \frac {15}{16} \, \log \left (\sin \relax (x) - 1\right ) - \sin \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.04, size = 69, normalized size = 2.03 \[ \frac {15\,\mathrm {atanh}\left (\mathrm {tan}\left (\frac {x}{2}\right )\right )}{4}-\frac {\frac {15\,{\mathrm {tan}\left (\frac {x}{2}\right )}^9}{4}-10\,{\mathrm {tan}\left (\frac {x}{2}\right )}^7+\frac {9\,{\mathrm {tan}\left (\frac {x}{2}\right )}^5}{2}-10\,{\mathrm {tan}\left (\frac {x}{2}\right )}^3+\frac {15\,\mathrm {tan}\left (\frac {x}{2}\right )}{4}}{{\left ({\mathrm {tan}\left (\frac {x}{2}\right )}^2-1\right )}^4\,\left ({\mathrm {tan}\left (\frac {x}{2}\right )}^2+1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.15, size = 49, normalized size = 1.44 \[ - \frac {- 9 \sin ^{3}{\relax (x )} + 7 \sin {\relax (x )}}{8 \sin ^{4}{\relax (x )} - 16 \sin ^{2}{\relax (x )} + 8} - \frac {15 \log {\left (\sin {\relax (x )} - 1 \right )}}{16} + \frac {15 \log {\left (\sin {\relax (x )} + 1 \right )}}{16} - \sin {\relax (x )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________