Optimal. Leaf size=40 \[ \frac {2}{3} \sqrt {4-3 \tan (x)}+\frac {8}{3 \sqrt {4-3 \tan (x)}}+\frac {1}{3} \log (4-3 \tan (x)) \]
________________________________________________________________________________________
Rubi [A] time = 0.15, antiderivative size = 40, normalized size of antiderivative = 1.00, 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 = {4342, 43} \[ \frac {2}{3} \sqrt {4-3 \tan (x)}+\frac {8}{3 \sqrt {4-3 \tan (x)}}+\frac {1}{3} \log (4-3 \tan (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 4342
Rubi steps
\begin {align*} \int \frac {\sec ^2(x) \left (-\sqrt {4-3 \tan (x)}+3 \tan (x)\right )}{(4-3 \tan (x))^{3/2}} \, dx &=\operatorname {Subst}\left (\int \left (\frac {3 x}{(4-3 x)^{3/2}}+\frac {1}{-4+3 x}\right ) \, dx,x,\tan (x)\right )\\ &=\frac {1}{3} \log (4-3 \tan (x))+3 \operatorname {Subst}\left (\int \frac {x}{(4-3 x)^{3/2}} \, dx,x,\tan (x)\right )\\ &=\frac {1}{3} \log (4-3 \tan (x))+3 \operatorname {Subst}\left (\int \left (\frac {4}{3 (4-3 x)^{3/2}}-\frac {1}{3 \sqrt {4-3 x}}\right ) \, dx,x,\tan (x)\right )\\ &=\frac {1}{3} \log (4-3 \tan (x))+\frac {8}{3 \sqrt {4-3 \tan (x)}}+\frac {2}{3} \sqrt {4-3 \tan (x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 1.26, size = 38, normalized size = 0.95 \[ \frac {-6 \tan (x)+\sqrt {4-3 \tan (x)} \log (4-3 \tan (x))+16}{3 \sqrt {4-3 \tan (x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sec ^2(x) \left (-\sqrt {4-3 \tan (x)}+3 \tan (x)\right )}{(4-3 \tan (x))^{3/2}} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.98, size = 82, normalized size = 2.05 \[ \frac {{\left (4 \, \cos \relax (x) - 3 \, \sin \relax (x)\right )} \log \left (\frac {7}{4} \, \cos \relax (x)^{2} - 6 \, \cos \relax (x) \sin \relax (x) + \frac {9}{4}\right ) - {\left (4 \, \cos \relax (x) - 3 \, \sin \relax (x)\right )} \log \left (\cos \relax (x)^{2}\right ) + 4 \, \sqrt {\frac {4 \, \cos \relax (x) - 3 \, \sin \relax (x)}{\cos \relax (x)}} {\left (8 \, \cos \relax (x) - 3 \, \sin \relax (x)\right )}}{6 \, {\left (4 \, \cos \relax (x) - 3 \, \sin \relax (x)\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.63, size = 31, normalized size = 0.78 \[ \frac {2}{3} \, \sqrt {-3 \, \tan \relax (x) + 4} + \frac {8}{3 \, \sqrt {-3 \, \tan \relax (x) + 4}} + \frac {1}{3} \, \log \left ({\left | -3 \, \tan \relax (x) + 4 \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.77, size = 219, normalized size = 5.48
method | result | size |
default | \(\frac {\left (-1+\cos \relax (x )\right )^{2} \left (1+\cos \relax (x )\right )^{2} \left (16 \sqrt {\frac {4 \cos \relax (x )-3 \sin \relax (x )}{\cos \relax (x )}}\, \cos \relax (x )+4 \cos \relax (x ) \ln \left (-\frac {-2+2 \cos \relax (x )+\sin \relax (x )}{\sin \relax (x )}\right )+4 \cos \relax (x ) \ln \left (-\frac {-2 \sin \relax (x )-1+\cos \relax (x )}{\sin \relax (x )}\right )-4 \cos \relax (x ) \ln \left (-\frac {-1+\cos \relax (x )-\sin \relax (x )}{\sin \relax (x )}\right )-4 \cos \relax (x ) \ln \left (-\frac {-1+\cos \relax (x )+\sin \relax (x )}{\sin \relax (x )}\right )-6 \sin \relax (x ) \sqrt {\frac {4 \cos \relax (x )-3 \sin \relax (x )}{\cos \relax (x )}}-3 \sin \relax (x ) \ln \left (-\frac {-2+2 \cos \relax (x )+\sin \relax (x )}{\sin \relax (x )}\right )-3 \sin \relax (x ) \ln \left (-\frac {-2 \sin \relax (x )-1+\cos \relax (x )}{\sin \relax (x )}\right )+3 \sin \relax (x ) \ln \left (-\frac {-1+\cos \relax (x )-\sin \relax (x )}{\sin \relax (x )}\right )+3 \sin \relax (x ) \ln \left (-\frac {-1+\cos \relax (x )+\sin \relax (x )}{\sin \relax (x )}\right )\right )}{3 \left (4 \cos \relax (x )-3 \sin \relax (x )\right ) \sin \relax (x )^{4}}\) | \(219\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.43, size = 30, normalized size = 0.75 \[ \frac {2}{3} \, \sqrt {-3 \, \tan \relax (x) + 4} + \frac {8}{3 \, \sqrt {-3 \, \tan \relax (x) + 4}} + \frac {1}{3} \, \log \left (-3 \, \tan \relax (x) + 4\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.42, size = 105, normalized size = 2.62 \[ \frac {\ln \left ({\mathrm {e}}^{x\,2{}\mathrm {i}}\,\left (-\frac {16}{3}-4{}\mathrm {i}\right )-\frac {16}{3}+4{}\mathrm {i}\right )}{3}-\frac {\ln \left ({\mathrm {e}}^{x\,2{}\mathrm {i}}\,\left (\frac {16}{3}-4{}\mathrm {i}\right )+\frac {16}{3}-4{}\mathrm {i}\right )}{3}+\frac {2\,{\mathrm {e}}^{x\,1{}\mathrm {i}}\,\cos \relax (x)\,\left (\frac {32\,{\mathrm {e}}^{x\,1{}\mathrm {i}}\,\cos \relax (x)}{3}-4\,{\mathrm {e}}^{x\,1{}\mathrm {i}}\,\sin \relax (x)\right )\,\sqrt {4-\frac {3\,\sin \relax (x)}{\cos \relax (x)}}}{8\,{\mathrm {e}}^{x\,2{}\mathrm {i}}+8\,\cos \left (2\,x\right )\,{\mathrm {e}}^{x\,2{}\mathrm {i}}-6\,\sin \left (2\,x\right )\,{\mathrm {e}}^{x\,2{}\mathrm {i}}} \]
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 {\sqrt {4 - 3 \tan {\relax (x )}}}{- 3 \sqrt {4 - 3 \tan {\relax (x )}} \cos ^{2}{\relax (x )} \tan {\relax (x )} + 4 \sqrt {4 - 3 \tan {\relax (x )}} \cos ^{2}{\relax (x )}}\, dx - \int \left (- \frac {3 \tan {\relax (x )}}{- 3 \sqrt {4 - 3 \tan {\relax (x )}} \cos ^{2}{\relax (x )} \tan {\relax (x )} + 4 \sqrt {4 - 3 \tan {\relax (x )}} \cos ^{2}{\relax (x )}}\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________