CSE 21 Math for Algorithms and Systems Analysis. Lecture 7 Func=ons Lecture 2
|
|
- Gwenda Jordan
- 6 years ago
- Views:
Transcription
1 CSE 21 Math for Algorithms and Systems Analysis Lecture 7 Func=ons Lecture 2
2 Outline For Today Quick Review of Func=ons Permuta=ons Cycle form for Permuta=ons Func=on Composi=on Compu=ng the order of a permuta=on
3 Func=ons Formally A func=on from set A to be B specifies a mapping between each element in the set A and a unique element in B We write f : A à B, to indicate that f is a func=on from A to B Some terminology A is called the domain of the func=on B is called the co- domain or the range of the func=on
4 Func=ons Graphically How about a func=on from the numbers 1 through 10 to their parity (even or odd) even odd 9 10
5 Func=ons in Two Line Form Given a domain S = {a,b,c,d,e} and a range T = {b,f,h} we can write a par=cular func=on from S to T in two line form as: ( a b c d e ) b f h h h f(a) = b f(b) = f f(c) = h f(d) = h f(e) = h
6 Types of Func=ons Injec=ve A func=on is injec=ve if each element in the range is mapped to by no more than one element in the domain The number of func=ons from an n element set to an m element set that are injec=ve is m! (m n)!
7 Types of Func=ons Surjec=ve a func=on is surjec=ve if each element in the range is mapped to by at least one element in the domain The number of func=ons from an n element set to an m element set that are surjec=ve is S(n, m)m!
8 Types of Func=ons Bijec=ons A func=on is a bijec=on if it is both surjec=ve and injec=ve The number of func=ons from an n element set to an n element set that are bijec=ve is n!
9 Permuta=ons Recall from last =me that a permuta=on is a special case of a bijec=on where the domain and range are the same set Here is an example of a permuta=on on the set {1,2,3,4,5} wriaen in two line form
10 Which of the following are Permuta=ons of the set {1,2,3,4,5}?
11 Another way to Look at Permuta=ons There is another way to write a permuta=on func=on that reveals the structure of how the permuta=on func=on transforms its input Cycle form for a permuta=on. Suppose f is permuta=on on the elements of the set S = {1,2,3,4,5} In Two line form f is wriaen as In cycle form f can be wriaen as f =(1, 2), (3, 4, 5)
12 What is Cycle Form? Here is another way to visualize what our func=on f is doing (we will use the graphical form of func=ons)
13 What does our func=on do? f(1) =
14 What does our func=on do? f(2) =
15 What does our func=on do? f(3) =
16 Cycle Form Given a func=on f we write it in cycle form by crea=ng a list of the elements in the domain such that the element to the right of it in the list gives the output of the func=on applied to that value. Addi=onally, we enclose a series of elements of the domain in parentheses to indicate that they belong to a cycle. In order to determine the output of the func=on at the end of a cycle we return to the first element in the cycle.
17 f = (1,3,5,7),(2,4,6) What is f(1)? What is f(2)? What is f(3)? What is f(4)? What is f(5)? What is f(6)? What is f(7)? Example Problem
18 Conver=ng between Cycle form and Two Line Form Convert the permuta=on f = (3)(4,6),(1,2,5) wriaen in cycle form to two line form
19 Conver=ng between Two Line Form Write the func=on in cycle form and Cycle Form
20 The Iden=ty Permuta=on The iden=ty permuta=on is the permuta=on that does not change its inputs f(x) = x We refer to the iden=ty permuta=on as id for short
21 Some Ques=ons About Permuta=ons Is there more than one way to write a func=on in cycle form?
22 Some Ques=ons About Permuta=ons Can the same element appear in more than 1 cycle when a permuta=on is wriaen in cycle form? Why or why not?
23 Func=on Composi=on We can write the composi=on of two func=ons f, and g as g f or gf The result of composing two func=ons g and f is a new func=on defined as: (g f)(x) =g(f(x)) In order for the composi=on of g and f to make sense what are the restric=ons on the domain and range of f and g?
24 Func=on Composi=on Graphically Here is a func=on g: A 1 B 2 C D 3
25 Func=on Composi=on Graphically Here is a func=on f: 1 E 2 F 3
26 Func=on Composi=on Graphically (fg) g f A B C D E F
27 Func=on Composi=on Graphically What is (fg)(a)? g f A B C D E F
28 Func=on Composi=on We will also use the nota=on to denote the func=on f composed with itself n =mes f n
29 Composing Permuta=ons Consider the permuta=on f = (1,2),(3,4,5) Please write the following func=ons in two line form f f 2 f 3 f 4 f 5 f 6
30 Workspace
31 Workspace
32 Another Ques=on about Permuta=ons Given an arbitrary permuta=on f does there always exist a posi=ve integer n such that f n = id?
33 The Order of a Permuta=on The order of a permuta=on f is the smallest integer such that f n = id Derive an expression for the order of a permuta=on given that it has m cycles with cycle lengths given by: c 1, c 2, c m
34 Workspace
35 Just in case you were wondering (not officially part of this class) The S=rling number of the first kind counts the number of permuta=ons with k disjoint (and non- empty) cycles of an n- element
CSE 21 Math for Algorithms and Systems Analysis. Lecture 4 Mul<nomial Coefficients and Sets
CSE 21 Math for Algorithms and Systems Analysis Lecture 4 Mul
More informationPermutation Groups. Every permutation can be written as a product of disjoint cycles. This factorization is unique up to the order of the factors.
Permutation Groups 5-9-2013 A permutation of a set X is a bijective function σ : X X The set of permutations S X of a set X forms a group under function composition The group of permutations of {1,2,,n}
More informationSlide 1 Math 1520, Lecture 13
Slide 1 Math 1520, Lecture 13 In chapter 7, we discuss background leading up to probability. Probability is one of the most commonly used pieces of mathematics in the world. Understanding the basic concepts
More informationCSE 21 Math for Algorithms and Systems Analysis. Lecture 2 Lists Without Repe>>on
CSE 21 Math for Algorithms and Systems Analysis Lecture 2 Lists Without Repe>>on Review of Last Lecture Sets and Lists Sets are unordered collec>on Lists are ordered collec>ons Rule of product # of lists
More informationX = {1, 2,...,n} n 1f 2f 3f... nf
Section 11 Permutations Definition 11.1 Let X be a non-empty set. A bijective function f : X X will be called a permutation of X. Consider the case when X is the finite set with n elements: X {1, 2,...,n}.
More informationLecture 2.3: Symmetric and alternating groups
Lecture 2.3: Symmetric and alternating groups Matthew Macauley Department of Mathematical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 4120, Modern Algebra M. Macauley (Clemson)
More informationMATH 433 Applied Algebra Lecture 12: Sign of a permutation (continued). Abstract groups.
MATH 433 Applied Algebra Lecture 12: Sign of a permutation (continued). Abstract groups. Permutations Let X be a finite set. A permutation of X is a bijection from X to itself. The set of all permutations
More informationrecap Describing a state. En're state space vs. incremental development. Elimina'on of children. the solu'on path. Genera'on of children.
Heuris'c Searches recap Describing a state. En're state space vs. incremental development. Elimina'on of children. the solu'on path. Genera'on of children. Heuris'c Search Heuris'cs help us to reduce the
More informationREU 2006 Discrete Math Lecture 3
REU 006 Discrete Math Lecture 3 Instructor: László Babai Scribe: Elizabeth Beazley Editors: Eliana Zoque and Elizabeth Beazley NOT PROOFREAD - CONTAINS ERRORS June 6, 006. Last updated June 7, 006 at :4
More informationThe Sign of a Permutation Matt Baker
The Sign of a Permutation Matt Baker Let σ be a permutation of {1, 2,, n}, ie, a one-to-one and onto function from {1, 2,, n} to itself We will define what it means for σ to be even or odd, and then discuss
More informationIn how many ways can we paint 6 rooms, choosing from 15 available colors? What if we want all rooms painted with different colors?
What can we count? In how many ways can we paint 6 rooms, choosing from 15 available colors? What if we want all rooms painted with different colors? In how many different ways 10 books can be arranged
More informationMAT 243 Final Exam SOLUTIONS, FORM A
MAT 243 Final Exam SOLUTIONS, FORM A 1. [10 points] Michael Cow, a recent graduate of Arizona State, wants to put a path in his front yard. He sets this up as a tiling problem of a 2 n rectangle, where
More informationWEEK 4.1. ECE124 Digital Circuits and Systems Page 1
WEEK 4.1 ECE124 Digital Circuits and Systems Page 1 Combina=onal circuits A combinatorial circuit is one that consists of logic gates with outputs that are determined en=rely by the present value of the
More informationLECTURE 7: POLYNOMIAL CONGRUENCES TO PRIME POWER MODULI
LECTURE 7: POLYNOMIAL CONGRUENCES TO PRIME POWER MODULI 1. Hensel Lemma for nonsingular solutions Although there is no analogue of Lagrange s Theorem for prime power moduli, there is an algorithm for determining
More informationMath236 Discrete Maths with Applications
Math236 Discrete Maths with Applications P. Ittmann UKZN, Pietermaritzburg Semester 1, 2012 Ittmann (UKZN PMB) Math236 2012 1 / 43 The Multiplication Principle Theorem Let S be a set of k-tuples (s 1,
More informationStanford University CS261: Optimization Handout 9 Luca Trevisan February 1, 2011
Stanford University CS261: Optimization Handout 9 Luca Trevisan February 1, 2011 Lecture 9 In which we introduce the maximum flow problem. 1 Flows in Networks Today we start talking about the Maximum Flow
More informationPractice Midterm 2 Solutions
Practice Midterm 2 Solutions May 30, 2013 (1) We want to show that for any odd integer a coprime to 7, a 3 is congruent to 1 or 1 mod 7. In fact, we don t need the assumption that a is odd. By Fermat s
More informationObjec5ves. Image Spectra for Beginners. Image Representa5on. Sine Waves. Specifying a Sine Wave (1D) Adding Sine Waves
Objec5ves Image Spectra for Beginners Using sines and cosines to reconstruct a signal The Fourier Frequency Domains for a Signal Three proper5es of Convolu5on rela5ng to Fourier Image Representa5on Reviews:
More informationReading 14 : Counting
CS/Math 240: Introduction to Discrete Mathematics Fall 2015 Instructors: Beck Hasti, Gautam Prakriya Reading 14 : Counting In this reading we discuss counting. Often, we are interested in the cardinality
More informationLecture 2: Sum rule, partition method, difference method, bijection method, product rules
Lecture 2: Sum rule, partition method, difference method, bijection method, product rules References: Relevant parts of chapter 15 of the Math for CS book. Discrete Structures II (Summer 2018) Rutgers
More informationMATH 225: Foundations of Higher Matheamatics. Dr. Morton. Chapter 2: Logic (This is where we begin setting the stage for proofs!)
MATH 225: Foundations of Higher Matheamatics Dr. Morton Chapter 2: Logic (This is where we begin setting the stage for proofs!) New Problem from 2.5 page 3 parts 1,2,4: Suppose that we have the two open
More informationChapter 1. Set Theory
Chapter 1 Set Theory 1 Section 1.1: Types of Sets and Set Notation Set: A collection or group of distinguishable objects. Ex. set of books, the letters of the alphabet, the set of whole numbers. You can
More informationThe congruence relation has many similarities to equality. The following theorem says that congruence, like equality, is an equivalence relation.
Congruences A congruence is a statement about divisibility. It is a notation that simplifies reasoning about divisibility. It suggests proofs by its analogy to equations. Congruences are familiar to us
More informationSymmetry Groups of Platonic Solids
Symmetry Groups of Platonic Solids Rich Schwartz September 17, 2007 The purpose of this handout is to discuss the symmetry groups of Platonic solids. 1 Basic Definitions Let R 3 denote 3-dimensional space.
More informationIndependence of Path and Conservative Vector Fields
Independence of Path and onservative Vector Fields MATH 311, alculus III J. Robert Buchanan Department of Mathematics Summer 2011 Goal We would like to know conditions on a vector field function F(x, y)
More informationSec.on Summary. The Product Rule The Sum Rule The Subtraction Rule (Principle of Inclusion- Exclusion)
Chapter 6 1 Chapter Summary The Basics of Counting The Pigeonhole Principle Permutations and Combinations Binomial Coefficients and Identities Generalized Permutations and Combinations 2 Section 6.1 3
More information14.2 Limits and Continuity
14 Partial Derivatives 14.2 Copyright Cengage Learning. All rights reserved. Copyright Cengage Learning. All rights reserved. Let s compare the behavior of the functions Tables 1 2 show values of f(x,
More informationMath Lecture 2 Inverse Functions & Logarithms
Math 1060 Lecture 2 Inverse Functions & Logarithms Outline Summary of last lecture Inverse Functions Domain, codomain, and range One-to-one functions Inverse functions Inverse trig functions Logarithms
More informationClass 8 - Sets (Lecture Notes)
Class 8 - Sets (Lecture Notes) What is a Set? A set is a well-defined collection of distinct objects. Example: A = {1, 2, 3, 4, 5} What is an element of a Set? The objects in a set are called its elements.
More informationPermutations. describes the permutation which sends 1! 2, 2! 1, 3! 3.
Math 103A Winter,2001 Professor John J Wavrik Permutations A permutation of {1,, n } is a 1-1, onto mapping of the set to itself. Most books initially use a bulky notation to describe a permutation: The
More informationFoundations of Cryptography
Foundations of Cryptography Ville Junnila viljun@utu.fi Department of Mathematics and Statistics University of Turku 2015 Ville Junnila viljun@utu.fi Lecture 10 1 of 17 The order of a number (mod n) Definition
More informationCSCI FOUNDATIONS OF COMPUTER SCIENCE
1 CSCI- 2200 FOUNDATIONS OF COMPUTER SCIENCE Spring 2015 April 2, 2015 2 Announcements Homework 6 is due next Monday, April 6 at 10am in class. Homework 6 ClarificaMon In Problem 2C, where you need to
More informationCSE 20 DISCRETE MATH. Fall
CSE 20 DISCRETE MATH Fall 2017 http://cseweb.ucsd.edu/classes/fa17/cse20-ab/ Today's learning goals Define and compute the cardinality of a set. Use functions to compare the sizes of sets. Classify sets
More informationETSI TS V ( )
TS 135 232 V12.1.0 (2014-10) TECHNICAL SPECIFICATION Universal Mobile Telecommunications System (UMTS); LTE; Specification of the TUAK algorithm set: A second example algorithm set for the 3GPP authentication
More informationDigital Communication Systems ECS 452
Digital Communication Systems ECS 452 Asst. Prof. Dr. Prapun Suksompong prapun@siit.tu.ac.th 5. Channel Coding 1 Office Hours: BKD, 6th floor of Sirindhralai building Tuesday 14:20-15:20 Wednesday 14:20-15:20
More informationCOMPUTATIONAL PHOTOGRAPHY. Chapter 10
1 COMPUTATIONAL PHOTOGRAPHY Chapter 10 Computa;onal photography Computa;onal photography: image analysis and processing algorithms are applied to one or more photographs to create images that go beyond
More informationSTRATEGY AND COMPLEXITY OF THE GAME OF SQUARES
STRATEGY AND COMPLEXITY OF THE GAME OF SQUARES FLORIAN BREUER and JOHN MICHAEL ROBSON Abstract We introduce a game called Squares where the single player is presented with a pattern of black and white
More informationThe topic for the third and final major portion of the course is Probability. We will aim to make sense of statements such as the following:
CS 70 Discrete Mathematics for CS Spring 2006 Vazirani Lecture 17 Introduction to Probability The topic for the third and final major portion of the course is Probability. We will aim to make sense of
More informationOutline. Sets of Gluing Data. Constructing Manifolds. Lecture 3 - February 3, PM
Constructing Manifolds Lecture 3 - February 3, 2009-1-2 PM Outline Sets of gluing data The cocycle condition Parametric pseudo-manifolds (PPM s) Conclusions 2 Let n and k be integers such that n 1 and
More informationBlock 1 - Sets and Basic Combinatorics. Main Topics in Block 1:
Block 1 - Sets and Basic Combinatorics Main Topics in Block 1: A short revision of some set theory Sets and subsets. Venn diagrams to represent sets. Describing sets using rules of inclusion. Set operations.
More informationCardinality and Bijections
Countable and Cardinality and Bijections Gazihan Alankuş (Based on original slides by Brahim Hnich et al.) August 13, 2012 Countable and Countable and Countable and How to count elements in a set? How
More information2. Nine points are distributed around a circle in such a way that when all ( )
1. How many circles in the plane contain at least three of the points (0, 0), (0, 1), (0, 2), (1, 0), (1, 1), (1, 2), (2, 0), (2, 1), (2, 2)? Solution: There are ( ) 9 3 = 8 three element subsets, all
More informationCounting. Chapter 6. With Question/Answer Animations
. All rights reserved. Authorized only for instructor use in the classroom. No reproduction or further distribution permitted without the prior written consent of McGraw-Hill Education. Counting Chapter
More information8.2 Union, Intersection, and Complement of Events; Odds
8.2 Union, Intersection, and Complement of Events; Odds Since we defined an event as a subset of a sample space it is natural to consider set operations like union, intersection or complement in the context
More informationMathematical Foundations of Computer Science Lecture Outline August 30, 2018
Mathematical Foundations of omputer Science Lecture Outline ugust 30, 2018 ounting ounting is a part of combinatorics, an area of mathematics which is concerned with the arrangement of objects of a set
More informationSTAJSIC, DAVORIN, M.A. Combinatorial Game Theory (2010) Directed by Dr. Clifford Smyth. pp.40
STAJSIC, DAVORIN, M.A. Combinatorial Game Theory (2010) Directed by Dr. Clifford Smyth. pp.40 Given a combinatorial game, can we determine if there exists a strategy for a player to win the game, and can
More information11.7 Maximum and Minimum Values
Arkansas Tech University MATH 2934: Calculus III Dr. Marcel B Finan 11.7 Maximum and Minimum Values Just like functions of a single variable, functions of several variables can have local and global extrema,
More informationIntroduction to Combinatorial Mathematics
Introduction to Combinatorial Mathematics George Voutsadakis 1 1 Mathematics and Computer Science Lake Superior State University LSSU Math 300 George Voutsadakis (LSSU) Combinatorics April 2016 1 / 97
More informationSection 7.2 Logarithmic Functions
Math 150 c Lynch 1 of 6 Section 7.2 Logarithmic Functions Definition. Let a be any positive number not equal to 1. The logarithm of x to the base a is y if and only if a y = x. The number y is denoted
More informationN4115 an alternative encoding for geometric shapes
P R Chastney for geometric shapes This document proposes alternative encodings for some of the geometric shapes in ISO/IEC JTC1/SC2/WG2 N 4115, Proposal to add Wingdings and Webdings Symbols. Only graduated
More informationHeuristic Search with Pre-Computed Databases
Heuristic Search with Pre-Computed Databases Tsan-sheng Hsu tshsu@iis.sinica.edu.tw http://www.iis.sinica.edu.tw/~tshsu 1 Abstract Use pre-computed partial results to improve the efficiency of heuristic
More informationDetermine the intercepts of the line and ellipse below: Definition: An intercept is a point of a graph on an axis. Line: x intercept(s)
Topic 1 1 Intercepts and Lines Definition: An intercept is a point of a graph on an axis. For an equation Involving ordered pairs (x, y): x intercepts (a, 0) y intercepts (0, b) where a and b are real
More informationSubtraction games with expandable subtraction sets
with expandable subtraction sets Bao Ho Department of Mathematics and Statistics La Trobe University Monash University April 11, 2012 with expandable subtraction sets Outline The game of Nim Nim-values
More informationSets. Definition A set is an unordered collection of objects called elements or members of the set.
Sets Definition A set is an unordered collection of objects called elements or members of the set. Sets Definition A set is an unordered collection of objects called elements or members of the set. Examples:
More information2014 Edmonton Junior High Math Contest ANSWER KEY
Print ID # School Name Student Name (Print First, Last) 100 2014 Edmonton Junior High Math Contest ANSWER KEY Part A: Multiple Choice Part B (short answer) Part C(short answer) 1. C 6. 10 15. 9079 2. B
More informationDuke Math Meet Individual Round
1. Trung has 2 bells. One bell rings 6 times per hour and the other bell rings 10 times per hour. At the start of the hour both bells ring. After how much time will the bells ring again at the same time?
More informationAssignment 2. Due: Monday Oct. 15, :59pm
Introduction To Discrete Math Due: Monday Oct. 15, 2012. 11:59pm Assignment 2 Instructor: Mohamed Omar Math 6a For all problems on assignments, you are allowed to use the textbook, class notes, and other
More information1.6 Congruence Modulo m
1.6 Congruence Modulo m 47 5. Let a, b 2 N and p be a prime. Prove for all natural numbers n 1, if p n (ab) and p - a, then p n b. 6. In the proof of Theorem 1.5.6 it was stated that if n is a prime number
More informationLet start by revisiting the standard (recursive) version of the Hanoi towers problem. Figure 1: Initial position of the Hanoi towers.
Coding Denis TRYSTRAM Lecture notes Maths for Computer Science MOSIG 1 2017 1 Summary/Objective Coding the instances of a problem is a tricky question that has a big influence on the way to obtain the
More informationPrinciples of Counting. Notation for counting elements of sets
Principles of Counting MATH 107: Finite Mathematics University of Louisville February 26, 2014 Underlying Principles Set Counting 2 / 12 Notation for counting elements of sets We let n(a) denote the number
More informationENGR170 Assignment Problem Solving with Recursion Dr Michael M. Marefat
ENGR170 Assignment Problem Solving with Recursion Dr Michael M. Marefat Overview The goal of this assignment is to find solutions for the 8-queen puzzle/problem. The goal is to place on a 8x8 chess board
More informationTOURNAMENT ROUND. Round 1
Round 1 1. Find all prime factors of 8051. 2. Simplify where x = 628,y = 233,z = 340. [log xyz (x z )][1+log x y +log x z], 3. In prokaryotes, translation of mrna messages into proteins is most often initiated
More informationCITS2211 Discrete Structures Turing Machines
CITS2211 Discrete Structures Turing Machines October 23, 2017 Highlights We have seen that FSMs and PDAs are surprisingly powerful But there are some languages they can not recognise We will study a new
More informationComputer Science 1001.py. Lecture 25 : Intro to Error Correction and Detection Codes
Computer Science 1001.py Lecture 25 : Intro to Error Correction and Detection Codes Instructors: Daniel Deutch, Amiram Yehudai Teaching Assistants: Michal Kleinbort, Amir Rubinstein School of Computer
More informationDiscrete Mathematics. Spring 2017
Discrete Mathematics Spring 2017 Previous Lecture Binomial Coefficients Pascal s Triangle The Pigeonhole Principle If a flock of 20 pigeons roosts in a set of 19 pigeonholes, one of the pigeonholes must
More informationModular Arithmetic. Kieran Cooney - February 18, 2016
Modular Arithmetic Kieran Cooney - kieran.cooney@hotmail.com February 18, 2016 Sums and products in modular arithmetic Almost all of elementary number theory follows from one very basic theorem: Theorem.
More informationDistribution of Primes
Distribution of Primes Definition. For positive real numbers x, let π(x) be the number of prime numbers less than or equal to x. For example, π(1) = 0, π(10) = 4 and π(100) = 25. To use some ciphers, we
More informationA STUDY OF EULERIAN NUMBERS FOR PERMUTATIONS IN THE ALTERNATING GROUP
INTEGERS: ELECTRONIC JOURNAL OF COMBINATORIAL NUMBER THEORY 6 (2006), #A31 A STUDY OF EULERIAN NUMBERS FOR PERMUTATIONS IN THE ALTERNATING GROUP Shinji Tanimoto Department of Mathematics, Kochi Joshi University
More informationBMT 2018 Combinatorics Test Solutions March 18, 2018
. Bob has 3 different fountain pens and different ink colors. How many ways can he fill his fountain pens with ink if he can only put one ink in each pen? Answer: 0 Solution: He has options to fill his
More informationLecture 2. 1 Nondeterministic Communication Complexity
Communication Complexity 16:198:671 1/26/10 Lecture 2 Lecturer: Troy Lee Scribe: Luke Friedman 1 Nondeterministic Communication Complexity 1.1 Review D(f): The minimum over all deterministic protocols
More informationGreedy Flipping of Pancakes and Burnt Pancakes
Greedy Flipping of Pancakes and Burnt Pancakes Joe Sawada a, Aaron Williams b a School of Computer Science, University of Guelph, Canada. Research supported by NSERC. b Department of Mathematics and Statistics,
More informationKenKen Strategies. Solution: To answer this, build the 6 6 table of values of the form ab 2 with a {1, 2, 3, 4, 5, 6}
KenKen is a puzzle whose solution requires a combination of logic and simple arithmetic and combinatorial skills. The puzzles range in difficulty from very simple to incredibly difficult. Students who
More informationChapter 1 Math Set: a collection of objects. For example, the set of whole numbers is W = {0, 1, 2, 3, }
Chapter 1 Math 3201 1 Chapter 1: Set Theory: Organizing information into sets and subsets Graphically illustrating the relationships between sets and subsets using Venn diagrams Solving problems by using
More informationThe next several lectures will be concerned with probability theory. We will aim to make sense of statements such as the following:
CS 70 Discrete Mathematics for CS Fall 2004 Rao Lecture 14 Introduction to Probability The next several lectures will be concerned with probability theory. We will aim to make sense of statements such
More informationMATH CIRCLE, 10/13/2018
MATH CIRCLE, 10/13/2018 LARGE SOLUTIONS 1. Write out row 8 of Pascal s triangle. Solution. 1 8 28 56 70 56 28 8 1. 2. Write out all the different ways you can choose three letters from the set {a, b, c,
More informationLecture 8. Outline. 1. Modular Arithmetic. Clock Math!!! 2. Inverses for Modular Arithmetic: Greatest Common Divisor. 3. Euclid s GCD Algorithm
Lecture 8. Outline. 1. Modular Arithmetic. Clock Math!!! 2. Inverses for Modular Arithmetic: Greatest Common Divisor. 3. Euclid s GCD Algorithm Clock Math If it is 1:00 now. What time is it in 5 hours?
More informationcode V(n,k) := words module
Basic Theory Distance Suppose that you knew that an English word was transmitted and you had received the word SHIP. If you suspected that some errors had occurred in transmission, it would be impossible
More informationVISUAL ALGEBRA FOR COLLEGE STUDENTS. Laurie J. Burton Western Oregon University
VISUAL ALGEBRA FOR COLLEGE STUDENTS Laurie J. Burton Western Oregon University Visual Algebra for College Students Copyright 010 All rights reserved Laurie J. Burton Western Oregon University Many of the
More information6.1 Basics of counting
6.1 Basics of counting CSE2023 Discrete Computational Structures Lecture 17 1 Combinatorics: they study of arrangements of objects Enumeration: the counting of objects with certain properties (an important
More informationSolution: This is sampling without repetition and order matters. Therefore
June 27, 2001 Your name It is important that you show your work. The total value of this test is 220 points. 1. (10 points) Use the Euclidean algorithm to solve the decanting problem for decanters of sizes
More informationStrings. A string is a list of symbols in a particular order.
Ihor Stasyuk Strings A string is a list of symbols in a particular order. Strings A string is a list of symbols in a particular order. Examples: 1 3 0 4 1-12 is a string of integers. X Q R A X P T is a
More informationDiscrete Mathematics with Applications MATH236
Discrete Mathematics with Applications MATH236 Dr. Hung P. Tong-Viet School of Mathematics, Statistics and Computer Science University of KwaZulu-Natal Pietermaritzburg Campus Semester 1, 2013 Tong-Viet
More informationCSE 21 Mathematics for Algorithm and System Analysis
CSE 21 Mathematics for Algorithm and System Analysis Unit 1: Basic Count and List Section 3: Set CSE21: Lecture 3 1 Reminder Piazza forum address: http://piazza.com/ucsd/summer2013/cse21/hom e Notes on
More informationMaxima and Minima. Terminology note: Do not confuse the maximum f(a, b) (a number) with the point (a, b) where the maximum occurs.
10-11-2010 HW: 14.7: 1,5,7,13,29,33,39,51,55 Maxima and Minima In this very important chapter, we describe how to use the tools of calculus to locate the maxima and minima of a function of two variables.
More informationLower Bounds for the Number of Bends in Three-Dimensional Orthogonal Graph Drawings
ÂÓÙÖÒÐ Ó ÖÔ ÐÓÖØÑ Ò ÔÔÐØÓÒ ØØÔ»»ÛÛÛº ºÖÓÛÒºÙ»ÔÙÐØÓÒ»» vol.?, no.?, pp. 1 44 (????) Lower Bounds for the Number of Bends in Three-Dimensional Orthogonal Graph Drawings David R. Wood School of Computer Science
More informationOdd king tours on even chessboards
Odd king tours on even chessboards D. Joyner and M. Fourte, Department of Mathematics, U. S. Naval Academy, Annapolis, MD 21402 12-4-97 In this paper we show that there is no complete odd king tour on
More informationA Cryptosystem Based on the Composition of Reversible Cellular Automata
A Cryptosystem Based on the Composition of Reversible Cellular Automata Adam Clarridge and Kai Salomaa Technical Report No. 2008-549 Queen s University, Kingston, Canada {adam, ksalomaa}@cs.queensu.ca
More informationInverted Indexes: Alternative Queries
Inverted Indexes: Alternative Queries Yufei Tao KAIST April 2, 2013 Remember that our discussion of inverted indexes so far aims at accelerating a specific type of queries (see the slides of an earlier
More informationPrinciple of Inclusion-Exclusion Notes
Principle of Inclusion-Exclusion Notes The Principle of Inclusion-Exclusion (often abbreviated PIE is the following general formula used for finding the cardinality of a union of finite sets. Theorem 0.1.
More informationMinimal tilings of a unit square
arxiv:1607.00660v1 [math.mg] 3 Jul 2016 Minimal tilings of a unit square Iwan Praton Franklin & Marshall College Lancaster, PA 17604 Abstract Tile the unit square with n small squares. We determine the
More informationThe Math Behind Futurama: The Prisoner of Benda
of Benda May 7, 2013 The problem (informally) Professor Farnsworth has created a mind-switching machine that switches two bodies, but the switching can t be reversed using just those two bodies. Using
More information5.4 Transformations and Composition of Functions
5.4 Transformations and Composition of Functions 1. Vertical Shifts: Suppose we are given y = f(x) and c > 0. (a) To graph y = f(x)+c, shift the graph of y = f(x) up by c. (b) To graph y = f(x) c, shift
More informationTransformation of graphs by greatest integer function
OpenStax-CNX module: m17290 1 Transformation of graphs by greatest integer function Sunil Kumar Singh This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 2.0
More informationAnnouncements. Image Processing. What s an image? Images as functions. Image processing. What s a digital image?
Image Processing Images by Pawan Sinha Today s readings Forsyth & Ponce, chapters 8.-8. http://www.cs.washington.edu/education/courses/49cv/wi/readings/book-7-revised-a-indx.pdf For Monday Watt,.3-.4 (handout)
More informationConstructions of Coverings of the Integers: Exploring an Erdős Problem
Constructions of Coverings of the Integers: Exploring an Erdős Problem Kelly Bickel, Michael Firrisa, Juan Ortiz, and Kristen Pueschel August 20, 2008 Abstract In this paper, we study necessary conditions
More informationCombinatorics and Intuitive Probability
Chapter Combinatorics and Intuitive Probability The simplest probabilistic scenario is perhaps one where the set of possible outcomes is finite and these outcomes are all equally likely. A subset of the
More informationBy Scott Fallstrom and Brent Pickett The How and Whys Guys
Math Fundamentals for Statistics I (Math 52) Unit 2:Number Line and Ordering By Scott Fallstrom and Brent Pickett The How and Whys Guys This work is licensed under a Creative Commons Attribution- NonCommercial-ShareAlike
More informationReview of concepts. What is a variable? Storage space to keep data used in our programs Variables have a name And also a type Example:
Chapter 3 For Loops Review of concepts What is a variable? Storage space to keep data used in our programs Variables have a name And also a type Example: Age = 19 CourseTitle = CS140 In this course we
More informationCombinatorics in the group of parity alternating permutations
Combinatorics in the group of parity alternating permutations Shinji Tanimoto (tanimoto@cc.kochi-wu.ac.jp) arxiv:081.1839v1 [math.co] 10 Dec 008 Department of Mathematics, Kochi Joshi University, Kochi
More informationACHS Math Team Lecture: Introduction to Set Theory Peter S. Simon
ACHS Math Team Lecture: Introduction to Set Theory Peter S. Simon Introduction to Set Theory A set is a collection of objects, called elements or members of the set. We will usually denote a set by a capital
More information