Functions
Jason Filippou
CMSC250 @ UMCP
06-22-2016
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 1 / 19
Functions Jason Filippou CMSC250 @ UMCP 06-22-2016 Jason Filippou - - PowerPoint PPT Presentation
Functions Jason Filippou CMSC250 @ UMCP 06-22-2016 Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 1 / 19 Outline 1 Basic definitions and examples 2 Properties of functions 3 The pigeonhole principle Jason Filippou (CMSC250 @ UMCP)
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 1 / 19
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 2 / 19
Basic definitions and examples
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 3 / 19
Basic definitions and examples
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 4 / 19
Basic definitions and examples
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 4 / 19
Basic definitions and examples
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 4 / 19
Basic definitions and examples
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 4 / 19
Basic definitions and examples
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 4 / 19
Basic definitions and examples
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 5 / 19
Basic definitions and examples
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 5 / 19
Basic definitions and examples
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 6 / 19
Basic definitions and examples
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 7 / 19
Basic definitions and examples
X Y a b c 1 2 3 X Y a b c 1 2 3 X Y a b c 1 2 3 X Y a b c 1 2 3
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 8 / 19
Properties of functions
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 9 / 19
Properties of functions
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 10 / 19
Properties of functions
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 10 / 19
Properties of functions
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 10 / 19
Properties of functions
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 10 / 19
Properties of functions
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 10 / 19
Properties of functions
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 10 / 19
Properties of functions
a“Exists a unique y”. Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 11 / 19
Properties of functions
a“Exists a unique y”.
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 11 / 19
Properties of functions
a“Exists a unique y”.
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 11 / 19
Properties of functions
a“Exists a unique y”.
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 11 / 19
Properties of functions
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 12 / 19
Properties of functions
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 12 / 19
Properties of functions
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 12 / 19
Properties of functions
aWe typically read this as “ef-oh-gee”.
1 Composition of r(z) = z2 and h(x) = 5x? Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 13 / 19
Properties of functions
aWe typically read this as “ef-oh-gee”.
1 Composition of r(z) = z2 and h(x) = 5x? 2 Composition of sin(x) and cos(y)? Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 13 / 19
Properties of functions
aWe typically read this as “ef-oh-gee”.
1 Composition of r(z) = z2 and h(x) = 5x? 2 Composition of sin(x) and cos(y)? 3 Composition of f1(x) = −(x + 1)2 and f2(x) = x2? Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 13 / 19
Properties of functions
aWe typically read this as “ef-oh-gee”.
1 Composition of r(z) = z2 and h(x) = 5x? 2 Composition of sin(x) and cos(y)? 3 Composition of f1(x) = −(x + 1)2 and f2(x) = x2? 4 Composition of f3(x) = −(x + 1)2 and f4(n) = n2 + 1, n ∈ N? Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 13 / 19
Properties of functions
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 14 / 19
Properties of functions
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 14 / 19
Properties of functions
1 f(x) = 5x
3
2 h(x) = logb(x) 3 g(x) = (x + 1)2 Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 14 / 19
The pigeonhole principle
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 15 / 19
The pigeonhole principle
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 16 / 19
The pigeonhole principle
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 17 / 19
The pigeonhole principle
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 17 / 19
The pigeonhole principle
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 17 / 19
The pigeonhole principle
1 Is there a pair of you with the same birthday month? Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 18 / 19
The pigeonhole principle
1 Is there a pair of you with the same birthday month? 2 Is there a pair of you with the same birthday week? Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 18 / 19
The pigeonhole principle
1 Is there a pair of you with the same birthday month? 2 Is there a pair of you with the same birthday week? 3 Is there a pair of New Yorkers with the same number of hairs on
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 18 / 19
The pigeonhole principle
1 Is there a pair of you with the same birthday month? 2 Is there a pair of you with the same birthday week? 3 Is there a pair of New Yorkers with the same number of hairs on
4 Let A = {1, 2, 3, 4, 5, 6, 7, 8}. If I pick 5 integers, is it the case that
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 18 / 19
The pigeonhole principle
1 Is there a pair of you with the same birthday month? 2 Is there a pair of you with the same birthday week? 3 Is there a pair of New Yorkers with the same number of hairs on
4 Let A = {1, 2, 3, 4, 5, 6, 7, 8}. If I pick 5 integers, is it the case that
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 18 / 19
The pigeonhole principle
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 19 / 19
The pigeonhole principle
1 Prove that within a group of 86 people, there exist at least 4 with
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 19 / 19
The pigeonhole principle
1 Prove that within a group of 86 people, there exist at least 4 with
2 Is it true that within a group of 700 people, there must be 2 who
Jason Filippou (CMSC250 @ UMCP) Functions 06-22-2016 19 / 19