Counting II 3, 7 3, 2 3, 9 7, 2 7, 9 2, 9

Similar documents
CS103X: Discrete Structures Homework 4 Solutions

5.3. Generalized Permutations and Combinations

SECTION 1.5 : SUMMATION NOTATION + WORK WITH SEQUENCES

Trigonometric Form of a Complex Number. The Complex Plane. axis. ( 2, 1) or 2 i FIGURE The absolute value of the complex number z a bi is

In nite Sequences. Dr. Philippe B. Laval Kennesaw State University. October 9, 2008

.04. This means $1000 is multiplied by 1.02 five times, once for each of the remaining sixmonth

BINOMIAL EXPANSIONS In this section. Some Examples. Obtaining the Coefficients

How To Solve The Homewor Problem Beautifully

3. Greatest Common Divisor - Least Common Multiple

Lesson 15 ANOVA (analysis of variance)

Basic Elements of Arithmetic Sequences and Series

1 Correlation and Regression Analysis

Soving Recurrence Relations

THE ARITHMETIC OF INTEGERS. - multiplication, exponentiation, division, addition, and subtraction

Example 2 Find the square root of 0. The only square root of 0 is 0 (since 0 is not positive or negative, so those choices don t exist here).

Lecture 4: Cauchy sequences, Bolzano-Weierstrass, and the Squeeze theorem

A Recursive Formula for Moments of a Binomial Distribution

Math C067 Sampling Distributions

CHAPTER 11 Financial mathematics

5.4 Amortization. Question 1: How do you find the present value of an annuity? Question 2: How is a loan amortized?

Hypothesis testing. Null and alternative hypotheses

Infinite Sequences and Series

Section 8.3 : De Moivre s Theorem and Applications

I. Chi-squared Distributions

Week 3 Conditional probabilities, Bayes formula, WEEK 3 page 1 Expected value of a random variable

1. MATHEMATICAL INDUCTION

Solving Logarithms and Exponential Equations

FIBONACCI NUMBERS: AN APPLICATION OF LINEAR ALGEBRA. 1. Powers of a matrix

THE REGRESSION MODEL IN MATRIX FORM. For simple linear regression, meaning one predictor, the model is. for i = 1, 2, 3,, n

Repeating Decimals are decimal numbers that have number(s) after the decimal point that repeat in a pattern.

Confidence Intervals for One Mean

How to set up your GMC Online account

Elementary Theory of Russian Roulette

Your organization has a Class B IP address of Before you implement subnetting, the Network ID and Host ID are divided as follows:

Section 11.3: The Integral Test

UC Berkeley Department of Electrical Engineering and Computer Science. EE 126: Probablity and Random Processes. Solutions 9 Spring 2006

NATIONAL SENIOR CERTIFICATE GRADE 12

Lesson 17 Pearson s Correlation Coefficient

Hypergeometric Distributions

1. C. The formula for the confidence interval for a population mean is: x t, which was

2-3 The Remainder and Factor Theorems

Simple Annuities Present Value.

Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed.

Handling. Collection Calls

The Fundamental Forces of Nature

Convexity, Inequalities, and Norms

Incremental calculation of weighted mean and variance

Present Value Factor To bring one dollar in the future back to present, one uses the Present Value Factor (PVF): Concept 9: Present Value

CS103A Handout 23 Winter 2002 February 22, 2002 Solving Recurrence Relations

1 Computing the Standard Deviation of Sample Means

Taking DCOP to the Real World: Efficient Complete Solutions for Distributed Multi-Event Scheduling

Learning objectives. Duc K. Nguyen - Corporate Finance 21/10/2014

Lecture 4: Cheeger s Inequality

Department of Computer Science, University of Otago

Sequences and Series Using the TI-89 Calculator

Factors of sums of powers of binomial coefficients

WHEN IS THE (CO)SINE OF A RATIONAL ANGLE EQUAL TO A RATIONAL NUMBER?

Confidence Intervals. CI for a population mean (σ is known and n > 30 or the variable is normally distributed in the.

Asymptotic Growth of Functions

CHAPTER 7: Central Limit Theorem: CLT for Averages (Means)

PERMUTATIONS AND COMBINATIONS

CHAPTER 3 THE TIME VALUE OF MONEY

Factorizations: Searching for Factor Strings

Confidence Intervals

How to use what you OWN to reduce what you OWE

Measures of Spread and Boxplots Discrete Math, Section 9.4

Multiplexers and Demultiplexers

GCSE STATISTICS. 4) How to calculate the range: The difference between the biggest number and the smallest number.

A probabilistic proof of a binomial identity

Sequences and Series

Determining the sample size

I. Why is there a time value to money (TVM)?

hp calculators HP 12C Statistics - average and standard deviation Average and standard deviation concepts HP12C average and standard deviation

SEQUENCES AND SERIES CHAPTER

