Artificial Intelligence

CBSE Class 9 AI Unit 3 Math for AI Notes (2026–27) | Statistics & Probability

Class 9 · Artificial Intelligence

CBSE Class 9 Artificial Intelligence Notes – Unit 3: Math for AI (Statistics & Probability) (2026–27)

Mathematics is one of the strongest foundations of Artificial Intelligence. Every AI system uses mathematics to understand data, identify patterns, make predictions, and improve its performance over time.

This unit introduces the relationship between Mathematics and Artificial Intelligence and explains how concepts such as Statistics and Probability help AI systems solve real-world problems.


Topics Covered

  • Importance of Mathematics in Artificial Intelligence
  • Relationship between Math and AI
  • Pattern Recognition
  • Mathematical Concepts Used in AI
  • Statistics
  • Applications of Statistics
  • Probability
  • Applications of Probability

PART 1 : Importance of Math in Artificial Intelligence

1. Relationship Between Mathematics and AI

Mathematics and Artificial Intelligence are closely connected because both are based on identifying and understanding patterns.

Whenever humans solve puzzles or identify relationships among numbers, images or objects, they are actually recognising patterns. AI works in a similar way.


Mathematics is the Study of Patterns

Mathematics helps us discover order and relationships among numbers, shapes, symbols and data.

For example, while solving a number puzzle, we try to identify how one number is related to the next number. This relationship is known as a pattern.

Patterns exist everywhere:

  • Numbers
  • Images
  • Language
  • Weather
  • Business Data
  • Scientific Observations

Artificial Intelligence is a Way to Recognize Patterns

Artificial Intelligence also learns by recognising patterns.

Instead of solving mathematical puzzles manually, AI analyses huge amounts of data and automatically discovers hidden relationships.

AI can recognise patterns in different types of data such as:

  • Numbers
  • Images
  • Speech
  • Text

Once these patterns are identified, AI can make predictions, classify information and solve complex problems.


The Language Understood by Machines

Humans can understand pictures, graphs and written language easily. However, computers understand information only in the form of binary numbers (0 and 1).

Therefore, every image, sound, video, graph or document must ultimately be converted into numbers before an AI system can process it.

Mathematics provides the techniques required to represent these numbers and identify meaningful relationships between them.


Practical Examples of Pattern Recognition

Example 1 – Number Series

Consider the following number sequence:

2, 4, 6, 8, 10, 12 ...

A human immediately recognises that every number increases by 2.

Therefore, the next number in the series is:

14

Similarly, AI also identifies this mathematical pattern and predicts future values.


Example 2 – Profit Prediction

Suppose a business earns:

Year Profit
Year 1 ₹1000
Year 2 ₹1500
Year 3 ₹2000

AI observes that the profit increases by ₹500 every year.

Using this recognised pattern, the AI predicts future profits for upcoming years.


Example 3 – Visual Pattern Recognition

Sometimes two objects appear very similar to humans.

Famous example of identifying the difference between a:

  • Chihuahua (Dog)
  • Blueberry Muffin

Although these objects may appear similar in certain images, Computer Vision models identify tiny visual differences and correctly classify them.


Example 4 – Hurricane Prediction

Weather forecasting systems analyse atmospheric data collected over many years.

By recognising weather patterns, AI predicts the possibility of hurricanes, storms and heavy rainfall before they occur.

These predictions help governments issue early warnings and reduce the impact of natural disasters.


Mathematical Concepts Used in Artificial Intelligence

Artificial Intelligence mainly uses four branches of Mathematics.

Mathematical Concept Purpose in AI Example
Statistics Exploring and analysing data. Finding the middle value or the most common value.
Calculus Training and improving AI models. Finding which line is steeper or measuring area.
Linear Algebra Finding unknown or missing values. Total number of plants or vehicles.
Probability Predicting future events. Coin Toss, Rain Prediction.

The Four Important Mathematical Problems Solved by AI

The handbook explains that AI commonly solves four different categories of mathematical problems.

1. Finding Middle Values

AI can determine the middle value of a dataset.

Example:

11, 22, 33, 44, 55

The middle value is 33.


2. Calculating Totals

AI can calculate totals from different inputs.

Example:

  • A has 2 plants.
  • B has 3 plants.
  • C has 1 plant.
  • D has 7 plants.

Total Plants = 13


3. Measuring Slant

Using Calculus, AI compares the slopes of different lines and determines which line is steeper.

This concept is widely used while training Machine Learning models.


