Chapterبەش 1 · Lectureوانە 1.1

Sets, Elements and Subsetsکۆمەڵەکان، ئەندامەکان و ژێرکۆمەڵەکان

The first lesson of the course: what a set is and why IT uses sets everywhere, how to write a set (roster and set-builder notation), the symbols ∈\in and ∉\notin, the empty set, subsets and proper subsets, and equal sets.

یەکەم وانەی کۆرسەکە: چییە و بۆچی IT لە هەموو شوێنێکدا بەکاری دەهێنێت، چۆن دەنووسرێت ( و )، هێماکانی ∈\in و ∉\notin، ، و و .

13 min read14 خولەک خوێندنەوە · 14 stepsهەنگاو

What you will learnچی فێر دەبیت

  • Explain what a set is and decide whether a collection is well-defined.
  • Write a set in roster and in set-builder notation, and use ∈\in and ∉\notin correctly.
  • Recognise the empty set and avoid confusing ∅\emptyset, {0}\{0\} and {∅}\{\emptyset\}.
  • Decide whether one set is a subset or a proper subset of another, and prove that two sets are equal.
  • ڕوونی بکەیتەوە چییە و بڕیار بدەیت کە کۆکراوەیەک ڕوون و دیاریکراوە یان نا.
  • بە و بە بنووسیت و ∈\in و ∉\notin بە دروستی بەکار بهێنیت.
  • بناسیتەوە و ∅\emptyset، {0}\{0\} و {∅}\{\emptyset\} تێکەڵ نەکەیت.
  • بڕیار بدەیت کە یان یەکێکی ترە و بیسەلمێنیت کە دوو یەکسانن.

Welcome: why sets matter in ITبەخێربێیت: بۆچی کۆمەڵەکان لە IT گرنگن

Welcome to the first lesson of Calculus. We begin with the simplest idea in mathematics: a set, a collection of things. This is not only school maths. You already use sets every day on a computer:

بەخێربێیت بۆ یەکەم وانەی کالکولەس. بە سادەترین بیرۆکەی بیرکاری دەست پێدەکەین: ، واتە کۆکراوەیەک لە شت. ئەمە تەنها بیرکاریی قوتابخانە نییە. تۆ هەموو ڕۆژێک لەسەر کۆمپیوتەر بەکار دەهێنیت:

  • Databases. A query asks for a set of rows, for example “all students of the IT department”. SQL can join two answers with UNION, keep only the rows they share with INTERSECT, and remove rows with EXCEPT. These are the set operations of the next lesson.
  • Search filters. In an online shop you tick “brand: Samsung” and “price under 300,000 IQD”. The shop shows only the phones that are in both sets.
  • Python. Python has a built-in set type: {1, 2, 3}. It throws away repeated values and checks “is this value inside?” very quickly.
  • . داوای ڕیز دەکات، بۆ نموونە «هەموو قوتابییانی بەشی IT». SQL دەتوانێت دوو وەڵام بە UNION پێکەوە بلکێنێت، بە INTERSECT تەنها ڕیزە هاوبەشەکان بهێڵێتەوە و بە EXCEPT ڕیزەکان لابدات. ئەمانە کە لە وانەی داهاتوودا فێریان دەبیت.
  • گەڕان. لە فرۆشگایەکی ئۆنلایندا «مارکە: Samsung» و «نرخ کەمتر لە ⁦300,000⁩ دینار» دیاری دەکەیت. فرۆشگاکە تەنها ئەو مۆبایلانە پیشان دەدات کە لە هەردوو .
  • Python. Python جۆرێکی ئامادەی بە ناوی set هەیە: {1, 2, 3}. بەها دووبارەکان فڕێ دەدات و بە خێرایی دەپشکنێت «ئایا ئەم بەهایە لە ناویدایە؟».

In this first chapter you learn what a set is and how to write one (this lesson), how to combine sets (the next lesson), and the families of numbers ℕ, ℤ, ℚ, ℝ and ℂ, which are sets too. Every later topic of the course, from inequalities to functions, is written in this language.

لەم بەشە یەکەمەدا فێر دەبیت چییە و چۆن دەنووسرێت (ئەم وانەیە)، چۆن تێکەڵ دەکرێن (وانەی داهاتوو) و خێزانەکانی ژمارە ℕ، ℤ، ℚ، ℝ و ℂ کە ئەوانیش . هەموو بابەتەکانی دواتری کۆرسەکە، لە تا ، بەم زمانە دەنووسرێن.

Quick checkپشکنینی خێراAn online shop shows the phones that are “Samsung” and “under 300,000 IQD”. In set language, which phones are shown?فرۆشگایەکی ئۆنلاین ئەو مۆبایلانە پیشان دەدات کە «Samsung»ن و «کەمتر لە ⁦300,000⁩ دینار»ن. بە زمانی ، کام مۆبایلانە پیشان دەدرێن؟

What is a set?کۆمەڵە چییە؟

Definitionپێناسە

In mathematics, a collection of different things, called elements, with no order: {tea, coffee} is the same set as {coffee, tea}, and no element appears twice. Relational algebra treats every relation (table) as a set of rows.

لە بیرکاریدا، کۆکراوەیەکی شتی جیاوازە کە پێیان دەوترێت و ڕیزبەندییان نییە: {tea, coffee} هەمان کۆمەڵەیە کە {coffee, tea}ـە و هیچ ئەندامێک دوو جار تێیدا نییە. هەموو relationـێک () وەک کۆمەڵەیەک لە ڕیز سەیر دەکات.

