A complete partition is the proof
A proof by cases is appropriate when a statement has different simple forms in different regions of its domain. The logical structure is: every object in the domain belongs to at least one listed case; in each case the desired conclusion follows; therefore the conclusion holds for every object in the domain.
The cases should be exhaustive. They need not always be disjoint, but a disjoint partition often makes the argument easier to check. A split such as negative, zero, and positive exhausts the real numbers. A split that omits zero does not. A proof does not become complete merely because each written case is correct.
Within a case, explicitly state the assumption and use only what it provides. For an integer, the two cases are even and odd; each has an algebraic representation with an integer parameter.
For an absolute value, the relevant split is determined by the sign of the interior expression. The conclusion must be established separately, not assumed from the notation.
A case split is a way to organize a direct proof, not a substitute for one. It differs from checking a few examples and from induction: cases cover all possible forms now, whereas induction uses a base case and an implication connecting successive values.
Which case split is most directly useful for proving |x| = |−x| for every real number x?
A student writes: “Let m be an integer. If m is divisible by three, then m2 is divisible by three. If m is not divisible by three, then m2 is not divisible by three. Hence, for every integer m, either m2 is divisible by three or it is not.” What is the main issue?