Professional Documents
Culture Documents
Materi Difference 1
Materi Difference 1
The difference operation, along with union and intersection, is an important and fundamental set
theory operation.
An Example
We will look at an example of the set difference. To see how the difference of two sets forms a
new set, let's consider the sets A = {1, 2, 3, 4, 5} and B = {3, 4, 5, 6, 7, 8}. To find the difference
A - B of these two sets, we begin by writing all of the elements of A, and then take away every
element of A that is also an element of B. Since A shares the elements 3, 4 and 5 with B, this gives
us the set difference A - B = {1, 2}.
Order Is Important
Just as the differences 4 - 7 and 7 - 4 give us different answers, we need to be careful about the
order in which we compute the set difference. To use a technical term from mathematics, we would
say that the set operation of difference is not commutative. What this means is that in general we
cannot change the order of the difference of two sets and expect the same result. We can more
precisely state that for all sets A and B, A - B is not equal to B - A.
To see this, refer back to the example above. We calculated that for the sets A = {1, 2, 3, 4, 5} and
B = {3, 4, 5, 6, 7, 8}, the difference A - B = {1, 2 }. To compare this to B - A, we begin with the
elements of B, which are 3, 4, 5, 6, 7, 8, and then remove the 3, the 4 and the 5 because these are
in common with A. The result is B - A = {6, 7, 8 }. This example clearly shows us that A - B is
not equal to B - A.
The Complement
One sort of difference is important enough to warrant its own special name and symbol. This is
called the complement, and it is used for the set difference when the first set is the universal set.
The complement of A is given by the expression U - A. This refers to the set of all elements in the
universal set that are not elements of A. Since it is understood that the set of elements that we can
choose from are taken from the universal set, we can simply say that the complement of A is the
set comprised of elements that are not elements of A.
The complement of a set is relative to the universal set that we are working with. With A = {1, 2,
3} and U = {1, 2 ,3, 4, 5}, the complement of A is {4, 5}. If our universal set is different, say U =
{-3, -2, 0, 1, 2, 3 }, then the complement of A {-3, -2, -1, 0}. Always be sure to pay attention to
what universal set is being used.
Another way that is commonly used to denote the complement of a set involves an apostrophe,
and is written as A'.
A - A =∅
A-∅=A
∅-A=∅
A-U=∅
(AC)C = A
DeMorgan’s Law I: (A ∩ B)C = AC ∪ BC
DeMorgan’s Law II: (A ∪ B)C = AC ∩ BC
Perbedaan dua set, ditulis A - B adalah himpunan semua elemen A yang bukan elemen B. Operasi
perbedaan, bersama dengan persatuan dan persimpangan, adalah operasi teori himpunan yang
penting dan mendasar.
Deskripsi Perbedaan
Pengurangan satu nomor dari yang lain dapat dipikirkan dengan berbagai cara. Salah satu model
untuk membantu memahami konsep ini disebut model takeaway dari pengurangan. Dalam hal ini,
masalah 5 - 2 = 3 akan didemonstrasikan dengan mulai dengan lima objek, menghapus dua dari
mereka dan menghitung bahwa ada tiga yang tersisa. Dengan cara yang sama kita menemukan
perbedaan antara dua angka, kita dapat menemukan perbedaan dua set.
Sebuah contoh
Kita akan melihat contoh perbedaan set. Untuk melihat bagaimana perbedaan dua set membentuk
set baru, mari kita pertimbangkan set A = {1, 2, 3, 4, 5} dan B = {3, 4, 5, 6, 7, 8}. Untuk
menemukan perbedaan A - B dari dua set ini, kita mulai dengan menulis semua elemen A, dan
kemudian mengambil setiap elemen A yang juga merupakan elemen B. Karena A membagikan
elemen 3, 4 dan 5 dengan B, ini memberi kita perbedaan yang ditetapkan A - B = {1, 2}.
Untuk melihat ini, lihat kembali contoh di atas. Kami menghitung bahwa untuk set A = {1, 2, 3,
4, 5} dan B = {3, 4, 5, 6, 7, 8}, selisih A - B = {1, 2}. Untuk membandingkan ini dengan B - A,
kita mulai dengan elemen B, yaitu 3, 4, 5, 6, 7, 8, dan kemudian menghapus 3, 4 dan 5 karena ini
sama dengan A. hasilnya adalah B - A = {6, 7, 8}. Contoh ini dengan jelas menunjukkan kepada
kita bahwa A - B tidak sama dengan B - A.
Komplemen
Satu jenis perbedaan cukup penting untuk menjamin nama dan simbolnya sendiri. Ini disebut
komplemen, dan digunakan untuk perbedaan set ketika set pertama adalah set universal.
Komplemen A diberikan oleh ungkapan U - A. Ini mengacu pada himpunan semua elemen dalam
himpunan universal yang bukan elemen A. Karena dipahami bahwa himpunan elemen yang dapat
kita pilih diambil dari himpunan universal, kita dapat dengan mudah mengatakan bahwa
komplemen dari A adalah himpunan yang terdiri dari elemen-elemen yang bukan elemen A.
Komplemen suatu himpunan relatif terhadap himpunan universal yang sedang kami kerjakan.
Dengan A = {1, 2, 3} dan U = {1, 2, 3, 4, 5}, komplemen dari A adalah {4, 5}. Jika set universal
kami berbeda, katakanlah U = {-3, -2, 0, 1, 2, 3}, maka komplemen dari A {-3, -2, -1, 0,}}. Selalu
pastikan untuk memperhatikan set universal apa yang digunakan.
Cara lain yang biasa digunakan untuk menunjukkan pelengkap suatu himpunan melibatkan tanda
kutip, dan ditulis sebagai A '.
A-A=∅
A-∅=A
∅-A=∅
A-U=∅
(AC) C = A
Hukum DeMorgan I: (A ∩ B) C = AC ∪ BC
Hukum DeMorgan II: (A ∪ B) C = AC ∩ BC