A set is a well-defined collection of distinct objects. The objects in a set are called its elements (or members). Two words in this definition matter:

کۆکراوەیەکی ڕوون و دیاریکراوە لە شتی جیاواز. ئەو شتانەی لە پێیان دەوترێت . دوو وشە لەم پێناسەیەدا گرنگن:

  • Well-defined: for any object we can say clearly whether it is in the set or not. “The days of the week” is a set. “The beautiful days of the week” is not a set, because people disagree about which days are beautiful.
  • Distinct: each object is counted only once. Writing an element twice does not put it in the set twice.
  • ڕوون و دیاریکراو: بۆ هەر شتێک دەتوانین بە ڕوونی بڵێین لە یان نا. «ڕۆژەکانی هەفتە» . «ڕۆژە جوانەکانی هەفتە» نییە، چونکە خەڵک لەسەر ئەوەی کام ڕۆژ جوانە ڕێک ناکەون.
  • جیاواز: هەر شتێک تەنها یەک جار دەژمێردرێت. نووسینی بۆ دوو جار، دوو جار نایخاتە ناو .
A wedding guest listلیستی میوانانی زەماوەند

A set is like the guest list of a wedding in Duhok. A name is either on the list or not, so everyone knows who may come in. Writing a name twice does not bring that guest twice. And the order of the names does not matter: the same people are invited.

وەک لیستی میوانانی زەماوەندێک لە دهۆک وایە. ناوێک یان لە لیستەکەدایە یان نییە، بۆیە هەمووان دەزانن کێ دەتوانێت بێتە ژوورەوە. ئەگەر ناوێک دوو جار بنووسرێت، ئەو میوانە دوو جار نایەت. ڕیزبەندیی ناوەکانیش گرنگ نییە: هەمان خەڵک بانگهێشت کراون.

Where the analogy stops workingسنووری ئەم نموونەیە

A guest list always ends. Many sets in mathematics never end, for example the set of the counting numbers 1, 2, 3, …

لیستی میوانان هەمیشە کۆتایی دێت. زۆر لە بیرکاریدا هەرگیز کۆتاییان نایەت، بۆ نموونە ژمارەکانی ژماردن: 1، 2، 3، …

Quick checkپشکنینی خێراWhich of these is a set?کامیان ؟

Writing sets and elementsنووسینی کۆمەڵەکان و ئەندامەکان

Mathematicians use a few simple habits when they write sets:

بیرکاریزانان چەند نەریتێکی سادە بۆ نووسینی بەکار دەهێنن:

  • A set gets a capital letter: A, B, C, … An element gets a small letter: a, b, c, … (or it is simply a number).
  • The elements are written between curly brackets and separated by commas: A={2,4,6,8}A=\{2,4,6,8\}.
  • 2∈A2\in A means “2 is an element of A”. 5∉A5\notin A means “5 is not an element of A”.
  • بە پیتی گەورە ناو دەنرێت: A، B، C، … . بە پیتی بچووک دەنووسرێت: a، b، c، … (یان ڕاستەوخۆ ژمارەیەکە).
  • لە نێوان کەوانەی { }\{\ \} دەنووسرێن و بە کۆما لێک جیا دەکرێنەوە: A={2,4,6,8}A=\{2,4,6,8\}.
  • 2∈A2\in A واتە «2 Aـیە». 5∉A5\notin A واتە «5 A نییە».
Left: an oval labelled A holds the numbers 2, 4, 6 and 8; the numbers 5 and 9 stand outside it. Under it: A = {2, 4, 6, 8}, 2 ∈ A, 5 ∉ A, 9 ∉ A. Right: an oval labelled C holds four city names: Erbil, Duhok, Sulaimani and Halabja, with the note that elements can be any objects, not only numbers.چەپ: بازنەیەکی هێلکەیی بە ناوی A ژمارەکانی 2، 4، 6 و 8ی تێدایە؛ 5 و 9 لە دەرەوەین. لە خوارەوە: A = {2, 4, 6, 8}، 2 ∈ A، 5 ∉ A، 9 ∉ A. ڕاست: بازنەیەکی هێلکەیی بە ناوی C ناوی چوار شاری تێدایە: هەولێر، دهۆک، سلێمانی و هەڵەبجە، لەگەڵ تێبینییەک کە ئەندامەکان دەکرێت هەر شتێک بن، نەک تەنها ژمارە.
Think of a set as a bag: each object is either inside or outside. وەک جانتایەک وایە: هەر شتێک یان لە ناویدایە یان لە دەرەوەیە.CêIT
Quick checkپشکنینی خێراLet B={a,e,i,o,u}B=\{a,e,i,o,u\}. Which statement is true?با B={a,e,i,o,u}B=\{a,e,i,o,u\} بێت. کام ڕستە ڕاستە؟

Two ways to write a setدوو ڕێگا بۆ نووسینی کۆمەڵەیەک

Roster notation lists every element: {1,2,3,4}\{1,2,3,4\}. When a pattern is clear, three dots (an ellipsis) mean “and so on”: {2,4,6,…,100}\{2,4,6,\dots,100\} (the even numbers up to 100) or {1,2,3,… }\{1,2,3,\dots\} (it never ends).

هەموو ڕیز دەکات: {1,2,3,4}\{1,2,3,4\}. کاتێک شێوازێکی ڕوون هەبێت، سێ خاڵ (…) واتە «هەروەها بەردەوام»: {2,4,6,…,100}\{2,4,6,\dots,100\} (ژمارە جووتەکان تا ⁦100⁩) یان {1,2,3,… }\{1,2,3,\dots\} (هەرگیز کۆتایی نایەت).

Set-builder notation describes the rule instead of listing: {x ; P(x)}\{x\,;\,P(x)\}, read “the set of all x such that x has the property P”. The course writes a semicolon; many books write a bar {x∣… }\{x\mid\dots\} or a colon {x:… }\{x:\dots\}. All three mean the same.

لە جیاتی ڕیزکردن، یاساکە وەسف دەکات: {x ; P(x)}\{x\,;\,P(x)\}، دەخوێنرێتەوە « هەموو ئەو xـانەی کە تایبەتمەندیی Pیان هەیە». کۆرسەکە خاڵبۆر ⁦(;)⁩ بەکار دەهێنێت؛ زۆر کتێب هێڵی ستوونی {x∣… }\{x\mid\dots\} یان دوو خاڵ {x:… }\{x:\dots\} دەنووسن. هەر سێکیان یەک واتایان هەیە.

Two cards joined by an equals sign. Left card, roster notation, list every element: {1, 2, 3, 4}, good when the set is small. Right card, set-builder notation, describe the rule: {x ∈ ℕ ; x < 5}, read “the set of all natural numbers x such that x < 5”, good when the set is large or endless.دوو کارت کە بە نیشانەی یەکسانی پێکەوە بەستراون. کارتی چەپ، شێوەی لیستکردنی کۆمەڵە، هەموو ئەندامەکان ڕیز بکە: {1, 2, 3, 4}، باشە کاتێک کۆمەڵەکە بچووکە. کارتی ڕاست، شێوەی وەسفیی کۆمەڵە، یاساکە وەسف بکە: {x ∈ ℕ ; x < 5}، دەخوێنرێتەوە «کۆمەڵەی هەموو ئەو xـانەی کە ژمارەی سروشتین و لە 5 بچووکترن»، باشە کاتێک کۆمەڵەکە گەورەیە یان کۆتایی نییە.
The same set written in two ways.هەمان بە دوو شێوە نووسراوە.CêIT

Here N={1,2,3,… }\mathbb{N}=\{1,2,3,\dots\} is the set of natural numbers; you meet it properly in Sets of numbers. Another example without symbols: {x ; x is an even number and 1<x<9}={2,4,6,8}\{x\,;\,x\text{ is an even number and }1<x<9\}=\{2,4,6,8\}.

لێرەدا N={1,2,3,… }\mathbb{N}=\{1,2,3,\dots\} ؛ لە کۆمەڵەکانی ژمارە بە تەواوی دەیناسیت. نموونەیەکی تر: هەموو ئەو xـانەی کە ژمارەی جووتن و لە نێوان 1 و 9دان دەکاتە {2,4,6,8}\{2,4,6,8\}.

Quick checkپشکنینی خێراWhich roster form is equal to {x∈N ; x≤3}\{x\in\mathbb{N}\,;\,x\le 3\}?کام یەکسانە بە {x∈N ; x≤3}\{x\in\mathbb{N}\,;\,x\le 3\}؟

Introduction to Sets for Roster Method & Set Builder Form | Algebra | Math | LetstuteLet'stute · Englishئینگلیزی · 657K viewsبینین · 13K likesلایک

The two ways to write a set: listing every element (roster method) and giving a rule (set-builder form), with examples of each.

دوو ڕێگای نووسینی : لیستکردنی هەموو () و دانانی یاسایەک ()، بە نموونە بۆ هەر یەکەیان.

3:07 roster (listing) method; 5:14 rule method / set-builder form.

⁦3:07⁩ (لیستکردن)؛ ⁦5:14⁩ ڕێگای یاسا، واتە .

Order and repeats do not matterڕیزبەندی و دووبارەبوونەوە گرنگ نین

A set only answers one question: is this object in it or not? So two things that matter in a list do not matter in a set:

تەنها وەڵامی یەک پرسیار دەداتەوە: ئایا ئەم شتە لە ناویدایە یان نا؟ بۆیە دوو شت کە لە لیستێکدا گرنگن، لە گرنگ نین:

  • Order: {3,1,2}={1,2,3}\{3,1,2\}=\{1,2,3\}.
  • Repeats: {1,2,2}={2,1}\{1,2,2\}=\{2,1\}. This set has 2 elements, not 3. The letters of the word “banana” form the set {b,a,n}\{b,a,n\}.
  • ڕیزبەندی: {3,1,2}={1,2,3}\{3,1,2\}=\{1,2,3\}.
  • دووبارەبوونەوە: {1,2,2}={2,1}\{1,2,2\}=\{2,1\}. ئەم 2 هەیە، نەک 3. پیتەکانی وشەی «banana» {b,a,n}\{b,a,n\} پێکدەهێنن.
Animation: numbers drop into an oval labelled S one at a time. 3 goes in, then 1. When a second 3 arrives it bounces off with the note “3 is already in S: a set never holds the same element twice”. Then 2 goes in, giving S = {3, 1, 2}. The elements slide into the order 1, 2, 3 and the text says {3, 1, 2} = {1, 2, 3}: order does not matter. The last frame shows {3, 1, 3, 2} = {1, 2, 3}.
Animation: numbers drop into an oval labelled S one at a time. 3 goes in, then 1. When a second 3 arrives it bounces off with the note “3 is already in S: a set never holds the same element twice”. Then 2 goes in, giving S = {3, 1, 2}. The elements slide into the order 1, 2, 3 and the text says {3, 1, 2} = {1, 2, 3}: order does not matter. The last frame shows {3, 1, 3, 2} = {1, 2, 3}.
Building a set: a repeated element is ignored, and shuffling changes nothing.دروستکردنی : دووبارە پشتگوێ دەخرێت و تێکدانی ڕیزبەندی هیچ ناگۆڕێت.CêIT
Quick checkپشکنینی خێراHow many elements does {3,1,3,2,1}\{3,1,3,2,1\} have?{3,1,3,2,1}\{3,1,3,2,1\} چەند هەیە؟

The empty setکۆمەڵەی بەتاڵ

Definitionپێناسە

The with no elements at all, written ∅\emptyset or {}\{\}. It is a subset of every set.

ئەو کە هیچ تێدا نییە و بە ∅\emptyset یان {}\{\} دەنووسرێت. هەموو کۆمەڵەیەکە.

The empty set is the set with no element at all. It is written ∅\emptyset or { }\{\,\}. Examples: the set of months with 32 days, or {x ; x is an even number and x is odd}\{x\,;\,x\text{ is an even number and }x\text{ is odd}\}. Both are ∅\emptyset.

ئەو کە هیچ تێدا نییە. بە ∅\emptyset یان { }\{\,\} دەنووسرێت. نموونە: ئەو مانگانەی ⁦32⁩ ڕۆژیان هەیە، یان ئەو ژمارانەی کە لە هەمان کاتدا هەم جووت و هەم تاکن. هەردووکیان ∅\emptysetـن.

Do not confuse these three: ∅\emptyset has 0 elements. {0}\{0\} has 1 element, the number 0. {∅}\{\emptyset\} also has 1 element: a box that contains an empty box is not empty.

ئەم سێیانە تێکەڵ مەکە: ∅\emptyset 0 هەیە. {0}\{0\} 1 هەیە، کە ژمارە 0ـە. {∅}\{\emptyset\}یش 1 هەیە: سندوقێک کە سندوقێکی بەتاڵی تێدایە، بەتاڵ نییە.

Quick checkپشکنینی خێراHow many elements does {∅}\{\emptyset\} have?{∅}\{\emptyset\} چەند هەیە؟

Subsetsژێرکۆمەڵەکان

Definitionپێناسە

A A is a subset of B, written A⊆BA\subseteq B, when every element of A is also an element of B.

کۆمەڵەی A Bـیە (A⊆BA\subseteq B) ئەگەر هەموو A لە Bـیشدا هەبن.

A set A is a subset of a set B if every element of A is also an element of B. We write A⊆BA\subseteq B. To check it, walk through the elements of A one by one and ask: “is this one in B?” One “no” is enough to say A⊈BA\nsubseteq B.

A Bـیە ئەگەر هەموو A لە Bـیشدا هەبێت. دەنووسین A⊆BA\subseteq B. بۆ پشکنینی، A یەک یەک وەربگرە و بپرسە: «ئایا ئەمە لە Bـدایە؟». یەک «نا» بەسە بۆ ئەوەی بڵێین A⊈BA\nsubseteq B.

  • A={1,2,3}A=\{1,2,3\} and B={1,2,3,4,5}B=\{1,2,3,4,5\}: 1, 2 and 3 are all in B, so A⊆BA\subseteq B.
  • A={9,2,3}A=\{9,2,3\} and the same B: 9∈A9\in A but 9∉B9\notin B, so A⊈BA\nsubseteq B.
  • A={1,2,3}A=\{1,2,3\} و B={1,2,3,4,5}B=\{1,2,3,4,5\}: 1، 2 و 3 هەموویان لە Bـدان، بۆیە A⊆BA\subseteq B.
  • A={9,2,3}A=\{9,2,3\} و هەمان B: 9∈A9\in A بەڵام 9∉B9\notin B، بۆیە A⊈BA\nsubseteq B.
Two Venn diagrams. Left, titled A ⊆ B: a small circle A holding 1, 2, 3 sits completely inside a big circle B, which also holds 4 and 5; caption: every element of A is in B. Right, titled A ⊈ B: circle A holds 2 and 3 in the part shared with B, and 9 in the part outside B, which is highlighted; B also holds 1, 4 and 5; caption: 9 ∈ A, 9 ∉ B.دوو هێڵکاریی ڤێن. چەپ، بە ناونیشانی A ⊆ B: بازنەیەکی بچووکی A کە 1، 2، 3ی تێدایە بە تەواوی لە ناو بازنە گەورەکەی Bـدایە کە 4 و 5یشی تێدایە؛ نووسراوە: هەموو ئەندامەکانی A لە Bـدان. ڕاست، بە ناونیشانی A ⊈ B: بازنەی A، 2 و 3ی لە بەشی هاوبەش لەگەڵ Bـدا هەیە و 9ی لە دەرەوەی B هەیە کە ڕەنگ کراوە؛ B هەروەها 1، 4 و 5ی تێدایە؛ نووسراوە: 9 ∈ A، 9 ∉ B.
The course's two examples (redrawn). One element outside B is enough to break the subset.دوو نموونەکەی کۆرسەکە (دووبارە کێشراونەتەوە). یەک لە دەرەوەی B بەسە بۆ تێکدانی .CêIT