Properties of MLE: consistency, asymptotic normality. Fisher information.

The following example will help us understand The Sampling Distribution of the Mean. C1 C2 C3 C4 C5 50 miles 84 miles 38 miles 120 miles 48 miles

Now here is the important step

Overview of some probability distributions.

Lecture 2: Karger s Min Cut Algorithm

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 13

PENSION ANNUITY. Policy Conditions Document reference: PPAS1(7) This is an important document. Please keep it in a safe place.

This document contains a collection of formulas and constants useful for SPC chart construction. It assumes you are already familiar with SPC.

Math 113 HW #11 Solutions


THE HEIGHT OF q-binary SEARCH TREES

Definition. A variable X that takes on values X 1, X 2, X 3,...X k with respective frequencies f 1, f 2, f 3,...f k has mean

Output Analysis (2, Chapters 10 &11 Law)

MMQ Problems Solutions with Calculators. Managerial Finance

A Guide to the Pricing Conventions of SFE Interest Rate Products

S. Tanny MAT 344 Spring be the minimum number of moves required.

Bond Valuation I. What is a bond? Cash Flows of A Typical Bond. Bond Valuation. Coupon Rate and Current Yield. Cash Flows of A Typical Bond

SAMPLE QUESTIONS FOR FINAL EXAM. (1) (2) (3) (4) Find the following using the definition of the Riemann integral: (2x + 1)dx

Our aim is to show that under reasonable assumptions a given 2π-periodic function f can be represented as convergent series

Analyzing Longitudinal Data from Complex Surveys Using SUDAAN

Dilution Example. Chapter 24 Warrants and Convertibles. Warrants. The Difference Between Warrants and Call Options. Warrants

5 Boolean Decision Trees (February 11)

Transcription:

Coutig II Sometimes we will wat to choose objects from a set of objects, ad we wo t be iterested i orderig them. For example, if you are leavig for vacatio ad you wat to pac your suitcase with three of the seve pairs of shorts that you ow, the it does t matter i which order you pac the shorts. All that matters is which three pairs you pac. choose The umber of di eret ways that objects ca be chose from a set of objects (whe order does t matter) is called choose. It is writte i symbol form as Examples.. There are four di eret ways that oe letter ca be chose from the set of four letters {e, f, g, a}. Oe way is to choose the letter e. Alteratively, you could also choose the letter f, or the letter g, or the letter a. Sice there are optios for choosig oe object from a set of objects, we have. Below is a list of all the possible ways that umbers ca be chose from the set of four umbers {,,, 9}. There are six di eret ways. Thus,.,,, 9,, 9, 9 Geeral formula To say that we are choosig ad orderig objects from a set of objects is to say that we are performig separate tass. First is the tas of choosig objects from the set of objects, ad the umber of ways to perform that tas is. Secod is the tas of orderig the objects after we ve chose them. There are! ways to order objects. Let s repeat that. To choose ad order objects: First, choose the objects, the order the objects you chose. Optios multiply, so the total umber of ways that we ca choose ad order objects from a set of objects is!.

! We saw i the previous chapter that there are exactly ( )! ways to choose ad order objects from a set of objects. Therefore,!! ( )! Dividig the previous equatio by!: Examples.!!( There are di eret ways to choose which of the pairs of shorts that you will tae o your vacatio.!!( )! ()()(!)!! )! ()() () How may card poer hads are there if you play with a stadard dec of cards? You re coutig the umber of di eret collectios of cards that ca be tae from a set of cards. This umber is!!( )! ()()(9)(8)(!)!! ()()(9)(8) ()()(9)(8)!, 98, 9 You are i a small library. You wat to chec out boos. The library has 8 di eret boos to choose from. There are 8 di eret collectios of three boos that you could chec out. 8 8!!(8 )! 8(8)(8)(8!)! 8!, 8,, 8(8)(8)!, 9, 9, 9 * * * * * * * * * * * * *

Pascal s Triagle We ca arrage the umbers ito a triagle. I each row, the top umber of is the same. The bottom umber of is the same i each upward slatig diagoal. The triagle cotiues o forever. The first 8 rows are show above. This is called Pascal s triagle. It is amed after a Frech mathematicia who discovered it. It had bee discovered outside of Europe ceturies earlier by Chiese mathematicias. Moder mathematics bega i Europe, so its traditios ad stories ted to promote the exploits of Europeas over others. Some values of to start with is the umber of di eret ways you ca select objects from a set of objects. There is oly oe way to tae everythig you just tae everythig so. Similarly, there is oly oe way to tae othig from a set just tae othig, that s your oly optio. The umber of ways you ca select othig, a..a. objects, from a set is. That meas. Now we ca fill i the values for ad ito Pascal s triagle.

