If a voltage difference given by
is applied across a resistor R, then the resulting current is given by
Because the voltage and the current both vary as , we say that they are in phase with each other.