A drawing like this, with sets as circles, is called a Venn diagram. A circle inside another circle shows a subset.

وێنەیەکی وەها کە وەک بازنە پیشان دەدات، پێی دەوترێت . بازنەیەک لە ناو بازنەیەکی تردا پیشان دەدات.

Quick checkپشکنینی خێراLet B={2,4,6,8}B=\{2,4,6,8\}. Which set is not a subset of B?با B={2,4,6,8}B=\{2,4,6,8\} بێت. کام B نییە؟

Two facts about subsetsدوو ڕاستی دەربارەی ژێرکۆمەڵەکان

Two facts follow straight from the definition:

دوو ڕاستی ڕاستەوخۆ لە پێناسەکەوە دێن:

  • Every set is a subset of itself: A⊆AA\subseteq A, because every element of A is, of course, in A.
  • The empty set is a subset of every set: ∅⊆A\emptyset\subseteq A. To break the rule, ∅\emptyset would need an element that is not in A — but it has no elements at all, so nothing can break the rule.
  • هەموو خۆیەتی: A⊆AA\subseteq A، چونکە بێگومان هەموو A لە Aـدایە.
  • هەموو : ∅⊆A\emptyset\subseteq A. بۆ تێکدانی یاساکە، ∅\emptyset پێویستی بە دەبوو کە لە Aـدا نەبێت — بەڵام هیچ نییە، بۆیە هیچ شتێک یاساکە تێک نادات.
Quick checkپشکنینی خێراLet A be any set. Which statement is always true?با A هەر بێت. کام ڕستە هەمیشە ڕاستە؟

Proper subsetsژێرکۆمەڵە ڕاست و پاکەکان

Definitionپێناسە

A of B that is not equal to B: every element of A is in B, and B has at least one element that A does not have. Written A⊂BA\subset B or A⊊BA\subsetneq B.

B کە یەکسان نییە بە B: هەموو ئەندامەکانی A لە Bـدان و B لانیکەم ئەندامێکی هەیە کە لە Aـدا نییە. بە A⊂BA\subset B یان A⊊BA\subsetneq B دەنووسرێت.

If A⊆BA\subseteq B and B has at least one element that A does not have, A is a proper subset of B, written A⊂BA\subset B (some books write A⊊BA\subsetneq B). Example: {1,2}⊂{1,2,3}\{1,2\}\subset\{1,2,3\}, but {1,2}⊄{1,2}\{1,2\}\not\subset\{1,2\}, because the two sets are equal.

ئەگەر A⊆BA\subseteq B بێت و B لانیکەم یەک هەبێت کە A نییەتی، ئەوا A Bـیە، بە A⊂BA\subset B دەنووسرێت (هەندێک کتێب A⊊BA\subsetneq B دەنووسن). نموونە: {1,2}⊂{1,2,3}\{1,2\}\subset\{1,2,3\}، بەڵام {1,2}⊄{1,2}\{1,2\}\not\subset\{1,2\}، چونکە دوو یەکسانن.

Quick checkپشکنینی خێراWhich statement is false?کام ڕستە هەڵەیە؟

Subsets, Proper Subsets and Supersets | Don't MemoriseSri Chaitanya Academy NEET · Englishئینگلیزی · 732K viewsبینین · 13K likesلایک · Partبەشی 0:00–2:53 (ofلە 3:36)

The difference between a subset and a proper subset, with the symbols for each, in under three minutes.

جیاوازیی نێوان و ، لەگەڵ هێمای هەر یەکەیان، لە کەمتر لە سێ خولەکدا.

Plays only 0:00-2:53: subset, symbol, proper (strict) subset and its symbol; stops before the superset chapter.

تەنها لە ⁦0:00⁩ تا ⁦2:53⁩ پەخش دەبێت: و هێماکەی، پاشان و هێماکەی؛ پێش بەشی superset ڕادەوەستێت.

Equal setsکۆمەڵە یەکسانەکان

Two sets are equal if they contain exactly the same elements. The clean way to prove it uses subsets in both directions:

دوو یەکسانن ئەگەر ڕێک هەمان هەبێت. ڕێگا ڕێکوپێکەکە بۆ سەلماندنی، بەکارهێنانی بە هەردوو ئاڕاستەدا:

A⊆B  and  B⊆A⟹A=BA\subseteq B\ \text{ and }\ B\subseteq A\quad\Longrightarrow\quad A=B

Every element of A is in B, and every element of B is in A. Then nothing is missing on either side.

هەموو A لە Bـدایە و هەموو B لە Aـدایە. کەواتە هیچ شتێک لە هیچ لایەکەوە کەم نییە.

The course example: A={4,6,9}A=\{4,6,9\} and B={4,182,6}B=\{4,\tfrac{18}{2},6\}. Simplify first: 182=9\tfrac{18}{2}=9, so B is {4,9,6}\{4,9,6\}. Each element of A is in B and each element of B is in A, so A=BA=B. The different order and the different way of writing 9 change nothing.

