Optimal. Leaf size=6 \[ \log (\sec (x)+\tan (x)) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 3, normalized size of antiderivative = 0.50, number of steps
used = 1, number of rules used = 1, integrand size = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {3855}
\begin {gather*} \text {arctanh}(\sin (x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3855
Rubi steps
\begin {gather*} \begin {aligned} \text {Integral} &=\text {arctanh}(\sin (x))\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(33\) vs. \(2(6)=12\).
time = 0.00, size = 33, normalized size = 5.50 \begin {gather*} -\log \left (\cos \left (\frac {x}{2}\right )-\sin \left (\frac {x}{2}\right )\right )+\log \left (\cos \left (\frac {x}{2}\right )+\sin \left (\frac {x}{2}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 7, normalized size = 1.17
method | result | size |
default | \(\ln \left (\sec \left (x \right )+\tan \left (x \right )\right )\) | \(7\) |
norman | \(-\ln \left (\tan \left (\frac {x}{2}\right )-1\right )+\ln \left (\tan \left (\frac {x}{2}\right )+1\right )\) | \(18\) |
parallelrisch | \(-\ln \left (\tan \left (\frac {x}{2}\right )-1\right )+\ln \left (\tan \left (\frac {x}{2}\right )+1\right )\) | \(18\) |
risch | \(\ln \left ({\mathrm e}^{i x}+i\right )-\ln \left ({\mathrm e}^{i x}-i\right )\) | \(22\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 15 vs.
\(2 (6) = 12\).
time = 0.33, size = 15, normalized size = 2.50 \begin {gather*} \frac {1}{2} \, \log \left (\sin \left (x\right ) + 1\right ) - \frac {1}{2} \, \log \left (\sin \left (x\right ) - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 17 vs.
\(2 (6) = 12\).
time = 0.62, size = 17, normalized size = 2.83 \begin {gather*} \frac {1}{2} \, \log \left (\sin \left (x\right ) + 1\right ) - \frac {1}{2} \, \log \left (-\sin \left (x\right ) + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 15 vs.
\(2 (7) = 14\).
time = 0.03, size = 15, normalized size = 2.50 \begin {gather*} - \frac {\log {\left (\sin {\left (x \right )} - 1 \right )}}{2} + \frac {\log {\left (\sin {\left (x \right )} + 1 \right )}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 17 vs.
\(2 (6) = 12\).
time = 0.48, size = 17, normalized size = 2.83 \begin {gather*} \frac {1}{2} \, \log \left (\sin \left (x\right ) + 1\right ) - \frac {1}{2} \, \log \left (-\sin \left (x\right ) + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.04, size = 11, normalized size = 1.83 \begin {gather*} \ln \left (\frac {1}{\cos \left (x\right )}\right )+\ln \left (\sin \left (x\right )+1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________