Math For Ai
Math For Ai
Activity 1:
Purpose: observing and analyzing the numbers & Find the pattern.
Title:▪ Math
Findfor
theAImissing number in the following series:
Approach: Interactive Session + Activity
Learning2, 4, 6, 8, 10, 12, ?
objectives:
▪ Discuss the22,
4, 10, 16, applications
28, ? of Mathematics in AI.
▪ To know the different mathematical concepts important for understanding AI?
▪ How 34, 31,
are 28, 25, 22,and
statistics ? probability used in different AI applications?
▪ If Year
Summary: 1 Profit
In this was INR
chapter, 1000; are
Students Yearintroduced
2 Profit was
toINR
the1500; Year 3 Profit
mathematics was INR
required for 2000; Year an
designing 4 AI
Profitwill
project. They wasknow
INR 2500,
about can
the you predict
essential the profit forconcepts
mathematical Year 5? required to understand an AI project
from the basics. They will be introduced to mathematical concepts of linear algebra, calculus, statistics,
and probability through easy activities and examples. Learners will also be able to identify the use of
statistics and probability in everyday life.
Learning Outcomes:
▪ Students will be able to understand the importance of mathematics in the field of AI.
▪ Students will be able to identify the essential mathematical concepts required for the
understanding of A
▪ Students will be able to define statistics and probability and describe their applications in AI
Pre-requisites:
▪ Basic mathematical knowledge and analytical ability
▪ Basic familiarity with AI
Key- Concepts:
▪ Important mathematical concepts in AI
▪ Introduction to statistics and probability
Say “Just like we can recognize patterns in numbers, words, pictures, etc., AI can also recognize
similar patterns.”
Hence,
▪ Math is the study of patterns
▪ AI is a way to recognize patterns in order to take decisions
▪ AI needs Math to study and recognize patterns in order to take decisions
Can you identify any pattern in the image given below?
Activity 3:
Purpose: To find connections between sets of images and using that to solve problems, think smartly,
and grasp tricky ideas.
Understanding math will help us to better understand AI and its way of working, but what kind of math
is needed for AI?
Let us take a look!
Essential Mathematics for AI
▪ In the given figure, which of the two lines is more slanted? Line 1 or Line 2?
________________________________________
▪ A has 2 plants, B has 3 plants, C has 1 plant, D has 7 plants. How many plants are there in total?
_______________________________________
▪ If the coin shown in the figure below is used for a toss, what can be the possible result?
Just like us, AI can also solve 4 type of problems using Math.
Activity 4:
● Purpose: Uses of Statistics in real life.
● Write any two applications of Statistics in real life.
___________________________________________________________________________________
___________________________________________________________________________________
●
Some more applications of Statistics
Disaster Management
▪ Authorities use statistics to alert the citizens residing in places that might be affected by a natural
disaster in near future.
▪ The disaster management teams use statistics to know about the population, and about the
services and infrastructure present in the affected area.
Ask students to think about more ways in which statistics can be used for disaster management .
Sports
▪ The Tokyo 2020 Olympics were postponed due to the developing global situation in light of the
Covid-19 pandemic.
▪ Statistics revealed that COVID cases sharply increased in Japan during the planned period of
Olympics.
Ask learners to think of more ways in which statistics can be used in sports.
Disease prediction
▪ US government uses statistics to understand which disease is affecting the population the most.
▪ This helps them in curing these diseases more effectively.
▪ Example - government can analyze the areas where COVID cases are increasing, or where the
vaccination drive needs to be improved.
Weather forecast
▪ Computers use statistics to forecast weather.
▪ They compare the weather conditions with the information about past seasons and conditions.
Activity Guidelines
Data Collection
● Visit the following link:
https://www.youtube.com/watch?v=4A5L3x3TVuc&ab_channel=CarvingCanyons
● Fill the table while watching the video using tally.
Reference Tally
Data Analysis
● How many cars are spotted in total?
________________________________________________________________
● What is the most common colour choice for the residents of this area?
_______________________________________________________________
● Answer hint: The colour observed the maximum number of times.
_______________________________________________________________
3.3 Probability
Activity-6
Purpose: To understand the possibility of occurrence of an event.
Introduction to probability
Probability is a way to tell us how likely something is to happen. For example – When a coin is tossed,
there are two possible results or outcomes:
heads (H) or tails (T)
The probability equation defines the likelihood of the happening of an event. It is the ratio of favorable
outcomes to the total favorable outcomes. The probability formula can be expressed as,
Probability of an Event =
Number of Favorable Outcomes / Total Number of Possible Outcomes
We say that the probability of the coin landing H is ½ and the probability of the coin landing T is ½
When we talk about probability, we use a few terms that help us understand the chances for something
to happen.
Probability can be expressed in the following ways:
▪ Certain events: An event will happen without a doubt
▪ Likely events: The probability of one event is higher than the probability of another event
▪ Unlikely events: One event is less likely to happen than another event
▪ Impossible events: There's no chance of an event happening
▪ Equal Probability events: Chances of each event happening is same
The probability of an event occurring is somewhere between impossible and certain.
• If an event is certain or sure to happen, it will have a probability of 1.
For example, the probability that it will rain in the state of Florida at least once in a specific year is 1.
• If an event will never happen or is impossible, it will have a probability of 0.
For example, the probability that you can pick a red ball from a bag containing only blue balls is 0.
Imagine you have a bag full of stars where 7 stars are and 3 stars are
Try to fill in the blanks with – likely, unlikely, certainly, impossible, equal probability
LIKELY
1. If you pick a star from the bag without looking, it is __________ that you will pick .
UNLIKELY
2. If you pick a star from the bag without looking, it is __________ that you will pick a .
IMPOSSIBLE
3. If you pick a star from the bag without looking, it is __________ that you will pick a .
EQUAL PROBABILITY
4. If you remove 4 from the bag, and pick a star without looking, there is an __________ that
Scenario 3
Scenario 4
Hope the terms impossible, unlikely, even, likely and certain are clearer now!
Moving on, take a look at some applications of Probability in Real Life!
Probability - Applications
Sports
▪ Probability can be used in estimating batting average in Cricket.
▪ Batting average in Cricket represents how many runs a batsman
would score before getting out.
Weather Forecasting
▪ One of the most common real-life examples of using
probability is weather forecasting.
Traffic Estimation
▪ Regular people often use probability when they decide to drive to
someplace.
▪ For example, if you think there’s a 90% probability that traffic will
be heavy from 6 PM to 7:30 PM in your vicinity then you may
decide to wait during that time.
Let’s discuss
1. Does math play a crucial role in AI life cycle?
_____________________________________________________________________
2. What is statistics?
_____________________________________________________________________
3. What is probability?
_____________________________________________________________________
Key Takeaway:
1. Math is essential for understanding AI models in depth.
2. Different math concepts used for AI are Statistics, Probability, Linear Algebra and Calculus.
3. Applications of math can be found in everyday life.
Reflection
▪ Why is math necessary for designing an AI project?
Revision Time
Part A
1. Match the following:
A B
I) Probability a) exploring data
ii) Calculus b) finding out unknown or missing values
iii) Statistics c) predicting different events
iv) Linear Algebra d) training and improving AI model.
2. If you are to throw an arrow to this pie chart, in which color is the arrow more likely to fall?
a) Red
b) Blue
c) Yellow
d) Green
3. If you select a balloon without looking, how likely is it that you will pick a blue one?
a) Probable
b) Certain
c) Unlikely
d) Impossible
4. With one throw of a 6-sided die, what's the probability of getting an even number?
a) 1/5
b) 2/5
c) 5/6
d) 1/2
5. Which of the following is an equation?
a) 2x + 5
b) x + 2 = 4x
c) x^2 + 2x
d) 5 + 5x + 5x^2
6. What is the value of x? 10x-8=6x
a) 8
b) 4
c) 2
d) 6
7. Which two are examples of descriptive statistics?
a) Median and correlation.
b) Mean and standard deviation.
c) Mode and regression analysis.
d) Variance and Hypothesis testing.
8. What is the probability of getting head when you toss a coin once?
a) 0.75
b) 1
c) 0
d) 0.5
9. Getting seven in die throwing is a possible event. (True/False).
10. The median of the data: 155, 160, 145, 149, 150, 147, 152, 144, 148 is
a) 149
b)150
c)147
d)144
Answer the following question:
1. Explain the relationship between Mathematics and Artificial Intelligence, providing justification for
their interconnection.
2. Aman is confused, how probability theory is utilized in artificial intelligence, help Aman by providing
two examples to illustrate its importance.
3. Define Certain events and likely events with examples.
4. Write any two examples of Impossible and equal probability events.
5. Radhika collected the data of the age distribution of cases admitted during a day in a hospital.
Find the average number of cases admitted in hospital. Also, draw a line graph to represent the data
graphically.
6. Identify the likely, unlikely, impossible and equal probability events from the following
a. Tossing a coin
b. Rolling an 8 on a standard die
c. Throwing ten 5’s in a row
d. Drawing a card of any suite