Why AI needs maths
“I want to build AI,” says Rahat, “but I hate maths.” Then he remembers the talim, the trend line, the leaves.
- See a pattern and write it as a rule
- Let a spreadsheet carry the rule on
- Match questions to four branches of maths
Why AI needs maths
“I want to build AI,” says Rahat, “but I hate maths.” Then he remembers the talim, the trend line, the leaves.
- See a pattern and write it as a rule
- Let a spreadsheet carry the rule on
- Match questions to four branches of maths
Story
Rahat tells his cousin, who studies in Srinagar.
Learn it
Three sentences hold this whole unit together. Maths is the study of patterns, in numbers, pictures and language. AI is a way of recognising patterns in order to decide something. So AI needs maths to find the patterns it decides from. You have been doing it for years: the talim's rule in Class 6, the trend line in Class 7, the leaf model in Class 8. Nobody just said the word.
Words to know
something that repeats or follows a rule, in numbers, shapes or words.
a pattern written as a rule a computer can calculate, like =B6+11.
a rule a machine can follow step by step. (The word is al-Khwārizmī's name, as you learned in Class 6.)
the maths of exploring data: what is the middle value?
the maths of predicting events: what will the coin do?
the maths of finding unknown or missing values: how many are there altogether?
the maths of change, used for training and improving a model: which line is more slanted?
Step by step: see a pattern, write the rule, let the machine follow it
The sequence: 3, 7, 11, 15, …
- Look at the gaps: 7 − 3 = 4, 11 − 7 = 4, 15 − 11 = 4. The gap is always 4.
- Say the rule in words: add 4 each time.
- Write it as a formula: if 15 is in B5, type
=B5+4in B6 and fill down. The spreadsheet carries the pattern on: 19, 23, 27… - A harder one: 1, 4, 9, 16, … The gaps are 3, 5, 7: they grow by 2 each time. So the next gap is 9, and the next number is 25. When the gaps themselves change, look at the gaps between the gaps.
This year: statistics and probability, in depth. Linear algebra and calculus return in Class 11, when you start training models rather than only using them.
Careful: AI is not "just coding". Every model you trained since Class 6 rested on a pattern that maths can write down. And the branches you do not use this year, linear algebra and calculus, are not unneeded; they come later, when you look inside how a model trains.
Your missions
Tool: LibreOffice Calc. New file, saved as patterns.ods in my-data-9.
Part A: Find the rule, then make the machine follow it (8 min)
Your mission
- 1
In A1 type
Term, B1Number. Fill A2:A11 with 1 to 10. - 2
In B2:B6, type this sequence:
11,22,33,44,55. Say the rule out loud to your partner before you type anything else. - 3
Now write the rule as a formula. In B7 type
=B6+11and fill down to B11. The sheet continues the pattern for you. - 4
That is the whole idea of this unit. You saw a pattern, wrote it as a rule, and a machine carried the rule on without you.
- 5
In D2, answer: what is the middle value of 11, 22, 33, 44, 55? Check yourself with
=MEDIAN(B2:B6). - 6
Try a harder one. In F2:F6 type
2,6,12,20,30. Work out the rule with your partner, then write a formula in F7 that continues it. (Hint: look at the gaps between the numbers, not the numbers.) Part B: Sort the questions into branches (8 min)
- 7
Open
unit-3/four-branches.ods. Column A holds twelve questions. Column B is empty. - 8
For each question, type one of:
Statistics,Probability,Linear algebra,Calculus. - 9
Compare with the pair beside you. Where you disagree, argue it out before checking the teacher's answer — the arguing is the lesson.
No laptop today?
Do Part A on the board and in notebooks: write the sequence, state the rule in words, extend it by five more terms. For Part B, the teacher reads each question aloud and students hold up one of four cards — S, P, L or C — cut from printables/Four branch cards. A whole class answering at once shows the disagreements immediately.
Debate it
An AI can find a pattern in almost anything — including data where the pattern means nothing at all.
If maths is the study of patterns, whose job is it to decide which patterns are worth acting on? Give a reason for your answer.
Check yourself · practice, not a test
In the app, students answer these one at a time and each answer is checked straight away. It's practice, never a mark — anything they miss comes back later for another go.
1.Maths is the study of ______.
2."What is the most common value in this data?" is a question for:
- AStatistics
- BProbability
- CLinear algebra
- DCalculus
3.Match each branch to what it does for AI:
- Statistics
- Probability
- Linear algebra
- Calculus
- predicting events
- finding unknown or missing values
- training and improving the model
- exploring data
4.AI needs maths only for the final answer, not for finding patterns.
TrueFalse5.In 2, 6, 12, 20, 30 — what comes next?
- A36
- B40
- C42
- D45
Maths is the study of patterns. AI is a way of recognising them. That is why one needs the other.
Typing practice
5 minutes on typing.com: the symbols of the unit.
- Term 2 lessons, then by hand:
= ( ) + - * /— ten of each. - Then type these four words, five times each, without looking down:
statisticsprobabilityalgebracalculus
- = ( ) + - * /
- statistics
- probability
- algebra
- calculus
Written and designed by Faizan Ayoub. © 2026 Faizan Ayoub. All rights reserved.