CS 6170: Computational Topology, Spring 2019 Lecture 03

Similar documents
Lecture : Topological Space

CONNECTED SPACES AND HOW TO USE THEM

Topology notes. Basic Definitions and Properties.

2.8. Connectedness A topological space X is said to be disconnected if X is the disjoint union of two non-empty open subsets. The space X is said to

Notes on Topology. Andrew Forrester January 28, Notation 1. 2 The Big Picture 1

Topology 550A Homework 3, Week 3 (Corrections: February 22, 2012)

Notes on metric spaces and topology. Math 309: Topics in geometry. Dale Rolfsen. University of British Columbia

Lecture-12: Closed Sets

Review of Sets. Review. Philippe B. Laval. Current Semester. Kennesaw State University. Philippe B. Laval (KSU) Sets Current Semester 1 / 16

Lecture 7: Jan 31, Some definitions related to Simplical Complex. 7.2 Topological Equivalence and Homeomorphism

Lecture - 8A: Subbasis of Topology

Math 5801 General Topology and Knot Theory

INTRODUCTION TO TOPOLOGY

Topology I Test 1 Solutions October 13, 2008

2. Sets. 2.1&2.2: Sets and Subsets. Combining Sets. c Dr Oksana Shatalov, Fall

Math 734 Aug 22, Differential Geometry Fall 2002, USC

CS 6170: Computational Topology, Spring 2019 Lecture 21

1.1 - Introduction to Sets

Topology Homework 3. Section Section 3.3. Samuel Otten

Point-Set Topology 1. TOPOLOGICAL SPACES AND CONTINUOUS FUNCTIONS

M3P1/M4P1 (2005) Dr M Ruzhansky Metric and Topological Spaces Summary of the course: definitions, examples, statements.

What is Set? Set Theory. Notation. Venn Diagram

9.5 Equivalence Relations

2 Sets. 2.1 Notation. last edited January 26, 2016

Final Exam, F11PE Solutions, Topology, Autumn 2011

Lecture IV - Further preliminaries from general topology:

Lecture 17: Continuous Functions

[Ch 6] Set Theory. 1. Basic Concepts and Definitions. 400 lecture note #4. 1) Basics

Math 395: Topology. Bret Benesh (College of Saint Benedict/Saint John s University)

THREE LECTURES ON BASIC TOPOLOGY. 1. Basic notions.

Lecture 4: examples of topological spaces, coarser and finer topologies, bases and closed sets

A Little Point Set Topology

CMSC 341 Lecture 20 Disjointed Sets

Lecture 15: The subspace topology, Closed sets

Johns Hopkins Math Tournament Proof Round: Point Set Topology

In class 75min: 2:55-4:10 Thu 9/30.

Lesson 1 Introduction to Algebraic Geometry

CMSC 341 Lecture 20 Disjointed Sets

Topology - I. Michael Shulman WOMP 2004

Extension as the background of substance a formal approach

Point-Set Topology II

Sets MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Sets Fall / 31

Sets. De Morgan s laws. Mappings. Definition. Definition

SETS. Sets are of two sorts: finite infinite A system of sets is a set, whose elements are again sets.

REVIEW OF FUZZY SETS

CMSC 341 Lecture 20 Disjointed Sets

Introduction II. Sets. Terminology III. Definition. Definition. Definition. Example

Chapter 11. Topological Spaces: General Properties

TOPOLOGY, DR. BLOCK, FALL 2015, NOTES, PART 3.

Chapter 1. Preliminaries

4. Definition: topological space, open set, topology, trivial topology, discrete topology.

Generell Topologi. Richard Williamson. May 6, 2013

2 A topological interlude

Today s Topics. What is a set?

and this equivalence extends to the structures of the spaces.

A GRAPH FROM THE VIEWPOINT OF ALGEBRAIC TOPOLOGY

Homework Set #2 Math 440 Topology Topology by J. Munkres

CSC Discrete Math I, Spring Sets

Planar Graphs. 1 Graphs and maps. 1.1 Planarity and duality

CS3102 Theory of Computation Problem Set 2, Spring 2011 Department of Computer Science, University of Virginia

Solution: It may be helpful to list out exactly what is in each of these events:

2 Review of Set Theory

A.1 Numbers, Sets and Arithmetic

Generell Topologi. Richard Williamson. May 27, 2013

SEVENTH EDITION and EXPANDED SEVENTH EDITION

looking ahead to see the optimum

Don t just read it; fight it! Ask your own questions, look for your own examples, discover your own proofs. Is the hypothesis necessary?

CIS 121 Data Structures and Algorithms Minimum Spanning Trees

Math (Spring 2009): Lecture 5 Planes. Parametric equations of curves and lines

Open and Closed Sets

Real Analysis, 2nd Edition, G.B.Folland

Discrete Mathematics Lecture 4. Harper Langston New York University

Disjoint Sets. Based on slides from previous iterations of this course.

Topology problem set Integration workshop 2010

Building a network. Properties of the optimal solutions. Trees. A greedy approach. Lemma (1) Lemma (2) Lemma (3) Lemma (4)

Chapter 5. Greedy algorithms

Minimum Spanning Trees and Union Find. CSE 101: Design and Analysis of Algorithms Lecture 7

However, this is not always true! For example, this fails if both A and B are closed and unbounded (find an example).

Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103. Chapter 2. Sets

Minimum Spanning Trees

Generating Functions Part 2 Nargiss Mouatta April 26, 2013

UC Berkeley CS 170: Efficient Algorithms and Intractable Problems Handout 8 Lecturer: David Wagner February 20, Notes 8 for CS 170

