A magnet has a north pole and a south pole. Opposite poles attract each other, while the same poles repel each other. When you rub a piece of iron along a magnet, the north-seeking poles of the atoms in the iron line up in the same direction. The force generated by the aligned atoms creates a magnetic field. This field is what gives a magnet its power to attract or repel other objects.

Table of Contents
Magnetic Moment of a Magnet
A magnet also has a magnetic moment. This is a measure of the strength and direction of a magnet's magnetic field. The magnetic moment is caused by the angular momentum of the electrons in the atom's shells. The angular momentum is a result of the electrons spinning around the nucleus. The more electrons an atom has, and the higher their energy levels, the greater the atom's magnetic moment will be.
Magnets with strong magnetic moments are called “magnetically hard” materials. Those with weak magnetic moments are “magnetically soft” materials. Magnets can be permanent, like those found in refrigerator magnets, or temporary, like those produced by electric currents.
Why a Suspended Magnet Oscillates in a Horizontal Plane
A suspended magnet always oscillates in a plane perpendicular to the Earth's magnetic field. This is because the restoring force on the magnet is always perpendicular to the plane of oscillation. This can be seen by considering the magnetic force on the magnet's north pole. The force exerted by the Earth's magnetic field on this pole is directed to the left, while the force exerted by the magnet's south pole is directed to the right.
As a result, a net force on the north pole is directed upwards, perpendicular to the plane of oscillation. This net force acts like a spring, constantly trying to push the north pole back to its original position. However, once the north pole has been displaced, it experiences a magnetic force that points in the opposite direction. As a result, it experiences a net force that points downwards and begins to fall. This process repeats itself over and over again, causing the magnet to oscillate in a plane perpendicular to the Earth's magnetic field.
Why Does a Bar Magnet Rotate Rather than Oscillate
If you take a bar magnet and suspend it so that it can rotate freely in a horizontal plane, you will notice that it does not oscillate. Instead, it will rotate slowly in a circle. This is because the Earth's magnetic field exerts a force on the magnet. The magnet's north pole is attracted to the Earth's south magnetic pole, while the magnet's south pole is attracted to the Earth's north magnetic pole. This interaction creates a force that causes the magnet to rotate. The faster the magnet rotates, the greater the force between the poles of the magnet and the Earth's magnetic field. Eventually, the magnitude of this force will equal the force exerted by friction, at which point the magnet will stop rotating. However, the magnet will continue to rotate indefinitely if there is no friction (such as in a vacuum).
Rotation of a Bar Magnet Under a Magnetic Field
When a current-carrying conductor is placed in a magnetic field, it experiences a force perpendicular to both the current's and the magnetic field's direction. This force is known as the Lorentz force, and it causes the conductor to move in a circle. The same principles apply to a bar magnet when placed in a magnetic field. The north and south poles of the magnet experience forces that are perpendicular to the magnetic field's direction and the direction of the magnetic moment. These forces cause the magnet to rotate rather than oscillate. The amount of rotation depends on the strength of the magnetic field and the magnitude of the magnetic moment.
How the Rotation of a Bar Magnet May be Utilized
This rotation principle of bar magnets may be used to create a generator. A generator is a device that converts mechanical energy into electrical energy. The most common type of generator uses a magnetic field to create an electrical current. The basic principle behind magnetic induction is simple: when a wire is moved through a magnetic field, an electric current is generated in the wire. This current can then be used to power electrical devices. Creating a generator using magnetic induction is not difficult, but it requires some basic electronics knowledge. First, magnets must be placed around a central shaft. As the shaft rotates, the magnets will spin, creating a changing magnetic field. This changing field will induce an electric current in a coil of wire that surrounds the magnets. The current can be directed to an external load, such as an electrical appliance. With some basic understanding of electricity and magnetism, anyone can build a simple generator using magnetic induction.
Why Does a Bar Magnet Rotate Rather than Oscillate
A magnet has a north pole and a south pole. Opposite poles attract each other, while the same poles repel each other. When you rub a piece of iron along a magnet, the north-seeking poles of the atoms in the iron line up in the same direction. The force generated by the aligned atoms creates a magnetic field. This field is what gives a magnet its power to attract or repel other objects.
Magnetic Moment of a Magnet
A magnet also has a magnetic moment. This is a measure of the strength and direction of a magnet's magnetic field. The magnetic moment is caused by the angular momentum of the electrons in the atom's shells. The angular momentum is a result of the electrons spinning around the nucleus. The more electrons an atom has, and the higher their energy levels, the greater the atom's magnetic moment will be. Magnets with strong magnetic moments are called “magnetically hard” materials. Those with weak magnetic moments are “magnetically soft” materials. Magnets can be permanent, like those found in refrigerator magnets, or temporary, like those produced by electric currents.
Why a Suspended Magnet Oscillates in a Horizontal Plane
A suspended magnet always oscillates in a plane perpendicular to the Earth's magnetic field. This is because the restoring force on the magnet is always perpendicular to the plane of oscillation. This can be seen by considering the magnetic force on the magnet's north pole. The force exerted by the Earth's magnetic field on this pole is directed to the left, while the force exerted by the magnet's south pole is directed to the right. As a result, a net force on the north pole is directed upwards, perpendicular to the plane of oscillation. This net force acts like a spring, constantly trying to push the north pole back to its original position. However, once the north pole has been displaced, it experiences a magnetic force that points in the opposite direction. As a result, it experiences a net force that points downwards and begins to fall. This process repeats itself over and over again, causing the magnet to oscillate in a plane perpendicular to the Earth's magnetic field.
Why Does a Bar Magnet Rotate Rather than Oscillate
If you take a bar magnet and suspend it so that it can rotate freely in a horizontal plane, you will notice that it does not oscillate. Instead, it will rotate slowly in a circle. This is because the Earth's magnetic field exerts a force on the magnet. The magnet's north pole is attracted to the Earth's south magnetic pole, while the magnet's south pole is attracted to the Earth's north magnetic pole. This interaction creates a force that causes the magnet to rotate. The faster the magnet rotates, the greater the force between the poles of the magnet and the Earth's magnetic field. Eventually, the magnitude of this force will equal the force exerted by friction, at which point the magnet will stop rotating. However, the magnet will continue to rotate indefinitely if there is no friction (such as in a vacuum).
Rotation of a Bar Magnet Under a Magnetic Field
When a current-carrying conductor is placed in a magnetic field, it experiences a force perpendicular to both the current's and the magnetic field's direction. This force is known as the Lorentz force, and it causes the conductor to move in a circle. The same principles apply to a bar magnet when placed in a magnetic field. The north and south poles of the magnet experience forces that are perpendicular to the magnetic field's direction and the direction of the magnetic moment. These forces cause the magnet to rotate rather than oscillate. The amount of rotation depends on the strength of the magnetic field and the magnitude of the magnetic moment.
How the Rotation of a Bar Magnet May be Utilized
This rotation principle of bar magnets may be used to create a generator. A generator is a device that converts mechanical energy into electrical energy. The most common type of generator uses a magnetic field to create an electrical current. The basic principle behind magnetic induction is simple: when a wire is moved through a magnetic field, an electric current is generated in the wire. This current can then be used to power electrical devices. Creating a generator using magnetic induction is not difficult, but it requires some basic electronics knowledge. First, magnets must be placed around a central shaft. As the shaft rotates, the magnets will spin, creating a changing magnetic field. This changing field will induce an electric current in a coil of wire that surrounds the magnets. The current can be directed to an external load, such as an electrical appliance. With some basic understanding of electricity and magnetism, anyone can build a simple generator using magnetic induction.