Combinations with repetitions allowed

Slides:



Advertisements
Similar presentations
Table of Contents Solving Linear Inequalities Graphically It is assumed you already know how to solve linear inequalities algebraically. A inequality is.
Advertisements

4/5/05Tucker, Sec Applied Combinatorics, 4rth Ed. Alan Tucker Section 5.4 Distributions Prepared by Jo Ellis-Monaghan.
Tucker, Section 5.41 Section 5.4 Distributions By Colleen Raimondi.
HOW TO ADD INTEGERS REMEMBER:
Row Reduction Method Lesson 6.4.
Combinations with repetitions allowed Red, green and blue cubes are given. There are at least five cubes of each of the above colors. In how many ways.
Notes - Solving Quadratic Equations in Factored Form If ab = 0, then a = 0 or b = 0 If the product of two factors is zero, then at least one of the factors.
4.3 Gauss Jordan Elimination Any linear system must have exactly one solution, no solution, or an infinite number of solutions. Just as in the 2X2 case,
FINDING A POLYNOMIAL PASSING THROUGH A POINT. Review: the Linear Factorization Theorem If where n > 1 and a n ≠ 0 then Where c 1, c 2, … c n are complex.
FRACTIONS & SHAPES BY:. How many of these are colored red? * out of *.
H.Melikian/12101 Gauss-Jordan Elimination Dr.Hayk Melikyan Departhmen of Mathematics and CS Any linear system must have exactly one solution,
Section 1.3 Each arrangement (ordering) of n distinguishable objects is called a permutation, and the number of permutations of n distinguishable objects.
Making Mathematical Arguments Adding Signed Numbers.
Digital logic COMP214  Lecture 2 Dr. Sarah M.Eljack Chapter 1 1.
Comparing and Ordering Integers LESSON 6-2 Compare –12 and –10. Since –12 is to the left of –10, –12 < –10. Graph –12 and –10 on the same number line.
Section 6.3. Section Summary Permutations Combinations.
Parallel and Perpendicular Lines
6-5 Solving Absolute Value Equations
The Multiplication Rule
Chapter 4 Systems of Linear Equations; Matrices
LIAL HORNSBY SCHNEIDER
Copyright © 2013, 2009, 2005 Pearson Education, Inc.
DEFINING, REWRITING, AND EVALUATING RATIONAL EXPONENTS (1.1.1)
Basic Algebra.
What does science have to do with math???
Chapter 4 Systems of Linear Equations; Matrices
Generalized Permutations and Combinations
Modeling Adding and Subtracting Integers
Steps Squares and cubes Quadratic graphs Cubic graphs
Copyright © 2017, 2013, 2009 Pearson Education, Inc.
Graphing Systems of Inequalities.
Solving Absolute Value Equations
Warm Up State the domain and range of the following equations:
Warm Up < > = < -3, -2/5, -.34, 0, 3/4 Compare: 1) -8 -5
Arrangements & Selections with Repetition
Math 106 – Combinatorics – Quiz #4 Review Sheet
Copyright © Cengage Learning. All rights reserved.
Linear Equations in Linear Algebra
Adding Integers Using a Number Line.
More Counting A B … f Lecture 16: Nov 9.
Subtracting Integers with Tiles
Directions: Color your name with any tiles you want.
Page 31 A B C D E The following figures above all have the same area, but may have different perimeters. Which of the figures has the smallest perimeter?
Adding and Subtracting Integers.
Solving Linear Equations
Determination Intervals
Shading Polygons Lecture 36 Wed, Nov 28, 2007.
OPERATIONS WITH INTEGERS: ADD, SUBTRACT, MULTIPLY & DIVIDE.
Graphing a Linear Equation
Solving Absolute Value Equations
Solving Absolute Value Equations
Copyright © Cengage Learning. All rights reserved.
Multiplication strategies
4 + (-5) = A. Start at zero B. Move ______ spaces ___________ to get to the first number. C. From there, move _____ spaces __________ D. My final answer.
Adding and Subtracting Integers
Parallel and Perpendicular Lines
Zero and Negative Integral Indices
Solving Absolute Value Equations
Solving Absolute Value Equations
Solving Absolute Value Equations
Adding integers with tiles and number lines
Unit Two: Integers Lesson 2.1.
Solving Absolute Value Equations
Review of the Previous Discussions
Do not use a calculator for the following!!.
Linear Equations in Linear Algebra
Subtracting integers without number line 3 digit.
Solving Absolute Value Equations
Using number to subtract two integers
Adding integers without number line 2 digit.
Presentation transcript:

Combinations with repetitions allowed Red, green and blue cubes are given. There are at least five cubes of each of the above colors. In how many ways can a selection of five cubes be made, such that selecting zero or more cubes of the same color is allowed? This is the problem of combinations with repetitions allowed.

There are n distinct types of objects There are n distinct types of objects. In how many ways can r objects be selected, such that each object is of one of the above n types, and zero or more objects of each of the above types may be selected? Solution: Write down a line of n-1 bars. (For example if n=3, the line will be: | | ). Those bars create n spaces from left to right: the space to the left of the leftmost bar, followed by the space between the first and the second bar, etc., and finally the space to the right of the rightmost bar.

Then write zero or more stars in each space, such that the total number of stars is r, Thus creating a row of n-1 bars and r stars. Each combination as described above can be uniquely represented by such a row: Number the n spaces 1,…, n from left to right. Then the number of stars in the jth space represents the number of objects of type j selected. Example: n=3, r=5,  |  |    1 object of type 1, 1 of type 2, 3 of type 3 | |     zero objects of type 1, 1 object of type 2, 4 objects of type 3.

So the number of combinations described above is equal to the number of rows of n-1 bars and r stars. Such a row has n+r-1 characters, and is specified by selecting the locations of the r stars out of the n+r-1 locations. Therefore, the number of such rows is C(n+r-1,r), and this is also the number of combinations with repetitions allowed. In the above problem about red, green, and blue cubes, n=3 and r=5. The solution is C(n+r-1,r)=C(7,5)=21.

The problem of combinations with repetitions allowed with given n and r is equivalent to the following problem: How many solutions are there to the equation x1+ … + xn = r such that each xi is a non negative integer? xi represents the number of objects of type i selected.

Example: How many solutions does the equation x1+x2+x3 = 5 have such that x1, x2, x3 are non negative integers. Solution: Here n=3 and r=5, so the answer is C(n+r-1,r)=C(7,5)=21. Example: How many solutions does the equation x1+x2+x3 = 8 have such that x1, x2, x3 are integers, x11, x2  0, x3 2 ? Solution: Use the above correspondence between solutions of the equation and selecting r objects given n types of objects. Since 3 objects (one of type 1 and two of type 3 were already selected, 5 more have to be selected. So r=5, and the answer is C(n+r-1,r)=C(7,5)=21.