Today's Topics on to Section 1.8… Functions • from Calculus, You Are

Total Page:16

File Type:pdf, Size:1020Kb

Today's Topics on to Section 1.8… Functions • from Calculus, You Are Today’s topics On to section 1.8… Functions • Functions • From calculus, you are familiar with the – Notations and terms – One-to-One vs. Onto concept of a real-valued function f, – Floor, ceiling, and identity which assigns to each number xR a particular value y=f(x), where yR. • Reading: Sections 1.8 • But, the notion of a function can also be • Upcoming – Algorithms naturally generalized to the concept of assigning elements of any set to elements of any set. (Also known as a map.) CompSci 102 © Michael Frank CompSci 102 © Michael Frank 4.1 4.2 Function: Formal Definition Graphical Representations • For any sets A, B, we say that a function f • Functions can be represented graphically in from (or “mapping”) A to B (f:AB) is a several ways: particular assignment of exactly one f AB element f(x)B to each element xA. • • f • • ••• y • Some further generalizations of this idea: a b • • – A partial (non-total) function f assigns zero or • • x one elements of B to each element xA. A B Bipartite Graph Plot – Functions of n arguments; relations (ch. 6). Like Venn diagrams CompSci 102 © Michael Frank CompSci 102 © Michael Frank 4.3 4.4 Functions We’ve Seen So Far A Neat Trick • A proposition can be viewed as a function • Sometimes we write YX to denote the set F from “situations” to truth values {T,F} of all possible functions f:XY. – A logic system called situation theory. • This notation is especially appropriate, |X| – p=“It is raining.”; s=our situation here,now because for finite X, Y, we have |F| = |Y| . – p(s){T,F}. • If we use representations F0, T1, 2: {0,1}={F,T}, then a subset TS is just a • A propositional operator can be viewed as function from S to 2, so the power set of S a function from ordered pairs of truth (set of all such fns.) is 2S in this notation. values to truth values: e.g., ((F,T)) = T. Another example: ((T,F)) = F. CompSci 102 © Michael Frank CompSci 102 © Michael Frank 4.5 4.6 Some Function Terminology Range versus Codomain • If it is written that f:AB, and f(a)=b • The range of a function might not be its (where aA & bB), then we say: whole codomain. – A is the domain of f. We also say • The codomain is the set that the function is – B is the codomain of f. – B is the codomain of f. the signature declared to map all domain values into. – b is the image of a under f. of f is AB. – a is a pre-image of b under f. • The range is the particular set of values in • In general, b may have more than 1 pre-image. the codomain that the function actually – The range RB of f is R={b | a f(a)=b }. maps elements of the domain to. CompSci 102 © Michael Frank CompSci 102 © Michael Frank 4.7 4.8 Range vs. Codomain - Example Operators (general definition) • Suppose I declare to you that: “f is a • An n-ary operator over (or on) the set S is function mapping students in this class to any function from the set of ordered n- the set of grades {A,B,C,D,E}.” tuples of elements of S, to S itself. • At this point, you know f’s codomain is: • E.g., if S={T,F}, ¬ can be seen as a unary __________, and its range is ________. operator, and , are binary operators on S. • Suppose the grades turn out all As and Bs. • Another example: and are binary • Then the range of f is _________, but its operators on the set of all sets. codomain is __________________. CompSci 102 © Michael Frank CompSci 102 © Michael Frank 4.9 4.10 Constructing Function Operators Function Operator Example • If • (“dot”) is any operator over B, then we • +, (“plus”,“times”) are binary operators can extend • to also denote an operator over R. (Normal addition & multiplication.) over functions f:AB. • Therefore, we can also add and multiply • E.g.: Given any binary operator •:BBB, functions f,g:RR: and functions f,g:AB, we define – (f + g):RR, where (f + g)(x) = f(x) + g(x) (f • g):AB to be the function defined by: – (f g):RR, where (f g)(x) = f(x) g(x) aA, (f • g)(a) = f(a)•g(a). CompSci 102 © Michael Frank CompSci 102 © Michael Frank 4.11 4.12 Function Composition Operator Images of Sets under Functions Note match here. • For functions g:AB and f:BC, there is a • Given f:AB, and SA, special operator called compose (“”). • The image of S under f is simply the set of – It composes (creates) a new function out of f all images (under f) of the elements of S. and g by applying f to the result of applying g. f(S) : {f(s) | sS} – We say (fg):AC, where (fg)(a) : f(g(a)). : {b | sS: f(s)=b}. – Note g(a)B, so f(g(a)) is defined and C. • Note the range of f can be defined as – Note that (like Cartesian , but unlike +,, simply the image (under f) of f’s domain! ) is non-commuting. (Generally, fg gf.) CompSci 102 © Michael Frank CompSci 102 © Michael Frank 4.13 4.14 One-to-One Functions One-to-One Illustration • A function is one-to-one (1-1), or injective, or an injection, iff every • Bipartite (2-part) graph representations of element of its range has only 1 pre-image. – Formally: given f:AB, functions that are (or not) one-to-one: “x is injective” : (¬x,y: xy f(x)=f(y)). • Only one element of the domain is mapped to any given one element • • • • of the range. • • • • • • • – Domain & range have same cardinality. What about codomain? • • • • • • • Memory jogger: Each element of the domain is injected into a • • • • • • • different element of the range. • – Compare “each dose of vaccine is injected into a different patient.” • • – Compare “each dose of vaccine is injected into a different patient.” Not one-to-one Not even a One-to-one function! CompSci 102 © Michael Frank CompSci 102 © Michael Frank 4.15 4.16 Sufficient Conditions for 1-1ness Onto (Surjective) Functions • For functions f over numbers, we say: • A function f:AB is onto or surjective or a – f is strictly (or monotonically) increasing iff surjection iff its range is equal to its x>y f(x)>f(y) for all x,y in domain; codomain (bB, aA: f(a)=b). – f is strictly (or monotonically) decreasing iff • Think: An onto function maps the set A x>y f(x)<f(y) for all x,y in domain; onto (over, covering) the entirety of the set • If f is either strictly increasing or strictly B, not just over a piece of it. 3 decreasing, then f is one-to-one. E.g. x • E.g., for domain & codomain R, x3 is onto, – Converse is not necessarily true. E.g. 1/x whereas x2 isn’t. (Why not?) CompSci 102 © Michael Frank CompSci 102 © Michael Frank 4.17 4.18 Illustration of Onto Bijections • Some functions that are, or are not, onto • A function f is said to be a one-to-one their codomains: correspondence, or a bijection, or reversible, or invertible, iff it is • • • • • • • • • both one-to-one and onto. • • • • • • • • • • • For bijections f:AB, there exists an • • • • • • • • inverse of f, written f 1:BA, which is the • • • • • • • • unique function such that 1 Onto Not Onto Both 1-1 1-1 but unique function such that f o f = I A (but not 1-1) (or 1-1) and onto not onto – (where IA is the identity function on A) CompSci 102 © Michael Frank CompSci 102 © Michael Frank 4.19 4.20 The Identity Function Identity Function Illustrations • For any domain A, the identity function I:A • The identity function: A (variously written, IA, 1, 1A) is the unique function such that aA: I(a)=a. • Some identity functions you’ve seen: • • • y y = I(x) = x – +ing 0, ·ing by 1, ing with T, ing with F, • • ing with , ing with U. • • • Note that the identity function is always • • both one-to-one and onto (bijective). Domain and range x CompSci 102 © Michael Frank CompSci 102 © Michael Frank 4.21 4.22 Graphs of Functions Aside About Representations • We can represent a function f:AB as a set of • It is possible to represent any type of discrete structure (propositions, bit-strings, ordered pairs {(a,f(a)) | aA}. The function’s graph. numbers, sets, ordered pairs, functions) in • Note that a, there is only 1 pair (a,b). terms of virtually any of the other structures (or some combination thereof). – Later (ch.6): relations loosen this restriction. structures (or some combination thereof). • Probably none of these structures is truly • For functions over numbers, we can represent more fundamental than the others an ordered pair (x,y) as a point on a plane. (whatever that would mean). However, – A function is then drawn as a curve (set of points), strings, logic, and sets are often used as with only one y for each x. the foundation for all else. E.g. in CompSci 102 © Michael Frank CompSci 102 © Michael Frank 4.23 4.24 A Couple of Key Functions Visualizing Floor & Ceiling • In discrete math, we will frequently use the • Real numbers “fall to their floor” or “rise to following two functions over real numbers: their ceiling.” 3 1.6=2 2 .
Recommended publications
  • Math 311 - Introduction to Proof and Abstract Mathematics Group Assignment # 15 Name: Due: at the End of Class on Tuesday, March 26Th
    Math 311 - Introduction to Proof and Abstract Mathematics Group Assignment # 15 Name: Due: At the end of class on Tuesday, March 26th More on Functions: Definition 5.1.7: Let A, B, C, and D be sets. Let f : A B and g : C D be functions. Then f = g if: → → A = C and B = D • For all x A, f(x)= g(x). • ∈ Intuitively speaking, this definition tells us that a function is determined by its underlying correspondence, not its specific formula or rule. Another way to think of this is that a function is determined by the set of points that occur on its graph. 1. Give a specific example of two functions that are defined by different rules (or formulas) but that are equal as functions. 2. Consider the functions f(x)= x and g(x)= √x2. Find: (a) A domain for which these functions are equal. (b) A domain for which these functions are not equal. Definition 5.1.9 Let X be a set. The identity function on X is the function IX : X X defined by, for all x X, → ∈ IX (x)= x. 3. Let f(x)= x cos(2πx). Prove that f(x) is the identity function when X = Z but not when X = R. Definition 5.1.10 Let n Z with n 0, and let a0,a1, ,an R such that an = 0. The function p : R R is a ∈ ≥ ··· ∈ 6 n n−1 → polynomial of degree n with real coefficients a0,a1, ,an if for all x R, p(x)= anx +an−1x + +a1x+a0.
    [Show full text]
  • 1 Monoids and Groups
    1 Monoids and groups 1.1 Definition. A monoid is a set M together with a map M × M ! M; (x; y) 7! x · y such that (i) (x · y) · z = x · (y · z) 8x; y; z 2 M (associativity); (ii) 9e 2 M such that x · e = e · x = x for all x 2 M (e = the identity element of M). 1.2 Examples. 1) Z with addition of integers (e = 0) 2) Z with multiplication of integers (e = 1) 3) Mn(R) = fthe set of all n × n matrices with coefficients in Rg with ma- trix multiplication (e = I = the identity matrix) 4) U = any set P (U) := fthe set of all subsets of Ug P (U) is a monoid with A · B := A [ B and e = ?. 5) Let U = any set F (U) := fthe set of all functions f : U ! Ug F (U) is a monoid with multiplication given by composition of functions (e = idU = the identity function). 1.3 Definition. A monoid is commutative if x · y = y · x for all x; y 2 M. 1.4 Example. Monoids 1), 2), 4) in 1.2 are commutative; 3), 5) are not. 1 1.5 Note. Associativity implies that for x1; : : : ; xk 2 M the expression x1 · x2 ····· xk has the same value regardless how we place parentheses within it; e.g.: (x1 · x2) · (x3 · x4) = ((x1 · x2) · x3) · x4 = x1 · ((x2 · x3) · x4) etc. 1.6 Note. A monoid has only one identity element: if e; e0 2 M are identity elements then e = e · e0 = e0 1.7 Definition.
    [Show full text]
  • Lecture 3 Partially Ordered Sets
    Lecture 3 Partially ordered sets Now for something totally different. In life, useful sets are rarely “just” sets. They often come with additional structure. For example, R isn’t useful just because it’s some set. It’s useful because we can add its elements, multiply its elements, and even compare its elements. If A is, for example, the set of all bananas and apples on earth, it’s not as natural to do any of these things with elements of A. Today, we’ll talk about a structure called a partial order. 3.1 Preliminaries First, let me remind you of something called the Cartesian product, or direct product of sets. Definition 3.1.1. Let A and B be sets. Then the Cartesian product of A and B is defined to be the set consisting of all pairs (a, b) where a A and œ b B. We denote the Cartesian product by œ A B. ◊ Example 3.1.2. R2 is the Cartesian product R R. ◊ Example 3.1.3. Let T be the set of all t-shirts in Hiro’s closet, and S the set of all shorts in Hiro’s closet. Then S T represents the collection of all ◊ possible outfits Hiro is willing to consider in August. (I.e., Hiro is willing to consider putting on any of his shorts together with any of his t-shirts.) 23 24 LECTURE 3. PARTIALLY ORDERED SETS Note that we can “repeat” the Cartesian product operation, or apply it many times at once. Example 3.1.4.
    [Show full text]
  • Lecture 19: Alternating Group
    MATH 433 Applied Algebra Lecture 19: Alternating group. Abstract groups. Sign of a permutation Theorem 1 For any n ≥ 2 there exists a unique function sgn : S(n) → {−1, 1} such that • sgn(πσ)= sgn(π) sgn(σ) for all π, σ ∈ S(n), • sgn(τ)= −1 for any transposition τ in S(n). A permutation π is called even if it is a product of an even number of transpositions, and odd if it is a product of an odd number of transpositions. It turns out that π is even if sgn(π)=1 and odd if sgn(π)= −1. Theorem 2 (i) sgn(πσ)= sgn(π) sgn(σ) for any π, σ ∈ S(n). (ii) sgn(π−1)= sgn(π) for any π ∈ S(n). (iii) sgn(id) = 1. (iv) sgn(τ)= −1 for any transposition τ. (v) sgn(σ)=(−1)r−1 for any cycle σ of length r. Alternating group Given an integer n ≥ 2, the alternating group on n symbols, denoted An or A(n), is the set of all even permutations in the symmetric group S(n). Theorem (i) For any two permutations π, σ ∈ A(n), the product πσ is also in A(n). (ii) The identity function id is in A(n). (iii) For any permutation π ∈ A(n), the inverse π−1 is in A(n). In other words, the product of even permutations is even, the identity function is an even permutation, and the inverse of an even permutation is even. Theorem The alternating group A(n) has n!/2 elements.
    [Show full text]
  • Theoretical Probability and Statistics
    Theoretical Probability and Statistics Charles J. Geyer Copyright 1998, 1999, 2000, 2001, 2008 by Charles J. Geyer September 5, 2008 Contents 1 Finite Probability Models 1 1.1 Probability Mass Functions . 1 1.2 Events and Measures . 5 1.3 Random Variables and Expectation . 6 A Greek Letters 9 B Sets and Functions 11 B.1 Sets . 11 B.2 Intervals . 12 B.3 Functions . 12 C Summary of Brand-Name Distributions 14 C.1 The Discrete Uniform Distribution . 14 C.2 The Bernoulli Distribution . 14 i Chapter 1 Finite Probability Models The fundamental idea in probability theory is a probability model, also called a probability distribution. Probability models can be specified in several differ- ent ways • probability mass function (PMF), • probability density function (PDF), • distribution function (DF), • probability measure, and • function mapping from one probability model to another. We will meet probability mass functions and probability measures in this chap- ter, and will meet others later. The terms “probability model” and “probability distribution” don’t indicate how the model is specified, just that it is specified somehow. 1.1 Probability Mass Functions A probability mass function (PMF) is a function pr Ω −−−−→ R which satisfies the following conditions: its values are nonnegative pr(ω) ≥ 0, ω ∈ Ω (1.1a) and sum to one X pr(ω) = 1. (1.1b) ω∈Ω The domain Ω of the PMF is called the sample space of the probability model. The sample space is required to be nonempty in order that (1.1b) make sense. 1 CHAPTER 1. FINITE PROBABILITY MODELS 2 In this chapter we require all sample spaces to be finite sets.
    [Show full text]
  • Inverse Monoids Associated with the Complexity Class NP
    Inverse monoids associated with the complexity class NP J.C. Birget 6 March 2017 Abstract We study the P versus NP problem through properties of functions and monoids, continuing the work of [3]. Here we consider inverse monoids whose properties and relationships determine whether P is different from NP, or whether injective one-way functions (with respect to worst-case complexity) exist. 1 Introduction We give a few definitions before motivating the monoid approach to the P versus NP problem. Some of these notions appeared already in [3]. By function we mean a partial function A∗ → A∗, where A is a finite alphabet (usually, A = {0, 1}), and A∗ denotes the set of all finite strings over A. Let Dom(f) (⊆ A∗) denote the domain of f, i.e., {x ∈ A∗ : f(x) is defined}; and let Im(f) (⊆ A∗) denote the image (or range) of f, i.e., {f(x) : x ∈ ∗ ∗ Dom(f)}. The length of x ∈ A is denoted by |x|. The restriction of f to X ⊆ A is denoted by f|X , and the identity function on X is denoted by idX or id|X . Definition 1.1 (inverse, co-inverse, mutual inverse) A function f ′ is an inverse of a function f iff f ◦ f ′ ◦ f = f. In that case we also say that f is a co-inverse of f ′. If f ′ is both an inverse and a co-inverse of f, we say that f ′ is a mutual inverse of f, or that f ′ and f are mutual inverses (of each other).1 It is easy to see that f ′ is an inverse of f iff for every y ∈ Im(f): f ′(y) is defined and f ′(y) ∈ f −1(y).
    [Show full text]
  • Math 131: Introduction to Topology 1
    Math 131: Introduction to Topology 1 Professor Denis Auroux Fall, 2019 Contents 9/4/2019 - Introduction, Metric Spaces, Basic Notions3 9/9/2019 - Topological Spaces, Bases9 9/11/2019 - Subspaces, Products, Continuity 15 9/16/2019 - Continuity, Homeomorphisms, Limit Points 21 9/18/2019 - Sequences, Limits, Products 26 9/23/2019 - More Product Topologies, Connectedness 32 9/25/2019 - Connectedness, Path Connectedness 37 9/30/2019 - Compactness 42 10/2/2019 - Compactness, Uncountability, Metric Spaces 45 10/7/2019 - Compactness, Limit Points, Sequences 49 10/9/2019 - Compactifications and Local Compactness 53 10/16/2019 - Countability, Separability, and Normal Spaces 57 10/21/2019 - Urysohn's Lemma and the Metrization Theorem 61 1 Please email Beckham Myers at [email protected] with any corrections, questions, or comments. Any mistakes or errors are mine. 10/23/2019 - Category Theory, Paths, Homotopy 64 10/28/2019 - The Fundamental Group(oid) 70 10/30/2019 - Covering Spaces, Path Lifting 75 11/4/2019 - Fundamental Group of the Circle, Quotients and Gluing 80 11/6/2019 - The Brouwer Fixed Point Theorem 85 11/11/2019 - Antipodes and the Borsuk-Ulam Theorem 88 11/13/2019 - Deformation Retracts and Homotopy Equivalence 91 11/18/2019 - Computing the Fundamental Group 95 11/20/2019 - Equivalence of Covering Spaces and the Universal Cover 99 11/25/2019 - Universal Covering Spaces, Free Groups 104 12/2/2019 - Seifert-Van Kampen Theorem, Final Examples 109 2 9/4/2019 - Introduction, Metric Spaces, Basic Notions The instructor for this course is Professor Denis Auroux. His email is [email protected] and his office is SC539.
    [Show full text]
  • 19. Automorphism Group of S Definition-Lemma 19.1. Let G Be A
    19. Automorphism group of Sn Definition-Lemma 19.1. Let G be a group. The automorphism group of G, denoted Aut(G), is the subgroup of A(Sn) of all automorphisms of G. Proof. We check that Aut(G) is closed under products and inverses. Suppose that φ and 2 Aut(G). Let ξ = φ ◦ . If g and h 2 G then ξ(gh) = (φ ◦ )(gh) = φ( (gh)) = φ( (g) (h)) = φ( (g))φ( (h)) = (φ ◦ )(g)(φ ◦ )(h) = ξ(g)ξ(h): Thus ξ = φ◦ is a group homomorphism. Thus Aut(G) is closed under products. Now let ξ = φ−1. If g and h 2 G then we can find g0 and h0 such that g = φ(g0) and h = φ(h0). It follows that ξ(gh) = ξ(φ(g0)φ(h0)) = ξ(φ(g0h0)) = g0h0 = ξ(g)ξ(h): Thus ξ = φ−1 is a group homomorphism. Thus Aut(G) is closed under inverses. Lemma 19.2. Let G be a group and let a 2 G. φa is the automorphism of G given by conjugation by a, φ(g) = aga−1. If a and b 2 G then φab = φaφb: Proof. Both sides are functions from G to G. We just need to check that they have the same effect on any element g of G: (φa ◦ φb)(g) = φa(φb(g)) −1 = φa(bgb ) = a(bgb−1)a−1 = (ab)g(ab)−1 = φab(g): 1 Definition-Lemma 19.3. We say that an automorphism φ of G is inner if φ = φa for some a.
    [Show full text]
  • Degree 2 Transformation Semigroups As Continuous Maps on Graphs
    Degree 2 Transformation Semigroups as Continuous Maps on Graphs: Foundations and Structure Stuart Margolis, John Rhodes May 7, 2020 2010 Mathematics Subject Classification: 20M10, 20M20, 20M30 Keywords: degree of a transformation semigroup, complexity of semigroups ABSTRACT We develop the theory of transformation semigroups that have degree 2, that is, act by partial functions on a finite set such that the inverse image of points have at most two elements. We show that the graph of fibers of such an action gives a deep connection between semigroup theory and graph theory. It is known that the Krohn-Rhodes complexity of a degree 2 action is at most 2. We show that the monoid of continuous maps on a graph is the translational hull of an appropriate 0-simple semigroup. We show how group mapping semigroups can be considered as regular covers of their right letter mapping image and relate this to their graph of fibers. 1 Introduction A transformation semigroup (ts) is a pair X = (Q,S), where Q is a finite set and S is a subsemigroup of the monoid P FR(Q) of all partial functions on Q, where composition is from left to right. A transformation monoid (tm) is a transformation semigroup X = (Q,S) such that the identity function on Q is in S. Equivalently, a ts is a faithful right action of a semigroup S on a finite set Q by partial functions and a tm is a faithful right action of a monoid on Q. If f : Q → Q is a partial function, then arXiv:2005.02606v1 [math.GR] 6 May 2020 ker(f) is the equivalence relation on the domain of f that identifies two elements x,y if xf = yf.
    [Show full text]
  • Chapter 8 Ordered Sets
    Chapter VIII Ordered Sets, Ordinals and Transfinite Methods 1. Introduction In this chapter, we will look at certain kinds of ordered sets. If a set \ is ordered in a reasonable way, then there is a natural way to define an “order topology” on \. Most interesting (for our purposes) will be ordered sets that satisfy a very strong ordering condition: that every nonempty subset contains a smallest element. Such sets are called well-ordered. The most familiar example of a well-ordered set is and it is the well-ordering property that lets us do mathematical induction in In this chapter we will see “longer” well ordered sets and these will give us a new proof method called “transfinite induction.” But we begin with something simpler. 2. Partially Ordered Sets Recall that a relation V\ on a set is a subset of \‚\ (see Definition I.5.2 ). If ÐBßCÑ−V, we write BVCÞ An “order” on a set \ is refers to a relation on \ that satisfies some additional conditions. Order relations are usually denoted by symbols such asŸ¡ß£ , , or . Definition 2.1 A relation V\ on is called: transitive ifÀ a +ß ,ß - − \ Ð+V, and ,V-Ñ Ê +V-Þ reflexive ifÀa+−\+V+ antisymmetric ifÀ a +ß , − \ Ð+V, and ,V+ Ñ Ê Ð+ œ ,Ñ symmetric ifÀ a +ß , − \ +V, Í ,V+ (that is, the set V is “symmetric” with respect to thediagonal ? œÖÐBßBÑÀB−\ש\‚\). Example 2.2 1) The relation “œ\ ” on a set is transitive, reflexive, symmetric, and antisymmetric. Viewed as a subset of \‚\, the relation “ œ ” is the diagonal set ? œÖÐBßBÑÀB−\×Þ 2) In ‘, the usual order relation is transitive and antisymmetric, but not reflexive or symmetric.
    [Show full text]
  • Math 3310: Intro to Proofs
    Math 3310: Intro to Proofs Stephen Pe~na Contents 1 Introduction: Why proofs?2 2 A Primer: Propositional Logic3 2.1 The Language.................................3 2.2 Quantifiers...................................4 2.3 Truth Tables.................................5 2.4 Conditional and Biconditional........................8 3 Sets and Functions9 3.1 The Basics of Sets..............................9 3.2 Functions................................... 12 3.3 Injective and Surjective Functions...................... 14 4 Analysis 17 4.1 Continuity................................... 17 4.2 Continuity of Polynomials.......................... 19 4.3 Further Reading................................ 20 5 Algebra 21 5.1 Groups..................................... 21 5.2 Homomorphisms............................... 24 5.3 Equivalence Relations............................. 25 5.4 Subgroups and Normal Subgroups...................... 28 6 Topology 30 6.1 Topological Spaces.............................. 30 6.2 Continuous Maps of Topological Spaces................... 31 A Countable vs Uncountable 32 B Proof by Induction 32 1 1 Introduction: Why proofs? Many of us are familiar with a myriad of mathematical statements, and we may even be convinced of their veracity. Beliefs aside, how can we convince ourselves a statement is genuinely true? Most importantly, how can you convince your fellow mathematicians that something is true? The answer is by presenting a coherent mathematical argument involving already established facts. Such a coherent mathematical argument is called a proof. Example 1.1. Suppose we know for a fact that 1+1=2. We are tasked with proving the following: 2 + 1 = 3: One way we could proceed is as follows: Proposition 1.1. 2+1=3. Proof. We have that 1+1=2. Note that 3 = 1 + 1 + 1. Substituting in 1 + 1 = 2, we have 3 = 2 + 1 = 1 + 2: There are a few things to note about the above proof.
    [Show full text]
  • On Some Properties of the Free Monoids with Applications to Automata Theory*
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES: 1, 13%154 (1967) On Some Properties of the Free Monoids with Applications to Automata Theory* YEHOSHAFAT GIVE'ON The Aiken Computation Laboratory, Harvard University, Cambridge, Massachusetts 02138 INTRODUCTION Let T be any set, and denote by T* the free monoid generated by T. By definition, T* is characterized by the property that, for any function f from the set T into the carrier of any monoid M, there exists a unique monoid homornorphism f* : T* -+ M whose underlying function is an extension of the function f. This property of the free monoids is very useful in many applications where free monoids are encountered. Another property of the free monoids follows immediately from this definition. Namely, for any homomorphism h : T*-+ M 2 and any surjective homomorphism f : M 1 -~ M 2 there exists at least one homomorphism g : T* ~ M 1 such that Ylhm ~ M l ~ M a f commutes. This paper will be concerned with the following issues: (i) The above-mentioned derived property of the free monoids characterizes the free monoids in the category M of all monoids. This property should not be confused with either the defining property of the free monoids or with the property of the projective objects in 19I. On the other hand, our method of proof yields the analogous characterization of the free Abelian monoids in the category of Abelian monoids. (ii) Since every monoid is a homomorphic image of a free monoid, the above- derived property leads us to consider idempotent endomorphisms of free monoids.
    [Show full text]