4. Predicting Results

Using Probability, AI predicts the chances of different future events.

Examples include:

  • Coin Toss
  • Rain Prediction
  • Sports Match Prediction
  • Traffic Estimation

Key Takeaway

Mathematics forms the foundation of Artificial Intelligence because computers understand everything as numbers. Mathematical concepts help AI identify patterns, analyse relationships, make predictions and continuously improve intelligent systems.


PART 2 : Statistics

Statistics is one of the most important branches of Mathematics used in Artificial Intelligence. AI systems collect huge amounts of data every day, but raw data alone is not useful. Statistics helps AI organize, analyse and understand this data so that intelligent decisions can be made.

Whether it is predicting weather, analysing sports performance, forecasting diseases, or understanding customer behaviour, statistics plays a vital role in every AI application.


1. What is Statistics?

Statistics is the science of collecting, exploring, analysing and interpreting data to draw meaningful conclusions and support decision-making.

Instead of simply looking at numbers, statistics helps us understand what those numbers actually mean.


The Statistical Process

Statistics follows four important stages.

Stage Description
1. Collection Gathering raw facts and figures from different sources.
2. Cleaning & Exploring Organising the collected data and removing errors or unwanted values.
3. Analysis Studying the data carefully to identify trends and patterns.
4. Decision Making Drawing conclusions and making informed decisions based on the analysed data.

Step 1 – Collection

The first step is collecting data from reliable sources.

Data may be collected through:

  • Surveys
  • Questionnaires
  • Experiments
  • Sensors
  • Government Reports
  • Observation

Without accurate data collection, meaningful analysis is not possible.


Step 2 – Cleaning & Exploring

Collected data usually contains duplicate records, missing values or errors.

Before analysis, the data must be cleaned and organised properly.

This process includes:

  • Removing duplicate entries.
  • Correcting errors.
  • Organising information into tables.
  • Preparing the dataset for analysis.

Clean data improves the accuracy of AI models.


Step 3 – Analysis

Once the dataset has been cleaned, statisticians and AI systems analyse it to discover useful information.

Analysis helps answer questions such as:

  • Which value appears most frequently?
  • What is the average value?
  • Is there any pattern?
  • Is one variable related to another?

AI uses these statistical relationships to make intelligent predictions.


Step 4 – Decision Making

The final objective of statistics is making better decisions.

After analysing the available information, organisations can confidently decide the next course of action.

For example:

  • A school may decide to introduce extra mathematics classes after analysing students' performance.
  • A hospital may increase vaccination drives after studying disease statistics.
  • A company may launch a new product after analysing customer preferences.

Use of Statistics in Artificial Intelligence

Artificial Intelligence uses statistics to identify hidden patterns in data and solve real-world problems across different industries.


1. Sports

Statistics helps AI analyse the past performance of players and teams to predict future performance.

Examples include:

  • Batting averages
  • Winning probabilities
  • Player rankings
  • Performance comparison

Example

The Tokyo 2020 Olympic Games were postponed because statistical analysis showed that COVID-19 cases were increasing rapidly in Japan during the planned period of the event.

This demonstrates how statistics can influence important international decisions.


2. Disaster Management

Governments and disaster management agencies use statistics to prepare for natural disasters before they occur.

AI analyses statistical information such as:

  • Population density
  • Hospital availability
  • Road networks
  • Weather conditions
  • Previous disaster records

This information helps authorities plan rescue operations and provide timely assistance.


3. Disease Prediction

Health departments continuously analyse disease statistics to understand how illnesses spread across different regions.

Statistical analysis helps governments:

  • Identify disease hotspots.
  • Monitor increasing infection rates.
  • Plan vaccination campaigns.
  • Allocate medical resources efficiently.

This enables faster responses during disease outbreaks.


4. Weather Forecasting

Weather forecasting systems compare current atmospheric conditions with historical weather records collected over many years.

Using statistical analysis, AI predicts:

  • Rainfall
  • Storms
  • Temperature changes
  • Cyclones
  • Heat waves

These predictions help people prepare for changing weather conditions.


5. Daily Life Insights

Statistics is also used to answer many everyday questions.

Examples:

  • Determining the reading level of students in a school.
  • Studying voters' opinions before an election.
  • Finding the average weight of residents living in a city.

These examples show how statistics helps us understand people, communities and society more effectively.


Why AI Uses Statistics

