75.1 Problem number 248

\[ \int \frac {e^{\text {ArcTan}(a x)}}{c+a^2 c x^2} \, dx \]

Optimal antiderivative \[ \frac {{\mathrm e}^{\arctan \left (a x \right )}}{a c} \]

command

integrate(exp(atan(a*x))/(a**2*c*x**2+c),x)

Sympy 1.10.1 under Python 3.10.4 output

\[ \begin {cases} \frac {e^{\operatorname {atan}{\left (a x \right )}}}{a c} & \text {for}\: a \neq 0 \\\frac {x}{c} & \text {otherwise} \end {cases} \]

Sympy 1.8 under Python 3.8.8 output

\[ \begin {cases} \frac {e^{\operatorname {atan}{\left (a x \right )}}}{a c} & \text {for}\: c \neq 0 \\\tilde {\infty } \int e^{\operatorname {atan}{\left (a x \right )}}\, dx & \text {otherwise} \end {cases} \]________________________________________________________________________________________