Very short question about the circuits in the figure?
Actually there is no current flow in the circuit. The terminals can just show voltages. The negative portion of Vo is directly connected with Vi and the positive portion is connected likewise. Here you can be confused with the resistor. As there is no current flow in the circuit, the drop through the resistor is zero. Thus in the circuit Vi = Vo