How to find the symmetry of an equation