A diamagnetic substance exhibits a unique behavior when subjected to a magnetic field. Diamagnetism is a form of magnetism that causes a material to create an induced magnetic field in a direction opposite to an externally applied magnetic field, leading to repulsion. This is due to the arrangement of electrons in diamagnetic materials, where all electron spins are paired, thus nullifying a net magnetic movement in the absence of an external field.
When a diamagnetic substance is brought near either the north or south pole of a bar magnet, it induces an opposing magnetic field in response to the external magnetic field. This opposing field results in repulsion from both the north and south poles of the magnet, as diamagnetism does not depend on the poles' nature but on the magnetic field's presence.
Therefore, the correct behavior of a diamagnetic material in the presence of a bar magnet is: repelled by the north pole as well as by the south pole.