// Numbas version: finer_feedback_settings {"name": "Basic Probability Questions", "extensions": [], "custom_part_types": [], "resources": [["question-resources/dice.svg", "/srv/numbas/media/question-resources/dice.svg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"advice": "

a)

\n

For events where each outcome is equally likely to occur, we can calculate the probability using the formula

\n

\\[\\text{Probability of an event} = \\displaystyle\\frac{\\text{number of favourable outcomes}}{\\text{total number of outcomes}}.\\]

\n

When we roll a fair $6$-sided die, we are equally likely to roll any of the numbers from $1$ to $6$ on the die as each number only appears once on the die.

\n

i)

\n

To find the probability of rolling an even number, we use the formula above.

\n

The total number of outcomes is $6$ (as we are using a fair $6$-sided die).

\n

Now we must think how many outcomes result in an even number being rolled. 

\n

There are $3$ possible outcomes where we roll an even number on the die:

\n\n

Using the formula for probability for equally likely outcomes, this means that

\n

\\[
\\begin{align}
P(\\text{rolling an even number}) &= \\displaystyle\\frac{\\text{number of favourable outcomes}}{\\text{total number of outcomes}}\\\\
&= \\displaystyle\\frac{3}{6}\\\\ 
&= \\displaystyle\\frac{1}{2}.
\\end{align}
\\]

\n

ii) 

\n

To find the probability of not rolling a $\\var{die1}$ or a $\\var{die2}$, we use the same formula again.

\n

The total number of outcomes is still $6$.

\n

Here, we have $4$ possible outcomes where we don't roll a $\\var{die1}$ or a $\\var{die2}$ (i.e where we roll any of the other numbers on the die):

\n\n

Using the formula,

\n

\\[
\\begin{align}
P(\\text{not rolling a $\\var{die1}$ or a $\\var{die2}$}) &= \\displaystyle\\frac{\\text{number of favourable outcomes}}{\\text{total number of outcomes}}\\\\
&= \\displaystyle\\frac{4}{6}\\\\
&= \\displaystyle\\frac{2}{3}.
\\end{align}
\\]

\n

b)

\n

In this question, we are finding the probability of getting tails when an unbiased coin is flipped.

\n

The probability of getting either heads or tails is equally likely, which means that we can use the same formula as we used throughout part a).

\n

When we flip an unbiased coin there are $2$ possible outcomes: heads or tails. 

\n

There is only $1$ outcome where we obtain tails.

\n

Using the formula,

\n

\\[
\\begin{align}
P(\\text{tails}) &= \\displaystyle\\frac{\\text{number of favourable outcomes}}{\\text{total number of outcomes}}\\\\
&= \\displaystyle\\frac{1}{2}.
\\end{align}
\\]

\n

c)

\n

We are told that the bag contains $\\var{red}$ red balls, $\\var{blue}$ blue balls and $\\var{green}$ green balls and that one ball is removed from the bag at random. Hence, the total number of balls in the bag before the chosen ball is removed is 

\n

\\[\\var{red}+\\var{blue}+\\var{green} = \\var{total}.\\]

\n

As the ball is being removed randomly from the bag, there is an equal probability of selecting any one of the $\\var{total}$ balls.

\n

Therefore, using the same formula as in parts a) and b), we can calculate the probability of the chosen ball being blue as

\n

\\[
\\begin{align}
P(\\text{blue}) &= \\displaystyle\\frac{\\text{number of favourable outcomes}}{\\text{total number of outcomes}}\\\\
&= \\displaystyle\\frac{\\var{blue}}{\\var{total}}.
\\end{align}
\\]

\n

So, $P(\\text{blue}) =  \\displaystyle\\simplify{{blue}/{total}}$.

", "statement": "

For equally likely outcomes, you can calculate the probability of a particular event occurring by using the formula

\n

$\\text{Probability of an event} = \\displaystyle\\frac{\\text{number of favourable outcomes}}{\\text{total number of outcomes}}$.

\n

For example, rolling a fair $6$-sided die has $6$ possible outcomes which are given in the table. 

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Outcomes
We roll a $1$
We roll a $2$
We roll a $3$
We roll a $4$
We roll a $5$
We roll a $6$
\n


Let's say we want to find the probability of rolling a $2$. From the list above, there is only one outcome which involves a $2$ being rolled, so the number of favourable outcomes is $1$.

\n

When we roll a fair $6$-sided die, we are equally likely to roll any of the numbers from $1$ to $6$ on the die as each number only appears once on the die.

\n

Hence using the above formula,

\n

\\[
\\begin{align}
P(\\text{rolling a $2$}) &= \\displaystyle\\frac{\\text{number of favourable outcomes}}{\\text{total number of outcomes}}\\\\
&= \\displaystyle\\frac{1}{6}.
\\end{align}
\\]

", "variables": {"die6": {"templateType": "anything", "name": "die6", "description": "

Potential number for a) ii)

", "group": "Ungrouped variables", "definition": "random(1..6 except die1 except die2 except die3 except die4 except die5)"}, "die4": {"templateType": "anything", "name": "die4", "description": "

Potential number for a) ii)

", "group": "Ungrouped variables", "definition": "random(1..6 except die1 except die2 except die3)"}, "die2": {"templateType": "anything", "name": "die2", "description": "

Not included number for a) ii)

", "group": "Ungrouped variables", "definition": "random(4..6)"}, "die3": {"templateType": "anything", "name": "die3", "description": "

Potential number for a) ii)

