-- Chapter 9: Generating Function. Hung-Yu Kao ( ) Department of Computer Science and Information Engineering, National lcheng Kung University

Size: px
Start display at page:

Download "-- Chapter 9: Generating Function. Hung-Yu Kao ( ) Department of Computer Science and Information Engineering, National lcheng Kung University"

Transcription

1 Discrete Mathematics -- Chapter 9: Generating Function Hung-Yu Kao ( ) Department of Computer Science and Information Engineering, National lcheng Kung University

2 Outline Calculational Techniques Partitions of Integers The Eponential Generating Function The Summation Operator

3 Enumeration again Chapter 1: c 1 +c +c 3 +c 4 =5, where c i >= 0 Chapter 8: c 1 +c +c 3 +c 4 =5, where 10>c i >= 0 In chapter 9, c to be even and c 3 to be a multiple of 3 the coefficient y in (+y) 3 the coefficient i 4 in (+ )( )(1+++ ) 3

4 9.1 Introductory Eamples E 9.1 : One mother buys 1 oranges for three children, Grace, Mary, and Frank. Grace gets at least four, and Mary and Frank gets at least two, but Frank gets no more than five. Solution c1 + c + c3 = 1, where 4 c1, c, and c3 5 Generating function: f() ) = ( )( )( ) product j j k every triple (i, j, k) The coefficient of 1 in f() )yields the solution. 4

5 Introductory Eamples E 9. : There is an unlimited number of red, green, white, and black jelly beans. In how many ways can we select 4 jelly beans so that we have an even number of white beans and at least si black ones? Solution red (green): white: black: Generating function: f() = ( ) ( ) ( ) The coefficient of 4 in f() is the answer. 5

6 Introductory Eamples E 9.3 : How many nonnegative integer solutions are there for c 1 +c +c 3 +c 4 = 5? Solution Alternatively, in how many ways 5 pennies can be distributed among four children? Generating function: f() = ( ) 4 (polynomial) The coefficient of 5 is the solution. Note: g() = ( ) 4 (power series) can also generate the answer f ( ) = n= 0 a n ( c) n Easier to compute with a power series than with a polynomial 6

7 9. Definition and Eamples: Calculational Techniques Definition 9.1: n n n n n (1 + ) = so, (1 + ) n n,( ) is the generating g function for the sequence E 9.4 : ( ) ( ) ( ) ( ) n ( n) ( n) ( n) ( n,,, ),0,0,0, 0, 1 n 7

8 Definition and Eamples: Calculational Techniques E 9.5 : a) (1 - n+1 )/(1 - ) is the generating function for the sequence 1, 1, 1,, 1, 0, 0, 0,, where the first n+1 terms are 1. n 1 n Q(1 + ) = (1 )( ). b) 1/(1-) is the generating function for the sequence 111 1, 1, 1, 1 3 1, Qwhile < 1, 1 = c) 1/(1-) is the generating gfunction for the sequence 1,, 3, 4, 1 1 = (1 ) = ( 1)(1 ) ( 1) Q d d = 1 1 (1 ) d d d 3 = ( ) = d 3 + d) /(1-) is the generating function for the sequence 0,1,,3,. Q 3 4 = (1 ) + 8

9 Definition and Eamples: Calculational Techniques E 9.5 : e) (+1)/(1-) 3 is the generating function for the sequence 1,, 3, 4, Q d d (1 ) d = ( d 1 = (1 ) ) + Q = d d d d (1 ) = (1 ) = (1 ) (1 ) = ( 1 ) (1 ) + ( )(1 ) 3 3 ( 1) f) (+1)/(1-) 3 is the generating function for the sequence 0, 1,, 3, 4, Q 3 = ( + 1) 3 (1 ) + 9

10 Definition and Eamples: Calculational Techniques E 9.5 : g) Further etensions: 10

11 Definition and Eamples: Calculational Techniques E 9.6 : a) 1/(1 - a) ) is the generating gfunction for the sequence a 0, a 1, a, a 3, b) f() = 1/(1- ) is the generating function for the sequence 1, 1, 1, 1, Then g() = f() - is the generating function for the sequence 1, 1, 0, 1, 1, 1, h() = f() + 3 is the generating function for the sequence 1, 1, 1, 3, 1, 1, c) Can we find a generating function for the sequence 0,, 6, 1, 0, 30, 4,? 11

12 Definition and Eamples: Calculational Techniques E 9.6 : c) Observe 0,, 6,1,, 0,... a a a 0 4 a = 0 = 6 = a n = 0 0 = = n = 4 + 0, +, + n a + 4, 1 a 3 = = 1 = 1 = 3 + 1, + 3, ( + 1) ( + 1) + (1 ) + = = (1 ) 3 (1 ) (1 ) 3 (1 ) 3 is the generating function. 1

13 Etension of Binomial Theorem (1 + ) = Binomial theorem: ( ) ( ) ( ) ( ) n n n n n n When n Z +, we have r r!( n r)! r! 0 1 n n! n( n 1)( n )...( n r + 1) = = n If n R, we define If n Z +, we have n n( n 1)( n )...( n r + 1) = r r! n ( n)( n 1)( n )...( n r = r r! r ( 1) ( n )( n + 1)...( n + r 1) = r! ( 1) ( n + r 1)! r n + r = = ( 1) ( n 1)! r! r r 1 + 1) 13

14 Etension of Binomial Theorem E 9.7 : (1-) -n? 14

15 Etension of Binomial Theorem E 9.8 : Find the coefficient of 5 in (1-) -7. Solution 7 ( 7 = ) r= 0 r ( 1 ) ( ) The coefficient of ( ) ( ) ( ) ( ) = ( 1) ( 3) = (3) 5 E 9.9 : Find the coefficient of all i in (1+3) -1/3 5 5 : r 5 15

16 Definition and Eamples: Calculational Techniques E 9.10 : Determine the coefficient of 15 in f() = ( ) 4. Solution ( ) = (1++ + ) = /(1-) f()=( /(1-)) 4 = 8 /(1-) 4 Hence the solution is the coefficient of 7 in (1-) -4 : C(-4, 47)(1) 7)(-1) 7 =(1) (-1) 7 C(4+7-1, 17)(1) 7)(-1) 7 = C(10, 7) =

17 17

18 check n=1 18

