I found this question on a past paper while preparing for my mid-term exam
Prove by mathematical induction that every nonempty finite set of Z has a smallest element
I previously answered a question similar to this where instead of set Z it was set N. Here is my solution to that version of the question:
Every nonempty subset of N has a smallest element.
Let S be a nonempty subset of N.
Base case: If 1∈S, then the proof is done since 1 is the smallest natural number.
Inductive hypothesis: If S contains an integer k such that 1≤k≤n, then it must be that S contains a smallest element.
Inductive step: It remains to be shown that if S contains an integer k≤n+1, then S has a smallest element.
Suppose S contains an element 1≤k≤n+1. If S does not contain an element 1≤l≤n then that element k is n+1 and it is the smallest element of S because S contains it and nothing less than it.
If S does contain an element 1≤l≤n then it meets the criteria of the inductive hypothesis and therefore has the smallest element.
Either way, any set S with an element 1≤k≤n+1 has the smallest element. This concludes the induction step.
I am unsure how to adjust this to answer the question above. Any help would be highly appreciated