According to secxd(secx), the result is 1/2 seconds? x+C
According to tanxd(tanx), the result is 1/2 tan? x+C
Both results are correct,
sec? x-tan? x= 1
Therefore, the difference between the two primitive functions is constant 1/2.
It's all about primitive functions.