Sometimes we show an idealized magnetic field
Question:

Sometimes we show an idealized magnetic field which is uniform in a given region and falls to zero abruptly. One such field is represented in figure. Using Ampere’s law over the path PQRS, show that such a field is not possible.

Solution: