Invariants are very important in problem solving but I am not clear on what are some approaches to identify them easily. Example: If I have something like the following: