Professional Documents
Culture Documents
PERSILANGAN o o o satu set yang unsurnya terdiri daripada unsur sepunya dalam A dan B. Persilangan bagi set A dan B diwakilkan sebagai A B. Dalam Gambar rajah Venn dibawah,
B.
2.
KESATUAN o o o satu set yang unsurnya terdiri daripada unsur dalam A atau B atau dalam kedua-dua A dan B. kesatuan bagi set A dan B diwakilkan sebagai A B. Dalam Gambar rajah Venn dibawah,
B.
CONTOH 2: Diberi = {x: x ialah nombor genap dan 1 < x < 20} P = {faktor bagi 16} dan Q = {hasil darab bagi 4} Cari nilai set bagi ( P PENYELESAIAN 2: Oleh itu, = {2, 4, 6, 8, 10, 12, 14, 16, 18} P = {2,4,8,16} and Q = {4, 8, 12, 16} (P (P Q) = {2, 4, 8, 12, 16} Q)' = {6, 10, 14, 18} Q)'.
CONTOH 3:
Berdasarkan gambar rajah Venn di atas, cari nilai bagi (a) n(P (b) n(P (c) n(P' Q Q Q' R) R)' R)
asic operations There are several fundamental operations for constructing new sets from given sets. Unions
The union of A and B, denoted A B Main article: Union (set theory) Two sets can be "added" together. The union of A and B, denoted by A B, is the set of all things which are members of either A or B. Examples:
{1, 2} {red, white} ={1, 2, red, white}. {1, 2, green} {red, white, green} ={1, 2, red, white, green}. {1, 2} {1, 2} = {1, 2}.
Intersections A new set can also be constructed by determining which members two sets have "in common". The intersection of A and B, denoted by A B, is the set of all things which are members of both A and B. If A B = , then A and B are said to be disjoint.
{1, 2} {red, white} = . {1, 2, green} {red, white, green} = {green}. {1, 2} {1, 2} = {1, 2}.
A B = B A. A (B C) = (A B) C. A B A. A A = A. A = . A B if and only if A B = A.
Complements
The complement of A in U
{1, 2} \ {red, white} = {1, 2}. {1, 2, green} \ {red, white, green} = {1, 2}. {1, 2} \ {1, 2} = . {1, 2, 3, 4} \ {1, 3} = {2, 4}. If U is the set of integers, E is the set of even integers, and O is the set of odd integers, then E = O.
A \ B B \ A. A A = U. A A = . (A) = A. A \ A = . U = and = U. A \ B = A B.
For example, the symmetric difference of {7,8,9,10} and {9,10,11,12} is the set {7,8,11,12}. Cartesian product Main article: Cartesian product A new set can be constructed by associating every element of one set with every element of another set. The Cartesian product of two sets A and B, denoted by A B is the set of all ordered pairs (a, b) such that a is a member of A and b is a member of B. Examples:
{1, 2} {red, white} = {(1, red), (1, white), (2, red), (2, white)}. {1, 2, green} {red, white, green} = {(1, red), (1, white), (1, green), (2, red), (2, white), (2, green), (green, red), (green, white), (green, green)}.
{1, 2} {1, 2} = {(1, 1), (1, 2), (2, 1), (2, 2)}.
A = . A (B C) = (A B) (A C). (A B) C = (A C) (B C).
|A B| = |B A| = |A| |B|.