a) Show that, if f is convex, then -f is concave (and vice versa)

b) Show that the following function, having domain {0,1,...,n-1}, is convex:

f(j) = 1 / (n-j)

I know what convex/concave looks like, but not sure what it means in a formula. Any help would be great thanks!