
By Kirchhoff's loop rule, the source voltage balances the self-induced emf:
V−Ldtdi=0⇒dtdi=LV0sinωt
Integrating (the current has no steady part, so the constant is zero):
i=−ωLV0cosωt
Since −cosωt=sin(ωt−2π),
i=ωLV0sin(ωt−2π)=i0sin(ωt−2π),i0=XLV0, XL=ωL
Comparing with V=V0sinωt, the current lags the voltage by 2π. It reaches each peak a quarter of a period after the voltage does.
