Optimal. Leaf size=122 \[ \frac {i (1-i a x)^{\frac {i n}{2}} (1+i a x)^{-\frac {i n}{2}}}{a^2 c n}-\frac {i 2^{1-\frac {i n}{2}} (1-i a x)^{\frac {i n}{2}} \, _2F_1\left (\frac {i n}{2},\frac {i n}{2};\frac {i n}{2}+1;\frac {1}{2} (1-i a x)\right )}{a^2 c n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 122, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {5082, 79, 69} \[ \frac {i (1-i a x)^{\frac {i n}{2}} (1+i a x)^{-\frac {i n}{2}}}{a^2 c n}-\frac {i 2^{1-\frac {i n}{2}} (1-i a x)^{\frac {i n}{2}} \, _2F_1\left (\frac {i n}{2},\frac {i n}{2};\frac {i n}{2}+1;\frac {1}{2} (1-i a x)\right )}{a^2 c n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 69
Rule 79
Rule 5082
Rubi steps
\begin {align*} \int \frac {e^{n \tan ^{-1}(a x)} x}{c+a^2 c x^2} \, dx &=\frac {\int x (1-i a x)^{-1+\frac {i n}{2}} (1+i a x)^{-1-\frac {i n}{2}} \, dx}{c}\\ &=\frac {i (1-i a x)^{\frac {i n}{2}} (1+i a x)^{-\frac {i n}{2}}}{a^2 c n}-\frac {i \int (1-i a x)^{-1+\frac {i n}{2}} (1+i a x)^{-\frac {i n}{2}} \, dx}{a c}\\ &=\frac {i (1-i a x)^{\frac {i n}{2}} (1+i a x)^{-\frac {i n}{2}}}{a^2 c n}-\frac {i 2^{1-\frac {i n}{2}} (1-i a x)^{\frac {i n}{2}} \, _2F_1\left (\frac {i n}{2},\frac {i n}{2};1+\frac {i n}{2};\frac {1}{2} (1-i a x)\right )}{a^2 c n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 109, normalized size = 0.89 \[ \frac {i (1-i a x)^{\frac {i n}{2}} (2+2 i a x)^{-\frac {i n}{2}} \left (2^{\frac {i n}{2}}-2 (1+i a x)^{\frac {i n}{2}} \, _2F_1\left (\frac {i n}{2},\frac {i n}{2};\frac {i n}{2}+1;\frac {1}{2} (1-i a x)\right )\right )}{a^2 c n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.43, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {x e^{\left (n \arctan \left (a x\right )\right )}}{a^{2} c x^{2} + c}, x\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 [F] time = 0.32, size = 0, normalized size = 0.00 \[ \int \frac {{\mathrm e}^{n \arctan \left (a x \right )} x}{a^{2} c \,x^{2}+c}\, dx \]
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 {x e^{\left (n \arctan \left (a x\right )\right )}}{a^{2} c x^{2} + c}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {x\,{\mathrm {e}}^{n\,\mathrm {atan}\left (a\,x\right )}}{c\,a^2\,x^2+c} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {\int \frac {x e^{n \operatorname {atan}{\left (a x \right )}}}{a^{2} x^{2} + 1}\, dx}{c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________