19 Definition and Eamples: Calculational Techniques E 9.11 : In how many ways can we select, with repetition allowed, r objects from n distinct objects? Solution For each object (with repetitions), represents the possible choices for that tobject t( (namely none, one, two, ) Consider all of the n distinct objects, the generating function is f() = (1++ + ) n n n = = 1 n i 1 i (1 ) =. 1 (1 ) n i= 0 i ( n ) + r 1 The answer is the coefficient of r in f(),. r 19

20 Definition and Eamples: Calculational Techniques E 9.1 : Counting the compositions of a positive integer n. Solution E.g., n = 4 One-summand: ( ) = [/(1-)], coefficient of 4 =1 Two-summand: ( ) = [/(1-)], coefficient of 4 =3 Three-summand: ( ) 3 = [/(1-)] 3, coefficient i of 4 =3 Four-summand: ( ) 4 = [/(1-)] 4, coefficient of 4 =1 =1 )] The number of compositions of 4: coefficient of 4 in 4 [ /(1 i 1 i How about n=5? 0

21 Definition and Eamples: Calculational Techniques E 9.1 : Counting the compositions of a positive integer n. The number of ways to form an integer n is the coefficient of n in the following ggenerating gfunction. 1 3 i ( ) = i= 1 i= 1 [ /(1 )] i 1

22 Definition and Eamples: Calculational Techniques E 9.14 : In how many ways can a police captain distribute 4 rifle shells to four police officers, so that each officer gets at least three shells hll but btnot more than eight. iht Solution f()= ( ) 4 = 1 ( ) 4 = 1 [(1-6 )/(1-)] 4 The answer is the coefficient of 1 in (1-6 ) 4 (1-) -4 = [1 6 4 ( ) ( ) 1 ( ) ][( 0 4 ) ( )( ) + ( 4 )( ) + ] [ ( 1) ( 1) + ] = [ + ] =

23 Definition and Eamples: Calculational Techniques E 9.16 : Determine the coefficient of Solution 8 in 1 ( 3)( ). 3

24 Definition and Eamples: Calculational Techniques E 9.17 : How many four-element subsets of fs S = {1,,, 15} contains no consecutive integers? Solution E.g., one subset {1, 3, 7, 10}, 1 1<3<7<10 15, difference 0,, 4, 3, 5, difference sum = 14. These suggest the integer solutions to c 1 +c +c 3 +c 4 +c 5 =14 where 0 c 1, c 5 and c, c 3, c 4. The answer is the coefficient of 14 in f() = ( )( ) 3 ( ) = 6 (1-) -5 The coefficient of 8 in (1-) ( 1) = = =

25 Convolution of Sequences E 9.19 : Let f() = /(1-) = , for the sequence a k = k g() = (+1)/(1-) ) 3 = , for the sequence b k = k h() = f()g() = a 0 b 0 + (a 0 b 1 +a 1 b 0 ) + (a 0 b +a 1 b 1 +a b 0 ) +, for the sequence c k = a 0 b k +a 1 b k-1 +a b k- + +a k- b +a k-1 b 1 +a k b 0 k ck = = i( k i). c 0 = 0 0 i 0 i c = = 0 1 c = = 1 c 3 = 6 The sequence c 0, c 1, c, is the convolution of the sequences a 0, a 1, a, and b 0, b 1, b, 5

26 Convolution of Sequences E 9.0 : Let f() = 1/(1-) = g() = 1/(1+) = h() = f()g() = 1/[(1-)(1+)] =1/(1 1/(1- ) = The sequence 1, 0, 1, 0, is the convolution of the sequences 1, 1, 1, 1, and 1, -1, 11, -1, 6

27 9.3 Partition of Integers p(n): ( ) the number of partitioning i a positive integer n The number of 1 s is 0 or 1 or or 3. The power series is The number of s can be kept tracked by the power series For n, the number of 3 s can be kept tracked by the power series

28 Partition of Integers Determine p(10) The coefficient of 10 in f() =( )( )( ) ( ) f ( ) = 3 10 i 1 (1 ) (1 ) (1 ) (1 ) (1 = = i By the coefficient of n in 1 P( ) =, we get the sequence i = (1 ) p(0), p(1), p(), p(3), 1 i ) 8

29 Partition of Integers E 9.1 : Find the generating function for the number of ways an advertising agent can purchase n minutes of air time if the time slots come in blocks of 30, 60, or 10 seconds. Solution Let 30 seconds represent one time unit. Find integer solutions to a+b+4c = n Generating function: f()= ( )( )( ) = (1 ) (1 ) (1 4. ) Answer: the coefficient of n is the number of partitions of n into 1 s, s, and 4 s. 9

30 Partition of Integers E 9. : Find the generating function for p d (n), the number of partitions of a positive integer n into distinct summands. 6 = 1+5 One time of occurrence per summand 6 = = +4 P d () = (1+)(1+ )(1+ 3 ).. E 9.3 : Find the generating function for p o (n), the number of partitions of a positive ii integer n into odd summands. P o () = ( )( )( ) = 1/(1-) 1/(1-3 ) 1/(1-5 ) 1/(1-7 )... P d () = P o ()? 6 = = =

31 Partition of Integers E 9.4 : Find the generating function for the number of partitions of a positive integer n into odd summands and occurring an odd number of times. Solution 6 = = = 3+3 f() = ( )( ) ( ) + = 1 k = 0 i= 0 (k + 1)(i+ 1). 31

32 Partition of Integers Ferrers graph uses rows of dots to represent a partition of an integer In fig. 9., two Ferrers graphs are transposed each other for the partitions of (a) 14 = (b) 14 = The number of partitions of an integer n into m summands is equal to the number of partitions of n into summands where m is the largest summand

33 9.4 The Eponential Generating Function 33

34 The Eponential Generating Function E 9.5 : Eamining the Maclaurin series epansion for e, we find 3 i e = =! 3! i= 0 i! so e is the eponential generating function for the sequence 1, 1, 1,. 34

35 The Eponential Generating Function E 9.6 : In how many ways can four of the letters in ENGINE be arranged? Solution Using eponential generating function: f() = [1++( /!)] [1+] E, N: [1++( /!)] G, I: [1+] The answer is the coefficient of 4 /4!. 35

36 The Eponential Generating Function E 9.7 : Consider the Maclaurin series epansion of e and e -. 36

37 The Eponential Generating Function E 9.8 : A ship carries 48 flags, 1 each of the colors red, white, blue and black. Twelve flags are placed on a vertical pole to communicate signal to other ships. How many of these signals use an even number of blue flags and an odd number of black flags? 37

38 The Eponential Generating Function how many of these use at least three white flags or no white flag at all? 38

39 The Eponential Generating Function 39

40 The Eponential Generating Function E 9.9 : A company hires 11 new employees, and they will be assigned to four different subdivisions. Each subdivision has at least one new employee. ee In how many ways can these assignments be made? Solution Onto function: g: X Y where X = 11, Y = 4. 40

41 9.5 The Summation Operator Let f() = a 0 +a 1 +a +a Then f()/(1-) generate the sequence of a 0, a 0 +a 1, a 0 +a 1 +a, a 0 +a 1 +a +a 3, So we refer to 1/(1-) as the summation operator. 41

42 The Summation Operator E 9.30 : Summation operator 1/(1-) is the generating function for the sequence 1, 1, 1, 1, 1, [1/(1-)] [1/(1-)] is the generating function for the sequence 1, 1+1, 1+1+1, 1,, 3, + is the generating function for the sequence 0, , 1, 0, 0, 0, (+ ) [1/(1-)] is the generating function for the sequence 0, 1 1,,,,, (+ )/(1-) is the generating function for the sequence 0, 1, 3, 5, 7, 9, 11, (+ )/(1-) 3 is the generating function for the sequence 0, 1, 4, 9, 16, 5, 36, 4

43 The Summation Operator E 9.31 : Find a formula to epress n as a function of n. Solution 43

44 The Summation Operator 44

45 Homework 9.1: 9: 9.: 9.3: 9.4: 95: 9.5: 45

Composition of and the Transformation of Functions

Composition of and the Transformation of Functions 1 3 Specific Outcome Demonstrate an understanding of operations on, and compositions of, functions. Demonstrate an understanding of the effects of horizontal and vertical translations on the graphs of

More information

Algebra Final Exam Review Packet

Algebra Final Exam Review Packet Algebra 1 00 Final Eam Review Packet UNIT 1 EXPONENTS / RADICALS Eponents Degree of a monomial: Add the degrees of all the in the monomial together. o Eample - Find the degree of 5 7 yz Degree of a polynomial:

More information

= = = = = =

= = = = = = PARTITION THEORY (notes by M. Hlynka, University of Windsor) Definition: A partition of a positive integer n is an expression of n as a sum of positive integers. Partitions are considered the same if the

More information

Generating Functions (Revised Edition)

Generating Functions (Revised Edition) Math 700 Fall 06 Notes Generating Functions (Revised Edition What is a generating function? An ordinary generating function for a sequence (a n n 0 is the power series A(x = a nx n. The exponential generating

More information

Chapter Generating Functions

Chapter Generating Functions Chapter 8.1.1-8.1.2. Generating Functions Prof. Tesler Math 184A Fall 2017 Prof. Tesler Ch. 8. Generating Functions Math 184A / Fall 2017 1 / 63 Ordinary Generating Functions (OGF) Let a n (n = 0, 1,...)

More information

4. How to prove a problem is NPC

4. How to prove a problem is NPC The reducibility relation T is transitive, i.e, A T B and B T C imply A T C Therefore, to prove that a problem A is NPC: (1) show that A NP (2) choose some known NPC problem B define a polynomial transformation

More information

ACTIVITY 14 Continued

ACTIVITY 14 Continued 015 College Board. All rights reserved. Postal Service Write your answers on notebook paper. Show your work. Lesson 1-1 1. The volume of a rectangular bo is given by the epression V = (10 6w)w, where w

More information

Discrete Probability

Discrete Probability Discrete Probability Counting Permutations Combinations r- Combinations r- Combinations with repetition Allowed Pascal s Formula Binomial Theorem Conditional Probability Baye s Formula Independent Events

More information

TECHNIQUES IN FACTORISATION

TECHNIQUES IN FACTORISATION TECHNIQUES IN FACTORISATION The process where brackets are inserted into an equation is referred to as factorisation. Factorisation is the opposite process to epansion. METHOD: Epansion ( + )( 5) 15 Factorisation

More information

10.4: WORKING WITH TAYLOR SERIES

10.4: WORKING WITH TAYLOR SERIES 04: WORKING WITH TAYLOR SERIES Contributed by OpenSta Mathematics at OpenSta CNX In the preceding section we defined Taylor series and showed how to find the Taylor series for several common functions

More information

Discrete Mathematics

Discrete Mathematics Disrete Mathematis -- Chapter 8: The Priniple i of Inlusion and Exlusion Hung-Yu Kao Department of Computer iene and Information Engineering, ational lcheng Kung University Outline The Priniple of Inlusion

More information

The Inclusion Exclusion Principle

The Inclusion Exclusion Principle The Inclusion Exclusion Principle 1 / 29 Outline Basic Instances of The Inclusion Exclusion Principle The General Inclusion Exclusion Principle Counting Derangements Counting Functions Stirling Numbers

More information

Answers Investigation 3

Answers Investigation 3 Answers Investigation Applications. a., b. s = n c. The numbers seem to be increasing b a greater amount each time. The square number increases b consecutive odd integers:,, 7,, c X X=. a.,,, b., X 7 X=

More information

MATH39001 Generating functions. 1 Ordinary power series generating functions

MATH39001 Generating functions. 1 Ordinary power series generating functions MATH3900 Generating functions The reference for this part of the course is generatingfunctionology by Herbert Wilf. The 2nd edition is downloadable free from http://www.math.upenn. edu/~wilf/downldgf.html,

More information

Core Mathematics 2 Unit C2 AS

Core Mathematics 2 Unit C2 AS Core Mathematics 2 Unit C2 AS compulsory unit for GCE AS and GCE Mathematics, GCE AS and GCE Pure Mathematics C2.1 Unit description Algebra and functions; coordinate geometry in the (, y) plane; sequences

More information

Some Review Problems for Exam 3: Solutions

Some Review Problems for Exam 3: Solutions Math 3355 Spring 017 Some Review Problems for Exam 3: Solutions I thought I d start by reviewing some counting formulas. Counting the Complement: Given a set U (the universe for the problem), if you want

More information

9.6 r-combinations with Repetition Allowed

9.6 r-combinations with Repetition Allowed 584 Chapter 9 Counting and Probability Exercises 32 38 refer to the sequence of Stirling numbers of the second kind. 32. Find S 3,4 by exhibiting all the partitions of {x 1, x 2, x 3, x 4, x 5 } into four

More information

Section 5.1 Polynomial Functions and Models

Section 5.1 Polynomial Functions and Models Term: A term is an expression that involves only multiplication and/or division with constants and/or variables. A term is separated by + or Polynomial: A polynomial is a single term or the sum of two

More information

Math Fall Final Exam. Friday, 14 December Show all work for full credit. The problems are worth 6 points each.

Math Fall Final Exam. Friday, 14 December Show all work for full credit. The problems are worth 6 points each. Name: Math 50 - Fall 2007 Final Exam Friday, 4 December 2007 Show all work for full credit. The problems are worth 6 points each.. Find the number of subsets of S = {, 2,... 0} that contain exactly 5 elements,

More information

Generating Functions

Generating Functions Generating Functions Prachi Pendse January 9, 03 Motivation for Generating Functions Question How many ways can you select 6 cards from a set of 0? ( + ) 0 = ( + )( + )( + )... = 0 + 0 9 + 4 8 + 0 ( )

More information

Discrete Mathematics, Spring 2004 Homework 4 Sample Solutions

Discrete Mathematics, Spring 2004 Homework 4 Sample Solutions Discrete Mathematics, Spring 2004 Homework 4 Sample Solutions 4.2 #77. Let s n,k denote the number of ways to seat n persons at k round tables, with at least one person at each table. (The numbers s n,k

More information

Attributes of Polynomial Functions VOCABULARY

Attributes of Polynomial Functions VOCABULARY 8- Attributes of Polnomial Functions TEKS FCUS Etends TEKS ()(A) Graph the functions f () =, f () =, f () =, f () =, f () = b, f () =, and f () = log b () where b is,, and e, and, when applicable, analze

More information

CS 2336 Discrete Mathematics

CS 2336 Discrete Mathematics CS 2336 Discrete Mathematics Lecture 8 Counting: Permutations and Combinations 1 Outline Definitions Permutation Combination Interesting Identities 2 Definitions Selection and arrangement of objects appear

More information

Introduction to Combinatorial Mathematics

Introduction 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 / 57

More information

Discrete Mathematics -- Chapter 10: Recurrence Relations

Discrete Mathematics -- Chapter 10: Recurrence Relations Discrete Mathematics -- Chapter 10: Recurrence Relations Hung-Yu Kao ( 高宏宇 ) Department of Computer Science and Information Engineering, National Cheng Kung University First glance at recurrence F n+2

More information

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime. PUTNAM TRAINING NUMBER THEORY (Last updated: December 11, 2017) Remark. This is a list of exercises on Number Theory. Miguel A. Lerma Exercises 1. Show that the sum of two consecutive primes is never twice

More information

1. At the end, Sue is on rung number = 18. Since this is also the top rung, there must be 18 rungs in total.

1. At the end, Sue is on rung number = 18. Since this is also the top rung, there must be 18 rungs in total. Grade 7 Solutions. At the end, Sue is on rung number 9 + 6 + 9 + = 8. Since this is also the top rung, there must be 8 rungs in total.. The answer is.. We apply the divisibility rule for. The sum of the

More information

Chapter 8 Sequences, Series, and Probability

Chapter 8 Sequences, Series, and Probability Chapter 8 Sequences, Series, and Probability Overview 8.1 Sequences and Series 8.2 Arithmetic Sequences and Partial Sums 8.3 Geometric Sequences and Partial Sums 8.5 The Binomial Theorem 8.6 Counting Principles

More information

Chapter 6: Polynomials

Chapter 6: Polynomials Chapter : Polynomials Chapter : Polynomials POLYNOMIALS Definition: A polynomial is an algebraic epression that is a sum of terms, where each term contains only variables with whole number eponents and

More information

Answers. Investigation 3. ACE Assignment Choices. Applications. = = 210 (Note: students

Answers. Investigation 3. ACE Assignment Choices. Applications. = = 210 (Note: students Answers Investigation ACE Assignment Choices Problem. Core,,, Other Applications ; Connections, ; Etensions 7, ; unassigned choices from previous problems Problem. Core, Other Connections 7; Etensions

More information

Basic Concepts of Probability. Section 3.1 Basic Concepts of Probability. Probability Experiments. Chapter 3 Probability

Basic Concepts of Probability. Section 3.1 Basic Concepts of Probability. Probability Experiments. Chapter 3 Probability Chapter 3 Probability 3.1 Basic Concepts of Probability 3.2 Conditional Probability and the Multiplication Rule 3.3 The Addition Rule 3.4 Additional Topics in Probability and Counting Section 3.1 Basic

More information

COUNCIL ROCK HIGH SCHOOL MATHEMATICS. A Note Guideline of Algebraic Concepts. Designed to assist students in A Summer Review of Algebra

COUNCIL ROCK HIGH SCHOOL MATHEMATICS. A Note Guideline of Algebraic Concepts. Designed to assist students in A Summer Review of Algebra COUNCIL ROCK HIGH SCHOOL MATHEMATICS A Note Guideline of Algebraic Concepts Designed to assist students in A Summer Review of Algebra [A teacher prepared compilation of the 7 Algebraic concepts deemed

More information

Bell Quiz 2-3. Determine the end behavior of the graph using limit notation. Find a function with the given zeros , 2. 5 pts possible.

Bell Quiz 2-3. Determine the end behavior of the graph using limit notation. Find a function with the given zeros , 2. 5 pts possible. Bell Quiz 2-3 2 pts Determine the end behavior of the graph using limit notation. 5 2 1. g( ) = 8 + 13 7 3 pts Find a function with the given zeros. 4. -1, 2 5 pts possible Ch 2A Big Ideas 1 Questions

More information

National Quali cations

National Quali cations National Quali cations AH08 X747/77/ Mathematics THURSDAY, MAY 9:00 AM :00 NOON Total marks 00 Attempt ALL questions. You may use a calculator. Full credit will be given only to solutions which contain

More information

Discrete Mathematics. Spring 2017

Discrete Mathematics. Spring 2017 Discrete Mathematics Spring 2017 Previous Lecture Principle of Mathematical Induction Mathematical Induction: rule of inference Mathematical Induction: Conjecturing and Proving Climbing an Infinite Ladder

More information

Chapter 5: Integer Compositions and Partitions and Set Partitions

Chapter 5: Integer Compositions and Partitions and Set Partitions Chapter 5: Integer Compositions and Partitions and Set Partitions Prof. Tesler Math 184A Winter 2017 Prof. Tesler Ch. 5: Compositions and Partitions Math 184A / Winter 2017 1 / 32 5.1. Compositions A strict

More information

Math 564 Homework 1. Solutions.

Math 564 Homework 1. Solutions. Math 564 Homework 1. Solutions. Problem 1. Prove Proposition 0.2.2. A guide to this problem: start with the open set S = (a, b), for example. First assume that a >, and show that the number a has the properties

More information

Lecture 4: Counting, Pigeonhole Principle, Permutations, Combinations Lecturer: Lale Özkahya

Lecture 4: Counting, Pigeonhole Principle, Permutations, Combinations Lecturer: Lale Özkahya BBM 205 Discrete Mathematics Hacettepe University http://web.cs.hacettepe.edu.tr/ bbm205 Lecture 4: Counting, Pigeonhole Principle, Permutations, Combinations Lecturer: Lale Özkahya Resources: Kenneth

More information

ACCUPLACER MATH 0310

ACCUPLACER MATH 0310 The University of Teas at El Paso Tutoring and Learning Center ACCUPLACER MATH 00 http://www.academics.utep.edu/tlc MATH 00 Page Linear Equations Linear Equations Eercises 5 Linear Equations Answer to

More information

Fundamental Principle of Counting: If event A can occur in m ways and event B can occur in n ways, then both events can occur in m n ways.

Fundamental Principle of Counting: If event A can occur in m ways and event B can occur in n ways, then both events can occur in m n ways. ELM Tutorial Unit.1 Apply the Counting Principle Fundamental Principle of Counting: If event A can occur in m ways and event B can occur in n ways, then both events can occur in m n ways. Suppose there

More information

Name These exercises cover topics from Algebra I and Algebra II. Complete each question the best you can.

Name These exercises cover topics from Algebra I and Algebra II. Complete each question the best you can. Name These eercises cover topics from Algebra I and Algebra II. Complete each question the best you can. Multiple Choice: Place through the letter of the correct answer. You may only use your calculator

More information

Partition of Integers into Distinct Summands with Upper Bounds. Partition of Integers into Even Summands. An Example

Partition of Integers into Distinct Summands with Upper Bounds. Partition of Integers into Even Summands. An Example Partition of Integers into Even Summands We ask for the number of partitions of m Z + into positive even integers The desired number is the coefficient of x m in + x + x 4 + ) + x 4 + x 8 + ) + x 6 + x

More information

Section 7.2: One-to-One, Onto and Inverse Functions

Section 7.2: One-to-One, Onto and Inverse Functions Section 7.2: One-to-One, Onto and Inverse Functions In this section we shall developed the elementary notions of one-to-one, onto and inverse functions, similar to that developed in a basic algebra course.

More information

Chapter 5: Integer Compositions and Partitions and Set Partitions

Chapter 5: Integer Compositions and Partitions and Set Partitions Chapter 5: Integer Compositions and Partitions and Set Partitions Prof. Tesler Math 184A Fall 2017 Prof. Tesler Ch. 5: Compositions and Partitions Math 184A / Fall 2017 1 / 46 5.1. Compositions A strict

More information

Essential Question How can you cube a binomial? Work with a partner. Find each product. Show your steps. = (x + 1) Multiply second power.

Essential Question How can you cube a binomial? Work with a partner. Find each product. Show your steps. = (x + 1) Multiply second power. 4.2 Adding, Subtracting, and Multiplying Polynomials COMMON CORE Learning Standards HSA-APR.A.1 HSA-APR.C.4 HSA-APR.C.5 Essential Question How can you cube a binomial? Cubing Binomials Work with a partner.

More information

8.3 Zero, Negative, and Fractional Exponents

8.3 Zero, Negative, and Fractional Exponents www.ck2.org Chapter 8. Eponents and Polynomials 8.3 Zero, Negative, and Fractional Eponents Learning Objectives Simplify epressions with zero eponents. Simplify epressions with negative eponents. Simplify

More information

Review problems solutions

Review problems solutions Review problems solutions Math 3152 December 15, 2017 1. Use the binomial theorem to prove that, for all n 1 and k satisfying 0 k n, ( )( ) { n i ( 1) i k 1 if k n; i k 0 otherwise. ik Solution: Using

More information

Applied Algebra II Semester 2 Practice Exam A DRAFT. 6. Let f ( x) = 2x A. 47 B. 92 C. 139 D. 407

Applied Algebra II Semester 2 Practice Exam A DRAFT. 6. Let f ( x) = 2x A. 47 B. 92 C. 139 D. 407 Applied Algebra II Semester Practice Eam A. Find the solution set of { + 0, 0} { + i 0, i 0} { + i, i } { +, } + = 9.. Let f ( ) = and ( ) 0 g =. Which epression is equivalent to f g? ( ) ( ). What is

More information

Countable and uncountable sets. Matrices.

Countable and uncountable sets. Matrices. Lecture 11 Countable and uncountable sets. Matrices. Instructor: Kangil Kim (CSE) E-mail: kikim01@konkuk.ac.kr Tel. : 02-450-3493 Room : New Milenium Bldg. 1103 Lab : New Engineering Bldg. 1202 Next topic:

More information

Some Review Problems for Exam 3: Solutions

Some Review Problems for Exam 3: Solutions Math 3355 Fall 018 Some Review Problems for Exam 3: Solutions I thought I d start by reviewing some counting formulas. Counting the Complement: Given a set U (the universe for the problem), if you want

More information

Chapter 2 - Basics Structures MATH 213. Chapter 2: Basic Structures. Dr. Eric Bancroft. Fall Dr. Eric Bancroft MATH 213 Fall / 60

Chapter 2 - Basics Structures MATH 213. Chapter 2: Basic Structures. Dr. Eric Bancroft. Fall Dr. Eric Bancroft MATH 213 Fall / 60 MATH 213 Chapter 2: Basic Structures Dr. Eric Bancroft Fall 2013 Dr. Eric Bancroft MATH 213 Fall 2013 1 / 60 Chapter 2 - Basics Structures 2.1 - Sets 2.2 - Set Operations 2.3 - Functions 2.4 - Sequences

More information

CONGRUENCES FOR GENERALIZED FROBENIUS PARTITIONS WITH AN ARBITRARILY LARGE NUMBER OF COLORS

CONGRUENCES FOR GENERALIZED FROBENIUS PARTITIONS WITH AN ARBITRARILY LARGE NUMBER OF COLORS #A7 INTEGERS 14 (2014) CONGRUENCES FOR GENERALIZED FROBENIUS PARTITIONS WITH AN ARBITRARILY LARGE NUMBER OF COLORS Frank G. Garvan Department of Mathematics, University of Florida, Gainesville, Florida

More information

CS 210 Foundations of Computer Science

CS 210 Foundations of Computer Science IIT Madras Dept. of Computer Science & Engineering CS 210 Foundations of Computer Science Debdeep Mukhopadhyay Counting-II Pigeonhole Principle If n+1 or more objects (pigeons) are placed into n boxes,

More information

Euler-Maclaurin summation formula

Euler-Maclaurin summation formula Physics 4 Spring 6 Euler-Maclaurin summation formula Lecture notes by M. G. Rozman Last modified: March 9, 6 Euler-Maclaurin summation formula gives an estimation of the sum N in f i) in terms of the integral

More information

SYLLABUS FOR ENTRANCE EXAMINATION NANYANG TECHNOLOGICAL UNIVERSITY FOR INTERNATIONAL STUDENTS A-LEVEL MATHEMATICS

SYLLABUS FOR ENTRANCE EXAMINATION NANYANG TECHNOLOGICAL UNIVERSITY FOR INTERNATIONAL STUDENTS A-LEVEL MATHEMATICS SYLLABUS FOR ENTRANCE EXAMINATION NANYANG TECHNOLOGICAL UNIVERSITY FOR INTERNATIONAL STUDENTS A-LEVEL MATHEMATICS STRUCTURE OF EXAMINATION PAPER. There will be one -hour paper consisting of 4 questions..

More information

Homework 3 Solutions, Math 55

Homework 3 Solutions, Math 55 Homework 3 Solutions, Math 55 1.8.4. There are three cases: that a is minimal, that b is minimal, and that c is minimal. If a is minimal, then a b and a c, so a min{b, c}, so then Also a b, so min{a, b}

More information

Algebra Review C H A P T E R. To solve an algebraic equation with one variable, find the value of the unknown variable.

Algebra Review C H A P T E R. To solve an algebraic equation with one variable, find the value of the unknown variable. C H A P T E R 6 Algebra Review This chapter reviews key skills and concepts of algebra that you need to know for the SAT. Throughout the chapter are sample questions in the style of SAT questions. Each

More information

2 Generating Functions

2 Generating Functions 2 Generating Functions In this part of the course, we re going to introduce algebraic methods for counting and proving combinatorial identities. This is often greatly advantageous over the method of finding

More information

Mini-Lecture 5.1 Exponents and Scientific Notation

Mini-Lecture 5.1 Exponents and Scientific Notation Mini-Lecture.1 Eponents and Scientific Notation Learning Objectives: 1. Use the product rule for eponents.. Evaluate epressions raised to the zero power.. Use the quotient rule for eponents.. Evaluate

More information

ALGEBRAIC EXPRESSIONS AND POLYNOMIALS

ALGEBRAIC EXPRESSIONS AND POLYNOMIALS MODULE - ic Epressions and Polynomials ALGEBRAIC EXPRESSIONS AND POLYNOMIALS So far, you had been using arithmetical numbers, which included natural numbers, whole numbers, fractional numbers, etc. and

More information

Posted Thursday February 14. STUDY IN-DEPTH...the posted solutions to homeworks 1-3. Compare with your own solutions.

Posted Thursday February 14. STUDY IN-DEPTH...the posted solutions to homeworks 1-3. Compare with your own solutions. CIS 160 - Spring 2019 (Instructors Val Tannen, Clayton Greenberg Midterm 1 Review Posted Thursday February 14 1 Readings STUDY IN-DEPTH......the posted notes for lectures 1-8. STUDY IN-DEPTH......the posted

More information

Involutions by Descents/Ascents and Symmetric Integral Matrices. Alan Hoffman Fest - my hero Rutgers University September 2014

Involutions by Descents/Ascents and Symmetric Integral Matrices. Alan Hoffman Fest - my hero Rutgers University September 2014 by Descents/Ascents and Symmetric Integral Matrices Richard A. Brualdi University of Wisconsin-Madison Joint work with Shi-Mei Ma: European J. Combins. (to appear) Alan Hoffman Fest - my hero Rutgers University

More information

MCB1007 Introduction to Probability and Statistics. First Midterm. Fall Solutions

MCB1007 Introduction to Probability and Statistics. First Midterm. Fall Solutions İstanbul Kültür University MCB7 Introduction to Probability and Statistics First Midterm Fall 4-5 Solutions Directions You have 9 minutes to complete the eam Please do not leave the eamination room in

More information

Fibonacci numbers. Chapter The Fibonacci sequence. The Fibonacci numbers F n are defined recursively by

Fibonacci numbers. Chapter The Fibonacci sequence. The Fibonacci numbers F n are defined recursively by Chapter Fibonacci numbers The Fibonacci sequence The Fibonacci numbers F n are defined recursively by F n+ = F n + F n, F 0 = 0, F = The first few Fibonacci numbers are n 0 5 6 7 8 9 0 F n 0 5 8 55 89

More information

Matrices and Vectors

Matrices and Vectors Matrices and Vectors James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University November 11, 2013 Outline 1 Matrices and Vectors 2 Vector Details 3 Matrix

More information

Extension of Summation Formulas involving Stirling series

Extension of Summation Formulas involving Stirling series Etension of Summation Formulas involving Stirling series Raphael Schumacher arxiv:6050904v [mathnt] 6 May 06 Abstract This paper presents a family of rapidly convergent summation formulas for various finite

More information

Advanced Higher Mathematics Course Assessment Specification

Advanced Higher Mathematics Course Assessment Specification Advanced Higher Mathematics Course Assessment Specification Valid from August 015 This edition: April 013, version 1.0 This specification may be reproduced in whole or in part for educational purposes

More information

arb where a A, b B and we say a is related to b. Howdowewritea is not related to b? 2Rw 1Ro A B = {(a, b) a A, b B}

arb where a A, b B and we say a is related to b. Howdowewritea is not related to b? 2Rw 1Ro A B = {(a, b) a A, b B} Functions Functions play an important role in mathematics as well as computer science. A function is a special type of relation. So what s a relation? A relation, R, from set A to set B is defined as arb

More information

Name Date Period. Pre-Calculus Midterm Review Packet (Chapters 1, 2, 3)

Name Date Period. Pre-Calculus Midterm Review Packet (Chapters 1, 2, 3) Name Date Period Sections and Scoring Pre-Calculus Midterm Review Packet (Chapters,, ) Your midterm eam will test your knowledge of the topics we have studied in the first half of the school year There

More information

Math 3201 Sample Exam. PART I Total Value: 50% 1. Given the Venn diagram below, what is the number of elements in both A and B, n(aub)?

Math 3201 Sample Exam. PART I Total Value: 50% 1. Given the Venn diagram below, what is the number of elements in both A and B, n(aub)? Math 0 Sample Eam PART I Total : 50%. Given the Venn diagram below, what is the number of elements in both A and B, n(aub)? 6 8 A green white black blue red ellow B purple orange. Given the Venn diagram

More information

Section 4.2 Basic Concepts of Probability

Section 4.2 Basic Concepts of Probability Section 4.2 Basic Concepts of Probability 2012 Pearson Education, Inc. All rights reserved. 1 of 88 Section 4.2 Objectives Identify the sample space of a probability experiment Identify simple events Use

More information

PACKET Unit 4 Honors ICM Functions and Limits 1

PACKET Unit 4 Honors ICM Functions and Limits 1 PACKET Unit 4 Honors ICM Functions and Limits 1 Day 1 Homework For each of the rational functions find: a. domain b. -intercept(s) c. y-intercept Graph #8 and #10 with at least 5 EXACT points. 1. f 6.

More information

ON PARTITION FUNCTIONS OF ANDREWS AND STANLEY

ON PARTITION FUNCTIONS OF ANDREWS AND STANLEY ON PARTITION FUNCTIONS OF ANDREWS AND STANLEY AE JA YEE Abstract. G. E. Andrews has established a refinement of the generating function for partitions π according to the numbers O(π) and O(π ) of odd parts

More information

MATH 118 FINAL EXAM STUDY GUIDE

MATH 118 FINAL EXAM STUDY GUIDE MATH 118 FINAL EXAM STUDY GUIDE Recommendations: 1. Take the Final Practice Exam and take note of questions 2. Use this study guide as you take the tests and cross off what you know well 3. Take the Practice

More information

GEOMETRY AND MENSURATION...

GEOMETRY AND MENSURATION... Contents NUMBERS...3 1. Number System... 3 2. Sequence, Series and Progression... 8 ARITHMETIC... 12 3. Averages... 12 4. Ratio and Proportion... 16 5. Percentage... 20 6. Profit and Loss... 23 7. Interest...

More information

Algebra II Vocabulary Cards

Algebra II Vocabulary Cards Algebra II Vocabulary Cards Table of Contents Expressions and Operations Natural Numbers Whole Numbers Integers Rational Numbers Irrational Numbers Real Numbers Complex Numbers Complex Number (examples)

More information

Topic: Expressions & Operations AII.1

Topic: Expressions & Operations AII.1 Topic: Epressions & Operations AII.1 AII.1 The student will identify field properties, aioms of equality and inequality, and properties of order that are valid for the set of real numbers and its subsets,

More information

FRACTIONAL FACTORIAL DESIGNS OF STRENGTH 3 AND SMALL RUN SIZES

FRACTIONAL FACTORIAL DESIGNS OF STRENGTH 3 AND SMALL RUN SIZES FRACTIONAL FACTORIAL DESIGNS OF STRENGTH 3 AND SMALL RUN SIZES ANDRIES E. BROUWER, ARJEH M. COHEN, MAN V.M. NGUYEN Abstract. All mixed (or asymmetric) orthogonal arrays of strength 3 with run size at most

More information

7.2 Multiplying Polynomials

7.2 Multiplying Polynomials Locker LESSON 7. Multiplying Polynomials Teas Math Standards The student is epected to: A.7.B Add, subtract, and multiply polynomials. Mathematical Processes A.1.E Create and use representations to organize,

More information

Which of the following expressions are monomials?

Which of the following expressions are monomials? 9 1 Stud Guide Pages 382 387 Polnomials The epressions, 6, 5a 2, and 10cd 3 are eamples of monomials. A monomial is a number, a variable, or a product of numbers and variables. An eponents in a monomial

More information

UNM - PNM STATEWIDE MATHEMATICS CONTEST XLIX. February 4, 2017 Second Round Three Hours

UNM - PNM STATEWIDE MATHEMATICS CONTEST XLIX. February 4, 2017 Second Round Three Hours UNM - PNM STATEWIDE MATHEMATICS CONTEST XLIX February 4, 2017 Second Round Three Hours 1. What are the last two digits of 2017 2017? Answer: 77. From Round 1, we now that (2017) 4 7 4 1 mod 10. Thus 7

More information

Generalized Near-Bell Numbers

Generalized Near-Bell Numbers 1 2 3 47 6 23 11 Journal of Integer Sequences, Vol. 12 2009, Article 09.5.7 Generalized Near-Bell Numbers Martin Griffiths Department of Mathematical Sciences University of Esse Wivenhoe Par Colchester

More information

Generating Functions of Partitions

Generating Functions of Partitions CHAPTER B Generating Functions of Partitions For a complex sequence {α n n 0,, 2, }, its generating function with a complex variable q is defined by A(q) : α n q n α n [q n ] A(q). When the sequence has

More information

THE DISTRIBUTIVE LAW. Note: To avoid mistakes, include arrows above or below the terms that are being multiplied.

THE DISTRIBUTIVE LAW. Note: To avoid mistakes, include arrows above or below the terms that are being multiplied. THE DISTRIBUTIVE LAW ( ) When an equation of the form a b c is epanded, every term inside the bracket is multiplied by the number or pronumeral (letter), and the sign that is located outside the brackets.

More information

Math Bank - 6. What is the area of the triangle on the Argand diagram formed by the complex number z, -iz, z iz? (a) z 2 (b) 2 z 2

Math Bank - 6. What is the area of the triangle on the Argand diagram formed by the complex number z, -iz, z iz? (a) z 2 (b) 2 z 2 Math Bank - 6 Q.) Suppose A represents the symbol, B represents the symbol 0, C represents the symbol, D represents the symbol 0 and so on. If we divide INDIA by AGRA, then which one of the following is

More information

1 The Basic Counting Principles

1 The Basic Counting Principles 1 The Basic Counting Principles The Multiplication Rule If an operation consists of k steps and the first step can be performed in n 1 ways, the second step can be performed in n ways [regardless of how

More information

The grade table is on the following page.

The grade table is on the following page. Discrete Mathematics 1 TrevTutor.com Final Exam Time Limit: 180 Minutes Name: Class Section This exam contains 16 pages (including this cover page) and 17 questions. The total number of points is 142.

More information

Unit 7 Graphs and Graphing Utilities - Classwork

Unit 7 Graphs and Graphing Utilities - Classwork A. Graphing Equations Unit 7 Graphs and Graphing Utilities - Classwork Our first job is being able to graph equations. We have done some graphing in trigonometry but now need a general method of seeing

More information

Outline. 1 The Role of Functions. 2 Polynomial Functions. 3 Power Functions. 4 Rational Functions. 5 Exponential & Logarithmic Functions

Outline. 1 The Role of Functions. 2 Polynomial Functions. 3 Power Functions. 4 Rational Functions. 5 Exponential & Logarithmic Functions Outline MS11: IT Mathematics Functions Catalogue of Essential Functions John Carroll School of Mathematical Sciences Dublin City University 1 The Role of Functions 3 Power Functions 4 Rational Functions

More information

Algebra II Vocabulary Cards

Algebra II Vocabulary Cards Algebra II Vocabulary Cards Table of Contents Expressions and Operations Natural Numbers Whole Numbers Integers Rational Numbers Irrational Numbers Real Numbers Complex Numbers Complex Number (examples)

More information

ORTHOGONAL ARRAYS OF STRENGTH 3 AND SMALL RUN SIZES

ORTHOGONAL ARRAYS OF STRENGTH 3 AND SMALL RUN SIZES ORTHOGONAL ARRAYS OF STRENGTH 3 AND SMALL RUN SIZES ANDRIES E. BROUWER, ARJEH M. COHEN, MAN V.M. NGUYEN Abstract. All mixed (or asymmetric) orthogonal arrays of strength 3 with run size at most 64 are

More information

CHAPTER-1. SETS. Q.4 Write down the proper subsets of { a, b, Q.5 Write down the power set of { 5,6,7 }? Verify the following result :

CHAPTER-1. SETS. Q.4 Write down the proper subsets of { a, b, Q.5 Write down the power set of { 5,6,7 }? Verify the following result : CHAPTER-. SETS Q. Write the following sets in roster form (i) A = { : is an integer and 5 5 } (ii) B = { : is a natural number and < < 4} (iii) C= { : is a two- digit natural number such that sum of digit

More information

PÓLYA S COUNTING THEORY Mollee Huisinga May 9, 2012

PÓLYA S COUNTING THEORY Mollee Huisinga May 9, 2012 PÓLYA S COUNTING THEORY Mollee Huisinga May 9, 202 Introduction In combinatorics, there are very few formulas that apply comprehensively to all cases of a given problem. Pólya s Counting Theory is a spectacular

More information

Discrete Mathematics & Mathematical Reasoning Chapter 6: Counting

Discrete Mathematics & Mathematical Reasoning Chapter 6: Counting Discrete Mathematics & Mathematical Reasoning Chapter 6: Counting Kousha Etessami U. of Edinburgh, UK Kousha Etessami (U. of Edinburgh, UK) Discrete Mathematics (Chapter 6) 1 / 39 Chapter Summary The Basics

More information

Polynomial and Rational Functions. Copyright Cengage Learning. All rights reserved.

Polynomial and Rational Functions. Copyright Cengage Learning. All rights reserved. 2 Polynomial and Rational Functions Copyright Cengage Learning. All rights reserved. 2.3 Real Zeros of Polynomial Functions Copyright Cengage Learning. All rights reserved. What You Should Learn Use long

More information

1999 Probe I. 1) If f(x) = x 4 c. - 1, then f, b 0, equals. d) 1

1999 Probe I. 1) If f(x) = x 4 c. - 1, then f, b 0, equals. d) 1 ) If f(x) = x c -, then f, b 0, equals b c b b c b c b b c b c b 999 Probe I ) If the numbers x = 6, y = 9 0, z = 7 8 were arranged in decreasing numerical order, the ordering would be z > y > x x > y

More information

What you learned in Math 28. Rosa C. Orellana

What you learned in Math 28. Rosa C. Orellana What you learned in Math 28 Rosa C. Orellana Chapter 1 - Basic Counting Techniques Sum Principle If we have a partition of a finite set S, then the size of S is the sum of the sizes of the blocks of the

More information

Section 5.0A Factoring Part 1

Section 5.0A Factoring Part 1 Section 5.0A Factoring Part 1 I. Work Together A. Multiply the following binomials into trinomials. (Write the final result in descending order, i.e., a + b + c ). ( 7)( + 5) ( + 7)( + ) ( + 7)(3 + 5)

More information

Sums and Products. a i = a 1. i=1. a i = a i a n. n 1

Sums and Products. a i = a 1. i=1. a i = a i a n. n 1 Sums and Products -27-209 In this section, I ll review the notation for sums and products Addition and multiplication are binary operations: They operate on two numbers at a time If you want to add or

More information

Further factorising, simplifying, completing the square and algebraic proof

Further factorising, simplifying, completing the square and algebraic proof Further factorising, simplifying, completing the square and algebraic proof 8 CHAPTER 8. Further factorising Quadratic epressions of the form b c were factorised in Section 8. by finding two numbers whose

More information