Arena 99 · Lessonsالعربية
Lessons › Mathematics

Probability and Statistics

Book: رياضيات 2، رياضيات 6 · 7 lessons
  1. Simple probability, sample spaces and geometric probability
  2. Permutations, combinations and probability
  3. Events: independent, exclusive and conditional probability
  4. Measures of centre: mean, median and mode
  5. Measures of spread: range, variance and standard deviation
  6. Reading data from tables and graphs
  7. Distributions: probability, binomial and normal
1

Simple probability, sample spaces and geometric probability

★ Key
What you will learn
  • Write a sample space and count favourable outcomes.
  • Find simple probability and use the complement.
  • Find geometric probability using area or length.

Experiment and sample space

A random experiment has known possible outcomes, but you cannot tell which one will happen, like rolling a die. The set of all possible outcomes is the sample space.

Rolling two dice gives ordered pairs from and up to : of them. A table or a tree helps you not to miss one.

Simple probability

If all outcomes are equally likely, the probability of an event is the number of favourable outcomes divided by the number of all outcomes. It is always between (impossible) and (certain).

The probability that an event does not happen is the complement: minus the probability that it happens. Use it when counting the "unwanted" outcomes is easier.

Geometric probability

When outcomes are points in a region (a dart on a board) we cannot count them, so we measure instead: divide the favourable area by the total area. For points on a segment, divide lengths.

Every point is equally likely, so a bigger region is more likely in proportion to its area.

28
A square of side with a circle of radius at its centre: P(point in circle) = circle area ÷ square area.

Laws and rules

Simple probabilityP(A): probability of event A, a number from 0 to 1.
ComplementThe probability that A does not happen.
Geometric probabilityUse the same square unit on top and bottom (or lengths in one unit).

Worked examples

Two fair dice are rolled. What is the probability that the sum is ?
Show the solution
  1. Sample space: equally likely ordered pairs.
  2. Pairs with sum : , , , , , , which is pairs.
  3. Probability .
Answer:
A bag has red, blue and green balls. One ball is drawn at random. What is the probability that it is not blue?
Show the solution
  1. All balls: .
  2. P(blue) .
  3. Complement: . Direct check: not blue is out of .
Answer:
A dart lands at random on the square board in the figure (side cm, circle of radius cm at the centre). What is the probability that it lands inside the circle?
Show the solution
  1. Total area of the square: cm².
  2. Area of the circle cm².
  3. Probability , about .
Answer:
Common mistakes
  • Forgetting an outcome of the sample space, which spoils the numerator or the denominator. Write all outcomes before counting.
  • In geometric probability, dividing by the area of the other part instead of the whole. The denominator is always the whole.
  • Treating unequally likely results as equally likely: with two dice the sum is more likely than the sum , because it has pairs against one. Count the equally likely ordered pairs, not the sums.
  • Counting and as one outcome. With two dice they are different outcomes.
Summary
  • Probability = favourable ÷ all, and lies between and .
  • The sample space is all possible outcomes; organise it with a table or tree.
  • Complement: minus the probability of the event.
  • Geometric probability = favourable area ÷ total area.
Test yourself on this lesson · freePractise this lesson in the app
2

Permutations, combinations and probability

What you will learn
  • Decide whether order matters.
  • Compute permutations and combinations by multiplying and dividing.
  • Find a probability as favourable combinations over all combinations.

When does order matter?

Ask: if I swap the order of the chosen items, do I get a different choice? President and deputy: yes, (A president, B deputy) differs from the reverse, so this is a permutation. A committee: no, it is the same committee however its members are listed, so this is a combination.

Permutations

To choose r items in order from n items: n choices for the first place, n minus 1 for the second, and so on, multiplying r descending factors. Arranging all books on a shelf is , called "four factorial" and written .

Combinations

Each unordered choice appears in the permutation count once for every way of ordering it, which is . So we divide the permutations by that number to get combinations.

It also helps that choosing r items to take equals choosing the rest to leave out, so choosing from gives the same count as choosing from , which is ways. This saves long calculations.

For probability with combinations: the number of favourable selections (multiply the combinations of each group) over the number of all possible selections.

Laws and rules

FactorialRead "n factorial". By convention .
Permutationsn is the number of items and r how many are chosen; write r factors in the product.
CombinationsDivide by the number of orderings of r items, which is .

Worked examples

In how many ways can a president and a deputy be chosen from students?
Show the solution
  1. Order matters, so these are permutations.
  2. choices for president, then for deputy.
  3. .
Answer: ways
In how many ways can a committee of be chosen from students?
Show the solution
  1. Order does not matter, so these are combinations.
  2. Permutations: .
  3. Each committee was counted times, so divide: .
Answer: ways
A bag has red and blue balls. Three balls are drawn together at random. What is the probability of two red and one blue?
Show the solution
  1. All selections: from .
  2. Two red from : . One blue from : choices.
  3. Favourable , so the probability is .
Answer:
Common mistakes
  • Using permutations to pick a committee or team. If swapping the names does not change the choice, it is a combination.
  • Adding the combinations of the two groups instead of multiplying. "Two teachers and a student" means both groups together, so multiply.
  • Forgetting to divide by the orderings in combinations, which gives a number too large.
  • Mixing up the denominator (all selections) and the numerator (favourable).
Summary
  • Order matters: permutation. Order does not matter: combination.
  • Combinations = permutations ÷ orderings of the chosen items.
  • For two groups together, multiply their combinations.
  • Combination probability = favourable ÷ all selections.
Test yourself on this lesson · freePractise this lesson in the app
3

Events: independent, exclusive and conditional probability

★ Key
What you will learn
  • Tell independent from dependent events and multiply probabilities.
  • Use the addition rule for exclusive and overlapping events.
  • Find conditional probability from a table or percentages.

Both events: multiply (and)

Two events are independent if one happening does not change the probability of the other, like a die then a coin, or drawing a ball and putting it back. Multiply their probabilities.

They are dependent if the first changes the second, like drawing two balls without replacement: the number of balls changes after the first draw. Multiply the first probability by the second one computed after the first has happened.

Either event: add (or)

Mutually exclusive events cannot happen together (getting or on one roll), so we add their probabilities.

If they overlap, so both can happen, adding counts the shared part twice, so we subtract it once. Draw a Venn diagram to see this.

Do not confuse exclusive with independent: exclusive events can never happen together, so , while independent events can happen together and we multiply their probabilities.

Conditional probability

We ask: what is the probability of B given that A has happened? The new whole is A only, so we divide the overlap by A. In a two-way table, divide the shared cell by the total of the row or column named in the condition, not by the grand total.

13575FootballSwimming
Venn diagram: football only, both, swimming only, neither.

Laws and rules

Independent eventsProbability that both happen.
Dependent eventsP(B | A): probability of B after A has happened.
Mutually exclusiveProbability that one of them happens.
Overlapping eventsSubtract the overlap so it is not counted twice.
Conditional probabilityThe denominator is the known event A.

Worked examples

A bag has red and blue balls. Two balls are drawn one after the other without replacement. What is the probability that both are red?
Show the solution
  1. First is red: .
  2. After it, balls remain, of them red, so the second has probability .
  3. The events are dependent: . (With replacement it would be .)
Answer:
In a class of students, play football, swim and do both. A student is chosen at random. What is the probability that the student plays football or swims?
Show the solution
  1. The events overlap because students do both.
  2. .
  3. . Check with the figure: .
Answer:
In a group of people there are males and females. males and females wear glasses. One glasses-wearer is chosen. What is the probability that this person is male?
Show the solution
  1. The condition is wearing glasses, so the new whole is the glasses-wearers only.
  2. Their number is .
  3. Males among them: , so the probability is . We do not use or .
Answer:
Common mistakes
  • Adding probabilities instead of multiplying when both events must happen. "And" is multiply, "or" is add.
  • Not changing the numbers in a without-replacement problem: the total number of balls drops after the first draw, and the favourable count drops too if the ball drawn was of the wanted colour.
  • Forgetting to subtract the overlap for overlapping events, which makes the probability too big.
  • Dividing by the grand total in conditional probability instead of the known event.
Summary
  • Independent: multiply. Dependent: change the second probability after the first.
  • Exclusive: add. Overlapping: add and subtract the overlap.
  • Conditional probability = overlap ÷ known event.
  • In tables, read the condition to see which row or column is the denominator.
Test yourself on this lesson · freePractise this lesson in the app
4

Measures of centre: mean, median and mode

What you will learn
  • Find the mean, median and mode.
  • Find the mean from a frequency table.
  • Combine the means of two groups of different sizes.

Three ways to name a "middle" value

The mean is the sum of the values divided by their number, as if the total were shared equally. The median is the middle value after ordering the data; with an even count, take the mean of the two middle values. The mode is the most frequent value; there can be several modes or none.

A large outlier pulls the mean up but barely moves the median, so the median describes a typical case better when outliers exist.

If the mean and one missing value are involved, use: sum = mean × count, then subtract the known values to find the missing one.

The frequency table

When values repeat, multiply each value by its frequency, add the products, then divide by the total frequency. It is the same sum written in a shorter way.

In a table of classes (such as ) use the class centre, its midpoint, in place of the value.

Combined (weighted) mean

