Biot-Savart & Ampere's Law Biot-Savart & Ampere's Law Electric current is moving charge, and moving charge creates a magnetic field around it. You have seen a compass needle deflect near a current-carrying wire; that tiny twist is the magnetic field in action. Two complementary tools help us compute this field. Biot–Savart law is like building a city brick by brick: take a tiny element of wire, find its small contribution to B, then add (integrate) all pieces to get the total field. It works for any shape if you can handle the geometry and integration. Ampere’s circuital law is like using a shortcut map: in highly symmetric situations (infinite straight wire, long solenoid, toroid), it lets you relate the field directly to the current enclosed by an imaginary loop, avoiding messy integrals. Together, they allow you to calculate the magnetic field for practical conductors and coils, understand field patterns, and solve NEET problems confidently. Our plan: grasp the physical meaning, set sign conventions, write the core formulas, and immediately test them on classic cases—wire, loop, solenoid, and toroid—while pointing out the exact conditions where each tool is valid. remember Analogy: Water swirl vs straight flow. A straight fast stream (current) can create local swirls (magnetic field loops) around obstacles; similarly, a straight current produces circular magnetic field lines around the wire, with direction given by the right-hand thumb rule. Why two laws? Biot–Savart is fundamental in magnetostatics: it tells how a current element produces B at a point—magnitude and direction. But integrating it for complicated shapes can be hard. Ampere’s law connects the circulation of B around a closed path to the current passing through that path. When symmetry guarantees B is constant along the chosen path and parallel to it, Ampere’s law becomes a quick, elegant route to B. NEET problems often cue you toward the right tool by mentioning words like "long" (effectively infinite), "uniform winding" (solenoid/toroid), "axis/centre" (loop symmetry), or by drawing symmetric cross-sections. A vector field produced by moving charges and currents; it exerts force on other moving charges and currents. SI unit: Tesla (T). Magnetic field (B) A tiny directed segment of a current-carrying conductor with magnitude I dℓ and direction along the conventional current. Current element (I dℓ) Curl the fingers of the right hand in the direction of magnetic field lines; the extended thumb points along the current, or equivalently, thumb along current gives finger-curl as direction of B. Right-hand thumb rule Permeability of free space (μ0) A constant that sets the strength of magnetic interactions in vacuum: μ0 = 4π × 10−7 T·m/A. The line integral (circulation) of B around any closed path equals μ0 times the total current passing through the surface bounded by the path. Ampere’s circuital law A helical winding of wire with many turns per unit length that produces an approximately uniform magnetic field inside when it is "long" (length ≫ radius). Solenoid A solenoid bent into a doughnut-shaped ring; its magnetic field is essentially confined within the core. Toroid Conventions and geometry: We will use the Cartesian sign convention with the right-hand rule for cross products. In Biot–Savart law, the angle θ is between the current element vector d→ℓ and the position vector r→ from the element to the observation point P. The unit vector r points from the element toward P. Distances r refer to the length of r→. For Ampere’s law, we choose an Amperian loop (a mathematical closed curve) that leverages symmetry so that B is either constant along the loop or has known directional relations, allowing the integral to simplify. Direction by right-hand rule; magnitude ( d B = ( 0 /4 ) (I , d / r 2 ) ) Vector Biot–Savart law d B = 0 4 I , d , r 2 Steady current (magnetostatics). Field depends only on geometry, current magnitude, and distance. Vacuum (free space) with permeability μ0. Biot–Savart law (magnitude) Field strength is proportional to current. A longer element contributes proportionally more than a shorter element. Contribution vanishes when the element points directly toward P ( ( =0 )). Inverse-square fall-off with distance, supported by experiments and dimensional arguments. Combine the proportionalities with a constant k. Define k to match SI units and empirical calibration in vacuum. Interpretation: The cross product I d→ℓ × r encodes direction: rotate from d→ℓ toward r ; the right-hand rule gives the direction of d→B. The 1/r2 decay makes nearby segments dominate the contribution, while far segments contribute little. Symmetry is your ally: for circular loops or infinite straight wires, many angular components cancel, leaving a clean integral. Always track θ carefully: it is the angle between d→ℓ and r→, not the polar angle of the observation point in some global coordinate system. Field of a current element; integrate over the conductor to get total B. Direction from d→ℓ × r . Application to a long straight wire: Place the wire along the z-axis, observation point P at perpendicular distance r in the x–y plane. Every current element contributes a dB that is tangent to a circle centered on the wire, so the direction is circumferential (φ-hat). The sine factor becomes r / R, where R is the distance from the element to P. Integration along the entire infinite wire gives a simple 1/r dependence—strong close to the wire and weakening with radial distance. Geometry from element at coordinate z. Substitute R and sinθ. Field direction is ( ); we integrate only magnitude. Evaluate symmetric limits; the antiderivative yields 2/( r 2 ) times r2 terms cancel to give the standard result. Magnetic field due to an infinitely long straight wire Infinite straight wire with steady current I. Point P at perpendicular distance r from the wire. Vacuum (free space). B = 0 I 2 r B encircles the wire; direction by right-hand thumb rule. Infinite straight wire Boundary check: As r → ∞, B → 0 (far away field vanishes). As r → 0, formula diverges, but in reality the conductor has finite radius and internal current distribution; inside a solid wire with uniform current density, B grows linearly with r near the axis. tip Finite straight segment: Often the wire is not infinite. For a segment making angles α and β at the observation point with its two ends (angles measured with the line joining the point to the ends), the Biot–Savart integral yields a compact result. This expression smoothly reduces to the infinite wire case when α → 90° and β → 90°, and to zero when the wire is very far away or aligned end-on (angles approaching 0°). Pay attention to the geometry drawing to avoid sign errors. Here r is the perpendicular distance from P to the line of the wire; α and β are the angles subtended by the line-of-sight to the two ends with the perpendicular. Finite straight wire segment This formula calculates the magnetic field strength at a point perpendicular to a straight wire segment, where the ends of the segment are d Use the infinite straight wire formula B = 0 I / (2 r). Find the magnetic field magnitude at a point 5.0 cm from an infinitely long straight wire carrying 10 A current. I = 10 A r = 0.050 m 0 = 4 10 -7 T ,m/A easy B at distance r Circular loop at the centre: By symmetry, every current element of a circular loop contributes a field pointing along the axis of the loop at the centre, and all magnitudes add up equally. The cross-product direction is the same for all elements (either +z or −z depending on current sense). The integration is straightforward because r and θ are constant for all elements around the loop. Position vector is radial in the plane, perpendicular to ( d ). All elements contribute equally in magnitude. Integrate over the circumference. Direction along the axis by right-hand rule. Magnetic field at the centre of a circular loop of radius R Single circular loop of radius R carrying steady current I. Observation at the geometric centre of the loop. Vacuum (free space). B centre = 0 I 2R At x = 0, this reduces to B = 0 I/(2R). For N turns, multiply by N. On-axis field of a circular loop This formula calculates the magnetic field strength at any point located along the central axis of a circular loop carrying current. Axis behavior and limits: For x ≪ R, B ≈ (μ0 I / 2R) [1 − (3/2)( x 2 / R 2 ) + …], nearly uniform near the centre. For x ≫ R, the loop behaves like a magnetic dipole with B ≈ μ0 I R 2 / (2 x 3 ), falling off as 1/ x 3 . NEET often asks for the field ratio at symmetric points on the axis, or how B changes when the loop radius is doubled while keeping the wire length constant (then number of turns changes). For N turns, B = N ( 0 I)/(2R). Direction by right-hand rule. A coil of 20 turns and radius 10 cm carries 2.0 A. Find the magnetic field at the centre and indicate its direction for a clockwise current as seen from above. medium B at the centre and direction N = 20 R = 0.10 m I = 2.0 A 0 = 4 10 -7 T ,m/A Ampere’s circuital law is the magnetic counterpart of Gauss’s law in electrostatics, but it uses a line integral. In integral form: the circulation of B along a closed curve equals μ0 times the net current crossing any surface stretched across that curve. The trick is to pick an Amperian loop aligned with the symmetry so that either B is constant along segments where it is parallel to the path (contributing simply Bℓ), or B is perpendicular to the path (contributing zero). This is why it shines for an infinite straight wire (circular loop), long solenoid (rectangular loop through and outside), and toroid (circular loop along the core). Ampere’s circuital law (integral form) Valid for steady currents; choice of Amperian loop is arbitrary but smart symmetry simplifies the integral. Applies to closed loops (Amperian loops) where the magnetic field exhibits high symmetry, allowing the integral to be simplified. Solenoid has n turns per unit length, carries current I. Length (L ) ( ) radius ("long" solenoid). Negligible external field; uniform internal field by symmetry. Field inside a long solenoid For an Amperian rectangle of length ( ) inside, number of turns enclosed is (n ). Only the inside segment parallel to B contributes (outside segment is ~0 for a long solenoid; perpendicular segments give zero dot product). Field is uniform inside, independent of position and solenoid radius (ideal case). B inside = 0 n I ( long solenoid ), B end 1 2 0 n I n is turns per unit length. End value is approximate for a sufficiently long solenoid. Solenoid field This formula is highly accurate for long solenoids where the length is much greater than the radius, minimizing end effects. Finite solenoids have fringing fields at the ends, so the interior field is not perfectly uniform unless the length is much larger than the radius. In exam questions, phrases like "long solenoid" or provided n (turns per meter) signal the use of B = μ0 n I. If the solenoid carries N total turns over length L, then n = N/L. At the very end (on-axis, just outside), the field is about half of the interior value for a long solenoid. Toroid with N turns carrying current I. Choose a circular Amperian loop of radius r concentric with the toroid (inside the core). Neglect leakage (ideal toroid). Field inside a toroid By symmetry, B is tangential and constant along a circle of radius r within the core. All N turns link the Amperian loop when r lies between the inner and outer radii. Field varies as 1/r inside the core; outside the toroid (r less than inner or greater than outer radius) the enclosed current is zero, so ideally B = 0. B(r) = 0 N I 2 r ( inside core ), B 0 ( outside ) Toroid field Ideal toroid confines flux to the core. This formula determines the magnetic field strength at a specific radius inside a toroid, based on the enclosed current. Inside/outside for toroids: For any Amperian circle with r less than the inner radius, the enclosed current is zero (no turn is linked), so B = 0 ideally. For r greater than outer radius, currents entering and leaving effectively enclose zero net current, again giving B = 0. Real toroids have small leakage fields, but for NEET-level problems, take the ideal result unless specified otherwise. N = 1000 I = 3.0 A r in = 0.050 m , r out = 0.070 m hard B at specified r Use B = 0 N I / (2 r) for r in < r < r out ; otherwise B = 0 (ideal). A toroid has 1000 turns. Inner radius = 5.0 cm, outer radius = 7.0 cm. If it carries 3.0 A, find B at (i) r = 6.0 cm, (ii) r = 4.0 cm, (iii) r = 8.0 cm. Simplify π and numbers carefully. No enclosed turns. Net enclosed current is zero. Earth’s magnetic field components occasionally appear alongside current-produced fields. The total field B makes an angle δ (dip) with the horizontal in the magnetic meridian; resolving it gives the horizontal component BH and vertical component BV. Although this belongs to geomagnetism, the resolution ideas are the same vector skills used for currents, and NEET may blend such questions. Field vector B lies in the magnetic meridian plane. Angle of dip (inclination) is δ measured from horizontal downward. Resolve B into horizontal and vertical components. Useful relation for instruments like dip circles. Components of Earth’s magnetic field B H = B , B V = B Resolve Earth’s field into horizontal and vertical parts using the dip angle δ. Typical values: In India, B is of the order of 40–50 μT. At the magnetic equator, δ ≈ 0°, so BV ≈ 0 and BH ≈ B (maximum). At the magnetic poles, δ ≈ 90°, so BH ≈ 0 and BV ≈ B (maximum). Always convert microtesla to tesla (1 μT = 10 −6 T) when mixing with coil fields in SI. B ∝ 1/r μ0 I / (2π r) control dependent Magnetic field B Magnetic field magnitude around an infinite straight wire decreases as 1/r. custom Radial distance from wire r B(r) = μ0 I / (2π r) for an infinite straight wire; hyperbolic decay with r. 2D PLOT Magnetic field vs distance from a straight wire B = (mu0 I)/(2 pi r) mu0 μ₀ Current Right-hand rules you must know Thumb along current; curled fingers give direction of B around a straight wire. Fingers along current direction on a loop; curled fingers show B direction through loop centre (thumb points along loop’s magnetic moment). For cross products d→ℓ × r , rotate from the first vector to the second; thumb gives direction of d→B. C-Thumb: Curl to field, Thumb to current. Around a wire, curling fingers trace B; the thumb is the direction of I. Hand mnemonic for remembering B–I relation. neet-alert Angle trap in Biot–Savart: θ is between the current element d→ℓ and the line joining the element to the observation point r→, not the angle at the centre or the polar angle in your diagram. Misplacing θ flips sinθ and ruins the integral. Ampere’s law can always give B if you know the total current enclosed. Ampere’s law is always true, but it is only directly useful when symmetry lets you pull B out of the integral. Without symmetry, the line integral does not reduce to B×(path length) and you cannot solve for B so easily. Inside any solenoid the field is perfectly uniform everywhere. Only in a long solenoid (length ≫ radius) is the interior field nearly uniform. Near the ends, fringing reduces the field to about half the interior value on-axis, and outside the solenoid the field is not zero. neet-alert Finite wire formula: In B = (μ0 I / 4π r)(sinα + sinβ), r is the perpendicular from the point to the line of the wire, while α and β are the angles subtended by the segments from the foot of the perpendicular to the two ends. Do not use angles at the point without constructing the perpendicular. Infinite straight wire Ampere / Biot–Savart B = μ0 I / (2π r) Steady current; r measured perpendicularly; ideal infinite length Finite straight segment Biot–Savart B = (μ0 I / 4π r)(sinα + sinβ) Angles defined with perpendicular; endpoints matter Circular loop (centre) Biot–Savart (symmetry) B = μ0 N I / (2R) All elements equidistant; direction by right-hand rule Loop (on axis) Biot–Savart B(x) = μ0 I R 2 / [2(R 2 + x 2 ) 3/2 ] Axis only; reduces to centre/dipole limits Long solenoid Ampere B = μ0 n I Length ≫ radius; uniform winding Toroid Ampere B = μ0 N I / (2π r) Within core; zero ideally outside Situation Best tool Key formula Conditions How to use the visualizer: Start with a straight wire and set I = 2 A. Observe circular field lines; use the right-hand thumb rule to match their direction. Switch to a loop; note that inside the loop near the centre, lines are nearly straight and parallel, indicating stronger, more uniform B. Then choose solenoid; increase n to see field density grow inside while outside field becomes sparse (ideal long solenoid). Flip current direction to confirm that field direction reverses accordingly. n = N/L; B inside = 0 n I; B end (1/2) 0 n I. A solenoid 50 cm long has 2500 turns and carries 0.80 A. Find (i) n, (ii) B inside, (iii) approximate B at the end on axis. L = 0.50 m N = 2500 I = 0.80 A 0 = 4 10 -7 T ,m/A medium n, B inside, B end Units and conversion: 1 Tesla = 10 4 gauss. Earth’s field is ~50 μT (≈ 0.5 gauss). Coil/solenoid fields in typical NEET numericals range from μT to mT; keep track of micro (10 −6) and milli (10 −3) prefixes. tip Checking dimensions and limits is a powerful self-test. For example, B for a wire must vanish at infinity and increase with current linearly; B for a loop on-axis should reduce to μ0 I/(2R) at x = 0 and to a dipole-like 1/ x 3 at large x. For solenoids, increasing turns per unit length or current should strengthen the field; doubling both doubles B twice. Such sanity checks catch algebra slips before you lock answers. In the finite wire formula, you can take α and β as angles at the point P directly from the drawn wire ends. Angles α and β are defined with respect to the perpendicular from P to the line of the wire; draw the foot of the perpendicular and then measure the acute angles to each end segment. Using wrong angles gives wrong sine values. Strategy summary for NEET: 1) Recognize the geometry from keywords like long, centre, axis, toroid. 2) Decide the tool (Biot–Savart vs Ampere) based on symmetry. 3) Draw a clean diagram showing r, θ, and the direction of d→ℓ. 4) Use vector direction rules first, then compute magnitudes. 5) Check units and limits. 6) For multi-source fields, use superposition: vector-sum contributions with correct signs and directions. Worked blend: Suppose two long parallel wires carry equal currents in the same direction. At a midpoint between them, fields from each wire have equal magnitude but opposite directions (one into, one out of the page), so they cancel. If the currents are opposite, the fields add. This reasoning uses the 1/r law and careful direction assignment—common in PYQs testing conceptual clarity without heavy arithmetic. Edge cases to remember: For a loop, at very far distances along the axis, keep only the leading 1/ x 3 term to estimate orders of magnitude quickly. For a toroid, B varies with 1/r inside, so the field is slightly stronger closer to the inner radius than near the outer radius; if a problem asks for an average field, use the logarithmic average or the mid-radius as an approximation when allowed. Direction practice: Decide the sense of B before computing numbers. For a clockwise current loop viewed from above, the field at the centre points downward (−z). For a straight wire with current upward (+z), use the right-hand rule to see that at a point on the +x axis, B points into the page (−y). Quick direction checks prevent sign mistakes in vector addition. Integration hints: When integrating Biot–Savart, parametrize the conductor so that r and θ are simple functions of the parameter (z for a straight wire, φ for a loop). Exploit symmetry to cancel components: only the axial component survives for a loop at the centre; only the tangential component survives for a straight wire around which contributions are azimuthal. What fails when symmetry breaks? For a finite-length solenoid or a loop off its axis, Ampere’s law does not give B directly because B is not uniform along any simple Amperian path. Then you return to Biot–Savart (or to more advanced methods) and often to numerical integration or approximations. In NEET, such off-axis cases are typically avoided or simplified to symmetry-friendly points. Practical note: Real coils use soft iron cores to enhance B by a factor μr (relative permeability). Unless the problem specifies a core and provides μr, assume air-core (μr ≈ 1). If μr is given, replace μ0 with μ = μ0 μr in formulas like B = μ n I for solenoids or B = μ N I / (2π r) for toroids. Superposition example sketch: A point on the axis of two coaxial loops with equal radii R separated by distance d will have a net field B = μ0 I R 2 / [2( R 2 + x1 2) 3/2 ] ± μ0 I R 2 / [2( R 2 + x2 2) 3/2 ] depending on current senses, where x1 and x2 are distances from the point to each loop’s plane. Choosing the midpoint gives x1 = x2 = d/2 and simplifies the expression. Key terms recap Magnetostatics Study of magnetic fields due to steady (time-independent) currents. Biot–Savart law B–S law Differential law giving the field due to a current element; integrate over the conductor to get B. Ampere’s law The circulation of B around a closed loop equals μ0 times the current enclosed. Ampere’s circuital law Magnetic constant defining interaction strength in vacuum. Permeability (μ0) Solenoid Helical coil producing nearly uniform field inside when long. Toroid Ring-shaped solenoid confining magnetic field inside its core. Angle Earth’s field makes with the horizontal in the magnetic meridian. Angle of dip (δ)