An algebraic method for the treatment of broken symmetries in many-body problems: A simple example