Ben Gurion University of the Negev www.bgu.ac.il/atomchip, www.bgu.ac.il/nanocenter Physics 2 for Electrical Engineering Lecturers: Daniel Rohrlich , Ron Folman Teaching Assistants: Ben Yellin, Yoav Etzioni Grader: Gady Afek Week 7. Sources of the magnetic field – Biot-Savart law • parallel currents • Ampère’s law • Gauss’s law for B • towards Maxwell’s equations Sources: Halliday, Resnick and Krane, 5th Edition, Chap. 33. Biot-Savart law The last lecture was all about how moving charges respond to magnetic fields. This lecture is all about how moving charges create magnetic fields! Until 1820, magnetism was known only from magnetic rocks. Magnetite from Utah, U.S.A. © R.Weller/Cochise College. Biot-Savart law The last lecture was all about how moving charges respond to magnetic fields. This lecture is all about how moving charges create magnetic fields! In 1820, the Danish scientist Hans Christian Oersted gave a lecture-demonstration about how an electric current in a wire generates heat. For another part of the demonstration, he had a compass nearby. While lecturing, he noticed to his surprise that every time the electric current was switched on, the compass needle moved. He said nothing but, after a few months of experiments, published his discovery (in Latin) with no explanation. Biot-Savart law Within months, Jean-Baptiste Biot and Félix Savart had made careful quantitative experiments on the force exerted by an electric current on a nearby magnet. They summarized their results in the law named after them. dB r ds Biot-Savart law Each current element ds contributes to the magnetic field B(r) 0 I ds rˆ a contribution dB , where μ0 = 4π × 10–7 T·m/A . 4 r 2 dB r ds Biot-Savart law Each current element ds contributes to the magnetic field B(r) 0 I ds rˆ a contribution dB , where μ0 = 4π × 10–7 T·m/A . 4 r 2 dB r “the permeability of free space” ds Biot-Savart law Each current element ds contributes to the magnetic field B(r) 0 I ds rˆ a contribution dB , where μ0 = 4π × 10–7 T·m/A . 4 r 2 dB r • The vector dB is perpendicular to ds and to r. • The vector dB is proportional to I, to 1/r2 and to |ds|. • When ds and r are parallel, dB vanishes. • When ds and r are not parallel, dB is perpendicular to both of them, according to the right-hand rule: ds Right-hand rule (for the Biot-Savart law): dB ds r Biot-Savart law Each current element ds contributes to the magnetic field B(r) 0 I ds rˆ a contribution dB , where μ0 = 4π × 10–7 T·m/A . 4 r 2 dB r • The vector dB is perpendicular to ds and to r. • The vector dB is proportional to I, to 1/r2 and to |ds|. • When ds and r are parallel, dB vanishes. • When ds and r are not parallel, dB is perpendicular to both of them, according to the right-hand rule, and proportional to the sine of the ds → r angle. ds Biot-Savart law Example 1: A point makes angles θ1 and θ2 with the ends of a straight wire carrying current I. The distance of the point from the wire is a. What is B? dB r a θ1 θ2 ds Biot-Savart law Example 1: A point makes angles θ1 and θ2 with the ends of a straight wire carrying current I. The distance of the point from the wire is a. What is B? y Answer: Introduce x- and y-axes. Note that r = (0,a) – (x,0) = (–x, a), that a = r sin θ and thus r = a/sin θ. Note also that x = –r cos θ = –a cot θ, so dx = a dθ /sin2 θ. dB a θ1 r θ ds θ2 x Biot-Savart law Example 1: A point makes angles θ1 and θ2 with the ends of a straight wire carrying current I. The distance of the point from the wire is a. What is B? y Answer: The magnetic field is the integral dB a θ1 0 B(r) dB I 4 0 ˆ k I 2 4 r but dx/r2 = dθ/a, so ds rˆ sin r 2 dx r θ ds θ2 x Biot-Savart law Example 1: A point makes angles θ1 and θ2 with the ends of a straight wire carrying current I. The distance of the point from the wire is a. What is B? y Answer: The magnetic field is the integral dB B(r ) kˆ I kˆ I a θ1 r θ ds 0 2 sin d 4 a 1 0 cos1 cos 2 . 4 a θ2 x Biot-Savart law Example 2: What is B if the wire is straight and infinitely long? y dB a θ1 r θ ds θ2 x Biot-Savart law Example 2: What is B if the wire is straight and infinitely long? Answer: Then θ1 = 0 and θ2 = π so 0 ˆ cos1 cos 2 B(r ) k I 4 a 0 ˆ k I . 2 a y dB a θ1 r θ ds θ2 x Biot-Savart law In this example, a different version of the right-hand rule is useful: If your thumb shows the direction of the current, your fingers curl in the direction of the magnetic field. y dB a θ1 r θ ds θ2 x Biot-Savart law Example 3: What is B a distance x along the symmetry axis of a circular loop of radius R carrying current I? y r R θ dB θ x Biot-Savart law Example 3: What is B a distance x along the symmetry axis of a circular loop of radius R carrying current I? Answer: The magnitude of dB is dB = μ0 I ds/4πr2 , where r2 = x2 + R2, but only the x-component of dB survives. We multiply dB by cos θ = R/r and replace ds by 2πR to get B y r R θ 0 IR 2 2 [x R ] 2 2 3/ 2 . dB θ x Parallel currents Now let’s look at magnetic fields and moving charges as a complete system. Our first question is simple but important: Two straight, infinitely long parallel wires, of separation a, carry currents I1 and I2 . What is their mutual force per unit length? The field due to one current (say, I1) is μ0 I1/2πa. It exerts a magnetic force (μ0 I1/2πa) I2L. on any section of length L in the other wire. Therefore the magnetic force per unit length FB /L is FB /L= μ0 I1I2/2πa. This force per unit length is invariant if we interchange I1 and I2. If we check the direction of each force, we find that the mutual forces are equal and opposite, as Newton’s third law requires. Parallel currents Do parallel currents attract or repel each other? What about anti-parallel currents? Parallel currents Do parallel currents attract or repel each other? What about anti-parallel currents? L I1 B2 F2 a a I2 Parallel currents A large current begins to flow through a spring. Does the spring expand or contract? Parallel currents We calculated the magnetic force per unit length to be FB 0 I1I 2 L 2a . Now let’s try some numbers. Assume I1 = I2 = I, a = 1 m, and FB/L = 2 × 10–7 N/m. Since μ0 = 4π × 10–7 T·m/A, we have 2 10 7 N / m 2 10 7 (T/A) I 2 . Since 1 T = N /A·m (recall FB= qv × B), we obtain I2 = 1 A2 and an operational definition of the ampere: When the force per unit length between two long, parallel wires separated by 1 m and carrying identical currents I is FB = 2 × 10–7 N/m, the current in each wire is 1 A. Parallel currents We likewise obtain an operational definition of the coulomb: When a wire carries a steady current of 1 A, the amount of charge that flows through the wire in 1 s is 1 C. Ampère’s law Oersted’s discovery that an electric current deflects a compass needle suggests the following experiment: I B ds I=0 B(r) depends only on r. From the Biot-Savart law, B = μ0 I/2πr and so in this case, at least, B(r) ds 0 I . Ampère’s law Oersted’s discovery that an electric current deflects a compass needle suggests the following experiment: I B ds I=0 Ampère discovered that this law holds in general, and the equation B(r) ds 0 I is called Ampère’s law. Ampère’s law Example 1: Rank B(r) ds for the four closed curves a, b, c, d using Ampère’s law. d 1A 5A c a b 2A Ampère’s law Example 2: What is B inside and outside an infinitely long conducting wire of radius R, carrying uniform current I? I Ampère’s law Example 2: What is B inside and outside an infinitely long conducting wire of radius R, carrying uniform current I? Answer: By symmetry, B must circulate around the axis of the wire. Outside the wire, we choose a concentric circle with radius r > R. Then Ampère’s law tells us that 2πrB = μ0 I so B = μ0 I/2πr. B I Ampère’s law Example 2: What is B inside and outside an infinitely long conducting wire of radius R, carrying uniform current I? Answer: By symmetry, B must circulate around the axis of the wire. Inside the wire, we choose a concentric circle with radius r < R. Then Ampère’s law tells us that 2πrB = μ0 I(πr2/πR2) so B = μ0 Ir/2πR2. B I Ampère’s law Example 3: What is B for an infinite current sheet carrying current density J? J Ampère’s law Example 3: What is B for an infinite current sheet carrying current density J? Answer: We use the rectangular loop shown to evaluate B(r) ds . J B B The top and bottom sides don’t contribute, while the right and left sides each contribute BL, where L is the height of the rectangle. We have 2BL =μ0 JL, so B =μ0 J/2. Ampère’s law Example 4: Ampère’s law, like Gauss’s law, is especially useful in cases of high symmetry. Let’s apply Ampère’s law to find the field of a long solenoid, which would be awkward using the Biot-Savart law. A loosely wound solenoid, together with its lines of B, looks like this: Exterior Interior Ampère’s law Example 4: Ampère’s law, like Gauss’s law, is especially useful in cases of high symmetry. Let’s apply Ampère’s law to find the field of a long solenoid, which would be awkward using the Biot-Savart law. But we will consider an ideal (closely wound) solenoid: W 2 1 3 4 B L Ampère’s law Example 4: Ampère’s law, like Gauss’s law, is especially useful in cases of high symmetry. Let’s apply Ampère’s law to find the field of a long solenoid, which would be awkward using the Biot-Savart law. Experiment shows that B outside such a solenoid is very weak. W 2 What is the field B inside the solenoid? 1 3 4 B L Ampère’s law Example 4: Ampère’s law, like Gauss’s law, is especially useful in cases of high symmetry. Let’s apply Ampère’s law to find the field of a long solenoid, which would be awkward using the Biot-Savart law. Consider the integral of B·ds around a rectangular path as shown, in the direction shown. On Side 3 , B is negligible. On Sides 2 and 4 the integrals of B·ds sum to 0. So B·ds on Side 1 is what must equal μ0 times the current through the rectangle. W 2 1 3 4 B L Ampère’s law Example 4: Ampère’s law, like Gauss’s law, is especially useful in cases of high symmetry. Let’s apply Ampère’s law to find the field of a long solenoid, which would be awkward using the Biot-Savart law. We have BL = μ0 NI, where N windings, each carrying current I, pass through the rectangle. Letting n = N/L denote the number of windings per unit length, we conclude that B = μ0 nI. This is the magnetic field anywhere inside the solenoid; it is uniform. W 2 1 3 4 B L Ampère’s law Comment: An ideal solenoid, which produces a uniform internal magnetic field, is a magnetic analogue of an ideal parallel-plate capacitor, which produces a uniform internal magnetic field. W 2 1 E 3 4 B L Gauss’s law for B We have seen that the field lines of E and B are similar. One striking difference is that there are no magnetic monopoles. Gauss’s law for B We have seen that the field lines of E and B are similar. One striking difference is that there are no magnetic monopoles. Gauss’s law for B We have seen that the field lines of E and B are similar. One striking difference is that there are no magnetic monopoles. This similarity of the field lines is not just a coincidence. We will see that the fundamental equations for E and B are very similar. Gauss’s law for B We have seen that the field lines of E and B are similar. One striking difference is that there are no magnetic monopoles. This similarity of the field lines is not just a coincidence. We will see that the fundamental equations for E and B are very similar. First, there is a version of Gauss’s law for the magnetic field. It states that total magnetic flux out of a closed surface equals 0: B B dA 0 . This law can be derived from the law of Biot and Savart. Gauss’s law for B The magnetic flux ΦB is analogous to the electric flux ΦE. It is the integral of B·dA, where dA is an oriented surface element: dA θ B The law B B dA 0 expresses the fact that there are no magnetic monopoles, no “N” and “S” charges as sources of the magnetic field. Gauss’s law for B Even inside a magnet, there are no magnetic charges. The field lines inside and outside a magnet never end: B E Magnetic dipole Electric dipole Towards Maxwell’s equations The fundamental equations for E and B are very similar. First, there is a version of Gauss’s law for the magnetic field. It states that total magnetic flux out of a closed surface equals 0: B B dA 0 . Second, we have already seen a statement about E that is very similar to Ampère’s law: E(r) dr 0 . Remember Faraday? Now we can add a new basic rule about field lines: •They never start or stop in empty space – they stop or start on a charge or extend to infinity. •They never cross – if they did, a small charge placed at the crossing would show the true direction of the field there. • The density of field lines in one direction is proportional to the strength of the field in the perpendicular direction. • There are no closed loops! E E E E Towards Maxwell’s equations The fundamental equations for E and B are very similar. First, there is a version of Gauss’s law for the magnetic field. It states that total magnetic flux out of a closed surface equals 0: B B dA 0 . Second, we have already seen a statement about E that is similar to Ampère’s law: E(r) dr 0 . This equation states that the lines of E do not form closed loops, which is why we can define a electric potential V. Towards Maxwell’s equations The set of four fundamental equations for E and B, 0 E dr 0 B dr 0 I B dA 0 , E dA q (Gauss’s law) (Ampère’s law) together with the Lorentz force law FEM = q (E + v × B), sum up everything we have learned so far about electromagnetism! Towards Maxwell’s equations The set of four fundamental equations for E and B, 0 E dr 0 B dr 0 I B dA 0 , E dA q (Gauss’s law) (Ampère’s law) are similar to the famous equations named after J. C. Maxwell – “Maxwell’s equations” – describing all of electromagnetism. But they are not yet Maxwell’s equations! Towards Maxwell’s equations The set of four fundamental equations for E and B, 0 E dr 0 B dr 0 I B dA 0 , E dA q (Gauss’s law) (Ampère’s law) are correct for all static charges and steady-state currents, i.e. for electrostatics and magnetostatics. But if E and B change in time, two of the equations need correction. Towards Maxwell’s equations The set of four fundamental equations for E and B, 0 E dr 0 B dr 0 I B dA 0 , E dA q (Gauss’s law) (Ampère’s law) are correct for all static charges and steady-state currents, i.e. for electrostatics and magnetostatics. But if E and B change in time, two of the equations need correction. Guess which two? Halliday, Resnick and Krane, 5th Edition, Chap. 33, Prob. 9: A long solenoid, centered along the z-axis, has 100 turns per centimeter. An electron moves within the solenoid in a circle of radius 2.30 cm in the xy-plane. The speed of the electron is 0.0460c, where c is the speed of light. What is the current in the wire of the solenoid? Halliday, Resnick and Krane, 5th Edition, Chap. 33, Prob. 9: A long solenoid, centered along the z-axis, has 100 turns per centimeter. An electron moves within the solenoid in a circle of radius 2.30 cm in the xy-plane. The speed of the electron is 0.0460c, where c = 3.00 × 108 m/s is the speed of light. What is the current I in the wire of the solenoid? Answer: The cyclotron frequency ω of the electron is ω = v/r = 0.0460c/0.0230 m = 6.00 × 108 Hz and we derived ω = eB/m where e is the electron charge and m is its mass. Also B = μ0 nI for the field in a solenoid, hence I = mω/neμ0 . Putting in the numbers (m = 9.11× 10–31 kg and e = 1.60 × 10–19 C) we obtain I = 0.272 A.