You are given two identical looking bars A and B. One of them is a bar magnet, while the other is an iron bar. How will you distinguish them without using any other material?
TYPE 1
Choose one bar at random, and hold it in your hand by one end.
Bring the end of the bar in your hand near to the middle of the other bar.
If the bar in your hand is a magnet, it will be attracted to the middle of other bar.
If the bar in your hand is not the magnet, you will feel little attraction between the bars when you bring it near the middle of the other bar, but a much stronger attraction between the bars when you bring it near either end of the other bar.
TYPE 2
Let us name one as A and another as B. Take A and then start moving it in contact with B from one end to another of this bar. If you observe that the pull between A and B is same right from one end to another then definitely A is magnet and B is iron. Repeat the experiment again but now start moving B on A slowly. In this case you would find that the pull is more at the end than that at the middle of A, it also ensures that A is a magnetic bar while B is an iron bar. Hope you know that the magnet has maximum force of attraction for magnetic materials like iron at its ends/poles rather at the middle where it is almost zero.