Exercise 35a.

Show that a nonempty subset of a group is a subgroup of if and only if implies .


Proof

To prove this statement, which is an equivalence, we need to prove both directions:

If is a subgroup of then if implies
If implies , then is a subgroup of

Proof of :

We assume is subgroup of and we need to show implies .

Since is a subgroup, we have that the following is true for all :

Let . By we have , that is . Now, by , this implies that , which is what we needed to show.

Proof of :

Now we assume implies . We want to show that is a subgroup of . To do this, we need to show that:

(1)
(2)

Proof of (1):

Let . By our assumption, for , we get:

and because we have shown that the identity element is in . Now, since , again using the assumption, we get:

Thus, we have shown that , and the proof of (1) is complete.

Proof of (2):

Let . By (1), we know that . Now, since , by the starting assumption, we get:

and since , we have that . Thus, we have shown that , and the proof of (2) is complete.

Since (1) and (2) are true, is indeed a subgroup of , and the statement is proven.

We proved both directions, the proof is complete.


Additional thoughts

I had one doubt with this proof from which I learned something. I started this exercise just playing around with the assumptions. The "" direction was very straightforward. For the "" direction I again just started playing with the given assumption, trying to see if something will pop up. Along the way I noticed I could prove if . But to do that I needed to show that is in . Then as I was moving symbols around, I realised that I can set and use the assumption to show that . While I was pretty sure I can set due to my prior experience with proofs, I still had some doubts. I thought, there is no condition, so who says I can't put ? I found this answer on MSE, here they brought to my attention the actual name of this rule of inference that allows us to to set for whatever .