P&S 1 (CUP)

📚 P&S 1 (CUP).pdf

Brief overview

This document provides a comprehensive introduction to fundamental statistical concepts and probability theory. It covers methods for data representation, analysis of central tendencies and variation, and detailed exploration of probability distributions, equipping readers with essential analytical skills.

Key points

  • Overview of data representation methods including diagrams and graphs.
  • Calculation and interpretation of measures of central tendency and variation.
  • Fundamental probability concepts and calculation laws for events.
  • Applications of permutations and combinations in problem-solving.
  • Understanding discrete and continuous probability distributions including normal distribution.

1. Introduction to data representation

1.1 Types of data

We collect, display, and analyze data to understand the world around us. This helps us answer questions and find new areas for investigation.

Improving data skills allows us to better understand the information we encounter daily. This skill also helps us spot inaccurate data presentations and evaluate research.

[ ].

Data can be divided into two main types:

  • Qualitative data: These are described with words and are not numerical. Examples include blood types or colors. [ ].
  • Quantitative data: These take numerical values and can be either discrete or continuous. [ ].
Data TypeDescription
QualitativeDescribes qualities; non-numerical (e.g., color, name).
QuantitativeDescribes quantities; numerical. Can be discrete or continuous.

1.1.1 Discrete and continuous data

Discrete data are counted and cannot be made more precise. They can only take specific values.

[ ].

Continuous data are measurements given to a chosen degree of accuracy. They can take any value within a range.

[ ] 14.

📝 Example: The number of students in a class is discrete data (you can't have half a student). The height of a student is continuous data (it can be 1.65 meters, 1.655 meters, etc.).

Data TypeHow it's obtainedExamples
DiscreteCountedNumber of cars, number of goals scored.
ContinuousMeasuredHeight, weight, temperature.

🔑 Important: Discrete data are values you can count, while continuous data are values you measure.

🔑 Important: Understanding data types is crucial for choosing the right way to display and analyze information.

2. Methods for representing data

2.1 Discrete data representation: Stem-and-leaf diagrams

  • Discrete data: These are values that can only take specific, separate numbers. For example, the number of letters in a word or shoe sizes like 7 or 8. There are no values in between these specific numbers.
  • Continuous data: These values can be any number within a range. For instance, the time it takes an athlete to finish a race can be measured very precisely, like 10.32 seconds.

Stem-and-leaf diagrams are useful for organizing small amounts of discrete data.

  • The diagram splits each data point into a 'stem' (the leading digits) and a 'leaf' (the last digit).
  • The stem is listed vertically, and leaves are listed horizontally next to their corresponding stem.
  • Leaves should be ordered from smallest to largest to make the diagram easier to read.
  • A key is essential to explain what the stem and leaf values represent, for example, "Key: 5 | 3 represents 53%".

Stem-and-leaf diagrams allow you to see the raw data while also showing the overall distribution.

  • Back-to-back stem-and-leaf diagrams: These are used to compare two sets of data. The leaves on one side of the stem increase from left to right, while the leaves on the other side increase from right to left.

2.2 Continuous data representation: Histograms

A histogram is best for showing continuous data.

  • Continuous data can take any value within a given range, like height or time.
  • Histograms use bars to represent data, but unlike bar charts, there are no gaps between the bars. This is because continuous data flows seamlessly.

When constructing a histogram:

  • Class boundaries: These are the exact limits of each data interval. For example, if data is given to the nearest centimetre, like 146-150 cm, the true boundaries are 145.5 cm and 150.5 cm.
  • Class width: This is the difference between the upper and lower class boundaries.
  • Frequency density: This is calculated as frequency / class width. The height of each bar in a histogram represents the frequency density, not just the frequency.
  • The area of each bar in a histogram is proportional to the frequency of that class. Area = frequency density × class width.

Area of bar ∝\propto Frequency

  • Histograms help estimate values within a continuous range by assuming data is spread evenly within each class interval.

2.3 Representing data with cumulative frequency graphs

A cumulative frequency graph shows the total frequency of values less than a certain point.

  • This type of graph is useful for continuous data and can be used to find estimates for the median, quartiles, and percentiles.
  • Points are plotted at the upper class boundaries against their cumulative frequencies.
  • The graph can be drawn as a cumulative frequency polygon (joining points with straight lines) or a cumulative frequency curve (a smooth curve).

Plotting at upper boundaries ensures precise cumulative frequencies up to those points.

  • Cumulative frequency graphs make the same assumptions as histograms: that data is spread evenly within each interval.

Here's a summary of the data representation methods:

MethodData TypeKey FeaturesBest Used For
Stem-and-leaf diagramDiscreteSplits data into stem and leaf; raw data visible; good for small datasets.Showing distribution and comparing two small datasets
HistogramContinuousBars with no gaps; height represents frequency density; area represents frequency.Showing distribution and estimating values in ranges
Cumulative frequency graphContinuousPlots cumulative frequencies against upper class boundaries; smooth curve or polygon.Estimating median, quartiles, percentiles

🔑 Important: Choose the right graph type based on whether your data is discrete or continuous to effectively visualize and analyze it.

When choosing a way to show data, think about what kind of data you have and what you want to show. Different graphs and charts are good for different purposes.

2.4 Choosing the right representation

Different types of data need different ways to be shown. The amount of data also matters.

<comparison_table>

Data TypeSmall Amount of DataLarge Amount of Data
Qualitative (Categorical)Pictogram, bar chart, pie chartBar chart, pie chart
Discrete QuantitativeStem-and-leaf diagram, bar chart, line graphHistogram, cumulative frequency graph
Continuous QuantitativeHistogram, cumulative frequency graphHistogram, cumulative frequency graph
</comparison_table>

🔑 Important: The goal is to show data clearly without being misleading.

2.5 Stem-and-leaf diagrams

These diagrams are useful for smaller sets of data. They show the shape of the data distribution while keeping the original values visible.

  • Stem: The first digit(s) of a number.
  • Leaf: The last digit of a number.

For example, if a data point is 23, '2' would be the stem and '3' would be the leaf.

📝 Example: If data points are 23, 25, 31, 38:

2 | 3 5
3 | 1 8
Here, the stems are 2 and 3, and the leaves are 3, 5, 1, and 8.

2.6 Histograms

Histograms are used for continuous data or discrete data grouped into intervals. They show the frequency distribution of the data.

  • Key concept: The area of each bar is proportional to the frequency of that interval.
  • Frequency density: This is used on the vertical axis when the intervals (class widths) are not equal.
    • Frequency density = Frequency / Class width
SituationRepresentationWhy
Showing continuous data distributionHistogramBars touch, showing no gaps between intervals.
Unequal class widthsHistogramUses frequency density to ensure bar area correctly represents frequency.
Showing grouped discrete dataHistogramCan show the distribution of values within defined ranges.

2.7 Cumulative frequency graphs

These graphs show the total frequency of data values up to a certain point. They are useful for finding medians, quartiles, and percentiles.

  • Plotting points: Points are plotted at the upper boundary of each class interval.
  • Shape: The graph typically slopes upwards from left to right.
FeatureDescription
Cumulative frequencyThe total number of data points at or below a certain value.
Upper class boundariesThe maximum value in each interval. These are the x-coordinates for plotting.
InterpretationAllows estimation of values like the median (50th percentile) or quartiles.

📝 Example: If you have data grouped into intervals and want to find the number of items less than 20g, you would look at the cumulative frequency for the upper boundary of the interval ending at 20g.

2.8 Comparing data representations

When comparing different datasets or representations, consider what each visual tells you.

  • Qualitative data: Pictograms, bar charts, and pie charts are good for simple categories. Pie charts effectively show proportions of a whole.
  • Quantitative data: Stem-and-leaf diagrams allow you to see individual data points. Histograms show the shape of distributions for grouped data. Cumulative frequency graphs help with understanding spread and central values.

🔑 Important: A representation should not be misleading. For instance, unequal bar widths in a histogram without using frequency density can distort the perception of frequencies.

3. Measures of central tendency

Measures of central tendency provide a single value to summarize a dataset. The three main measures are the mode, mean, and median.

Choosing the right measure depends on the data and what you want to represent. For example, a shoemaker might use the mode to find the most popular shoe size, while a farmer might use the median for egg production to identify less productive chickens.

3.1 The mode

The mode is the value that appears most frequently in a dataset. A dataset can have one mode, multiple modes, or no mode at all.

3.2 Modal class for grouped data

For grouped data where individual values are not visible, we find the modal class. This is the class interval with the highest frequency density.

Frequency density is calculated by dividing the frequency of a class by its width 40.

🔑 Important: If all class widths are equal, the modal class is simply the one with the highest frequency 41.

3.3 The mean

The mean, also known as the arithmetic mean, is calculated by summing all values in a dataset and dividing by the total number of values.

3.4 Calculating the mean

  • Ungrouped data: The mean (xˉ\bar{x}) is the sum of all data values (Σx\Sigma x) divided by the number of values (nn). xˉ=Σxn\bar{x} = \frac{\Sigma x}{n}.

  • Grouped data: The mean (xˉ\bar{x}) is the sum of the products of each value and its frequency (Σfx\Sigma fx) divided by the total frequency (Σf\Sigma f). Class mid-values (xx) are used to represent the values within each class interval. xˉ=ΣfxΣf\bar{x} = \frac{\Sigma fx}{\Sigma f} 42 44.

3.5 Combined datasets

To find the mean of combined datasets, sum all values from all datasets and divide by the total number of values.

🔑 Important: The mean of combined datasets is not always the average of the individual means 43.

3.6 Coded data

Coding data by adding or subtracting a constant simplifies calculations. If data values (xx) are transformed to (x−ax-a), the new mean is (xˉ−a)(\bar{x} - a).

To find the original mean, add the constant back. 50.

  • Formula: xˉ=mean(x−a)+a\bar{x} = \text{mean}(x-a) + a 49.

Coding can also involve multiplication. If data values (xx) are transformed to (ax−bax-b), the new mean is (axˉ−ba\bar{x} - b).

To find the original mean, reverse the operations: add bb and then divide by aa.

  • Formula: xˉ=mean(ax−b)+ba\bar{x} = \frac{\text{mean}(ax-b) + b}{a} 52.

3.7 The median

The median is the middle value in an ordered dataset. It divides the data into two equal halves.

3.8 Finding the median

  • Odd number of values (nn): The median is the value at the n+12\frac{n+1}{2} position.

  • Even number of values (nn): The median is the mean of the two middle values, located at the n2\frac{n}{2} and n2+1\frac{n}{2} + 1 positions.

🔑 Important: For grouped data, cumulative frequencies are used to find the position of the median 54.


🔑 Important: The choice of central tendency measure depends on the data's nature and the goal of the analysis. Mode is best for categorical data or finding the most frequent item, median for skewed data or when outliers are present, and mean for symmetrical data without extreme values 39.

3.9 Understanding central tendency

Measures of central tendency help summarize a dataset by finding a single representative value. This value, often called an "average," gives a sense of the typical data point.

Three common measures are the mode, median, and mean. Each tells us something different about the center of the data.

Choosing the right average is key; it can either represent data well or badly.

3.10 The mode

The mode is the value that appears most often in a dataset. It's useful because it can be found for any type of data, even words or categories.

  • Ungrouped data: The value with the highest frequency is the mode.
  • Grouped data: The modal class is the group with the highest frequency density or the tallest bar in a histogram.

How to find the mode

Data TypeMethodExample
Ungrouped dataIdentify the value that occurs most frequently.In {2, 3, 3, 4}, the mode is 3.
Grouped dataIdentify the class interval with the highest frequency or frequency density.In histogram bars, the tallest bar's range.

3.11 The median

The median is the middle value in a dataset when the data is ordered from smallest to largest. It divides the data into two equal halves.

  • Ungrouped data: The median is at the n+12\frac{n+1}{2}th position, where nn is the total number of data points.
  • Grouped data: The median is estimated using a cumulative frequency graph at the n2\frac{n}{2}th position. This gives an approximate value when exact data isn't available.

Estimating the median from a cumulative frequency graph

To estimate the median from a cumulative frequency graph:

  1. Find the total number of data points (nn).
  2. Calculate the median position: n2\frac{n}{2}.
  3. Locate this position on the cumulative frequency axis.
  4. Draw a horizontal line to intersect the curve.
  5. From the intersection point, draw a vertical line down to the data axis to find the median value.

For grouped data, we use n2\frac{n}{2} for the median position on cumulative frequency graphs.

3.12 The mean

The mean is the sum of all values in a dataset divided by the total number of values. It takes every data point into account.

  • Ungrouped data: The mean is calculated as xˉ=∑xn\bar{x} = \frac{\sum x}{n}.
  • Grouped data: The mean is calculated as xˉ=∑fx∑f\bar{x} = \frac{\sum fx}{ \sum f}, where ff is the frequency of each value xx.

Calculating the mean

Data TypeFormula
Ungrouped dataxˉ=∑xn\bar{x} = \frac{\sum x}{n}
Grouped dataxˉ=∑fx∑f\bar{x} = \frac{\sum fx}{\sum f}

3.13 Choosing the appropriate average

The best measure of central tendency depends on the data and what you want to show.

MeasureAdvantagesDisadvantages
ModeNot affected by extreme values; useful for qualitative data.Ignores most values; rarely used in further calculations.
MeanTakes all values into account; widely understood; useful for calculations.Affected by extreme values; requires all data to be known.
MedianUnaffected by extreme values; can be found without all data.Ignores most values; only considers order.

When to use which measure:

  • Mode: Use when you need the most common value, like the most popular shoe size.
  • Median: Use when there are extreme values that could skew the average, like house prices in an area.
  • Mean: Use when you need a balanced average that includes all data points, like average test scores.

Extreme values can dramatically change the mean, but usually not the median or mode.

3.14 Skewness and central tendency

Data can be symmetrical or skewed. Skewness describes the asymmetry of a dataset's distribution.

  • Positively skewed data: The longer tail is on the right (larger values).
    • Relationship: Mode << Median << Mean.
  • Negatively skewed data: The longer tail is on the left (smaller values).
    • Relationship: Mean << Median << Mode.
  • Symmetrical data: The distribution is balanced, and the mean, median, and mode are typically equal.

The mean is pulled towards the tail in skewed data.

🔑 Important: Understanding the shape of your data (symmetrical, positively skewed, or negatively skewed) is crucial for choosing the most representative measure of central tendency.

4. Measures of variation

Understanding how spread out data is is as important as knowing its center. Measures of variation, also called spread or dispersion, tell us this.

Two datasets can have the same average but very different patterns of values. For example, two cricket batters might score the same total runs, but one's scores are consistent while the other's are all over the place.

This difference in consistency is shown by a measure of variation.

Common measures of variation include the range, interquartile range, and standard deviation.

4.1 The Range

The range is the simple difference between the largest and smallest values in a dataset. It's easy to calculate but only uses the extreme values and ignores the rest of the data.

Sometimes, stating the minimum and maximum values is more informative than their difference.

For grouped data, you can find a minimum and maximum possible range using the lower and upper boundary values.

📝 Example: If the lowest test mark is 6 and the highest is 19, the range is 19−6=1319 - 6 = 13 67.

📝 Example: For heights, the least possible range uses the lower boundary of the lowest value and the upper boundary of the highest value. The greatest possible range uses the upper boundary of the lowest value and the lower boundary of the highest value.

MeasureCalculation
RangeLargest value – Smallest value
Least possible rangeLower boundary of smallest – Upper boundary of largest
Greatest possible rangeUpper boundary of smallest – Lower boundary of largest

4.2 The Interquartile Range and Percentiles

The interquartile range (IQR) measures the spread of the middle 50% of the data. It's calculated as the difference between the upper quartile (Q3) and the lower quartile (Q1).

🔑 Important: The IQR is often preferred to the range because it focuses on the central values and is less affected by extreme values (outliers).

Quartiles for Ungrouped Data

Quartiles divide ordered data into four equal parts.

  • Q1: Lower quartile
  • Q2: Median (middle quartile)
  • Q3: Upper quartile

The method for finding quartiles depends on whether the dataset has an odd or even number of values.

  • Even number of values: Split the data into a lower and upper half. Q1 is the median of the lower half, and Q3 is the median of the upper half.
  • Odd number of values: Exclude the median. Q1 is the median of the lower half, and Q3 is the median of the upper half.

🔑 Important: It’s best to find quartiles by inspection rather than memorizing formulas for their positions 68.

📝 Example: For the ordered values 6, 17, 39, 43, 69, 73, 77 (n=7):

  • Median (Q2) is the 4th value: 43.
  • Lower half: 6, 17, 39. Q1 (median of lower half) is 17.
  • Upper half: 69, 73, 77. Q3 (median of upper half) is 73.
  • IQR = 73−17=5673 - 17 = 56.

📝 Example: For the ordered values 2, 5, 9, 13, 29, 33, 49, 55 (n=8):

  • Median (Q2) is between the 4th and 5th values: (13+29)/2=21(13+29)/2 = 21.
  • Lower half: 2, 5, 9, 13. Q1 (median of lower half) is (5+9)/2=7(5+9)/2 = 7.
  • Upper half: 29, 33, 49, 55. Q3 (median of upper half) is (33+49)/2=41(33+49)/2 = 41.
  • IQR = 41−7=3441 - 7 = 34 69.

Quartiles for Grouped Data

For grouped data with a total frequency N=∑fN = \sum f, the positions of the quartiles can be estimated:

QuartilePosition
Lower (Q1)N/4N/4 th value
Median (Q2)N/2N/2 th value
Upper (Q3)3N/43N/4 th value

Cumulative frequency graphs are useful for estimating quartiles and percentiles. The nth percentile is the value n%n\% of the way through the data.

Q1, Q2, and Q3 are the 25th, 50th, and 75th percentiles, respectively 70.

📝 Example: A cumulative frequency graph shows times for 500 people.

  • Q1 is the 500/4=125500/4 = 125th value.
  • Q3 is the 3×500/4=3753 \times 500 / 4 = 375th value.
  • The 95th percentile is the 0.95×500=4750.95 \times 500 = 475th value.

📝 Example: From the graph, Q1 ≈ 8.0 min, Q3 ≈ 14.5 min.

  • IQR ≈ 14.5−8.0=6.514.5 - 8.0 = 6.5 min 71.

4.3 Box-and-Whisker Diagrams

A box-and-whisker diagram (or box plot) graphically shows the smallest value, Q1, median (Q2), Q3, and largest value of a dataset.

  • The box represents the interquartile range (from Q1 to Q3).
  • The line inside the box is the median (Q2).
  • The whiskers extend from the box to the smallest and largest values.

📝 Example: For dataset x: Smallest=1, Q1=4, Median=6, Q3=11, Largest=14.

  • Range = 14−1=1314 - 1 = 13.
  • IQR = 11−4=711 - 4 = 7.

📝 Example: For dataset y: Smallest=0, Q1=3, Median=9, Q3=12, Largest=15.

  • Range = 15−0=1515 - 0 = 15.
  • IQR = 12−3=912 - 3 = 9.

Comparing box plots helps us compare central tendency and variation. Dataset y has a higher median, showing higher average values.

Dataset y also has a larger range and IQR, indicating more variation than dataset x.

Box plots can also show skewness:

  • Positive skew: Q3−Q2>Q2−Q1Q3 - Q2 > Q2 - Q1 (longer tail to the right).
  • Negative skew: Q2−Q1>Q3−Q2Q2 - Q1 > Q3 - Q2 (longer tail to the left).
  • Symmetrical data: Q3−Q2≈Q2−Q1Q3 - Q2 \approx Q2 - Q1 72.

4.4 Variance and Standard Deviation

The variance is the mean of the squared deviations from the mean. It ensures all deviations are positive.

The standard deviation is the square root of the variance. It brings the measure of spread back to the original units of the data 77.

  • A low standard deviation means data values are close to the mean.
  • A high standard deviation means data values are spread far from the mean.

🔑 Important: Use exact values for calculations, not rounded ones, to avoid significant errors.

Formulas for Variance and Standard Deviation

For ungrouped data: Variance=∑(x−xˉ)2n=∑x2n−(xˉ)2\text{Variance} = \frac{\sum (x - \bar{x})^2}{n} = \frac{\sum x^2}{n} - (\bar{x})^2 Standard deviation=Variance\text{Standard deviation} = \sqrt{\text{Variance}} where xˉ=∑xn\bar{x} = \frac{\sum x}{n} is the mean.

For grouped data: Variance=∑f(x−xˉ)2∑f=∑fx2∑f−(xˉ)2\text{Variance} = \frac{\sum f(x - \bar{x})^2}{\sum f} = \frac{\sum f x^2}{\sum f} - (\bar{x})^2 Standard deviation=Variance\text{Standard deviation} = \sqrt{\text{Variance}} where xx represents class mid-values and xˉ=∑fx∑f\bar{x} = \frac{\sum f x}{\sum f} is the estimated mean.

🔑 Important: The variance formula can be remembered as "mean of the squares minus square of the mean".

📝 Example: For the data 3, 9, 15, 24, 29 (n=5):

  • Mean xˉ=(3+9+15+24+29)/5=16\bar{x} = (3+9+15+24+29)/5 = 16.
  • ∑x2=32+92+152+242+292=9+81+225+576+841=1732\sum x^2 = 3^2 + 9^2 + 15^2 + 24^2 + 29^2 = 9 + 81 + 225 + 576 + 841 = 1732.
  • Variance = 17325−162=346.4−256=90.4\frac{1732}{5} - 16^2 = 346.4 - 256 = 90.4.
  • Standard deviation = 90.4≈9.51\sqrt{90.4} \approx 9.51 78.

📝 Example: For grouped data with mid-values xx and frequencies ff:

  • Calculate ∑f\sum f, ∑fx\sum f x, and ∑fx2\sum f x^2.
  • Estimated Mean xˉ=∑fx∑f\bar{x} = \frac{\sum f x}{\sum f}.
  • Estimated Variance = ∑fx2∑f−(xˉ)2\frac{\sum f x^2}{\sum f} - (\bar{x})^2 79.

| :------------------ | :-------------------------------------------------------------- | | Mean (ungrouped) | xˉ=∑xn\bar{x} = \frac{\sum x}{n} | | Mean (grouped) | xˉ=∑fx∑f\bar{x} = \frac{\sum f x}{\sum f} | | Variance (ungrouped)| ∑x2n−(xˉ)2\frac{\sum x^2}{n} - (\bar{x})^2 | | Variance (grouped) | ∑fx2∑f−(xˉ)2\frac{\sum f x^2}{\sum f} - (\bar{x})^2 | | Standard deviation | Variance\sqrt{\text{Variance}} |

4.5 Comparing Measures of Variation

While standard deviation is widely used and considers all data values, it is sensitive to extreme values (outliers). The interquartile range is less affected by outliers.

A box-and-whisker diagram offers a more visual representation of the data compared to just the mean and standard deviation.

📝 Example: For Abraham's marks:

  • Biology: Variance = 140.25
  • Chemistry: Variance = 140.25
  • Physics: Variance = 140.25 This suggests similar spread in marks for all three subjects, regardless of the mean 81.

🔑 Important: A low variance or standard deviation indicates data points are clustered closely around the mean, while a high value shows they are more spread out 80.

4.6 Understanding variation

Measures of variation describe how spread out a set of data is. Common measures include the range, interquartile range (IQR), variance, and standard deviation.

These tell us if data points are clustered together or widely scattered.

  • Range: The difference between the highest and lowest values in a dataset.
  • Interquartile Range (IQR): The difference between the upper quartile (Q3) and the lower quartile (Q1). This focuses on the middle 50% of the data.
  • Variance: The average of the squared differences from the mean. It measures how far each number in the set is from the mean.
  • Standard Deviation (SD): The square root of the variance. It's a more interpretable measure of spread because it's in the same units as the original data.

The smaller the variance or standard deviation, the closer the data points are to the mean.

4.7 Calculating variance and standard deviation

The calculation of variance and standard deviation differs slightly for ungrouped and grouped data.

4.8 Ungrouped data

For ungrouped data, we use totals like the sum of values (Σx\Sigma x), the sum of squared values (Σx2\Sigma x^2), and the number of data points (nn).

  • Variance formula: Var(x)=Σx2n−(Σxn)2\text{Var}(x) = \frac{\Sigma x^2}{n} - \left(\frac{\Sigma x}{n}\right)^2
  • Standard Deviation formula: SD(x)=Var(x)\text{SD}(x) = \sqrt{\text{Var}(x)}

📝 Example: If n=25n=25, Σx=275\Sigma x = 275, and Var(x)=7\text{Var}(x) = 7, we can find Σx2\Sigma x^2.

First, calculate the mean: xˉ=Σxn=27525=11\bar{x} = \frac{\Sigma x}{n} = \frac{275}{25} = 11. Then, use the variance formula: 7=Σx225−27 = \frac{\Sigma x^2}{25} - ^2 11. Rearranging gives: Σx225=7+121=128\frac{\Sigma x^2}{25} = 7 + 121 = 128. So, Σx2=128×25=3200\Sigma x^2 = 128 \times 25 = 3200.

4.9 Grouped data

For grouped data, we use totals involving frequency (ff), such as Σf\Sigma f, Σxf\Sigma xf, and Σx2f\Sigma x^2f.

Var(x)=Σx2fΣf−(ΣxfΣf)2\text{Var}(x) = \frac{\Sigma x^2f}{\Sigma f} - \left(\frac{\Sigma xf}{\Sigma f}\right)^2

📝 Example: For a frequency table where Σf=20\Sigma f = 20, Σxf=39\Sigma xf = 39, and Σx2f=72\Sigma x^2f = 72: Mean: xˉ=ΣxfΣf=3920=1.95\bar{x} = \frac{\Sigma xf}{\Sigma f} = \frac{39}{20} = 1.95. Variance: Var(x)=7220−(1.95)2=3.6−3.8025=−0.2025\text{Var}(x) = \frac{72}{20} - (1.95)^2 = 3.6 - 3.8025 = -0.2025. Note: A negative variance is impossible and indicates a calculation error or data issue. This example highlights the need to check calculations carefully. (The example from the text shows calculation for coded data, here we show a conceptual example for variance calculation).

4.10 Combining datasets

When combining datasets, the variance of the combined dataset is not simply the sum of the individual variances. We need to use the totals of the combined data.

  • Combined mean: xˉcombined=Σx+Σynx+ny\bar{x}_{\text{combined}} = \frac{\Sigma x + \Sigma y}{n_x + n_y}
  • Combined variance: Var(x,y)combined=Σx2+Σy2nx+ny−(Σx+Σynx+ny)2\text{Var}(x, y)_{\text{combined}} = \frac{\Sigma x^2 + \Sigma y^2}{n_x + n_y} - \left(\frac{\Sigma x + \Sigma y}{n_x + n_y}\right)^2

🔑 Important: The variance of two combined datasets is generally not equal to the sum of their individual variances.

Dataset 1 (Boys)Dataset 2 (Girls)Combined Dataset
nb=10n_b = 10ng=15n_g = 15ntotal=25n_{\text{total}} = 25
Σx=1650\Sigma x = 1650Σy=2370\Sigma y = 2370Σtotalx=4020\Sigma_{\text{total}} x = 4020
Σx2=275490\Sigma x^2 = 275490Σy2=377835\Sigma y^2 = 377835Σtotalx2=653325\Sigma_{\text{total}} x^2 = 653325

For the combined 25 children, the standard deviation is: SD=65332525−(402025)2=26133−(160.8)2=26133−25856.64≈276.36≈16.6 cm\text{SD} = \sqrt{\frac{653325}{25} - \left(\frac{4020}{25}\right)^2} = \sqrt{26133 - (160.8)^2} = \sqrt{26133 - 25856.64} \approx \sqrt{276.36} \approx 16.6 \text{ cm}

4.11 Coded data and its effect on variation

Coding data by adding or subtracting a constant, or multiplying by a constant, changes how we calculate variation but has predictable effects.

4.12 Adding or subtracting a constant

If a constant 'aa' is added to or subtracted from every value in a dataset, the measures of variation (range, variance, standard deviation) remain unchanged. This is because the spread of the data doesn't change; it just shifts.

  • Var(x−a)=Var(x)\text{Var}(x - a) = \text{Var}(x)
  • SD(x−a)=SD(x)\text{SD}(x - a) = \text{SD}(x)

🔑 Important: Adding or subtracting a constant shifts the data but does not affect its spread.

📝 Example: The marks for Amber are xx. Buti's marks are x−1x-1, and Chen's are x+3x+3. The variance and standard deviation for all three students are identical because the spread of their marks is the same.

4.13 Multiplying by a constant

If every value in a dataset is multiplied by a constant 'aa', the variance is multiplied by a2a^2, and the standard deviation is multiplied by ∣a∣|a|.

  • Var(ax)=a2Var(x)\text{Var}(ax) = a^2 \text{Var}(x)
  • SD(ax)=∣a∣SD(x)\text{SD}(ax) = |a| \text{SD}(x)

🔑 Important: Multiplying data by a constant stretches or shrinks the spread. The variance changes by the square of the multiplier, and the standard deviation by the multiplier itself.

📝 Example: If the prices of brand-name products (xx) have a standard deviation of 24dollars24 dollars, and imitations cost 25%25\% of the brand-name price (i.e., 0.25x0.25x), the variance of the imitation prices is: Var(0.25x)=(0.25)2Var(x)=0.0625×2=0.0625×576=36\text{Var}(0.25x) = (0.25)^2 \text{Var}(x) = 0.0625 \times ^2 = 0.0625 \times 576 = 36 dollars squared.

4.14 Combined effects of coding

When data is coded using both multiplication and addition/subtraction (e.g., ax+bax+b), the effects combine.

  • Var(ax+b)=a2Var(x)\text{Var}(ax+b) = a^2 \text{Var}(x)
  • SD(ax+b)=∣a∣SD(x)\text{SD}(ax+b) = |a| \text{SD}(x)

To find the variance or standard deviation of the original data (xx) from coded data (like ax+bax+b), we rearrange these formulas.

🔑 Important: When using coded data (e.g., x−ax-a), we first find the variance of the coded data. Then, we use the relationship Var(x)=Var(ax+b)/a2\text{Var}(x) = \text{Var}(ax+b) / a^2 to find the variance of the original data.

📝 Example: If Var(3x−1)=98.39\text{Var}(3x-1) = 98.39 and n=10n=10: We know Var(3x−1)=32Var(x)=9Var(x)\text{Var}(3x-1) = 3^2 \text{Var}(x) = 9 \text{Var}(x). So, 9Var(x)=98.399 \text{Var}(x) = 98.39. Var(x)=98.399≈10.93\text{Var}(x) = \frac{98.39}{9} \approx 10.93.

4.15 Measures of variation for combined datasets with coding

When combining datasets that have been coded, we first find the totals for the original data from the coded totals. Then, we proceed with the combined dataset formulas.

  • To find Σx\Sigma x from Σ(x−a)\Sigma(x-a): Σx=Σ(x−a)+na\Sigma x = \Sigma(x-a) + na.
  • To find Σx2\Sigma x^2 from Σ(x−a)2\Sigma(x-a)^2: Σx2=Σ(x−a)2+2aΣ(x−a)+na2\Sigma x^2 = \Sigma(x-a)^2 + 2a\Sigma(x-a) + na^2.

Once we have the Σx\Sigma x, Σx2\Sigma x^2, Σy\Sigma y, and Σy2\Sigma y^2 for the original data, we can use the combined dataset formulas for mean and variance.

🔑 Important: Always convert coded totals back to original data totals (Σx\Sigma x, Σx2\Sigma x^2) before calculating the variance of combined datasets.

📝 Example: For 20 values of xx with Σ(x−5)2=8902\Sigma(x-5)^2 = 8902 and Σ(x−5)=130\Sigma(x-5) = 130. First, find the mean of the coded data: Σ(x−5)n=13020=6.5\frac{\Sigma(x-5)}{n} = \frac{130}{20} = 6.5. This means the mean of xx is xˉ=6.5+5=11.5\bar{x} = 6.5 + 5 = 11.5. Next, find Σx2\Sigma x^2: Σx2=Σ(x−5)2+2×5×Σ(x−5)+n×52\Sigma x^2 = \Sigma(x-5)^2 + 2 \times 5 \times \Sigma(x-5) + n \times 5^2. Σx2=8902+10×130+20×25=8902+1300+500=10702\Sigma x^2 = 8902 + 10 \times 130 + 20 \times 25 = 8902 + 1300 + 500 = 10702. The variance of xx is Var(x)=1070220−(11.5)2=535.1−132.25=402.85\text{Var}(x) = \frac{10702}{20} - (11.5)^2 = 535.1 - 132.25 = 402.85.

🔑 Important: When calculating variance for combined datasets, use the totals for the original variables (Σx\Sigma x, Σx2\Sigma x^2, Σy\Sigma y, Σy2\Sigma y^2), not the coded variables.

🔑 Important: The variance of the prices of imitations sold at 25% of the brand-name price (xx) is Var(0.25x)=(0.25)2Var(x)\text{Var}(0.25x) = (0.25)^2 \text{Var}(x). If the brand-name prices had a standard deviation of 24dollars24 dollars, the variance of the imitation prices is 0.0625×2=360.0625 \times ^2 = 36 dollars squared 24.

🔑 Important: The final answer for the topic: Measures of variation quantify data spread. Understanding how coding affects these measures (addition/subtraction has no effect, multiplication scales variance by a2a^2) is crucial for accurate calculations, especially with combined datasets.

5. Probability basics and calculations (part 1)

5.1 Introduction to probability

Probability measures how likely an event is to happen, on a scale from 0 (impossible) to 1 (certain). We write this as P(event).

A higher probability means an event is more likely. Probability affects our daily decisions, from choosing activities to understanding insurance and government spending.

5.2 Experiments, events, and outcomes

  • Experiment: An action or process with a measurable result.
  • Outcome (or elementary event): A single possible result of an experiment.
  • Event: A collection of one or more outcomes.

When rolling a fair die, the experiment has outcomes {1, 2, 3, 4, 5, 6}. Getting an odd number ({1, 3, 5}) is an event.

Random selection and equiprobable events

  • Random selection: Choosing objects so each has an equal chance of being picked. This is also called fair or unbiased selection.
  • Equiprobable (or equally likely): Each outcome has the same probability of occurring.

When one object is selected randomly from nn objects, the probability of selecting any particular object is 1n\frac{1}{n} 103.

Calculating probability

The probability of an event is the number of favourable outcomes divided by the total number of equally likely outcomes.

P(event)=Number of favourable outcomesTotal number of equally likely outcomesP(\text{event}) = \frac{\text{Number of favourable outcomes}}{\text{Total number of equally likely outcomes}}.

5.3 Exhaustive and complementary events

  • Exhaustive events: A set of events that includes all possible outcomes of an experiment.
  • Complementary events: Two events that are exhaustive and cannot happen at the same time. If event A occurs, its complement (not A, written as A') does not, and vice versa.

The sum of probabilities of an event and its complement is always 1.

P(A)+P(not A)=1orP(A)+P(A′)=1P(A) + P(\text{not } A) = 1 \quad \text{or} \quad P(A) + P(A') = 1.

ExperimentExhaustive eventsProbability P(A)Probability P(A')Sum
Toss a coinHeads12\frac{1}{2}12\frac{1}{2}1
Roll a dieLess than 216\frac{1}{6}56\frac{5}{6}1

5.4 Trials and expectation

  • Trial: Each repetition of an experiment.
  • Relative frequency: The proportion of trials where an event occurs. This can estimate the event's probability.
  • Expectation: The estimated number of times an event will occur in a series of trials.

In nn trials, event A is expected to occur n×P(A)n \times P(A) times 104.

📝 Example: If the probability of rain is 0.2, in 365 days, rain is expected on 365×0.2=73365 \times 0.2 = 73 days 105.

5.5 Mutually exclusive events and the addition law

5.6 Mutually exclusive events

  • Mutually exclusive events: Events that cannot occur at the same time. They share no common favourable outcomes, meaning the probability of both happening is zero.

For example, rolling an even number and rolling a factor of 5 (1 or 5) on a die are mutually exclusive, as no number is both.

Key Relationship: If events A and B are mutually exclusive, then P(A and B)=0P(A \text{ and } B) = 0.

5.7 The addition law

When events are mutually exclusive, the probability of either event A or event B occurring is found by adding their individual probabilities.

P(A or B)=P(A)+P(B)P(A \text{ or } B) = P(A) + P(B) 106.

If events are not mutually exclusive (meaning they can happen at the same time), you cannot simply add their probabilities because you would count the overlapping outcomes twice. For example, rolling an odd number and rolling a factor of 5 (1 or 5) on a die are not mutually exclusive, as rolling a 1 satisfies both.

🔑 Important: The addition law P(A or B)=P(A)+P(B)P(A \text{ or } B) = P(A) + P(B) only applies when events A and B are mutually exclusive.


🔑 Important: Probability basics are fundamental. Understanding experiments, outcomes, and how to calculate simple probabilities is the first step. Remember that probability is a number between 0 and 1, where 1 means certain. Keep in mind the rules for mutually exclusive events when using the addition law.

5.8 Understanding events and outcomes

  • Experiment: An action with uncertain results, like rolling a die.
  • Outcome: A single possible result of an experiment, like rolling a 4.
  • Event: A collection of one or more outcomes.
  • Universal set (Eℰ): The complete set of all possible outcomes, also called the possibility space.
  • Complement of A (A′A'): The set of outcomes that are not in event A.

A Venn diagram visually shows how sets of outcomes relate to each other.

5.9 Mutually exclusive events

  • Mutually exclusive events: Events that cannot happen at the same time. They have no common outcomes.
  • If events A and B are mutually exclusive, their intersection is empty (A∩B=∅A \cap B = \emptyset).
  • The probability of their intersection is zero (P(A∩B)=0P(A \cap B) = 0).

Mutually exclusive events are like flipping a coin once – it can be heads or tails, but not both.

5.10 Addition law for mutually exclusive events

  • The probability of event A or event B happening (when they are mutually exclusive) is the sum of their individual probabilities.
  • Formula: P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B)
  • This can be extended to more than two mutually exclusive events: P(A∪B∪C)=P(A)+P(B)+P(C)P(A \cup B \cup C) = P(A) + P(B) + P(C).

Types of events and their probabilities

Event TypeConditionProbability Formula
Mutually exclusiveA∩B=∅A \cap B = \emptysetP(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B)
Not mutually exclusiveA∩B≠∅A \cap B \neq \emptysetP(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)

5.11 Non-mutually exclusive events and the general addition law

  • Events that can happen at the same time are called non-mutually exclusive.
  • They have at least one common outcome, meaning their intersection is not empty (A∩B≠∅A \cap B \neq \emptyset).
  • When calculating the probability of A or B, you must subtract the probability of both happening to avoid counting common outcomes twice.

Think of a Venn diagram where circles overlap – the overlapping area is the intersection.

5.12 General addition law

  • For any two events A and B, the probability of A or B occurring is:
  • Formula: P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)

Example: Fruit preferences

Forty children were surveyed about their fruit preferences (apples A, bananas B, cherries C).

  • 17 like apples (P(A)=17/40P(A) = 17/40).
  • 8 like bananas (P(B)=8/40P(B) = 8/40).
  • 4 like both apples and bananas (P(A∩B)=4/40P(A \cap B) = 4/40).

To find the probability a child likes apples or bananas: P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B) P(A∪B)=17/40+8/40−4/40=21/40P(A \cup B) = 17/40 + 8/40 - 4/40 = 21/40. This means 21 children like apples, bananas, or both.

Example: Desktop and laptop ownership

A survey found:

  • 50% own a desktop (P(D)=0.50P(D) = 0.50).
  • 60% own a laptop (P(L)=0.60P(L) = 0.60).
  • 15% own both (P(D∩L)=0.15P(D \cap L) = 0.15).

To find the percentage owning neither:

  1. Calculate those owning at least one: P(D∪L)=P(D)+P(L)−P(D∩L)P(D \cup L) = P(D) + P(L) - P(D \cap L) P(D∪L)=0.50+0.60−0.15=0.95P(D \cup L) = 0.50 + 0.60 - 0.15 = 0.95 (or 95%).
  2. The percentage owning neither is the complement of owning at least one: P(neither)=1−P(D∪L)=1−0.95=0.05P(\text{neither}) = 1 - P(D \cup L) = 1 - 0.95 = 0.05 (or 5%).

🔑 Important: The general addition law P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B) is crucial for any two events, not just mutually exclusive ones.

🔑 Important: Always remember to subtract the intersection (P(A∩B)P(A \cap B)) when events are not mutually exclusive to avoid double-counting.

6. Probability basics and calculations (part 2)

6.1 Mutually exclusive and independent events

Mutually exclusive events cannot happen at the same time. For example, rolling a 1 and rolling a 6 on a single die are mutually exclusive.

Independent events do not affect each other's probability. If you flip a coin twice, the result of the first flip doesn't change the probability of the second flip.

Key Point:

Two events are mutually exclusive if P(A and B)=0P(A \text{ and } B) = 0. Two events are independent if P(A and B)=P(A)×P(B)P(A \text{ and } B) = P(A) \times P(B).

6.2 Addition and multiplication laws

The addition law helps find the probability of event A OR event B happening.

For mutually exclusive events, this is simple: P(A or B)=P(A)+P(B)P(A \text{ or } B) = P(A) + P(B)

If events are not mutually exclusive, you need to subtract the probability of both happening to avoid double-counting: P(A or B)=P(A)+P(B)−P(A and B)P(A \text{ or } B) = P(A) + P(B) - P(A \text{ and } B)

The multiplication law is used for finding the probability of event A AND event B happening.

For independent events: P(A and B)=P(A)×P(B)P(A \text{ and } B) = P(A) \times P(B)

This can be extended to more than two independent events.


📝 Example: A bag has 2 blue balls and 5 white balls. You pick one, replace it, then pick another.

  • Probability of picking blue first: P(B)=27P(B) = \frac{2}{7}
  • Probability of picking white second: P(W)=57P(W) = \frac{5}{7}
  • Probability of picking blue then white: P(B and W)=P(B)×P(W)=27×57=1049P(B \text{ and } W) = P(B) \times P(W) = \frac{2}{7} \times \frac{5}{7} = \frac{10}{49}

6.3 Conditional probability

Conditional probability is the chance of an event happening given that another event has already occurred. It's often written as P(A∣B)P(A|B), meaning "the probability of A happening given that B has happened."

Think of it as reducing the possible outcomes to only those where event B occurred.

The formula for conditional probability is derived from the multiplication law for non-independent events: P(A∣B)=P(A and B)P(B)P(A|B) = \frac{P(A \text{ and } B)}{P(B)}

A group has 11 boys and 9 girls. If one child is chosen at random, what's the probability it's Rose, given that a girl is chosen?

  • Total possible outcomes initially: 20 children
  • If a girl is chosen, the possible outcomes reduce to 9 girls.
  • Rose is one of those 9 girls.
  • So, P(Rose is selected ∣ a girl is selected)=19P(\text{Rose is selected } | \text{ a girl is selected}) = \frac{1}{9}.

Event Relationship Summary:

RelationshipConditionProbability Formula
Mutually ExclusiveEvents cannot occur togetherP(A or B)=P(A)+P(B)P(A \text{ or } B) = P(A) + P(B)
IndependentEvents do not affect each otherP(A and B)=P(A)×P(B)P(A \text{ and } B) = P(A) \times P(B)
DependentEvents affect each other$P(A \text{ and } B) = P(A) \times P(B
Conditional ProbabilityProbability given another event occurred$P(A

🔑 Important: When dealing with selections without replacement (like drawing cards from a deck without putting them back), events are dependent, and you must use conditional probability. The probability changes after each selection.

6.4 Conditional probability and the multiplication law

Conditional probability is the chance of an event happening given that another event has already occurred. We write this as $P(A|B)$, which means "the probability of A happening, given that B has happened."

The formula for conditional probability is: P(A∣B)=P(A∩B)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}

This formula can be rearranged to find the probability of two events happening together, which is called the multiplication law: P(A∩B)=P(A∣B)×P(B)P(A \cap B) = P(A|B) \times P(B)

This law is also used for independent events. For independent events, the chance of A happening doesn't change if B happens.

So, $P(A|B) = P(A)$ and $P(B|A) = P(B)$. For independent events, the multiplication law simplifies to: P(A∩B)=P(A)×P(B)P(A \cap B) = P(A) \times P(B)

🔑 Important: If you see "given that" in a probability question, it's a strong hint that you'll need to use conditional probability.

6.5 Mutually exclusive and non-mutually exclusive events

Events are mutually exclusive if they cannot happen at the same time. For example, rolling a 1 and rolling a 6 on a single die roll are mutually exclusive.

The probability of either event A or event B happening when they are mutually exclusive is found using the addition law: P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B)

When events are non-mutually exclusive, they can happen at the same time. For example, drawing a king and drawing a heart from a deck of cards are non-mutually exclusive because you can draw the king of hearts.

The probability of either event A or event B happening for non-mutually exclusive events is: P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)

Here, $P(A \cap B)$ is the probability of both A and B happening.

6.6 Applying probability rules with examples

Let's look at how these rules are used in practice.

A woman travels to work by bicycle 70% of the time and by scooter 30% of the time. If she uses her bicycle, she is late 3% of the time. If she uses her scooter, she is late only 2% of the time. Let B be the event she travels by bicycle, and S be the event she travels by scooter. Let L be the event she is late. We are given:

  • $P(B) = 0.70$
  • $P(S) = 0.30$
  • $P(L|B) = 0.03$
  • $P(L|S) = 0.02$ To find the probability that she is late for work on any particular day ($P(L)$), we use the law of total probability: P(L)=P(L∣B)P(B)+P(L∣S)P(S)P(L) = P(L|B)P(B) + P(L|S)P(S) P(L)=(0.03×0.70)+(0.02×0.30)P(L) = (0.03 \times 0.70) + (0.02 \times 0.30) P(L)=0.021+0.006=0.027P(L) = 0.021 + 0.006 = 0.027 So, the probability that she is late is 0.027.

Tree diagrams are very helpful for visualizing these probabilities, especially when dealing with a sequence of events or multiple conditions.

ScenarioProbability
Late, by bicycle$0.021$
Late, by scooter$0.006$
Not late, by bicycle$0.679$
Not late, by scooter$0.294$

In a bag, there are five 4cm nails, six 7cm nails, and nine 10cm nails. We want to find the probability that two randomly selected nails have a total length of 14cm. The combinations that give a total length of 14cm are:

  • One 4cm nail and one 10cm nail.
  • Two 7cm nails. Let N4, N7, and N10 be the events of selecting a 4cm, 7cm, or 10cm nail, respectively. Probability of one 4cm and one 10cm nail: $P(\text{N4 and N10}) = P(\text{N4}) \times P(\text{N10}|\text{N4}) + P(\text{N10}) \times P(\text{N4}|\text{N10})$ P(N4 and N10)=(520×919)+(920×519)=45380+45380=90380P(\text{N4 and N10}) = \left(\frac{5}{20} \times \frac{9}{19}\right) + \left(\frac{9}{20} \times \frac{5}{19}\right) = \frac{45}{380} + \frac{45}{380} = \frac{90}{380} Probability of two 7cm nails: P(N7 and N7)=620×519=30380P(\text{N7 and N7}) = \frac{6}{20} \times \frac{5}{19} = \frac{30}{380} Total probability of 14cm total length: P(Total length = 14cm)=90380+30380=120380=1238=619P(\text{Total length = 14cm}) = \frac{90}{380} + \frac{30}{380} = \frac{120}{380} = \frac{12}{38} = \frac{6}{19}

🔑 Important: When calculating probabilities for sequential events (like picking two nails), remember that the probabilities change for the second event because the first item is not replaced. This is called "without replacement."

6.7 Conditional probability in reverse

Sometimes you know the outcome and need to find the probability of a previous event. This is often solved using Bayes' Theorem, which is an extension of the conditional probability formula.

Consider the formula for conditional probability: P(A∣B)=P(A∩B)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}. We also know that $P(A \cap B) = P(B|A) \times P(A)$.

Substituting this into the first formula gives Bayes' Theorem: P(A∣B)=P(B∣A)P(A)P(B)P(A|B) = \frac{P(B|A)P(A)}{P(B)}

Often, $P(B)$ is calculated using the law of total probability: $P(B) = P(B|A)P(A) + P(B|A')P(A')$, where A' is the complement of A.

Yvonne plays two games of tennis. She has a 65% chance of winning the first game. If she wins the first, her chance of winning the second is 70%. If she loses the first, her chance of winning the second is 55%. Let W1 be winning the first game, L1 be losing the first game, W2 be winning the second game, and L2 be losing the second game.

  • $P(W1) = 0.65$
  • $P(L1) = 1 - 0.65 = 0.35$
  • $P(W2|W1) = 0.70$
  • $P(L2|W1) = 1 - 0.70 = 0.30$
  • $P(W2|L1) = 0.55$
  • $P(L2|L1) = 1 - 0.55 = 0.45$ To find the probability Yvonne loses the second game ($P(L2)$): P(L2)=P(L2∣W1)P(W1)+P(L2∣L1)P(L1)P(L2) = P(L2|W1)P(W1) + P(L2|L1)P(L1) P(L2)=(0.30×0.65)+(0.45×0.35)P(L2) = (0.30 \times 0.65) + (0.45 \times 0.35) P(L2)=0.195+0.1575=0.3525P(L2) = 0.195 + 0.1575 = 0.3525 Now, to find the probability she won the first game given she lost the second ($P(W1|L2)$), we use Bayes' Theorem: P(W1∣L2)=P(L2∣W1)P(W1)P(L2)P(W1|L2) = \frac{P(L2|W1)P(W1)}{P(L2)} P(W1∣L2)=0.30×0.650.3525=0.1950.3525≈0.553P(W1|L2) = \frac{0.30 \times 0.65}{0.3525} = \frac{0.195}{0.3525} \approx 0.553

🔑 Important: When working with conditional probabilities, always clearly define your events to avoid confusion. A tree diagram can be a lifesaver for organizing the information.

6.8 Practice problems and concepts

The provided exercises cover various scenarios, including:

  • Selections without replacement: Problems 1, 2, 3, 5, 6, 7, 12, 15, 16 involve picking items from a group where the chosen item is not returned.
  • Conditional probability calculations: Problems 4, 7b, 8b, 9, 10, 11, 13, 14, 16 directly ask for or use conditional probabilities.
  • Combined events: Problems like finding the probability of "both plain" or "both dictionaries or both atlases" require using addition and multiplication laws together.
ConceptFormula/RuleWhen to Use
Conditional Probability$$P(AB) = \frac{P(A \cap B)}{P(B)}$$
Multiplication Law`$P(A \cap B) = P(AB)P(B)‘or‘` or `P(A \cap B) = P(A)P(B)$` (for independent events)
Addition Law$P(A \cup B) = P(A) + P(B)$ (mutually exclusive)To find the probability of one event OR another happening.
Law of Total Probability$$P(A) = \sum P(AB_i)P(B_i)$$
Bayes' Theorem$$P(AB) = \frac{P(B

🔑 Important: Practice applying these rules to different scenarios. Understanding when to use each formula is key to solving probability problems accurately.

7. Permutations and combinations (part 1)

7.1 Introduction to permutations and combinations

  • Combinations: Ways to select objects where the order of selection does not matter.
    • Example: Selecting letters A, B, and C. The combinations of two letters are AB, AC, and BC. Order doesn't matter here.
  • Permutations: Ways to select objects and arrange them in a specific order.
    • Example: Arranging letters A, B, and C. The permutations of two letters are AB, BA, AC, CA, BC, and CB. Order matters.

7.2 The factorial function

  • The factorial function, written as n!n!, is a shorthand for multiplying a sequence of descending positive integers.

  • n!=n×(n−1)×(n−2)×⋯×3×2×1n! = n \times (n-1) \times (n-2) \times \dots \times 3 \times 2 \times 1

  • Calculations:

    • 7!=7×6×5×4×3×2×1=50407! = 7 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1 = 5040
    • 6!4!=6×5×4×3×2×14×3×2×1=6×5=30\frac{6!}{4!} = \frac{6 \times 5 \times 4 \times 3 \times 2 \times 1}{4 \times 3 \times 2 \times 1} = 6 \times 5 = 30
    • 5!−4!=(5×4!)−4!=4!×(5−1)=4!×45! - 4! = (5 \times 4!) - 4! = 4! \times (5-1) = 4! \times 4
  • Special Cases:

    • 0!=10! = 1. This is a convention that helps formulas work.
    • 1!=11! = 1

🔑 Important: You need to be able to calculate factorials and simplify expressions involving them, often using a calculator for larger numbers.

7.3 Permutations of distinct objects

  • The number of ways to arrange nn distinct objects in a line is n!n!.
  • This is often written as Pn,nP_n, n or just n!n! when nn objects are being arranged.

📝 Example: The number of three-digit numbers that can be made by arranging the digits 5, 6, and 7 is 3!3!.

The possible numbers are: 567, 576, 657, 675, 756, and 765. 3!=3×2×1=63! = 3 \times 2 \times 1 = 6.

  • The formula for the number of permutations of nn distinct objects is: Pn=n×(n−1)×(n−2)×⋯×3×2×1=n!P_n = n \times (n-1) \times (n-2) \times \dots \times 3 \times 2 \times 1 = n!

🔑 Important: Permutations are about order. If the order matters, you are dealing with permutations.

7.4 Applying permutations and combinations

The provided text mainly focuses on introducing the concepts of permutations and combinations and the factorial function. It sets the stage for solving more complex problems involving selections and arrangements, which will be covered further in Part 2.

The exercises in this section often involve scenarios where you need to determine if order matters to decide whether to use permutations or combinations, and then apply the factorial function or related formulas.

🔑 Important: Understanding the difference between order mattering (permutation) and not mattering (combination) is the key to solving these problems correctly.

7.5 Factorial function and permutations of distinct objects

  • The factorial function, denoted by n!, is the product of all positive integers up to n.
    • For example, 5! = 5 × 4 × 3 × 2 × 1 = 120.
  • We use factorials to find the number of ways to arrange distinct objects.
  • If you have n distinct objects, the number of ways to arrange them in a line is n!.

To find arrangements, multiply the number of choices for each position.

📝 Example: In how many ways can five boys be arranged in a row? Without restrictions, the number of arrangements is 5!5!. 5!=5×4×3×2×1=1205! = 5 \times 4 \times 3 \times 2 \times 1 = 120 ways.

How many ways can nine elephants and four mice be arranged in a line? There are 13 distinct animals in total (9+4=139 + 4 = 13). The number of arrangements is 13!=6,227,020,80013! = 6,227,020,800 ways.

Number of objectsFormulaNumber of arrangements
3 distinct objects3!3!3×2×1=63 \times 2 \times 1 = 6
5 distinct objects5!5!5×4×3×2×1=1205 \times 4 \times 3 \times 2 \times 1 = 120
7 distinct objects7!7!7×6×5×4×3×2×1=50407 \times 6 \times 5 \times 4 \times 3 \times 2 \times 1 = 5040

7.6 Permutations with repetitions

  • When objects are not all distinct (i.e., some are identical), the number of arrangements is reduced.
  • If you have n objects where p are of one type, q of another, etc., the number of distinct arrangements is given by the formula: n!p!q!r!...\frac{n!}{p!q!r!...} where p+q+r+...=np+q+r+... = n.

Find the number of distinct five-letter arrangements using A, A, B, C, D. Here, n=5n=5 (total letters) and p=2p=2 (two identical A's). The number of arrangements is 5!2!=1202=60\frac{5!}{2!} = \frac{120}{2} = 60.

Find the number of distinct arrangements of the letters in "COMMITTEE". There are 9 letters in total (n=9n=9). The letters are: C O M I T E. The number of arrangements is 9!1!1!2!2!2!2!=36288016=22680\frac{9!}{1!1!2!2!2!2!} = \frac{362880}{16} = 22680.

WordTotal letters (n)Repeated letters (counts)FormulaNumber of arrangements
TABLET6T6!2!\frac{6!}{2!}360
MISSISSIPPI11M, I, S 4, P11!4!4!2!\frac{11!}{4!4!2!}34650
HULLABALLOO11H, U, L, A 2, B 1, O 311!3!2!3!\frac{11!}{3!2!3!}277200

7.7 Permutations with restrictions

  • When there are restrictions on the arrangement of objects, you should address the restricted positions first.
  • The number of choices for the restricted positions limits the total number of possible arrangements.

Find the number of ways of arranging six men in a line so that the oldest man is at the far-left side.

  1. The oldest man has only one position (far-left).
  2. The remaining 5 men can be arranged in the other 5 positions in 5!5! ways. Total arrangements: 1×5!=1×120=1201 \times 5! = 1 \times 120 = 120 ways.

Find the number of ways of arranging six men in a line so that the two youngest men are at the far-right side.

  1. The two youngest men can be arranged in the two far-right positions in 2!2! ways.
  2. The remaining 4 men can be arranged in the other 4 positions in 4!4! ways. Total arrangements: 4!×2!=24×2=484! \times 2! = 24 \times 2 = 48 ways.
RestrictionCalculationNumber of arrangements
Six men, oldest at far-left1×5!1 \times 5!120
Six men, two youngest at far-right4!×2!4! \times 2!48
Six men, shortest man not at either endTotal arrangements - (shortest at left + shortest at right) = 6!−(1×5!+1×5!)=720−(120+120)=4806! - (1 \times 5! + 1 \times 5!) = 720 - (120 + 120) = 480480

🔑 Important: When dealing with restrictions, always determine the number of choices for the limited spots first, then arrange the remaining items.

8. Probability basics and calculations (part 3)

8.1 Conditional probability and independence

Conditional probability tells us the chance of an event happening given that another event has already occurred. We write this as P(A∣B)P(A|B), meaning the probability of A given B.

The formula is P(A∣B)=P(A∩B)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}, where P(A∩B)P(A \cap B) is the probability of both A and B happening. [130-133

🔑 Important: Remember that P(B)P(B) cannot be zero when calculating P(A∣B)P(A|B).

Independent events are events where the outcome of one does not affect the outcome of the other. If A and B are independent, then P(A∣B)=P(A)P(A|B) = P(A) and P(B∣A)=P(B)P(B|A) = P(B).

A key rule for independent events is P(A∩B)=P(A)×P(B)P(A \cap B) = P(A) \times P(B).

8.1.1 Addition and multiplication laws

The addition law helps us find the probability of A or B (or both) happening.

  • For any two events A and B: P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B). [130-133
  • If A and B are mutually exclusive (they cannot happen at the same time), then P(A∩B)=0P(A \cap B) = 0, so P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B).

📝 Example: A student uses route A or B to get to college. The probability of using route A is 0.3. If using route B means they are twice as likely to be passed by a bus, this shows a connection between route choice and being passed.

The multiplication law is used for the probability of both A and B happening (P(A∩B)P(A \cap B)).

  • For any two events A and B: P(A∩B)=P(A)×P(B∣A)P(A \cap B) = P(A) \times P(B|A) or P(A∩B)=P(B)×P(A∣B)P(A \cap B) = P(B) \times P(A|B). [130-133
  • If A and B are independent, then P(A∩B)=P(A)×P(B)P(A \cap B) = P(A) \times P(B).

8.1.2 Applying probability laws

Let's look at how these rules are used in practice.

ScenarioLaw UsedFormula/Calculation
Finding probability of A or BAddition LawP(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)
Finding probability of A or B (mutually exclusive)Addition Law (simplified)P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B)
Finding probability of A and B (independent)Multiplication Law (simplified)P(A∩B)=P(A)×P(B)P(A \cap B) = P(A) \times P(B)
Finding probability of A and B (dependent)Multiplication Law$P(A \cap B) = P(A) \times P(B
Finding probability of A given BConditional Probability$P(A

📝 Example: If 45% of adults watch the news and 60% are female, and these events are independent, the probability that a randomly selected adult is a female who watches the news is 0.45×0.60=0.270.45 \times 0.60 = 0.27.

8.1.3 Worked examples

Here are some scenarios showing how to apply probability concepts.

📝 Example: A quality-control officer finds 333 defective components out of 1214. The manager expects about 5% of the next month's production to be defective. If 7150 components are produced, the expected number of defects is 7150×0.05=357.57150 \times 0.05 = 357.5. Since we can't have half a component, we'd expect around 358 defects.

📝 Example: Three referees are needed from 12 candidates (3 from Bosnia, 4 from Chad, 5 from Denmark). The probability that at least two are from the same country can be found by calculating the complement: the probability that all three are from different countries, and subtracting this from 1.

📝 Example: A company has employees categorized by qualification (qualified/unqualified) and employment type (part-time/full-time). If two employees are chosen randomly, we can find the probability of specific combinations, like one qualified male and one unqualified female.

📝 Example: When certain devices are switched on, they produce 1, 2, or 3 volts with probabilities 0.3, 0.6, and 0.1, respectively. If three devices are used, we can find the probability that their outputs sum to 5 or 6 volts by considering all combinations that add up to these totals.

🔑 Important: When dealing with "at least" scenarios, it's often easier to calculate the probability of the opposite event and subtract it from 1. This is called using the complement. [130-133

8.1.4 Independent and mutually exclusive events

Mutually exclusive events cannot occur at the same time. For example, a single dice roll cannot be both a 2 and a 5.

Independent events do not influence each other. For example, flipping a coin twice; the result of the first flip doesn't change the probability of heads or tails on the second flip.

Event TypeConditionProbability Rule
Mutually ExclusiveP(A∩B)=0P(A \cap B) = 0P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B)
Independent$P(AB) = P(A)andandP(B
General EventsN/AP(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)
General EventsN/A$P(A \cap B) = P(A) \times P(B

📝 Example: If event A is rolling a sum of 2, 3, or 4 on two dice, and event B is rolling a difference of 2, 3, or 4, these events are not mutually exclusive because rolling a 1 and a 3 results in a sum of 4 (event A) and a difference of 2 (event B).

🔑 Important: Just because two events are not mutually exclusive does not mean they are independent.

8.1.5 Calculations involving multiple events

Probability calculations can become more complex with multiple events, often requiring tree diagrams or Venn diagrams.

  • Tree diagrams: These are useful for visualizing sequential events and calculating conditional probabilities. Each branch represents an outcome, and probabilities are multiplied along branches for joint probabilities.
  • Venn diagrams: These visually represent sets of events and their overlaps, helping to calculate union and intersection probabilities, especially for non-mutually exclusive events 130.

📝 Example: Maria has toast with probability 0.85 and jam with probability 0.8 if she has toast. If she has a bread roll (probability 1−0.85=0.151 - 0.85 = 0.15), jam probability is 0.4. A tree diagram helps find the probability she had toast given she had jam: P(Toast∣Jam)=P(Toast∩Jam)P(Jam)P(\text{Toast}|\text{Jam}) = \frac{P(\text{Toast} \cap \text{Jam})}{P(\text{Jam})}.

📝 Example: Two dice are rolled. If the first die is less than 3, the score is the mean. Otherwise, it's half the absolute difference. We can find the probability of various scores using these rules 131.

🔑 Important: For problems involving "exactly one" or "at least two," consider breaking down the possibilities or using complementary probabilities. [130-133

8.1.6 Further practice problems

This section covers various scenarios to solidify understanding.

  • Independent events A and B: Given probabilities like P(A)=0.45P(A)=0.45 and P(B)=0.64P(B)=0.64, you might be asked to find P(A∪B′)P(A \cup B') or P(A′∩B′)P(A' \cap B').
  • Country statistics: Analyzing GDP and birth rates for countries involves finding conditional probabilities like P(Low Birth Rate∣Not Medium GDP)P(\text{Low Birth Rate} | \text{Not Medium GDP}) or determining if events like 'high GDP' and 'high birth rate' are mutually exclusive.
  • Balls in boxes: Problems involving selecting balls from different boxes require applying conditional probability, especially when the selection process has multiple stages or conditions 132.
  • Hotel bookings: Analyzing bookings for meals (breakfast, lunch, supper) uses Venn diagrams and conditional probability to find probabilities like "breakfast or supper" given no all-three meals booked.
  • Birth month probability: The classic problem of finding the probability that at least two out of three strangers share a birth month 133.

🔑 Important: Always identify whether events are independent, mutually exclusive, or neither, as this determines which probability rules to apply. [130-133

9. Permutations and combinations (part 2)

9.1 Permutations with restrictions

Permutations with restrictions involve arranging items where certain conditions must be met. These conditions often limit the choices for specific positions.

  • Objects that must not be separated: Treat the group of objects that must stay together as a single unit. Arrange this unit with the other objects, then arrange the objects within the unit.
  • Objects that must be separated: First, arrange the objects that can be separated. Then, place the objects that must be separated into the spaces created between or at the ends of the already arranged objects 145.

Worked examples: Restrictions

  • Example: How many odd four-digit numbers greater than 3000 can be made from the digits 1, 2, 3, and 4, used once each?

    • The thousands digit can only be 3 or 4.
    • The units digit can only be 1 or 3.
    • If the number starts with 3, the units digit must be 1 (1 choice). The remaining two digits can be arranged in 2!2! ways. This gives 1×2!×1×1=21 \times 2! \times 1 \times 1 = 2 numbers.
    • If the number starts with 4, the units digit can be 1 or 3 (2 choices). The remaining two digits can be arranged in 2!2! ways. This gives 1×2!×2×1=41 \times 2! \times 2 \times 1 = 4 numbers.
    • Total odd numbers: 2+4=62 + 4 = 6.
  • Example: How many ways can two mangoes (M1, M2) and three watermelons (W1, W2, W3) be placed in a line if the mangoes must not be separated?

    • Treat the two mangoes as a single object. Now you have 4 objects to arrange (the mango pair and three watermelons). This can be done in 4!4! ways.
    • The two mangoes can be arranged within their pair in 2!2! ways.
    • Total arrangements: 4!×2!=24×2=484! \times 2! = 24 \times 2 = 48.

9.2 Permutations of r from n objects

This section deals with selecting and arranging a subset of objects from a larger set. The formula for this is P(n,r)P(n, r), which represents the number of permutations of rr objects chosen from nn distinct objects.

  • Formula: The number of permutations of rr objects from nn distinct objects is given by: P(n,r)=n!(n−r)!P(n, r) = \frac{n!}{(n-r)!}.

  • Calculation: This is equivalent to selecting rr objects and arranging them in rr positions. The number of choices for each position decreases with each selection: n×(n−1)×(n−2)×⋯×(n−r+1)n \times (n-1) \times (n-2) \times \dots \times (n-r+1).

Worked examples: Permutations of r from n

  • Example: How many three-digit numbers can be made from the seven digits 3, 4, 5, 6, 7, 8, and 9, if each digit is used at most once?

    • Here, n=7n=7 (total distinct digits) and r=3r=3 (number of digits to be selected and arranged).
    • Number of ways = P(7,3)=7!(7−3)!=7!4!=7×6×5=210P(7, 3) = \frac{7!}{(7-3)!} = \frac{7!}{4!} = 7 \times 6 \times 5 = 210.
  • Example: In how many ways can five playing cards from a standard deck of 52 cards be arranged in a row?

    • Here, n=52n=52 (total cards) and r=5r=5 (cards to be selected and arranged).
    • Number of ways = P(52,5)=52!(52−5)!=52!47!=52×51×50×49×48=311,875,200P(52, 5) = \frac{52!}{(52-5)!} = \frac{52!}{47!} = 52 \times 51 \times 50 \times 49 \times 48 = 311,875,200 144.

Key takeaways for permutations:

  • Order matters: Permutations are used when the order of selection or arrangement is important.
  • Distinct objects: The formulas typically apply when the objects are distinct. Special methods are needed for repeated objects.
  • Restrictions: When dealing with restrictions (like specific digits at ends, or items together/apart), break the problem down based on those conditions.

Permutations: Order matters. Use when arranging or assigning specific roles.

9.3 Combinations

Combinations are about selecting a group of items where the order of selection does not matter. It's about the composition of the group, not the sequence in which they were chosen.

  • Definition: A combination is a selection of items where the order is not important. For example, selecting ice cream and strawberries is the same combination as selecting strawberries and ice cream.
  • Formula: The number of combinations of rr objects from nn distinct objects is denoted by C(n,r)C(n, r) or (nr)\binom{n}{r} and is calculated as: C(n,r)=n!r!(n−r)!C(n, r) = \frac{n!}{r!(n-r)!}.
  • Relationship to Permutations: A combination of rr objects followed by arranging them in order is equivalent to a permutation. Thus, P(n,r)=C(n,r)×r!P(n, r) = C(n, r) \times r!.
  • Symmetry: The number of ways to choose rr objects from nn is the same as the number of ways to choose the n−rn-r objects not to include: C(n,r)=C(n,n−r)C(n, r) = C(n, n-r).

Worked examples: Combinations

  • Example: In how many ways can three fish be selected from a bowl containing seven fish and two potatoes?

    • The potatoes are irrelevant. We need to select 3 fish from 7.
    • Number of ways = C(7,3)=7!3!(7−3)!=7!3!4!=7×6×53×2×1=35C(7, 3) = \frac{7!}{3!(7-3)!} = \frac{7!}{3!4!} = \frac{7 \times 6 \times 5}{3 \times 2 \times 1} = 35.
  • Example: In how many ways can five books and three magazines be selected from eight books and six magazines?

    • Select 5 books from 8: C(8,5)=8!5!3!=56C(8, 5) = \frac{8!}{5!3!} = 56.
    • Select 3 magazines from 6: C(6,3)=6!3!3!=20C(6, 3) = \frac{6!}{3!3!} = 20.
    • Since these selections are independent, multiply the number of ways: 56×20=112056 \times 20 = 1120 147.

Key takeaways for combinations:

  • Order does not matter: Combinations are used when the group itself is important, not the order of selection.
  • Selection: Use combinations for forming committees, selecting items for a team, or drawing cards.
  • Independence: If multiple independent selections are made, multiply the number of combinations for each selection.

Combinations: Order doesn't matter. Use for selection tasks like forming groups.

9.4 Problem-solving strategies

When solving permutation and combination problems, it's crucial to first identify whether the order matters (permutation) or not (combination).

Identifying the correct method

FeaturePermutationCombination
Order matters?Yes (e.g., arranging in a line, assigning roles)No (e.g., selecting a group, forming a committee)
KeywordsArrange, order, sequence, assign, line, rankChoose, select, pick, group, team, committee

Handling complex scenarios

  • Multiple restrictions: Break down problems with several conditions (e.g., "odd," "greater than," "must not be separated") into smaller, manageable steps. Calculate possibilities for each restriction and then combine them 142.
  • Repeated items: When dealing with arrangements of items where some are identical (e.g., letters in a word), the formula is modified. The number of distinct permutations of nn objects where there are p1p_1 identical objects of type 1, p2p_2 of type 2,..., pkp_k of type kk is n!p1!p2!…pk!\frac{n!}{p_1! p_2! \dots p_k!}.
  • "At least" or "at most" scenarios: For problems involving "at least" or "at most," it's often easier to calculate the total possibilities and subtract the unwanted cases, or to sum up all the valid cases 148.
  • Probability: The probability of an event can be found by dividing the number of favourable outcomes (calculated using permutations or combinations) by the total number of possible outcomes 150.

Strategy: Read carefully. Identify if order matters. Break down complex problems into smaller parts.

🔑 Important: Always check if the items are distinct. If not, use the formula for permutations with repetitions.

Worked example: Probability with combinations

  • Example: A girl has a bag with 13 red cherries and 7 black cherries. She takes 5 cherries at random. What is the probability she takes more red cherries than black cherries?
    • Total cherries: 13+7=2013 + 7 = 20.
    • Total ways to select 5 cherries: C(20,5)=15,504C(20, 5) = 15,504.
    • Favourable outcomes (more red than black):
      • 5 red, 0 black: C(13,5)×C(7,0)=1287×1=1287C(13, 5) \times C(7, 0) = 1287 \times 1 = 1287.
      • 4 red, 1 black: C(13,4)×C(7,1)=715×7=5005C(13, 4) \times C(7, 1) = 715 \times 7 = 5005.
      • 3 red, 2 black: C(13,3)×C(7,2)=286×21=6006C(13, 3) \times C(7, 2) = 286 \times 21 = 6006.
    • Total favourable ways: 1287+5005+6006=12,2981287 + 5005 + 6006 = 12,298.
    • Probability = 1229815504≈0.793\frac{12298}{15504} \approx 0.793 151.

🔑 Important: The key to solving these problems is to correctly identify whether you need to calculate permutations or combinations, and then to systematically apply the appropriate formulas while considering any given restrictions.

9.5 Advanced counting problems

This section covers more complex problems involving permutations and combinations, often with restrictions. These problems require careful consideration of how to break them down into smaller, manageable steps.

  • Arrangements with restrictions: Problems can involve specific positions for certain items, or conditions like "no two items together."
  • Identical items: When items are identical, the number of distinct arrangements is reduced. You divide by the factorial of the number of identical items. For example, arranging "AAB" is 3!/2!=33!/2! = 3 ways (AAB, ABA, BAA).
  • Conditions on selections: Combinations can have conditions like "at least" or "exactly." For "at least," it's often easier to calculate the total possibilities and subtract the unwanted cases.

For problems with identical items, divide by the factorial of the count of each set of identical items.

9.6 Problems with conditions

Many problems involve specific requirements that limit the number of possible arrangements or selections.

  • First and last items: If the first and last items must be of the same type, calculate the possibilities for that type and then arrange the remaining items.
  • Items grouped together: Treat a group of items that must stay together as a single unit. Remember to account for the arrangements within that group.
  • Items not together: To find arrangements where items are not together, calculate the total arrangements and subtract the arrangements where they are together.

When dealing with "at least" conditions in selections, consider calculating the complement (total minus the unwanted).

9.7 Selections with minimum requirements

When selecting items with a minimum requirement for certain types, consider different approaches.

  • Minimum of each type: If you need at least a certain number of each type, you can either directly calculate the valid combinations or find the total and subtract invalid ones.

Example: Selecting flowers Tom orders 7 flowers with at least 2 of each type (roses, tulips, daffodils). The shop has limited stock.

  • First, satisfy the minimum requirement: 2 roses, 2 tulips, 2 daffodils (6 flowers total).
  • Then, choose the remaining 1 flower from any type, respecting stock limits.

9.8 Arrangements of letters and numbers

These problems often involve repetitions and specific constraints.

  • Distinct digits vs. repeated digits: If digits can be repeated, the number of choices for each position is independent. If digits must be distinct, the number of choices decreases with each position filled.
  • Conditions on numbers: Restrictions like "even," "odd," or "greater than a certain value" require careful placement of digits. For even numbers, focus on the last digit. For numbers greater than a value, focus on the first digit.

When forming numbers, always consider the constraints on the first digit (e.g., cannot be zero).

Decision Table: Forming numbers with restrictions

StepQuestionAction/Answer
1What is the total number of digits?Note the count of available digits.
2Are there restrictions on specific digits?e.g., first digit cannot be zero.
3What is the condition for the number?e.g., even, odd, greater than X.
4Place restricted digits first.e.g., place the last digit for even numbers, then the first digit for value.
5Arrange remaining digits.Use permutations for remaining digits, accounting for repetitions.

9.9 Selections from groups

When selecting items from different groups, the type of selection and any conditions matter.

  • No restrictions: Simply choose the total number of items from the total available.
  • Specific items included: If certain items must be included, select those first and then choose the remaining items from the rest.
  • At least one from each group: This is a common condition. You can calculate it directly or use the complementary approach (total combinations minus combinations with zero from one or more groups).

Example: Choosing songs A presenter has 13 songs from four groups and needs to choose five.

  • No restrictions: (135)\binom{13}{5} ways.
  • All three songs by The Chisels: Choose the 3 Chisels songs, then choose 5−3=25-3=2 more songs from the remaining 13−3=1013-3=10 songs: (33)×(102)\binom{3}{3} \times \binom{10}{2}.
  • At least one song by each group: This requires breaking down cases or using a more complex formula.

For "at least one from each group," consider combinations where you select one from each group, then distribute the remaining selections.

9.10 Multiple-choice scenarios

Some problems involve multiple stages of selection or arrangement, often with conditional probabilities.

  • Order of selection matters: If the order in which items are selected influences outcomes (like roles in a play), consider permutations.
  • Conditional probability: When an event's probability depends on a previous event, use conditional probability formulas.

Example: Roles in a play 6 pupils selected from 11 girls and 13 boys for 6 roles.

  • If the first pupil selected plays the fool, the probability of it being a particular girl is 1/241/24 (1 specific girl out of 24 total pupils).
  • If it's a boy, the probability is 13/2413/24 (13 boys out of 24 total pupils).

The order of selection can affect probabilities, especially if certain roles are assigned based on selection order.

🔑 Important: For complex problems, draw a diagram or list cases systematically to avoid missing possibilities or double-counting. </document_content>

10. Discrete probability distributions

10.1 Discrete random variables and probability distributions

  • A discrete random variable can only take specific values that occur by chance.
  • These variables often come from situations with independent trials or selections made without replacement.

Example: The number of heads when rolling four dice is a discrete random variable. It can be 0, 1, 2, 3, or 4.

  • The probability distribution of a discrete random variable shows all its possible values and their matching probabilities.
  • This is usually shown in a table, but can also be a line graph or bar chart.

A variable is shown with an uppercase letter (like X), and its possible values with the same lowercase letter (like x).

Constructing a probability distribution table

  • A probability distribution table lists each possible value of the random variable and its probability.
  • The sum of all probabilities in a distribution table must always equal 1.

TIP: The probability P(X=x)P(X=x) is the same as the relative frequency of that value occurring.

Worked Example 6.1: Tossing two fair coins.

  • The discrete random variable X is the number of heads, so X∈{0,1,2}X \in \{0, 1, 2\}.
  • P(X=0)P(X=0) (tails and tails) =0.5×0.5=0.25= 0.5 \times 0.5 = 0.25.
  • P(X=1)P(X=1) (heads and tails, or tails and heads) =(0.5×0.5)+(0.5×0.5)=0.5= (0.5 \times 0.5) + (0.5 \times 0.5) = 0.5.
  • P(X=2)P(X=2) (heads and heads) =0.5×0.5=0.25= 0.5 \times 0.5 = 0.25.

Worked Example 6.1 (continued): Spinning a square spinner (1, 2, 3, 4) twice and adding scores.

  • The random variable X is the total score, so X∈{2,3,4,5,6,7,8}X \in \{2, 3, 4, 5, 6, 7, 8\}.
  • There are 16 equally likely outcomes when spinning twice (4 outcomes x 4 outcomes).

Worked Example 6.2: Finding a constant in a probability distribution.

  • Given probabilities like 0.05,2c,0.1+c,2c,0.05,0.160.05, 2c, 0.1+c, 2c, 0.05, 0.16.
  • To find cc, add all probabilities and set the sum equal to 1: 0.05+2c+0.1+c+2c+0.05+0.16=10.05 + 2c + 0.1 + c + 2c + 0.05 + 0.16 = 1.
  • This simplifies to 4c+0.36=14c + 0.36 = 1, so 4c=0.644c = 0.64, which means c=0.16c = 0.16.
  • Then, P(V>4)=P(V=5)+P(V=6)P(V > 4) = P(V=5) + P(V=6). Using the value of cc, P(V=5)=2(0.16)=0.32P(V=5) = 2(0.16) = 0.32. The probability is 0.32+0.16=0.480.32 + 0.16 = 0.48.

TIP: Always check if your calculated probabilities are valid (between 0 and 1) and if they sum to 1.

Worked Example 6.3: Selecting people for a bus.

  • 8 youths, 1 man, 1 woman (10 people total). 3 people are selected randomly without replacement.
  • Y is the number of youths selected. Possible values for Y are 1, 2, or 3.
  • Total possible selections: (103)=10×9×83×2×1=120\binom{10}{3} = \frac{10 \times 9 \times 8}{3 \times 2 \times 1} = 120.

KEY POINT 6.1: A probability distribution shows all possible values of a variable and their probabilities, which must sum to 1.

10.2 Expectation and variance of discrete random variables

  • The expectation of a discrete random variable (its mean value) is calculated by summing the product of each value and its probability.
  • E(X)=∑(x⋅P(X=x))E(X) = \sum (x \cdot P(X=x)).

Intuition: Expectation is the average value you would expect if you repeated the experiment many, many times.

  • The variance measures how spread out the distribution is.
  • It's calculated as the expectation of the squared difference from the mean: Var(X)=E[(X−E(X))2]Var(X) = E[(X - E(X))^2].
  • A more convenient formula for calculation is Var(X)=E(X2)−[E(X)]2Var(X) = E(X^2) - [E(X)]^2.

TIP: E(X2)E(X^2) is found by summing the product of each value squared and its probability: E(X2)=∑(x2⋅P(X=x))E(X^2) = \sum (x^2 \cdot P(X=x)).

Worked Example 6.4: Calculating expectation and variance.

  • Consider the probability distribution from Worked Example 6.1 (two coin tosses):

  • Expectation (Mean), E(X)E(X): E(X)=(0×0.25)+(1×0.5)+(2×0.25)=0+0.5+0.5=1E(X) = (0 \times 0.25) + (1 \times 0.5) + (2 \times 0.25) = 0 + 0.5 + 0.5 = 1. The expected number of heads is 1.

  • E(X2)E(X^2): E(X2)=(02×0.25)+(12×0.5)+(22×0.25)=(0×0.25)+(1×0.5)+(4×0.25)=0+0.5+1=1.5E(X^2) = (0^2 \times 0.25) + (1^2 \times 0.5) + (2^2 \times 0.25) = (0 \times 0.25) + (1 \times 0.5) + (4 \times 0.25) = 0 + 0.5 + 1 = 1.5.

  • Variance, Var(X)Var(X): Var(X)=E(X2)−[E(X)]2=1.5−2=1.5−1=0.5Var(X) = E(X^2) - [E(X)]^2 = 1.5 - ^2 = 1.5 - 1 = 0.5 1.

TIP: Variance is always non-negative. If you get a negative answer, check your calculations.

Worked Example 6.5: Expectation and variance for a spinner.

  • Spinner with scores 1, 2, 3, 4. P(X=x)=14P(X=x) = \frac{1}{4} for each xx.

  • Expectation, E(X)E(X): E(X)=(1×0.25)+(2×0.25)+(3×0.25)+(4×0.25)=0.25(1+2+3+4)=0.25×10=2.5E(X) = (1 \times 0.25) + (2 \times 0.25) + (3 \times 0.25) + (4 \times 0.25) = 0.25(1+2+3+4) = 0.25 \times 10 = 2.5.

  • E(X2)E(X^2): E(X2)=(12×0.25)+(22×0.25)+(32×0.25)+(42×0.25)=0.25(1+4+9+16)=0.25×30=7.5E(X^2) = (1^2 \times 0.25) + (2^2 \times 0.25) + (3^2 \times 0.25) + (4^2 \times 0.25) = 0.25(1 + 4 + 9 + 16) = 0.25 \times 30 = 7.5.

  • Variance, Var(X)Var(X): Var(X)=E(X2)−[E(X)]2=7.5−(2.5)2=7.5−6.25=1.25Var(X) = E(X^2) - [E(X)]^2 = 7.5 - (2.5)^2 = 7.5 - 6.25 = 1.25.

TIP: For a discrete random variable X, the standard deviation is σX=Var(X)\sigma_X = \sqrt{Var(X)}.

Worked Example 6.6: Using expectation and variance for random selections.

  • Bus problem: 8 youths, 2 non-youths. Select 3 people. YY = number of youths selected.

  • Expectation, E(Y)E(Y): E(Y)=(1×8120)+(2×56120)+(3×56120)E(Y) = (1 \times \frac{8}{120}) + (2 \times \frac{56}{120}) + (3 \times \frac{56}{120}) E(Y)=8+112+168120=288120=2.4E(Y) = \frac{8 + 112 + 168}{120} = \frac{288}{120} = 2.4. The expected number of youths selected is 2.4.

  • E(Y2)E(Y^2): E(Y2)=(12×8120)+(22×56120)+(32×56120)E(Y^2) = (1^2 \times \frac{8}{120}) + (2^2 \times \frac{56}{120}) + (3^2 \times \frac{56}{120}) E(Y2)=8+(4×56)+(9×56)120=8+224+504120=736120=9215≈6.133E(Y^2) = \frac{8 + (4 \times 56) + (9 \times 56)}{120} = \frac{8 + 224 + 504}{120} = \frac{736}{120} = \frac{92}{15} \approx 6.133.

  • Variance, Var(Y)Var(Y): Var(Y)=E(Y2)−[E(Y)]2=736120−(2.4)2=736120−5.76Var(Y) = E(Y^2) - [E(Y)]^2 = \frac{736}{120} - (2.4)^2 = \frac{736}{120} - 5.76 Var(Y)=736−691.2120=44.8120=4.4812=1.123≈0.373Var(Y) = \frac{736 - 691.2}{120} = \frac{44.8}{120} = \frac{4.48}{12} = \frac{1.12}{3} \approx 0.373.

🔑 Important: The expectation E(X)E(X) tells you the average outcome over many trials, while the variance Var(X)Var(X) tells you how spread out those outcomes are likely to be.

🔑 Important: For discrete probability distributions, E(X)=∑xP(x)E(X) = \sum xP(x) and Var(X)=E(X2)−[E(X)]2Var(X) = E(X^2) - [E(X)]^2.

11. Binomial and geometric distributions

11.1 Binomial distribution

  • A binomial distribution models the number of successes in a fixed number of trials.
  • It requires:
    • A fixed number of independent trials, nn.
    • Each trial has only two outcomes: success or failure.
    • The probability of success, pp, is constant for each trial.
  • The random variable XX follows a binomial distribution if denoted as X∼B(n,p)X \sim B(n, p).
  • The probability of getting exactly rr successes in nn trials is given by: P(X=r)=(nr)pr(1−p)n−rP(X=r) = \binom{n}{r} p^r (1-p)^{n-r} Here, (nr)\binom{n}{r} represents the number of ways to choose rr successes from nn trials.

Key Relationship: The probabilities in a binomial distribution are the terms in the binomial expansion of (p+(1−p))n(p + (1-p))^n.

Binomial distribution parameters

  • For a binomial distribution X∼B(n,p)X \sim B(n, p):
    • The expectation (mean) is E(X)=npE(X) = np.
    • The variance is Var(X)=np(1−p)Var(X) = np(1-p).

Key Fact: The variance measures the spread of the distribution around the mean.

Example: If a biased coin has a 60% chance of landing heads (p=0.6p=0.6) and is tossed 10 times (n=10n=10), the number of heads XX follows X∼B(10,0.6)X \sim B(10, 0.6). The probability of getting exactly 3 heads is P(X=3)=(103)(0.6)3(0.4)7P(X=3) = \binom{10}{3} (0.6)^3 (0.4)^7.


Probability calculations for binomial distributions

  • To find the probability of a range of successes, sum the probabilities for each value within that range.
  • For example, P(X>k)P(X > k) is the sum of probabilities for all values greater than kk.
  • P(X<k)P(X < k) is the sum of probabilities for all values less than kk.
  • P(X≥k)P(X \ge k) is 1−P(X<k)1 - P(X < k).
  • P(X≤k)P(X \le k) is 1−P(X>k)1 - P(X > k).

Exam Tip: Use the cumulative distribution function (CDF) on a calculator for efficiency when calculating probabilities for ranges of values.

Working with unknown parameters

  • If nn is given but pp is unknown, you can use a probability value to solve for pp.
  • If pp is given but nn is unknown, you might need to use logarithms to solve for nn, remembering nn must be an integer.

Important: When solving for nn using logarithms, always round up to the nearest integer to find the least possible value of nn.

11.2 Geometric distribution

  • A geometric distribution models the number of trials needed to achieve the first success.
    • Repeated independent trials.
    • The number of trials can theoretically be infinite until the first success occurs.
  • The random variable YY follows a geometric distribution if denoted as Y∼Geo(p)Y \sim Geo(p).
  • The probability of the first success occurring on the kk-th trial is: P(Y=k)=(1−p)k−1pP(Y=k) = (1-p)^{k-1} p This means there are k−1k-1 failures followed by one success.

Intuition: The probability of success decreases as the number of trials (kk) increases because there are more potential failures before the first success.

Expectation of a geometric distribution

  • The expectation (mean) of a geometric distribution is: E(Y)=1pE(Y) = \frac{1}{p}

Key Fact: The expected number of trials to achieve the first success is the reciprocal of the probability of success.

Example: If the probability of a basketball player making a free throw is 0.7 (p=0.7p=0.7), the expected number of shots until they make their first successful free throw is E(Y)=10.7≈1.43E(Y) = \frac{1}{0.7} \approx 1.43 shots.

🔑 Important: The binomial distribution is for a fixed number of trials (nn), counting successes. The geometric distribution is for an unlimited number of trials, counting trials until the first success.

11.3 The binomial distribution

The binomial distribution models situations with a fixed number of independent trials, where each trial has only two possible outcomes.

ConditionDescription
Fixed number of trialsThe total number of attempts is set beforehand.
Independent trialsThe outcome of one trial does not affect others.
Two outcomesEach trial results in either "success" or "failure".
Constant probabilityThe probability of success is the same for every trial.

This distribution is often written as X∼B(n,p)X \sim B(n, p).

  • nn: the total number of trials.
  • pp: the probability of success in a single trial.
  • XX: the random variable representing the number of successes.

The probability of getting exactly kk successes in nn trials is calculated using the formula: P(X=k)=(nk)pk(1−p)n−kP(X=k) = \binom{n}{k} p^k (1-p)^{n-k} where (nk)=n!k!(n−k)!\binom{n}{k} = \frac{n!}{k!(n-k)!} is the binomial coefficient.

📝 Example: A fair coin is tossed 5 times. What is the probability of getting exactly 3 heads? Here, n=5n=5 (number of tosses) and p=0.5p=0.5 (probability of heads). We want P(X=3)P(X=3). P(X=3)=(53)(0.5)3(1−0.5)5−3=10×(0.5)3×(0.5)2=10×0.125×0.25=0.3125P(X=3) = \binom{5}{3} (0.5)^3 (1-0.5)^{5-3} = 10 \times (0.5)^3 \times (0.5)^2 = 10 \times 0.125 \times 0.25 = 0.3125.

11.4 Expectation and variance of the binomial distribution

For a binomial distribution X∼B(n,p)X \sim B(n, p):

  • The expectation (mean) is given by: E(X)=npE(X) = np This represents the long-term average number of successes.
  • The variance is given by: Var(X)=np(1−p)Var(X) = np(1-p) This measures how spread out the distribution is.
  • The standard deviation is the square root of the variance: SD(X)=np(1−p)SD(X) = \sqrt{np(1-p)}

🔑 Important: These formulas for mean and variance are very convenient and should be memorized.

ParameterFormula
Expectation (E(X)E(X) or μ\mu)npnp
Variance (Var(X)Var(X) or σ2\sigma^2)np(1−p)np(1-p)
Standard Deviation (SD(X)SD(X) or σ\sigma)np(1−p)\sqrt{np(1-p)}

📝 Example: If X∼B(10,0.4)X \sim B(10, 0.4), find the mean, variance, and standard deviation. E(X)=10×0.4=4E(X) = 10 \times 0.4 = 4. Var(X)=10×0.4×(1−0.4)=10×0.4×0.6=2.4Var(X) = 10 \times 0.4 \times (1-0.4) = 10 \times 0.4 \times 0.6 = 2.4. SD(X)=2.4≈1.55SD(X) = \sqrt{2.4} \approx 1.55.

11.5 The geometric distribution

The geometric distribution models the number of trials needed to achieve the first success in a series of independent trials.

| Constant probability | The probability of success (pp) is the same for every trial. | | Focus on first success | We are interested in when the very first success occurs. |

This distribution is often written as Y∼Geo(p)Y \sim Geo(p).

  • YY: the random variable representing the number of trials until the first success.

The probability of the first success occurring on the kk-th trial is calculated as: P(Y=k)=(1−p)k−1pP(Y=k) = (1-p)^{k-1} p This means there are k−1k-1 failures followed by one success.

🔑 Important: The geometric distribution counts the number of trials, including the first success.

📝 Example: A coin is tossed repeatedly until a head appears. What is the probability that the first head appears on the 4th toss? Here, p=0.5p=0.5 (probability of heads). We want P(Y=4)P(Y=4). P(Y=4)=(1−0.5)4−1×0.5=(0.5)3×0.5=0.125×0.5=0.0625P(Y=4) = (1-0.5)^{4-1} \times 0.5 = (0.5)^3 \times 0.5 = 0.125 \times 0.5 = 0.0625.

11.6 Expectation and variance of the geometric distribution

For a geometric distribution Y∼Geo(p)Y \sim Geo(p):

  • The expectation (mean) is: E(Y)=1pE(Y) = \frac{1}{p} This tells you, on average, how many trials you'll need for the first success.
  • The variance is: Var(Y)=1−pp2Var(Y) = \frac{1-p}{p^2}

🔑 Important: The formulas for the geometric distribution are simpler than the binomial ones.

ParameterFormula
Expectation (E(Y)E(Y))1p\frac{1}{p}
Variance (Var(Y)Var(Y))1−pp2\frac{1-p}{p^2}

📝 Example: If the probability of success on each trial is p=0.2p=0.2, find the mean and variance of the number of trials until the first success. E(Y)=10.2=5E(Y) = \frac{1}{0.2} = 5. Var(Y)=1−0.2(0.2)2=0.80.04=20Var(Y) = \frac{1-0.2}{(0.2)^2} = \frac{0.8}{0.04} = 20.

🔑 Important: The binomial distribution is used when you have a fixed number of trials and count successes. The geometric distribution is used when you have an unlimited number of trials and count how many trials it takes to get the first success.

12. Continuous random variables and the normal distribution

12.1 Continuous random variables

  • A continuous random variable can take any value within a given range. Its values are not limited to specific points.
  • Examples include measurements like height, time, or temperature.
  • The probability of a continuous random variable taking any exact single value is zero. This is because there are infinitely many possible values within any interval.
  • Instead, we calculate probabilities for intervals of values, like the chance of a height being between 1.70m and 1.80m.

Probability density function (PDF)

  • The probability distribution for a continuous random variable is described by a probability density function (PDF), often written as f(x)f(x).
  • The total area under the PDF curve for all possible values is always equal to 1. This represents 100% probability.
  • The area under the PDF curve between two specific values represents the probability that the variable falls within that interval.

The total area under the PDF curve is always 1.

Shapes of distributions

  • Distributions can have different shapes:
    • Symmetric: The left and right sides of the graph are mirror images. The mean, median, and mode are all the same.
    • Positively skewed: Has a longer tail on the right. The mean is usually greater than the median.
    • Negatively skewed: Has a longer tail on the left. The mean is usually less than the median.

12.2 The normal distribution

  • The normal distribution is a very common and important type of symmetric distribution.
  • It is often called a bell curve because of its characteristic shape.
  • It is used to model many natural phenomena, like measurement errors or the heights of people.

Normal distribution: Symmetric, bell-shaped, mean = median = mode.

Properties of the normal curve

  • Symmetry: The curve is perfectly symmetrical about its mean (μ\mu).
  • Mean, Median, Mode: These three measures of central tendency are all equal and located at the peak of the curve.
  • Peak at the Mean: The highest point of the curve is directly above the mean.
  • Tails: The curve gets closer and closer to the horizontal axis as you move away from the mean in either direction. It never actually touches the axis.
  • Standard Deviation (σ\sigma): This determines the spread of the curve.
    • A smaller σ\sigma results in a taller, narrower curve.
    • A larger σ\sigma results in a shorter, wider curve.
    • The total area under the curve always remains 1, regardless of σ\sigma.
FeatureDescription
ShapeBell-shaped and symmetric
Central TendencyMean (μ\mu), median, and mode are equal and at the peak
Peak LocationDirectly above the mean (μ\mu)
SpreadDetermined by the standard deviation (σ\sigma); larger σ\sigma means wider spread
Total AreaAlways equals 1

The normal curve's shape depends on its mean (μ\mu) and standard deviation (σ\sigma).

12.3 Standardizing using the Z-score

  • To compare values from different normal distributions or to use standard tables, we convert a value (xx) to a Z-score.
  • The Z-score tells you how many standard deviations a value is away from the mean.
  • A positive Z-score means the value is above the mean; a negative Z-score means it's below the mean.

The Z-score formula standardizes a value from any normal distribution to a standard normal distribution.

  • The formula for calculating a Z-score is: Z=x−μσZ = \frac{x - \mu}{\sigma} Where:
    • xx is the specific value.
    • μ\mu is the mean of the distribution.
    • σ\sigma is the standard deviation of the distribution.

12.4 Calculating probabilities with the normal distribution

  • Normal distribution tables (Z-tables) provide probabilities for the standard normal distribution (mean 0, standard deviation 1).
  • To find probabilities for any normal distribution, you first convert the values to Z-scores.
  • You then use the Z-table to find the probability associated with those Z-scores.

Convert to Z-scores first, then use the Z-table for probabilities.

  • Key principle: The area under the normal curve represents probability.

🔑 Important: Z-tables typically give the probability P(Z<z)P(Z < z), the area to the left of a given Z-score. You might need to use symmetry or subtraction to find other probabilities (P(Z>z)P(Z > z), P(a<Z<b)P(a < Z < b)).

📝 Example: To find the probability that a value is greater than zz, calculate 1−P(Z<z)1 - P(Z < z). To find the probability between two Z-scores z1z_1 and z2z_2 (where z1<z2z_1 < z_2), calculate P(Z<z2)−P(Z<z1)P(Z < z_2) - P(Z < z_1).

🔑 Important: When approximating a binomial distribution with a normal distribution, a continuity correction is needed because you are moving from a discrete to a continuous variable. For example, P(X=k)P(X=k) becomes P(k−0.5<X<k+0.5)P(k-0.5 < X < k+0.5).

🔑 Important: The normal distribution is a powerful tool for modeling continuous data and understanding variability in many real-world situations.

12.5 Understanding continuous probability distributions

  • A continuous random variable can take any value within a given range.
  • Its probability distribution is shown by a probability density function (PDF), represented by a smooth curve.
  • The total area under the PDF curve equals 1.
  • The probability of a variable falling within a range is the area under the curve between those values.
  • For continuous variables, the probability of a single specific value is 0.

📝 Example: The probability of a randomly selected pineapple weighing exactly 3.500 kg is 0, but the probability of it weighing between 3.0 kg and 4.0 kg can be calculated as an area under the curve.

12.6 The normal distribution

  • The normal distribution is a common and important type of continuous probability distribution.
  • It's defined by two parameters: the mean (μ\mu) and the variance (σ2\sigma^2).
  • We write a normally distributed random variable XX as X∼N(μ,σ2)X \sim N(\mu, \sigma^2).
  • The PDF equation for a normal distribution is: f(x)=1σ2πexp⁡(−(x−μ)22σ2)f(x) = \frac{1}{\sigma\sqrt{2\pi}} \exp\left(-\frac{(x-\mu)^2}{2\sigma^2}\right)
  • The exp{} part means ee (approximately 2.71828) raised to the power in the brackets.

Properties of the normal distribution

  • The curve is symmetrical about the mean μ\mu.
  • The mean, median, and mode are all equal.
  • Half the data falls below the mean, and half falls above it (P(X≤μ)=P(X≥μ)=0.5P(X \le \mu) = P(X \ge \mu) = 0.5).
  • The total area under the curve is 1.
PropertyProbability Notation
Values within 1 standard deviation of the meanP(μ−σ≤X≤μ+σ)≈0.6826P(\mu - \sigma \le X \le \mu + \sigma) \approx 0.6826
Values within 2 standard deviations of the meanP(μ−2σ≤X≤μ+2σ)≈0.9544P(\mu - 2\sigma \le X \le \mu + 2\sigma) \approx 0.9544
Values within 3 standard deviations of the meanP(μ−3σ≤X≤μ+3σ)≈0.9972P(\mu - 3\sigma \le X \le \mu + 3\sigma) \approx 0.9972

🔑 Important: These percentage ranges (68%, 95%, 99.7%) are a quick way to estimate probabilities for normal distributions.

12.7 The standard normal distribution (Z-score)

  • Any normal distribution can be converted to a standard normal distribution, denoted by ZZ.
  • This standard normal distribution has a mean of 0 and a variance of 1 (Z∼N(0,1)Z \sim N(0, 1)).
  • The PDF for the standard normal distribution is ϕ(z)=12πexp⁡(−z22)\phi(z) = \frac{1}{\sqrt{2\pi}} \exp\left(-\frac{z^2}{2}\right).
  • The Z-score tells you how many standard deviations a value is away from the mean.

📝 Example: If a student's test score is 1.5 standard deviations above the mean, their Z-score is 1.5.

Standardizing a variable

  • To convert a value xx from any normal distribution X∼N(μ,σ2)X \sim N(\mu, \sigma^2) to a Z-score, use the formula: Z=X−μσZ = \frac{X - \mu}{\sigma}
  • This process is called standardizing. It allows us to use a single table (the Z-table) to find probabilities for all normal distributions.

🔑 Important: Probabilities calculated for XX are equal to probabilities calculated for the corresponding ZZ values. For instance, P(X≤18)P(X \le 18) for X∼N(11,25)X \sim N(11, 25) is the same as P(Z≤1.4)P(Z \le 1.4) for Z∼N(0,1)Z \sim N(0, 1).

12.8 Using Z-tables to find probabilities

  • Z-tables (also called standard normal distribution function tables) list the cumulative probability P(Z≤z)P(Z \le z) for various Z-scores.
  • The table usually gives probabilities for z≥0z \ge 0. You can find probabilities for negative zz values using the symmetry of the normal curve.
  • P(Z≤−z)=P(Z≥z)=1−P(Z≤z)P(Z \le -z) = P(Z \ge z) = 1 - P(Z \le z).

Finding probabilities for ZZ

  • For P(Z≤z)P(Z \le z) (where zz is positive): Look up the value directly in the Z-table.
  • For P(Z≥z)P(Z \ge z) (where zz is positive): Calculate 1−P(Z≤z)1 - P(Z \le z).
  • For P(Z≤z)P(Z \le z) (where zz is negative): Use P(Z≤−z)P(Z \le -z) where −z-z is positive.
  • For P(Z≥z)P(Z \ge z) (where zz is negative): Use P(Z≤−z)P(Z \le -z) where −z-z is positive.
  • For P(a≤Z≤b)P(a \le Z \le b): Calculate P(Z≤b)−P(Z≤a)P(Z \le b) - P(Z \le a).

🔑 Important: Always sketch a diagram of the normal curve and shade the area you're looking for. This helps visualize the probability and use the Z-table correctly.

Finding Z-scores from probabilities

  • You can also use Z-tables in reverse to find a Z-score given a probability.
  • Look for the probability value in the body of the table and identify the corresponding zz value.
  • Use the "ADD" column in the table to find the fourth decimal place of the Z-score if needed.

🔑 Important: If the probability is greater than 0.5, the Z-score is positive. If it's less than 0.5, the Z-score is negative.

12.9 Calculations with any normal distribution

  • To find probabilities for a normal variable X∼N(μ,σ2)X \sim N(\mu, \sigma^2):
    1. Standardize the XX values to ZZ-scores using Z=X−μσZ = \frac{X - \mu}{\sigma}.
    2. Use the Z-table to find probabilities for these ZZ-scores.
EventStandardized CalculationTable Lookup
P(X≤x)P(X \le x)P(Z≤x−μσ)P\left(Z \le \frac{x - \mu}{\sigma}\right)P(Z≤z)P(Z \le z)
P(X≥x)P(X \ge x)P(Z≥x−μσ)P\left(Z \ge \frac{x - \mu}{\sigma}\right)1−P(Z≤z)1 - P(Z \le z)
P(a≤X≤b)P(a \le X \le b)P(a−μσ≤Z≤b−μσ)P\left(\frac{a - \mu}{\sigma} \le Z \le \frac{b - \mu}{\sigma}\right)P(Z≤z2)−P(Z≤z1)P(Z \le z_2) - P(Z \le z_1)

🔑 Important: When solving for μ\mu or σ\sigma, you will typically be given two probabilities related to XX values. Convert these to Z-scores, use the Z-table in reverse to find the zz values, and then set up simultaneous equations to solve for μ\mu and σ\sigma.

13. Normal approximation to the binomial distribution (part 1)

13.1 Approximating binomial with normal distribution

  • The binomial distribution can become very complex for large numbers of trials (nn).
  • When nn is large, the shape of the binomial probability distribution looks like a smooth curve, similar to the normal distribution.
  • This allows us to use the normal distribution to estimate binomial probabilities, saving a lot of calculation.

The normal distribution provides a good approximation when the binomial distribution becomes too difficult to calculate directly.

Conditions for approximation

  • A binomial distribution, B(n,p)B(n, p), can be approximated by a normal distribution, N(μ,σ2)N(\mu, \sigma^2), if nn is large enough.
  • The conditions for a good approximation are that both npnp and nqnq must be greater than 5.
  • If np>5np > 5 and nq>5nq > 5, the approximation is suitable.
  • The larger these values are, the more accurate the approximation will be.

Key Relationship: Binomial ≈\approx Normal if np>5np > 5 and nq>5nq > 5.

  • If npnp or nqnq is less than 5, the binomial distribution may lose its normal shape, making the approximation unreliable.

Example:

  • B(40,0.9)B(40, 0.9) is not a good approximation because nq=40×0.1=4nq = 40 \times 0.1 = 4, which is less than 5.
  • B(250,0.2)B(250, 0.2) is a good approximation because np=250×0.2=50np = 250 \times 0.2 = 50 and nq=250×0.8=200nq = 250 \times 0.8 = 200. Both are much greater than 5.

The normal approximation formula

  • When the conditions are met, the binomial distribution B(n,p)B(n, p) can be approximated by a normal distribution N(μ,σ2)N(\mu, \sigma^2) where:
    • Mean: μ=np\mu = np
    • Variance: σ2=npq\sigma^2 = npq (where q=1−pq = 1 - p)

Formula: For X∼B(n,p)X \sim B(n, p), if np>5np > 5 and nq>5nq > 5, then X≈N(np,npq)X \approx N(np, npq).

13.2 Continuity corrections

  • The binomial distribution is discrete (deals with whole numbers), while the normal distribution is continuous (can take any value).
  • When we approximate a discrete distribution with a continuous one, we need to adjust the values. This adjustment is called a continuity correction.
  • A discrete value, like X=13X = 13, is treated as a range in the continuous distribution. This range is typically from 12.512.5 to 13.513.5.

Key Point: Continuity corrections are essential when moving from a discrete to a continuous distribution.

Applying continuity corrections

  • The correction depends on whether the discrete value is included in the probability you want to find.
Discrete ProbabilityContinuous Equivalent (using XcontX_{cont})Correction Term (applied to discrete value kk)
P(X<k)P(X < k)P(Xcont<k−0.5)P(X_{cont} < k - 0.5)Subtract 0.5
P(X>k)P(X > k)P(Xcont>k+0.5)P(X_{cont} > k + 0.5)Add 0.5
P(X≤k)P(X \le k)P(Xcont<k+0.5)P(X_{cont} < k + 0.5)Add 0.5
P(X≥k)P(X \ge k)P(Xcont>k−0.5)P(X_{cont} > k - 0.5)Subtract 0.5
P(X=k)P(X = k)P(k−0.5<Xcont<k+0.5)P(k - 0.5 < X_{cont} < k + 0.5)Use both boundaries
P(a<X<b)P(a < X < b)P(a+0.5<Xcont<b−0.5)P(a + 0.5 < X_{cont} < b - 0.5)Adjust both boundaries
P(a≤X≤b)P(a \le X \le b)P(a−0.5<Xcont<b+0.5)P(a - 0.5 < X_{cont} < b + 0.5)Adjust both boundaries

Example: To find P(X<43)P(X < 43) for a binomial distribution, we use the normal approximation and calculate P(Xcont<42.5)P(X_{cont} < 42.5).

Example of continuity correction

  • Problem: Given X∼B(100,0.4)X \sim B(100, 0.4), find P(X<43)P(X < 43).

  • Conditions Check: np=100×0.4=40np = 100 \times 0.4 = 40 and nq=100×0.6=60nq = 100 \times 0.6 = 60. Both are greater than 5, so approximation is suitable.

  • Parameters: Mean μ=np=40\mu = np = 40. Variance σ2=npq=100×0.4×0.6=24\sigma^2 = npq = 100 \times 0.4 \times 0.6 = 24.

  • Approximation: X≈N(40,24)X \approx N(40, 24).

  • Continuity Correction: Since we want P(X<43)P(X < 43), which means XX can be 0,1,…,420, 1, \dots, 42, we use the upper limit of the range for 4242, which is 42.542.5.

  • Calculation: We need to find P(Xcont<42.5)P(X_{cont} < 42.5) using N(40,24)N(40, 24).

    • Standardise: z=42.5−4024=2.54.899≈0.510z = \frac{42.5 - 40}{\sqrt{24}} = \frac{2.5}{4.899} \approx 0.510.
    • Find probability: P(Z<0.510)≈0.6950P(Z < 0.510) \approx 0.6950.
  • Result: P(X<43)≈0.695P(X < 43) \approx 0.695.

  • Problem: Given X∼B(100,0.4)X \sim B(100, 0.4), find P(X>43)P(X > 43).

  • Continuity Correction: Since we want P(X>43)P(X > 43), which means XX can be 44,45,…,10044, 45, \dots, 100, we use the lower limit of the range for 4444, which is 43.543.5.

  • Calculation: We need to find P(Xcont>43.5)P(X_{cont} > 43.5) using N(40,24)N(40, 24).

    • Standardise: z=43.5−4024=3.54.899≈0.714z = \frac{43.5 - 40}{\sqrt{24}} = \frac{3.5}{4.899} \approx 0.714.
    • Find probability: P(Z>0.714)=1−P(Z<0.714)≈1−0.7625=0.2375P(Z > 0.714) = 1 - P(Z < 0.714) \approx 1 - 0.7625 = 0.2375.
  • Result: P(X>43)≈0.238P(X > 43) \approx 0.238.

Table: Continuity corrections and their corresponding normal distribution calculations.

Discrete ProbabilityNormal EquivalentCalculation Steps
P(X<43)P(X < 43)P(Z<0.510)P(Z < 0.510)z=(42.5−40)/24z = (42.5 - 40) / \sqrt{24}; use N(0,1)N(0,1) table
P(X>43)P(X > 43)P(Z>0.714)P(Z > 0.714)z=(43.5−40)/24z = (43.5 - 40) / \sqrt{24}; use N(0,1)N(0,1) table

🔑 Important: Always sketch a diagram to visualize the probability and determine the correct continuity correction.

13.3 When to use normal approximation

  • The normal distribution can approximate a binomial distribution when the number of trials (nn) is large.
  • This approximation works best when the probability of success (pp) is close to 0.5.

The normal distribution can approximate the binomial distribution when nn is large and pp is not too close to 0 or 1.

13.4 Conditions for approximation

  • To use the normal distribution as an approximation for a binomial distribution, two conditions must be met:
    • The expected number of successes, npnp, must be greater than 5.
    • The expected number of failures, nqnq (where q=1−pq = 1-p), must also be greater than 5.
  • If these conditions are satisfied, the binomial distribution can be approximated by a normal distribution with a mean (μ\mu) equal to npnp and a variance (σ2\sigma^2) equal to npqnpq.

🔑 Important: Both np>5np > 5 and nq>5nq > 5 are necessary for a good normal approximation to the binomial distribution.

13.5 Calculating parameters

  • When approximating a binomial distribution B(n,p)B(n, p) with a normal distribution, the parameters are:
    • Variance: σ2=npq\sigma^2 = npq, where q=1−pq = 1 - p.
    • Standard deviation: σ=npq\sigma = \sqrt{npq}
Binomial ParameterNormal Distribution ParameterFormula
Number of trials (nn)N/AN/A
Probability of success (pp)N/AN/A
Mean (npnp)Mean (μ\mu)μ=np\mu = np
Variance (npqnpq)Variance (σ2\sigma^2)σ2=npq\sigma^2 = npq

13.6 Continuity correction

  • A continuity correction is needed because we are approximating a discrete distribution (binomial) with a continuous one (normal).
  • This involves adjusting the boundaries of the probability range slightly to account for the discrete nature of the binomial variable.

🔑 Important: Continuity corrections are crucial for accurate probability calculations when approximating a discrete distribution with a continuous one.

13.7 Applying continuity corrections

  • When finding the probability of a single value, say P(X=k)P(X=k):
    • We use P(k−0.5<X<k+0.5)P(k - 0.5 < X < k + 0.5) for the normal approximation.
  • When finding the probability of "greater than" or "at least":
    • P(X>k)P(X > k) becomes P(X>k+0.5)P(X > k + 0.5).
    • P(X≥k)P(X \ge k) becomes P(X>k−0.5)P(X > k - 0.5).
  • When finding the probability of "less than" or "at most":
    • P(X<k)P(X < k) becomes P(X<k−0.5)P(X < k - 0.5).
    • P(X≤k)P(X \le k) becomes P(X<k+0.5)P(X < k + 0.5).
Binomial Probability NotationContinuity Correction for Normal Approximation
P(X=k)P(X = k)P(k−0.5<X<k+0.5)P(k - 0.5 < X < k + 0.5)
P(X>k)P(X > k)P(X>k+0.5)P(X > k + 0.5)
P(X≥k)P(X \ge k)P(X>k−0.5)P(X > k - 0.5)
P(X<k)P(X < k)P(X<k−0.5)P(X < k - 0.5)
P(X≤k)P(X \le k)P(X<k+0.5)P(X < k + 0.5)

📝 Example: To find the approximate probability of getting exactly 10 heads in 30 coin tosses using the normal approximation, you would calculate the probability of the normal variable being between 9.5 and 10.5.

13.8 Justifying the approximation

  • The conditions np>5np > 5 and nq>5nq > 5 are the primary justifications for using the normal approximation.
  • Larger values of npnp and nqnq generally lead to better approximations.

🔑 Important: Always check and state that np>5np > 5 and nq>5nq > 5 to justify using the normal approximation.

🔑 Important: The normal approximation to the binomial distribution is a powerful tool for simplifying calculations when dealing with a large number of trials, but always remember to apply continuity corrections for accuracy.

14. Normal approximation to the binomial distribution (part 2)

14.1 When to use the normal approximation

To approximate a binomial distribution with a normal distribution, certain conditions must be met. This allows us to use the more easily calculated probabilities from the normal distribution instead of the binomial distribution, especially for large sample sizes.

The normal approximation is a shortcut when the binomial calculation becomes too complex.

  • Conditions for approximation: The binomial distribution B(n,p)B(n, p) can be approximated by a normal distribution N(np,npq)N(np, npq) if both np>5np > 5 and nq>5nq > 5. Here, nn is the number of trials, pp is the probability of success, and q=1−pq = 1-p is the probability of failure.

14.2 Continuity correction

When using a continuous normal distribution to approximate a discrete binomial distribution, a continuity correction is necessary. This correction adjusts the boundary values to account for the discrete nature of the binomial data.

  • Applying continuity correction:
    • For P(X≤k)P(X \le k), use P(Y<k+0.5)P(Y < k+0.5), where YY is the normal approximation.
    • For P(X<k)P(X < k), use P(Y<k−0.5)P(Y < k-0.5).
    • For P(X≥k)P(X \ge k), use P(Y>k−0.5)P(Y > k-0.5).
    • For P(X>k)P(X > k), use P(Y>k+0.5)P(Y > k+0.5).
    • For P(X=k)P(X = k), use P(k−0.5<Y<k+0.5)P(k-0.5 < Y < k+0.5).

Continuity correction helps bridge the gap between discrete and continuous probability distributions.

14.3 Calculating probabilities with approximation

Once the conditions are met and the continuity correction is applied, we can use the standard normal distribution (Z-distribution) to find probabilities. This involves converting the corrected values to z-scores using the formula z=y−μσz = \frac{y - \mu}{\sigma}, where μ=np\mu = np and σ=npq\sigma = \sqrt{npq}.

  • Steps for approximation:
    1. Identify nn and pp from the binomial distribution.
    2. Check if np>5np > 5 and nq>5nq > 5. If not, the approximation is not suitable.
    3. Calculate the mean μ=np\mu = np and standard deviation σ=npq\sigma = \sqrt{npq}.
    4. Apply the continuity correction to the probability statement.
    5. Convert the corrected value(s) to z-scores.
    6. Use a standard normal distribution table to find the probability.

Use the normal distribution table to find probabilities after converting to z-scores.

14.4 Summary of binomial approximation conditions

The following table summarizes when the normal approximation to the binomial distribution is appropriate and how to apply it.

ConditionBinomial DistributionNormal Approximation
Number of trials (nn)LargeNot directly applicable
Probability of success (pp)ConstantNot directly applicable
IndependenceRequiredNot directly applicable
Mean of approximationμ=np\mu = npμ=np\mu = np
Variance of approximationσ2=npq\sigma^2 = npqσ2=npq\sigma^2 = npq
Standard deviationσ=npq\sigma = \sqrt{npq}σ=npq\sigma = \sqrt{npq}
Continuity CorrectionDiscreteContinuous
P(X≤k)P(X \le k)Direct calculationP(Y<k+0.5)P(Y < k+0.5)
P(X<k)P(X < k)Direct calculationP(Y<k−0.5)P(Y < k-0.5)
P(X≥k)P(X \ge k)Direct calculationP(Y>k−0.5)P(Y > k-0.5)
P(X>k)P(X > k)Direct calculationP(Y>k+0.5)P(Y > k+0.5)
P(X=k)P(X = k)Direct calculationP(k−0.5<Y<k+0.5)P(k-0.5 < Y < k+0.5)

230.

🔑 Important: Always justify the use of the normal approximation by showing that npnp and nqnq are both greater than 5 231.

14.5 Conditions for approximation

To use the normal distribution to estimate probabilities for a binomial distribution, two conditions must be met. These conditions ensure that the binomial distribution is shaped enough like a bell curve to be approximated by a normal curve.

  • Condition 1: The product of the number of trials (nn) and the probability of success (pp) must be greater than 5 (np>5np > 5). This means you need a sufficient number of successes.
  • Condition 2: The product of the number of trials (nn) and the probability of failure (q=1−pq = 1-p) must also be greater than 5 (nq>5nq > 5). This indicates enough opportunities for failure.

🔑 Important: If either np≤5np \le 5 or nq≤5nq \le 5, the normal approximation is not suitable.

14.6 Applying the normal approximation

When the conditions are met, we can treat the binomial distribution as a normal distribution. We use the mean and standard deviation of the binomial distribution to define this normal distribution.

  • Mean (μ\mu): The mean of a binomial distribution is calculated as npnp. This becomes the mean of our approximating normal distribution.
  • Standard Deviation (σ\sigma): The standard deviation of a binomial distribution is calculated as npq\sqrt{npq}. This becomes the standard deviation of our approximating normal distribution.

14.7 Continuity correction

Because we are using a continuous distribution (normal) to approximate a discrete distribution (binomial), we need to make a slight adjustment called a continuity correction. This helps to account for the fact that discrete values are represented by intervals in the continuous normal distribution.

  • To find the probability of X<kX < k (less than kk): We use the normal distribution for X<k−0.5X < k - 0.5.
  • To find the probability of X≤kX \le k (less than or equal to kk): We use the normal distribution for X<k+0.5X < k + 0.5.
  • To find the probability of X>kX > k (greater than kk): We use the normal distribution for X>k+0.5X > k + 0.5.
  • To find the probability of X≥kX \ge k (greater than or equal to kk): We use the normal distribution for X>k−0.5X > k - 0.5.
  • To find the probability of X=kX = k (exactly kk): We use the normal distribution for k−0.5<X<k+0.5k - 0.5 < X < k + 0.5.

🔑 Important: The continuity correction adjusts the boundary by 0.5 to include or exclude the discrete value correctly in the continuous approximation.

14.8 Example of normal approximation

Let's say we have a binomial scenario where n=100n = 100 and p=0.2p = 0.2. We want to find the probability of getting exactly 15 successes.

  1. Check conditions:

    • np=100×0.2=20np = 100 \times 0.2 = 20. Since 20>520 > 5, this condition is met.
    • nq=100×(1−0.2)=100×0.8=80nq = 100 \times (1 - 0.2) = 100 \times 0.8 = 80. Since 80>580 > 5, this condition is met. We can use the normal approximation.
  2. Calculate mean and standard deviation:

    • Mean: μ=np=20\mu = np = 20.
    • Standard deviation: σ=npq=100×0.2×0.8=16=4\sigma = \sqrt{npq} = \sqrt{100 \times 0.2 \times 0.8} = \sqrt{16} = 4.
  3. Apply continuity correction: We want P(X=15)P(X = 15). Using continuity correction, this becomes P(14.5<X<15.5)P(14.5 < X < 15.5) in the normal distribution.

  4. Standardize values (calculate z-scores):

    • For X=14.5X = 14.5: z=14.5−204=−5.54=−1.375z = \frac{14.5 - 20}{4} = \frac{-5.5}{4} = -1.375.
    • For X=15.5X = 15.5: z=15.5−204=−4.54=−1.125z = \frac{15.5 - 20}{4} = \frac{-4.5}{4} = -1.125.
  5. Find probability using z-table: We need to find P(−1.375<Z<−1.125)P(-1.375 < Z < -1.125). This is equal to P(Z<−1.125)−P(Z<−1.375)P(Z < -1.125) - P(Z < -1.375).

Using a standard normal distribution table: * P(Z<−1.125)≈0.1303P(Z < -1.125) \approx 0.1303 * P(Z<−1.375)≈0.0846P(Z < -1.375) \approx 0.0846 The probability is 0.1303−0.0846=0.04570.1303 - 0.0846 = 0.0457.

🔑 Important: Always check conditions, calculate μ\mu and σ\sigma, apply continuity correction, and then calculate z-scores to find the probability.

🔑 Important: Normal approximation is most accurate when nn is large and pp is close to 0.5. Accuracy decreases as pp gets closer to 0 or 1, or as nn gets smaller.


🔑 Important: The ability to approximate binomial probabilities using the normal distribution is crucial for exam questions where direct binomial calculations would be too time-consuming.

15. Normal approximation to the binomial distribution (part 3)

15.1 Conditions for approximation

The normal distribution can be used to approximate the binomial distribution when the number of trials (nn) is large. This approximation works best when the probability of success (pp) is close to 0.5.

🔑 Important: Use the normal distribution to approximate the binomial distribution if np>5np > 5 and nq>5nq > 5.

Here, nn is the number of trials, pp is the probability of success, and qq is the probability of failure (q=1−pq = 1 - p). If these conditions are met, the binomial distribution can be treated as a normal distribution.

15.2 Using the normal distribution

When approximating a binomial distribution with a normal distribution, you need to use the mean and standard deviation of the binomial distribution. These are calculated as follows:

  • Mean (μ\mu): The mean of a binomial distribution is given by the formula μ=np\mu = np. This represents the expected number of successes in nn trials.
  • Standard Deviation (σ\sigma): The standard deviation of a binomial distribution is calculated using the formula σ=npq\sigma = \sqrt{npq}. This measures the spread of the possible outcomes.

🔑 Important: The mean (μ\mu) and variance (σ2\sigma^2) of a binomial distribution (B(n,p)B(n,p)) are μ=np\mu = np and σ2=npq\sigma^2 = npq.

15.3 Continuity corrections

Since the binomial distribution is discrete (only whole numbers of successes) and the normal distribution is continuous (any value), a continuity correction is needed when approximating. This correction involves adjusting the boundary values by 0.5.

When calculating the probability of a specific number of successes or a range of successes, you need to include or exclude the boundary value appropriately.

To find the probability of:Use the normal distribution for:
P(X=k)P(X = k)P(k−0.5<X<k+0.5)P(k-0.5 < X < k+0.5)
P(X≤k)P(X \le k)P(X<k+0.5)P(X < k+0.5)
P(X<k)P(X < k)P(X<k−0.5)P(X < k-0.5)
P(X≥k)P(X \ge k)P(X>k−0.5)P(X > k-0.5)
P(X>k)P(X > k)P(X>k+0.5)P(X > k+0.5)
P(a≤X≤b)P(a \le X \le b)P(a−0.5<X<b+0.5)P(a-0.5 < X < b+0.5)
P(a<X<b)P(a < X < b)P(a+0.5<X<b−0.5)P(a+0.5 < X < b-0.5)
P(a≤X<b)P(a \le X < b)P(a−0.5<X<b−0.5)P(a-0.5 < X < b-0.5)
P(a<X≤b)P(a < X \le b)P(a+0.5<X<b+0.5)P(a+0.5 < X < b+0.5)

📝 Example: To find the probability of getting exactly 10 successes, you would calculate the area under the normal curve from 9.5 to 10.5. If you want the probability of getting at least 10 successes, you would calculate the area from 9.5 upwards.

15.4 Practice exam-style questions

Applying the normal approximation often comes up in exam questions. You'll need to check the conditions for using the approximation and then apply the continuity correction correctly.

🔑 Important: Always check the conditions np>5np > 5 and nq>5nq > 5 before using the normal approximation. Remember to apply the continuity correction when converting from a discrete binomial probability to a continuous normal probability.

The provided document pages include many examples and practice questions that combine concepts from different chapters. These are excellent for preparing for exams.

You should focus on problems that require you to identify when the normal approximation is suitable and how to use it accurately.

🔑 Important: When working through practice problems, pay close attention to the wording of the question to determine whether a continuity correction is needed and in which direction.

15.5 Glossary of terms

  • Binomial distribution: A probability distribution for a fixed number of independent trials, each with two outcomes (success or failure) and a constant probability of success.
  • Normal distribution: A continuous probability distribution that is symmetrical and bell-shaped, characterized by its mean and standard deviation.
  • Continuity correction: An adjustment made when approximating a discrete probability distribution (like the binomial) with a continuous one (like the normal). It involves shifting the boundaries by 0.5.
  • Mean (μ\mu): The average value of a distribution, calculated as npnp for a binomial distribution.
  • Standard Deviation (σ\sigma): A measure of the spread or dispersion of data around the mean, calculated as npq\sqrt{npq} for a binomial distribution.

🔑 Important: The normal approximation is a powerful tool for simplifying calculations when dealing with a large number of trials in a binomial distribution, but it requires careful application of conditions and continuity corrections.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also