A rectangular wire loop of sides a and b is placed in a non – uniform magnetic field which varies with x as B = kx where k is a constant. The magnetic field is directed perpendicular to the plane of the coil as shown in fig. The magnetic flux through the coil is
12kab2
Since the magnetic field varies with x, we find the flux by considering a small element of the loop of width dx and length a at a distance x from O, as shown in Fig.
The Total magnetic flux is
ϕ=∫BdA=∫b0kx(adx)
=ka ∫b0xdx=12kab2