Today we will learn about Sets!!!!
:- A set is a collection of numbers or objects. The objects are called the element of the set.
For eg. Set S = {1,2,5} or {Car, Bus, Bicycle}
:- If set S have a finite number of elements, then the numbers of elements is denoted by |S|.
In above example, |S| = 3
:- If all the elements of a set S are also elements of a set T (or having extra), then S is a subset of T.
For eg. S = {1,2,5} is a subset of T = {0,1,2,3,5}
:- For any two sets A and B, the union of A and B is the set of elements that are in A or in B or in both.
For eg. If A = {3,4}, B = {4,5,6}
then A U B = {3,4,5,6}
(Note: Common values will be considered only once).
:- For any two sets A and B, the intersection of A and B is the set of elements that are both in A and in B.
In above example, Intersection (A,B) = {4}
:- General Formula: Union (A,B) = |A| + |B| - Intersection (A,B)
:- Venn Diagram:
Elements of First circle: A + C
Elements of Second circle: B + C
Intersection of both circle: C only
Okie guys, Keep practice on!!! Er. Ankur Garg garg.ankur6@gmail.com |
|
No comments:
Post a Comment