Optimal. Leaf size=10 \[ \frac {\tan ^{-1}\left (\frac {x}{c}\right )}{c} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 10, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {209}
\begin {gather*} \frac {\tan ^{-1}\left (\frac {x}{c}\right )}{c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rubi steps
\begin {align*} \int \frac {1}{c^2+x^2} \, dx &=\frac {\tan ^{-1}\left (\frac {x}{c}\right )}{c}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 10, normalized size = 1.00 \begin {gather*} \frac {\tan ^{-1}\left (\frac {x}{c}\right )}{c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [C] Result contains complex when optimal does not.
time = 1.97, size = 20, normalized size = 2.00 \begin {gather*} \frac {\frac {I}{2} \left (\text {Log}\left [I c+x\right ]-\text {Log}\left [-I c+x\right ]\right )}{c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 11, normalized size = 1.10
method | result | size |
default | \(\frac {\arctan \left (\frac {x}{c}\right )}{c}\) | \(11\) |
risch | \(\frac {\arctan \left (\frac {x}{c}\right )}{c}\) | \(11\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.35, size = 10, normalized size = 1.00 \begin {gather*} \frac {\arctan \left (\frac {x}{c}\right )}{c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.32, size = 10, normalized size = 1.00 \begin {gather*} \frac {\arctan \left (\frac {x}{c}\right )}{c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.06, size = 20, normalized size = 2.00 \begin {gather*} \frac {- \frac {i \log {\left (- i c + x \right )}}{2} + \frac {i \log {\left (i c + x \right )}}{2}}{c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 11, normalized size = 1.10 \begin {gather*} \frac {2 \arctan \left (\frac {x}{c}\right )}{2 c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.04, size = 10, normalized size = 1.00 \begin {gather*} \frac {\mathrm {atan}\left (\frac {x}{c}\right )}{c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________