", "group": "Ungrouped variables", "definition": "random(1..6 except die1 except die2)"}, "red": {"templateType": "anything", "name": "red", "description": "

number of red balls in part c

", "group": "Ungrouped variables", "definition": "random(15,19)"}, "total": {"templateType": "anything", "name": "total", "description": "

total number of balls in part c

", "group": "Ungrouped variables", "definition": "red+blue+green"}, "die5": {"templateType": "anything", "name": "die5", "description": "

Potential number for a) ii)

", "group": "Ungrouped variables", "definition": "random(1..6 except die1 except die2 except die3 except die4)"}, "blue": {"templateType": "anything", "name": "blue", "description": "

number of blue balls in part c

", "group": "Ungrouped variables", "definition": "random(6,7,11)"}, "die1": {"templateType": "anything", "name": "die1", "description": "

Not included number for a) ii)

", "group": "Ungrouped variables", "definition": "random(1..3)"}, "green": {"templateType": "anything", "name": "green", "description": "

number of green balls in part c.

", "group": "Ungrouped variables", "definition": "random(4,8,10)"}}, "tags": ["Balls in a bag", "Coin", "coin", "Dice", "dice", "Probability", "probability"], "ungrouped_variables": ["red", "blue", "green", "total", "die1", "die2", "die3", "die4", "die5", "die6"], "functions": {}, "name": "Basic Probability Questions", "preamble": {"js": "", "css": ""}, "extensions": [], "type": "question", "variable_groups": [], "rulesets": {}, "variablesTest": {"condition": "", "maxRuns": "100"}, "metadata": {"description": "

Basic probability skills involving coins, dice and other events with equally likely outcomes.

", "licence": "Creative Commons Attribution 4.0 International"}, "parts": [{"scripts": {}, "variableReplacements": [], "gaps": [{"variableReplacements": [], "maxMarks": 0, "distractors": ["", "", "", ""], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "matrix": [0, 0, "1", 0], "scripts": {}, "displayColumns": 0, "showCorrectAnswer": true, "type": "1_n_2", "shuffleChoices": false, "marks": 0, "choices": ["

$1$

", "

$\\displaystyle\\frac{2}{3}$

", "

$\\displaystyle\\frac{1}{2}$

", "

$\\displaystyle\\frac{1}{3}$

"], "showFeedbackIcon": true, "minMarks": 0}, {"variableReplacements": [], "maxMarks": 0, "distractors": ["", "", "", ""], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "matrix": ["1", 0, 0, 0], "scripts": {}, "displayColumns": 0, "showCorrectAnswer": true, "type": "1_n_2", "shuffleChoices": false, "marks": 0, "choices": ["

$\\displaystyle\\frac{2}{3}$

", "

$\\displaystyle\\frac{1}{3}$

", "

$\\displaystyle\\frac{1}{4}$

", "

$0$

"], "showFeedbackIcon": true, "minMarks": 0}], "type": "gapfill", "showCorrectAnswer": true, "marks": 0, "prompt": "

Choose the correct probability for each outcome when you roll a fair, $6$-sided die. Remember to reduce any fractions into their simplest form. 

\n

i) $P(\\text{rolling an even number})$

\n

[[0]]

\n

ii) $P(\\text{not rolling a $\\var{die1}$ or a $\\var{die2}$})$

\n

[[1]]

\n

", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst"}, {"scripts": {}, "variableReplacements": [], "gaps": [{"variableReplacements": [], "maxMarks": 0, "distractors": ["", "", "", ""], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "matrix": [0, "0", "1", 0], "scripts": {}, "displayColumns": 0, "showCorrectAnswer": true, "type": "1_n_2", "shuffleChoices": false, "marks": 0, "choices": ["

$1$

", "

$\\displaystyle\\frac{2}{3}$

", "

$\\displaystyle\\frac{1}{2}$

", "

$\\displaystyle\\frac{1}{3}$

"], "showFeedbackIcon": true, "minMarks": 0}], "type": "gapfill", "showCorrectAnswer": true, "marks": 0, "prompt": "

An unbiased coin is flipped. What is the probability of getting a tails?

\n

[[0]]

\n

", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst"}, {"scripts": {}, "variableReplacements": [], "gaps": [{"variableReplacements": [], "maxMarks": 0, "distractors": ["", "", "", "", ""], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "matrix": [0, 0, "1", 0, 0], "scripts": {}, "displayColumns": 0, "showCorrectAnswer": true, "type": "1_n_2", "shuffleChoices": false, "marks": 0, "choices": ["

$\\displaystyle\\var[fractionnumbers]{({red}+{green})/{total}}$

", "

$\\displaystyle\\var[fractionnumbers]{{blue}/({green}+{red})}$

", "

$\\displaystyle\\var[fractionnumbers]{{blue}/{total}}$

", "

$\\displaystyle\\frac{1}{\\var{blue}}$

", "

$\\displaystyle\\frac{1}{\\var{total}}$

"], "showFeedbackIcon": true, "minMarks": 0}], "type": "gapfill", "showCorrectAnswer": true, "marks": 0, "prompt": "

\n

A bag contains $\\var{red}$ red balls, $\\var{blue}$ blue balls and $\\var{green}$ green balls. One ball is removed from the bag at random. What is the probability that the chosen ball will be blue? Remember to reduce any fractions into their simplest form.

\n

[[0]]

\n

", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst"}], "contributors": [{"name": "Elliott Fletcher", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1591/"}]}]}], "contributors": [{"name": "Elliott Fletcher", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1591/"}]}