L
LLLOS.ai
LLOS.ai
L
Class 9 Artificial Intelligence Chapter 0 of 4

Chapter 6 — Math for AI (Statistics and Probability)

Start learning → Step-by-step lesson with a teacher voice, questions and notes.

Reading view

Overview

This chapter covers Unit 3 of the CBSE Class 9 Artificial Intelligence syllabus, Math for AI, which focuses on statistics and probability. It begins with patterns: you find the rule in number sequences and picture puzzles and see why mathematics, the study of patterns, is the foundation of AI, which is a way of recognising patterns to make decisions. You meet the four areas of mathematics that AI uses: statistics to explore data, linear algebra to handle large sets of numbers and find unknowns, probability to predict events and calculus to train and improve models. In statistics you learn how data is collected, explored, analysed and turned into conclusions, and you calculate the mean, median, mode and range. You study real uses of statistics in disaster management, sports, disease prediction and weather forecasting, and carry out the car spotting activity with tally marks, a frequency table and a bar graph. In probability you calculate the chance of simple events, classify events as certain, likely, equally likely, unlikely or impossible on the probability scale, and see how probability guides decisions in sports, weather forecasting, traffic estimation and AI systems.

हिंदी में पढ़ें

जानें कि AI पैटर्न और गणित पर क्यों निर्भर है, और डेटा व संभावना को समझने के लिए सांख्यिकी और प्रायिकता का उपयोग करें।

Learning Objectives

  • Find patterns in number sequences and explain why AI depends on mathematics
  • Name the four areas of mathematics used in AI and their roles
  • Define statistics and find the mean, median, mode and range of a dataset
  • Describe applications of statistics in disaster management, sports, disease prediction and weather
  • Collect data with tallies, make a frequency table and interpret it with care
  • Calculate the probability of simple events using favourable and total outcomes
  • Classify events as certain, likely, equally likely, unlikely or impossible
  • Explain applications of probability in sports, weather, traffic estimation and AI

Topics in this chapter

8 topics · tap a topic title to jump straight to it.

Topic 1 of 8
🔶1

Patterns: why AI needs mathematics

By the end you canFind number patterns and explain why AI depends on mathematics to recognise patterns.

1Think first

How did you find the next number in 34, 31, 28, 25, 22?No wrong answer. Think for a moment, then read on.

2The idea, in plain words

Try these puzzles before reading on. What comes next in 2, 4, 6, 8, 10, 12, ...? In 4, 10, 16, 22, 28, ...? In 34, 31, 28, 25, 22, ...? A shop made a profit of ₹1000 in year 1, ₹1500 in year 2, ₹2000 in year 3 and ₹2500 in year 4. What profit do you expect in year 5?

You probably answered 14, 34, 19 and ₹3000 quickly. How? In each case you noticed a rule: add 2, add 6, subtract 3, add ₹500. An order or arrangement that repeats in a predictable way is called a pattern. Once you find the pattern, you can predict the missing or next value.

SequencePatternNext value
2, 4, 6, 8, 10, 12add 2 each time14
4, 10, 16, 22, 28add 6 each time34
34, 31, 28, 25, 22subtract 3 each time19
₹1000, ₹1500, ₹2000, ₹2500add ₹500 each year₹3000

