I am not sure about the notation of a case by case problem. This is my solution:
Is that the correct way to display a case by case analysis? Specifically I would like to know, if there is a more elegant way than my solution. Is the phrasing "for" and "and" the way to do it? What about "otherwise"? I have only little experience in mathematical notation and therefore I'd be glad about comments about my "mathematical style"