﻿ Types of events and operation with events. Resolved examples.

# Types of events and operation with events. Resolved examples.

Here I’m going to explain the types of events we can find when we do probability exercises and we’ll also see how operations are done with events, with examples solved step by step.

Let’s go!

## Sample space, event and simple event

Imagine that we put in a bag 5 tickets with the numbers from 1 to 5. Therefore, we can obtain 5 different results: We can take out 1, 2, 3, 4 or 5. Each of these results is called a simple event.

On the other hand, we call the sample space the set of all the possible results of an experiment.

In our case, the sample space “to take 5 tickets out of the bag” is: All elementary events form the sample space.

Let’s see another example: What would be the event of throwing 3 coins?

We have to see all the possible results. Each coin can be heads or tails.

A possible case result can be: We toss the first coin and its result is “head”. Then we toss the second coin and its result becomes “head” again. Finally we toss the third coin, whose result becomes “head” again.

If we call C to the head and X to the tail, this result is CCC.

Other results can be CCX, CXC…

To take into account all the possible results, we make the following scheme, where if we follow each of the paths, we will have all the results: Therefore, the sample space of throwing three coins is: Let’s see another example: What would be the sample space of “throwing three dice and writing down the sum of the points obtained”?

In this case, a possible result could be to roll the three dice and take out three 1. The sum would be 3.

Another result would be to roll two 1’s and one 2. In this case the sum would be 4.

Following this criteria, the highest sum would be when we draw three 6, which would be 18.

Therefore, in this case the sample space is: To finish, we call an event a part of the sample space (a subset). For example, “taking out 2 tickets” would be an event, since “taking out 2 tockets” is a part of the sample space that is “taking out 5 tickets”.

The difference between the event and the elemental event is that the elemental event is the most basic event (the same as the elements of a set). The elemental event would be “take out 1 ticket”.

## Types of Events

Once we have our sample space clear, we are going to define the types of their processes that exist:

### Certain event

In our case of the bag with 5 tickets numbered from 1 to 5, a certain event is that we are going to take out a number that will be between 1 or 5. Therefore, as its own name indicates, a certain event is one that is sure to be obtained.

### Impossible event

On the other hand, we can not take out a ticket with a number greater than 5. We cannot take out a 6, a 15 or a 35, because those tickets do not exist. Therefore, we are talking about an impossible event, that is, one that will never be presented.

### Opposite event

I am asked to take 2 tickets out of the bag. I take out 2 and 3. We will call this event A:  The opposite event to our event A would be formed by the elements of our sample space that are not in A. We remember that our sample space was: So the opposite event would be formed by:  The opposite event is represented with a bar above the letter.

### Compatible event

We are asked to extract 3 tickets and then put them back in the bag. We will call this event A: We are now asked to extract 2 tickets and put them back in the bag later, which we will call event B: When two events, such as A and B, have some simple event in common, they are called compatible events. In this case, A and B are compatible because we have simple event 3 in common.

### Incompatible event

If, on the other hand, we do not have any simple events in common, they are called incompatible events. For example, we are asked to extract 2 more tickets and then leave them in the bag again. It will be the event C: A and C would be incompatible events because they do not have any simple event in common. If you realize, in addition to event C, it would also be an opposite event to A. An event can be of more than one type.

## Operations with events

Let’s see now the operations with events of a random experiment step by step.

### How to calculate the union of events

The union of events is represented by the symbol ∪, which is similar to a U.

For example the union of two events A and B is: and it reads as A union B.

Now let’s see how the union of two events is calculated with an example.

Let’s imagine that we roll a dice. The event “get an even number” is called event A, which is made up of the numbers 2, 4 and 6:  The event “get a number greater than 2” will be called event B and will be made up of the numbers 3, 4, 5 and 6:  Finally, to the event “obtain an odd number”, we will call it event C and it will be formed by the numbers 1, 3 and 5:  Let’s calculate A union B. What elements should be included in the union?

Then there would be all those elements that are either in A or are in B, or are in both events at the same time.

Therefore the elements of A union B are:

• The 2, which is in A
• The 3, which is in B
• The 4, which is in A and B
• The 5, which is in B
• The 6, which is in A and B Let’s see another example. Let us now calculate A union C. The elements of A union C, would be those that are either in A or are in C, or are in A and C at the same time.

Therefore the elements of A union C are:

• The 1, which is in C
• The 2, which is in A
• The 3, which is in C
• The 4, which is in A
• The 5, which is in C
• The 6, which is in A To read the union of events in the usual language, the union is replaced by “or”. In this way, A union B would read to obtain an even number or a number greater than 2.

In the same way, A union C, would read to obtain an even or odd number.

### How to calculate the intersection of events

Let’s continue with the intersection of events.

The intersection of events is represented by the symbol ∩, which is an inverted U.

For example the intersection of two events A and B is: and reads as A intersection B.

Now let’s see how the intersection of two events is calculated. To do this we will take the same events from the previous example:      Let’s calculate A intersection B: What elements should be included in the intersection?

Then there would be all those elements that coincide in the two events, that is to say that they are in A and B at the same time.

Therefore, the elements of A intersection B are 4 and 6, because they are repeated in both events: Let’s see another example. Now let’s calculate A intersection C. In event A and event C, no element is repeated. Therefore, the result of A intersection C is an impossible event and is represented with the empty set: To read the intersection of events in the usual language, the intersection is replaced by “and”. In this way, A interescción B would read to obtain an even number and a number greater than 2.

Similarly, A intersection C would read to get an even number and an odd number.

### How to calculate the difference in events

Let’s see the last operation we have left: the difference of events.

The difference of events is represented with the minus sign.

The difference of two events A and B is: Now let’s see how the difference of two events is calculated, with the same events that we are taking as an example:      Let’s calculate A minus B: How is the subtraction of events carried out?

As we are subtracting event B from event A, so we subtract the elements of event B that are repeated in A from event A.

Let’s see it step by step. We have event A: Now, we identify the elements of B that are repeated in A, which are 4 and 6: Finally, to perform A-B, we remove from event A the elements of event B that are repeated in A, that is, we remove 4 and 6, so we only have 2 left:

Por último, para realizar A-B, al suceso A le quitamos los elementos del suceso B que se repiten en A, es decir, le quitamos el 4 y el 6, por lo que sólo nos queda el 2: Check for yourself that for example A-B is not equal to B-A

We will now perform the subtraction B-C: We have the event B: We identify the elements of C that are repeated in B, which are 3 and 5: Finally, to make B-C, we remove from event B the elements of event C that are repeated in B, that is, we remove 3 and 5, leaving 4 and 6: Check for yourself that for example B-C is not equal to C-B.

P

To read the difference of events in the usual language, the minus sign is replaced by “but not” or by “and not”. For example, the difference A minus B would read to get an even number but not a number greater than 2.

In the same way, the difference of B minus C, one would read to obtain a number greater than 2 but not an odd number.

### Complementary to an event

There is a last operation that is complementary to an event. You have it explained above, in the types of events, as the opposite event. You can find it in both ways.

## Proposed exercises

### Exercise 1

Describe the sample space associated with the following experiments:

a) Remove two balls from an urn with five white balls and eight black balls

b) Whether or not it rains for three consecutive days

### Exercise 2

We have a bag with 9 tickets numbered 1 to 9. We have to get ticekts out of the bag. If we consider event A as “a prime number” and event B as “a square number”, answer the following questions:

a) Calculate the events A∪B and A∩B

b) Are events A and B compatible or incompatible?

c) What are the opposite events of A and B?