• 沒有找到結果。

Discrete Mathematics

N/A
N/A
Protected

Academic year: 2022

Share "Discrete Mathematics"

Copied!
13
0
0

加載中.... (立即查看全文)

全文

(1)

Discrete Mathematics

WEN-CHING LIEN Department of Mathematics National Cheng Kung University

2008

(2)

1.2: Permutation

Definition (1.1)

For an integer n0, n factorial(denoted n!) is defined by 0! =1

n! = (n)(n−1)(n−2) · · · (3)(2)(1), for n ≥1.

Definition (1.2)

Given a collection of n distinct objects, any (linear) arrangement

(3)

1.2: Permutation

Definition (1.1)

For an integer n0, n factorial(denoted n!) is defined by 0! =1

n! = (n)(n−1)(n−2) · · · (3)(2)(1), for n ≥1.

Definition (1.2)

Given a collection of n distinct objects, any (linear) arrangement of these objects is called a permutation of the collection.

(4)

If there are n distinct objects and r is an integer, with 1rn, then by the rule of product, the number of permutations of size r for the n objects is

P(n,r) = n×(n−1) × (n−2) × · · · × (n−r +1)

= n(n−1)(n−2) · · · (n−r +1) × (n−r)(n−r −1) · · · (3)(2)(1) (n−r)(n−r −1) · · · (3)(2)(1)

= n!

(n−r)!

(5)

Example (1.10)

The number of permutations of the letters in the word

COMPUTER is8!.If only five of the letters are used, the number of permutations (of size 5) is

P(8,5) =8!/(8−5)! =8!/3! =6720.If repetitions of letters are allowed,the number of possible 12-letter sequences is812 .

= 6.872×1010

(6)

Example (1.10)

The number of permutations of the letters in the word

COMPUTER is 8!.If only five of the letters are used, the number of permutations (of size 5) is

P(8,5) =8!/(8−5)! =8!/3! =6720.If repetitions of letters are allowed,the number of possible 12-letter sequences is 812 .

= 6.872×1010

(7)

Example (1.10)

The number of permutations of the letters in the word

COMPUTER is 8!.If only five of the letters are used, the number of permutations (of size 5) is

P(8,5) =8!/(8−5)! =8!/3! =6720.If repetitions of letters are allowed,the number of possible 12-letter sequences is812 .

= 6.872×1010

(8)

Example (1.10)

The number of permutations of the letters in the word

COMPUTER is 8!.If only five of the letters are used, the number of permutations (of size 5) is

P(8,5) =8!/(8−5)! =8!/3! =6720.If repetitions of letters are allowed,the number of possible 12-letter sequences is 812 .

= 6.872×1010

(9)

Rule:

If there are n objects with n1indistinguishable objects of a first type, n2indistinguishable objects of a second type,· · · ,and nr indistinguishable objects of an r th type,

wheren1+n2+ · · · +nr =n, then there are n n!

1!n2!···nr! (linear) arrangements of the given n objects.

(10)

Example:[1.13]

The MASSASAUGA is a brown and white venomous snake indigenous to North America. Arranging all of the letters in MASSASAUGA,we find that there are

10!

4!3!1!1!1! =25200 possible arrangements. Among these are

7!

3!1!1!1!1! =840

in which all four A’s are together. To get this last result, we considered all arrangements of the seven symbols AAAA(one

(11)

Example:[1.13]

The MASSASAUGA is a brown and white venomous snake indigenous to North America. Arranging all of the letters in MASSASAUGA,we find that there are

10!

4!3!1!1!1! =25200 possible arrangements. Among these are

7!

3!1!1!1!1! =840

in which all four A’s are together. To get this last result, we considered all arrangements of the seven symbols AAAA(one symbol),S, S, S, M, U, G.

(12)

Example:[1.13]

The MASSASAUGA is a brown and white venomous snake indigenous to North America. Arranging all of the letters in MASSASAUGA,we find that there are

10!

4!3!1!1!1! =25200 possible arrangements. Among these are

7!

3!1!1!1!1! =840

in which all four A’s are together. To get this last result, we considered all arrangements of the seven symbols AAAA(one

(13)

Thank you.

參考文獻

相關文件

In Chapter Seven (or in the lecture last week) we mentioned one of the greatest unsolved computer science problem. What

EQUIPAMENTO SOCIAL A CARGO DO INSTITUTO DE ACÇÃO SOCIAL, Nº DE UTENTES E PESSOAL SOCIAL SERVICE FACILITIES OF SOCIAL WELFARE BUREAU, NUMBER OF USERS AND STAFF. ᑇؾ N

Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require

To get the inteval of convergence , we need to check the end points, 1

In view of the unique continuation property for the linear convection equation with L 2 coefficients in R 2 [13], the assumption of γ ∈ W 1,2 is most likely optimal for the

First Note that f (x) is an even function, hence symmetric with respect to the y-axis.. Therefore the two vertices of the rect- angle we are considering are f (x) and f (−x) for

With the help of the pictures and the words below, write a journal entry about what happened.. Write at least

The EDB organises professional development programmes to enhance teachers’ subject knowledge (e.g. the role of grammar and vocabulary in academic reading and