There are di eret ways to choose object from a set that has objects. Thus,. Similarly, there are exactly di eret optios for choosig objects from a set of objects. To see this, otice that decidig which of the objects that you will tae from a set of objects is the same as decidig which object you will leave behid. So the umber of ways you ca tae objectsisthesameastheumberofwaysyoucaleaveobject. That is to say,. Hece, Oce we fill i this ew iformatio o Pascal s triagle it loos lie Before movig o, let s loo bac at the last rule that we foud:. The argumet we gave there geeralizes, i that taig objects from

asetof objects is the same as leavig. Therefore, This formula tells us that the rows i Pascal s triagle will read the same left-to-right as they will right-to-left. You ca see that i the triagle o the ext page. What we saw earlier i the formula was the special case of the formula whe. Add the two umbers above to get the umber below Suppose that you have a set of di eret rocs: big red bric, ad di eret little blue marbles. How may di eret ways are there to choose +rocsfromthesetof rocs? Ay collectio of + rocs either icludes the big red bric, or it does t. Let s first loo at those collectios of +objectsthatdo cotai a big red bric. Oe of the +objectswewillchooseisabigredbric. That s agive. Thatmeasthatallwehavetodoisdecidewhich of the little blue marbles we wat to choose alog with the big red bric to mae up our collectio of +objects. Thereare di eret ways we could choose marbles from the total umber of littlebluemarbles. Thus,thereare di eret ways we could choose a set of +objectsfromoursetof rocs if we ow that oe of the objects we will choose is a big red bric. Now let s loo at those collectios of + objects that do t cotai the big red bric. The all +objectsthatwewillchoosearelittlebluemarbles. There are littlebluemarbles,adtheumberofdi eret ways we could choose +ofthe littlebluemarblesis +. Ay collectio of + rocs either icludes the big red bric, or it does t. So to fid the umber of ways that we could choose +objects, wejust have to add the umber of possibilities that cotai a big red bric, to the umber of possibilities that do t cotai a big red bric. That formula is + + + If ad,thetheaboveformulasaysthat +. Looig at Pascal s triagle, you ll see that ad are the two umbers that are just above the umber.

Chage the values of ad ad chec that the above formula always idicates that to fid a umber i Pascal s triagle, just sum the two umbers that are directly above it. For example, + + ad + + We ow the atural umbers that are at the very tip of Pascal s triagle. To fid the rest of the umbers i Pascal s triagle, we ca let that owledge tricle dow the triagle usig this latest formula that ay umber i the triagle is the sum of the two umbers above it. Notice that Pascal s triagle is the same if you read it left-to-right, or right-to-left. Covice yourself that this is a cosequece of the formula. * * * * * * * * * * * * *

Biomial Theorem For x, y R ad N, (x + y) X i x i The two lies above are what is called the Biomial Theorem. It gives you a easy way to fid powers of sums. Example. We ca use the Biomial Theorem ad Pascal s triagle to write out the product (x + y). The Biomial Theorem states that X (x + y) x i y i i i x y + x y + x + x y + xy +,, i y i x y + y x y The umbers,ad mae up the fourth row of Pascal s triagle, ad we ca see from the triagle that they equal,,, ad respectively. Therefore, (x + y) x +x y +xy + y Biomial coe ciets. Because of the Biomial Theorem, umbers of the form are called biomial coe ciets. Example. For ay N, we ca let x ad y both be. The umber raised to ay power equals, so x i ady i. Also, x + y. So writig the Biomial Theorem whe x ady tellsusthat X i Notice that the equatio o the above lie is exactly + + + + i +

It says that is the sum of all of the umbers i the row of Pascal s triagle that begis with. For example, is the sum of the umbers,,,ad. I other words, 8 + + +, as you ca see. 8 is what you d get if you added the umbers i the last row of Pascal s triagle as it s writte o page. * * * * * * * * * * * * * 8

Exercises For #-, use that the umber of ways to choose objects from a set of objects is!!( )!.) A small coutry has just udergoe a revolutio ad they commissio you to desig a ew flag for them. They wat exactly colors used i their flag, ad they have give you colors of cloth that you are allowed to use. How may di eret color combiatios do you have to decide betwee?.) A sports team is sellig seaso ticet plas. They have home games i a seaso, ad they allow people to purchase ticets for ay combiatio of home games. How may ways are there to choose a collectio of home games?.) A bagel shop ass customers to create a Baer s Doze Variety Pac by choosig di eret types of bagels. If the shop has di eret ids of bagels to choose betwee, the how may di eret variety pacs does a customer have to choose from?.) To play the lottery you have to select out of 9 umbers. How may di eret ids of lottery ticets ca you purchase? For #-8, use the Biomial Theorem ad Pascal s triagle. Your aswers for #- should have a similar form to the aswer give i the first example o page..) Write out the product (x + y)..) Write out the product (x + y)..) Fid (x +). 8.) Fid (x ). 9.) The formula i defies a sequece. Is it arithmetic or geometric?.) Compute the series X i 9 i