Using the technique proof by cases, show that
"For integers $x$ and $y$, if $xy$ is odd, then $x$ is odd and $y$ is odd."
There are solutions online that go through every combination of odd and even values. (Case 1: $x$ is even and $y$ is even, Case 2: $x$ is even and $y$ is odd, Case 3: $x$ is odd and $y$ is even ... etc).
I don't think this is the proper way of doing a proof by cases because the cases should be in terms of what is given in the hypothesis ($xy$ is odd) instead of the conclusion we are trying to prove.
However, the only thing I can think of is Case 1: $xy$ is odd, but there is no other case which makes it more of a direct proof. What is the proper way to prove this?