r/askmath • u/Samstercraft • Mar 22 '26
Calculus Is Wolfram's antiderivative of secant wrong?
∫secx dx = arctanh(sinx) + C (which can be expanded into the log form), but wolfram drops the 'h' and says that the antiderivative is actually arctan(sinx)+C. Pretty sure this is wrong, but not sure why it would be messing up the integral of such a common function. https://www.wolframalpha.com/input?i=%E2%88%ABsecxdx
12
Upvotes
7
u/sighthoundman Mar 22 '26
arctanh z = -i arctan iz.
I would guess that Wolfram got the correct antiderivative but has a simplification error somewhere. I would contact them.
5
u/bayesian13 Mar 22 '26
this article says its ln |sec(x)+tan(x)| https://en.wikipedia.org/wiki/Integral_of_the_secant_function
8
u/[deleted] Mar 22 '26
4
u/Limeee_ Mar 22 '26
yeah im not sure why it says arctan instead of arctanh, replying so that I can come back to this post once others answer
0
u/[deleted] Mar 22 '26
[deleted] — view deleted comment