Do not add two means and divide by unless the groups have equal size. Correct way: each group total = mean × size, add the totals and divide by the total size. The result is closer to the mean of the larger group. This is the weighted mean: each mean has a weight equal to its size.

051015Mean = 8Median = 7
Values , , , , : mode , median , mean because pulls it to the right.

Laws and rules

MeanAdd all values, then divide by how many there are.
Mean from a frequency tableFrequency: how many times the value appears.
Combined meanEach group total = its mean × its size.

Worked examples

Find the mean, median and mode of , , , , .
Show the solution
  1. Sum and there are values.
  2. Mean .
  3. The values are already ordered and the count is odd, so the median is the third value: . The mode is , which appears twice.
  4. With an even count, such as , , , , the median is the mean of the two middle values: .
Answer: Mean , median , mode
A frequency table: value has frequency , value has , value has , value has . Find the mean.
Show the solution
  1. Sum of values .
  2. Total frequency .
  3. Mean . Check: it lies between and , the two most frequent values.
Answer:
The mean mark of students in class A is and the mean mark of students in class B is . What is the mean of all students?
Show the solution
  1. Class A total .
  2. Class B total .
  3. Mean . Not , because B is larger, so the answer is nearer .
Answer:
Common mistakes
  • Finding the median without ordering the data first.
  • Taking one value as the median of an even count instead of the mean of the two middle values.
  • Adding two means and halving them when the group sizes differ.
  • In a frequency table, dividing by the number of rows instead of the total frequency.
Summary
  • Mean = sum ÷ count; median after ordering; mode is the most frequent.
  • Outliers affect the mean more than the median.
  • Frequency table: multiply value by frequency and divide by total frequency.
  • Combining groups: add the totals, not the means.
Test yourself on this lesson · freePractise this lesson in the app
5

Measures of spread: range, variance and standard deviation

What you will learn
  • See why the mean alone does not describe the data.
  • Find the range, variance and standard deviation.
  • Know how spread changes under adding and multiplying.

Why measure spread?

Two groups can have the same mean and still differ a lot: one has values bunched around the mean, the other has values far apart. Spread measures how far values are from each other and from the mean.

The simplest measure is the range = largest value − smallest value, but it uses only two values.

Variance and standard deviation

To find the variance: find the mean, then each value's deviation from it, square the deviations (so positives and negatives do not cancel), and take their mean. For a whole population divide by the number of values; for a sample divide by the number of values minus . The standard deviation is the square root of the variance, so it has the same unit as the data.

Effect of adding and multiplying

Adding a constant to every value moves them all together, so the range and the variance do not change. Multiplying every value by a positive number multiplies the range and the standard deviation by , and the variance by .

0510Group AGroup BMean = 5
Both groups have mean , but the values of B are farther from it, so B has more spread.

Laws and rules

RangeIn the unit of the data.
VarianceDeviation: value minus mean. The unit of variance is the square of the data unit.
Standard deviationSame unit as the data.

Worked examples

Find the range of , , , , .
Show the solution
  1. Largest , smallest .
  2. Range .
Answer:
Find the variance and standard deviation of the population , , , .
Show the solution
  1. Mean .
  2. Deviations: , , , . Squares: , , , , sum .
  3. Variance , standard deviation .
Answer: Variance , standard deviation
The values , , , have variance . What is the variance after multiplying each value by and then adding ?
Show the solution
  1. Multiplying by multiplies the variance by : .
  2. Adding does not change the variance.
  3. Direct check: after multiplying, the values , , , have mean , deviations , , , , squares , , , with sum , and .
Answer:
Common mistakes
  • Thinking equal means mean equal spread.
  • Multiplying the variance by instead of when values are multiplied by .
  • Thinking that adding a constant changes the range or variance.
  • Forgetting to square the deviations, so their sum is always zero.
Summary
  • The mean gives the centre; spread tells how scattered the data are.
  • Range = largest − smallest.
  • Variance = mean of squared deviations; the standard deviation is its square root.
  • Adding does not change spread; multiplying by multiplies the standard deviation by and the variance by .
Test yourself on this lesson · freePractise this lesson in the app
6

Reading data from tables and graphs

★ Key
What you will learn
  • Read tables and bar graphs accurately.
  • Find percentages, changes and the mode from data.
  • Choose the best measure when there are outliers.

Read before you calculate

The usual mistake in data questions is reading the wrong number. Read the title and unit, what each axis or bar stands for, and whether numbers are counts or percentages.

The mode is the tallest bar or the biggest frequency in the table, not the biggest value. The grand total is the sum of frequencies and is the denominator for percentages.

Change and percentage

