I think we've defined arcsecant using the "trig/calculator-friendly"
definition,
which puts the range of arcsecant as [0,pi/2)U(pi/2,pi].
That lets you define arcsec(x)=arccos(1/x), which I understand is useful
for people who want to evaluate arcsecant using a graphing calculator.
(Having never used a graphing calculator in my life, I was unaware such
people existed ;-) )
But it gives you the derivative with the absolute value. In that case,
5/sqrt(x^2-16x^2)=5/[|x|sqrt(x^2-16)], and the antiderivative is
(5/4)arcsec(x/4). (If I've remembered correctly where the 4 is supposed
to go.)
There is also the "calculus-friendly" definition of arcsecant, with
range [0,pi/2)U[pi,3pi/2). Since tangent is positive on this range,
there's no sign ambiguity and the derivative does not have an absolute
value in it.
But this isn't the convention used in APEX, so moot.
Greg can correct me, but my understanding here is that the x^2 should be
factored out of the radical as |x|.