# Probability.

## Presentation on theme: "Probability."— Presentation transcript:

Probability

Introduction Every trial or experiment has one or more possible outcomes An event, denoted by capital letter is a collection of one or more of those outcomes. For example, in tossing a die, event may be defined as getting odd numbers which consist of three possible outcomes.

The probability denoted by of an event A is a measure of the likelihood or chance of the event occurring in any one trial or experiment. The value for P(A) is between 0 and 1. P(A)=0 mean there are no chance for an event to occur (impossible event) P(A)=1 means an event that is sure to occur (certain event).

Venns Diagram Sample spaces, S contains all possible outcomes of an experiment. Event is a subset of the sample space. For example, event A is a subset of S, .

S C

The union of event A and B, which is denoted as is the event of all elements that belong to A or B or both. The intersection of event A and B, which is denoted by , is the event of all elements that belong to both A and B. Event A and C have no outcomes in common, they are said to be mutually exclusive.

Classical definition of probability
If S is a sample space, event A is a subset of S, and the experiment has an equal probability of accurance, then the probability of A can be obtain by:

Example 1 Karim has a set of eight cards numbered 1 to 8. A card is drawn randomly from the set of cards. Find the probability that the number drawn is 8 Not 8

Solution: If E is the event that a number 8 is drawn and S is the sample space, then S={1,2,3,4,5,6,7,8} ; E={8} ; ={1,2,3,4,5,6,7}

Example 2 Two fair dice are thrown. Determine the sample space of the experiment. the elements of event A if the outcomes of both dice thrown are showing the same number of dot. the elements of event B if the first thrown giving a greater number of dot than the second thrown. probability of event A, P(A) and event B, P(B)

If A and B are two events from an experiment with the conditions that
Where is the event that A occurs or B occurs or both events A and B occurs while is the event that both A and B occur together

Let say n(A)=a, n(B)=b, n(S)=n and n(A B)=d
a-d b-d d Let say n(A)=a, n(B)=b, n(S)=n and n(A B)=d

Example 3 In a class consisting of 25 students, 10 are girls and15 are boys. 4 of the girls and 8 of the boys wear glasses. If a student is selected at random, what is the probability that the student selected is a girl or wearing a glasses?

Solution If A is event that selected student is a girl and B is event that the selected student wear glasses.

Probability Of Mutually Exclusive Event
If event A can occurs or even B can occurs but not both event A and B can occurs, then two even A and B are said to be mutually exclusive. This mean that if A and B are mutually exclusive event, then if A occurs, B cannot occur and if B occurs, A cannot occur. For two mutually exclusive event A and B,

S Probability of two mutually exclusive event

Example Five graduates of equal ability apply for vacancy. Only one applicant will be successful. The applicant are Ali, Bakri, Chandran, David and Eng Kok. Find the probability that Bakri will be successful Bakri or david will be successful

Solution (a) Each applicant has an equal chance of getting the job and selections are mutually exclusive because only one will be chosen. (b) P(Bakri or David)

Probability If Three Events
The result of probability for two event can be extended to three event as follows: If A, B and C are three events from sample space S, then,

Usually, problems involving probability of three events can be solved with the aid of Venn diagram.

Tree Diagram When a trial or an experiment of interest consist of a sequence of several stages, it is convenient to represent these with tree diagram. A tree diagram highlights all the possible outcomes and systematically works out the corresponding probabilities.

Example 2.6 A coin is tossed three times. If A is the event that a head occurs on each of the first two tossed, B is the event that a tail occurs on the third toss and C is the event that exactly two tails occur in the three tosses. Show a tree diagram for this experiment and list the possible outcomes of the sample space, S and events A, B and C. Find the probability for events A, B and C to occur.

Answer for exercise 1. Let A be a event that a student like to read megazine AA and B the event that a student like to read megazine BB. P(A)=0.8 Put these information into Venn diagram. 0.05 S A B

a) Probability that the student selected like to read megazine BB is 0
a) Probability that the student selected like to read megazine BB is 0.25 b) P(student like to read AA or BB but not both) = =0.85

2. (a) (b)

(c)

3. The sample space S={3 black balls, 4 white balls, 9 yellow balls} n(S)=16 Let A: event that black balls is chosen B: event ball is chosen (a) (b)

4 (a) Let A:Event that Aru be a champion B:Event that Bakri be a champion C:Event that Chan be a champion Since only one person will be a champion, event A,B and C are mutually exclusive. Thus Probability that one of them will be a champion is 0.6

(b) Probability that none of them will be a champion is 0.4