In the circuit shown the voltage at the non-inverting terminal (Vp) is a unit step (Vin(t)=0 for t<0; Vin(t)=1, for t≥0).

As shown, R1=R2, so the voltage at the inverting terminal (Vn) is Vout/2; i.e., there is a voltage divider between Vout and Vn.

Choose on of the radio buttons below

For t<0, Vp=Vn=Vout=0.


Immediately after the step input on Vp (blue), the output (Vout) starts to go up (yellow).
This causes the input on Vn (red) to increase.
This decreases the difference between Vp and Vn (negative feedback).

To reiterate: the important point is that with negative feedback Vout changes to decrease the difference between Vp and Vn


Vout and Vp continue to increase, but Vout rises more slowly as the difference between Vp and Vn decreases.

At equilibrium Vp≈Vn.  In other words, the negative feedback has acted to make the two inputs equal.
Vn = Vout/2, so Vout = 2·Vn = 2·Vp = 2·Vin.