3.2 \(\int \frac{1}{a^2+b^2 x^2} \, dx\)

Optimal. Leaf size=14 \[ \frac{\tan ^{-1}\left (\frac{b x}{a}\right )}{a b} \]

[Out]

ArcTan[(b*x)/a]/(a*b)

_______________________________________________________________________________________

Rubi [A]  time = 0.012504, antiderivative size = 14, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077 \[ \frac{\tan ^{-1}\left (\frac{b x}{a}\right )}{a b} \]

Antiderivative was successfully verified.

[In]  Int[(a^2 + b^2*x^2)^(-1),x]

[Out]

ArcTan[(b*x)/a]/(a*b)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 1.96461, size = 8, normalized size = 0.57 \[ \frac{\operatorname{atan}{\left (\frac{b x}{a} \right )}}{a b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(1/(b**2*x**2+a**2),x)

[Out]

atan(b*x/a)/(a*b)

_______________________________________________________________________________________

Mathematica [A]  time = 0.00503461, size = 14, normalized size = 1. \[ \frac{\tan ^{-1}\left (\frac{b x}{a}\right )}{a b} \]

Antiderivative was successfully verified.

[In]  Integrate[(a^2 + b^2*x^2)^(-1),x]

[Out]

ArcTan[(b*x)/a]/(a*b)

_______________________________________________________________________________________

Maple [A]  time = 0.006, size = 15, normalized size = 1.1 \[{\frac{1}{ab}\arctan \left ({\frac{bx}{a}} \right ) } \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(1/(b^2*x^2+a^2),x)

[Out]

arctan(b*x/a)/a/b

_______________________________________________________________________________________

Maxima [A]  time = 1.53156, size = 19, normalized size = 1.36 \[ \frac{\arctan \left (\frac{b x}{a}\right )}{a b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/(b^2*x^2 + a^2),x, algorithm="maxima")

[Out]

arctan(b*x/a)/(a*b)

_______________________________________________________________________________________

Fricas [A]  time = 0.215272, size = 19, normalized size = 1.36 \[ \frac{\arctan \left (\frac{b x}{a}\right )}{a b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/(b^2*x^2 + a^2),x, algorithm="fricas")

[Out]

arctan(b*x/a)/(a*b)

_______________________________________________________________________________________

Sympy [A]  time = 0.14532, size = 26, normalized size = 1.86 \[ \frac{- \frac{i \log{\left (- \frac{i a}{b} + x \right )}}{2} + \frac{i \log{\left (\frac{i a}{b} + x \right )}}{2}}{a b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/(b**2*x**2+a**2),x)

[Out]

(-I*log(-I*a/b + x)/2 + I*log(I*a/b + x)/2)/(a*b)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.21507, size = 19, normalized size = 1.36 \[ \frac{\arctan \left (\frac{b x}{a}\right )}{a b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/(b^2*x^2 + a^2),x, algorithm="giac")

[Out]

arctan(b*x/a)/(a*b)