Published online by Cambridge University Press: 06 July 2010
Introduction
Many problems can be solved simply by counting the number of different ways that a certain event can occur. In this chapter we show how one can efficiently do the counting in a variety of situations. In Section 2.2 we present the basic principle of counting, which is easily derived and extremely useful. Permutations are considered in Section 2.3 and combinations in 2.4. In Section 2.5, we consider the number of different solutions of certain integral linear equalities. A counting method based on inclusions and exclusions is presented in Section 2.6, and one based on deriving and solving recursion equations is presented in Section 2.7.
The Basic Principle of Counting
The following principle of counting will be basic to our work. Loosely put, it states that if an experiment consists of two parts, the first of which can result in any of m possible outcomes and the second in any of n possible outcomes, then there are a total of mn possible outcomes of the experiment.
Basic Principle of Counting Consider an experiment that consists of two phases. If the first phase can result in any of m possible outcomes and if, for each outcome of the first phase, there are n possible outcomes of the second phase, then there are a total of mn possible outcomes of the experiment.
To save this book to your Kindle, first ensure no-reply@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
Find out more about the Kindle Personal Document Service.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.