Statistics allows AI systems to:

  • Explore large datasets.
  • Identify hidden patterns.
  • Calculate averages and middle values.
  • Find the most common values.
  • Support evidence-based decision making.
  • Improve prediction accuracy.

Practical Activity: Car Spotting & Tabulating

Statistics through an interesting activity called Car Spotting. This activity demonstrates how Artificial Intelligence works with data in real life—from collecting information to drawing meaningful conclusions.

Instead of directly making decisions, AI follows the same sequence:

Collect Data → Analyse Data → Interpret Data → Make Decisions


Step 1 – Data Collection

Imagine you are standing near a busy road for a few minutes and recording the colours of passing cars.

Every time you see a car, you place a tally mark in the appropriate column.

Car Colour Tally Marks Total
Red ||||| || 7
Black ||||| ||||| 10
White ||||| ||||| ||| 13

This table represents the raw data collected during observation.


Step 2 – Data Analysis

Once data has been collected, the next step is analysing it.

Questions that can be answered include:

  • How many cars were observed in total?
  • Which colour appeared most frequently?
  • Which colour appeared the least?
  • Is there any noticeable trend?

Example Analysis

Total Cars =

7 + 10 + 13 = 30 Cars

Most Common Colour:

White Cars (13)

Least Common Colour:

Red Cars (7)


Step 3 – Data Interpretation

Data Interpretation means understanding what the analysed data actually tells us.

From the previous activity, we may conclude that:

  • White cars are the most preferred colour in that locality.
  • Red cars are comparatively less popular.
  • Black cars have moderate popularity.

This process of converting numbers into useful information is exactly how Artificial Intelligence analyses datasets before making predictions.


How AI Uses Statistical Thinking

Artificial Intelligence follows the same workflow in almost every project.

Step AI Activity
Collect Gather large amounts of data.
Organise Clean and prepare the dataset.
Analyse Find patterns and relationships.
Interpret Understand what the data means.
Predict Use the discovered patterns to make future predictions.

Real-Life Examples of Statistics in AI

Education

Schools analyse students' examination results to identify weak subjects and improve academic performance.


Healthcare

Hospitals analyse patient records to understand disease trends and improve treatment planning.


Banking

Banks analyse customer transaction data to detect fraudulent activities and improve financial security.


E-Commerce

Online shopping platforms analyse customers' purchasing behaviour to recommend products.


Social Media

Platforms such as YouTube and Instagram analyse viewing statistics to recommend videos and posts based on user interests.


Interesting Fact

The handbook mentions an interesting statistical observation:

72% of teenagers check their mobile phones immediately after waking up.

This is an example of how statistics helps researchers understand people's behaviour and habits.


Key Revision Points – Statistics

  • Statistics is the science of collecting, exploring, analysing and interpreting data.
  • The statistical process consists of:
    • Collection
    • Cleaning & Exploring
    • Analysis
    • Decision Making
  • Statistics helps Artificial Intelligence understand large datasets.
  • AI uses statistics to identify patterns before making predictions.
  • Applications of Statistics include:
    • Sports
    • Disaster Management
    • Disease Prediction
    • Weather Forecasting
    • Education
    • Business
  • The Tokyo 2020 Olympics were postponed after statistical analysis showed a rapid increase in COVID-19 cases.
  • Disaster management teams analyse population density and infrastructure before planning rescue operations.
  • Governments analyse disease statistics to plan vaccination drives.
  • Weather forecasting compares present weather conditions with historical weather records.
  • The Car Spotting activity explains how AI converts raw data into meaningful information.
  • Statistics helps identify:
    • Middle values
    • Average values
    • Most common values
    • Patterns
    • Trends

Exam Tips

  • Learn the four stages of the Statistical Process in the correct order.
  • Remember the complete Car Spotting activity because it explains Collection, Analysis and Interpretation together.
  • Revise all applications of Statistics mentioned in the handbook:
    • Sports
    • Disaster Management
    • Disease Prediction
    • Weather Forecasting
  • Remember the Tokyo 2020 Olympics example.
  • Remember the statistic: 72% of teenagers check their phones after waking up.
  • Know why Statistics is important in AI:
    • Finding middle values
    • Finding the most common values
    • Understanding patterns
    • Supporting intelligent decision making

PART 3 : Probability

Probability is another important branch of Mathematics used in Artificial Intelligence. While Statistics helps AI understand past and present data, Probability helps AI predict what is likely to happen in the future.

Every day, AI systems estimate probabilities before making decisions. Whether predicting tomorrow's weather, estimating traffic, recommending videos, or detecting fraud, AI relies on probability to measure uncertainty.


