Applying Magnetic Force to Currents: Difference between revisions
Snotberg123 (talk | contribs) No edit summary |
Replaced placeholder image captions with descriptions and source credit |
||
| (13 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
Claimed by | '''Claimed by Ashfaque Ahbab (Fall 2026)''' | ||
A magnetic field exerts a force on moving charges. Since a current is moving charge, a current-carrying wire in a magnetic field feels a force, and two currents exert forces on each other. | |||
==The Main Idea== | ==The Main Idea== | ||
| Line 15: | Line 15: | ||
We can assume that the wire will not experience any force if the current, or moving charge, is parallel to the magnetic field; however, if the magnetic field were perpendicular, or any orientation that were not parallel, a force on the wire or current may be expected. It is important to note that any current within the magnetic field may experience a force, but current outside the field may not. | We can assume that the wire will not experience any force if the current, or moving charge, is parallel to the magnetic field; however, if the magnetic field were perpendicular, or any orientation that were not parallel, a force on the wire or current may be expected. It is important to note that any current within the magnetic field may experience a force, but current outside the field may not. | ||
[[File: | [[File:Physics21.jpg|200px|thumb|left|alt=A current-carrying wire in a magnetic field|(a) Current parallel to the magnetic field: no force on the wire. (b) Current perpendicular to a field pointing into the page: the wire bows sideways under the force <math>I\vec{L}\times\vec{B}</math>. (Figure from Knight, ''Physics for Scientists and Engineers'', 3rd ed.)]] | ||
Start from the magnetic force on a single moving charge: | |||
<math>{ | :<math>\vec{F} = q\vec{v}\times\vec{B}</math> | ||
<math> | To relate this to a current, take a length <math>L</math> of wire. Current is charge per time, and the charges cross that length in time <math>\Delta t</math>: | ||
:<math>I = \frac{\Delta q}{\Delta t}, \qquad v = \frac{L}{\Delta t}</math> | |||
<math> | so <math>qv = IL</math>. Substituting into the force on a charge gives the force on a wire: | ||
:<math>\vec{F} = I\vec{L}\times\vec{B}, \qquad F = ILB\sin\theta</math> | |||
where <math>\theta</math> is the angle between the wire (the direction of the current) and the magnetic field. | |||
<math> B = \frac{\ | Now, we may consider two wires next to each other, which may create magnetic fields affecting both wires. To do so, we may assume wires with length <math>L</math> separated by distance <math>d</math>, with <math>L \gg d</math>, so that the following simplification for the magnetic field of a long straight wire may be used: | ||
:<math>B = \frac{\mu_0 I}{2\pi d}</math> | |||
The following diagram will be referenced and modeled: | The following diagram will be referenced and modeled: | ||
[[File: | |||
[[File:Physics22.jpg|950px|thumb|left|alt=Forces between two parallel current-carrying wires|(a) Currents in the same direction: each wire's field pushes the other wire toward it, so the wires attract. (b) Currents in opposite directions: the forces point away from each other, so the wires repel. In both cases the forces on the two wires are equal and opposite. (Figure from Knight, ''Physics for Scientists and Engineers'', 3rd ed.)]] | |||
If it is first assumed that two wires have parallel currents running in the same direction. It can be observed that, due to the right hand rule, both wires cause a magnetic force toward each other. The bottom wire, I_2, causes a magnetic field, B_2, that exerts a downward force on the upper wire, I_1, and vice-versa. | If it is first assumed that two wires have parallel currents running in the same direction. It can be observed that, due to the right hand rule, both wires cause a magnetic force toward each other. The bottom wire, I_2, causes a magnetic field, B_2, that exerts a downward force on the upper wire, I_1, and vice-versa. | ||
If it is assumed that the wires have currents running in the opposite direction, the same logic can be used to find that each wire exerts a force away from each other; the wires cause a magnetic field that affects the other wire. | If it is assumed that the wires have currents running in the opposite direction, the same logic can be used to find that each wire exerts a force away from each other; the wires cause a magnetic field that affects the other wire. | ||
We can use this to find the force of wire 2 on wire 1: | |||
:<math>F_{2\to1} = I_1 L B_2 = \frac{\mu_0 I_1 I_2 L}{2\pi d}</math> | |||
or per unit length: | |||
:<math>\frac{F}{L} = \frac{\mu_0 I_1 I_2}{2\pi d}</math> | |||
By Newton's third law, the force of wire 2 on wire 1 and the force of wire 1 on wire 2 are equal and opposite, and they act on different wires, so you don't add them. Each wire feels a force of the same magnitude, <math>\frac{\mu_0 I_1 I_2 L}{2\pi d}</math>, pointing toward the other wire (same-direction currents) or away from it (opposite currents). | |||
When the currents run in the same direction, the two wires' fields point in opposite directions in the region between them. The net field is zero only at the midpoint, and only if the currents are equal. Elsewhere between the wires the field isn't zero. | |||
==A Computational Model== | |||
[https://glowscript.org/#/user/kolpo/folder/Physics2/program/Wiki Run the simulation: Force Between Two Parallel Currents] | |||
This model breaks each wire into 200 small pieces, uses the Biot-Savart law to find the magnetic field from every piece of one wire at every piece of the other, and adds up <math>d\vec F = I\,d\vec L \times \vec B</math> to get the total force. The numerical answer (7.24 × 10<sup>-5</sup> N) is lower than the long-wire formula (8 × 10<sup>-5</sup> N) because the long-wire formula assumes the wires are infinitely long. Here, the wires are only 1 m long and 0.1 m apart, so pieces near the ends feel a weaker field than pieces in the middle, and making the wires longer compared to their separation brings the two answers closer together. | |||
==Examples== | |||
===Simple=== | |||
A straight wire 0.5 m long carries a current of 3 A in the +x direction through a uniform magnetic field of 0.2 T pointing in the +y direction. What is the force on the wire (magnitude and direction)? What if the field were at 30° to the wire instead, still in the xy-plane? | |||
'''Solution:''' | |||
Using <math>\vec F = I\vec L \times \vec B</math>: | |||
<math>\vec F = (3\ \text{A})(0.5\ \text{m}\ \hat x) \times (0.2\ \text{T}\ \hat y) = 0.3\ \text{N}\ (\hat x \times \hat y) = 0.3\ \text{N}\ \hat z</math> | |||
So the force is 0.3 N in the +z direction (out of the xy-plane). You can check this with the right-hand rule: point your fingers along the current (+x), curl them toward the field (+y), and your thumb points along the force (+z). | |||
At 30°, only the magnitude changes, since <math>\sin 30^\circ = 0.5</math>: | |||
<math>F = ILB\sin\theta = (0.3\ \text{N})(0.5) = 0.15\ \text{N}</math> | |||
The direction is still +z, because the cross product is always perpendicular to both the wire and the field, and both are still in the xy-plane. | |||
===Middling=== | |||
Two long parallel wires, each 2 m long, are 4 cm apart. One carries 5 A and the other carries 8 A, both in the same direction. What is the force between them, and is it attractive or repulsive? | |||
'''Solution:''' | |||
<math>F = \frac{\mu_0 I_1 I_2 L}{2\pi d} = \frac{(4\pi \times 10^{-7})(5)(8)(2)}{2\pi (0.04)}</math> | |||
<math>F = \frac{(2 \times 10^{-7})(80)}{0.04} = 4 \times 10^{-4}\ \text{N}</math> | |||
Since the currents run in the same direction, the force is attractive. By Newton's third law, each wire feels a 4 × 10<sup>-4</sup> N force pulling it toward the other. | |||
===Difficult=== | |||
A long horizontal wire on a table carries 100 A. A second wire with a mass per unit length of 0.01 kg/m is placed directly above it, parallel, carrying 50 A in the opposite direction. At what height will the top wire float, with the magnetic force balancing gravity? | |||
'''Solution:''' | |||
Opposite currents repel, so the force on the top wire points up. For the wire to float, the magnetic force per unit length must equal its weight per unit length: | |||
<math>\frac{\mu_0 I_1 I_2}{2\pi d} = \lambda g</math> | |||
Solving for <math>d</math>: | |||
<math>d = \frac{\mu_0 I_1 I_2}{2\pi \lambda g} = \frac{(2 \times 10^{-7})(100)(50)}{(0.01)(9.8)}</math> | |||
<math>d = \frac{1 \times 10^{-3}}{0.098} \approx 0.010\ \text{m} = 1.0\ \text{cm}</math> | |||
The top wire floats about 1 cm above the bottom wire. In practice this balance is unstable: any sideways nudge and the wire slides off, which is part of why real magnetic levitation systems need active control. | |||
==Connectedness== | |||
The force on a current-carrying wire is the basic principle behind electric motors. In a motor, current runs through coils sitting in a magnetic field, and the force on each side of the coil creates a torque that spins the shaft. This is how the motors in electric cars, fans, and hard drives work. Speakers use the same idea: a coil attached to a cone sits in a magnet's field, and changing the current changes the force, which pushes the cone back and forth to make sound. | |||
The force between two parallel wires also matters in engineering. In power systems, large currents during a short circuit can cause busbars and cables to pull toward or push away from each other hard enough to bend them, so they have to be mechanically braced. | |||
==History== | |||
In 1820, Hans Christian Ørsted noticed that a current-carrying wire deflected a nearby compass needle, which was the first evidence linking electricity and magnetism. Within weeks of hearing about this, André-Marie Ampère showed that two parallel current-carrying wires attract each other when their currents run in the same direction and repel when they run in opposite directions. He worked out a mathematical description of the force between currents, and the SI unit of current is named after him. | |||
The force between parallel wires was later used to define the ampere itself. From 1948 to 2019, one ampere was defined as the current that, flowing through two infinitely long parallel wires 1 m apart, produces a force of 2 × 10<sup>-7</sup> N per meter of length. In 2019 the SI was redefined, and the ampere is now based on a fixed value of the elementary charge instead. | |||
== See also == | == See also == | ||
Magnetic Force | * [[Magnetic Force]] | ||
Magnetic Field of a Long | * [[Magnetic Field of a Long Straight Wire]] | ||
* [[Biot-Savart Law]] | |||
* [[Electric Motors]] | |||
===Further reading=== | ===Further reading=== | ||
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir.html | http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir.html | ||
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/magcur.html | http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/magcur.html | ||
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir2.html | http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir2.html | ||
| Line 66: | Line 138: | ||
==References== | ==References== | ||
Physics for Scientists and Engineers, 3rd | * Knight, Randall D. ''Physics for Scientists and Engineers'', 3rd ed. Pearson. | ||
* "July 1820: Oersted & Electromagnetism." ''APS News'', American Physical Society. https://aps.org/apsnews/2008/07/1820-oersted-electromagnetism | |||
* Ashworth, William B., Jr. "André-Marie Ampère." Scientist of the Day, Linda Hall Library, January 20, 2021. https://www.lindahall.org/about/news/scientist-of-the-day/andre-marie-ampere/ | |||
* "Ampere: History." National Institute of Standards and Technology (NIST). https://www.nist.gov/si-redefinition/ampere/ampere-history | |||
* "Electric Current (the ampere, A)." Standards and Calibration Laboratory, Innovation and Technology Commission, Hong Kong. https://www.itc.gov.hk/en/quality/scl/teachers_students/si/ampere.html | |||
* Ahbab, Ashfaque. "Force Between Two Parallel Currents" (GlowScript simulation). https://glowscript.org/#/user/kolpo/folder/Physics2/program/Wiki | |||
[[Category: | [[Category:Magnetic Force]] | ||
Latest revision as of 16:35, 30 November 2026
Claimed by Ashfaque Ahbab (Fall 2026)
A magnetic field exerts a force on moving charges. Since a current is moving charge, a current-carrying wire in a magnetic field feels a force, and two currents exert forces on each other.
The Main Idea
Given an understanding of the basics of how a magnetic field can exert a force on a moving charge, we can expand that to model how a magnetic field may affect a current as well as how multiple currents or moving charges may affect each other.
A Mathematical Model
First, we must determine the force exerted on a long, straight wire carrying current I by a uniform magnetic field. Given the equation for magnetic force, as per the following:
[math]\displaystyle{ {\vec{F} = q\vec{v}\times\vec{B}} }[/math]
We can assume that the wire will not experience any force if the current, or moving charge, is parallel to the magnetic field; however, if the magnetic field were perpendicular, or any orientation that were not parallel, a force on the wire or current may be expected. It is important to note that any current within the magnetic field may experience a force, but current outside the field may not.

Start from the magnetic force on a single moving charge:
- [math]\displaystyle{ \vec{F} = q\vec{v}\times\vec{B} }[/math]
To relate this to a current, take a length [math]\displaystyle{ L }[/math] of wire. Current is charge per time, and the charges cross that length in time [math]\displaystyle{ \Delta t }[/math]:
- [math]\displaystyle{ I = \frac{\Delta q}{\Delta t}, \qquad v = \frac{L}{\Delta t} }[/math]
so [math]\displaystyle{ qv = IL }[/math]. Substituting into the force on a charge gives the force on a wire:
- [math]\displaystyle{ \vec{F} = I\vec{L}\times\vec{B}, \qquad F = ILB\sin\theta }[/math]
where [math]\displaystyle{ \theta }[/math] is the angle between the wire (the direction of the current) and the magnetic field.
Now, we may consider two wires next to each other, which may create magnetic fields affecting both wires. To do so, we may assume wires with length [math]\displaystyle{ L }[/math] separated by distance [math]\displaystyle{ d }[/math], with [math]\displaystyle{ L \gg d }[/math], so that the following simplification for the magnetic field of a long straight wire may be used:
- [math]\displaystyle{ B = \frac{\mu_0 I}{2\pi d} }[/math]
The following diagram will be referenced and modeled:

If it is first assumed that two wires have parallel currents running in the same direction. It can be observed that, due to the right hand rule, both wires cause a magnetic force toward each other. The bottom wire, I_2, causes a magnetic field, B_2, that exerts a downward force on the upper wire, I_1, and vice-versa.
If it is assumed that the wires have currents running in the opposite direction, the same logic can be used to find that each wire exerts a force away from each other; the wires cause a magnetic field that affects the other wire. We can use this to find the force of wire 2 on wire 1:
- [math]\displaystyle{ F_{2\to1} = I_1 L B_2 = \frac{\mu_0 I_1 I_2 L}{2\pi d} }[/math]
or per unit length:
- [math]\displaystyle{ \frac{F}{L} = \frac{\mu_0 I_1 I_2}{2\pi d} }[/math]
By Newton's third law, the force of wire 2 on wire 1 and the force of wire 1 on wire 2 are equal and opposite, and they act on different wires, so you don't add them. Each wire feels a force of the same magnitude, [math]\displaystyle{ \frac{\mu_0 I_1 I_2 L}{2\pi d} }[/math], pointing toward the other wire (same-direction currents) or away from it (opposite currents).
When the currents run in the same direction, the two wires' fields point in opposite directions in the region between them. The net field is zero only at the midpoint, and only if the currents are equal. Elsewhere between the wires the field isn't zero.
A Computational Model
Run the simulation: Force Between Two Parallel Currents
This model breaks each wire into 200 small pieces, uses the Biot-Savart law to find the magnetic field from every piece of one wire at every piece of the other, and adds up [math]\displaystyle{ d\vec F = I\,d\vec L \times \vec B }[/math] to get the total force. The numerical answer (7.24 × 10-5 N) is lower than the long-wire formula (8 × 10-5 N) because the long-wire formula assumes the wires are infinitely long. Here, the wires are only 1 m long and 0.1 m apart, so pieces near the ends feel a weaker field than pieces in the middle, and making the wires longer compared to their separation brings the two answers closer together.
Examples
Simple
A straight wire 0.5 m long carries a current of 3 A in the +x direction through a uniform magnetic field of 0.2 T pointing in the +y direction. What is the force on the wire (magnitude and direction)? What if the field were at 30° to the wire instead, still in the xy-plane?
Solution:
Using [math]\displaystyle{ \vec F = I\vec L \times \vec B }[/math]:
[math]\displaystyle{ \vec F = (3\ \text{A})(0.5\ \text{m}\ \hat x) \times (0.2\ \text{T}\ \hat y) = 0.3\ \text{N}\ (\hat x \times \hat y) = 0.3\ \text{N}\ \hat z }[/math]
So the force is 0.3 N in the +z direction (out of the xy-plane). You can check this with the right-hand rule: point your fingers along the current (+x), curl them toward the field (+y), and your thumb points along the force (+z).
At 30°, only the magnitude changes, since [math]\displaystyle{ \sin 30^\circ = 0.5 }[/math]:
[math]\displaystyle{ F = ILB\sin\theta = (0.3\ \text{N})(0.5) = 0.15\ \text{N} }[/math]
The direction is still +z, because the cross product is always perpendicular to both the wire and the field, and both are still in the xy-plane.
Middling
Two long parallel wires, each 2 m long, are 4 cm apart. One carries 5 A and the other carries 8 A, both in the same direction. What is the force between them, and is it attractive or repulsive?
Solution:
[math]\displaystyle{ F = \frac{\mu_0 I_1 I_2 L}{2\pi d} = \frac{(4\pi \times 10^{-7})(5)(8)(2)}{2\pi (0.04)} }[/math]
[math]\displaystyle{ F = \frac{(2 \times 10^{-7})(80)}{0.04} = 4 \times 10^{-4}\ \text{N} }[/math]
Since the currents run in the same direction, the force is attractive. By Newton's third law, each wire feels a 4 × 10-4 N force pulling it toward the other.
Difficult
A long horizontal wire on a table carries 100 A. A second wire with a mass per unit length of 0.01 kg/m is placed directly above it, parallel, carrying 50 A in the opposite direction. At what height will the top wire float, with the magnetic force balancing gravity?
Solution:
Opposite currents repel, so the force on the top wire points up. For the wire to float, the magnetic force per unit length must equal its weight per unit length:
[math]\displaystyle{ \frac{\mu_0 I_1 I_2}{2\pi d} = \lambda g }[/math]
Solving for [math]\displaystyle{ d }[/math]:
[math]\displaystyle{ d = \frac{\mu_0 I_1 I_2}{2\pi \lambda g} = \frac{(2 \times 10^{-7})(100)(50)}{(0.01)(9.8)} }[/math]
[math]\displaystyle{ d = \frac{1 \times 10^{-3}}{0.098} \approx 0.010\ \text{m} = 1.0\ \text{cm} }[/math]
The top wire floats about 1 cm above the bottom wire. In practice this balance is unstable: any sideways nudge and the wire slides off, which is part of why real magnetic levitation systems need active control.
Connectedness
The force on a current-carrying wire is the basic principle behind electric motors. In a motor, current runs through coils sitting in a magnetic field, and the force on each side of the coil creates a torque that spins the shaft. This is how the motors in electric cars, fans, and hard drives work. Speakers use the same idea: a coil attached to a cone sits in a magnet's field, and changing the current changes the force, which pushes the cone back and forth to make sound.
The force between two parallel wires also matters in engineering. In power systems, large currents during a short circuit can cause busbars and cables to pull toward or push away from each other hard enough to bend them, so they have to be mechanically braced.
History
In 1820, Hans Christian Ørsted noticed that a current-carrying wire deflected a nearby compass needle, which was the first evidence linking electricity and magnetism. Within weeks of hearing about this, André-Marie Ampère showed that two parallel current-carrying wires attract each other when their currents run in the same direction and repel when they run in opposite directions. He worked out a mathematical description of the force between currents, and the SI unit of current is named after him.
The force between parallel wires was later used to define the ampere itself. From 1948 to 2019, one ampere was defined as the current that, flowing through two infinitely long parallel wires 1 m apart, produces a force of 2 × 10-7 N per meter of length. In 2019 the SI was redefined, and the ampere is now based on a fixed value of the elementary charge instead.
See also
Further reading
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir.html
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/magcur.html
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir2.html
External links
References
- Knight, Randall D. Physics for Scientists and Engineers, 3rd ed. Pearson.
- "July 1820: Oersted & Electromagnetism." APS News, American Physical Society. https://aps.org/apsnews/2008/07/1820-oersted-electromagnetism
- Ashworth, William B., Jr. "André-Marie Ampère." Scientist of the Day, Linda Hall Library, January 20, 2021. https://www.lindahall.org/about/news/scientist-of-the-day/andre-marie-ampere/
- "Ampere: History." National Institute of Standards and Technology (NIST). https://www.nist.gov/si-redefinition/ampere/ampere-history
- "Electric Current (the ampere, A)." Standards and Calibration Laboratory, Innovation and Technology Commission, Hong Kong. https://www.itc.gov.hk/en/quality/scl/teachers_students/si/ampere.html
- Ahbab, Ashfaque. "Force Between Two Parallel Currents" (GlowScript simulation). https://glowscript.org/#/user/kolpo/folder/Physics2/program/Wiki