<?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=Shailenamin</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=Shailenamin"/>
	<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/Special:Contributions/Shailenamin"/>
	<updated>2026-11-30T03:11:44Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.7</generator>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=Magnetic_Field_of_a_Long_Thick_Wire_Using_Ampere%27s_Law&amp;diff=48511</id>
		<title>Magnetic Field of a Long Thick Wire Using Ampere&#039;s Law</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=Magnetic_Field_of_a_Long_Thick_Wire_Using_Ampere%27s_Law&amp;diff=48511"/>
		<updated>2026-11-28T23:50:03Z</updated>

		<summary type="html">&lt;p&gt;Shailenamin: Add public-domain right-hand rule diagram and animated motor commutator with explanations.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;&#039;&#039;&#039;Shailen Amin, Fall 2026&#039;&#039;&#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A long cylindrical wire carrying a steady current produces a magnetic field that circles its axis. With uniform current density, the field grows from zero at the center to a maximum at the wire surface and then decreases outside the wire.&lt;br /&gt;
&lt;br /&gt;
== The Main Idea ==&lt;br /&gt;
Look straight down the end of the wire. If the current comes out of the page, point your right thumb toward yourself. Your fingers curl counterclockwise, showing the direction of the magnetic field. Reversing the current reverses the field.&lt;br /&gt;
&lt;br /&gt;
An &#039;&#039;&#039;Amperian loop&#039;&#039;&#039; is an imaginary closed path. For this wire, choose a circle centered on the wire axis. Inside the wire, enlarging the circle increases the enclosed current in proportion to its area, which grows as &amp;lt;math&amp;gt;r^2&amp;lt;/math&amp;gt;. The path length grows as &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, so the field grows as &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;. Outside the wire, the enclosed current stays fixed while the path length grows, so the field decreases as &amp;lt;math&amp;gt;1/r&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A circular path is useful because every point on it is the same distance from the axis. The field has the same magnitude at each of those points and runs tangent to the circle. In Figure 1, the arrow on the right side of the wire points up the page, as the right-hand rule predicts.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;max-width:100%; overflow-x:auto;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;zoom:0.75;&amp;quot;&amp;gt;[[File:Thick-wire-ampere-cross-section-and-field.png|alt=Wire cross-section with two Amperian loops, next to a plot of magnetic field versus radius.]]&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&#039;&#039;Figure 1. Original diagram and plot generated for this article. Left: two Amperian loops centered on the wire. Right: the magnetic field rises inside the wire, peaks at its surface, and falls outside.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Use the right-hand grip rule with conventional current. With the current aimed toward you, the field points up on the right side of the wire and down on the left. If you reverse the current while keeping its magnitude the same, the arrows reverse and the field-magnitude plot stays the same.&lt;br /&gt;
&lt;br /&gt;
[[File:Right Hand Rule.png|alt=Right thumb points along the current and fingers curl in the direction of the magnetic field]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Right-hand grip rule for a straight wire. Janolaf30, [https://commons.wikimedia.org/wiki/File:Right_Hand_Rule.png Wikimedia Commons], public domain.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== A Mathematical Model ===&lt;br /&gt;
Let &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; be the wire radius, &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; the distance from its axis, and &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; the total steady current. Assume a long, straight cylinder with uniform current density, and evaluate the field far from its ends. Ampere&#039;s law for steady currents gives&lt;br /&gt;
:&amp;lt;math&amp;gt;\oint_C\vec B\cdot d\vec\ell=\mu_0 I_{\mathrm{enc}}.&amp;lt;/math&amp;gt;&lt;br /&gt;
Choose the path orientation to follow the field and take current through the loop in the corresponding right-hand-rule direction as positive. By cylindrical symmetry, the field is tangent to the circle and has constant magnitude along it. Hence&lt;br /&gt;
:&amp;lt;math&amp;gt;B(2\pi r)=\mu_0 I_{\mathrm{enc}}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Inside the wire&#039;&#039;&#039; (&amp;lt;math&amp;gt;0&amp;lt;r&amp;lt;R&amp;lt;/math&amp;gt;). The current density is &amp;lt;math&amp;gt;J=I/(\pi R^2)&amp;lt;/math&amp;gt;. Multiplying by the area enclosed by the loop gives&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=J\pi r^2=I\frac{r^2}{R^2},\qquad B(r)=\frac{\mu_0 I r}{2\pi R^2}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Outside the wire&#039;&#039;&#039; (&amp;lt;math&amp;gt;r&amp;gt;R&amp;lt;/math&amp;gt;). The loop encloses the entire current, so&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=I,\qquad B(r)=\frac{\mu_0 I}{2\pi r}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At the center, symmetry gives &amp;lt;math&amp;gt;B(0)=0&amp;lt;/math&amp;gt;. Both formulas give &amp;lt;math&amp;gt;B(R)=\mu_0 I/(2\pi R)&amp;lt;/math&amp;gt; at the surface. The field is continuous there and reaches its maximum.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Exam check.&#039;&#039;&#039; The circumference always uses the loop radius &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;. For an inner loop, the wire radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; determines the fraction of current enclosed.&lt;br /&gt;
&lt;br /&gt;
=== A Computational Model ===&lt;br /&gt;
&lt;br /&gt;
[https://www.glowscript.org/#/user/shailenamin/folder/MyPrograms/program/ThickWireMagneticField Run the interactive thick-wire model in Web VPython]. Drag the loop-radius slider to see how the enclosed current and magnetic field change. Compare the readings at 1.0 cm and 4.0 cm: both have the same field magnitude even though they enclose different currents. The field is strongest at the wire surface (2.0 cm).&lt;br /&gt;
&lt;br /&gt;
For a wire with &amp;lt;math&amp;gt;R=2.0\ \mathrm{cm}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;I=8.0\ \mathrm A&amp;lt;/math&amp;gt;, the equations predict the following values. Notice that doubling the radius from the surface halves the field even though the enclosed current stays the same.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Loop radius (cm) !! Enclosed current (A) !! Field magnitude (μT)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 0 || 0&lt;br /&gt;
|-&lt;br /&gt;
| 1.0 || 2.0 || 40&lt;br /&gt;
|-&lt;br /&gt;
| 2.0 || 8.0 || 80&lt;br /&gt;
|-&lt;br /&gt;
| 4.0 || 8.0 || 40&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Simple ===&lt;br /&gt;
A wire of radius &amp;lt;math&amp;gt;2.0\ \mathrm{cm}&amp;lt;/math&amp;gt; carries &amp;lt;math&amp;gt;8.0\ \mathrm A&amp;lt;/math&amp;gt; uniformly out of the page. Find the field at a point &amp;lt;math&amp;gt;1.0\ \mathrm{cm}&amp;lt;/math&amp;gt; to the right of its center.&lt;br /&gt;
&lt;br /&gt;
The point is inside the wire. The loop encloses one-quarter of the wire&#039;s cross-sectional area, so&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=(8.0\ \mathrm A)\left(\frac{1.0}{2.0}\right)^2=2.0\ \mathrm A.&amp;lt;/math&amp;gt;&lt;br /&gt;
Therefore&lt;br /&gt;
:&amp;lt;math&amp;gt;B=\frac{(4\pi\times10^{-7}\ \mathrm{T\,m/A})(2.0\ \mathrm A)}{2\pi(0.010\ \mathrm m)}=4.0\times10^{-5}\ \mathrm T.&amp;lt;/math&amp;gt;&lt;br /&gt;
The field circles counterclockwise, so it points &#039;&#039;&#039;up the page&#039;&#039;&#039; at this point.&lt;br /&gt;
&lt;br /&gt;
=== Middling ===&lt;br /&gt;
For the same wire, at what radius outside the wire does the field have the same magnitude as it does at &amp;lt;math&amp;gt;r=1.0\ \mathrm{cm}&amp;lt;/math&amp;gt;?&lt;br /&gt;
&lt;br /&gt;
An outer loop encloses the full &amp;lt;math&amp;gt;8.0\ \mathrm A&amp;lt;/math&amp;gt;. Solving the outside-field expression for the radius gives&lt;br /&gt;
:&amp;lt;math&amp;gt;r=\frac{\mu_0 I}{2\pi B}=\frac{(4\pi\times10^{-7}\ \mathrm{T\,m/A})(8.0\ \mathrm A)}{2\pi(4.0\times10^{-5}\ \mathrm T)}=0.040\ \mathrm m=4.0\ \mathrm{cm}.&amp;lt;/math&amp;gt;&lt;br /&gt;
Since &amp;lt;math&amp;gt;4.0\ \mathrm{cm}&amp;gt;2.0\ \mathrm{cm}&amp;lt;/math&amp;gt;, the result is in the region where the outside-field expression applies.&lt;br /&gt;
&lt;br /&gt;
=== Difficult ===&lt;br /&gt;
An electron &amp;lt;math&amp;gt;4.0\ \mathrm{cm}&amp;lt;/math&amp;gt; to the right of the same wire&#039;s axis moves out of the page at &amp;lt;math&amp;gt;2.0\times10^6\ \mathrm{m/s}&amp;lt;/math&amp;gt;. Find the magnitude and direction of the magnetic force due to the wire.&lt;br /&gt;
&lt;br /&gt;
The field points up the page and has magnitude &amp;lt;math&amp;gt;4.0\times10^{-5}\ \mathrm T&amp;lt;/math&amp;gt;. The velocity is perpendicular to the field, which gives&lt;br /&gt;
:&amp;lt;math&amp;gt;|\vec F|=|q|vB=(1.602\times10^{-19}\ \mathrm C)(2.0\times10^6\ \mathrm{m/s})(4.0\times10^{-5}\ \mathrm T)=1.3\times10^{-17}\ \mathrm N.&amp;lt;/math&amp;gt;&lt;br /&gt;
The right-hand rule points &amp;lt;math&amp;gt;\vec v\times\vec B&amp;lt;/math&amp;gt; left. The electron&#039;s charge is negative, so its force points &#039;&#039;&#039;right, away from the wire&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Connectedness ==&lt;br /&gt;
In my electric motor cooling research, I work on removing heat near copper windings. The windings also carry the current that helps generate the motor&#039;s magnetic field. The long-wire model gives a starting point for estimating the field near a straight winding segment. In a real motor, nearby conductors, bends, and magnetic materials also shape the field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This matters in mechanical design because the field from one conductor can exert a force on a neighboring conductor carrying current. In a motor, that gives me a way to think about why the placement and mechanical support of windings matter. For a simpler example, a [[Magnetic Field of Coaxial Cable Using Ampere&#039;s Law|coaxial cable]] shows how a nearby return current changes the field. An outer loop encloses equal and opposite currents, so the field outside an ideal coaxial cable is zero.&lt;br /&gt;
&lt;br /&gt;
In a simple brushed DC motor, current runs in opposite directions along opposite sides of the rotor coil. In the motor’s magnetic field, the forces on those sides form a couple that turns the rotor. Watch the split-ring commutator in the animation. It reverses the current through the coil every half-turn so the torque continues in the same rotational sense.&lt;br /&gt;
&lt;br /&gt;
[[File:Kommutator animiert.gif|alt=Animation of a split-ring commutator switching coil polarity as the rotor turns]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;A split-ring commutator switches the coil connections as the rotor turns. Journey234, [https://commons.wikimedia.org/wiki/File:Kommutator_animiert.gif Wikimedia Commons], public domain.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
In 1820, Hans Christian Ørsted observed that an electric current could deflect a compass needle. The deflection connected electric current with magnetism and can be reproduced with a straight wire and a compass. Ampere&#039;s law relates the circulation of the magnetic field around the wire to the current through the loop.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
André-Marie Ampère followed up by studying how two parallel wires act on each other. Currents in the same direction attract the wires, while currents in opposite directions repel them. Ørsted&#039;s compass made the field around one wire observable. Ampère&#039;s experiments showed how the field from one current can affect a second current-carrying wire.&amp;lt;ref&amp;gt;National Institute of Standards and Technology, [https://www.nist.gov/si-redefinition/ampere/ampere-history Ampere: History].&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;max-width:100%; overflow-x:auto;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;zoom:0.75;&amp;quot;&amp;gt;[[File:Oersted experiment.png|alt=A wire suspended over a compass]]&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2. A wire passes over a compass in this 1876 illustration of Ørsted’s experiment. When current flows in the wire, the needle deflects. Agustin Privat-Deschanel, [https://commons.wikimedia.org/wiki/File:Oersted_experiment.png Wikimedia Commons], public domain in the United States.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Ampere&#039;s Law]]&lt;br /&gt;
* [[Magnetic Field of Coaxial Cable Using Ampere&#039;s Law]]&lt;br /&gt;
* [[Magnetic Field of a Solenoid Using Ampere&#039;s Law]]&lt;br /&gt;
* [[Lorentz Force]]&lt;br /&gt;
&lt;br /&gt;
=== Further reading ===&lt;br /&gt;
* Ruth W. Chabay and Bruce A. Sherwood, &#039;&#039;Matter &amp;amp; Interactions&#039;&#039;, 4th ed., vol. 2, Wiley, 2015, p. 887.&lt;br /&gt;
&lt;br /&gt;
=== External links ===&lt;br /&gt;
* [http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/magcur.html HyperPhysics: Magnetic Field of Current]&lt;br /&gt;
* [https://web.physics.ucsb.edu/~lecturedemonstrations/Composer/Pages/68.18.html UC Santa Barbara: Compasses and Current-Carrying Wire]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* OpenStax, &#039;&#039;College Physics&#039;&#039;, [https://openstax.org/books/college-physics/pages/22-9-magnetic-fields-produced-by-currents-amperes-law Section 22.9: Magnetic Fields Produced by Currents].&lt;br /&gt;
* UC Santa Barbara Physics Lecture Demonstrations, [https://web.physics.ucsb.edu/~lecturedemonstrations/Composer/Pages/68.18.html Compasses and Current-Carrying Wire].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Maxwell&#039;s Equations]]&lt;/div&gt;</summary>
		<author><name>Shailenamin</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=Magnetic_Field_of_a_Long_Thick_Wire_Using_Ampere%27s_Law&amp;diff=48510</id>
		<title>Magnetic Field of a Long Thick Wire Using Ampere&#039;s Law</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=Magnetic_Field_of_a_Long_Thick_Wire_Using_Ampere%27s_Law&amp;diff=48510"/>
		<updated>2026-11-28T23:44:29Z</updated>

		<summary type="html">&lt;p&gt;Shailenamin: Add a credited public-domain illustration of Ørsted’s compass experiment.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;&#039;&#039;&#039;Shailen Amin, Fall 2026&#039;&#039;&#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A long cylindrical wire carrying a steady current produces a magnetic field that circles its axis. With uniform current density, the field grows from zero at the center to a maximum at the wire surface and then decreases outside the wire.&lt;br /&gt;
&lt;br /&gt;
== The Main Idea ==&lt;br /&gt;
Look straight down the end of the wire. If the current comes out of the page, point your right thumb toward yourself. Your fingers curl counterclockwise, showing the direction of the magnetic field. Reversing the current reverses the field.&lt;br /&gt;
&lt;br /&gt;
An &#039;&#039;&#039;Amperian loop&#039;&#039;&#039; is an imaginary closed path. For this wire, choose a circle centered on the wire axis. Inside the wire, enlarging the circle increases the enclosed current in proportion to its area, which grows as &amp;lt;math&amp;gt;r^2&amp;lt;/math&amp;gt;. The path length grows as &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, so the field grows as &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;. Outside the wire, the enclosed current stays fixed while the path length grows, so the field decreases as &amp;lt;math&amp;gt;1/r&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A circular path is useful because every point on it is the same distance from the axis. The field has the same magnitude at each of those points and runs tangent to the circle. In Figure 1, the arrow on the right side of the wire points up the page, as the right-hand rule predicts.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;max-width:100%; overflow-x:auto;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;zoom:0.75;&amp;quot;&amp;gt;[[File:Thick-wire-ampere-cross-section-and-field.png|alt=Wire cross-section with two Amperian loops, next to a plot of magnetic field versus radius.]]&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&#039;&#039;Figure 1. Original diagram and plot generated for this article. Left: two Amperian loops centered on the wire. Right: the magnetic field rises inside the wire, peaks at its surface, and falls outside.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== A Mathematical Model ===&lt;br /&gt;
Let &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; be the wire radius, &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; the distance from its axis, and &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; the total steady current. Assume a long, straight cylinder with uniform current density, and evaluate the field far from its ends. Ampere&#039;s law for steady currents gives&lt;br /&gt;
:&amp;lt;math&amp;gt;\oint_C\vec B\cdot d\vec\ell=\mu_0 I_{\mathrm{enc}}.&amp;lt;/math&amp;gt;&lt;br /&gt;
Choose the path orientation to follow the field and take current through the loop in the corresponding right-hand-rule direction as positive. By cylindrical symmetry, the field is tangent to the circle and has constant magnitude along it. Hence&lt;br /&gt;
:&amp;lt;math&amp;gt;B(2\pi r)=\mu_0 I_{\mathrm{enc}}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Inside the wire&#039;&#039;&#039; (&amp;lt;math&amp;gt;0&amp;lt;r&amp;lt;R&amp;lt;/math&amp;gt;). The current density is &amp;lt;math&amp;gt;J=I/(\pi R^2)&amp;lt;/math&amp;gt;. Multiplying by the area enclosed by the loop gives&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=J\pi r^2=I\frac{r^2}{R^2},\qquad B(r)=\frac{\mu_0 I r}{2\pi R^2}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Outside the wire&#039;&#039;&#039; (&amp;lt;math&amp;gt;r&amp;gt;R&amp;lt;/math&amp;gt;). The loop encloses the entire current, so&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=I,\qquad B(r)=\frac{\mu_0 I}{2\pi r}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At the center, symmetry gives &amp;lt;math&amp;gt;B(0)=0&amp;lt;/math&amp;gt;. Both formulas give &amp;lt;math&amp;gt;B(R)=\mu_0 I/(2\pi R)&amp;lt;/math&amp;gt; at the surface. The field is continuous there and reaches its maximum.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Exam check.&#039;&#039;&#039; The circumference always uses the loop radius &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;. For an inner loop, the wire radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; determines the fraction of current enclosed.&lt;br /&gt;
&lt;br /&gt;
=== A Computational Model ===&lt;br /&gt;
&lt;br /&gt;
[https://www.glowscript.org/#/user/shailenamin/folder/MyPrograms/program/ThickWireMagneticField Run the interactive thick-wire model in Web VPython]. Drag the loop-radius slider to see how the enclosed current and magnetic field change. Compare the readings at 1.0 cm and 4.0 cm: both have the same field magnitude even though they enclose different currents. The field is strongest at the wire surface (2.0 cm).&lt;br /&gt;
&lt;br /&gt;
For a wire with &amp;lt;math&amp;gt;R=2.0\ \mathrm{cm}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;I=8.0\ \mathrm A&amp;lt;/math&amp;gt;, the equations predict the following values. Notice that doubling the radius from the surface halves the field even though the enclosed current stays the same.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Loop radius (cm) !! Enclosed current (A) !! Field magnitude (μT)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 0 || 0&lt;br /&gt;
|-&lt;br /&gt;
| 1.0 || 2.0 || 40&lt;br /&gt;
|-&lt;br /&gt;
| 2.0 || 8.0 || 80&lt;br /&gt;
|-&lt;br /&gt;
| 4.0 || 8.0 || 40&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Simple ===&lt;br /&gt;
A wire of radius &amp;lt;math&amp;gt;2.0\ \mathrm{cm}&amp;lt;/math&amp;gt; carries &amp;lt;math&amp;gt;8.0\ \mathrm A&amp;lt;/math&amp;gt; uniformly out of the page. Find the field at a point &amp;lt;math&amp;gt;1.0\ \mathrm{cm}&amp;lt;/math&amp;gt; to the right of its center.&lt;br /&gt;
&lt;br /&gt;
The point is inside the wire. The loop encloses one-quarter of the wire&#039;s cross-sectional area, so&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=(8.0\ \mathrm A)\left(\frac{1.0}{2.0}\right)^2=2.0\ \mathrm A.&amp;lt;/math&amp;gt;&lt;br /&gt;
Therefore&lt;br /&gt;
:&amp;lt;math&amp;gt;B=\frac{(4\pi\times10^{-7}\ \mathrm{T\,m/A})(2.0\ \mathrm A)}{2\pi(0.010\ \mathrm m)}=4.0\times10^{-5}\ \mathrm T.&amp;lt;/math&amp;gt;&lt;br /&gt;
The field circles counterclockwise, so it points &#039;&#039;&#039;up the page&#039;&#039;&#039; at this point.&lt;br /&gt;
&lt;br /&gt;
=== Middling ===&lt;br /&gt;
For the same wire, at what radius outside the wire does the field have the same magnitude as it does at &amp;lt;math&amp;gt;r=1.0\ \mathrm{cm}&amp;lt;/math&amp;gt;?&lt;br /&gt;
&lt;br /&gt;
An outer loop encloses the full &amp;lt;math&amp;gt;8.0\ \mathrm A&amp;lt;/math&amp;gt;. Solving the outside-field expression for the radius gives&lt;br /&gt;
:&amp;lt;math&amp;gt;r=\frac{\mu_0 I}{2\pi B}=\frac{(4\pi\times10^{-7}\ \mathrm{T\,m/A})(8.0\ \mathrm A)}{2\pi(4.0\times10^{-5}\ \mathrm T)}=0.040\ \mathrm m=4.0\ \mathrm{cm}.&amp;lt;/math&amp;gt;&lt;br /&gt;
Since &amp;lt;math&amp;gt;4.0\ \mathrm{cm}&amp;gt;2.0\ \mathrm{cm}&amp;lt;/math&amp;gt;, the result is in the region where the outside-field expression applies.&lt;br /&gt;
&lt;br /&gt;
=== Difficult ===&lt;br /&gt;
An electron &amp;lt;math&amp;gt;4.0\ \mathrm{cm}&amp;lt;/math&amp;gt; to the right of the same wire&#039;s axis moves out of the page at &amp;lt;math&amp;gt;2.0\times10^6\ \mathrm{m/s}&amp;lt;/math&amp;gt;. Find the magnitude and direction of the magnetic force due to the wire.&lt;br /&gt;
&lt;br /&gt;
The field points up the page and has magnitude &amp;lt;math&amp;gt;4.0\times10^{-5}\ \mathrm T&amp;lt;/math&amp;gt;. The velocity is perpendicular to the field, which gives&lt;br /&gt;
:&amp;lt;math&amp;gt;|\vec F|=|q|vB=(1.602\times10^{-19}\ \mathrm C)(2.0\times10^6\ \mathrm{m/s})(4.0\times10^{-5}\ \mathrm T)=1.3\times10^{-17}\ \mathrm N.&amp;lt;/math&amp;gt;&lt;br /&gt;
The right-hand rule points &amp;lt;math&amp;gt;\vec v\times\vec B&amp;lt;/math&amp;gt; left. The electron&#039;s charge is negative, so its force points &#039;&#039;&#039;right, away from the wire&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Connectedness ==&lt;br /&gt;
In my electric motor cooling research, I work on removing heat near copper windings. The windings also carry the current that helps generate the motor&#039;s magnetic field. The long-wire model gives a starting point for estimating the field near a straight winding segment. In a real motor, nearby conductors, bends, and magnetic materials also shape the field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This matters in mechanical design because the field from one conductor can exert a force on a neighboring conductor carrying current. In a motor, that gives me a way to think about why the placement and mechanical support of windings matter. For a simpler example, a [[Magnetic Field of Coaxial Cable Using Ampere&#039;s Law|coaxial cable]] shows how a nearby return current changes the field. An outer loop encloses equal and opposite currents, so the field outside an ideal coaxial cable is zero.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
In 1820, Hans Christian Ørsted observed that an electric current could deflect a compass needle. The deflection connected electric current with magnetism and can be reproduced with a straight wire and a compass. Ampere&#039;s law relates the circulation of the magnetic field around the wire to the current through the loop.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
André-Marie Ampère followed up by studying how two parallel wires act on each other. Currents in the same direction attract the wires, while currents in opposite directions repel them. Ørsted&#039;s compass made the field around one wire observable. Ampère&#039;s experiments showed how the field from one current can affect a second current-carrying wire.&amp;lt;ref&amp;gt;National Institute of Standards and Technology, [https://www.nist.gov/si-redefinition/ampere/ampere-history Ampere: History].&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;max-width:100%; overflow-x:auto;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;zoom:0.75;&amp;quot;&amp;gt;[[File:Oersted experiment.png|alt=A wire suspended over a compass]]&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2. A wire passes over a compass in this 1876 illustration of Ørsted’s experiment. When current flows in the wire, the needle deflects. Agustin Privat-Deschanel, [https://commons.wikimedia.org/wiki/File:Oersted_experiment.png Wikimedia Commons], public domain in the United States.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Ampere&#039;s Law]]&lt;br /&gt;
* [[Magnetic Field of Coaxial Cable Using Ampere&#039;s Law]]&lt;br /&gt;
* [[Magnetic Field of a Solenoid Using Ampere&#039;s Law]]&lt;br /&gt;
* [[Lorentz Force]]&lt;br /&gt;
&lt;br /&gt;
=== Further reading ===&lt;br /&gt;
* Ruth W. Chabay and Bruce A. Sherwood, &#039;&#039;Matter &amp;amp; Interactions&#039;&#039;, 4th ed., vol. 2, Wiley, 2015, p. 887.&lt;br /&gt;
&lt;br /&gt;
=== External links ===&lt;br /&gt;
* [http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/magcur.html HyperPhysics: Magnetic Field of Current]&lt;br /&gt;
* [https://web.physics.ucsb.edu/~lecturedemonstrations/Composer/Pages/68.18.html UC Santa Barbara: Compasses and Current-Carrying Wire]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* OpenStax, &#039;&#039;College Physics&#039;&#039;, [https://openstax.org/books/college-physics/pages/22-9-magnetic-fields-produced-by-currents-amperes-law Section 22.9: Magnetic Fields Produced by Currents].&lt;br /&gt;
* UC Santa Barbara Physics Lecture Demonstrations, [https://web.physics.ucsb.edu/~lecturedemonstrations/Composer/Pages/68.18.html Compasses and Current-Carrying Wire].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Maxwell&#039;s Equations]]&lt;/div&gt;</summary>
		<author><name>Shailenamin</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=Magnetic_Field_of_a_Long_Thick_Wire_Using_Ampere%27s_Law&amp;diff=48509</id>
		<title>Magnetic Field of a Long Thick Wire Using Ampere&#039;s Law</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=Magnetic_Field_of_a_Long_Thick_Wire_Using_Ampere%27s_Law&amp;diff=48509"/>
		<updated>2026-11-28T23:43:14Z</updated>

		<summary type="html">&lt;p&gt;Shailenamin: Expand the main idea, engineering applications, and historical context with a NIST citation.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;&#039;&#039;&#039;Shailen Amin, Fall 2026&#039;&#039;&#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A long cylindrical wire carrying a steady current produces a magnetic field that circles its axis. With uniform current density, the field grows from zero at the center to a maximum at the wire surface and then decreases outside the wire.&lt;br /&gt;
&lt;br /&gt;
== The Main Idea ==&lt;br /&gt;
Look straight down the end of the wire. If the current comes out of the page, point your right thumb toward yourself. Your fingers curl counterclockwise, showing the direction of the magnetic field. Reversing the current reverses the field.&lt;br /&gt;
&lt;br /&gt;
An &#039;&#039;&#039;Amperian loop&#039;&#039;&#039; is an imaginary closed path. For this wire, choose a circle centered on the wire axis. Inside the wire, enlarging the circle increases the enclosed current in proportion to its area, which grows as &amp;lt;math&amp;gt;r^2&amp;lt;/math&amp;gt;. The path length grows as &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, so the field grows as &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;. Outside the wire, the enclosed current stays fixed while the path length grows, so the field decreases as &amp;lt;math&amp;gt;1/r&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A circular path is useful because every point on it is the same distance from the axis. The field has the same magnitude at each of those points and runs tangent to the circle. In Figure 1, the arrow on the right side of the wire points up the page, as the right-hand rule predicts.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;max-width:100%; overflow-x:auto;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;zoom:0.75;&amp;quot;&amp;gt;[[File:Thick-wire-ampere-cross-section-and-field.png|alt=Wire cross-section with two Amperian loops, next to a plot of magnetic field versus radius.]]&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&#039;&#039;Figure 1. Original diagram and plot generated for this article. Left: two Amperian loops centered on the wire. Right: the magnetic field rises inside the wire, peaks at its surface, and falls outside.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== A Mathematical Model ===&lt;br /&gt;
Let &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; be the wire radius, &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; the distance from its axis, and &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; the total steady current. Assume a long, straight cylinder with uniform current density, and evaluate the field far from its ends. Ampere&#039;s law for steady currents gives&lt;br /&gt;
:&amp;lt;math&amp;gt;\oint_C\vec B\cdot d\vec\ell=\mu_0 I_{\mathrm{enc}}.&amp;lt;/math&amp;gt;&lt;br /&gt;
Choose the path orientation to follow the field and take current through the loop in the corresponding right-hand-rule direction as positive. By cylindrical symmetry, the field is tangent to the circle and has constant magnitude along it. Hence&lt;br /&gt;
:&amp;lt;math&amp;gt;B(2\pi r)=\mu_0 I_{\mathrm{enc}}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Inside the wire&#039;&#039;&#039; (&amp;lt;math&amp;gt;0&amp;lt;r&amp;lt;R&amp;lt;/math&amp;gt;). The current density is &amp;lt;math&amp;gt;J=I/(\pi R^2)&amp;lt;/math&amp;gt;. Multiplying by the area enclosed by the loop gives&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=J\pi r^2=I\frac{r^2}{R^2},\qquad B(r)=\frac{\mu_0 I r}{2\pi R^2}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Outside the wire&#039;&#039;&#039; (&amp;lt;math&amp;gt;r&amp;gt;R&amp;lt;/math&amp;gt;). The loop encloses the entire current, so&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=I,\qquad B(r)=\frac{\mu_0 I}{2\pi r}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At the center, symmetry gives &amp;lt;math&amp;gt;B(0)=0&amp;lt;/math&amp;gt;. Both formulas give &amp;lt;math&amp;gt;B(R)=\mu_0 I/(2\pi R)&amp;lt;/math&amp;gt; at the surface. The field is continuous there and reaches its maximum.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Exam check.&#039;&#039;&#039; The circumference always uses the loop radius &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;. For an inner loop, the wire radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; determines the fraction of current enclosed.&lt;br /&gt;
&lt;br /&gt;
=== A Computational Model ===&lt;br /&gt;
&lt;br /&gt;
[https://www.glowscript.org/#/user/shailenamin/folder/MyPrograms/program/ThickWireMagneticField Run the interactive thick-wire model in Web VPython]. Drag the loop-radius slider to see how the enclosed current and magnetic field change. Compare the readings at 1.0 cm and 4.0 cm: both have the same field magnitude even though they enclose different currents. The field is strongest at the wire surface (2.0 cm).&lt;br /&gt;
&lt;br /&gt;
For a wire with &amp;lt;math&amp;gt;R=2.0\ \mathrm{cm}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;I=8.0\ \mathrm A&amp;lt;/math&amp;gt;, the equations predict the following values. Notice that doubling the radius from the surface halves the field even though the enclosed current stays the same.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Loop radius (cm) !! Enclosed current (A) !! Field magnitude (μT)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 0 || 0&lt;br /&gt;
|-&lt;br /&gt;
| 1.0 || 2.0 || 40&lt;br /&gt;
|-&lt;br /&gt;
| 2.0 || 8.0 || 80&lt;br /&gt;
|-&lt;br /&gt;
| 4.0 || 8.0 || 40&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Simple ===&lt;br /&gt;
A wire of radius &amp;lt;math&amp;gt;2.0\ \mathrm{cm}&amp;lt;/math&amp;gt; carries &amp;lt;math&amp;gt;8.0\ \mathrm A&amp;lt;/math&amp;gt; uniformly out of the page. Find the field at a point &amp;lt;math&amp;gt;1.0\ \mathrm{cm}&amp;lt;/math&amp;gt; to the right of its center.&lt;br /&gt;
&lt;br /&gt;
The point is inside the wire. The loop encloses one-quarter of the wire&#039;s cross-sectional area, so&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=(8.0\ \mathrm A)\left(\frac{1.0}{2.0}\right)^2=2.0\ \mathrm A.&amp;lt;/math&amp;gt;&lt;br /&gt;
Therefore&lt;br /&gt;
:&amp;lt;math&amp;gt;B=\frac{(4\pi\times10^{-7}\ \mathrm{T\,m/A})(2.0\ \mathrm A)}{2\pi(0.010\ \mathrm m)}=4.0\times10^{-5}\ \mathrm T.&amp;lt;/math&amp;gt;&lt;br /&gt;
The field circles counterclockwise, so it points &#039;&#039;&#039;up the page&#039;&#039;&#039; at this point.&lt;br /&gt;
&lt;br /&gt;
=== Middling ===&lt;br /&gt;
For the same wire, at what radius outside the wire does the field have the same magnitude as it does at &amp;lt;math&amp;gt;r=1.0\ \mathrm{cm}&amp;lt;/math&amp;gt;?&lt;br /&gt;
&lt;br /&gt;
An outer loop encloses the full &amp;lt;math&amp;gt;8.0\ \mathrm A&amp;lt;/math&amp;gt;. Solving the outside-field expression for the radius gives&lt;br /&gt;
:&amp;lt;math&amp;gt;r=\frac{\mu_0 I}{2\pi B}=\frac{(4\pi\times10^{-7}\ \mathrm{T\,m/A})(8.0\ \mathrm A)}{2\pi(4.0\times10^{-5}\ \mathrm T)}=0.040\ \mathrm m=4.0\ \mathrm{cm}.&amp;lt;/math&amp;gt;&lt;br /&gt;
Since &amp;lt;math&amp;gt;4.0\ \mathrm{cm}&amp;gt;2.0\ \mathrm{cm}&amp;lt;/math&amp;gt;, the result is in the region where the outside-field expression applies.&lt;br /&gt;
&lt;br /&gt;
=== Difficult ===&lt;br /&gt;
An electron &amp;lt;math&amp;gt;4.0\ \mathrm{cm}&amp;lt;/math&amp;gt; to the right of the same wire&#039;s axis moves out of the page at &amp;lt;math&amp;gt;2.0\times10^6\ \mathrm{m/s}&amp;lt;/math&amp;gt;. Find the magnitude and direction of the magnetic force due to the wire.&lt;br /&gt;
&lt;br /&gt;
The field points up the page and has magnitude &amp;lt;math&amp;gt;4.0\times10^{-5}\ \mathrm T&amp;lt;/math&amp;gt;. The velocity is perpendicular to the field, which gives&lt;br /&gt;
:&amp;lt;math&amp;gt;|\vec F|=|q|vB=(1.602\times10^{-19}\ \mathrm C)(2.0\times10^6\ \mathrm{m/s})(4.0\times10^{-5}\ \mathrm T)=1.3\times10^{-17}\ \mathrm N.&amp;lt;/math&amp;gt;&lt;br /&gt;
The right-hand rule points &amp;lt;math&amp;gt;\vec v\times\vec B&amp;lt;/math&amp;gt; left. The electron&#039;s charge is negative, so its force points &#039;&#039;&#039;right, away from the wire&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Connectedness ==&lt;br /&gt;
In my electric motor cooling research, I work on removing heat near copper windings. The windings also carry the current that helps generate the motor&#039;s magnetic field. The long-wire model gives a starting point for estimating the field near a straight winding segment. In a real motor, nearby conductors, bends, and magnetic materials also shape the field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This matters in mechanical design because the field from one conductor can exert a force on a neighboring conductor carrying current. In a motor, that gives me a way to think about why the placement and mechanical support of windings matter. For a simpler example, a [[Magnetic Field of Coaxial Cable Using Ampere&#039;s Law|coaxial cable]] shows how a nearby return current changes the field. An outer loop encloses equal and opposite currents, so the field outside an ideal coaxial cable is zero.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
In 1820, Hans Christian Ørsted observed that an electric current could deflect a compass needle. The deflection connected electric current with magnetism and can be reproduced with a straight wire and a compass. Ampere&#039;s law relates the circulation of the magnetic field around the wire to the current through the loop.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
André-Marie Ampère followed up by studying how two parallel wires act on each other. Currents in the same direction attract the wires, while currents in opposite directions repel them. Ørsted&#039;s compass made the field around one wire observable. Ampère&#039;s experiments showed how the field from one current can affect a second current-carrying wire.&amp;lt;ref&amp;gt;National Institute of Standards and Technology, [https://www.nist.gov/si-redefinition/ampere/ampere-history Ampere: History].&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Ampere&#039;s Law]]&lt;br /&gt;
* [[Magnetic Field of Coaxial Cable Using Ampere&#039;s Law]]&lt;br /&gt;
* [[Magnetic Field of a Solenoid Using Ampere&#039;s Law]]&lt;br /&gt;
* [[Lorentz Force]]&lt;br /&gt;
&lt;br /&gt;
=== Further reading ===&lt;br /&gt;
* Ruth W. Chabay and Bruce A. Sherwood, &#039;&#039;Matter &amp;amp; Interactions&#039;&#039;, 4th ed., vol. 2, Wiley, 2015, p. 887.&lt;br /&gt;
&lt;br /&gt;
=== External links ===&lt;br /&gt;
* [http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/magcur.html HyperPhysics: Magnetic Field of Current]&lt;br /&gt;
* [https://web.physics.ucsb.edu/~lecturedemonstrations/Composer/Pages/68.18.html UC Santa Barbara: Compasses and Current-Carrying Wire]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* OpenStax, &#039;&#039;College Physics&#039;&#039;, [https://openstax.org/books/college-physics/pages/22-9-magnetic-fields-produced-by-currents-amperes-law Section 22.9: Magnetic Fields Produced by Currents].&lt;br /&gt;
* UC Santa Barbara Physics Lecture Demonstrations, [https://web.physics.ucsb.edu/~lecturedemonstrations/Composer/Pages/68.18.html Compasses and Current-Carrying Wire].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Maxwell&#039;s Equations]]&lt;/div&gt;</summary>
		<author><name>Shailenamin</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=Magnetic_Field_of_a_Long_Thick_Wire_Using_Ampere%27s_Law&amp;diff=48508</id>
		<title>Magnetic Field of a Long Thick Wire Using Ampere&#039;s Law</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=Magnetic_Field_of_a_Long_Thick_Wire_Using_Ampere%27s_Law&amp;diff=48508"/>
		<updated>2026-11-28T23:36:11Z</updated>

		<summary type="html">&lt;p&gt;Shailenamin: Add the public Web VPython model and a guided comparison of two loop radii.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;&#039;&#039;&#039;Shailen Amin, Fall 2026&#039;&#039;&#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A long cylindrical wire carrying a steady current produces a magnetic field that circles its axis. With uniform current density, the field grows from zero at the center to a maximum at the wire surface and then decreases outside the wire.&lt;br /&gt;
&lt;br /&gt;
== The Main Idea ==&lt;br /&gt;
Look straight down the end of the wire. If the current comes out of the page, point your right thumb toward yourself. Your fingers curl counterclockwise, showing the direction of the magnetic field. Reversing the current reverses the field.&lt;br /&gt;
&lt;br /&gt;
An &#039;&#039;&#039;Amperian loop&#039;&#039;&#039; is an imaginary closed path. For this wire, choose a circle centered on the wire axis. Inside the wire, enlarging the circle increases the enclosed current in proportion to its area, which grows as &amp;lt;math&amp;gt;r^2&amp;lt;/math&amp;gt;. The path length grows as &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, so the field grows as &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;. Outside the wire, the enclosed current stays fixed while the path length grows, so the field decreases as &amp;lt;math&amp;gt;1/r&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;max-width:100%; overflow-x:auto;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;zoom:0.75;&amp;quot;&amp;gt;[[File:Thick-wire-ampere-cross-section-and-field.png|alt=Wire cross-section with two Amperian loops, next to a plot of magnetic field versus radius.]]&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&#039;&#039;Figure 1. Original diagram and plot generated for this article. Left: two Amperian loops centered on the wire. Right: the magnetic field rises inside the wire, peaks at its surface, and falls outside.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== A Mathematical Model ===&lt;br /&gt;
Let &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; be the wire radius, &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; the distance from its axis, and &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; the total steady current. Assume a long, straight cylinder with uniform current density, and evaluate the field far from its ends. Ampere&#039;s law for steady currents gives&lt;br /&gt;
:&amp;lt;math&amp;gt;\oint_C\vec B\cdot d\vec\ell=\mu_0 I_{\mathrm{enc}}.&amp;lt;/math&amp;gt;&lt;br /&gt;
Choose the path orientation to follow the field and take current through the loop in the corresponding right-hand-rule direction as positive. By cylindrical symmetry, the field is tangent to the circle and has constant magnitude along it. Hence&lt;br /&gt;
:&amp;lt;math&amp;gt;B(2\pi r)=\mu_0 I_{\mathrm{enc}}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Inside the wire&#039;&#039;&#039; (&amp;lt;math&amp;gt;0&amp;lt;r&amp;lt;R&amp;lt;/math&amp;gt;). The current density is &amp;lt;math&amp;gt;J=I/(\pi R^2)&amp;lt;/math&amp;gt;. Multiplying by the area enclosed by the loop gives&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=J\pi r^2=I\frac{r^2}{R^2},\qquad B(r)=\frac{\mu_0 I r}{2\pi R^2}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Outside the wire&#039;&#039;&#039; (&amp;lt;math&amp;gt;r&amp;gt;R&amp;lt;/math&amp;gt;). The loop encloses the entire current, so&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=I,\qquad B(r)=\frac{\mu_0 I}{2\pi r}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At the center, symmetry gives &amp;lt;math&amp;gt;B(0)=0&amp;lt;/math&amp;gt;. Both formulas give &amp;lt;math&amp;gt;B(R)=\mu_0 I/(2\pi R)&amp;lt;/math&amp;gt; at the surface. The field is continuous there and reaches its maximum.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Exam check.&#039;&#039;&#039; The circumference always uses the loop radius &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;. For an inner loop, the wire radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; determines the fraction of current enclosed.&lt;br /&gt;
&lt;br /&gt;
=== A Computational Model ===&lt;br /&gt;
&lt;br /&gt;
[https://www.glowscript.org/#/user/shailenamin/folder/MyPrograms/program/ThickWireMagneticField Run the interactive thick-wire model in Web VPython]. Drag the loop-radius slider to see how the enclosed current and magnetic field change. Compare the readings at 1.0 cm and 4.0 cm: both have the same field magnitude even though they enclose different currents. The field is strongest at the wire surface (2.0 cm).&lt;br /&gt;
&lt;br /&gt;
For a wire with &amp;lt;math&amp;gt;R=2.0\ \mathrm{cm}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;I=8.0\ \mathrm A&amp;lt;/math&amp;gt;, the equations predict the following values. Notice that doubling the radius from the surface halves the field even though the enclosed current stays the same.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Loop radius (cm) !! Enclosed current (A) !! Field magnitude (μT)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 0 || 0&lt;br /&gt;
|-&lt;br /&gt;
| 1.0 || 2.0 || 40&lt;br /&gt;
|-&lt;br /&gt;
| 2.0 || 8.0 || 80&lt;br /&gt;
|-&lt;br /&gt;
| 4.0 || 8.0 || 40&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Simple ===&lt;br /&gt;
A wire of radius &amp;lt;math&amp;gt;2.0\ \mathrm{cm}&amp;lt;/math&amp;gt; carries &amp;lt;math&amp;gt;8.0\ \mathrm A&amp;lt;/math&amp;gt; uniformly out of the page. Find the field at a point &amp;lt;math&amp;gt;1.0\ \mathrm{cm}&amp;lt;/math&amp;gt; to the right of its center.&lt;br /&gt;
&lt;br /&gt;
The point is inside the wire. The loop encloses one-quarter of the wire&#039;s cross-sectional area, so&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=(8.0\ \mathrm A)\left(\frac{1.0}{2.0}\right)^2=2.0\ \mathrm A.&amp;lt;/math&amp;gt;&lt;br /&gt;
Therefore&lt;br /&gt;
:&amp;lt;math&amp;gt;B=\frac{(4\pi\times10^{-7}\ \mathrm{T\,m/A})(2.0\ \mathrm A)}{2\pi(0.010\ \mathrm m)}=4.0\times10^{-5}\ \mathrm T.&amp;lt;/math&amp;gt;&lt;br /&gt;
The field circles counterclockwise, so it points &#039;&#039;&#039;up the page&#039;&#039;&#039; at this point.&lt;br /&gt;
&lt;br /&gt;
=== Middling ===&lt;br /&gt;
For the same wire, at what radius outside the wire does the field have the same magnitude as it does at &amp;lt;math&amp;gt;r=1.0\ \mathrm{cm}&amp;lt;/math&amp;gt;?&lt;br /&gt;
&lt;br /&gt;
An outer loop encloses the full &amp;lt;math&amp;gt;8.0\ \mathrm A&amp;lt;/math&amp;gt;. Solving the outside-field expression for the radius gives&lt;br /&gt;
:&amp;lt;math&amp;gt;r=\frac{\mu_0 I}{2\pi B}=\frac{(4\pi\times10^{-7}\ \mathrm{T\,m/A})(8.0\ \mathrm A)}{2\pi(4.0\times10^{-5}\ \mathrm T)}=0.040\ \mathrm m=4.0\ \mathrm{cm}.&amp;lt;/math&amp;gt;&lt;br /&gt;
Since &amp;lt;math&amp;gt;4.0\ \mathrm{cm}&amp;gt;2.0\ \mathrm{cm}&amp;lt;/math&amp;gt;, the result is in the region where the outside-field expression applies.&lt;br /&gt;
&lt;br /&gt;
=== Difficult ===&lt;br /&gt;
An electron &amp;lt;math&amp;gt;4.0\ \mathrm{cm}&amp;lt;/math&amp;gt; to the right of the same wire&#039;s axis moves out of the page at &amp;lt;math&amp;gt;2.0\times10^6\ \mathrm{m/s}&amp;lt;/math&amp;gt;. Find the magnitude and direction of the magnetic force due to the wire.&lt;br /&gt;
&lt;br /&gt;
The field points up the page and has magnitude &amp;lt;math&amp;gt;4.0\times10^{-5}\ \mathrm T&amp;lt;/math&amp;gt;. The velocity is perpendicular to the field, which gives&lt;br /&gt;
:&amp;lt;math&amp;gt;|\vec F|=|q|vB=(1.602\times10^{-19}\ \mathrm C)(2.0\times10^6\ \mathrm{m/s})(4.0\times10^{-5}\ \mathrm T)=1.3\times10^{-17}\ \mathrm N.&amp;lt;/math&amp;gt;&lt;br /&gt;
The right-hand rule points &amp;lt;math&amp;gt;\vec v\times\vec B&amp;lt;/math&amp;gt; left. The electron&#039;s charge is negative, so its force points &#039;&#039;&#039;right, away from the wire&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Connectedness ==&lt;br /&gt;
In my electric motor cooling research, I work on removing heat near copper windings. The windings also carry the current that helps generate the motor&#039;s magnetic field. The long-wire model gives a starting point for estimating the field near a straight winding segment. In a real motor, nearby conductors, bends, and magnetic materials also shape the field.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
In 1820, Hans Christian Ørsted observed that an electric current could deflect a compass needle. The deflection connected electric current with magnetism and can be reproduced with a straight wire and a compass. Ampere&#039;s law relates the circulation of the magnetic field around the wire to the current through the loop.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Ampere&#039;s Law]]&lt;br /&gt;
* [[Magnetic Field of Coaxial Cable Using Ampere&#039;s Law]]&lt;br /&gt;
* [[Magnetic Field of a Solenoid Using Ampere&#039;s Law]]&lt;br /&gt;
* [[Lorentz Force]]&lt;br /&gt;
&lt;br /&gt;
=== Further reading ===&lt;br /&gt;
* Ruth W. Chabay and Bruce A. Sherwood, &#039;&#039;Matter &amp;amp; Interactions&#039;&#039;, 4th ed., vol. 2, Wiley, 2015, p. 887.&lt;br /&gt;
&lt;br /&gt;
=== External links ===&lt;br /&gt;
* [http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/magcur.html HyperPhysics: Magnetic Field of Current]&lt;br /&gt;
* [https://web.physics.ucsb.edu/~lecturedemonstrations/Composer/Pages/68.18.html UC Santa Barbara: Compasses and Current-Carrying Wire]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* OpenStax, &#039;&#039;College Physics&#039;&#039;, [https://openstax.org/books/college-physics/pages/22-9-magnetic-fields-produced-by-currents-amperes-law Section 22.9: Magnetic Fields Produced by Currents].&lt;br /&gt;
* UC Santa Barbara Physics Lecture Demonstrations, [https://web.physics.ucsb.edu/~lecturedemonstrations/Composer/Pages/68.18.html Compasses and Current-Carrying Wire].&lt;br /&gt;
&lt;br /&gt;
[[Category:Maxwell&#039;s Equations]]&lt;/div&gt;</summary>
		<author><name>Shailenamin</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=Magnetic_Field_of_a_Long_Thick_Wire_Using_Ampere%27s_Law&amp;diff=48507</id>
		<title>Magnetic Field of a Long Thick Wire Using Ampere&#039;s Law</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=Magnetic_Field_of_a_Long_Thick_Wire_Using_Ampere%27s_Law&amp;diff=48507"/>
		<updated>2026-11-28T23:28:52Z</updated>

		<summary type="html">&lt;p&gt;Shailenamin: Reduce the display size of the original figure.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;&#039;&#039;&#039;Shailen Amin, Fall 2026&#039;&#039;&#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A long cylindrical wire carrying a steady current produces a magnetic field that circles its axis. With uniform current density, the field grows from zero at the center to a maximum at the wire surface and then decreases outside the wire.&lt;br /&gt;
&lt;br /&gt;
== The Main Idea ==&lt;br /&gt;
Look straight down the end of the wire. If the current comes out of the page, point your right thumb toward yourself. Your fingers curl counterclockwise, showing the direction of the magnetic field. Reversing the current reverses the field.&lt;br /&gt;
&lt;br /&gt;
An &#039;&#039;&#039;Amperian loop&#039;&#039;&#039; is an imaginary closed path. For this wire, choose a circle centered on the wire axis. Inside the wire, enlarging the circle increases the enclosed current in proportion to its area, which grows as &amp;lt;math&amp;gt;r^2&amp;lt;/math&amp;gt;. The path length grows as &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, so the field grows as &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;. Outside the wire, the enclosed current stays fixed while the path length grows, so the field decreases as &amp;lt;math&amp;gt;1/r&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;max-width:100%; overflow-x:auto;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;zoom:0.75;&amp;quot;&amp;gt;[[File:Thick-wire-ampere-cross-section-and-field.png|alt=Wire cross-section with two Amperian loops, next to a plot of magnetic field versus radius.]]&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&#039;&#039;Figure 1. Original diagram and plot generated for this article. Left: two Amperian loops centered on the wire. Right: the magnetic field rises inside the wire, peaks at its surface, and falls outside.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== A Mathematical Model ===&lt;br /&gt;
Let &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; be the wire radius, &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; the distance from its axis, and &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; the total steady current. Assume a long, straight cylinder with uniform current density, and evaluate the field far from its ends. Ampere&#039;s law for steady currents gives&lt;br /&gt;
:&amp;lt;math&amp;gt;\oint_C\vec B\cdot d\vec\ell=\mu_0 I_{\mathrm{enc}}.&amp;lt;/math&amp;gt;&lt;br /&gt;
Choose the path orientation to follow the field and take current through the loop in the corresponding right-hand-rule direction as positive. By cylindrical symmetry, the field is tangent to the circle and has constant magnitude along it. Hence&lt;br /&gt;
:&amp;lt;math&amp;gt;B(2\pi r)=\mu_0 I_{\mathrm{enc}}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Inside the wire&#039;&#039;&#039; (&amp;lt;math&amp;gt;0&amp;lt;r&amp;lt;R&amp;lt;/math&amp;gt;). The current density is &amp;lt;math&amp;gt;J=I/(\pi R^2)&amp;lt;/math&amp;gt;. Multiplying by the area enclosed by the loop gives&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=J\pi r^2=I\frac{r^2}{R^2},\qquad B(r)=\frac{\mu_0 I r}{2\pi R^2}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Outside the wire&#039;&#039;&#039; (&amp;lt;math&amp;gt;r&amp;gt;R&amp;lt;/math&amp;gt;). The loop encloses the entire current, so&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=I,\qquad B(r)=\frac{\mu_0 I}{2\pi r}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At the center, symmetry gives &amp;lt;math&amp;gt;B(0)=0&amp;lt;/math&amp;gt;. Both formulas give &amp;lt;math&amp;gt;B(R)=\mu_0 I/(2\pi R)&amp;lt;/math&amp;gt; at the surface. The field is continuous there and reaches its maximum.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Exam check.&#039;&#039;&#039; The circumference always uses the loop radius &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;. For an inner loop, the wire radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; determines the fraction of current enclosed.&lt;br /&gt;
&lt;br /&gt;
=== A Computational Model ===&lt;br /&gt;
For a wire with &amp;lt;math&amp;gt;R=2.0\ \mathrm{cm}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;I=8.0\ \mathrm A&amp;lt;/math&amp;gt;, the equations predict the following values. Notice that doubling the radius from the surface halves the field even though the enclosed current stays the same.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Loop radius (cm) !! Enclosed current (A) !! Field magnitude (μT)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 0 || 0&lt;br /&gt;
|-&lt;br /&gt;
| 1.0 || 2.0 || 40&lt;br /&gt;
|-&lt;br /&gt;
| 2.0 || 8.0 || 80&lt;br /&gt;
|-&lt;br /&gt;
| 4.0 || 8.0 || 40&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Simple ===&lt;br /&gt;
A wire of radius &amp;lt;math&amp;gt;2.0\ \mathrm{cm}&amp;lt;/math&amp;gt; carries &amp;lt;math&amp;gt;8.0\ \mathrm A&amp;lt;/math&amp;gt; uniformly out of the page. Find the field at a point &amp;lt;math&amp;gt;1.0\ \mathrm{cm}&amp;lt;/math&amp;gt; to the right of its center.&lt;br /&gt;
&lt;br /&gt;
The point is inside the wire. The loop encloses one-quarter of the wire&#039;s cross-sectional area, so&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=(8.0\ \mathrm A)\left(\frac{1.0}{2.0}\right)^2=2.0\ \mathrm A.&amp;lt;/math&amp;gt;&lt;br /&gt;
Therefore&lt;br /&gt;
:&amp;lt;math&amp;gt;B=\frac{(4\pi\times10^{-7}\ \mathrm{T\,m/A})(2.0\ \mathrm A)}{2\pi(0.010\ \mathrm m)}=4.0\times10^{-5}\ \mathrm T.&amp;lt;/math&amp;gt;&lt;br /&gt;
The field circles counterclockwise, so it points &#039;&#039;&#039;up the page&#039;&#039;&#039; at this point.&lt;br /&gt;
&lt;br /&gt;
=== Middling ===&lt;br /&gt;
For the same wire, at what radius outside the wire does the field have the same magnitude as it does at &amp;lt;math&amp;gt;r=1.0\ \mathrm{cm}&amp;lt;/math&amp;gt;?&lt;br /&gt;
&lt;br /&gt;
An outer loop encloses the full &amp;lt;math&amp;gt;8.0\ \mathrm A&amp;lt;/math&amp;gt;. Solving the outside-field expression for the radius gives&lt;br /&gt;
:&amp;lt;math&amp;gt;r=\frac{\mu_0 I}{2\pi B}=\frac{(4\pi\times10^{-7}\ \mathrm{T\,m/A})(8.0\ \mathrm A)}{2\pi(4.0\times10^{-5}\ \mathrm T)}=0.040\ \mathrm m=4.0\ \mathrm{cm}.&amp;lt;/math&amp;gt;&lt;br /&gt;
Since &amp;lt;math&amp;gt;4.0\ \mathrm{cm}&amp;gt;2.0\ \mathrm{cm}&amp;lt;/math&amp;gt;, the result is in the region where the outside-field expression applies.&lt;br /&gt;
&lt;br /&gt;
=== Difficult ===&lt;br /&gt;
An electron &amp;lt;math&amp;gt;4.0\ \mathrm{cm}&amp;lt;/math&amp;gt; to the right of the same wire&#039;s axis moves out of the page at &amp;lt;math&amp;gt;2.0\times10^6\ \mathrm{m/s}&amp;lt;/math&amp;gt;. Find the magnitude and direction of the magnetic force due to the wire.&lt;br /&gt;
&lt;br /&gt;
The field points up the page and has magnitude &amp;lt;math&amp;gt;4.0\times10^{-5}\ \mathrm T&amp;lt;/math&amp;gt;. The velocity is perpendicular to the field, which gives&lt;br /&gt;
:&amp;lt;math&amp;gt;|\vec F|=|q|vB=(1.602\times10^{-19}\ \mathrm C)(2.0\times10^6\ \mathrm{m/s})(4.0\times10^{-5}\ \mathrm T)=1.3\times10^{-17}\ \mathrm N.&amp;lt;/math&amp;gt;&lt;br /&gt;
The right-hand rule points &amp;lt;math&amp;gt;\vec v\times\vec B&amp;lt;/math&amp;gt; left. The electron&#039;s charge is negative, so its force points &#039;&#039;&#039;right, away from the wire&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Connectedness ==&lt;br /&gt;
In my electric motor cooling research, I work on removing heat near copper windings. The windings also carry the current that helps generate the motor&#039;s magnetic field. The long-wire model gives a starting point for estimating the field near a straight winding segment. In a real motor, nearby conductors, bends, and magnetic materials also shape the field.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
In 1820, Hans Christian Ørsted observed that an electric current could deflect a compass needle. The deflection connected electric current with magnetism and can be reproduced with a straight wire and a compass. Ampere&#039;s law relates the circulation of the magnetic field around the wire to the current through the loop.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Ampere&#039;s Law]]&lt;br /&gt;
* [[Magnetic Field of Coaxial Cable Using Ampere&#039;s Law]]&lt;br /&gt;
* [[Magnetic Field of a Solenoid Using Ampere&#039;s Law]]&lt;br /&gt;
* [[Lorentz Force]]&lt;br /&gt;
&lt;br /&gt;
=== Further reading ===&lt;br /&gt;
* Ruth W. Chabay and Bruce A. Sherwood, &#039;&#039;Matter &amp;amp; Interactions&#039;&#039;, 4th ed., vol. 2, Wiley, 2015, p. 887.&lt;br /&gt;
&lt;br /&gt;
=== External links ===&lt;br /&gt;
* [http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/magcur.html HyperPhysics: Magnetic Field of Current]&lt;br /&gt;
* [https://web.physics.ucsb.edu/~lecturedemonstrations/Composer/Pages/68.18.html UC Santa Barbara: Compasses and Current-Carrying Wire]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* OpenStax, &#039;&#039;College Physics&#039;&#039;, [https://openstax.org/books/college-physics/pages/22-9-magnetic-fields-produced-by-currents-amperes-law Section 22.9: Magnetic Fields Produced by Currents].&lt;br /&gt;
* UC Santa Barbara Physics Lecture Demonstrations, [https://web.physics.ucsb.edu/~lecturedemonstrations/Composer/Pages/68.18.html Compasses and Current-Carrying Wire].&lt;br /&gt;
&lt;br /&gt;
[[Category:Maxwell&#039;s Equations]]&lt;/div&gt;</summary>
		<author><name>Shailenamin</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=Magnetic_Field_of_a_Long_Thick_Wire_Using_Ampere%27s_Law&amp;diff=48506</id>
		<title>Magnetic Field of a Long Thick Wire Using Ampere&#039;s Law</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=Magnetic_Field_of_a_Long_Thick_Wire_Using_Ampere%27s_Law&amp;diff=48506"/>
		<updated>2026-11-28T23:28:03Z</updated>

		<summary type="html">&lt;p&gt;Shailenamin: Add original wire cross-section diagram and magnetic field plot.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;&#039;&#039;&#039;Shailen Amin, Fall 2026&#039;&#039;&#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A long cylindrical wire carrying a steady current produces a magnetic field that circles its axis. With uniform current density, the field grows from zero at the center to a maximum at the wire surface and then decreases outside the wire.&lt;br /&gt;
&lt;br /&gt;
== The Main Idea ==&lt;br /&gt;
Look straight down the end of the wire. If the current comes out of the page, point your right thumb toward yourself. Your fingers curl counterclockwise, showing the direction of the magnetic field. Reversing the current reverses the field.&lt;br /&gt;
&lt;br /&gt;
An &#039;&#039;&#039;Amperian loop&#039;&#039;&#039; is an imaginary closed path. For this wire, choose a circle centered on the wire axis. Inside the wire, enlarging the circle increases the enclosed current in proportion to its area, which grows as &amp;lt;math&amp;gt;r^2&amp;lt;/math&amp;gt;. The path length grows as &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, so the field grows as &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;. Outside the wire, the enclosed current stays fixed while the path length grows, so the field decreases as &amp;lt;math&amp;gt;1/r&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;max-width:100%; overflow-x:auto;&amp;quot;&amp;gt;[[File:Thick-wire-ampere-cross-section-and-field.png|alt=Wire cross-section with two Amperian loops, next to a plot of magnetic field versus radius.]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&#039;&#039;Figure 1. Original diagram and plot generated for this article. Left: two Amperian loops centered on the wire. Right: the magnetic field rises inside the wire, peaks at its surface, and falls outside.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== A Mathematical Model ===&lt;br /&gt;
Let &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; be the wire radius, &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; the distance from its axis, and &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; the total steady current. Assume a long, straight cylinder with uniform current density, and evaluate the field far from its ends. Ampere&#039;s law for steady currents gives&lt;br /&gt;
:&amp;lt;math&amp;gt;\oint_C\vec B\cdot d\vec\ell=\mu_0 I_{\mathrm{enc}}.&amp;lt;/math&amp;gt;&lt;br /&gt;
Choose the path orientation to follow the field and take current through the loop in the corresponding right-hand-rule direction as positive. By cylindrical symmetry, the field is tangent to the circle and has constant magnitude along it. Hence&lt;br /&gt;
:&amp;lt;math&amp;gt;B(2\pi r)=\mu_0 I_{\mathrm{enc}}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Inside the wire&#039;&#039;&#039; (&amp;lt;math&amp;gt;0&amp;lt;r&amp;lt;R&amp;lt;/math&amp;gt;). The current density is &amp;lt;math&amp;gt;J=I/(\pi R^2)&amp;lt;/math&amp;gt;. Multiplying by the area enclosed by the loop gives&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=J\pi r^2=I\frac{r^2}{R^2},\qquad B(r)=\frac{\mu_0 I r}{2\pi R^2}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Outside the wire&#039;&#039;&#039; (&amp;lt;math&amp;gt;r&amp;gt;R&amp;lt;/math&amp;gt;). The loop encloses the entire current, so&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=I,\qquad B(r)=\frac{\mu_0 I}{2\pi r}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At the center, symmetry gives &amp;lt;math&amp;gt;B(0)=0&amp;lt;/math&amp;gt;. Both formulas give &amp;lt;math&amp;gt;B(R)=\mu_0 I/(2\pi R)&amp;lt;/math&amp;gt; at the surface. The field is continuous there and reaches its maximum.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Exam check.&#039;&#039;&#039; The circumference always uses the loop radius &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;. For an inner loop, the wire radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; determines the fraction of current enclosed.&lt;br /&gt;
&lt;br /&gt;
=== A Computational Model ===&lt;br /&gt;
For a wire with &amp;lt;math&amp;gt;R=2.0\ \mathrm{cm}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;I=8.0\ \mathrm A&amp;lt;/math&amp;gt;, the equations predict the following values. Notice that doubling the radius from the surface halves the field even though the enclosed current stays the same.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Loop radius (cm) !! Enclosed current (A) !! Field magnitude (μT)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 0 || 0&lt;br /&gt;
|-&lt;br /&gt;
| 1.0 || 2.0 || 40&lt;br /&gt;
|-&lt;br /&gt;
| 2.0 || 8.0 || 80&lt;br /&gt;
|-&lt;br /&gt;
| 4.0 || 8.0 || 40&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Simple ===&lt;br /&gt;
A wire of radius &amp;lt;math&amp;gt;2.0\ \mathrm{cm}&amp;lt;/math&amp;gt; carries &amp;lt;math&amp;gt;8.0\ \mathrm A&amp;lt;/math&amp;gt; uniformly out of the page. Find the field at a point &amp;lt;math&amp;gt;1.0\ \mathrm{cm}&amp;lt;/math&amp;gt; to the right of its center.&lt;br /&gt;
&lt;br /&gt;
The point is inside the wire. The loop encloses one-quarter of the wire&#039;s cross-sectional area, so&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=(8.0\ \mathrm A)\left(\frac{1.0}{2.0}\right)^2=2.0\ \mathrm A.&amp;lt;/math&amp;gt;&lt;br /&gt;
Therefore&lt;br /&gt;
:&amp;lt;math&amp;gt;B=\frac{(4\pi\times10^{-7}\ \mathrm{T\,m/A})(2.0\ \mathrm A)}{2\pi(0.010\ \mathrm m)}=4.0\times10^{-5}\ \mathrm T.&amp;lt;/math&amp;gt;&lt;br /&gt;
The field circles counterclockwise, so it points &#039;&#039;&#039;up the page&#039;&#039;&#039; at this point.&lt;br /&gt;
&lt;br /&gt;
=== Middling ===&lt;br /&gt;
For the same wire, at what radius outside the wire does the field have the same magnitude as it does at &amp;lt;math&amp;gt;r=1.0\ \mathrm{cm}&amp;lt;/math&amp;gt;?&lt;br /&gt;
&lt;br /&gt;
An outer loop encloses the full &amp;lt;math&amp;gt;8.0\ \mathrm A&amp;lt;/math&amp;gt;. Solving the outside-field expression for the radius gives&lt;br /&gt;
:&amp;lt;math&amp;gt;r=\frac{\mu_0 I}{2\pi B}=\frac{(4\pi\times10^{-7}\ \mathrm{T\,m/A})(8.0\ \mathrm A)}{2\pi(4.0\times10^{-5}\ \mathrm T)}=0.040\ \mathrm m=4.0\ \mathrm{cm}.&amp;lt;/math&amp;gt;&lt;br /&gt;
Since &amp;lt;math&amp;gt;4.0\ \mathrm{cm}&amp;gt;2.0\ \mathrm{cm}&amp;lt;/math&amp;gt;, the result is in the region where the outside-field expression applies.&lt;br /&gt;
&lt;br /&gt;
=== Difficult ===&lt;br /&gt;
An electron &amp;lt;math&amp;gt;4.0\ \mathrm{cm}&amp;lt;/math&amp;gt; to the right of the same wire&#039;s axis moves out of the page at &amp;lt;math&amp;gt;2.0\times10^6\ \mathrm{m/s}&amp;lt;/math&amp;gt;. Find the magnitude and direction of the magnetic force due to the wire.&lt;br /&gt;
&lt;br /&gt;
The field points up the page and has magnitude &amp;lt;math&amp;gt;4.0\times10^{-5}\ \mathrm T&amp;lt;/math&amp;gt;. The velocity is perpendicular to the field, which gives&lt;br /&gt;
:&amp;lt;math&amp;gt;|\vec F|=|q|vB=(1.602\times10^{-19}\ \mathrm C)(2.0\times10^6\ \mathrm{m/s})(4.0\times10^{-5}\ \mathrm T)=1.3\times10^{-17}\ \mathrm N.&amp;lt;/math&amp;gt;&lt;br /&gt;
The right-hand rule points &amp;lt;math&amp;gt;\vec v\times\vec B&amp;lt;/math&amp;gt; left. The electron&#039;s charge is negative, so its force points &#039;&#039;&#039;right, away from the wire&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Connectedness ==&lt;br /&gt;
In my electric motor cooling research, I work on removing heat near copper windings. The windings also carry the current that helps generate the motor&#039;s magnetic field. The long-wire model gives a starting point for estimating the field near a straight winding segment. In a real motor, nearby conductors, bends, and magnetic materials also shape the field.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
In 1820, Hans Christian Ørsted observed that an electric current could deflect a compass needle. The deflection connected electric current with magnetism and can be reproduced with a straight wire and a compass. Ampere&#039;s law relates the circulation of the magnetic field around the wire to the current through the loop.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Ampere&#039;s Law]]&lt;br /&gt;
* [[Magnetic Field of Coaxial Cable Using Ampere&#039;s Law]]&lt;br /&gt;
* [[Magnetic Field of a Solenoid Using Ampere&#039;s Law]]&lt;br /&gt;
* [[Lorentz Force]]&lt;br /&gt;
&lt;br /&gt;
=== Further reading ===&lt;br /&gt;
* Ruth W. Chabay and Bruce A. Sherwood, &#039;&#039;Matter &amp;amp; Interactions&#039;&#039;, 4th ed., vol. 2, Wiley, 2015, p. 887.&lt;br /&gt;
&lt;br /&gt;
=== External links ===&lt;br /&gt;
* [http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/magcur.html HyperPhysics: Magnetic Field of Current]&lt;br /&gt;
* [https://web.physics.ucsb.edu/~lecturedemonstrations/Composer/Pages/68.18.html UC Santa Barbara: Compasses and Current-Carrying Wire]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* OpenStax, &#039;&#039;College Physics&#039;&#039;, [https://openstax.org/books/college-physics/pages/22-9-magnetic-fields-produced-by-currents-amperes-law Section 22.9: Magnetic Fields Produced by Currents].&lt;br /&gt;
* UC Santa Barbara Physics Lecture Demonstrations, [https://web.physics.ucsb.edu/~lecturedemonstrations/Composer/Pages/68.18.html Compasses and Current-Carrying Wire].&lt;br /&gt;
&lt;br /&gt;
[[Category:Maxwell&#039;s Equations]]&lt;/div&gt;</summary>
		<author><name>Shailenamin</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=File:Thick-wire-ampere-cross-section-and-field.png&amp;diff=48505</id>
		<title>File:Thick-wire-ampere-cross-section-and-field.png</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=File:Thick-wire-ampere-cross-section-and-field.png&amp;diff=48505"/>
		<updated>2026-11-28T23:26:33Z</updated>

		<summary type="html">&lt;p&gt;Shailenamin: Original diagram and field plot generated for this Physics II wiki article using the equations derived on the page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Original diagram and field plot generated for this Physics II wiki article using the equations derived on the page.&lt;/div&gt;</summary>
		<author><name>Shailenamin</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=Magnetic_Field_of_a_Long_Thick_Wire_Using_Ampere%27s_Law&amp;diff=48504</id>
		<title>Magnetic Field of a Long Thick Wire Using Ampere&#039;s Law</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=Magnetic_Field_of_a_Long_Thick_Wire_Using_Ampere%27s_Law&amp;diff=48504"/>
		<updated>2026-11-28T23:24:46Z</updated>

		<summary type="html">&lt;p&gt;Shailenamin: Derive the inside and outside fields, add three worked examples, and update references and claim.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;&#039;&#039;&#039;Shailen Amin, Fall 2026&#039;&#039;&#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A long cylindrical wire carrying a steady current produces a magnetic field that circles its axis. With uniform current density, the field grows from zero at the center to a maximum at the wire surface and then decreases outside the wire.&lt;br /&gt;
&lt;br /&gt;
== The Main Idea ==&lt;br /&gt;
Look straight down the end of the wire. If the current comes out of the page, point your right thumb toward yourself. Your fingers curl counterclockwise, showing the direction of the magnetic field. Reversing the current reverses the field.&lt;br /&gt;
&lt;br /&gt;
An &#039;&#039;&#039;Amperian loop&#039;&#039;&#039; is an imaginary closed path. For this wire, choose a circle centered on the wire axis. Inside the wire, enlarging the circle increases the enclosed current in proportion to its area, which grows as &amp;lt;math&amp;gt;r^2&amp;lt;/math&amp;gt;. The path length grows as &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, so the field grows as &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;. Outside the wire, the enclosed current stays fixed while the path length grows, so the field decreases as &amp;lt;math&amp;gt;1/r&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== A Mathematical Model ===&lt;br /&gt;
Let &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; be the wire radius, &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; the distance from its axis, and &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; the total steady current. Assume a long, straight cylinder with uniform current density, and evaluate the field far from its ends. Ampere&#039;s law for steady currents gives&lt;br /&gt;
:&amp;lt;math&amp;gt;\oint_C\vec B\cdot d\vec\ell=\mu_0 I_{\mathrm{enc}}.&amp;lt;/math&amp;gt;&lt;br /&gt;
Choose the path orientation to follow the field and take current through the loop in the corresponding right-hand-rule direction as positive. By cylindrical symmetry, the field is tangent to the circle and has constant magnitude along it. Hence&lt;br /&gt;
:&amp;lt;math&amp;gt;B(2\pi r)=\mu_0 I_{\mathrm{enc}}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Inside the wire&#039;&#039;&#039; (&amp;lt;math&amp;gt;0&amp;lt;r&amp;lt;R&amp;lt;/math&amp;gt;). The current density is &amp;lt;math&amp;gt;J=I/(\pi R^2)&amp;lt;/math&amp;gt;. Multiplying by the area enclosed by the loop gives&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=J\pi r^2=I\frac{r^2}{R^2},\qquad B(r)=\frac{\mu_0 I r}{2\pi R^2}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Outside the wire&#039;&#039;&#039; (&amp;lt;math&amp;gt;r&amp;gt;R&amp;lt;/math&amp;gt;). The loop encloses the entire current, so&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=I,\qquad B(r)=\frac{\mu_0 I}{2\pi r}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At the center, symmetry gives &amp;lt;math&amp;gt;B(0)=0&amp;lt;/math&amp;gt;. Both formulas give &amp;lt;math&amp;gt;B(R)=\mu_0 I/(2\pi R)&amp;lt;/math&amp;gt; at the surface. The field is continuous there and reaches its maximum.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Exam check.&#039;&#039;&#039; The circumference always uses the loop radius &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;. For an inner loop, the wire radius &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; determines the fraction of current enclosed.&lt;br /&gt;
&lt;br /&gt;
=== A Computational Model ===&lt;br /&gt;
For a wire with &amp;lt;math&amp;gt;R=2.0\ \mathrm{cm}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;I=8.0\ \mathrm A&amp;lt;/math&amp;gt;, the equations predict the following values. Notice that doubling the radius from the surface halves the field even though the enclosed current stays the same.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Loop radius (cm) !! Enclosed current (A) !! Field magnitude (μT)&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 0 || 0&lt;br /&gt;
|-&lt;br /&gt;
| 1.0 || 2.0 || 40&lt;br /&gt;
|-&lt;br /&gt;
| 2.0 || 8.0 || 80&lt;br /&gt;
|-&lt;br /&gt;
| 4.0 || 8.0 || 40&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Simple ===&lt;br /&gt;
A wire of radius &amp;lt;math&amp;gt;2.0\ \mathrm{cm}&amp;lt;/math&amp;gt; carries &amp;lt;math&amp;gt;8.0\ \mathrm A&amp;lt;/math&amp;gt; uniformly out of the page. Find the field at a point &amp;lt;math&amp;gt;1.0\ \mathrm{cm}&amp;lt;/math&amp;gt; to the right of its center.&lt;br /&gt;
&lt;br /&gt;
The point is inside the wire. The loop encloses one-quarter of the wire&#039;s cross-sectional area, so&lt;br /&gt;
:&amp;lt;math&amp;gt;I_{\mathrm{enc}}=(8.0\ \mathrm A)\left(\frac{1.0}{2.0}\right)^2=2.0\ \mathrm A.&amp;lt;/math&amp;gt;&lt;br /&gt;
Therefore&lt;br /&gt;
:&amp;lt;math&amp;gt;B=\frac{(4\pi\times10^{-7}\ \mathrm{T\,m/A})(2.0\ \mathrm A)}{2\pi(0.010\ \mathrm m)}=4.0\times10^{-5}\ \mathrm T.&amp;lt;/math&amp;gt;&lt;br /&gt;
The field circles counterclockwise, so it points &#039;&#039;&#039;up the page&#039;&#039;&#039; at this point.&lt;br /&gt;
&lt;br /&gt;
=== Middling ===&lt;br /&gt;
For the same wire, at what radius outside the wire does the field have the same magnitude as it does at &amp;lt;math&amp;gt;r=1.0\ \mathrm{cm}&amp;lt;/math&amp;gt;?&lt;br /&gt;
&lt;br /&gt;
An outer loop encloses the full &amp;lt;math&amp;gt;8.0\ \mathrm A&amp;lt;/math&amp;gt;. Solving the outside-field expression for the radius gives&lt;br /&gt;
:&amp;lt;math&amp;gt;r=\frac{\mu_0 I}{2\pi B}=\frac{(4\pi\times10^{-7}\ \mathrm{T\,m/A})(8.0\ \mathrm A)}{2\pi(4.0\times10^{-5}\ \mathrm T)}=0.040\ \mathrm m=4.0\ \mathrm{cm}.&amp;lt;/math&amp;gt;&lt;br /&gt;
Since &amp;lt;math&amp;gt;4.0\ \mathrm{cm}&amp;gt;2.0\ \mathrm{cm}&amp;lt;/math&amp;gt;, the result is in the region where the outside-field expression applies.&lt;br /&gt;
&lt;br /&gt;
=== Difficult ===&lt;br /&gt;
An electron &amp;lt;math&amp;gt;4.0\ \mathrm{cm}&amp;lt;/math&amp;gt; to the right of the same wire&#039;s axis moves out of the page at &amp;lt;math&amp;gt;2.0\times10^6\ \mathrm{m/s}&amp;lt;/math&amp;gt;. Find the magnitude and direction of the magnetic force due to the wire.&lt;br /&gt;
&lt;br /&gt;
The field points up the page and has magnitude &amp;lt;math&amp;gt;4.0\times10^{-5}\ \mathrm T&amp;lt;/math&amp;gt;. The velocity is perpendicular to the field, which gives&lt;br /&gt;
:&amp;lt;math&amp;gt;|\vec F|=|q|vB=(1.602\times10^{-19}\ \mathrm C)(2.0\times10^6\ \mathrm{m/s})(4.0\times10^{-5}\ \mathrm T)=1.3\times10^{-17}\ \mathrm N.&amp;lt;/math&amp;gt;&lt;br /&gt;
The right-hand rule points &amp;lt;math&amp;gt;\vec v\times\vec B&amp;lt;/math&amp;gt; left. The electron&#039;s charge is negative, so its force points &#039;&#039;&#039;right, away from the wire&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Connectedness ==&lt;br /&gt;
In my electric motor cooling research, I work on removing heat near copper windings. The windings also carry the current that helps generate the motor&#039;s magnetic field. The long-wire model gives a starting point for estimating the field near a straight winding segment. In a real motor, nearby conductors, bends, and magnetic materials also shape the field.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
In 1820, Hans Christian Ørsted observed that an electric current could deflect a compass needle. The deflection connected electric current with magnetism and can be reproduced with a straight wire and a compass. Ampere&#039;s law relates the circulation of the magnetic field around the wire to the current through the loop.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Ampere&#039;s Law]]&lt;br /&gt;
* [[Magnetic Field of Coaxial Cable Using Ampere&#039;s Law]]&lt;br /&gt;
* [[Magnetic Field of a Solenoid Using Ampere&#039;s Law]]&lt;br /&gt;
* [[Lorentz Force]]&lt;br /&gt;
&lt;br /&gt;
=== Further reading ===&lt;br /&gt;
* Ruth W. Chabay and Bruce A. Sherwood, &#039;&#039;Matter &amp;amp; Interactions&#039;&#039;, 4th ed., vol. 2, Wiley, 2015, p. 887.&lt;br /&gt;
&lt;br /&gt;
=== External links ===&lt;br /&gt;
* [http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/magcur.html HyperPhysics: Magnetic Field of Current]&lt;br /&gt;
* [https://web.physics.ucsb.edu/~lecturedemonstrations/Composer/Pages/68.18.html UC Santa Barbara: Compasses and Current-Carrying Wire]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* OpenStax, &#039;&#039;College Physics&#039;&#039;, [https://openstax.org/books/college-physics/pages/22-9-magnetic-fields-produced-by-currents-amperes-law Section 22.9: Magnetic Fields Produced by Currents].&lt;br /&gt;
* UC Santa Barbara Physics Lecture Demonstrations, [https://web.physics.ucsb.edu/~lecturedemonstrations/Composer/Pages/68.18.html Compasses and Current-Carrying Wire].&lt;br /&gt;
&lt;br /&gt;
[[Category:Maxwell&#039;s Equations]]&lt;/div&gt;</summary>
		<author><name>Shailenamin</name></author>
	</entry>
</feed>