Inverses of linear functions