A chapter I wrote for my children and grandchildren: what is really happening when AI "thinks", and why a phrase as simple as "I love you" can become mathematics and still keep its meaning.
One day, I asked ChatGPT a simple question:
When you say you are thinking, what exactly are you doing?
At first glance it seemed ordinary. Yet the answer opened a door into one of the most fascinating subjects of our time, and I have been turning it over ever since. Most people use AI every day without ever asking what is happening beneath the surface. They ask their questions, get their answers, and move on.
But understanding how AI works is becoming as important in this century as understanding electricity was in the last. This chapter is not written for computer scientists. It is for ordinary people: my children, grandchildren, relatives, friends, and anyone curious about the world they live in. My hope is that by the end of it you will understand AI a little better, and also see something deeper about human intelligence itself.
What Most People Think AI Is
When people first meet AI, they usually imagine one of three things. All three, it turns out, are mistaken.
Misconception 1: AI Is a Search Engine
Many assume AI works like Google: you ask a question, it searches through websites, and it hands back an answer. Modern AI does not really work this way. A search engine finds information that already exists somewhere. AI generates information from patterns it has learned.
Misconception 2: AI Is a Giant Database
Others picture a vast encyclopedia holding every possible answer, with the machine simply looking up the right one. Again, that is not how it works. There is no giant internal book with a chapter labelled "History of Chess" or "How to Fix Linux". What it knows is spread across billions of mathematical relationships.
Misconception 3: AI Is Just Computer Code
Traditional software follows explicit instructions. You can almost read them like a recipe:
IF user enters 2 + 2 THEN display 4
Modern AI is different in kind. It was not programmed with millions of individual rules. It learned patterns from enormous amounts of text. That one distinction changes everything that follows.
What AI Actually Is
At heart, modern AI is a machine that has learned patterns. Think of a child learning to speak. Nobody sits the child down and teaches every sentence they will ever say. The child simply hears millions of examples, and over time the patterns emerge: grammar, the meanings of words, the way ideas hang together.
AI learns in a loosely similar way. Not by understanding in the human sense, but by recognising patterns across vast amounts of text. The result is a system that can produce remarkably human-like answers. The strange part is worth sitting with: the machine learns which words belong together long before it has any idea what those words mean. In truth it never gets that idea at all.
What Happens When AI "Thinks"?
When ChatGPT shows you the word "Thinking...", it is not pausing to reflect the way a person would. It is doing calculations, a great many of them. The process looks roughly like this:
Question ↓ Words ↓ Tokens ↓ Numbers ↓ Patterns ↓ Predictions ↓ Response
Everything beneath the surface is mathematics. And yet, somehow, that mathematics becomes language.
The Journey of "I Love You"
Let us follow the simplest example I can think of. Suppose you type:
I love you
A person instantly understands everything it carries:
- Affection
- Relationship
- Emotion
- Connection
But AI feels none of this. So what does it actually see?
Step 1: Breaking the Sentence Apart
The sentence is first split into pieces called tokens:
"I" "love" "you"
Each token is given a number for a name. For illustration:
I → 247 love → 891 you → 412
These numbers are only labels. They hold no meaning in themselves. Think of them as page numbers in a dictionary.
Step 2: Converting Words into Mathematics
Now comes the surprising part. Each word is turned into a long list of numbers:
love → [0.23, -0.67, 0.91, 0.33, ...]
The real list runs to thousands of values. Together they describe where the concept sits in a vast mathematical landscape. Words become coordinates. Meaning becomes location.
These lists of numbers have a name: embeddings. You can picture one as a kind of fingerprint for a word. Not a definition, but a precise position that captures how the word tends to be used. And once meaning has a position, something extraordinary becomes possible. It can be measured.
The Geometry of Meaning
Imagine a giant map. Instead of cities and roads, it is filled with ideas. A simplified corner of it might look like this:
affection
|
adore ---- love ---- cherish
|
likeRelated concepts sit close together. Now compare the distance to something unrelated:
love ---------------- engine love ---------------- screwdriver
Here the concepts lie far apart. Researchers call this a semantic space. A simpler name might be the geography of meaning.
Why "Love" Is Close to "Adore"
Nobody programmed this relationship. The AI learned it. Having seen, over and over, phrases like "I love you", "I adore you" and "I cherish you", the system worked out for itself that these words belong together. Meaning, it turns out, comes from relationships.
Discoveries That Surprised the Researchers
One of the most astonishing findings in AI research was that some relationships emerged on their own. The classic example is almost poetic:
King − Man + Woman ≈ Queen
And another:
Paris − France + Italy ≈ Rome
Nobody taught the machine these little equations. They appeared because language itself has structure, and the AI uncovered that structure through mathematics.
Why Context Matters
Consider two sentences:
I love you. I love pizza.
The word "love" sits in both, yet we read them completely differently. The surrounding words supply the context:
love + you love + pizza ↓ ↓ relationship enjoyment emotion preference affection taste
Meaning is never held in a single word on its own. It comes from relationships. The same lesson, returning again.
Why AI Sometimes Gets Things Wrong
This part matters. Many people assume AI is always right. It is not. At bottom, it predicts which words are likely to come next. Most of the time that works remarkably well. Sometimes it fails, producing something that sounds entirely convincing and is simply untrue. This is often called a hallucination.
It helps to understand why this happens. The system is built to produce the most plausible-sounding continuation, not to check that continuation against reality. Fluency and truth usually travel together, but not always, and the machine cannot tell the two apart on its own. That is exactly why it is best treated as:
- a helpful assistant
- a thinking partner
- a source of ideas
But never as an unquestionable authority. Human judgement still matters.
AI and Human Intelligence
Perhaps the most interesting question of all is how different humans and AI really are. We have things the machine does not:
- Consciousness
- Emotions
- Values
- Wisdom
- Life experience
AI has none of these. And yet it far outdoes us at:
- Memory
- Speed
- Pattern recognition
- Information retrieval
- Language generation
Humans and machines are good at different things. The future, I suspect, will belong to people who learn to combine the two rather than treat them as rivals.
Can AI Become Conscious?
Nobody knows. Some believe it may happen one day; others believe it never will. For now there is no evidence that AI has consciousness of any kind.
It can discuss happiness, but it cannot feel happiness. It can describe grief, but it cannot experience grief. It can explain love, at length and rather well, but it cannot love. That stays a uniquely human thing.
The Future of AI
AI will almost certainly change a great many areas of life: education, medicine, science, the way we communicate. The task for future generations will not be learning to avoid it. It will be learning to use it wisely.
Just as earlier generations learned to live with electricity, the motor car and the internet, those who come after us will have to learn to work alongside intelligent machines.
How to Ask Better Questions
If the future belongs to those who ask the best questions, it is worth saying plainly how that is done, because it is a skill rather than a gift. Over time I have found a few habits that turn a mediocre answer into a genuinely useful one.
- Give it context. The more it knows about what you are trying to do, the better it can help. Vague questions earn vague answers.
- Ask for its reasoning, not just its conclusion. Seeing how it got somewhere tells you whether to trust it.
- Invite it to disagree. Ask what you might be missing, or where your assumption could be wrong.
- Always verify what matters. Treat important facts as claims to be checked, not truths to be accepted.
A good question does two things at once. It draws a better answer out of the machine, and it keeps your own mind awake while you read the reply.
Lessons for My Children and Grandchildren
If there is one lesson I hope you remember, it is this: technology changes, but human nature does not. The tools grow more powerful. The need for wisdom stays exactly the same.
So learn to use AI. Study it. Experiment with it. Take what is good from it. But never hand over your ability to think for yourself. The greatest advantage in this new age will not belong to those who own the cleverest machines. It will belong to those who ask the best questions.
Curiosity will remain valuable. Wisdom will remain essential. Character will remain irreplaceable.
Final Reflection
This chapter began with a simple question: what happens when AI is thinking? The answer led somewhere I did not expect. Behind every conversation with a machine lies a world of mathematics.
Words become numbers. Numbers become relationships. Relationships become meaning. And meaning becomes conversation.
Perhaps the most remarkable part of all is that a phrase as simple as "I love you" can be turned into mathematics and still keep its meaning. That is one of the most extraordinary technological achievements of our age.
And yet the lesson is not really about machines. It is about us. Our curiosity created these systems. Our wisdom has to guide their use. And our humanity remains the one thing that mathematics, for all its power, cannot replace.
Written for those who come after, as part of a personal library of things worth remembering.