Magnetic field due to a long current carrying solenoid:onsider a solenoid of lenth L having N turns The diametre of the solenoid is assumed to be much smaller when compared to its length and coil is wound very closely.
In order to calculate the magnetic field at any point inside the solenoid, we use Amperes circuital law. Consider a rectangular loop abcd. Then from Ampère.s circuital law,`ointvecB।dvecl=mu_0I_(enclosed)=mu_0xx(" total current enclosed by Amperian loop")`
The left side of the equation is
`ointvecB।dvecl= overset(b)underset(a (int)vecB।dvecl+overset(c)underset(b)(int)vecB।dvecl+overset(d)underset(c)(int)vecB।dvecl+overset(a)underset(d)(int)vecB।dvec`
Since the elemental lengths along bc and da are perpendicular to the magnetic field which is along the axis of the solenoid, the integrals
`overset(c)underset(b)(int)vecB।dvecloverset(c)underset(b)(int)abs(vecB)abs(dvecl)cos90^@=0,overset(a)underset(b)(int)vecB।dvecl0`
Since the magnetic field outside the solenoid is zero, the integral`overset(d)underset(c)(int)vecB।dvecl=0`
for the path along ab,the intergral is
`overset(b)underset(a)(int)vecB।dvecl=Boverset(b)underset(a)(int)dlcos0^0=Boverset(b)underset(a)(int)dl`
where the length of the loop ab is h। But the choice of length of the loop ab is arbitrary। We can take very large loop such that it is equal to the length of the solenoid L। Therefore the integral is `overset(b)underset(a)(int)vecB।dvecl=BL`
Let N I be the current passing through the solenoid of N turns, then
`overset(b)underset(a)(int)vecB।dvecl=BL=mu_0NIimpliesB=mu_0(NI)/L`
The number of turns per unit is given length is given by`NI/(L)=n`,then
`B=mu_0(nLI)/L=mu_0nI`
Since n is a constant for a give solenoid and `mu_0`is also constant.For a fixed current I,the magnetic field inside the solenoid is also a constant.
