Ampere's circuital law states that the line integral of a magnetic field around any closed loop is equal to the permeability of free space multiplied by the net electric current enclosed by that loop.
The Amperian loop can be of any shape, but for practical calculations, it is often chosen with symmetry to simplify the mathematics.
It is important to choose the direction of the current and the direction in which you traverse the loop properly; this is determined by the right-hand rule. If you curl the fingers of your right hand in the direction you traverse the loop, then your right thumb points in the direction in which the current is considered positive.
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)