Consider the following boolean function
f = ab + bc // In Java: a && b || b && c
f \ ab ~f \ ab
\ 00 01 11 10 \ 00 01 11 10
----------------- -----------------
c 0 | | | | | c 0 | | | | |
----------------- -----------------
1 | | | | | 1 | | | | |
----------------- -----------------
\ ab
\ 00 01 11 10
-----------------
c 0 | | | t | |
-----------------
1 | | t | t | |
-----------------
\ ab
\ 00 01 11 10
-----------------
c 0 | t | t | | t |
-----------------
1 | t | | | t |
-----------------
~f = ~b + ~a~c
For f for ab TTF for bc FTT For ~f for ~b TFF, FFT, TFT for ~a~c FTF
For implicant ab: Select UTP TTF. For literal a, select NFP FTF For literal b, select NFP TFF For implicant bc: Select UTP FTT. For literal b, select NFP FFT For literal c, select NFP FTFHence the CUTPNFP set is the two UTPs plus the three NFPs: {TTF, FTT, FTF, TFF, FFT}.