Integrand size = 11, antiderivative size = 4 \[ \int \frac {1}{e^{-x}+e^x} \, dx=\arctan \left (e^x\right ) \]
[Out]
Time = 0.01 (sec) , antiderivative size = 4, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {2320, 209} \[ \int \frac {1}{e^{-x}+e^x} \, dx=\arctan \left (e^x\right ) \]
[In]
[Out]
Rule 209
Rule 2320
Rubi steps \begin{align*} \text {integral}& = \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,e^x\right ) \\ & = \tan ^{-1}\left (e^x\right ) \\ \end{align*}
Time = 0.00 (sec) , antiderivative size = 4, normalized size of antiderivative = 1.00 \[ \int \frac {1}{e^{-x}+e^x} \, dx=\arctan \left (e^x\right ) \]
[In]
[Out]
Time = 0.03 (sec) , antiderivative size = 4, normalized size of antiderivative = 1.00
method | result | size |
default | \(\arctan \left ({\mathrm e}^{x}\right )\) | \(4\) |
risch | \(\frac {i \ln \left ({\mathrm e}^{x}+i\right )}{2}-\frac {i \ln \left ({\mathrm e}^{x}-i\right )}{2}\) | \(20\) |
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 3, normalized size of antiderivative = 0.75 \[ \int \frac {1}{e^{-x}+e^x} \, dx=\arctan \left (e^{x}\right ) \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 15 vs. \(2 (3) = 6\).
Time = 0.05 (sec) , antiderivative size = 15, normalized size of antiderivative = 3.75 \[ \int \frac {1}{e^{-x}+e^x} \, dx=\operatorname {RootSum} {\left (4 z^{2} + 1, \left ( i \mapsto i \log {\left (2 i + e^{x} \right )} \right )\right )} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 7 vs. \(2 (3) = 6\).
Time = 0.29 (sec) , antiderivative size = 7, normalized size of antiderivative = 1.75 \[ \int \frac {1}{e^{-x}+e^x} \, dx=-\arctan \left (e^{\left (-x\right )}\right ) \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 3, normalized size of antiderivative = 0.75 \[ \int \frac {1}{e^{-x}+e^x} \, dx=\arctan \left (e^{x}\right ) \]
[In]
[Out]
Time = 0.02 (sec) , antiderivative size = 3, normalized size of antiderivative = 0.75 \[ \int \frac {1}{e^{-x}+e^x} \, dx=\mathrm {atan}\left ({\mathrm {e}}^x\right ) \]
[In]
[Out]