Sec(arctan(x)) not working properly

Something’s not working the way it seems like it should.

When I put in the function sqrt(x^2 + 1) - x into Desmos (logarithmic graph), it worked fine. However when I put in the function sec(arctan(x)) - x, it started fine, then started going all over the place.

And here are some screenshots or a video:


Hi there! For the best response for calculator feedback please email Desmos Studio support at support@desmos.com