Relating invertibility to being onto and one-to-one