www.company.com module code ma1032n: logic lecture for week 6 2012-2013 autumn

17
www.company.com Module Code MA1032N: Logic Lecture for Week 6 2012-2013 Autumn

Upload: randolph-woods

Post on 18-Jan-2016

220 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Www.company.com Module Code MA1032N: Logic Lecture for Week 6 2012-2013 Autumn

www.company.com

Module Code MA1032N:Logic

Lecture for Week 6

2012-2013 Autumn

Page 2: Www.company.com Module Code MA1032N: Logic Lecture for Week 6 2012-2013 Autumn

www.company.com

AgendaWeek 6 Lecture coverage:

– Power Set

– Cartesian Product

– Partitions

Page 3: Www.company.com Module Code MA1032N: Logic Lecture for Week 6 2012-2013 Autumn

www.company.com

Power Set

The set whose elements consist of all the

subsets of a given set A is called the power set

of A.

This set is written P(A).

Thus P(A) = {X:X  ⊆ A }

Page 4: Www.company.com Module Code MA1032N: Logic Lecture for Week 6 2012-2013 Autumn

www.company.com

Power Set (Cont.)

Page 5: Www.company.com Module Code MA1032N: Logic Lecture for Week 6 2012-2013 Autumn

www.company.com

Power Set (Cont.)

Example:

So If B = 2 then P(B) = 4 =22

Page 6: Www.company.com Module Code MA1032N: Logic Lecture for Week 6 2012-2013 Autumn

www.company.com

Power Set (Cont.)

Page 7: Www.company.com Module Code MA1032N: Logic Lecture for Week 6 2012-2013 Autumn

www.company.com

Power Set (Cont.)

Page 8: Www.company.com Module Code MA1032N: Logic Lecture for Week 6 2012-2013 Autumn

www.company.com

Power Set (Cont.)

Theorem 2

A set containing n distinct elements has 2n subsets

More formally:

Page 9: Www.company.com Module Code MA1032N: Logic Lecture for Week 6 2012-2013 Autumn

www.company.com

The Cartesian Product of Two Sets

Page 10: Www.company.com Module Code MA1032N: Logic Lecture for Week 6 2012-2013 Autumn

www.company.com

The Cartesian Product of Two Sets(Cont.)

Page 11: Www.company.com Module Code MA1032N: Logic Lecture for Week 6 2012-2013 Autumn

www.company.com

The Cartesian Product of Two Sets(Cont.)

Page 12: Www.company.com Module Code MA1032N: Logic Lecture for Week 6 2012-2013 Autumn

www.company.com

Partitions

Page 13: Www.company.com Module Code MA1032N: Logic Lecture for Week 6 2012-2013 Autumn

www.company.com

Partitions (Cont.)

Page 14: Www.company.com Module Code MA1032N: Logic Lecture for Week 6 2012-2013 Autumn

www.company.com

Set Partition

A

WX Y

In this diagram, the set A (the rectangle) is partitioned into sets W,X, and Y.

Page 15: Www.company.com Module Code MA1032N: Logic Lecture for Week 6 2012-2013 Autumn

www.company.com

Partitions (Cont.)

Page 16: Www.company.com Module Code MA1032N: Logic Lecture for Week 6 2012-2013 Autumn

www.company.com

Partitions (Cont.)

Page 17: Www.company.com Module Code MA1032N: Logic Lecture for Week 6 2012-2013 Autumn

www.company.com

Partitions (Cont.)

We implied in our definition of partition that the

number of blocks in a partition is finite.

A more general definition would allow for an infinite

number of blocks, although we will not be

concerned with these. However: