Example Problem: If the universal set U=1,2,3,4,5 and A=1,3,5, find </p></li></ul></li></ul></li></ol><h5collapsed="false"seolevelmigrated="true">Experiments</h5><p>Anexperimentisaprocessthatresultsinanoutcomethatcannotbepredictedwithcertainty.Itisaprocedurethatcanberepeatedunderthesameconditions,anditsoutcomeisoneofseveralpossibleresults.</p><h5collapsed="false"seolevelmigrated="true">SampleSpaces</h5><h6collapsed="false"seolevelmigrated="true">Definition</h6><p>Thesamplespace,denotedbySor\Omega,isthesetofallpossibleoutcomesofarandomexperiment.</p><h6collapsed="false"seolevelmigrated="true">Properties</h6><ul><li><p>Eachoutcomeinthesamplespaceiscalledasamplepointorelement.</p></li><li><p>Thesamplespacecanbefiniteorinfinite.</p></li></ul><h6collapsed="false"seolevelmigrated="true">Examples</h6><ul><li><p><strong>Tossingacoinonce</strong>:S = {\text{Head, Tail}}</p></li><li><p><strong>Rollingasix−sideddieonce</strong>:S = {1, 2, 3, 4, 5, 6}</p></li><li><p><strong>Tossingtwocoins</strong>:S = {\text{(H,H), (H,T), (T,H), (T,T)}}</p></li></ul><h5collapsed="false"seolevelmigrated="true">Events</h5><h6collapsed="false"seolevelmigrated="true">Definition</h6><p>Anevent,denotedbyacapitalletter(e.g.,A,B,E),isanysubsetofthesamplespace.Itisacollectionofspecificoutcomesofanexperiment.</p><h6collapsed="false"seolevelmigrated="true">TypesofEvents</h6><ul><li><p><strong>SimpleEvent</strong>:Aneventcontainingexactlyoneoutcome(e.g.,rollinga3onadie,E = {3}).</p></li><li><p><strong>CompoundEvent</strong>:Aneventcontainingmorethanoneoutcome(e.g.,rollinganevennumberonadie,E = {2, 4, 6}).</p></li><li><p><strong>ImpossibleEvent</strong>:Aneventthatcontainsnooutcomes(i.e.,theemptyset\emptyset).</p></li><li><p><strong>CertainEvent</strong>:Aneventthatcontainsalloutcomesinthesamplespace(i.e.,thesamplespaceSitself).</p></li></ul><h6collapsed="false"seolevelmigrated="true">Examples</h6><ul><li><p><strong>Rollingasix−sideddie</strong>:LetS = {1, 2, 3, 4, 5, 6}</p><ul><li><p>EventA:Rollinganevennumber.A = {2, 4, 6}</p></li><li><p>EventB:Rollinganumbergreaterthan4.B = {5, 6}</p></li><li><p>EventC:Rollinga1.C = {1}</p></li></ul></li></ul><p>Asetisawell−definedcollectionofdistinctobjects(elements).1.Notation−Setsaredenotedbycapitalletters(e.g.,A),elementsbylowercase(e.g.,a).−Curlybraces{}encloseelements.−\inmeans"isanelementof,"\notinmeans"isnotanelementof."−Example:IfA = {1, 2, 3},then1 \in Aand4 \notin A.2.WaystoDescribeSets−∗∗RosterMethod:∗∗Listingallelements(e.g.,E = {2, 4, 6, 8}).−∗∗ExampleProblem:∗∗ExpressthesetofvowelsintheEnglishalphabetusingtheRosterMethod.−∗∗Solution:∗∗V = {a, e, i, o, u}.−∗∗Set−BuilderNotation:∗∗Describingelementproperties(e.g.,\text{A} = {x \mid x \text{ is an integer and } 1 \le x \le 5}).−∗∗ExampleProblem:∗∗ExpressthesetofallpositiveevenintegersusingSet−BuilderNotation.−∗∗Solution:∗∗\text{P} = {x \mid x \text{ is an even integer and } x > 0}.orP = {2n \mid n \in \mathbb{Z}, n > 0}.3.SpecialSets−∗∗EmptySet(\emptysetor{}):∗∗Containsnoelements.−∗∗ExampleProblem:∗∗Whatisthesetofallprimenumbersdivisibleby4?−∗∗Solution:∗∗Thisisanemptyset,writtenas\emptysetor{}becausenoprimenumberisdivisibleby4.−∗∗UniversalSet(U):∗∗Allpossibleelementsunderconsideration.−∗∗SingletonSet:∗∗Containsexactlyoneelement(e.g., { {5} } ).4.CardinalityofaSet−Thenumberofdistinctelementsinaset,denotedby\Vert A\Vertorn(A).−Example:IfA = {a, b, c, d},then\Vert A\Vert = 4.−∗!ExampleProblem:∗!FindthecardinalityofthesetS = {x \mid x \text{ is a day of the week}}.−∗∗Solution:∗∗\Vert S\Vert = 7.5.TypesofSetsbyCardinality−∗∗FiniteSet:∗∗Definite,countablenumberofelements(e.g.,daysinaweek).−∗∗InfiniteSet:∗∗Unlimitednumberofelements(e.g.,naturalnumbers\mathbb{N}).6.EqualityofSets−A = Biftheycontainthesameelements,regardlessoforderorduplicates.−Example:{1, 2, 3} = {3, 1, 2}.−∗∗ExampleProblem:∗∗ArethesetsX = {red, blue, green}andY = {green, red, blue}equal?−∗∗Solution:∗∗Yes,X = Ybecausetheycontaintheexactsameelements.7.SubsetsandSupersets−∗∗Subset(\subseteq):∗∗EveryelementofAisinB(e.g.,{1, 2} \subseteq {1, 2, 3}).−∗∗ExampleProblem:∗∗GivenA = {a, b}andB = {a, b, c},isA \subseteq B?−∗∗Solution:∗∗Yes,becauseallelementsofA(a, b)arealsoinB.−∗∗ProperSubset(\subset):∗∗A \subseteq BbutA \ne B(e.g.,{1, 2} \subset {1, 2, 3}).−∗∗ExampleProblem:∗∗UsingthesetsA = {a, b}andB = {a, b, c},isA \subset B?−∗∗Solution:∗∗Yes,becauseA \subseteq BandBcontainsanelement(c)notinA.−∗∗Superset(\supseteq):∗∗IfA \subseteq B,thenB \supseteq A.−∗∗ProperSuperset($\supset):∗∗IfA \subset B,thenB \supset A.8.SetOperations−∗∗Union(A \cup B):∗∗ElementsinA,B,orboth(e.g.,{1,2,3} \cup {3,4,5} = {1,2,3,4,5}).−∗∗ExampleProblem:∗∗IfS1 = {dog, cat}andS2 = {cat, bird},findS1 \cup S2.−∗∗Solution:∗∗S1 \cup S2 = {dog, cat, bird}.−∗∗Intersection(A \cap B):∗∗ElementscommontobothAandB(e.g.,{1,2,3} \cap {3,4,5} = {3}).−∗∗ExampleProblem:∗∗IfS1 = {dog, cat}andS2 = {cat, bird},findS1 \cap S2.−∗∗Solution:∗∗S1 \cap S2 = {cat}.−∗∗SetDifference(A - BorA \setminus B):∗∗ElementsinAbutnotinB(e.g.,{1,2,3} - {3,4,5} = {1,2}).−∗∗ExampleProblem:∗∗IfS1 = {dog, cat}andS2 = {cat, bird},findS1 - S2.−∗∗Solution:∗∗S1 - S2 = {dog}.−∗∗Complement(A'or\bar{A}):∗∗AllelementsintheuniversalsetUthatarenotinA.−∗∗ExampleProblem:∗∗IftheuniversalsetU = {1, 2, 3, 4, 5}andA = {1, 3, 5},findA'.−∗∗Solution:∗∗A' = {2, 4}. ### Experiments
An experiment is a process that results in an outcome that cannot be predicted with certainty. It is a procedure that can be repeated under the same conditions, and its outcome is one of several possible results. ### Sample Spaces
Definition
The sample space, denoted by Sor\Omega, is the set of all possible outcomes of a random experiment. ##### Properties
Each outcome in the sample space is called a sample point or element.
The sample space can be finite or infinite. ##### Examples
**Tossing a coin once**: S = {\text{Head, Tail}}</p></li><li><p>∗∗Rollingasix−sideddieonce∗∗:S = {1, 2, 3, 4, 5, 6}</p></li><li><p>∗∗Tossingtwocoins∗∗:S = {\text{(H,H), (H,T), (T,H), (T,T)}} ### Events
Definition
An event, denoted by a capital letter (e.g., A,B,E), is any subset of the sample space. It is a collection of specific outcomes of an experiment. ##### Types of Events
**Simple Event**: An event containing exactly one outcome (e.g., rolling a 3 on a die, E = {3}).</p></li><li><p>∗∗CompoundEvent∗∗:Aneventcontainingmorethanoneoutcome(e.g.,rollinganevennumberonadie,E = {2, 4, 6}).</p></li><li><p>∗∗ImpossibleEvent∗∗:Aneventthatcontainsnooutcomes(i.e.,theemptyset\emptyset).</p></li><li><p>∗∗CertainEvent∗∗:Aneventthatcontainsalloutcomesinthesamplespace(i.e.,thesamplespaceS itself). ##### Examples
**Rolling a six-sided die**: Let S = {1, 2, 3, 4, 5, 6}−EventA:Rollinganevennumber.A = {2, 4, 6}−EventB:Rollinganumbergreaterthan4.B = {5, 6}−EventC:Rollinga1.C = {1} ### Probability
Definition
Probability is a numerical measure of the likelihood of an event occurring. It is a value between 0 and 1, inclusive, where 0 indicates impossibility and 1 indicates certainty.
Classical Probability
For an event EinasamplespaceSwithequallylikelyoutcomes,theprobabilityofEisgivenbytheformula:<br>P(E) = \frac{\text{Number of favorable outcomes (in E)}}{\text{Total number of possible outcomes (in S)}}</p><h6collapsed="false"seolevelmigrated="true">Properties</h6><ul><li><p>TheprobabilityofanyeventEisbetween0and1:0 \le P(E) \le 1</p></li><li><p>Thesumofprobabilitiesofallpossibleoutcomesinasamplespaceis1.</p></li><li><p>Theprobabilityofanimpossibleeventis0:P(\emptyset) = 0</p></li><li><p>Theprobabilityofacertainevent(thesamplespaceS)is1:P(S) = 1</p></li></ul><h6collapsed="false"seolevelmigrated="true">ExampleProblem</h6><p>Whatistheprobabilityofrollinganevennumberwhenafairsix−sideddieisrolledonce?</p><h6collapsed="false"seolevelmigrated="true">Solution</h6><ul><li><p>ThesamplespaceisS = {1, 2, 3, 4, 5, 6},sothetotalnumberofoutcomesis\Vert S\Vert = 6.</p></li><li><p>TheeventofrollinganevennumberisE = {2, 4, 6},sothenumberoffavorableoutcomesis\Vert E\Vert = 3.</p></li><li><p>TheprobabilityisP(E) = \frac{3}{6} = \frac{1}{2} = 0.5$$.