<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.physicsbook.gatech.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Aahbab3</id>
	<title>Physics Book - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://www.physicsbook.gatech.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Aahbab3"/>
	<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/Special:Contributions/Aahbab3"/>
	<updated>2026-12-05T02:10:51Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.7</generator>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=Applying_Magnetic_Force_to_Currents&amp;diff=48673</id>
		<title>Applying Magnetic Force to Currents</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=Applying_Magnetic_Force_to_Currents&amp;diff=48673"/>
		<updated>2026-11-30T21:35:58Z</updated>

		<summary type="html">&lt;p&gt;Aahbab3: Replaced placeholder image captions with descriptions and source credit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Claimed by Ashfaque Ahbab (Fall 2026)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==The Main Idea==&lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
===A Mathematical Model===&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{\vec{F} = q\vec{v}\times\vec{B}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
 &lt;br /&gt;
[[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 &amp;lt;math&amp;gt;I\vec{L}\times\vec{B}&amp;lt;/math&amp;gt;. (Figure from Knight, &#039;&#039;Physics for Scientists and Engineers&#039;&#039;, 3rd ed.)]]&lt;br /&gt;
&lt;br /&gt;
Start from the magnetic force on a single moving charge:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\vec{F} = q\vec{v}\times\vec{B}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To relate this to a current, take a length &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; of wire. Current is charge per time, and the charges cross that length in time &amp;lt;math&amp;gt;\Delta t&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;I = \frac{\Delta q}{\Delta t}, \qquad v = \frac{L}{\Delta t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so &amp;lt;math&amp;gt;qv = IL&amp;lt;/math&amp;gt;. Substituting into the force on a charge gives the force on a wire:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\vec{F} = I\vec{L}\times\vec{B}, \qquad F = ILB\sin\theta&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is the angle between the wire (the direction of the current) and the magnetic field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; separated by distance &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;L \gg d&amp;lt;/math&amp;gt;, so that the following simplification for the magnetic field of a long straight wire may be used:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;B = \frac{\mu_0 I}{2\pi d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following diagram will be referenced and modeled:&lt;br /&gt;
&lt;br /&gt;
[[File:Physics22.jpg|950px|thumb|left|alt=Forces between two parallel current-carrying wires|(a) Currents in the same direction: each wire&#039;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, &#039;&#039;Physics for Scientists and Engineers&#039;&#039;, 3rd ed.)]]&lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
We can use this to find the force of wire 2 on wire 1:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_{2\to1} = I_1 L B_2 = \frac{\mu_0 I_1 I_2 L}{2\pi d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or per unit length:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{F}{L} = \frac{\mu_0 I_1 I_2}{2\pi d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By Newton&#039;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&#039;t add them. Each wire feels a force of the same magnitude, &amp;lt;math&amp;gt;\frac{\mu_0 I_1 I_2 L}{2\pi d}&amp;lt;/math&amp;gt;, pointing toward the other wire (same-direction currents) or away from it (opposite currents).&lt;br /&gt;
&lt;br /&gt;
When the currents run in the same direction, the two wires&#039; 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&#039;t zero.&lt;br /&gt;
&lt;br /&gt;
==A Computational Model==&lt;br /&gt;
&lt;br /&gt;
[https://glowscript.org/#/user/kolpo/folder/Physics2/program/Wiki Run the simulation: Force Between Two Parallel Currents]&lt;br /&gt;
&lt;br /&gt;
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 &amp;lt;math&amp;gt;d\vec F = I\,d\vec L \times \vec B&amp;lt;/math&amp;gt; to get the total force. The numerical answer (7.24 × 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; N) is lower than the long-wire formula (8 × 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; 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.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
===Simple===&lt;br /&gt;
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?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;\vec F = I\vec L \times \vec B&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\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&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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).&lt;br /&gt;
&lt;br /&gt;
At 30°, only the magnitude changes, since &amp;lt;math&amp;gt;\sin 30^\circ = 0.5&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F = ILB\sin\theta = (0.3\ \text{N})(0.5) = 0.15\ \text{N}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===Middling===&lt;br /&gt;
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?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;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)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F = \frac{(2 \times 10^{-7})(80)}{0.04} = 4 \times 10^{-4}\ \text{N}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since the currents run in the same direction, the force is attractive. By Newton&#039;s third law, each wire feels a 4 × 10&amp;lt;sup&amp;gt;-4&amp;lt;/sup&amp;gt; N force pulling it toward the other.&lt;br /&gt;
&lt;br /&gt;
===Difficult===&lt;br /&gt;
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?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mu_0 I_1 I_2}{2\pi d} = \lambda g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d = \frac{\mu_0 I_1 I_2}{2\pi \lambda g} = \frac{(2 \times 10^{-7})(100)(50)}{(0.01)(9.8)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d = \frac{1 \times 10^{-3}}{0.098} \approx 0.010\ \text{m} = 1.0\ \text{cm}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==Connectedness==&lt;br /&gt;
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&#039;s field, and changing the current changes the force, which pushes the cone back and forth to make sound.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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&amp;lt;sup&amp;gt;-7&amp;lt;/sup&amp;gt; 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.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Magnetic Force]]&lt;br /&gt;
* [[Magnetic Field of a Long Straight Wire]]&lt;br /&gt;
* [[Biot-Savart Law]]&lt;br /&gt;
* [[Electric Motors]]&lt;br /&gt;
&lt;br /&gt;
===Further reading===&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir.html&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/magcur.html&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir2.html&lt;br /&gt;
&lt;br /&gt;
===External links===&lt;br /&gt;
[http://www.scientificamerican.com/article/bring-science-home-reaction-time/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* Knight, Randall D. &#039;&#039;Physics for Scientists and Engineers&#039;&#039;, 3rd ed. Pearson.&lt;br /&gt;
* &amp;quot;July 1820: Oersted &amp;amp; Electromagnetism.&amp;quot; &#039;&#039;APS News&#039;&#039;, American Physical Society. https://aps.org/apsnews/2008/07/1820-oersted-electromagnetism&lt;br /&gt;
* Ashworth, William B., Jr. &amp;quot;André-Marie Ampère.&amp;quot; Scientist of the Day, Linda Hall Library, January 20, 2021. https://www.lindahall.org/about/news/scientist-of-the-day/andre-marie-ampere/&lt;br /&gt;
* &amp;quot;Ampere: History.&amp;quot; National Institute of Standards and Technology (NIST). https://www.nist.gov/si-redefinition/ampere/ampere-history&lt;br /&gt;
* &amp;quot;Electric Current (the ampere, A).&amp;quot; Standards and Calibration Laboratory, Innovation and Technology Commission, Hong Kong. https://www.itc.gov.hk/en/quality/scl/teachers_students/si/ampere.html&lt;br /&gt;
* Ahbab, Ashfaque. &amp;quot;Force Between Two Parallel Currents&amp;quot; (GlowScript simulation). https://glowscript.org/#/user/kolpo/folder/Physics2/program/Wiki&lt;br /&gt;
&lt;br /&gt;
[[Category:Magnetic Force]]&lt;/div&gt;</summary>
		<author><name>Aahbab3</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=Applying_Magnetic_Force_to_Currents&amp;diff=48672</id>
		<title>Applying Magnetic Force to Currents</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=Applying_Magnetic_Force_to_Currents&amp;diff=48672"/>
		<updated>2026-11-30T21:33:57Z</updated>

		<summary type="html">&lt;p&gt;Aahbab3: See also: turned into working links, added Biot-Savart Law and Electric Motors&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Claimed by Ashfaque Ahbab (Fall 2026)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==The Main Idea==&lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
===A Mathematical Model===&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{\vec{F} = q\vec{v}\times\vec{B}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
 &lt;br /&gt;
[[File:Physics21.jpg|200px|thumb|left|alt text]]&lt;br /&gt;
&lt;br /&gt;
Start from the magnetic force on a single moving charge:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\vec{F} = q\vec{v}\times\vec{B}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To relate this to a current, take a length &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; of wire. Current is charge per time, and the charges cross that length in time &amp;lt;math&amp;gt;\Delta t&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;I = \frac{\Delta q}{\Delta t}, \qquad v = \frac{L}{\Delta t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so &amp;lt;math&amp;gt;qv = IL&amp;lt;/math&amp;gt;. Substituting into the force on a charge gives the force on a wire:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\vec{F} = I\vec{L}\times\vec{B}, \qquad F = ILB\sin\theta&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is the angle between the wire (the direction of the current) and the magnetic field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; separated by distance &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;L \gg d&amp;lt;/math&amp;gt;, so that the following simplification for the magnetic field of a long straight wire may be used:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;B = \frac{\mu_0 I}{2\pi d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following diagram will be referenced and modeled:&lt;br /&gt;
&lt;br /&gt;
[[File:Physics22.jpg|950px|thumb|left|alt text]]&lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
We can use this to find the force of wire 2 on wire 1:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_{2\to1} = I_1 L B_2 = \frac{\mu_0 I_1 I_2 L}{2\pi d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or per unit length:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{F}{L} = \frac{\mu_0 I_1 I_2}{2\pi d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By Newton&#039;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&#039;t add them. Each wire feels a force of the same magnitude, &amp;lt;math&amp;gt;\frac{\mu_0 I_1 I_2 L}{2\pi d}&amp;lt;/math&amp;gt;, pointing toward the other wire (same-direction currents) or away from it (opposite currents).&lt;br /&gt;
&lt;br /&gt;
When the currents run in the same direction, the two wires&#039; 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&#039;t zero.&lt;br /&gt;
&lt;br /&gt;
==A Computational Model==&lt;br /&gt;
&lt;br /&gt;
[https://glowscript.org/#/user/kolpo/folder/Physics2/program/Wiki Run the simulation: Force Between Two Parallel Currents]&lt;br /&gt;
&lt;br /&gt;
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 &amp;lt;math&amp;gt;d\vec F = I\,d\vec L \times \vec B&amp;lt;/math&amp;gt; to get the total force. The numerical answer (7.24 × 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; N) is lower than the long-wire formula (8 × 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; 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.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
===Simple===&lt;br /&gt;
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?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;\vec F = I\vec L \times \vec B&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\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&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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).&lt;br /&gt;
&lt;br /&gt;
At 30°, only the magnitude changes, since &amp;lt;math&amp;gt;\sin 30^\circ = 0.5&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F = ILB\sin\theta = (0.3\ \text{N})(0.5) = 0.15\ \text{N}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===Middling===&lt;br /&gt;
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?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;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)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F = \frac{(2 \times 10^{-7})(80)}{0.04} = 4 \times 10^{-4}\ \text{N}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since the currents run in the same direction, the force is attractive. By Newton&#039;s third law, each wire feels a 4 × 10&amp;lt;sup&amp;gt;-4&amp;lt;/sup&amp;gt; N force pulling it toward the other.&lt;br /&gt;
&lt;br /&gt;
===Difficult===&lt;br /&gt;
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?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mu_0 I_1 I_2}{2\pi d} = \lambda g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d = \frac{\mu_0 I_1 I_2}{2\pi \lambda g} = \frac{(2 \times 10^{-7})(100)(50)}{(0.01)(9.8)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d = \frac{1 \times 10^{-3}}{0.098} \approx 0.010\ \text{m} = 1.0\ \text{cm}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==Connectedness==&lt;br /&gt;
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&#039;s field, and changing the current changes the force, which pushes the cone back and forth to make sound.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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&amp;lt;sup&amp;gt;-7&amp;lt;/sup&amp;gt; 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.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Magnetic Force]]&lt;br /&gt;
* [[Magnetic Field of a Long Straight Wire]]&lt;br /&gt;
* [[Biot-Savart Law]]&lt;br /&gt;
* [[Electric Motors]]&lt;br /&gt;
&lt;br /&gt;
===Further reading===&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir.html&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/magcur.html&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir2.html&lt;br /&gt;
&lt;br /&gt;
===External links===&lt;br /&gt;
[http://www.scientificamerican.com/article/bring-science-home-reaction-time/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* Knight, Randall D. &#039;&#039;Physics for Scientists and Engineers&#039;&#039;, 3rd ed. Pearson.&lt;br /&gt;
* &amp;quot;July 1820: Oersted &amp;amp; Electromagnetism.&amp;quot; &#039;&#039;APS News&#039;&#039;, American Physical Society. https://aps.org/apsnews/2008/07/1820-oersted-electromagnetism&lt;br /&gt;
* Ashworth, William B., Jr. &amp;quot;André-Marie Ampère.&amp;quot; Scientist of the Day, Linda Hall Library, January 20, 2021. https://www.lindahall.org/about/news/scientist-of-the-day/andre-marie-ampere/&lt;br /&gt;
* &amp;quot;Ampere: History.&amp;quot; National Institute of Standards and Technology (NIST). https://www.nist.gov/si-redefinition/ampere/ampere-history&lt;br /&gt;
* &amp;quot;Electric Current (the ampere, A).&amp;quot; Standards and Calibration Laboratory, Innovation and Technology Commission, Hong Kong. https://www.itc.gov.hk/en/quality/scl/teachers_students/si/ampere.html&lt;br /&gt;
* Ahbab, Ashfaque. &amp;quot;Force Between Two Parallel Currents&amp;quot; (GlowScript simulation). https://glowscript.org/#/user/kolpo/folder/Physics2/program/Wiki&lt;br /&gt;
&lt;br /&gt;
[[Category:Magnetic Force]]&lt;/div&gt;</summary>
		<author><name>Aahbab3</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=Applying_Magnetic_Force_to_Currents&amp;diff=48671</id>
		<title>Applying Magnetic Force to Currents</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=Applying_Magnetic_Force_to_Currents&amp;diff=48671"/>
		<updated>2026-11-30T21:32:03Z</updated>

		<summary type="html">&lt;p&gt;Aahbab3: Added references for History section and simulation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Claimed by Ashfaque Ahbab (Fall 2026)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==The Main Idea==&lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
===A Mathematical Model===&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{\vec{F} = q\vec{v}\times\vec{B}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
 &lt;br /&gt;
[[File:Physics21.jpg|200px|thumb|left|alt text]]&lt;br /&gt;
&lt;br /&gt;
Start from the magnetic force on a single moving charge:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\vec{F} = q\vec{v}\times\vec{B}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To relate this to a current, take a length &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; of wire. Current is charge per time, and the charges cross that length in time &amp;lt;math&amp;gt;\Delta t&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;I = \frac{\Delta q}{\Delta t}, \qquad v = \frac{L}{\Delta t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so &amp;lt;math&amp;gt;qv = IL&amp;lt;/math&amp;gt;. Substituting into the force on a charge gives the force on a wire:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\vec{F} = I\vec{L}\times\vec{B}, \qquad F = ILB\sin\theta&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is the angle between the wire (the direction of the current) and the magnetic field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; separated by distance &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;L \gg d&amp;lt;/math&amp;gt;, so that the following simplification for the magnetic field of a long straight wire may be used:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;B = \frac{\mu_0 I}{2\pi d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following diagram will be referenced and modeled:&lt;br /&gt;
&lt;br /&gt;
[[File:Physics22.jpg|950px|thumb|left|alt text]]&lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
We can use this to find the force of wire 2 on wire 1:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_{2\to1} = I_1 L B_2 = \frac{\mu_0 I_1 I_2 L}{2\pi d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or per unit length:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{F}{L} = \frac{\mu_0 I_1 I_2}{2\pi d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By Newton&#039;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&#039;t add them. Each wire feels a force of the same magnitude, &amp;lt;math&amp;gt;\frac{\mu_0 I_1 I_2 L}{2\pi d}&amp;lt;/math&amp;gt;, pointing toward the other wire (same-direction currents) or away from it (opposite currents).&lt;br /&gt;
&lt;br /&gt;
When the currents run in the same direction, the two wires&#039; 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&#039;t zero.&lt;br /&gt;
&lt;br /&gt;
==A Computational Model==&lt;br /&gt;
&lt;br /&gt;
[https://glowscript.org/#/user/kolpo/folder/Physics2/program/Wiki Run the simulation: Force Between Two Parallel Currents]&lt;br /&gt;
&lt;br /&gt;
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 &amp;lt;math&amp;gt;d\vec F = I\,d\vec L \times \vec B&amp;lt;/math&amp;gt; to get the total force. The numerical answer (7.24 × 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; N) is lower than the long-wire formula (8 × 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; 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.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
===Simple===&lt;br /&gt;
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?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;\vec F = I\vec L \times \vec B&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\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&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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).&lt;br /&gt;
&lt;br /&gt;
At 30°, only the magnitude changes, since &amp;lt;math&amp;gt;\sin 30^\circ = 0.5&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F = ILB\sin\theta = (0.3\ \text{N})(0.5) = 0.15\ \text{N}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===Middling===&lt;br /&gt;
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?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;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)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F = \frac{(2 \times 10^{-7})(80)}{0.04} = 4 \times 10^{-4}\ \text{N}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since the currents run in the same direction, the force is attractive. By Newton&#039;s third law, each wire feels a 4 × 10&amp;lt;sup&amp;gt;-4&amp;lt;/sup&amp;gt; N force pulling it toward the other.&lt;br /&gt;
&lt;br /&gt;
===Difficult===&lt;br /&gt;
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?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mu_0 I_1 I_2}{2\pi d} = \lambda g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d = \frac{\mu_0 I_1 I_2}{2\pi \lambda g} = \frac{(2 \times 10^{-7})(100)(50)}{(0.01)(9.8)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d = \frac{1 \times 10^{-3}}{0.098} \approx 0.010\ \text{m} = 1.0\ \text{cm}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==Connectedness==&lt;br /&gt;
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&#039;s field, and changing the current changes the force, which pushes the cone back and forth to make sound.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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&amp;lt;sup&amp;gt;-7&amp;lt;/sup&amp;gt; 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.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
Magnetic Force&lt;br /&gt;
&lt;br /&gt;
Magnetic Field of a Long-Straight Wire&lt;br /&gt;
&lt;br /&gt;
===Further reading===&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir.html&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/magcur.html&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir2.html&lt;br /&gt;
&lt;br /&gt;
===External links===&lt;br /&gt;
[http://www.scientificamerican.com/article/bring-science-home-reaction-time/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* Knight, Randall D. &#039;&#039;Physics for Scientists and Engineers&#039;&#039;, 3rd ed. Pearson.&lt;br /&gt;
* &amp;quot;July 1820: Oersted &amp;amp; Electromagnetism.&amp;quot; &#039;&#039;APS News&#039;&#039;, American Physical Society. https://aps.org/apsnews/2008/07/1820-oersted-electromagnetism&lt;br /&gt;
* Ashworth, William B., Jr. &amp;quot;André-Marie Ampère.&amp;quot; Scientist of the Day, Linda Hall Library, January 20, 2021. https://www.lindahall.org/about/news/scientist-of-the-day/andre-marie-ampere/&lt;br /&gt;
* &amp;quot;Ampere: History.&amp;quot; National Institute of Standards and Technology (NIST). https://www.nist.gov/si-redefinition/ampere/ampere-history&lt;br /&gt;
* &amp;quot;Electric Current (the ampere, A).&amp;quot; Standards and Calibration Laboratory, Innovation and Technology Commission, Hong Kong. https://www.itc.gov.hk/en/quality/scl/teachers_students/si/ampere.html&lt;br /&gt;
* Ahbab, Ashfaque. &amp;quot;Force Between Two Parallel Currents&amp;quot; (GlowScript simulation). https://glowscript.org/#/user/kolpo/folder/Physics2/program/Wiki&lt;br /&gt;
&lt;br /&gt;
[[Category:Magnetic Force]]&lt;/div&gt;</summary>
		<author><name>Aahbab3</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=Applying_Magnetic_Force_to_Currents&amp;diff=48670</id>
		<title>Applying Magnetic Force to Currents</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=Applying_Magnetic_Force_to_Currents&amp;diff=48670"/>
		<updated>2026-11-30T21:30:15Z</updated>

		<summary type="html">&lt;p&gt;Aahbab3: Added Computational Model section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Claimed by Ashfaque Ahbab (Fall 2026)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==The Main Idea==&lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
===A Mathematical Model===&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{\vec{F} = q\vec{v}\times\vec{B}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
 &lt;br /&gt;
[[File:Physics21.jpg|200px|thumb|left|alt text]]&lt;br /&gt;
&lt;br /&gt;
Start from the magnetic force on a single moving charge:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\vec{F} = q\vec{v}\times\vec{B}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To relate this to a current, take a length &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; of wire. Current is charge per time, and the charges cross that length in time &amp;lt;math&amp;gt;\Delta t&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;I = \frac{\Delta q}{\Delta t}, \qquad v = \frac{L}{\Delta t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so &amp;lt;math&amp;gt;qv = IL&amp;lt;/math&amp;gt;. Substituting into the force on a charge gives the force on a wire:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\vec{F} = I\vec{L}\times\vec{B}, \qquad F = ILB\sin\theta&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is the angle between the wire (the direction of the current) and the magnetic field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; separated by distance &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;L \gg d&amp;lt;/math&amp;gt;, so that the following simplification for the magnetic field of a long straight wire may be used:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;B = \frac{\mu_0 I}{2\pi d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following diagram will be referenced and modeled:&lt;br /&gt;
&lt;br /&gt;
[[File:Physics22.jpg|950px|thumb|left|alt text]]&lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
We can use this to find the force of wire 2 on wire 1:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_{2\to1} = I_1 L B_2 = \frac{\mu_0 I_1 I_2 L}{2\pi d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or per unit length:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{F}{L} = \frac{\mu_0 I_1 I_2}{2\pi d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By Newton&#039;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&#039;t add them. Each wire feels a force of the same magnitude, &amp;lt;math&amp;gt;\frac{\mu_0 I_1 I_2 L}{2\pi d}&amp;lt;/math&amp;gt;, pointing toward the other wire (same-direction currents) or away from it (opposite currents).&lt;br /&gt;
&lt;br /&gt;
When the currents run in the same direction, the two wires&#039; 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&#039;t zero.&lt;br /&gt;
&lt;br /&gt;
==A Computational Model==&lt;br /&gt;
&lt;br /&gt;
[https://glowscript.org/#/user/kolpo/folder/Physics2/program/Wiki Run the simulation: Force Between Two Parallel Currents]&lt;br /&gt;
&lt;br /&gt;
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 &amp;lt;math&amp;gt;d\vec F = I\,d\vec L \times \vec B&amp;lt;/math&amp;gt; to get the total force. The numerical answer (7.24 × 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; N) is lower than the long-wire formula (8 × 10&amp;lt;sup&amp;gt;-5&amp;lt;/sup&amp;gt; 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.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
===Simple===&lt;br /&gt;
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?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;\vec F = I\vec L \times \vec B&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\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&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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).&lt;br /&gt;
&lt;br /&gt;
At 30°, only the magnitude changes, since &amp;lt;math&amp;gt;\sin 30^\circ = 0.5&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F = ILB\sin\theta = (0.3\ \text{N})(0.5) = 0.15\ \text{N}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===Middling===&lt;br /&gt;
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?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;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)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F = \frac{(2 \times 10^{-7})(80)}{0.04} = 4 \times 10^{-4}\ \text{N}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since the currents run in the same direction, the force is attractive. By Newton&#039;s third law, each wire feels a 4 × 10&amp;lt;sup&amp;gt;-4&amp;lt;/sup&amp;gt; N force pulling it toward the other.&lt;br /&gt;
&lt;br /&gt;
===Difficult===&lt;br /&gt;
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?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mu_0 I_1 I_2}{2\pi d} = \lambda g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d = \frac{\mu_0 I_1 I_2}{2\pi \lambda g} = \frac{(2 \times 10^{-7})(100)(50)}{(0.01)(9.8)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d = \frac{1 \times 10^{-3}}{0.098} \approx 0.010\ \text{m} = 1.0\ \text{cm}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==Connectedness==&lt;br /&gt;
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&#039;s field, and changing the current changes the force, which pushes the cone back and forth to make sound.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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&amp;lt;sup&amp;gt;-7&amp;lt;/sup&amp;gt; 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.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
Magnetic Force&lt;br /&gt;
&lt;br /&gt;
Magnetic Field of a Long-Straight Wire&lt;br /&gt;
&lt;br /&gt;
===Further reading===&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir.html&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/magcur.html&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir2.html&lt;br /&gt;
&lt;br /&gt;
===External links===&lt;br /&gt;
[http://www.scientificamerican.com/article/bring-science-home-reaction-time/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
Physics for Scientists and Engineers, 3rd Ed. By Randall D. Knight&lt;br /&gt;
&lt;br /&gt;
[[Category:Magnetic Force]]&lt;/div&gt;</summary>
		<author><name>Aahbab3</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=Applying_Magnetic_Force_to_Currents&amp;diff=48669</id>
		<title>Applying Magnetic Force to Currents</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=Applying_Magnetic_Force_to_Currents&amp;diff=48669"/>
		<updated>2026-11-30T21:22:56Z</updated>

		<summary type="html">&lt;p&gt;Aahbab3: Added Examples (Simple/Middling/Difficult), Connectedness, History&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Claimed by Ashfaque Ahbab (Fall 2026)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==The Main Idea==&lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
===A Mathematical Model===&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{\vec{F} = q\vec{v}\times\vec{B}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
 &lt;br /&gt;
[[File:Physics21.jpg|200px|thumb|left|alt text]]&lt;br /&gt;
&lt;br /&gt;
Start from the magnetic force on a single moving charge:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\vec{F} = q\vec{v}\times\vec{B}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To relate this to a current, take a length &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; of wire. Current is charge per time, and the charges cross that length in time &amp;lt;math&amp;gt;\Delta t&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;I = \frac{\Delta q}{\Delta t}, \qquad v = \frac{L}{\Delta t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so &amp;lt;math&amp;gt;qv = IL&amp;lt;/math&amp;gt;. Substituting into the force on a charge gives the force on a wire:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\vec{F} = I\vec{L}\times\vec{B}, \qquad F = ILB\sin\theta&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is the angle between the wire (the direction of the current) and the magnetic field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; separated by distance &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;L \gg d&amp;lt;/math&amp;gt;, so that the following simplification for the magnetic field of a long straight wire may be used:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;B = \frac{\mu_0 I}{2\pi d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following diagram will be referenced and modeled:&lt;br /&gt;
&lt;br /&gt;
[[File:Physics22.jpg|950px|thumb|left|alt text]]&lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
We can use this to find the force of wire 2 on wire 1:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_{2\to1} = I_1 L B_2 = \frac{\mu_0 I_1 I_2 L}{2\pi d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or per unit length:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{F}{L} = \frac{\mu_0 I_1 I_2}{2\pi d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By Newton&#039;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&#039;t add them. Each wire feels a force of the same magnitude, &amp;lt;math&amp;gt;\frac{\mu_0 I_1 I_2 L}{2\pi d}&amp;lt;/math&amp;gt;, pointing toward the other wire (same-direction currents) or away from it (opposite currents).&lt;br /&gt;
&lt;br /&gt;
When the currents run in the same direction, the two wires&#039; 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&#039;t zero.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
===Simple===&lt;br /&gt;
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?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;\vec F = I\vec L \times \vec B&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\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&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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).&lt;br /&gt;
&lt;br /&gt;
At 30°, only the magnitude changes, since &amp;lt;math&amp;gt;\sin 30^\circ = 0.5&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F = ILB\sin\theta = (0.3\ \text{N})(0.5) = 0.15\ \text{N}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===Middling===&lt;br /&gt;
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?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;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)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;F = \frac{(2 \times 10^{-7})(80)}{0.04} = 4 \times 10^{-4}\ \text{N}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since the currents run in the same direction, the force is attractive. By Newton&#039;s third law, each wire feels a 4 × 10&amp;lt;sup&amp;gt;-4&amp;lt;/sup&amp;gt; N force pulling it toward the other.&lt;br /&gt;
&lt;br /&gt;
===Difficult===&lt;br /&gt;
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?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mu_0 I_1 I_2}{2\pi d} = \lambda g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d = \frac{\mu_0 I_1 I_2}{2\pi \lambda g} = \frac{(2 \times 10^{-7})(100)(50)}{(0.01)(9.8)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;d = \frac{1 \times 10^{-3}}{0.098} \approx 0.010\ \text{m} = 1.0\ \text{cm}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==Connectedness==&lt;br /&gt;
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&#039;s field, and changing the current changes the force, which pushes the cone back and forth to make sound.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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&amp;lt;sup&amp;gt;-7&amp;lt;/sup&amp;gt; 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.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
Magnetic Force&lt;br /&gt;
&lt;br /&gt;
Magnetic Field of a Long-Straight Wire&lt;br /&gt;
&lt;br /&gt;
===Further reading===&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir.html&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/magcur.html&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir2.html&lt;br /&gt;
&lt;br /&gt;
===External links===&lt;br /&gt;
[http://www.scientificamerican.com/article/bring-science-home-reaction-time/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
Physics for Scientists and Engineers, 3rd Ed. By Randall D. Knight&lt;br /&gt;
&lt;br /&gt;
[[Category:Magnetic Force]]&lt;/div&gt;</summary>
		<author><name>Aahbab3</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=Applying_Magnetic_Force_to_Currents&amp;diff=48668</id>
		<title>Applying Magnetic Force to Currents</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=Applying_Magnetic_Force_to_Currents&amp;diff=48668"/>
		<updated>2026-11-30T21:20:23Z</updated>

		<summary type="html">&lt;p&gt;Aahbab3: Physics corrections: cleaner F = IL x B derivation, fixed two-wire force, Newton 3rd law, midpoint field, typos&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Claimed by Ashfaque Ahbab (Fall 2026)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==The Main Idea==&lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
===A Mathematical Model===&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{\vec{F} = q\vec{v}\times\vec{B}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
 &lt;br /&gt;
[[File:Physics21.jpg|200px|thumb|left|alt text]]&lt;br /&gt;
&lt;br /&gt;
Start from the magnetic force on a single moving charge:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\vec{F} = q\vec{v}\times\vec{B}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To relate this to a current, take a length &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; of wire. Current is charge per time, and the charges cross that length in time &amp;lt;math&amp;gt;\Delta t&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;I = \frac{\Delta q}{\Delta t}, \qquad v = \frac{L}{\Delta t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so &amp;lt;math&amp;gt;qv = IL&amp;lt;/math&amp;gt;. Substituting into the force on a charge gives the force on a wire:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\vec{F} = I\vec{L}\times\vec{B}, \qquad F = ILB\sin\theta&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is the angle between the wire (the direction of the current) and the magnetic field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; separated by distance &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;L \gg d&amp;lt;/math&amp;gt;, so that the following simplification for the magnetic field of a long straight wire may be used:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;B = \frac{\mu_0 I}{2\pi d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following diagram will be referenced and modeled:&lt;br /&gt;
&lt;br /&gt;
[[File:Physics22.jpg|950px|thumb|left|alt text]]&lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
We can use this to find the force of wire 2 on wire 1:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_{2\to1} = I_1 L B_2 = \frac{\mu_0 I_1 I_2 L}{2\pi d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or per unit length:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{F}{L} = \frac{\mu_0 I_1 I_2}{2\pi d}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By Newton&#039;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&#039;t add them. Each wire feels a force of the same magnitude, &amp;lt;math&amp;gt;\frac{\mu_0 I_1 I_2 L}{2\pi d}&amp;lt;/math&amp;gt;, pointing toward the other wire (same-direction currents) or away from it (opposite currents).&lt;br /&gt;
&lt;br /&gt;
When the currents run in the same direction, the two wires&#039; 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&#039;t zero.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
Magnetic Force&lt;br /&gt;
&lt;br /&gt;
Magnetic Field of a Long-Straight Wire&lt;br /&gt;
&lt;br /&gt;
===Further reading===&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir.html&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/magcur.html&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir2.html&lt;br /&gt;
&lt;br /&gt;
===External links===&lt;br /&gt;
[http://www.scientificamerican.com/article/bring-science-home-reaction-time/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
Physics for Scientists and Engineers, 3rd Ed. By Randall D. Knight&lt;br /&gt;
&lt;br /&gt;
[[Category:Magnetic Force]]&lt;/div&gt;</summary>
		<author><name>Aahbab3</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=Applying_Magnetic_Force_to_Currents&amp;diff=48667</id>
		<title>Applying Magnetic Force to Currents</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=Applying_Magnetic_Force_to_Currents&amp;diff=48667"/>
		<updated>2026-11-30T21:16:15Z</updated>

		<summary type="html">&lt;p&gt;Aahbab3: Claiming page for Fall 2026&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Claimed by Ashfaque Ahbab (Fall 2026)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Magnetic forces are forces that are exerted by a magnetic field on a moving charge, relative to the observation point. Because of this, currents exhibit magnetic forces on each other as they propogate moving charges.&lt;br /&gt;
&lt;br /&gt;
==The Main Idea==&lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
===A Mathematical Model===&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{\vec{F} = q\vec{v}\times\vec{B}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
 &lt;br /&gt;
[[File:Physics21.jpg|200px|thumb|left|alt text]]&lt;br /&gt;
&lt;br /&gt;
In deriving the exact equation relating magnetic force to current, current I can be related to moving charge q as it travels through a wire. By this logic, current can be equated to the amount of moving charge in a length of wire divided by the time the charge travels. This can be denoted by the following equations:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{q = Idt = \frac{I\vec{l}}{\vec{v}}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{ {qv} = {Il}  }&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, recalling the equation for magnetic force, we can derive the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{\vec{F} = I\vec{l}\times\vec{B}} = {IlB}{sin\alpha}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{\alpha}&amp;lt;/math&amp;gt; is the angle between the magnetic field and the direction of the moving charges.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, we may consider two wires next to each which may create magnetic fields affecting both wires. To do so, we may assume wires with length l and distance d such that the following simplification for the magnetic field of a wire may be used:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; B = \frac{\mu_0I}{2d\pi} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following diagram will be referenced and modeled:&lt;br /&gt;
&lt;br /&gt;
[[File:Physics22.jpg|950px|thumb|left|alt text]]&lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
We can use this logic to find the force the bottom wire exerts on the top wire, relating both currents and distance:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{\vec{F} = I_1\vec{l}\times\vec{B_2}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{\vec{F} = {I_1}{\vec{l}}\frac{\mu_0I}{2d\pi}} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is important to note that this demonstrates only the force of one wire on another; total force between the two must be found by summing both forces from both currents.&lt;br /&gt;
&lt;br /&gt;
Interesting notes can also be made regarding the magnetic field of the system. Observe that, when the currents run in the same direction, there is an effective net magnetic field of zero between the wires. This is because the wires, assuming equal magnitudes of current, cause equally opposing magnetic fields at that point.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
Magnetic Force&lt;br /&gt;
&lt;br /&gt;
Magnetic Field of a Long-Straight Wire&lt;br /&gt;
&lt;br /&gt;
===Further reading===&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir.html&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/magcur.html&lt;br /&gt;
&lt;br /&gt;
http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/forwir2.html&lt;br /&gt;
&lt;br /&gt;
===External links===&lt;br /&gt;
[http://www.scientificamerican.com/article/bring-science-home-reaction-time/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
Physics for Scientists and Engineers, 3rd Ed. By Randall D. Knight&lt;br /&gt;
&lt;br /&gt;
[[Category:Magnetic Force]]&lt;/div&gt;</summary>
		<author><name>Aahbab3</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=Magnetic_Field_of_a_Curved_Wire&amp;diff=48666</id>
		<title>Magnetic Field of a Curved Wire</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=Magnetic_Field_of_a_Curved_Wire&amp;diff=48666"/>
		<updated>2026-11-30T21:16:14Z</updated>

		<summary type="html">&lt;p&gt;Aahbab3: Releasing claim, restoring previous author line&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Creating Magnetic Field of a Curved Wire ==&lt;br /&gt;
&#039;&#039;&#039;Jeet Bhatkar – Fall 2025&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Big Idea ==&lt;br /&gt;
An electric current in a wire creates a magnetic field that curls around the wire.&lt;br /&gt;
&lt;br /&gt;
For a curved wire, each tiny piece of the wire contributes a small magnetic field. The total field is found by adding (integrating) all these contributions. For arcs of a circle, this leads to simple and very useful formulas.&lt;br /&gt;
&lt;br /&gt;
== Key Equations ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Biot–Savart Law (for a small piece of wire)&#039;&#039;&#039;&lt;br /&gt;
:&amp;lt;math&amp;gt;d\vec{B} = \frac{\mu_0}{4\pi}\,\frac{I\, d\vec{\ell} \times \hat{r}}{r^2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;\mu_0&amp;lt;/math&amp;gt; = permeability of free space  &lt;br /&gt;
* &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; = current (A)  &lt;br /&gt;
* &amp;lt;math&amp;gt;d\vec{\ell}&amp;lt;/math&amp;gt; = tiny vector along the wire (direction of current)  &lt;br /&gt;
* &amp;lt;math&amp;gt;\hat{r}&amp;lt;/math&amp;gt; = unit vector from the wire element to the field point  &lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; = distance from the wire element to the field point  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Magnetic field at the center of a circular arc&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For a wire shaped as a circular arc of radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; and angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; (in radians), carrying current &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;B = \frac{\mu_0 I}{4\pi R}\,\theta&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Direction: given by the right–hand rule (thumb along current, fingers curl in direction of &amp;lt;math&amp;gt;\vec{B}&amp;lt;/math&amp;gt; through the center).&lt;br /&gt;
&lt;br /&gt;
Special cases:&lt;br /&gt;
&lt;br /&gt;
* Full circle: &amp;lt;math&amp;gt;\theta = 2\pi&amp;lt;/math&amp;gt;, field at the center is  &lt;br /&gt;
  &amp;lt;math&amp;gt;B = \dfrac{\mu_0 I}{2R}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Semicircle: &amp;lt;math&amp;gt;\theta = \pi&amp;lt;/math&amp;gt;, field at the center is  &lt;br /&gt;
  &amp;lt;math&amp;gt;B = \dfrac{\mu_0 I}{4R}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
== Conceptual Picture ==&lt;br /&gt;
* Magnetic field lines form closed loops around the current.  &lt;br /&gt;
* For a circular arc, field lines near the center look like circles centered on the arc’s center.  &lt;br /&gt;
* The more wire around the center (larger &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;) or the larger the current &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, the stronger the field there.  &lt;br /&gt;
* Increasing the radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; spreads the current farther away, so the field at the center gets weaker: &amp;lt;math&amp;gt;B \propto 1/R&amp;lt;/math&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
Use the right–hand rule: point your thumb along the current; your fingers curl in the direction of the magnetic field.&lt;br /&gt;
&lt;br /&gt;
== Worked Example: Field at the Center of a Semicircular Wire ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Problem.&#039;&#039;&#039;  &lt;br /&gt;
A thin wire is bent into a semicircle of radius &amp;lt;math&amp;gt;R = 5.0\,\text{cm}&amp;lt;/math&amp;gt;. A current of &amp;lt;math&amp;gt;I = 3.0\,\text{A}&amp;lt;/math&amp;gt; flows through the wire. Find the magnitude and direction of the magnetic field at the center of the semicircle.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution.&#039;&#039;&#039;  &lt;br /&gt;
&lt;br /&gt;
The semicircle is a circular arc with &amp;lt;math&amp;gt;\theta = \pi&amp;lt;/math&amp;gt;. Use the arc formula:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
B = \frac{\mu_0 I}{4\pi R}\,\theta&lt;br /&gt;
= \frac{\mu_0 I}{4\pi R}\,\pi&lt;br /&gt;
= \frac{\mu_0 I}{4R}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Convert &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; to meters:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;R = 5.0\,\text{cm} = 0.050\,\text{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
B = \frac{(4\pi \times 10^{-7}\,\text{T·m/A})(3.0\,\text{A})}{4(0.050\,\text{m})}&lt;br /&gt;
\approx 1.9 \times 10^{-5}\,\text{T}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Direction: use the right–hand rule for the current around the semicircle.&lt;br /&gt;
&lt;br /&gt;
* If current flows counterclockwise as seen from above, &amp;lt;math&amp;gt;\vec{B}&amp;lt;/math&amp;gt; at the center points out of the page.  &lt;br /&gt;
* If current flows clockwise, &amp;lt;math&amp;gt;\vec{B}&amp;lt;/math&amp;gt; points into the page.  &lt;br /&gt;
&lt;br /&gt;
== Computational Model (GlowScript) ==&lt;br /&gt;
This GlowScript model approximates a circular arc by many small straight segments and uses the Biot–Savart law to compute the magnetic field at the center.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
from vpython import *&lt;br /&gt;
import numpy as np&lt;br /&gt;
&lt;br /&gt;
# constants&lt;br /&gt;
mu0 = 4*pi*1e-7   # T·m/A&lt;br /&gt;
I = 3.0           # current (A)&lt;br /&gt;
R = 0.1           # radius of arc (m)&lt;br /&gt;
theta_total = pi  # total angle of arc (radians), e.g. pi for semicircle&lt;br /&gt;
&lt;br /&gt;
N = 200           # number of segments&lt;br /&gt;
&lt;br /&gt;
scene.caption = &amp;quot;Magnetic field at the center of a curved wire (arc)\n&amp;quot;&lt;br /&gt;
scene.width = 700&lt;br /&gt;
scene.height = 400&lt;br /&gt;
&lt;br /&gt;
# center where we calculate B&lt;br /&gt;
r_center = vector(0, 0, 0)&lt;br /&gt;
&lt;br /&gt;
# draw the wire as small cylinders along an arc in the x–y plane&lt;br /&gt;
wire_segments = []&lt;br /&gt;
angles = np.linspace(-theta_total/2, theta_total/2, N)&lt;br /&gt;
&lt;br /&gt;
for i in range(N - 1):&lt;br /&gt;
    a1 = angles[i]&lt;br /&gt;
    a2 = angles[i + 1]&lt;br /&gt;
    p1 = vector(R*cos(a1), R*sin(a1), 0)&lt;br /&gt;
    p2 = vector(R*cos(a2), R*sin(a2), 0)&lt;br /&gt;
    seg = cylinder(pos=p1, axis=(p2 - p1), radius=0.003, color=color.orange)&lt;br /&gt;
    wire_segments.append(seg)&lt;br /&gt;
&lt;br /&gt;
# arrow to show magnetic field at the center&lt;br /&gt;
B_arrow = arrow(pos=r_center, axis=vector(0, 0, 0), color=color.cyan)&lt;br /&gt;
&lt;br /&gt;
def compute_B_center():&lt;br /&gt;
    B = vector(0, 0, 0)&lt;br /&gt;
    for seg in wire_segments:&lt;br /&gt;
        dl = seg.axis                  # direction of current element&lt;br /&gt;
        r_mid = seg.pos + 0.5*seg.axis # midpoint of the segment&lt;br /&gt;
        r_vec = r_center - r_mid&lt;br /&gt;
        r = mag(r_vec)&lt;br /&gt;
        if r == 0:&lt;br /&gt;
            continue&lt;br /&gt;
        dB = (mu0*I/(4*pi)) * cross(dl, r_vec) / r**3&lt;br /&gt;
        B += dB&lt;br /&gt;
    return B&lt;br /&gt;
&lt;br /&gt;
B = compute_B_center()&lt;br /&gt;
B_arrow.axis = B * 5e5  # scale so we can see the arrow&lt;br /&gt;
&lt;br /&gt;
scene.append_to_caption(f&amp;quot;Approximate |B| at center = {mag(B):.3e} T\n&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can experiment by changing &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (current), &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; (radius), and &amp;lt;math&amp;gt;\theta_\text{total}&amp;lt;/math&amp;gt; (total angle in radians).&lt;br /&gt;
&lt;br /&gt;
== Common Mistakes ==&lt;br /&gt;
* &#039;&#039;&#039;Using degrees instead of radians in the arc formula.&#039;&#039;&#039;  &lt;br /&gt;
  The formula &amp;lt;math&amp;gt;B = \dfrac{\mu_0 I}{4\pi R}\,\theta&amp;lt;/math&amp;gt; assumes &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is in radians.  &lt;br /&gt;
* &#039;&#039;&#039;Forgetting that the arc formula is for the field at the center of the circle only.&#039;&#039;&#039;  &lt;br /&gt;
* &#039;&#039;&#039;Getting the right–hand rule backwards.&#039;&#039;&#039;  &lt;br /&gt;
  Thumb along current; curled fingers show the direction of &amp;lt;math&amp;gt;\vec{B}&amp;lt;/math&amp;gt;.  &lt;br /&gt;
* &#039;&#039;&#039;Ignoring contributions from straight segments&#039;&#039;&#039; in mixed “straight + curved” wire problems.  &lt;br /&gt;
&lt;br /&gt;
== Practice Problems ==&lt;br /&gt;
# A wire is bent into a quarter–circle of radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; carrying current &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;.  &lt;br /&gt;
   * (a) Find the magnitude of the magnetic field at the center of the circle.  &lt;br /&gt;
   * (b) If the quarter–circle is completed to a full circle with the same current, by what factor does &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt; change?&lt;br /&gt;
&lt;br /&gt;
# A wire consists of a semicircle of radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; connected to two long straight segments that extend radially outward from the ends of the semicircle.  &lt;br /&gt;
   * Find the direction of the net magnetic field at the center.  &lt;br /&gt;
   * Which part (arc or straight segments) contributes most to the magnitude? Explain qualitatively.&lt;br /&gt;
&lt;br /&gt;
# A circular loop of radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; carries current &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;.  &lt;br /&gt;
   * (a) Find &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt; at the center.  &lt;br /&gt;
   * (b) If only half of the loop remained (a semicircle), what would &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt; be at the center?&lt;br /&gt;
&lt;br /&gt;
# You are given a choice of two wires to create a magnetic field at a point:  &lt;br /&gt;
   (1) a small circular loop of radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; with current &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, or  &lt;br /&gt;
   (2) a larger circular loop of radius &amp;lt;math&amp;gt;2R&amp;lt;/math&amp;gt; with the same current.  &lt;br /&gt;
   * Which produces the larger &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt; at its center? Show your reasoning.&lt;br /&gt;
&lt;br /&gt;
== Copyright and Image Ideas ==&lt;br /&gt;
* Draw your own diagram of a curved wire (arc) with the current direction and the magnetic field at the center indicated by an arrow into or out of the page.  &lt;br /&gt;
* Draw a full circular loop with field lines near the center.  &lt;br /&gt;
&lt;br /&gt;
After you create the images, upload them and insert them with:&lt;br /&gt;
&lt;br /&gt;
[[File:Curved_wire_Bfield.png|thumb|Magnetic field at the center of a current-carrying arc.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Circular_loop_Bfield.png|thumb|Magnetic field at the center of a current in a circular loop.]]&lt;/div&gt;</summary>
		<author><name>Aahbab3</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=Magnetic_Field_of_a_Curved_Wire&amp;diff=48665</id>
		<title>Magnetic Field of a Curved Wire</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=Magnetic_Field_of_a_Curved_Wire&amp;diff=48665"/>
		<updated>2026-11-30T21:03:34Z</updated>

		<summary type="html">&lt;p&gt;Aahbab3: Claiming page for Fall 2026&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Creating Magnetic Field of a Curved Wire ==&lt;br /&gt;
&#039;&#039;&#039;Claimed by Ashfaque Ahbab (Fall 2026)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Big Idea ==&lt;br /&gt;
An electric current in a wire creates a magnetic field that curls around the wire.&lt;br /&gt;
&lt;br /&gt;
For a curved wire, each tiny piece of the wire contributes a small magnetic field. The total field is found by adding (integrating) all these contributions. For arcs of a circle, this leads to simple and very useful formulas.&lt;br /&gt;
&lt;br /&gt;
== Key Equations ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Biot–Savart Law (for a small piece of wire)&#039;&#039;&#039;&lt;br /&gt;
:&amp;lt;math&amp;gt;d\vec{B} = \frac{\mu_0}{4\pi}\,\frac{I\, d\vec{\ell} \times \hat{r}}{r^2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;\mu_0&amp;lt;/math&amp;gt; = permeability of free space  &lt;br /&gt;
* &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; = current (A)  &lt;br /&gt;
* &amp;lt;math&amp;gt;d\vec{\ell}&amp;lt;/math&amp;gt; = tiny vector along the wire (direction of current)  &lt;br /&gt;
* &amp;lt;math&amp;gt;\hat{r}&amp;lt;/math&amp;gt; = unit vector from the wire element to the field point  &lt;br /&gt;
* &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; = distance from the wire element to the field point  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Magnetic field at the center of a circular arc&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For a wire shaped as a circular arc of radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; and angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; (in radians), carrying current &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;B = \frac{\mu_0 I}{4\pi R}\,\theta&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Direction: given by the right–hand rule (thumb along current, fingers curl in direction of &amp;lt;math&amp;gt;\vec{B}&amp;lt;/math&amp;gt; through the center).&lt;br /&gt;
&lt;br /&gt;
Special cases:&lt;br /&gt;
&lt;br /&gt;
* Full circle: &amp;lt;math&amp;gt;\theta = 2\pi&amp;lt;/math&amp;gt;, field at the center is  &lt;br /&gt;
  &amp;lt;math&amp;gt;B = \dfrac{\mu_0 I}{2R}&amp;lt;/math&amp;gt;  &lt;br /&gt;
* Semicircle: &amp;lt;math&amp;gt;\theta = \pi&amp;lt;/math&amp;gt;, field at the center is  &lt;br /&gt;
  &amp;lt;math&amp;gt;B = \dfrac{\mu_0 I}{4R}&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
== Conceptual Picture ==&lt;br /&gt;
* Magnetic field lines form closed loops around the current.  &lt;br /&gt;
* For a circular arc, field lines near the center look like circles centered on the arc’s center.  &lt;br /&gt;
* The more wire around the center (larger &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;) or the larger the current &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, the stronger the field there.  &lt;br /&gt;
* Increasing the radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; spreads the current farther away, so the field at the center gets weaker: &amp;lt;math&amp;gt;B \propto 1/R&amp;lt;/math&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
Use the right–hand rule: point your thumb along the current; your fingers curl in the direction of the magnetic field.&lt;br /&gt;
&lt;br /&gt;
== Worked Example: Field at the Center of a Semicircular Wire ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Problem.&#039;&#039;&#039;  &lt;br /&gt;
A thin wire is bent into a semicircle of radius &amp;lt;math&amp;gt;R = 5.0\,\text{cm}&amp;lt;/math&amp;gt;. A current of &amp;lt;math&amp;gt;I = 3.0\,\text{A}&amp;lt;/math&amp;gt; flows through the wire. Find the magnitude and direction of the magnetic field at the center of the semicircle.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution.&#039;&#039;&#039;  &lt;br /&gt;
&lt;br /&gt;
The semicircle is a circular arc with &amp;lt;math&amp;gt;\theta = \pi&amp;lt;/math&amp;gt;. Use the arc formula:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
B = \frac{\mu_0 I}{4\pi R}\,\theta&lt;br /&gt;
= \frac{\mu_0 I}{4\pi R}\,\pi&lt;br /&gt;
= \frac{\mu_0 I}{4R}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Convert &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; to meters:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;R = 5.0\,\text{cm} = 0.050\,\text{m}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
B = \frac{(4\pi \times 10^{-7}\,\text{T·m/A})(3.0\,\text{A})}{4(0.050\,\text{m})}&lt;br /&gt;
\approx 1.9 \times 10^{-5}\,\text{T}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Direction: use the right–hand rule for the current around the semicircle.&lt;br /&gt;
&lt;br /&gt;
* If current flows counterclockwise as seen from above, &amp;lt;math&amp;gt;\vec{B}&amp;lt;/math&amp;gt; at the center points out of the page.  &lt;br /&gt;
* If current flows clockwise, &amp;lt;math&amp;gt;\vec{B}&amp;lt;/math&amp;gt; points into the page.  &lt;br /&gt;
&lt;br /&gt;
== Computational Model (GlowScript) ==&lt;br /&gt;
This GlowScript model approximates a circular arc by many small straight segments and uses the Biot–Savart law to compute the magnetic field at the center.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
from vpython import *&lt;br /&gt;
import numpy as np&lt;br /&gt;
&lt;br /&gt;
# constants&lt;br /&gt;
mu0 = 4*pi*1e-7   # T·m/A&lt;br /&gt;
I = 3.0           # current (A)&lt;br /&gt;
R = 0.1           # radius of arc (m)&lt;br /&gt;
theta_total = pi  # total angle of arc (radians), e.g. pi for semicircle&lt;br /&gt;
&lt;br /&gt;
N = 200           # number of segments&lt;br /&gt;
&lt;br /&gt;
scene.caption = &amp;quot;Magnetic field at the center of a curved wire (arc)\n&amp;quot;&lt;br /&gt;
scene.width = 700&lt;br /&gt;
scene.height = 400&lt;br /&gt;
&lt;br /&gt;
# center where we calculate B&lt;br /&gt;
r_center = vector(0, 0, 0)&lt;br /&gt;
&lt;br /&gt;
# draw the wire as small cylinders along an arc in the x–y plane&lt;br /&gt;
wire_segments = []&lt;br /&gt;
angles = np.linspace(-theta_total/2, theta_total/2, N)&lt;br /&gt;
&lt;br /&gt;
for i in range(N - 1):&lt;br /&gt;
    a1 = angles[i]&lt;br /&gt;
    a2 = angles[i + 1]&lt;br /&gt;
    p1 = vector(R*cos(a1), R*sin(a1), 0)&lt;br /&gt;
    p2 = vector(R*cos(a2), R*sin(a2), 0)&lt;br /&gt;
    seg = cylinder(pos=p1, axis=(p2 - p1), radius=0.003, color=color.orange)&lt;br /&gt;
    wire_segments.append(seg)&lt;br /&gt;
&lt;br /&gt;
# arrow to show magnetic field at the center&lt;br /&gt;
B_arrow = arrow(pos=r_center, axis=vector(0, 0, 0), color=color.cyan)&lt;br /&gt;
&lt;br /&gt;
def compute_B_center():&lt;br /&gt;
    B = vector(0, 0, 0)&lt;br /&gt;
    for seg in wire_segments:&lt;br /&gt;
        dl = seg.axis                  # direction of current element&lt;br /&gt;
        r_mid = seg.pos + 0.5*seg.axis # midpoint of the segment&lt;br /&gt;
        r_vec = r_center - r_mid&lt;br /&gt;
        r = mag(r_vec)&lt;br /&gt;
        if r == 0:&lt;br /&gt;
            continue&lt;br /&gt;
        dB = (mu0*I/(4*pi)) * cross(dl, r_vec) / r**3&lt;br /&gt;
        B += dB&lt;br /&gt;
    return B&lt;br /&gt;
&lt;br /&gt;
B = compute_B_center()&lt;br /&gt;
B_arrow.axis = B * 5e5  # scale so we can see the arrow&lt;br /&gt;
&lt;br /&gt;
scene.append_to_caption(f&amp;quot;Approximate |B| at center = {mag(B):.3e} T\n&amp;quot;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can experiment by changing &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (current), &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; (radius), and &amp;lt;math&amp;gt;\theta_\text{total}&amp;lt;/math&amp;gt; (total angle in radians).&lt;br /&gt;
&lt;br /&gt;
== Common Mistakes ==&lt;br /&gt;
* &#039;&#039;&#039;Using degrees instead of radians in the arc formula.&#039;&#039;&#039;  &lt;br /&gt;
  The formula &amp;lt;math&amp;gt;B = \dfrac{\mu_0 I}{4\pi R}\,\theta&amp;lt;/math&amp;gt; assumes &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; is in radians.  &lt;br /&gt;
* &#039;&#039;&#039;Forgetting that the arc formula is for the field at the center of the circle only.&#039;&#039;&#039;  &lt;br /&gt;
* &#039;&#039;&#039;Getting the right–hand rule backwards.&#039;&#039;&#039;  &lt;br /&gt;
  Thumb along current; curled fingers show the direction of &amp;lt;math&amp;gt;\vec{B}&amp;lt;/math&amp;gt;.  &lt;br /&gt;
* &#039;&#039;&#039;Ignoring contributions from straight segments&#039;&#039;&#039; in mixed “straight + curved” wire problems.  &lt;br /&gt;
&lt;br /&gt;
== Practice Problems ==&lt;br /&gt;
# A wire is bent into a quarter–circle of radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; carrying current &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;.  &lt;br /&gt;
   * (a) Find the magnitude of the magnetic field at the center of the circle.  &lt;br /&gt;
   * (b) If the quarter–circle is completed to a full circle with the same current, by what factor does &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt; change?&lt;br /&gt;
&lt;br /&gt;
# A wire consists of a semicircle of radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; connected to two long straight segments that extend radially outward from the ends of the semicircle.  &lt;br /&gt;
   * Find the direction of the net magnetic field at the center.  &lt;br /&gt;
   * Which part (arc or straight segments) contributes most to the magnitude? Explain qualitatively.&lt;br /&gt;
&lt;br /&gt;
# A circular loop of radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; carries current &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;.  &lt;br /&gt;
   * (a) Find &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt; at the center.  &lt;br /&gt;
   * (b) If only half of the loop remained (a semicircle), what would &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt; be at the center?&lt;br /&gt;
&lt;br /&gt;
# You are given a choice of two wires to create a magnetic field at a point:  &lt;br /&gt;
   (1) a small circular loop of radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; with current &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, or  &lt;br /&gt;
   (2) a larger circular loop of radius &amp;lt;math&amp;gt;2R&amp;lt;/math&amp;gt; with the same current.  &lt;br /&gt;
   * Which produces the larger &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt; at its center? Show your reasoning.&lt;br /&gt;
&lt;br /&gt;
== Copyright and Image Ideas ==&lt;br /&gt;
* Draw your own diagram of a curved wire (arc) with the current direction and the magnetic field at the center indicated by an arrow into or out of the page.  &lt;br /&gt;
* Draw a full circular loop with field lines near the center.  &lt;br /&gt;
&lt;br /&gt;
After you create the images, upload them and insert them with:&lt;br /&gt;
&lt;br /&gt;
[[File:Curved_wire_Bfield.png|thumb|Magnetic field at the center of a current-carrying arc.]]&lt;br /&gt;
&lt;br /&gt;
[[File:Circular_loop_Bfield.png|thumb|Magnetic field at the center of a current in a circular loop.]]&lt;/div&gt;</summary>
		<author><name>Aahbab3</name></author>
	</entry>
</feed>