Skip to main content

Command Palette

Search for a command to run...

How OPT(ADD).Mathematics Builds the Foundation for AI/ML World

Based on the course and curriculum of NEB

Updated
7 min read
 How  OPT(ADD).Mathematics Builds the Foundation for AI/ML World
S

I write to revisit topics I’m interested in or when I’m bored and curious.

In this article, I have tried to connect each chapter with insights from teaching and real-world experience in building and analyzing AI systems, showing how these concepts power modern technology and how students are already learning the language of machines without realizing it.

The Misconception That Holds Students Back

“What is the use of this in real life?” This is one of the most common questions students ask while studying mathematics.From solving equations to learning trigonometric identities, many concepts feel disconnected from reality—something to memorize for exams and forget afterward.

But what if that assumption is completely wrong?

What if the same mathematics taught in Class 9 and 10 is actually powering systems like recommendation engines, voice assistants, and artificial intelligence?

The mathematics taught in Class 9 and 10—especially in Optional Mathematics I've even heard that some institutions are starting to teach this subject from Class 6 —is the exact foundation of Artificial Intelligence, Machine Learning, and modern technology. Every AI system, from recommendation engines to self-driving systems, is built on these same concepts.


1. Ordered Pairs & Relations → The Structure of Data

Core Idea: (x, y) mapping In technology, everything begins with structured data.

Tech Use:

  • Every dataset = collection of ordered pairs

  • Machine Learning: (features → label)

  • Databases: key → value

  • APIs: request → response

    👉 Without ordered pairs, there is no structured data—and without data, AI cannot exist.

Mini Project Idea:

Create a dataset of study hours vs exam marks and visualize the relationship.


2. Functions (Composite & Inverse) → The Core of AI Models

Core Idea: Input → Output mapping

Tech Use:

  • Neural networks = stacked functions

  • Backend systems = pipelines of functions

  • Encryption = inverse functions An AI model is not a single function, but a composition:

    👉f(g(h(x))) — multiple transformations applied step by step

Each layer processes data and passes it forward.

Mini Project Idea:

Build a simple prediction function that maps input values to outputs.


3. Polynomials & Equations → Modeling Real-World Behavior

Core Idea: Complex expressions and roots

Tech Use:

  • Curve fitting in Machine Learning

  • Smooth curves in computer graphics

  • Cryptography using polynomial structures

    Real-world data is rarely linear—polynomials help approximate complex patterns.

Mini Project Idea:

Fit a curve to real-world data such as temperature changes over time.


4. Sequence & Series (AP, GP) → Learning from Patterns Over Time

Core Idea: Patterns and progression

Tech Use:

  • Time-series prediction (stocks, weather)

  • Sequence models (RNNs, LSTMs)

  • Algorithm efficiency (performance scaling)

    👉 AI predicting the next word or value = sequence modeling

Mini Project Idea:

Create a model that predicts the next number in a sequence.


5. Quadratic Equations & Parabola → How AI Learns

Core Idea: Curves and optimization

Tech Use:

  • Loss functions often form parabolic curves

  • Gradient descent finds the minimum point

  • Physics engines simulate motion using parabolas

    👉 AI learning = sliding down a curve to minimize error

Mini Project Idea:

Plot an error curve and identify its minimum point.


6. Coordinate Geometry → Decision Making in AI

AI systems make decisions by separating data in space.


a) Distance & Section Formula

  • Used in clustering algorithms (KNN)
  • Used in GPS and mapping systems

b) Straight Line (y = mx + c)

  • Linear Regression
  • Trend prediction

c) Intercept Form

  • Used in constraint modeling

d) Pair of Straight Lines

  • Decision boundaries in classification

👉 Machine Learning = drawing lines or planes to separate data

Mini Project Idea:

Build a simple classifier using distance between points.


7. Trigonometry → Understanding Signals and Waves

Core Idea: Angles and wave behavior

Tech Use:

  • Signal processing (audio, images)
  • Fourier Transform for audio compression
  • Robotics (movement and angles)

👉 Voice AI systems rely heavily on trigonometric transformations

Mini Project Idea:

Visualize sine and cosine waves and observe patterns.


8. Vectors → Data Representation (Critical Concept)

Core Idea: Magnitude and direction

Tech Use:

  • NLP (word embeddings like Word2Vec)
  • Image data as vector arrays
  • Recommendation systems 👉 Similarity between data = angle between vectors (cosine similarity)

This is how platforms recommend content intelligently.

Mini Project Idea:

Compute similarity between two text inputs using vectors.


9. Matrices → The Engine of AI Computation

Core Idea: Grid of numbers

Tech Use:

  • Images = matrices of pixel values
  • Neural networks = matrix multiplication
  • Deep learning entirely depends on matrix operations

👉 Without matrices, modern AI cannot function

Mini Project Idea:

Apply a simple transformation (blur/sharpen) to an image using matrices.


10. Statistics → The Intelligence Behind AI

Statistics allows AI to understand and trust data.


a) Mean & Median

  • Data cleaning
  • Handling missing values

b) Quartiles

  • Outlier detection

c) Standard Deviation & Variance

  • Measuring data spread
  • Model stability

d) Regression

  • Prediction models
  • Core of supervised learning

👉 Without statistics, AI becomes unreliable and inaccurate

Mini Project Idea:

Analyze a dataset and detect anomalies.


11. Linear Programming (LPP) → Optimization

Core Idea: Maximize or minimize under constraints

Tech Use:

  • Delivery route optimization
  • Resource allocation (CPU, memory)
  • Business decision systems

👉 AI decision-making = solving constrained optimization problems

Mini Project Idea:

Solve a profit maximization problem with given constraints.


12. Transformation Geometry → Strengthening AI Models

Core Topics:

  • Translation
  • Rotation
  • Reflection
  • Enlargement

Tech Use:

  • Image augmentation in Machine Learning
  • Computer vision preprocessing
  • Game simulations

👉 One image → multiple variations → better training

Mini Project Idea:

Generate rotated, flipped, and scaled versions of an image.


13. Limits & Continuity → The Learning Mechanism of AI

Core Idea: Behavior as values approach a point

Tech Use:

  • Foundation of calculus
  • Gradient descent optimization
  • Neural network training

👉 No limits → no derivatives → no learning

Mini Project Idea:

Visualize how a function behaves as input approaches a value.


Real-World Impact

These mathematical concepts are already shaping industries:

  • Healthcare → disease prediction
  • Agriculture → crop forecasting
  • Transportation → traffic optimization
  • Education → personalized learning,etc

A Shift in Perspective

When will we use this in real life? The answer is simple: You are already learning how machines:

  • analyze data
  • recognize patterns
  • make decisions

You are not just solving equations—you are building thinking systems.


A Note on Limitations

AI is built on mathematical assumptions. If the data is flawed:

  • predictions fail
  • bias increases
  • systems become unreliable

Understanding mathematics helps not only in building AI—but also in evaluating its limitations.


Final Insight

  • Functions → AI models
  • Vectors → data representation
  • Geometry → decision making
  • Matrices → computation engine
  • Statistics → intelligence
  • Trigonometry → signal understanding
  • Linear Programming → optimization
  • Limits → learning mechanism

Start small. Stay consistent. Build something. Because the future belongs to those who understand—not just memorize.