Proof by Cases is the concept of splitting a statement into parts to make it simpler to prove. Its analogous to a divide and conquer strategy. Each case can be proven with varying methods and sometimes could differ between the cases.
Prove that for all integers,
Odd and even integers behave differently with respect to what the result is. So, we have to separate this into two cases: even integers and odd integers. Since, every integer is either even or odd this will satisfy our proposition.
Suppose
Suppose
Thus we have shown that if n is odd or even