Three threshold rows separate lower-bound, in-band hold, and upper-bound decisions. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.

highlighted = computed this step

Below the lower threshold forces LOW

Input 1 volt is below the lower threshold 2 volts, so prior HIGH is replaced by LOW.

1 V2 VLOW1\ \text{V}\le2\ \text{V}\Rightarrow \text{LOW}
Below lower threshold rowThe lower boundary clears the prior HIGH state.V1 VV2 VV4 VV0 V+-1 V+-2 V+-4 V+-0 Vprior HIGHLOW

Inside the band keeps the prior state

The middle input sits between thresholds 2 and 4, so prior HIGH stays HIGH.

2 V<3 V<4 Vhold HIGH2\ \text{V}<3\ \text{V}<4\ \text{V}\Rightarrow \text{hold HIGH}
Inside hysteresis band rowInside the band, the stored state is the source.V3 VV2 VV4 VV5 V+-3 V+-2 V+-4 V+-5 Vprior HIGHHIGH

Above the upper threshold forces HIGH

Input 5 volts is above the upper threshold 4 volts, so prior LOW becomes HIGH.

5 V4 VHIGH5\ \text{V}\ge4\ \text{V}\Rightarrow \text{HIGH}
Above upper threshold rowThe upper boundary clears the prior LOW state.V5 VV2 VV4 VV5 V+-5 V+-2 V+-4 V+-5 Vprior LOWHIGH