'Inversely' is the more traditional term, but 'indirectly' started being used because it is the opposite of 'directly', so it was easier to understand the concepts. Again, just because it wasn't used in high school math doesn't mean it's inappropriate.