A bar magnet is divided into two pieces, which of the following statement is correct?