1. What is Probability?

Probability is a mathematical measure of the likelihood or chance that an event will occur.

It tells us how likely an event is to happen based on the available information.

AI uses Probability to predict different future events.


The Probability Formula

The probability of an event is calculated using the following formula:

P(A) = (Number of Favourable Outcomes) / (Total Number of Possible Outcomes)

Where:

  • P(A) represents the probability of event A.
  • Favourable Outcomes are the outcomes we want.
  • Total Possible Outcomes include every possible result.

Example – Tossing a Coin

When a coin is tossed, there are only two possible outcomes.

  • Heads (H)
  • Tails (T)

Therefore,

Probability of Heads = 1/2

Probability of Tails = 1/2

Since both outcomes are equally likely, each has a probability of one-half.


2. The Probability Scale

Probability always lies between:

0 and 1

The closer the probability is to 1, the more likely the event is to happen.

The closer the probability is to 0, the less likely the event is to happen.


Probability = 0 (Impossible Event)

An impossible event has absolutely no chance of occurring.

Example

Picking a red ball from a bag that contains only blue balls.

Probability = 0


Unlikely Event

An unlikely event has a small chance of occurring.

Example

Getting six when a dice is rolled once.

The event is possible but not very likely.


Even Chance

An even chance means the event is equally likely to happen or not happen.

Example

Getting Heads or Tails while tossing a fair coin.

Both outcomes have equal probability.


Likely Event

A likely event has a high probability of occurring.

Example

A student who studies regularly is more likely to score good marks in the examination.


Probability = 1 (Certain Event)

A certain event is guaranteed to happen.

Example

The probability that it will rain in Florida at least once during a particular year is considered:

Probability = 1

This means the event is certain.


Probability Scale Summary

Probability Value Meaning Example
0 Impossible Event Picking a red ball from a bag containing only blue balls.
Between 0 and 0.5 Unlikely Event Rolling a six on a dice.
0.5 Even Chance Coin Toss.
Between 0.5 and 1 Likely Event Rain during monsoon season.
1 Certain Event Florida receiving rain during the year.

Why AI Uses Probability

Artificial Intelligence cannot always predict the future with complete certainty.

Instead, AI estimates the probability of different outcomes and selects the most likely one.

This helps AI make intelligent decisions even when complete information is unavailable.

Examples include:

  • Predicting tomorrow's weather.
  • Estimating traffic congestion.
  • Detecting fraudulent transactions.
  • Predicting disease outbreaks.
  • Recommending products online.
  • Suggesting videos on YouTube.

Relationship Between Statistics and Probability

Statistics Probability
Studies existing data. Predicts future events.
Finds patterns. Measures chances.
Analyses information. Makes predictions.
Looks at the past and present. Estimates the future.

Quick Revision

  • Probability measures the likelihood of an event.
  • Probability values always lie between 0 and 1.
  • An impossible event has probability 0.
  • A certain event has probability 1.
  • Coin Toss represents an even chance.
  • AI uses probability for prediction problems.
  • Probability helps AI make intelligent decisions under uncertainty.

Applications of Probability in Artificial Intelligence

Probability enables Artificial Intelligence systems to make intelligent predictions by estimating the likelihood of future events. Instead of giving definite answers, AI calculates the chances of different outcomes based on previous data and selects the most probable result.


1. Sports Analytics

Probability is widely used in sports to predict the future performance of players and teams.

AI analyses previous matches, player statistics and historical records to estimate future performance.

Example

If a batsman scored 45% of his runs through boundaries in previous matches, AI predicts that there is a high probability that the batsman will continue scoring many boundaries in the next match.

Such probability-based predictions help coaches, commentators and analysts make informed decisions.


2. Weather Forecasting

One of the most common applications of probability is weather forecasting.

Meteorological departments collect weather data over many years and compare it with present atmospheric conditions.

Using probability, AI predicts the likelihood of different weather events.

Example

There is a 70% chance of rain tomorrow.

This means rainfall is likely, although it is not absolutely certain.


3. Traffic Estimation

Navigation applications such as Google Maps use Artificial Intelligence and Probability to estimate traffic conditions.

AI analyses:

  • Current traffic flow
  • Historical traffic data
  • Road conditions
  • Time of the day
  • Special events

Based on these factors, AI predicts future traffic congestion.

Example