نموونەی کۆرسەکە: A={4,6,9}A=\{4,6,9\} و B={4,182,6}B=\{4,\tfrac{18}{2},6\}. سەرەتا سادەی بکەرەوە: 182=9\tfrac{18}{2}=9، بۆیە B دەکاتە {4,9,6}\{4,9,6\}. هەموو A لە Bـدایە و هەموو B لە Aـدایە، بۆیە A=BA=B. ڕیزبەندیی جیاواز و شێوەی جیاوازی نووسینی 9 هیچ ناگۆڕن.

Quick checkپشکنینی خێراAre {1,2}\{1,2\} and {1,2,3}\{1,2,3\} equal?ئایا {1,2}\{1,2\} و {1,2,3}\{1,2,3\} یەکسانن؟

Common mistakesهەڵە باوەکان

MistakeهەڵەWhy it is wrongبۆچی هەڵەیەDo this insteadلە جیاتی ئەوە
Saying {1,1,2}\{1,1,2\} has 3 elementsوتنی ئەوەی {1,1,2}\{1,1,2\} 3 هەیەA repeated element is the same element دووبارە هەمان Remove repeats first: {1,1,2}={1,2}\{1,1,2\}=\{1,2\}, 2 elementsسەرەتا دووبارەکان لابە: {1,1,2}={1,2}\{1,1,2\}=\{1,2\}، 2
Writing 2⊆{1,2}2\subseteq\{1,2\}نووسینی 2⊆{1,2}2\subseteq\{1,2\}2 is a number (an element), not a set2 ژمارەیەکە ()، نەک 2∈{1,2}2\in\{1,2\} for an element; {2}⊆{1,2}\{2\}\subseteq\{1,2\} for a set2∈{1,2}2\in\{1,2\} بۆ ؛ {2}⊆{1,2}\{2\}\subseteq\{1,2\} بۆ
Writing {1,2}∈{1,2,3}\{1,2\}\in\{1,2,3\}نووسینی {1,2}∈{1,2,3}\{1,2\}\in\{1,2,3\}The elements of {1,2,3}\{1,2,3\} are numbers; the set {1,2}\{1,2\} is not one of them {1,2,3}\{1,2,3\} ژمارەن؛ {1,2}\{1,2\} یەکێک لەوان نییە{1,2}⊆{1,2,3}\{1,2\}\subseteq\{1,2,3\}{1,2}⊆{1,2,3}\{1,2\}\subseteq\{1,2,3\}
Thinking ∅={0}\emptyset=\{0\} or ∅={∅}\emptyset=\{\emptyset\}بیرکردنەوە لەوەی ∅={0}\emptyset=\{0\} یان ∅={∅}\emptyset=\{\emptyset\}∅\emptyset has no element; the other two have one∅\emptyset هیچ نییە؛ ئەو دووانەی تر هەریەکەیان یەک هەیەCount the elements before you compareپێش بەراوردکردن بژمێرە
Thinking {1,2}≠{2,1}\{1,2\}\ne\{2,1\}بیرکردنەوە لەوەی {1,2}≠{2,1}\{1,2\}\ne\{2,1\}A set has no order ڕیزبەندیی نییەCompare membership onlyتەنها ئەندامێتی بەراورد بکە
Writing {} for an empty set in Pythonنووسینی {} بۆ لە Pythonـدا{} is an empty dictionary{} dictionaryـیەکی بەتاڵەWrite set()set() بنووسە

Exercisesڕاهێنانەکان

ExerciseڕاهێنانRoster formشێوەی لیستکردنی کۆمەڵە

Write each set in roster form. (a) {x ; x is an odd number and 0<x<10}\{x\,;\,x\text{ is an odd number and }0<x<10\} (b) {x∈N ; x<5}\{x\in\mathbb{N}\,;\,x<5\} (c) the set of the letters of the word “halabja”.

هەر بە بنووسە. (أ) ئەو ژمارە تاکانەی لە نێوان 0 و ⁦10⁩دان (ب) {x∈N ; x<5}\{x\in\mathbb{N}\,;\,x<5\} (ج) پیتەکانی وشەی «halabja».

Show answerوەڵامەکە پیشان بدە
  • (a) {1,3,5,7,9}\{1,3,5,7,9\}
  • (b) {1,2,3,4}\{1,2,3,4\} — 5 itself is not included, because the rule says x<5x<5.
  • (c) {h,a,l,b,j}\{h,a,l,b,j\} — the letter a appears three times in the word but only once in the set.
  • (أ) {1,3,5,7,9}\{1,3,5,7,9\}
  • (ب) {1,2,3,4}\{1,2,3,4\} — خودی 5 ناگیرێتەوە، چونکە یاساکە دەڵێت x<5x<5.
  • (ج) {h,a,l,b,j}\{h,a,l,b,j\} — پیتی a سێ جار لە وشەکەدا هەیە بەڵام تەنها یەک جار لە .
ExerciseڕاهێنانTrue or false?ڕاست یان هەڵە؟

Let A={1,2,3}A=\{1,2,3\}. True or false? (a) 2∈A2\in A (b) {2}∈A\{2\}\in A (c) 4∉A4\notin A (d) ∅⊆A\emptyset\subseteq A (e) A⊂AA\subset A (f) {3,1}⊆A\{3,1\}\subseteq A

