Optimal. Leaf size=20 \[ -\frac {1}{d \left (1+f^{c+d x}\right ) \log (f)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {2320, 32}
\begin {gather*} -\frac {1}{d \log (f) \left (f^{c+d x}+1\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 32
Rule 2320
Rubi steps
\begin {align*} \int \frac {1}{2+f^{-c-d x}+f^{c+d x}} \, dx &=\frac {\text {Subst}\left (\int \frac {1}{(1+x)^2} \, dx,x,f^{c+d x}\right )}{d \log (f)}\\ &=-\frac {1}{d \left (1+f^{c+d x}\right ) \log (f)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 20, normalized size = 1.00 \begin {gather*} -\frac {1}{d \log (f)+d f^{c+d x} \log (f)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 23, normalized size = 1.15
method | result | size |
risch | \(\frac {1}{d \ln \left (f \right ) \left (f^{-d x -c}+1\right )}\) | \(23\) |
norman | \(\frac {1}{d \ln \left (f \right ) \left ({\mathrm e}^{\left (-d x -c \right ) \ln \left (f \right )}+1\right )}\) | \(25\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 22, normalized size = 1.10 \begin {gather*} \frac {1}{d {\left (f^{-d x - c} + 1\right )} \log \left (f\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 20, normalized size = 1.00 \begin {gather*} -\frac {1}{d f^{d x + c} \log \left (f\right ) + d \log \left (f\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.04, size = 19, normalized size = 0.95 \begin {gather*} - \frac {1}{d f^{c + d x} \log {\left (f \right )} + d \log {\left (f \right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.93, size = 22, normalized size = 1.10 \begin {gather*} -\frac {1}{{\left (f^{d x} f^{c} + 1\right )} d \log \left (f\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.56, size = 20, normalized size = 1.00 \begin {gather*} -\frac {1}{d\,\ln \left (f\right )\,\left (f^{c+d\,x}+1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________