Disjoint set (Union-Find)

CSE 373 MAY 10 TH SPANNING TREES AND UNION FIND

EDAA40 At home exercises 1

Introduction. Computer Vision & Digital Image Processing. Preview. Basic Concepts from Set Theory

Final Test in MAT 410: Introduction to Topology Answers to the Test Questions

MATH 54 - LECTURE 4 DAN CRYTSER

COUNTING AND PROBABILITY

Algorithms (IX) Yijia Chen Shanghai Jiaotong University

Computer Science and Mathematics. Part I: Fundamental Mathematical Concepts Winfried Kurth

Bases of topologies. 1 Motivation

CS 161: Design and Analysis of Algorithms

Lecture 0: Reivew of some basic material

Advanced Data Visualization

Graphing Rational Functions


Maintaining Disjoint Sets

Elementary Topology. Note: This problem list was written primarily by Phil Bowers and John Bryant. It has been edited by a few others along the way.

CS243 Homework 1. Winter Due: January 23, 2019 at 4:30 pm

Transcription:

CS 6170: Computational Topology, Spring 2019 Lecture 03 Topological Data Analysis for Data Scientists Dr. Bei Wang School of Computing Scientific Computing and Imaging Institute (SCI) University of Utah www.sci.utah.edu/~beiwang beiwang@sci.utah.edu Jan 15, 2019

Topological Spaces Book Chapter A.I.

Topological spaces Definition (Topological space) A topological space is an ordered pair (X, U), where X is a set, U is a collection of subsets of X, such that: The empty set and X itself belong to U. Any arbitrary (finite or infinite) union of members of U still belongs to U. The intersection of any finite number of members of U still belongs to U. The elements of U are called open sets and the collection U is called a topology on X. The pair (X, U) is called a topological space. We usually assume that U is understood, and refer to X as a topological space.

Topological spaces Topologies on a three-point set. https://commons.wikimedia.org/wiki/file:topological_space_examples.svg

Open set An open set is an abstract concept generalizing the idea of an open interval in the real line. A set is open if it doesn t contain any of its boundary points. Any collection of sets can be called open, as long as the union of an arbitrary number of open sets is open, the intersection of a finite number of open sets is open, and the space itself is open. A subset U R n is called open if given any point x U, there exists a real number ɛ > 0 such that for all points y R n such that dist(x, y) < ɛ, then y U. A closed set if a set whose complement is an open set. https://en.wikipedia.org/wiki/open_set

Topological space (point set topology) Examples of topological spaces (X, U): X = {1, 2, 3}, U = {, {1, 2, 3}}. U is a (trivial) topology on X. X = {1, 2, 3}, U is the power set of X. X is the real line R 1. U is the set of all open intervals on the real line R 1. We refer to X as a topological space assuming U is understood.

Continuous function A continuous function is a function for which sufficiently small changes in the input result in arbitrarily small changes in the output [wikipedia]. A function f : X Y is continuous if the pre-image of every open set is open. Example of a discontinuous function, f : R R, { 0, if x 0; f(x) = 1, otherwise. For any 0 < ɛ < 1, ( ɛ, +ɛ) is open, f 1 (( ɛ, +ɛ)) is not.

Connectivity of a topological space Definition (Path connectivity) A topological space is path-connected if every pair of points is connected by a path. A function between topological spaces f : X Y is continuous if the presage of every open set is open. A path is continuous function from the unit interval γ : [0, 1] X.

Separation of a topological space Definition (Separation) A separation of a topological space X is a partition X = U W into two non-empty, open subsets that are disjoint. A topological space is connected if it has no separation. Connectedness is strictly weaker than path-connectedness. A topological space that is connected but is not path-connected: topologist s sine curve: T = {(x, sin( 1 x )) : x (0, 1]} {(0, 0)} https://commons.wikimedia.org/wiki/file:topologist%27s_sine_curve.svg

Union-Find Book Chapter A.I.

Union-find on a high level Given a set of elements which are partitioned into subsets, you have to keep track of the connectivity of each element in a particular subset or connectivity of subsets with each other. To do this operation efficiently, you can use union-find data structure. Galler and Fischer (1964); Galil and Italiano (1991) https://www.hackerearth.com/practice/notes/disjoint-set-union-union-find/

Algorithmic question of deciding connectedness Union-find: a disjoint-set data structure. A data structure that tracks a set of elements partitioned into a number of disjoint (non-overlapping) subsets. Represent each set as a tree of elements (thinking grapes). Maintain a collection of sets under three operations (book notations): MakeSet(x): Create a set containing a single element x. Find(x): Return the root of the tree containing x. Union(x,y): Make the root of tree containing x to also be the root of tree containing y.

A social network example (slightly different perspective) https://www.hackerearth.com/practice/notes/disjoint-set-union-union-find/ There are 5 people A, B, C, D and E. A is a friend of B, B is a friend of C, D is a friend of E. As we can see: A, B and C are connected to each other. D and E are connected to each other. Use union-find to check whether one friend is connected to another in a direct or indirect way or not. We can also determine the two different disconnected subsets: {A, B, C} and {D, E}. You have to perform two types of operations here: Union (A, B): connect two elements A and B. FindPath(C, D): find if there is any path connecting two elements C and D.

References I Galil, Z. and Italiano, G. (1991). Data structures and algorithms for disjoint set union problems. ACM Computing Surveys, 23. Galler, B. A. and Fischer, M. J. (1964). An improved equivalence algorithm. Communications of the ACM, 7:301 303.