با A={1,2,3}A=\{1,2,3\} بێت. ڕاست یان هەڵە؟ (أ) 2∈A2\in A (ب) {2}∈A\{2\}\in A (ج) 4∉A4\notin A (د) ∅⊆A\emptyset\subseteq A (هـ) A⊂AA\subset A (و) {3,1}⊆A\{3,1\}\subseteq A

Show answerوەڵامەکە پیشان بدە
  • (a) True.
  • (b) False: the elements of A are numbers. {2}\{2\} is a set, so the true statement is {2}⊆A\{2\}\subseteq A.
  • (c) True.
  • (d) True: the empty set is a subset of every set.
  • (e) False: A is a subset of itself, but not a proper subset.
  • (f) True: 3 and 1 are both in A; order does not matter.
  • (أ) ڕاست.
  • (ب) هەڵە: A ژمارەن. {2}\{2\} ، بۆیە ڕستە ڕاستەکە {2}⊆A\{2\}\subseteq Aـە.
  • (ج) ڕاست.
  • (د) ڕاست: هەموو .
  • (هـ) هەڵە: A خۆیەتی، بەڵام نییە.
  • (و) ڕاست: 3 و 1 هەردووکیان لە Aـدان؛ ڕیزبەندی گرنگ نییە.
ExerciseڕاهێنانEqual or not?یەکسانن یان نا؟

(a) Are A={2,4,82,6}A=\{2,4,\tfrac{8}{2},6\} and B={6,4,2}B=\{6,4,2\} equal? (b) Are C={1,2}C=\{1,2\} and D={1,2,3}D=\{1,2,3\} equal? Use the two-direction subset test.

(أ) ئایا A={2,4,82,6}A=\{2,4,\tfrac{8}{2},6\} و B={6,4,2}B=\{6,4,2\} یەکسانن؟ (ب) ئایا C={1,2}C=\{1,2\} و D={1,2,3}D=\{1,2,3\} یەکسانن؟ تاقیکردنەوەی بە هەردوو ئاڕاستە بەکار بهێنە.

Show answerوەڵامەکە پیشان بدە

(a) 82=4\tfrac{8}{2}=4, so A={2,4,6}A=\{2,4,6\}. A⊆BA\subseteq B and B⊆AB\subseteq A, so A=BA=B. (b) C⊆DC\subseteq D, but 3∈D3\in D and 3∉C3\notin C, so D⊈CD\nsubseteq C and the sets are not equal. C is a proper subset of D: C⊂DC\subset D.

(أ) 82=4\tfrac{8}{2}=4، بۆیە A={2,4,6}A=\{2,4,6\}. A⊆BA\subseteq B و B⊆AB\subseteq A، بۆیە A=BA=B. (ب) C⊆DC\subseteq D، بەڵام 3∈D3\in D و 3∉C3\notin C، بۆیە D⊈CD\nsubseteq C و دوو یەکسان نین. C Dـیە: C⊂DC\subset D.

ExerciseڕاهێنانAll the subsetsهەموو ژێرکۆمەڵەکان

List all the subsets of {1,2}\{1,2\}. How many are there? How many of them are proper subsets?

هەموو {1,2}\{1,2\} بنووسە. چەندن؟ چەندیان ؟

Hintئاماژە

Do not forget the empty set and the set itself.

و خودی لە بیر مەکە.

Show answerوەڵامەکە پیشان بدە

∅\emptyset, {1}\{1\}, {2}\{2\}, {1,2}\{1,2\}: four subsets, which matches 22=42^2=4. All except {1,2}\{1,2\} itself are proper subsets, so there are 3.

∅\emptyset، {1}\{1\}، {2}\{2\}، {1,2}\{1,2\}: چوار ، کە لەگەڵ 22=42^2=4 یەک دەگرێتەوە. هەموویان جگە لە خودی {1,2}\{1,2\} ، بۆیە 3 دانەن.

ExerciseڕاهێنانSpot the mistakeهەڵەکە بدۆزەرەوە

A student wrote: “{1,2}∈{1,2,3}\{1,2\}\in\{1,2,3\}” and “∅={∅}\emptyset=\{\emptyset\}”. What is wrong in each line? Correct them.

خوێندکارێک نووسیویەتی: «{1,2}∈{1,2,3}\{1,2\}\in\{1,2,3\}» و «∅={∅}\emptyset=\{\emptyset\}». هەڵەی هەر دێڕێک چییە؟ ڕاستیان بکەرەوە.

Show answerوەڵامەکە پیشان بدە

Line 1 uses ∈\in for a set. 1 and 2 are elements, {1,2}\{1,2\} is a set, so write {1,2}⊆{1,2,3}\{1,2\}\subseteq\{1,2,3\} (or ⊂\subset, since it is proper). Line 2: ∅\emptyset has no element, while {∅}\{\emptyset\} has one, so ∅≠{∅}\emptyset\ne\{\emptyset\}. What is true is ∅∈{∅}\emptyset\in\{\emptyset\} and ∅⊆{∅}\emptyset\subseteq\{\emptyset\}.

دێڕی یەکەم ∈\in بۆ بەکار دەهێنێت. 1 و 2 ، {1,2}\{1,2\} ، بۆیە بنووسە {1,2}⊆{1,2,3}\{1,2\}\subseteq\{1,2,3\} (یان ⊂\subset، چونکە ). دێڕی دووەم: ∅\emptyset هیچ نییە، بەڵام {∅}\{\emptyset\} یەکێکی هەیە، بۆیە ∅≠{∅}\emptyset\ne\{\emptyset\}. ئەوەی ڕاستە ∅∈{∅}\emptyset\in\{\emptyset\} و ∅⊆{∅}\emptyset\subseteq\{\emptyset\}ـە.