Patterns are everywhere. Patterns appear in numbers (multiplication tables, calendar dates), in images (tiles on a floor, the petals of a flower, stripes on a zebra) and in language (rhymes, grammar rules, the way 'un-' reverses a word's meaning). In picture analogy puzzles, you look at how one picture changes into the next, for example a shape rotating by a quarter turn or gaining one more dot, and use that rule to pick the missing picture.

Mathematics is the study of patterns. Arithmetic, algebra and geometry all describe regularities precisely so that we can reason about them and make predictions.

AI is a way to recognise patterns. An AI system is shown many examples and finds the patterns in them, much as you did with the number puzzles. It can find patterns in numbers (sales figures), images (the shape of a cat's ears) and speech or text (which words usually come together). These patterns let it make decisions: telling a dog from a muffin in a photo, predicting the path of a cyclone, or suggesting the next word as you type.

So AI needs mathematics. To recognise a pattern, an AI must measure, compare and calculate. Every photo is stored as a grid of numbers (pixel brightness values); every sentence is turned into numbers before a computer can process it. Mathematics is the language in which an AI describes data, learns patterns and measures how well it has learnt.

Limits of patterns. A pattern found in past data is a good guess, not a guarantee. The shop's profit may not rise by ₹500 in year 5 if a new competitor opens. AI faces the same limit: its predictions are only as good as the patterns in the data it learnt from, which is why we also study probability, the mathematics of uncertainty.

Formulas to remember
  1. Next term = last term + common difference (for sequences like 4, 10, 16, ...)
  2. Mathematics = the study of patterns; AI = recognising patterns to decide
Whena rule is found in the dataThenthe next or missing value can be predicted
Whenconditions change from the pastThena pattern-based prediction can be wrong

3Worked example

Find the missing number: 7, 12, 17, ?, 27.
Step 1Differences: 12 - 7 = 5 and 17 - 12 = 5.
Step 2The pattern is 'add 5'.
Step 317 + 5 = 22.
Step 4Check: 22 + 5 = 27, which matches the next term.
More examples
  • Number pattern: 5, 10, 15, 20 (add 5)
  • Image pattern: alternating black and white floor tiles
  • Language pattern: plural words often end in -s
  • AI pattern: emails with certain phrases are often spam

4Your turn

Which statement best describes the link between mathematics and AI?

5Remember this

One line to keepMathematics is the study of patterns and AI recognises patterns in data, so AI is built on mathematics.
Common mistake. Treating a pattern from past data as certain to continue in the future.
Topic 2 of 8
🟦2

Four areas of mathematics used in AI

By the end you canName the four areas of mathematics used in AI and match each to its role.

1Think first

Which kind of mathematics answers 'Will it rain tomorrow?'No wrong answer. Think for a moment, then read on.

2The idea, in plain words

Answer these four quick questions. (1) What is the middle value of 11, 22, 33, 44, 55? (2) Of two lines drawn on a page, which is more slanted? (3) A has 2 plants, B has 3, C has 1 and D has 7: how many plants are there in all? (4) If a coin is tossed, what can the result be?

Each question uses a different branch of mathematics, and AI uses all four kinds of thinking. The CBSE course groups the mathematics of AI into four areas:

AreaWhat AI uses it forEveryday question of the same kind
Statisticsexploring and summarising dataWhat is the middle value? Which value is most common?
Linear algebrahandling large sets of numbers and finding unknown or missing valuesHow many plants in all? How many cars in a city?
Probabilitypredicting events and expressing uncertaintyWhat can a coin toss give? Will it rain tomorrow?
Calculustraining and improving a model step by stepWhich line is steeper? Which figure covers more area?

The answers to the warm-up: (1) 33 is the middle value (statistics). (2) The steeper line is the one that rises more for the same distance across; steepness is called slope (an idea from calculus). (3) 2 + 3 + 1 + 7 = 13 plants (adding many values at once, as linear algebra does with lists of numbers). (4) Heads or tails, each with probability one half (probability).

Statistics collects, organises and summarises data with measures such as the mean, median and mode, and with charts. Before an AI model is built, statistics tells us what the data looks like: its typical values, its spread and any errors.

Linear algebra works with vectors (lists of numbers) and matrices (tables of numbers) and with equations that link them. A colour photo is three huge tables of pixel values; a customer can be described by a list such as [age, visits, amount spent]. Finding an unknown from an equation, such as solving 10x - 8 = 6x to get 4x = 8 and x = 2, is the simplest version of what linear algebra does with thousands of unknowns at once.

Probability measures how likely something is, from 0 (impossible) to 1 (certain). AI systems rarely say 'definitely'; they say 'this photo is a cat with probability 0.93' or 'there is a 70% chance of rain'.

Calculus studies how one quantity changes when another changes, through ideas such as slope. When a model is trained, calculus tells it in which direction to adjust its settings so that its errors become smaller, a little at a time. You will meet calculus formally in higher classes; for now, remember that it is the tool AI uses to improve.

Do you need to be a mathematician to use AI? No. Many AI tools hide the mathematics. But understanding the basic ideas helps you ask the right questions: Is the data typical? How confident is the prediction? Could the model be wrong?

Formulas to remember
  1. Statistics → exploring data
  2. Linear algebra → unknown or missing values, tables of numbers
  3. Probability → predicting events
  4. Calculus → training and improving models
Whenwe need to summarise a datasetThenwe use statistics
Whena model must improve its predictions step by stepThencalculus guides the changes

3Worked example

Match: (i) Probability, (ii) Calculus, (iii) Statistics, (iv) Linear algebra with (a) exploring data, (b) finding unknown or missing values, (c) predicting events, (d) training and improving a model.
Step 1Probability predicts events: (i)-(c).
Step 2Calculus trains and improves models: (ii)-(d).
Step 3Statistics explores data: (iii)-(a).
Step 4Linear algebra finds unknown values: (iv)-(b).
More examples
  • Statistics: average rainfall of a district
  • Linear algebra: an image stored as a table of pixel values
  • Probability: 0.93 chance a photo shows a cat
  • Calculus: a model reducing its error a little after each training round

4Your turn

Solve 10x - 8 = 6x. What is x?

5Remember this

One line to keepAI uses statistics to explore data, linear algebra for sets of numbers, probability for predictions and calculus for training.
Common mistake. Thinking AI uses only one kind of mathematics; all four areas work together.
Topic 3 of 8
📊3

Statistics: collecting and summarising data

By the end you canDefine statistics and find the mean, median, mode and range of a small dataset.

1Think first

How would you describe the heights of your whole class using just one or two numbers?No wrong answer. Think for a moment, then read on.

2The idea, in plain words

Can you find the total weight of your family members? The number of students in your school? The highest temperature in your city last month? To answer, you must collect figures, organise them and work something out. That is statistics in action.

Definition. Statistics is the branch of mathematics used for collecting, exploring and analysing data, and for drawing conclusions from it. It works in four stages:

  • Collect: data is gathered from sources such as surveys, records and sensors.
  • Explore and clean: the data is checked and errors, gaps and duplicates are fixed.
  • Analyse: summary measures and charts are worked out to understand the data.
  • Conclude: conclusions and decisions are drawn from the results.

Summary measures. A long list of numbers is hard to take in. Statistics squeezes it into a few numbers that describe it:

MeasureHow to find itTells you
Mean (average)sum of values ÷ number of valuesthe typical value, using every value
Medianmiddle value after arranging in order (average of the two middle values if the count is even)the centre, not pulled by extreme values
Modethe value that occurs most oftenthe most common value
Rangelargest value - smallest valuehow spread out the data is

Example 1 (median). Heights in cm of 9 students: 155, 160, 145, 149, 150, 147, 152, 144, 148. Arrange them: 144, 145, 147, 148, 149, 150, 152, 155, 160. With 9 values, the middle one is the 5th, so the median is 149 cm. The range is 160 - 144 = 16 cm.

Example 2 (mean). A hospital records the number of patients admitted in five age groups in one day: 5, 7, 9, 22 and 11. The mean is (5 + 7 + 9 + 22 + 11) ÷ 5 = 54 ÷ 5 = 10.8 patients per group. Notice that 22 is much larger than the others; it pulls the mean up. The median of these values (5, 7, 9, 11, 22) is 9. When a dataset has an extreme value, the median often describes the 'typical' value better.

Example 3 (mode). Shoe sizes sold in a shop in one hour: 6, 7, 7, 8, 7, 9, 6. The mode is 7, so the shop should keep more size 7 in stock. The mode is the only one of the three measures that also works for qualitative data, such as the most common car colour.

Descriptive statistics. Measures like these, together with tables and charts, are called descriptive statistics, because they describe a dataset. Another important descriptive measure you will meet later is the standard deviation, which tells how far values typically lie from the mean.

In AI, these measures are used at the Data Exploration stage. A model's builders check the mean and range of every feature, look for odd values, and fill missing values, often with the mean or median of the column.

Formulas to remember
  1. Mean = (sum of values) ÷ (number of values)
  2. Median = middle value of the ordered data
  3. Mode = most frequent value
  4. Range = largest - smallest
Whena dataset contains an extreme valueThenthe mean is pulled towards it but the median is not
Whenthe data is qualitativeThenonly the mode can be used as a typical value

3Worked example

Find the mean, median, mode and range of the test scores 12, 15, 11, 15, 17.
Step 1Mean = (12 + 15 + 11 + 15 + 17) ÷ 5 = 70 ÷ 5 = 14.
Step 2Ordered: 11, 12, 15, 15, 17, so the median is 15.
Step 315 occurs twice, so the mode is 15.
Step 4Range = 17 - 11 = 6.
More examples
  • Mean marks of a class
  • Median house price in a city
  • Mode: most common blood group in a camp
  • Range: difference between the highest and lowest temperature of a day

4Your turn

What is the median of 3, 9, 4, 7?

5Remember this

One line to keepStatistics collects, explores, analyses and concludes; mean, median, mode and range summarise a dataset.
Common mistake. Finding the median without first arranging the values in order.
Topic 4 of 8
📊4

Statistics in real life

By the end you canDescribe how statistics is applied in disaster management, sports, disease prediction and weather forecasting.

1Think first

How might a district office decide which villages to warn before a cyclone?No wrong answer. Think for a moment, then read on.

2The idea, in plain words

Statistics is not just a chapter in a textbook. Governments, hospitals, sports teams and weather offices make big decisions every day from statistical summaries of data. The CBSE course highlights four areas.

1. Disaster management. Authorities study records of past floods, cyclones and earthquakes: where they struck, how strong they were and how often. Combined with live data from satellites and rain gauges, this tells them which areas are at risk, so they can warn residents and plan evacuations. Statistics on population, hospitals, roads and shelters in an area tells relief teams how many people may need help and where to send food, boats and medical teams. India's improved cyclone warnings, which have helped move large numbers of people to safety in recent years, depend heavily on such data.

2. Sports. Teams record every ball, pass and shot. A batter's average, strike rate and scoring areas help a captain set the field; a bowler's economy rate decides when to bring him on. Statistics also guides decisions off the field. When the Tokyo 2020 Olympics were planned, data on the sharp rise of COVID-19 cases was a key reason the Games were postponed to 2021.

3. Disease prediction and public health. Health departments count cases of diseases by district and by week. If dengue cases in one ward double in a fortnight, that is a signal to send fogging teams there. During COVID-19, statistics showed where cases were rising and where vaccination needed to speed up. Hospitals also use statistics to find which diseases affect the most people, so that resources go where they help most.

4. Weather forecasting. Forecasters compare today's measurements of temperature, pressure, humidity and wind with records of past seasons. Computer models, built on statistics and physics, then estimate tomorrow's weather. Farmers, airlines and event organisers plan around these forecasts.

Statistics about you. Surveys of young people collect statistics on screen time, sleep, exercise and school attendance. For example, UNESCO estimates that hundreds of millions of children and young people around the world are out of school. Such statistics help governments design schemes and measure whether they are working. When you read such figures, apply your data literacy: who collected them, when, and from how many people?

Where AI fits. In all four areas, AI systems are now trained on the same statistical data to find patterns faster than people can: predicting a cyclone's path, spotting the start of an outbreak, or suggesting a batting order. The CBSE activity Uses of Statistics in Daily Life asks you to collect a small dataset of your own, such as the time your family spends on screens each day, and apply the mean, median and mode to draw a conclusion.

FieldData collectedDecision it supports
Disaster managementpast disasters, rainfall, population, shelterswarnings, evacuation, relief supplies
Sportsruns, wickets, passes, injuriesteam selection, strategy, scheduling
Disease predictioncases by area and week, vaccinationswhere to send medical teams and vaccines
Weather forecasttemperature, pressure, humidity, windwarnings and planning for farms and travel
Formulas to remember
  1. Batting average = total runs ÷ number of times out
  2. Rate of increase = (new count - old count) ÷ old count × 100%
Whenpast records are combined with live measurementsThenauthorities can predict risks and act early
Whencases of a disease rise sharply in an areaThenhealth teams send resources there first

3Worked example

Dengue cases in a ward were 40 last week and 60 this week. Find the percentage increase and say what it suggests.
Step 1Increase = 60 - 40 = 20 cases.
Step 2Percentage increase = 20 ÷ 40 × 100% = 50%.
Step 3A 50% rise in one week is a warning sign.
Step 4The health office should check breeding sites and send fogging teams to that ward.
More examples
  • A batting average used to choose the batting order
  • Weekly dengue counts used to target fogging
  • Rainfall records used to plan flood warnings
  • Screen-time survey of a class

4Your turn

A batter scored 450 runs and was out 9 times. What is the batting average?

5Remember this

One line to keepStatistics turns past and present data into decisions in disaster management, sports, health and weather.
Common mistake. Believing a statistic without checking who collected it, when and from how many people.
Topic 5 of 8
📊5

Collecting data with tallies: the car spotting activity

By the end you canRecord data with tallies, build a frequency table, analyse it and interpret it with care.

1Think first

How could you find the most popular car colour on your street without a computer?No wrong answer. Think for a moment, then read on.

2The idea, in plain words

In the CBSE activity Car Spotting and Tabulating, you watch a video of a road (or stand safely near your school gate) for a fixed time and record the colour of every car that passes. It is a small project, but it uses the full chain of statistics: data collection, organisation, analysis and interpretation, which is also the chain that every AI system depends on.

Step 1: Collect with tally marks. Write the colours in a column. Each time a car passes, draw a stroke next to its colour. Every fifth stroke is drawn across the previous four, so the marks fall into easy-to-count bundles of five. Tallies are fast to record and hard to lose count with.

Step 2: Organise into a frequency table. Count the strokes for each colour. The count is the frequency. Suppose in 10 minutes you recorded:

ColourTallyFrequency
WhiteIIII IIII9
BlackIIII I6
SilverIIII5
RedIII3
BlueII2
Total25

(In real tallies the fifth stroke crosses the first four; the table above simply groups them in fives.)

Step 3: Analyse.

  • How many cars were spotted in total? 9 + 6 + 5 + 3 + 2 = 25.
  • Which colour was spotted most often? White, with frequency 9. This is the mode of the data.
  • What fraction of cars were white? 9 out of 25 = 0.36 = 36%.
  • How many more white cars than red ones? 9 - 3 = 6.

Step 4: Present. A bar graph with one bar per colour makes the comparison clear at a glance (see the figure). Colour is qualitative data, so a bar graph, with a gap between bars, is the right choice.

Step 5: Interpret. The most common colour choice among people who drive on this road seems to be white. But a data literate student adds cautions: the sample is only 25 cars from one road in 10 minutes; a different time of day, a different road or a bigger sample might give different results. A good conclusion states its limits.

Why this matters for AI. An AI that counts vehicles from traffic cameras does exactly these steps automatically: it detects each car (computer vision), records its type and colour (data collection), counts frequencies (statistics) and reports patterns such as peak hours (interpretation). The quality of its conclusions still depends on whether its data is large and representative enough, the same caution you applied above.

Try it yourself. Repeat the activity for a different feature, such as the type of vehicle (car, two-wheeler, bus, auto) or the number of people in each car, and compare the frequency tables of two different times of day.

Formulas to remember
  1. Frequency = number of times a value occurs
  2. Total = sum of all frequencies
  3. Percentage of a category = frequency ÷ total × 100
Whendata is recorded as tally marksThengrouping in fives makes counting quick and accurate
Whena sample is small or taken at one time and placeThenconclusions must be stated with caution

3Worked example

In the table, what percentage of cars were black or silver?
Step 1Black + silver = 6 + 5 = 11 cars.
Step 2Total cars = 25.
Step 3Percentage = 11 ÷ 25 × 100 = 44%.
Step 4So 44% of the cars were black or silver.
More examples
  • Tallying vehicle colours at a gate
  • Tallying votes in a class election
  • Tallying birds seen in a garden in 15 minutes
  • A traffic camera counting cars automatically

4Your turn

In a frequency table, the mode is

5Remember this

One line to keepTally, tabulate, analyse, present and interpret: the same chain an AI follows, and every conclusion needs enough data.
Common mistake. Drawing a firm conclusion about a whole city from a few minutes of data on one road.
Topic 6 of 8
🎲6

Probability: measuring chance

By the end you canCalculate the probability of simple events and use the facts that probabilities lie between 0 and 1 and add to 1.

1Think first

Why does everyone agree a coin toss is fair, even though no one knows the result?No wrong answer. Think for a moment, then read on.

2The idea, in plain words

Before a cricket match, the captains toss a coin. Nobody knows whether it will land heads or tails, but everyone agrees that each is equally likely. Probability is the branch of mathematics that measures how likely something is to happen.

Words we need.

  • An experiment is an action with uncertain results, such as tossing a coin or rolling a die.
  • An outcome is one possible result: heads, or a 4 on the die.
  • An event is an outcome or group of outcomes we are interested in, such as 'getting an even number'.
  • Favourable outcomes are the outcomes that make the event happen.

The formula. When all outcomes are equally likely,

Probability of an event = number of favourable outcomes ÷ total number of possible outcomes

Coin. A toss has 2 outcomes, H and T. For heads, 1 outcome is favourable, so P(heads) = 1/2 = 0.5. Likewise P(tails) = 1/2.

Die. A standard die has 6 faces: 1, 2, 3, 4, 5, 6. P(getting 4) = 1/6. The event 'even number' has the favourable outcomes 2, 4 and 6, so P(even) = 3/6 = 1/2. P(number greater than 4) = 2/6 = 1/3, since only 5 and 6 qualify.

Bag of balls. A bag has 7 red and 3 blue balls. A ball is drawn without looking. There are 10 possible outcomes. P(red) = 7/10 = 0.7 and P(blue) = 3/10 = 0.3.

Key facts.

  • Every probability lies between 0 and 1. It can also be written as a percentage from 0% to 100%.
  • A probability of 0 means the event is impossible; 1 means it is certain.
  • The probabilities of all the possible outcomes add up to 1: P(red) + P(blue) = 0.7 + 0.3 = 1.
  • So P(event does not happen) = 1 - P(event happens). If P(rain) = 0.7, then P(no rain) = 0.3.

Probability is about the long run. P(heads) = 1/2 does not mean that in 10 tosses you will get exactly 5 heads. You might get 3 or 7. But over thousands of tosses the fraction of heads gets close to 1/2. This idea of long-run frequency is also how probabilities are estimated from data when outcomes are not equally likely: if it rained on 120 of the last 400 July days, the estimated probability of rain on a July day is 120/400 = 0.3.

Probability in AI. AI systems express their answers as probabilities. An image classifier may output: cat 0.92, dog 0.07, rabbit 0.01, which add up to 1. It reports 'cat' because that has the highest probability, and the 0.92 shows how confident it is.

Formulas to remember
  1. P(E) = favourable outcomes ÷ total outcomes
  2. 0 ≤ P(E) ≤ 1
  3. P(not E) = 1 - P(E)
Whenan event has more favourable outcomesThenits probability is higher
Whenthe probability of an event is pThenthe probability that it does not happen is 1 - p

3Worked example

A die is rolled once. Find the probability of getting a number less than 3, and of not getting it.
Step 1Favourable outcomes: 1 and 2, so 2 outcomes.
Step 2Total outcomes: 6.
Step 3P(less than 3) = 2/6 = 1/3.
Step 4P(not less than 3) = 1 - 1/3 = 2/3.
More examples
  • P(heads) = 1/2
  • P(even on a die) = 3/6 = 1/2
  • P(red) = 7/10 from a bag of 7 red and 3 blue
  • Image classifier: cat 0.92, dog 0.07, rabbit 0.01

4Your turn

With one throw of a 6-sided die, what is the probability of getting an even number?

5Remember this

One line to keepProbability = favourable outcomes ÷ total outcomes; it lies between 0 and 1, and all outcomes add to 1.
Common mistake. Expecting exactly 5 heads in 10 tosses. Probability describes the long run, not each small set.
Topic 7 of 8
🤖7

Types of events: from impossible to certain

By the end you canClassify events as certain, likely, equal probability, unlikely or impossible and place them on the probability scale.

1Think first

Is rolling a 7 on an ordinary die unlikely or impossible?No wrong answer. Think for a moment, then read on.

2The idea, in plain words

Think about these: the sun rising in the east tomorrow; rolling a 7 on an ordinary die; getting heads on a coin; picking a red ball from a bag with 7 red and 3 blue. Some are sure to happen, some can never happen, and some lie in between. Describing how likely an event is in words is the first step in probability.

Type of eventMeaningProbabilityExample
Certainwill happen without doubt1a number from 1 to 6 on a die
Likelymore likely to happen than not, or more likely than another eventbetween 0.5 and 1a red ball from 7 red and 3 blue
Equal probabilityeach outcome has the same chanceequal shares, e.g. 0.5 each for two outcomesheads or tails on a fair coin
Unlikelyless likely to happen than not, or less likely than another eventbetween 0 and 0.5a blue ball from 7 red and 3 blue
Impossiblecannot happen0a 7 on an ordinary die

The probability scale. These words sit along a line from 0 to 1 (see the figure). Impossible is at 0, certain at 1, and an even chance at the middle, 0.5. Events near 1 are likely; those near 0 are unlikely.

The bag of stars. A bag holds 7 yellow stars and 3 green stars. Without looking, you pick one.

  • It is likely that you pick a yellow star (7/10 = 0.7).
  • It is unlikely that you pick a green star (3/10 = 0.3).
  • It is impossible to pick a red star (0/10 = 0), as there are none.
  • If you remove 4 yellow stars, 3 yellow and 3 green remain, so there is an equal probability of picking yellow or green (3/6 each).
  • You will certainly pick a star (10/10 = 1), since everything in the bag is a star.

A relatable example. You want to go to a friend's party, and your parents make a deal. If they say 'you can go if pigs fly', your chance is impossible. If they say 'you can go if you finish your homework', and you always do, it is certain. If they say 'we will toss a coin', it is an even chance. If it depends on getting full marks in tomorrow's test, it may be unlikely; if it depends on simply tidying your room, it is likely.

Classify the CBSE exercise events. Tossing a coin and getting heads: equal probability (1/2). Rolling an 8 on a standard die: impossible. Throwing ten 5s in a row: possible but very unlikely, since the probability is (1/6) multiplied by itself ten times, which is about 0.000000017. Drawing a card of some suit from a full pack: certain, since every card has a suit.

Why AI cares. An AI model must know the difference between 'unlikely' and 'impossible'. A fraud-detection system flags transactions that are very unlikely for that customer, such as a large purchase in another country at 3 a.m., without treating them as impossible.

Formulas to remember
  1. Impossible = 0, Unlikely: between 0 and 0.5, Even chance = 0.5, Likely: between 0.5 and 1, Certain = 1
Whenan event has no favourable outcomesThenits probability is 0 and it is impossible
Whenevery outcome is favourableThenits probability is 1 and it is certain

3Worked example

A spinner has 8 equal parts: 4 red, 3 blue, 1 green. Describe the chance of landing on red, blue, green and yellow.
Step 1P(red) = 4/8 = 0.5: an even chance.
Step 2P(blue) = 3/8 = 0.375: unlikely.
Step 3P(green) = 1/8 = 0.125: very unlikely.
Step 4P(yellow) = 0/8 = 0: impossible.
More examples
  • Certain: Monday follows Sunday
  • Likely: rain in Mumbai on a July day
  • Equal: boy or girl in a coin-toss game
  • Impossible: rolling 0 on a die

4Your turn

'Getting seven when throwing an ordinary die' is

5Remember this

One line to keepEvents range from impossible (0) to certain (1), with unlikely, even and likely in between.
Common mistake. Calling a very rare event impossible. If it can happen at all, it is unlikely, not impossible.
Topic 8 of 8
🎲8

Applications of probability

By the end you canExplain how probability is applied in sports, weather forecasting, traffic estimation and AI systems.

1Think first

What does '70% chance of rain' really mean?No wrong answer. Think for a moment, then read on.

2The idea, in plain words

You use probability every day without writing any fractions. You carry an umbrella because rain looks likely; you leave early because traffic is usually heavy at 6 p.m. The CBSE course highlights three areas where probability is applied, and each is also a place where AI is now used.

1. Sports. Teams estimate probabilities from past performance. Suppose a batter scored 45 of her last 100 runs in boundaries. A simple estimate is that about 45% of her runs in the next match will also come from boundaries, so the captain may post fielders on the boundary. Win-probability charts on cricket broadcasts work the same way: from thousands of past matches, they estimate the chance that a team chasing a given target with a given number of wickets and balls left will win.

2. Weather forecasting. A forecast of '70% chance of rain between 4 p.m. and 6 p.m.' means that, on days with similar conditions in the past, it rained in that period about 7 times out of 10. It gives a medium-to-high likelihood, not a promise. So P(no rain) = 1 - 0.7 = 0.3: three similar days in ten stay dry. Farmers decide when to sow and spray, and cities prepare drains, using such probabilities.

3. Traffic estimation. From experience of the time of day, the area of the city and the weather, people judge how bad traffic is likely to be. If you think there is a 90% chance that traffic near you will be heavy between 6 p.m. and 7:30 p.m., you might wait until later to leave. Navigation apps do this on a large scale: they combine live speeds from many phones with historical patterns to estimate the probable travel time on each route and suggest the fastest one.

More examples.

  • Insurance: companies set premiums from the probability of accidents or illness in each age group.
  • Medicine: doctors weigh the probability that a test result is correct and that a treatment will work.
  • Games: in Ludo, the chance of rolling the 6 you need is 1/6 on each throw.
  • Quality control: a factory estimates the probability that an item is faulty by testing a sample.

Probability inside AI. Most AI systems work with probabilities rather than certainties:

AI systemProbability it estimatesDecision
Spam filterchance that an email is spammove to spam if the chance is very high
Phone keyboardchance of each possible next wordsuggest the three most likely words
Medical image screeningchance that a scan shows diseaserefer patients above a set chance to a doctor
Navigation appchance of delay on each routesuggest the route with the best expected time

A caution. A probability is not a promise. A 90% chance of a sunny day still leaves a 10% chance of rain, and on some days that is what happens. Good decisions use probability to weigh risks: carrying an umbrella costs little, so even a 30% chance of rain may justify it, while an important decision may need a much higher probability before you act.

Formulas to remember
  1. Estimated probability = number of times an event happened ÷ number of trials
  2. P(not E) = 1 - P(E)
Whenan event has happened often in similar past situationsThenits estimated probability is high
Whenthe cost of being wrong is smallThenyou may act even on a moderate probability

3Worked example

A route was heavily jammed on 18 of the last 24 weekday evenings. Estimate the probability of a jam this evening and of no jam.
Step 1Estimated P(jam) = 18 ÷ 24 = 0.75, or 75%.
Step 2P(no jam) = 1 - 0.75 = 0.25, or 25%.
Step 3A jam is likely, so leaving at a different time or taking another route is sensible.
Step 4The estimate assumes this evening is like the past evenings.
More examples
  • 70% chance of rain
  • Navigation app predicting a 25-minute trip
  • Win-probability chart in a cricket match
  • Phone keyboard suggesting the next word

4Your turn

A forecast says there is a 30% chance of rain. What is the chance of no rain?

5Remember this

One line to keepProbability guides decisions in sports, weather, traffic and AI systems, but it measures chance, not certainty.
Common mistake. Treating a forecast of 70% rain as a promise that it will rain.

Key Concepts

Pattern
An order or arrangement that repeats in a predictable way, allowing missing or next values to be predicted.
Statistics
The branch of mathematics for collecting, exploring and analysing data and drawing conclusions from it.
Linear algebra
Mathematics of vectors, matrices and equations, used by AI to handle large sets of numbers and find unknown values.
Calculus
Mathematics of change (such as slope), used to train and improve AI models step by step.
Probability
A number from 0 to 1 that measures how likely an event is to happen.
Mean
The sum of the values divided by the number of values.
Median
The middle value when data is arranged in order, or the average of the two middle values.
Mode
The value that occurs most often in a dataset.
Range
The difference between the largest and the smallest value.
Descriptive statistics
Measures, tables and charts that describe and summarise a dataset.
Tally marks
Strokes recorded for each observation, grouped in fives, used for quick counting.
Frequency
The number of times a value occurs in a dataset.
Experiment and outcome
An experiment is an action with uncertain results; an outcome is one possible result.
Event
One outcome or a group of outcomes of interest, such as getting an even number.
Certain event
An event that will surely happen; its probability is 1.
Impossible event
An event that cannot happen; its probability is 0.
Likely and unlikely events
Events with a higher or lower chance of happening than not (or than another event).
Equal probability events
Events whose outcomes all have the same chance, such as heads and tails.

End-of-Chapter Trial Paper & Test Questions

Topic-wise questions to test your understanding of every concept in this chapter.

  1. Why does AI need mathematics? / AI को गणित की आवश्यकता क्यों है?
    Show answer

    Mathematics is the study of patterns and AI works by recognising patterns in numbers, images and text, so it needs mathematics to measure data, learn patterns and make decisions. / गणित पैटर्न का अध्ययन है और AI संख्याओं, चित्रों और पाठ में पैटर्न पहचानकर काम करता है, इसलिए उसे डेटा मापने, पैटर्न सीखने और निर्णय लेने के लिए गणित चाहिए।

  2. Find the next term: 4, 10, 16, 22, 28. / अगला पद ज्ञात कीजिए: 4, 10, 16, 22, 28।
    Show answer

    Each term is 6 more than the one before it, so the next term is 28 + 6 = 34. / प्रत्येक पद पिछले पद से 6 अधिक है, इसलिए अगला पद 28 + 6 = 34 है।

  3. Match the areas of mathematics with their use in AI. / गणित के क्षेत्रों का AI में उनके उपयोग से मिलान कीजिए।
    Show answer

    Statistics is used for exploring data, linear algebra for finding unknown or missing values, probability for predicting events, and calculus for training and improving models. / सांख्यिकी डेटा की खोज के लिए, रैखिक बीजगणित अज्ञात या लुप्त मान ज्ञात करने के लिए, प्रायिकता घटनाओं के पूर्वानुमान के लिए और कलन मॉडल के प्रशिक्षण और सुधार के लिए उपयोग होता है।

  4. Find the median of 155, 160, 145, 149, 150, 147, 152, 144, 148. / 155, 160, 145, 149, 150, 147, 152, 144, 148 की माध्यिका ज्ञात कीजिए।
    Show answer

    Arranged in order the values are 144, 145, 147, 148, 149, 150, 152, 155, 160, and the 5th value is the middle one, so the median is 149. / क्रम में रखने पर मान 144, 145, 147, 148, 149, 150, 152, 155, 160 हैं और पाँचवाँ मान बीच का है, इसलिए माध्यिका 149 है।

  5. Cases admitted in five age groups were 5, 7, 9, 22 and 11. Find the mean. / पाँच आयु वर्गों में भर्ती मामले 5, 7, 9, 22 और 11 थे। माध्य ज्ञात कीजिए।
    Show answer

    The total is 54 and there are 5 values, so the mean is 54 ÷ 5 = 10.8 cases. / कुल योग 54 है और मान 5 हैं, इसलिए माध्य 54 ÷ 5 = 10.8 मामले है।

  6. Give two applications of statistics in real life. / वास्तविक जीवन में सांख्यिकी के दो उपयोग बताइए।
    Show answer

    Disaster management uses records of past disasters and population to plan warnings and relief, and weather forecasting compares present measurements with past seasons to predict weather. / आपदा प्रबंधन में पिछली आपदाओं और जनसंख्या के आँकड़ों से चेतावनी और राहत की योजना बनती है, और मौसम पूर्वानुमान में वर्तमान मापों की तुलना पिछले मौसमों से की जाती है।

  7. What is the probability of getting a head when a coin is tossed once? / एक सिक्का एक बार उछालने पर चित आने की प्रायिकता क्या है?
    Show answer

    There are 2 equally likely outcomes and 1 is favourable, so the probability is 1/2, which is 0.5. / 2 समान संभावना वाले परिणाम हैं और 1 अनुकूल है, इसलिए प्रायिकता 1/2 अर्थात 0.5 है।

  8. Define certain and impossible events with examples. / निश्चित और असंभव घटनाओं को उदाहरण सहित परिभाषित कीजिए।
    Show answer

    A certain event will surely happen and has probability 1, such as getting a number from 1 to 6 on a die, while an impossible event cannot happen and has probability 0, such as getting 7 on a die. / निश्चित घटना अवश्य होती है और उसकी प्रायिकता 1 है, जैसे पासे पर 1 से 6 के बीच संख्या आना, जबकि असंभव घटना नहीं हो सकती और उसकी प्रायिकता 0 है, जैसे पासे पर 7 आना।

  9. A bag has 7 yellow and 3 green stars. Is picking a green star likely or unlikely? / एक थैले में 7 पीले और 3 हरे तारे हैं। हरा तारा निकालना संभावित है या असंभावित?
    Show answer

    Picking a green star is unlikely, because its probability is 3/10 = 0.3, which is less than 0.5. / हरा तारा निकालना असंभावित है, क्योंकि इसकी प्रायिकता 3/10 = 0.3 है जो 0.5 से कम है।

  10. How do navigation apps use probability? / नेविगेशन ऐप प्रायिकता का उपयोग कैसे करते हैं?
    Show answer

    They combine live traffic speeds with past patterns for that time and place to estimate the likely delay on each route and suggest the route with the best expected travel time. / वे वर्तमान यातायात गति को उस समय और स्थान के पिछले पैटर्न के साथ जोड़कर हर मार्ग पर संभावित देरी का अनुमान लगाते हैं और सबसे अच्छे अपेक्षित समय वाला मार्ग सुझाते हैं।

Related Laws & Principles

Explore all

Foundational laws & principles behind this chapter. Each one opens a full page — what it says, why it matters, five practice questions and the mistakes to avoid.

Loading related laws…
Sourced from 0 content files · LLOS Learn · browse all chapters