Presentation is loading. Please wait.

Presentation is loading. Please wait.

Uncountable sets & fixed points

Similar presentations


Presentation on theme: "Uncountable sets & fixed points"β€” Presentation transcript:

1 Uncountable sets & fixed points
CS 350 β€” Fall 2018 gilray.org/classes/fall2018/cs350/

2 𝐹:β„•β†’β„™ 𝐹(𝑛)=𝑛+1 1 2 3 4 5 6 7 8 9 10 11 If a bijective function (injective, surjective) exists between two finite sets, then they must have the same cardinality. The same reasoning may be extended to infinite sets.

3 Cantor’s Diagonalization Argument

4 There exists no surjective function from the natural numbers to the set of real numbers in just the range [0.0, 1.0]

5 … = …

6 n f(n) … … … … … … … … …

7 n f(n) … … … … … … … … … d …

8 n f(n) … … … … … … … … … d … d’ cannot exist as it must disagree at the d’th digit! d’ …

9 Fixed-point algorithms

10 What are fixed points (a.k.a. fixpoints)?

11 f(x) = x2 (1,1) (0,0)

12 {π‘₯|(π‘₯,π‘₯)∈𝐹} or {π‘₯|𝐹(π‘₯)=π‘₯}

13 Babylonian method for computing .
2

14 π‘₯ 2 =𝑁 π‘₯= 𝑁 π‘₯

15 π‘₯ 2 =𝑁 𝑓(π‘₯)= 𝑁 π‘₯

16 π‘₯ 2 =𝑁 𝑓(π‘₯)= 𝑁 2π‘₯ + π‘₯ 2

17 Requirements for fixed-point iteration:

18 𝑓:𝐷→𝐷 𝑓(π‘₯) 𝑓(π‘₯)=𝑓(𝑓(π‘₯)) π‘₯ 1. A function with a (least) fixed-point.
2. Progress: is a strictly better estimate than , or it is a fixed-point: 𝑓(π‘₯) 𝑓(π‘₯)=𝑓(𝑓(π‘₯)) π‘₯ (Often by showing monotonicity.)

19 Monotone/Monotonic functions preserve order, thus:
Monotonicity 𝑓is monotonic iffβˆ€π‘₯,𝑦.π‘₯β‰₯π‘¦βŸΉπ‘“(π‘₯)β‰₯𝑓(𝑦) Monotone/Monotonic functions preserve order, thus: 𝑓(π‘₯)β‰₯π‘₯βŸΉπ‘“(𝑓(π‘₯))β‰₯𝑓(π‘₯)

20 𝑓 𝐷 𝑓:𝐷→𝐷 𝑓(π‘₯) 𝑓(π‘₯)=𝑓(𝑓(π‘₯)) π‘₯
1. A function with a (least) fixed-point. 𝑓:𝐷→𝐷 2. Progress: is a strictly better estimate than , or it is a fixed-point: 𝑓(π‘₯) 𝑓(π‘₯)=𝑓(𝑓(π‘₯)) π‘₯ (Often by showing monotonicity.) 3. Bounded number of iterations possible. (Often by showing continuous and finite ) 𝑓 𝐷

21 Computing transitive closure.

22 (π‘₯,𝑦)βˆˆπ‘…βˆ§(𝑦,𝑧)βˆˆπ‘…βŸΉ(π‘₯,𝑧)βˆˆπ‘…
𝑓(𝑅)=𝑅βˆͺ{(π‘₯,𝑧)|(π‘₯,𝑦)βˆˆπ‘…βˆ§(𝑦,𝑧)βˆˆπ‘…}


Download ppt "Uncountable sets & fixed points"

Similar presentations


Ads by Google