Summary and reviewپوختە و پێداچوونەوە

  • A set is a well-defined collection of distinct objects, its elements. Sets get capital letters; elements get small letters.
  • Roster notation lists the elements, {1,2,3}\{1,2,3\}; set-builder notation gives a rule, {x ; … }\{x\,;\,\dots\}.
  • x∈Ax\in A: x is an element of A. x∉Ax\notin A: it is not. Order and repeats do not matter.
  • The empty set ∅={ }\emptyset=\{\,\} has no elements and is a subset of every set.
  • A⊆BA\subseteq B: every element of A is in B. A⊂BA\subset B: a subset that is not the whole of B. A=BA=B exactly when A⊆BA\subseteq B and B⊆AB\subseteq A.
  • کۆکراوەیەکی ڕوون و دیاریکراوە لە شتی جیاواز، کە پێیان دەوترێت . بە پیتی گەورە و بە پیتی بچووک دەنووسرێن.
  • ڕیز دەکات، {1,2,3}\{1,2,3\}؛ یاسایەک دەدات، {x ; … }\{x\,;\,\dots\}.
  • x∈Ax\in A: x Aـیە. x∉Ax\notin A: نییە. ڕیزبەندی و دووبارەبوونەوە گرنگ نین.
  • ∅={ }\emptyset=\{\,\} هیچ نییە و هەموو .
  • A⊆BA\subseteq B: هەموو A لە Bـدایە. A⊂BA\subset B: کە هەموو B نییە. A=BA=B تەنها کاتێک کە A⊆BA\subseteq B و B⊆AB\subseteq A.
Review questionsپرسیارەکانی پێداچوونەوە
What does “well-defined” mean for a set?«ڕوون و دیاریکراو» بۆ کۆمەڵەیەک واتای چییە؟

For any object we can decide, without opinion, whether it is in the set or not.

بۆ هەر شتێک دەتوانین، بەبێ بۆچوونی کەسی، بڕیار بدەین کە لە یان نا.

What is the difference between ∈\in and ⊆\subseteq?جیاوازیی نێوان ∈\in و ⊆\subseteq چییە؟

∈\in connects an element to a set (2∈{1,2}2\in\{1,2\}); ⊆\subseteq connects a set to a set ({2}⊆{1,2}\{2\}\subseteq\{1,2\}).

∈\in بە دەبەستێتەوە (2∈{1,2}2\in\{1,2\})؛ ⊆\subseteq بە دەبەستێتەوە ({2}⊆{1,2}\{2\}\subseteq\{1,2\}).

Why is ∅⊆A\emptyset\subseteq A always true?بۆچی ∅⊆A\emptyset\subseteq A هەمیشە ڕاستە؟

Because ∅\emptyset has no element that could be missing from A.

چونکە ∅\emptyset هیچ نییە کە لە Aـدا نەبێت.

How do you prove that two sets are equal?چۆن دەیسەلمێنیت دوو کۆمەڵە یەکسانن؟

Show A⊆BA\subseteq B and B⊆AB\subseteq A: every element of each set is in the other.

پیشانی بدە کە A⊆BA\subseteq B و B⊆AB\subseteq A: هەموو هەر یەکێکیان لەوی تردایە.

Videoڤیدیۆ

Watch a videoسەیری ڤیدیۆیەک بکە

A video that viewers liked a lot and praised in their comments, chosen for this lesson.ڤیدیۆیەک کە بینەران زۆریان پێ خۆش بووە و لە کۆمێنتەکانیاندا ستایشیان کردووە، بۆ ئەم وانەیە هەڵبژێردراوە.

Introduction to Sets - Elements and Subset of a Set | Grade 7 Math @MathTeacherGonMATH TEACHER GON · Englishئینگلیزی · 245K viewsبینین · 4.2K likesلایک

What a set is, how to write its elements in curly brackets with the symbols for "is an element of", and what a subset is.

چییە و چۆن لەناو { }\{\ \} دەنووسرێن، هێمای ∈\in بە واتای « لە»، هەروەها چییە.

Chapters: 0:24 definition of a set, 1:37 elements, 4:41 subsets.

بەشەکان: ⁦0:24⁩ پێناسەی ، ⁦1:37⁩ ، ⁦4:41⁩ .

Lesson complete!وانەکە تەواو بوو!

Well done. Review the key terms, then go on to the next lesson.دەستخۆش. سەیرێکی زاراوە سەرەکییەکان بکەرەوە، پاشان بڕۆ بۆ وانەی داهاتوو.

Key termsزاراوە سەرەکییەکان

Next lessonوانەی داهاتوو

Union, Intersection, Difference and Complementیەکگرتن، یەکتربڕین، جیاوازیی کۆمەڵە و تەواوکەر

References and further readingسەرچاوەکان و خوێندنەوەی زیاتر

This lecture is a first edition. The Kurdish text and terminology are waiting for review by Kurdish IT teachers.ئەم وانەیە چاپی یەکەمە. دەقە کوردییەکە و زاراوەکانی چاوەڕێی پێداچوونەوەی مامۆستایانی کوردی بواری IT ن.