This magnetic field changes as the current changes ... The induced voltage causes an alternating current to flow. Transformers can only work with alternating current. Input and output voltages ...
a primary potential difference drives an alternating current through the primary coil the primary coil current produces a magnetic field, which changes as the current changes the iron core ...