Optimal. Leaf size=54 \[ -\frac {(1-a x) e^{-2 \tan ^{-1}(a x)}}{4 a c^2 \left (a^2 x^2+1\right )}-\frac {e^{-2 \tan ^{-1}(a x)}}{8 a c^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 54, 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 = {5070, 5071} \[ -\frac {(1-a x) e^{-2 \tan ^{-1}(a x)}}{4 a c^2 \left (a^2 x^2+1\right )}-\frac {e^{-2 \tan ^{-1}(a x)}}{8 a c^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5070
Rule 5071
Rubi steps
\begin {align*} \int \frac {e^{-2 \tan ^{-1}(a x)}}{\left (c+a^2 c x^2\right )^2} \, dx &=-\frac {e^{-2 \tan ^{-1}(a x)} (1-a x)}{4 a c^2 \left (1+a^2 x^2\right )}+\frac {\int \frac {e^{-2 \tan ^{-1}(a x)}}{c+a^2 c x^2} \, dx}{4 c}\\ &=-\frac {e^{-2 \tan ^{-1}(a x)}}{8 a c^2}-\frac {e^{-2 \tan ^{-1}(a x)} (1-a x)}{4 a c^2 \left (1+a^2 x^2\right )}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.02, size = 55, normalized size = 1.02 \[ -\frac {(1-i a x)^{-i} (1+i a x)^i \left (a^2 x^2-2 a x+3\right )}{8 c^2 \left (a^3 x^2+a\right )} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.47, size = 40, normalized size = 0.74 \[ -\frac {{\left (a^{2} x^{2} - 2 \, a x + 3\right )} e^{\left (-2 \, \arctan \left (a x\right )\right )}}{8 \, {\left (a^{3} c^{2} x^{2} + a c^{2}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \mathit {sage}_{0} x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 42, normalized size = 0.78 \[ -\frac {\left (a^{2} x^{2}-2 a x +3\right ) {\mathrm e}^{-2 \arctan \left (a x \right )}}{8 \left (a^{2} x^{2}+1\right ) c^{2} a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {e^{\left (-2 \, \arctan \left (a x\right )\right )}}{{\left (a^{2} c x^{2} + c\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.57, size = 47, normalized size = 0.87 \[ -\frac {{\mathrm {e}}^{-2\,\mathrm {atan}\left (a\,x\right )}\,\left (\frac {3}{8\,a^3\,c^2}-\frac {x}{4\,a^2\,c^2}+\frac {x^2}{8\,a\,c^2}\right )}{\frac {1}{a^2}+x^2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \begin {cases} - \frac {a^{2} x^{2}}{8 a^{3} c^{2} x^{2} e^{2 \operatorname {atan}{\left (a x \right )}} + 8 a c^{2} e^{2 \operatorname {atan}{\left (a x \right )}}} + \frac {2 a x}{8 a^{3} c^{2} x^{2} e^{2 \operatorname {atan}{\left (a x \right )}} + 8 a c^{2} e^{2 \operatorname {atan}{\left (a x \right )}}} - \frac {3}{8 a^{3} c^{2} x^{2} e^{2 \operatorname {atan}{\left (a x \right )}} + 8 a c^{2} e^{2 \operatorname {atan}{\left (a x \right )}}} & \text {for}\: c \neq 0 \\\tilde {\infty } \int e^{- 2 \operatorname {atan}{\left (a x \right )}}\, dx & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________