The difference between two bars shows the amount of change. The percentage change is the difference divided by the first value (before the change), not the second. A category's percentage is its frequency ÷ total × .

Types of display

Choosing the measure

If there is a very large or very small outlier, the median describes the typical case better than the mean. If you want the total, or each share if the total were split equally, the mean is more suitable.

201302253454WeekSales
Sales in four weeks: , , , . The largest rise is between weeks and .

Laws and rules

PercentageFrequency of the category divided by the sum of frequencies.
Percentage changeDifference = new value minus first value.

Worked examples

A table shows the favourite sport of students: football , swimming , running , tennis . Find the mode, the percentage for football, and the probability that a random student prefers swimming.
Show the solution
  1. The mode is the biggest frequency: football ().
  2. Percentage for football .
  3. P(swimming) .
Answer: Mode football, , and
The figure shows sales of , , and in four weeks. Find the weekly mean, the largest rise between consecutive weeks and its percentage.
Show the solution
  1. Total , mean .
  2. Consecutive changes: , , . The largest rise is , between weeks and .
  3. Its percentage is of the first value .
Answer: Mean , largest rise , that is
The salaries of five employees in thousands are , , , , . Which describes the typical salary better, the mean or the median?
Show the solution
  1. Mean .
  2. Median (third value after ordering) .
  3. The value is an outlier and pulled the mean up to , although four of the five salaries are below . So the median is better.
Answer: The median ()
Common mistakes
  • Taking the mode as the largest value instead of the most frequent value.
  • Computing percentage change on the new value instead of the first value.
  • Using the mean for data with an obvious outlier.
  • Reading the bar height from the wrong line, or ignoring the axis unit.
Summary
  • Read titles and units before calculating.
  • The mode is the most frequent value.
  • Percentage change = difference ÷ first value.
  • With outliers, prefer the median to the mean.
Test yourself on this lesson · freePractise this lesson in the app
7

Distributions: probability, binomial and normal

What you will learn
  • Complete a probability distribution and find its expected value.
  • Find the probability of a number of successes in independent trials.
  • Use the , rule and the z-score.

Probability distribution

A random variable is a number that comes from an experiment, like the number of heads in several coin tosses. A probability distribution is a table giving the probability of each value, and its probabilities always add to . The expected value is the sum of each value times its probability.

Binomial distribution

Use it when an experiment is repeated a fixed number of times, each trial has two outcomes (success or failure), the trials are independent, and the success probability is constant. The probability of exactly a given number of successes = (number of ways to place the successes, by combinations) × (success probability multiplied by itself once per success) × (failure probability multiplied by itself once per failure).

The expected number of successes = number of trials × success probability; from trials with probability we expect successes.

Normal distribution

A symmetric bell-shaped curve centred at the mean; the mean, median and mode are equal, and the total area under it is , that is . The z-score says how many standard deviations a value is from the mean. Empirical rule: about of values lie within one standard deviation, about within two, and about within three.

-2-101234%13.5%2.5%Normal curve
In a normal curve (the numbers under the axis are deviations from the mean): between the mean and one deviation, between one and two, beyond two on each side.

Laws and rules

Expected valueAll probabilities add to .
Binomialn: trials, k: successes, p: success probability per trial; ways counted by combinations.
Expected successes (binomial)n: number of trials; p: success probability in one trial.
Z-scorePositive above the mean, negative below.

Worked examples

A variable takes the values , , , with probabilities , , , . Find and the expected value.
Show the solution
  1. The total is : , so .
  2. , , , .
  3. Expected value .
Answer: and expected value
A student guesses questions, each with probability of being right. What is the probability of exactly two correct answers?
Show the solution
  1. Choose the places of the two correct answers among three questions: ways.
  2. Each case has probability .
  3. Probability .
Answer:
Marks are normally distributed with mean and standard deviation . About what percentage of marks lie between and ? What is the z-score of ?
Show the solution
  1. : one deviation below the mean. : two deviations above.
  2. From the mean to one deviation below: . From the mean to two deviations above: .
  3. Total . The z-score of is .
Answer: About , and z-score
Common mistakes
  • Leaving probabilities that do not add to , or thinking the expected value is the plain mean of the values without their probabilities.
  • Forgetting the number of ways in a binomial problem: the probability of one case is not enough.
  • Thinking the remaining is all on one side; it is split equally between the two tails.
  • Dividing by the mean instead of the standard deviation when finding the z-score.
Summary
  • A distribution's probabilities add to ; expected value = sum of value × probability.
  • Binomial: ways × success probabilities × failure probabilities.
  • Normal: , , within , , deviations.
  • Z-score = (value − mean) ÷ standard deviation.
Test yourself on this lesson · freePractise this lesson in the app