If we allow also the system boundary to move (e.g. due to moving pistons), we get a rather general form of the first law for open systems. In terms of time derivatives, using Newton's dot notation for time derivatives, it reads: