Maths For AI
Maths For AI
MATHSFOR AI
(STATISTICS &PROBABILITY)
Learning Outcomes
Related?
How are Maths and AI " Essential Mathematics for
Statistics Al
Statistics? Application of Statistics
. What is Probability in " Applications of Probability
kamatics is crucial to artiticial intelligence (AI)
for developing, assessing, and because it provides the theoretical foundation and
optimising
nwering machines to prOcess, analyse, and interpretAl systems. It is the backbone of Al algorithms and practical
models,
hneneral, mathematics
vast amounts of data.
guarantees that Al models are precise, effective, and able to resolve
challenging issues.
How are Math and AI related?
Mathematics and AI are interconnected fields, with
Al algorithms. Patterns are repeating mathematics supplying the theoreticalfoundations for many
designs or sequences that can be observed in numbers,
languages, or objects in our surroundings. They follow a specific order or shapes, images,
recognisable. Mathematics aids in the study of these patterns. These arrangement, making them easily
patterns allow you to solve
help identify an order or arrangement in lists of images or numbers. They are present everywhere puzzles. They
around us.
Patterns in Numbers
Number patterns, often simply referred to as patterns, are sets of
numbers that follow a specific order or rule.
Inere are various types of number patterns, including
Fibonacci, geometric, algebraic, and arithmetic patterns.
Some tricks are given below for finding the patterns in numbers:
"
Number Sequences: Look for asequence where each number is related to the one before it in a specific way.
This could be:
Adding a constant value (e.g., 1, 4, 7, 10.. +3 each time)
Multiplyingby aa constant value (e.g., 2, 4, 8, 16... x2 each time)
rollowing a formula (e.q. 2n + 1: 3, 5, 7, 9...)
"
Series: Analyse aseries of numbers to identify the underlying rule for example square series, cube series, etc.
"
Even or Odd: Is
the sequence made of even numbers (2, 4, 6.) or odd numbers (1, 3, 5..)?
Prime or Composite: Are the numbers prime (only divisible by 1 and itself) or composite (divisible by more
than two numbers)?
Fibonacci Sequence: This famous sequence starts with 0and 1, and each subsequent number is the sum of the
two
preceding numbers (0, 1, 1, 2, 3, 5, 8...).
Maths for Al (Statistics & Probability) 81
Patterns in Images
Patterns in images refer to recurring visual elements or structures that can be recognised and analysed within
and utilised for various purposes, includin
the context of an image. These patterns can be detected
enhancement.
recognition, classification, compression, and
multiple
" Repeating shapes: Look for shapes that appear
times in the image.
Are they of the same size and colour?
Do they form a larger shape?
where
" Symmetry: Does the image have a mirror effect
one side reflects the other?
Is it symmetrical vertically, horizontally, or both?
2
" Colour patterns: Are there repeating colours or a specific
colour scheme used?
Do the colours alternate or follow a gradient?
colour, or position in apredictable way?
" Progression: Do the elements in the image change in size,
Logical Reasoning
Problem Solving &
Ai Task
1. Identify a pattern in the given image?
2 Find the missing numbers in the given series and draw the pattern.
4 25 36
0 1
2 Fill in the missing number and find the next number in the
given series?
3,6, 12, 24, 96,
3. ldentify the highest temperature in the given graph and mention the time of it.
Temperature v/s Time
Temperature
60
30
10 A 2 AM 6 AM
Time
Statistics
Statistics is used for collecting, exploring. and analysing the data. It also helps in concluding data.
Systems to detect patterns, identify It
" Data is relationships, and infer conclusions from data.
collected from various sources. enables
AJ
" Data is
explored and cleaned to be used.
" The analysis of data
is done to
Conclusions and decisions can understand
" it better.
be made from the data.
Let's consider an example to
A school wants to illustrate these steps:
grades.
improve the performance of its students and decides to collect data on
study habits and
Collecting Data: The school conducts a survey
study each week and their where students report the number of hours they
grades in various subjects.
Exploring and Cleaning Data: The school first looks at
range of study hours and grades. the data to find patterns, like the
They also clean the data by fixing any
didn't fill in all the fields or gave missing or incorrect information (e.g., if some
unrealistic answers). students
Analysing Data: The school summarises the isasi
They also check if there is a average study hours and grades to get an
significant relationship between study hours and overview. Autho
grades.
Drawing Conclusions: The analysis might
to have higher reveal that students who study
grades. Based on this conclusion, more hours tend The d
support programs to encourage students to the school might decide to implement study
study more.
ete
Thus, we can say statistics helps in
and strategies in various fields suchtransforming the raw data into Satisti
as business, meaningtul insights, enabling better
healthcare,education, and more. decisions zapt
Satisti
Brainy Fact Drase
During the COVID-19 pandemic,
statistical models were used to predict the
allocate medicalresources efficiently.
these models helped reduce the The World Health
Organization (WHO)
spread of the virus and VBATH
strain on healthcare systems by reported in 2020 tha+
optimising resource distribution
)Application of Statistics
Statistics
in
can be used in
numerous fields
decision-making. Let us discuss some because of its
of the fields ability to extract meaningful insights
where from data and
84
Touchpad Artificial Intelligence (Ver. statistics used.
is aseie.
2.0)-1X
Sports
Statistics helps you to assess how well players perform, how
plan their games, and
the results of matches.
teams
Statistics gives data that helps you make smart decisions
10.6
about hiring players, training them, performance monitoring,
preventinginjury, and planning game strategies.
, Studying opponents' strengths and weaknesses to devise
bettergame plans.
The Tokyo 2020 Olympics were postponed due to the
developing global situation of the Covid-l19 pandemic. Statistics revealed that COVID
Japan during the planned period of the Olympics. cases sharply increased in
Education
Analysing test scores and grades to evaluate student learning,
areas for improvement and allocate resources identify
effectively.
Using data to identify gaps in the curriculum and
areas where
students need more support.
Analysing how students and teachers use educational
future implementations. technology for
Statistics helps in determining the average skills of
students in a
particular school or grade. This information shows which
more focus and help improve education areas need
strategies.
Disaster Management
" Authorities use statistics in analysing existing risks and alert the citizens 96 96
Options of Voters
VOTE " Statistics are used in elections to enhance
CVOTE
transparency
voters and encourage voters to partiCipate in elections
" By surveying a group of voters and
analysing the
statistics can reveal what the majority of people think resut
ah.
political candidates, policies, or upcoming elections. This hal.
politicians and decision-makers to understand
public opinion,
Statistics play an important role in Election
Forecastsbased
Campaign Strategies and micro-target individuals , making
available data.
Ai Reboot
Explain any two applications of statistics in education.
coini s
Whena probability of getting a head?
the
Whati s
P(Head) = 1
1
seethe
chances of getting head is and the chances of getting tail is 1
So, we 2
Therefore, we conclude that when we toss a coin, there are equal chances of getting a head or a tail.
Letustakeanother example, consider the probability of rolling a fair six-sided die.
six-sided die has six faces numbered fromn 1to 6.
Afair
Theprobability of rolling any specific number (say, 3) on afair six-sided die is calculated as,
Number of favourable outcomes (rolling a 3) = 1
Total number of possible outcomes = 6 (since there are 6 faces on the die)
So, the
probability of rolling a 3 on a fair six-sided die is:
P(6) =
number of favourable outcomes
S
total number of possible outcomes =
oURTE
AiTask
About
A deck the Game 52 cards is grouped into four suits of clubs, diamonds, hearts, and spades Each of
containing
have 13 cards each, which sum up to b2.
the clubs, diamonds. hearts. and spades
Game Structure
heart from a standard deck of 52
cards?
rina the probability of drawing a
cards?
drawing a spade or diamond from a standard deck of 52
What is the probability of
When discussing probability, we often rely on specific terms to describe the likelihood of events occurring. Le
oftenreferan and
Intelligence
algorithms. images
Al patterns,
of
theory essential
context
is
involving
for
used branch
be
situation.
exact
t
ofscence
an of sUcof
Education
useddifferent
of
. example,
isProbability
helps reflect
example,
is tools
Mathematics Mathematics
practical
in the
algebra
Probability is is
Calculus
can in is
a
robability
assist qiven
austics
Statistics
chances Artificial
Number Patterns
.Probability
Medicliendeicine,
not art
is ais an
and
on
hased
better within thoseLnear
and a
in
Eor the For can " " " " " " "