Optimal. Leaf size=38 \[ \frac{\tanh ^{-1}\left (\frac{2 \sqrt{d} \sqrt{f} x}{e+2 f x^n}\right )}{2 \sqrt{d} \sqrt{f}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.153447, antiderivative size = 38, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 42, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.048 \[ \frac{\tanh ^{-1}\left (\frac{2 \sqrt{d} \sqrt{f} x}{e+2 f x^n}\right )}{2 \sqrt{d} \sqrt{f}} \]
Antiderivative was successfully verified.
[In] Int[(e - 2*f*(-1 + n)*x^n)/(e^2 - 4*d*f*x^2 + 4*e*f*x^n + 4*f^2*x^(2*n)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 74.1072, size = 44, normalized size = 1.16 \[ \frac{\operatorname{atanh}{\left (\frac{2 \sqrt{d} \sqrt{f} x \left (n - 1\right )}{e \left (n - 1\right ) + 2 f x^{n} \left (n - 1\right )} \right )}}{2 \sqrt{d} \sqrt{f}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((e-2*f*(-1+n)*x**n)/(e**2-4*d*f*x**2+4*e*f*x**n+4*f**2*x**(2*n)),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.141701, size = 0, normalized size = 0. \[ \int \frac{e-2 f (-1+n) x^n}{e^2-4 d f x^2+4 e f x^n+4 f^2 x^{2 n}} \, dx \]
Verification is Not applicable to the result.
[In] Integrate[(e - 2*f*(-1 + n)*x^n)/(e^2 - 4*d*f*x^2 + 4*e*f*x^n + 4*f^2*x^(2*n)),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.074, size = 72, normalized size = 1.9 \[{\frac{1}{4}\ln \left ({x}^{n}+{\frac{1}{2\,f} \left ( 2\,dfx+e\sqrt{df} \right ){\frac{1}{\sqrt{df}}}} \right ){\frac{1}{\sqrt{df}}}}-{\frac{1}{4}\ln \left ({x}^{n}+{\frac{1}{2\,f} \left ( -2\,dfx+e\sqrt{df} \right ){\frac{1}{\sqrt{df}}}} \right ){\frac{1}{\sqrt{df}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((e-2*f*(-1+n)*x^n)/(e^2-4*d*f*x^2+4*e*f*x^n+4*f^2*x^(2*n)),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{2 \, f{\left (n - 1\right )} x^{n} - e}{4 \, d f x^{2} - 4 \, f^{2} x^{2 \, n} - 4 \, e f x^{n} - e^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2*f*(n - 1)*x^n - e)/(4*d*f*x^2 - 4*f^2*x^(2*n) - 4*e*f*x^n - e^2),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.307275, size = 1, normalized size = 0.03 \[ \left [\frac{\log \left (-\frac{4 \, d e f x + 4 \, \sqrt{d f} f^{2} x^{2 \, n} + 4 \,{\left (2 \, d f^{2} x + \sqrt{d f} e f\right )} x^{n} +{\left (4 \, d f x^{2} + e^{2}\right )} \sqrt{d f}}{4 \, d f x^{2} - 4 \, f^{2} x^{2 \, n} - 4 \, e f x^{n} - e^{2}}\right )}{4 \, \sqrt{d f}}, \frac{\arctan \left (\frac{2 \, \sqrt{-d f} f x^{n} + \sqrt{-d f} e}{2 \, d f x}\right )}{2 \, \sqrt{-d f}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2*f*(n - 1)*x^n - e)/(4*d*f*x^2 - 4*f^2*x^(2*n) - 4*e*f*x^n - e^2),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e-2*f*(-1+n)*x**n)/(e**2-4*d*f*x**2+4*e*f*x**n+4*f**2*x**(2*n)),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{2 \, f{\left (n - 1\right )} x^{n} - e}{4 \, d f x^{2} - 4 \, f^{2} x^{2 \, n} - 4 \, e f x^{n} - e^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((2*f*(n - 1)*x^n - e)/(4*d*f*x^2 - 4*f^2*x^(2*n) - 4*e*f*x^n - e^2),x, algorithm="giac")
[Out]