Students will learn to analyze and solve problems involving current carrying wires in magnetic fields.
Key Equations
In this equation, L refers to the length of the wire, I to the electric current, B the magnitude of the magnetic field and is the angle between the direction of the current and the direction of the magnetic field.
Force on a Wire
Since a wire is nothing but a collection of moving charges, the force it will experience in a magnetic field will simply be the vector sum of the forces on the individual charges. If the wire is straight  that is, all the charges are moving in the same direction  these forces will all point in the same direction, and so will their sum. Then, the direction of the force can be found using the second right hand rule, while its magnitude will depend on the length of the wire (denoted ), the strength of the current, the strength of the field, and the angle between their directions:
Two currentcarrying wires next to each other each generate magnetic fields and therefore exert forces on each other:
Example 1
Example 2
A wire loop and an infinitely long current carrying cable are placed a distance apart. The infinitely long wire is carrying a current to the left and the loop is carrying a current CCW. The dimensions of the wire loop are shown in the diagram illustrating the situation below. What is the magnitude and direction of the net force on the loop (the mass of the wires are negligible)?
Solution
In this problem, it is best to start by determining the direction of the force on each segment of the loop. Based on the first right hand rule, the magnetic field from the infinite cable points into the page where the loop is. This means that the force on the top segment of the loop will be down toward the bottom of the page, the force on the left segment will be to right, the force on the bottom segment will be toward the top of the page, and the force on the right segment will be to the left. The forces on the left and right segments will balance out because both segments are the same distance from the cable. The forces from the top and bottom section will not balance out because the wires are different distances from the cable. The force on the bottom segment will be stronger than the one on the top segment because the magnetic field is stronger closer to the cable, so the net force on the loop will be up, toward the top of the page.
Now we will begin to calculate the force's magnitude by first determining the strength of the magnetic field at the bottom and top segments. All we really have to do is plug in the distances to each segment into the equation we already know for the magnetic field due to a current carrying wire.
Now we will calculate the net force on the loop using the equation given above. We'll consider up the positive direction.
Watch this Explanation
Time for Practice
 A vertical wire, with a current of going towards the ground, is immersed in a magnetic field of pointing to the right. What is the value and direction of the force on the wire? The length of the wire is .

A futuristic magnetocar uses the interaction between current flowing across the magneto car and magnetic fields to propel itself forward. The device consists of two fixed metal tracks and a freely moving metal car (see illustration above). A magnetic field is pointing downward with respect to the car, and has the strength of
. The car is
wide and has
of current flowing through it. The arrows indicate the direction of the current flow.
 Find the direction and magnitude of the force on the car.
 If the car has a mass of , what is its velocity after , assuming it starts at rest?
 If you want double the force for the same magnetic field, how should the current change?
 A horizontal wire carries a current of towards the east. A second wire with mass runs parallel to the first, but lies below it. This second wire is held in suspension by the magnetic field of the first wire above it. If each wire has a length of half a meter, what is the magnitude and direction of the current in the lower wire?
 Show that the formula for the force between two current carrying wires is , where d is the distance between the two wires, is the current of first wire and L is the segment of length of the second wire carrying a current . (Hint: find magnetic field emanating from first wire and then use the formula for a wire immersed in that magnetic field in order to find the force on the second wire.)

Two long thin wires are on the same plane but perpendicular to each other. The wire on the
axis carries a current of
in the
direction. The wire on the
axis carries a current of
in the
direction. Point,
has the coordinates of
in meters. A charged particle moves in a direction of
away from the origin at point,
, with a velocity of
 Find the magnitude and direction of the magnetic field at point, .
 If there is a magnetic force of on the particle determine its charge.
 Determine the magnitude of an electric field that will cancel the magnetic force on the particle.

A long straight wire is on the
axis and has a current of
in the
direction. A point
, is located
above the wire on the
axis.
 What is the magnitude and direction of the magnetic field at .
 If an electron moves through in the direction at a speed of what is the magnitude and direction of the force on the electron?
Answers to Selected Problems
 Down the page;
 a. To the right, b. c. It should be doubled
 East
 .
 a. b.
 a. b.