Ampere’s circuital law for a long straight wire states that the line integral of the magnetic field B around a closed path is equal to µ₀ times the total current I enclosed by the path. Mathematically, this is expressed as:
$$\oint \mathbf{B} \cdot d\mathbf{l} = \mu_0 I$$
We consider the two cases:
Thus, the correct description of the variation of magnetic field is that it is a linearly increasing function of distance r up to the boundary of the wire and then decreases with a 1/r dependence for the outside region.
AB is a part of an electrical circuit (see figure). The potential difference \(V_A - V_B\), at the instant when current \(i = 2\) A and is increasing at a rate of 1 amp/second is:
Moving charges generate an electric field and the rate of flow of charge is known as current. This is the basic concept in Electrostatics. Another important concept related to moving electric charges is the magnetic effect of current. Magnetism is caused by the current.
Region in space around a magnet where the Magnet has its Magnetic effect is called the Magnetic field of the Magnet. Let us suppose that there is a point charge q (moving with a velocity v and, located at r at a given time t) in presence of both the electric field E (r) and the magnetic field B (r). The force on an electric charge q due to both of them can be written as,
F = q [ E (r) + v × B (r)] ≡ EElectric +Fmagnetic
This force was based on the extensive experiments of Ampere and others. It is called the Lorentz force.