Dunno if there’s an easier way but this is how I did it.
First find the inverse of f(x) (I replaced f(x) with y)
So x = sec(y)
Now differentiate both sides with respect to x
1 = sec(y)tan(y) dy/dx
dy/dx = 1/(sec(y)tan(y))
note: 1 + tan^2(y) = sec^2(y) (make tan(y) the subject)
So tan(y) = square root of (sec^2(y) - 1)
also note we let sec(y) = x
sub into dy/dx
So dy/dx = 1/(x*sqr-root(x^2 - 1))