# Ideal Transformer, primary coil

My textbook says that when primary winding of an ideal Transformer is connected to an alternating voltage, an alternating current flows which in turn produces an alternating flux which causes an EMF to be induced in the primary coil which is equal and opposite to the applied voltage. Now how can current flow, if the applied EMF and the back EMF generated in the primary coil are equal? Also if we take an ideal Transformer, the resistance of the windings will be zero and if it is zero then the current in windings will become infinite which is something I am not able to grasp, please explain in detail. Thanks in advance.

• Newton's 3rd law says that there is an equal reaction force to any force but that does not mean that a force cannot accelerate a body. – hyportnex Nov 9 '16 at 17:31

\begin{align}v_2 &= \frac{1}{n}v_1, \\ i_2 &= -ni_1, \end{align}