You type a question into a chatbot, in Bangla if you like, and a second later a paragraph appears that reads as if a person wrote it. It feels like very advanced mathematics. The surprise is how ordinary the mathematics is. Underneath the chatbot, the app that tags faces in your photos and the filter that keeps scam SMS out of your inbox, there are only four kinds of everyday object: lists of numbers, tables of numbers, slopes, and chances.
You have met all four. A bazaar price list is a list of numbers, a class mark sheet is a table, the slope of a road tells you which way is downhill, and the chance of rain is a chance. Here we'll see how AI uses each one, step by step. Every formula is said in words before it is written in symbols, and every number was produced by a program, so you can trust it.
By the end you'll be able to compute a dot product and a cosine similarity by hand and say why AI compares angles instead of lengths. You'll multiply matrices, read the line W x + b that sits in every neural-network layer, take one step downhill with a learning rate, apply Bayes' rule to a spam filter, compute an expected value, and compute a softmax and pick its argmax.
We'll go in seven short parts: vectors and the dot product; cosine similarity; matrices; slopes and the gradient; probability and "given"; Bayes' rule and expected value; and exponents, logarithms and softmax, ending with a map of where each tool is used in the later AI lessons.