// Numbas version: exam_results_page_options {"name": "Probability: from a Venn diagram", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Probability: from a Venn diagram", "tags": [], "metadata": {"description": "
Calculating probability from a given Venn diagram. Includes complement, union, intersection.
", "licence": "None specified"}, "statement": "{geogebra_applet('https://www.geogebra.org/m/rudd6jns',[a:{neither}, b:{A}, c:{both},d:{B}])}
", "advice": "It is important to remember that the sum of all independent probabilities is $1$, i.e. the total for the rectangle on the Venn diagram is $1$. Also remember that probabilities must take a value between $0$ and $1$, where $0$ is impossible and $1$ is certain.
\n{geogebra_applet('https://www.geogebra.org/m/rudd6jns',[a:{neither}, b:{A}, c:{both},d:{B}])}
\na) $P(A')$ is the probability of 'not $A$', i.e the probability that $A$ doesn't happen.
\nYou can use the Venn diagram to verify the formula $P(A') = 1 - P(A)$.
\nTherefore $P(A') = 1 - \\var{A} = \\var{1-A}$.
\n\nb) $P(A \\cup B)$ is the probability of \"$A$ union $B$\" i.e. the probability of either $A$, or $B$, or both.
You can use the Venn diagram to verify the formula $P(A \\cup B) = P(A) + P(B) - P(A \\cap B)$.
Therefore $P(A \\cup B) = P(A) + P(B) - P(A \\cap B) = \\var{A} + \\var{B} - \\var{both} = \\var{A+B-both}$.
c) $P(A \\cap B')$ is the probability of \"$A$ intersection not $B$\" i.e. the probability of both $A$ and $B'$, or 'just $A$'.
\nYou can use the Venn diagram to confirm that $P(A \\cap B') = P(A) - P(A \\cap B) = \\var{A} - \\var{both} = \\var{A-both}$.
\nCalculate $P(A')$
", "minValue": "1-{A}", "maxValue": "1-{A}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Calculate $P(A\\cup B)$
", "minValue": "{AuB}", "maxValue": "{AuB}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Calculate $P(A \\cap B')$
", "minValue": "{justA}", "maxValue": "{justA}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}]}]}], "contributors": [{"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}]}