Optimal. Leaf size=53 \[ \frac {x}{2 \sqrt {3}}-\frac {\tan ^{-1}\left (\frac {\sin (2 x+1) \cos (2 x+1)}{\cos ^2(2 x+1)+2 \sqrt {3}+3}\right )}{4 \sqrt {3}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 53, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.043, Rules used = {203} \[ \frac {x}{2 \sqrt {3}}-\frac {\tan ^{-1}\left (\frac {\sin (2 x+1) \cos (2 x+1)}{\cos ^2(2 x+1)+2 \sqrt {3}+3}\right )}{4 \sqrt {3}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rubi steps
\begin {align*} \int \frac {1}{4 \cos ^2(1+2 x)+3 \sin ^2(1+2 x)} \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{4+3 x^2} \, dx,x,\tan (1+2 x)\right )\\ &=\frac {x}{2 \sqrt {3}}-\frac {\tan ^{-1}\left (\frac {\cos (1+2 x) \sin (1+2 x)}{3+2 \sqrt {3}+\cos ^2(1+2 x)}\right )}{4 \sqrt {3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 25, normalized size = 0.47 \[ \frac {\tan ^{-1}\left (\frac {1}{2} \sqrt {3} \tan (2 x+1)\right )}{4 \sqrt {3}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.99, size = 43, normalized size = 0.81 \[ -\frac {1}{24} \, \sqrt {3} \arctan \left (\frac {7 \, \sqrt {3} \cos \left (2 \, x + 1\right )^{2} - 3 \, \sqrt {3}}{12 \, \cos \left (2 \, x + 1\right ) \sin \left (2 \, x + 1\right )}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 61, normalized size = 1.15 \[ \frac {1}{12} \, \sqrt {3} {\left (2 \, x + \arctan \left (-\frac {2 \, \sqrt {3} \sin \left (4 \, x + 2\right ) - 3 \, \sin \left (4 \, x + 2\right )}{2 \, \sqrt {3} \cos \left (4 \, x + 2\right ) + 2 \, \sqrt {3} - 3 \, \cos \left (4 \, x + 2\right ) + 3}\right ) + 1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.23, size = 18, normalized size = 0.34 \[ \frac {\sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \tan \left (1+2 x \right )}{2}\right )}{12} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.41, size = 17, normalized size = 0.32 \[ \frac {1}{12} \, \sqrt {3} \arctan \left (\frac {1}{2} \, \sqrt {3} \tan \left (2 \, x + 1\right )\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.76, size = 36, normalized size = 0.68 \[ \frac {\sqrt {3}\,\left (2\,x-\mathrm {atan}\left (\mathrm {tan}\left (2\,x+1\right )\right )\right )}{12}+\frac {\sqrt {3}\,\mathrm {atan}\left (\frac {\sqrt {3}\,\mathrm {tan}\left (2\,x+1\right )}{2}\right )}{12} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.81, size = 87, normalized size = 1.64 \[ \frac {\sqrt {3} \left (\operatorname {atan}{\left (\frac {2 \sqrt {3} \tan {\left (x + \frac {1}{2} \right )}}{3} - \frac {\sqrt {3}}{3} \right )} + \pi \left \lfloor {\frac {x - \frac {\pi }{2} + \frac {1}{2}}{\pi }}\right \rfloor \right )}{12} + \frac {\sqrt {3} \left (\operatorname {atan}{\left (\frac {2 \sqrt {3} \tan {\left (x + \frac {1}{2} \right )}}{3} + \frac {\sqrt {3}}{3} \right )} + \pi \left \lfloor {\frac {x - \frac {\pi }{2} + \frac {1}{2}}{\pi }}\right \rfloor \right )}{12} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________