Optimal. Leaf size=11 \[ -\frac{3}{4} \tanh ^{-1}\left (\cos \left (\frac{x}{3}\right )\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0032333, antiderivative size = 11, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {12, 3770} \[ -\frac{3}{4} \tanh ^{-1}\left (\cos \left (\frac{x}{3}\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 3770
Rubi steps
\begin{align*} \int \frac{1}{4} \csc \left (\frac{x}{3}\right ) \, dx &=\frac{1}{4} \int \csc \left (\frac{x}{3}\right ) \, dx\\ &=-\frac{3}{4} \tanh ^{-1}\left (\cos \left (\frac{x}{3}\right )\right )\\ \end{align*}
Mathematica [B] time = 0.0062143, size = 23, normalized size = 2.09 \[ \frac{1}{4} \left (3 \log \left (\sin \left (\frac{x}{6}\right )\right )-3 \log \left (\cos \left (\frac{x}{6}\right )\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.006, size = 15, normalized size = 1.4 \begin{align*}{\frac{3}{4}\ln \left ( \csc \left ({\frac{x}{3}} \right ) -\cot \left ({\frac{x}{3}} \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 0.918564, size = 26, normalized size = 2.36 \begin{align*} -\frac{3}{8} \, \log \left (\cos \left (\frac{1}{3} \, x\right ) + 1\right ) + \frac{3}{8} \, \log \left (\cos \left (\frac{1}{3} \, x\right ) - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.08161, size = 88, normalized size = 8. \begin{align*} -\frac{3}{8} \, \log \left (\frac{1}{2} \, \cos \left (\frac{1}{3} \, x\right ) + \frac{1}{2}\right ) + \frac{3}{8} \, \log \left (-\frac{1}{2} \, \cos \left (\frac{1}{3} \, x\right ) + \frac{1}{2}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 0.097576, size = 22, normalized size = 2. \begin{align*} \frac{3 \log{\left (\cos{\left (\frac{x}{3} \right )} - 1 \right )}}{8} - \frac{3 \log{\left (\cos{\left (\frac{x}{3} \right )} + 1 \right )}}{8} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.06149, size = 31, normalized size = 2.82 \begin{align*} -\frac{3}{8} \, \log \left (3 \, \cos \left (\frac{1}{3} \, x\right ) + 3\right ) + \frac{3}{8} \, \log \left (-3 \, \cos \left (\frac{1}{3} \, x\right ) + 3\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]