76.97 Problem number 404

\[ \int \frac {\tan (e+f x)}{\sqrt {a+b \sec ^2(e+f x)}} \, dx \]

Optimal antiderivative \[ -\frac {\arctanh \left (\frac {\sqrt {a +b \left (\sec ^{2}\left (f x +e \right )\right )}}{\sqrt {a}}\right )}{f \sqrt {a}} \]

command

integrate(tan(f*x+e)/(a+b*sec(f*x+e)^2)^(1/2),x, algorithm="giac")

Giac 1.9.0-11 via sagemath 9.6 output

\[ \frac {2 \, \arctan \left (-\frac {\sqrt {a + b} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - \sqrt {a \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4} + b \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4} - 2 \, a \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} + 2 \, b \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} + a + b} + \sqrt {a + b}}{2 \, \sqrt {-a}}\right )}{\sqrt {-a} f \mathrm {sgn}\left (\cos \left (f x + e\right )\right )} \]

Giac 1.7.0 via sagemath 9.3 output

\[ \text {Exception raised: NotImplementedError} \]________________________________________________________________________________________