Suppose the ring is deformed, reducing its cross-sectional area. The magnetic flux threading the ring, represented by five field lines, is reduced by the same ratio as the area of the ring. The variation of the magnetic flux induces a current "(red arrows)" in the ring by Faraday's law of induction, which in turn creates a new magnetic field circling the wire "(green arrows)" by Ampere's circuital law. The new magnetic field opposes the field outside the ring but adds to the field inside, so that the total flux in the interior of the ring is maintained: four green field lines added to the five blue lines give the original nine field lines.