Context: A solenoid is a coil of wire with electric current flowing through it, giving it a magnetic field (see Figure 25.5). Recall that current flowing through a straight wire produces a weak electromagnetic field that circles around the wire. Current flowing through a coil of wire, in contrast, produces a magnetic field that has north and south poles like a bar magnet. The magnetic field around a coiled wire is also stronger than the magnetic field around a straight wire because each turn of the wire has its own magnetic field. Adding more turns increases the strength of the field, as does increasing the amount of current flowing through the coil. You can see an actual solenoid with a compass showing its magnetic north pole at this URL: . Solenoids are the basis of electromagnets. An electromagnet is a solenoid wrapped around a bar of iron or other ferromagnetic material (see Figure 25.6). The electromagnetic field of the solenoid magnetizes the iron bar by aligning its magnetic domains. The combined magnetic force of the magnetized iron bar and the wire coil makes an electromagnet very strong. In fact, electromagnets are the strongest magnets made. Some of them are strong enough to lift a train. The maglev train described earlier, in the lesson "Electricity and Magnetism," contains permanent magnets. Strong electromagnets in the track repel the train magnets, causing the train to levitate above the track. Like a solenoid, an electromagnet is stronger if there are more turns in the coil or more current is flowing through it. A bigger bar or one made of material that is easier to magnetize also increases an electromagnets strength. You can see how to make a simple electromagnet at this URL: (4:57). MEDIA Click image to the left or use the URL below. URL: Many common electric devices contain electromagnets. Some examples include hair dryers, fans, CD players, telephones, and doorbells. Most electric devices that have moving parts contain electric motors. You can read below how doorbells and electric motors use electromagnets. Figure 25.7 shows a diagram of a simple doorbell. Like most doorbells, it has a button located by the front door. Pressing the button causes two electric contacts to come together and complete an electric circuit. In other words, the button is a switch. The circuit is also connected to a voltage source, an electromagnet, and the clapper of a bell. When current flows through the circuit, the electromagnet turns on, and its magnetic field attracts the clapper. This causes the clapper to hit the bell, making it ring. Because the clapper is part of the circuit, when it moves to strike the bell, it breaks the circuit. Without current flowing through the circuit, the electromagnet turns off. The clapper returns to its original position, which closes the circuit again and turns the electromagnet back on. The electromagnet again attracts the clapper, which hits the bell once more. This sequence of events keeps repeating as long as the button by the front door is being pressed. An electric motor is a device that uses an electromagnet to change electrical energy to kinetic energy. Figure 25.8 shows a simple diagram of an electric motor. The motor contains an electromagnet that is connected to a shaft. When current flows through the motor, the electromagnet turns, causing the shaft to turn as well. The rotating shaft moves other parts of the device. Why does the motors electromagnet turn? Notice that the electromagnet is located between the north and south poles of two permanent magnets. When current flows through the electromagnet, it becomes magnetized, and its poles are repelled by the like poles of the permanent magnets. This causes the electromagnet to turn toward the unlike poles of the permanent magnets. A device called a commutator then changes the direction of the current so the poles of the electromagnet are reversed. The reversed poles are once again repelled by the like poles of the permanent magnets. This causes the electromagnet to continue to turn. These events keep repeating, so the electromagnet rotates continuously. You can make a very simple electric motor with a battery, wire, and magnet following instructions at this URL: . 
 Question: coil of wire with electric current flowing through it, giving it a magnetic field
Output: solenoid