If is a nonempty subset of a group , then is a subgroup of if and only if

for all .

Why it matters

This is the fastest practical way to prove a subset is a subgroup.