Skip to main content
Mathematics LibreTexts

4.1: Basic Concepts

  • Page ID
    50942
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    If you roll a die, pick a card from deck of playing cards, or randomly select a person and observe their hair color, we are executing an experiment or procedure. In probability, we look at the likelihood of different outcomes. We begin with some terminology.

    Events and Outcomes

    Events and Outcomes

    • The result of an experiment is called an outcome.
    • An event is any particular outcome or group of outcomes.
    • A simple event is an event that cannot be broken down further.
    • The sample space is the set of all possible simple events.

    Example \(\PageIndex{1}\)

    If we roll a standard 6-sided die, describe the sample space and some simple events.

    Solution

    The sample space is the set of all possible simple events: {1,2,3,4,5,6}

    Some examples of simple events:

    • We roll a 1
    • We roll a 5

    Some compound events:

    • We roll a number bigger than 4
    • We roll an even number

    Basic Probability

    Given that all outcomes are equally likely, we can compute the probability of an event \(E\) using this formula:

    \[P(E)=\dfrac{\text { Number of outcomes corresponding to the event } \mathrm{E}}{\text { Total number of equally likely outcomes }} \nonumber \]

    Example \(\PageIndex{2}\)

    If we roll a 6-sided die, calculate

    1. P(rolling a 1)
    2. P(rolling a number bigger than 4)

    Solution

    Recall that the sample space is {1,2,3,4,5,6}

    1. There is one outcome corresponding to “rolling a 1”, so the probability is \(\dfrac{1}{6}\)
    2. There are two outcomes bigger than a 4, so the probability is \(\dfrac{2}{6}=\dfrac{1}{3}\)

    Probabilities are essentially fractions and can be reduced to lower terms like fractions.

    Example \(\PageIndex{3}\)

    Let's say you have a bag with 20 cherries, 14 sweet and 6 sour. If you pick a cherry at random, what is the probability that it will be sweet?

    Solution

    There are 20 possible cherries that could be picked, so the number of possible outcomes is 20. Of these 20 possible outcomes, 14 are favorable (sweet), so the probability that the cherry will be sweet is \(\dfrac{14}{20}=\dfrac{7}{10}\).

    There is one potential complication to this example, however. It must be assumed that the probability of picking any of the cherries is the same as the probability of picking any other. This wouldn't be true if (let us imagine) the sweet cherries are smaller than the sour ones. (The sour cherries would come to hand more readily when you sampled from the bag.) Let us keep in mind, therefore, that when we assess probabilities in terms of the ratio of favorable to all potential cases, we rely heavily on the assumption of equal probability for all outcomes.

    Exercise \(\PageIndex{1}\)

    At some random moment, you look at your clock and note the minutes reading.

    1. What is the probability of the minutes reading 15?
    2. What is the probability the minutes reading 15 or less?

    Cards

    A standard deck of 52 playing cards consists of four suits (hearts, spades, diamonds and clubs). Spades and clubs are black while hearts and diamonds are red. Each suit contains 13 cards, each of a different rank: an Ace (which in many games functions as both a low card and a high card), cards numbered 2 through 10, a Jack, a Queen and a King.

    Example \(\PageIndex{4}\)

    Compute the probability of randomly drawing one card from a deck and getting an Ace.

    Solution

    There are 52 cards in the deck and 4 Aces so \(P(\text {Ace})=\dfrac{4}{52}=\dfrac{1}{13} \approx 0.0769\)

    We can also think also think of probabilities as percents: There is a 7.69% chance that a randomly selected card will be an Ace.

    Notice that the smallest possible probability is 0 (if there are no outcomes that correspond with the event). The largest possible probability is 1 (if all possible outcomes correspond with the event).

    Certain and Impossible events

    An impossible event has a probability of 0.

    A certain event has a probability of 1.

    The probability of any event must be \(0 \leq P(E) \leq 1\)

    If you compute a probability and get an answer that is negative or greater than 1, you have made a mistake and should check your work.

    Complementary Events

    Now let us examine the probability that an event does not happen. As in the previous section, consider the situation of rolling a six-sided die and first compute the probability of rolling a six: the answer is P(six) =\(\dfrac{1}{6}\). Now consider the probability that we do not roll a six: there are 5 outcomes that are not a six, so the answer is P(not a six) = \(\dfrac{5}{6}\). Notice that

    \[P(\text{six})+P(\text { not a six })=\dfrac{1}{6}+\dfrac{5}{6}=\dfrac{6}{6}=1 \nonumber \]

    This is not a coincidence. Consider a generic situation with n possible outcomes and an event \(E\) that corresponds to \(m\) of these outcomes. Then the remaining \(n-m\) outcomes correspond to \(E\) not happening, thus.

    \[P(\text {not} E)=\dfrac{n-m}{n}=\dfrac{n}{n}-\dfrac{m}{n}=1-\dfrac{m}{n}=1-P(E) \nonumber \]

    Complement of an Event

    The complement of an event is the event “\(E\) doesn’t happen”.

    The notation \(\overline{E}\) is used for the complement of event \(E\).

    We can compute the probability of the complement using \(P(\overline{E})=1-P(E)\)

    Notice also that \(P(E)=1-P(\overline{E})\)

    Example \(\PageIndex{5}\)

    If you pull a random card from a deck of playing cards, what is the probability it is not a heart?

    Solution

    There are 13 hearts in the deck, so \(P(\text { heart })=\dfrac{13}{52}=\dfrac{1}{4}\).

    The probability of not drawing a heart is the complement:

    \[P(\text { not heart })=1-P(\text { heart })=1-\dfrac{1}{4}=\dfrac{3}{4} \nonumber \]

    Independent events

    Example \(\PageIndex{6}\)

    Suppose we flipped a coin and rolled a die, and wanted to know the probability of getting a head on the coin and a 6 on the die.

    Solution

    We could list all possible outcomes: \(\{H 1, H 2, H 3, H 4, H 5, H 6, T 1, T 2, T 3, T 4, T 5, T 6\}\)

    Notice there are \(2 \cdot 6=12\) total outcomes. Out of these, only 1 is the desired outcome, so the probability is \(\dfrac{1}{12}\)

    The prior example was looking at two independent events.

    Independent Events

    Events A and B are independent events if the probability of Event B occurring is the same whether or not Event A occurs.

    Example \(\PageIndex{7}\)

    Are these events independent?

    1. A fair coin is tossed two times. The two events are (1) first toss is a head and (2) second toss is a head.
    2. The two events (1) "It will rain tomorrow in Houston" and (2) "It will rain tomorrow in Galveston” (a city near Houston).
    3. You draw a card from a deck, then draw a second card without replacing the first.

    Solution

    1. The probability that a head comes up on the second toss is 1/2 regardless of whether or not a head came up on the first toss, so these events are independent.
    2. These events are not independent because it is more likely that it will rain in Galveston on days it rains in Houston than on days it does not.
    3. The probability of the second card being red depends on whether the first card is red or not, so these events are not independent. Remember, if you draw one red card, now the stack has one fewer red card, affecting the probability.

    When two events are independent, the probability of both occurring is the product of the probabilities of the individual events.

    \(P(A \text { and } B)\) for independent events

    If events \(A\) and \(B\) are independent, then the probability of both \(A\) and \(B\) occurring is: \(P(A \text { and } B)=P(A) \cdot P(B)\)

    Where \(P(A \text { and } B)\) is the probability of events \(A\) and \(B\) both occurring, \(P(A)\) is the probability of event \(A\) occurring, and \(P(B)\) is the probability of event \(B\) occurring.

    If you look back at the coin and die examples from earlier, you can see how the number of outcomes of the first event multiplied by the number of outcomes in the second event multiplied to equal the total number of possible outcomes in the combined event.

    Example \(\PageIndex{8}\)

    In your drawer you have 10 pairs of socks, 6 of which are white, and 7 tee shirts, 3 of which are white. If you randomly reach in and pull out a pair of socks and a tee shirt, what is the probability both are white?

    Solution

    The probability of choosing a white pair of socks is \(\dfrac{6}{10}\)

    The probability of choosing a white tee shirt is \(\dfrac{3}{7}\)

    The probability of both being white is \(\dfrac{6}{10} \cdot \dfrac{3}{7}=\dfrac{18}{70}=\dfrac{9}{35}\)

    Try it Now 2

    A card is pulled from a deck of cards and noted. The card is then replaced, the deck is shuffled, and a second card is removed and noted. What is the probability that both cards are Aces?

    The previous examples looked at the probability of both events occurring. Now we will look at the probability of either event occurring.

    Example \(\PageIndex{9}\)

    Suppose we flipped a coin and rolled a die, and wanted to know the probability of getting a head on the coin or a 6 on the die.

    Solution

    Here, there are still 12 possible outcomes: \(\{H1,H2,H3,H4,H5,H6,T1,T2,T3,T4,T5,T6\}\)

    By simply counting, we can see that 7 of the outcomes have a head on the coin or a 6 on the die or both – we use or inclusively here (these 7 outcomes are \(H1, H2, H3, H4, H5, H6, T6\)), so the probability is \(\dfrac{7}{12}\). How could we have found this from the individual probabilities?

    As we would expect, \(\dfrac{1}{2}\) of these outcomes have a head, and \(\dfrac{1}{6}\) of these outcomes have a 6 on the die. If we add these, \(\dfrac{1}{2}+\dfrac{1}{6}=\dfrac{6}{12}+\dfrac{2}{12}=\dfrac{8}{12}\), which is not the correct probability. Looking at the outcomes we can see why: the outcome \(H6\) would have been counted twice, since it contains both a head and a 6; the probability of both a head and rolling a 6 is \(\dfrac{1}{12}\). If we subtract out this double count, we have the correct probability: \(\dfrac{8}{12}-\dfrac{1}{12}=\dfrac{7}{12}\)

    \(P(A \text { or } B)\)

    The probability of either A or B occurring (or both) is

    \[P(A \text { or } B)=P(A)+P(B)-P(A \text { and } B) \nonumber \]

    Example \(\PageIndex{10}\)

    Suppose we draw one card from a standard deck. What is the probability that we get a Queen or a King?

    Solution

    There are 4 Queens and 4 Kings in the deck, hence 8 outcomes corresponding to a Queen or King out of 52 possible outcomes. Thus the probability of drawing a Queen or a King is:

    \[P(\text { King or Queen })=\dfrac{8}{52} \nonumber \]

    Note that in this case, there are no cards that are both a Queen and a King, so \(P(\text { King or Queen })=0\). Using our probability rule, we could have said:

    \[P(\text { King or Queen })=P(\text { King })+P(\text { Queen })-P(\text { King and Queen })=\dfrac{4}{52}+\dfrac{4}{52}-0=\dfrac{8}{52} \nonumber \]

    In the last example, the events were mutually exclusive, so \(P(\text {A or } B)=P(A)+P(B)\).

    Example \(\PageIndex{11}\)

    Suppose we draw one card from a standard deck. What is the probability that we get a red card or a King?

    Solution

    Half the cards are red, so \(P(\text { red })=\dfrac{26}{52}\)

    There are four kings, so \(P(\text{ King })=\dfrac{4}{52}\)

    There are two red kings, so \(P(\text{ Red and King })=\dfrac{2}{52}\)

    We can then calculate

    \[P(\text{ Red or King })=P(\text{ Red })+P(\text{ King })-P(\text{ Red and King })=\dfrac{26}{52}+\dfrac{4}{52}-\dfrac{2}{52}=\dfrac{28}{52} \nonumber \]

    Try it Now 3

    In your drawer you have 10 pairs of socks, 6 of which are white, and 7 tee shirts, 3 of which are white. If you reach in and randomly grab a pair of socks and a tee shirt, what is the probability that at least one is white?

    Example \(\PageIndex{12}\)

    The table below shows the number of survey subjects who have received and not received a speeding ticket in the last year, and the color of their car. Find the probability that a randomly chosen person:

    1. Has a red car and got a speeding ticket.
    2. Has a red car or got a speeding ticket.

    Solution

    Table \(\PageIndex{1}\)

    Speeding ticket

    No speeding ticket

    Total

    Red car

    15

    135

    150

    Not red car

    45

    470

    515

    Total

    60

    605

    665

    1. We can see that 15 people of the 665 surveyed had both a red car and got a speeding ticket, so the probability is \(\dfrac{15}{665} \approx 0.0226\)

    Notice that having a red car and getting a speeding ticket are not independent events, so the probability of both of them occurring is not simply the product of probabilities of each one occurring.

    1. We could answer this question by simply adding up the numbers: 15 people with red cars and speeding tickets + 135 with red cars but no ticket + 45 with a ticket but no red car = 195 people. So the probability is \(\dfrac{195}{665} \approx 0.2932\)

    We also could have found this probability by:

    \[P(\text { had a red car }) + P(\text { got a speeding ticket }) – P(\text { had a red car and got a speeding ticket }) = \dfrac{150}{665}+\dfrac{60}{665}-\dfrac{15}{665}=\dfrac{195}{665} \nonumber \]

    Reference

    1. References (8)

    Contributors and Attributions

    • Saburo Matsumoto
      CC-BY-4.0


    4.1: Basic Concepts is shared under a CC BY license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?