AI may estimate a 90% probability of heavy traffic between 6:00 PM and 7:30 PM, allowing commuters to choose an alternate route or travel at a different time.


4. Prediction Problems

Probability helps AI answer questions such as:

  • What will be the possible outcomes of a coin toss?
  • Will it rain tomorrow?
  • Will traffic be heavy?
  • Which team is more likely to win?

These prediction problems are solved using mathematical probability rather than guesswork.


How Statistics and Probability Work Together in AI

Statistics and Probability are closely related and are often used together while developing AI systems.

Statistics Probability
Collects and analyses existing data. Uses analysed data to predict future events.
Finds trends and relationships. Calculates the likelihood of future outcomes.
Helps AI understand patterns. Helps AI make intelligent predictions.
Works with historical data. Works with uncertainty.

Complete Revision Notes

  • Mathematics is the foundation of Artificial Intelligence.
  • Both Mathematics and AI are based on identifying patterns.
  • Computers understand information only in the form of binary numbers (0 and 1).
  • Mathematics helps AI discover relationships between different parameters.
  • AI recognises patterns in:
    • Numbers
    • Images
    • Speech
    • Text
  • Four mathematical concepts used in AI:
    • Statistics
    • Calculus
    • Linear Algebra
    • Probability
  • Statistics is used for:
    • Collecting data
    • Cleaning data
    • Analysing data
    • Decision Making
  • Applications of Statistics include:
    • Sports
    • Disaster Management
    • Disease Prediction
    • Weather Forecasting
  • The Tokyo 2020 Olympics were postponed after statistical analysis showed rising COVID-19 cases.
  • The Car Spotting activity demonstrates:
    • Data Collection
    • Data Analysis
    • Data Interpretation
  • Statistics show that 72% of teenagers check their phones immediately after waking up.
  • Probability measures the likelihood of an event.
  • Probability values always lie between 0 and 1.
  • Probability Formula:
    P(A) = Favourable Outcomes / Total Possible Outcomes
  • Impossible Event → Probability = 0
  • Certain Event → Probability = 1
  • Coin Toss represents an Even Chance.
  • AI uses Probability in:
    • Sports Prediction
    • Weather Forecasting
    • Traffic Estimation
    • Prediction Problems
  • Statistics helps AI understand past and present data, whereas Probability helps AI predict future events.

Important Examples to Remember

Topic Example
Pattern Recognition 2, 4, 6, 8, 10...
Business Prediction ₹1000 → ₹1500 → ₹2000 Profit
Computer Vision Chihuahua vs Blueberry Muffin
Statistics Tokyo 2020 Olympics
Statistics Activity Car Spotting
Interesting Fact 72% of teenagers check phones after waking up.
Probability Coin Toss
Weather 70% Chance of Rain
Traffic 90% Probability of Heavy Traffic

Exam Tips

  • Remember that Mathematics is called the heart of every AI model.
  • Learn all four mathematical concepts used in AI: Statistics, Calculus, Linear Algebra and Probability.
  • Memorise the examples of Pattern Recognition.
  • Revise the four stages of the Statistical Process.
  • Understand every application of Statistics and Probability with examples.
  • Practise questions based on:
    • Probability Scale
    • Coin Toss
    • Traffic Prediction
    • Weather Forecasting
    • Sports Analytics
  • Remember the Probability Formula and the meaning of:
    • Impossible Event
    • Unlikely Event
    • Even Chance
    • Likely Event
    • Certain Event
  • Know the difference between:
    • Statistics and Probability
    • Continuous and Discrete Data (from Unit 2)
    • Qualitative and Quantitative Data
  • Important One-Mark Questions:
    • What does AI use Statistics for?
      Answer: Exploring and analysing data.
    • Which mathematical concept helps AI predict future events?
      Answer: Probability.
    • Which mathematical concept finds unknown or missing values?
      Answer: Linear Algebra.
    • Which mathematical concept helps train AI models?
      Answer: Calculus.
    • What is the probability of an impossible event?
      Answer: 0.
    • What is the probability of a certain event?
      Answer: 1.

Conclusion

Artificial Intelligence depends heavily on Mathematics to understand data, discover patterns and make intelligent predictions. Statistics enables AI to collect, organise and analyse information, while Probability helps estimate the likelihood of future events. Together, these mathematical concepts allow AI systems to solve real-world problems efficiently in areas such as healthcare, weather forecasting, disaster management, sports, finance and transportation. A strong understanding of these concepts forms the foundation for learning Artificial Intelligence in higher classes.