Elena' s AI Blog

Lesson 1: What is AI?

07 Jan 2026 / 8 minutes to read

Elena Daehnhardt


What is AI? Cover
Course: What is AI?
Lesson 1 of 7 14%


TL;DR: AI learns from patterns, traditional code follows rules.

The Calculator vs The Brain ๐Ÿค–

Traditional programming follows rules, AI learns patterns

Welcome to What is AI? We are going to demystify the magic.

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”         โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ CALCULATOR  โ”‚         โ”‚    BRAIN     โ”‚
โ”‚  2 + 2 = 4  โ”‚   VS    โ”‚ "Hmm, that   โ”‚
โ”‚(Always same)โ”‚         โ”‚looks like a  โ”‚
โ”‚             โ”‚         โ”‚  cat!"       โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜         โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
  Rule Follower          Pattern Learner

The Rule Follower (Traditional Code) ๐Ÿ“

A calculator is reliable. If you say 2 + 2, it says 4. It follows a rule: IF input is + THEN add the numbers.

This is called Traditional Programming. It is perfect for:

  • Math (calculators)
  • Banking (keeping track of money)
  • Sending rockets to space (precise calculations)

Example of a rule:

IF temperature > 30:
    THEN display "It's hot!"
ELSE:
    THEN display "It's cold!"

The computer doesnโ€™t โ€œthink.โ€ It just follows your exact instructions.

The Learner (Artificial Intelligence) ๐Ÿง 

AI learns patterns instead of following strict rules

But how do you teach a computer to spot a cat in a photo?

Try writing rules:

  • โ€œIf it has pointy earsโ€ฆโ€ (But dogs have those too! ๐Ÿ•)
  • โ€œIf it has whiskersโ€ฆโ€ (But rats have those too! ๐Ÿ€)
  • โ€œIf itโ€™s fuzzyโ€ฆโ€ (Peaches are fuzzy! ๐Ÿ‘)

There is no strict rule for โ€œcatโ€.

Instead, we show it examples. We say: โ€œHere are 1,000 photos of cats. Here are 1,000 photos of dogs. You figure out the difference!โ€

Training Process:
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Cat photos โ”‚ โ†’ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ” โ†’ Learns patterns
โ”‚ Dog photos โ”‚ โ†’ โ”‚  AI  โ”‚ โ†’ like "pointy ears
โ”‚ Bird photosโ”‚ โ†’ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    + whiskers = cat"
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Machine Learning is the process of finding patterns in data.

๐Ÿš€ Think About This!

When YOU learned what a cat looks like, did someone give you rules? Or did you just see lots of cats and figure it out? AI learns the same way you did!

Activity: AI or Not? ๐ŸŽฏ

Can you tell which of these tasks need AI, and which can be done by normal code (rules)?

Task Rule-Based AI
1. Calculating $543 \times 99$ โœ… โŒ
2. Driving a car in traffic โŒ โœ…
3. Recognizing your face to unlock phone โŒ โœ…
4. Sorting names A-Z โœ… โŒ
5. Writing a poem about a sad toaster โŒ โœ…
6. Playing chess like a grandmaster โŒ โœ…
7. Converting temperature F to C โœ… โŒ

Why these answers?

  • Math and sorting: Simple rules!
  • Driving, face recognition, creative writing: Too complex for rulesโ€”need learning!

๐ŸŽฎ Real-World Connection

  • Netflix recommendations = AI (learns what you like)
  • YouTube autoplay = AI (learns what to show you next)
  • Snapchat filters = AI (recognizes your face)
  • Your calculator app = NOT AI (just follows rules!)

Narrow vs General AI ๐ŸŽฏ

Narrow AI specializes in one task, General AI can do anything

Narrow AI (Weak AI)

Good at ONE thing.

  • A Chess bot can beat the world champion at Chess, but it canโ€™t tie its own shoelaces!
  • Siri can answer questions, but canโ€™t cook dinner
  • A self-driving car can drive, but canโ€™t write a poem

Examples you use:

  • Siri, Alexa, Google Assistant
  • ChatGPT, Claude
  • Face recognition on your phone
  • Spotify recommendations

General AI (Strong AI)

A robot that can do anything a human can do.

  • Learn to cook
  • Paint a masterpiece
  • Drive a car
  • Tell jokes
  • Play sports
  • AND tie its shoelaces!

โš ๏ธ This does NOT exist yet! Weโ€™re working on it, but weโ€™re not there.

Today's AI:
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Chess AI   โ”‚ = Master at chess only
โ”‚ Art AI     โ”‚ = Master at art only
โ”‚ Music AI   โ”‚ = Master at music only
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
  Each is separate!

Future General AI:
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚            โ”‚
โ”‚  ONE AI    โ”‚ = Master at everything!
โ”‚            โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
  (Doesn't exist yet)

What AI Canโ€™t Do (Yet) ๐Ÿšซ

AI is amazing, but it has limits:

1. Context Changes

A self-driving car trained in sunny California might get confused by a snowstorm in Norway. Why? It never saw snow in training!

2. Common Sense

An AI might paint a picture of โ€œan astronaut riding a horse on the moonโ€, but it doesnโ€™t know that horses canโ€™t breathe in space! Why? It doesnโ€™t understand the REAL worldโ€”just patterns in pictures!

3. True Understanding

When AI says โ€œI understand,โ€ it really means โ€œI found a pattern.โ€ An AI can translate โ€œhelloโ€ to โ€œholaโ€ without knowing what either word actually MEANS.

4. Feelings

AI can say โ€œIโ€™m sadโ€ or โ€œIโ€™m happy,โ€ but it doesnโ€™t FEEL sadness or happiness. Itโ€™s predicting words, not experiencing emotions.

Human:     AI:
๐Ÿ˜Š Happy   "happy" (just a word)
๐Ÿ˜ข Sad     "sad" (just a word)
โค๏ธ Love    "love" (just a word)

Quick Quiz ๐Ÿ“

(No peeking!)

  1. Does a traditional calculator learn from examples?
  2. What do we give an AI to help it learn: Rules or Examples?
  3. True or False: โ€œMachine Learningโ€ means the computer figures out its own patterns.
  4. Is ChatGPT an example of Narrow AI or General AI?
  5. Does an AI truly understand what a โ€œcatโ€ is, or does it just recognize patterns?
Click for Answers! **Answers:** 1. **No** - It follows fixed rules (2+2 always = 4) 2. **Examples!** - We show it 1000s of pictures, not rules 3. **True** - It learns patterns we didn't program! 4. **Narrow AI** - It's great at language, but can't drive a car! 5. **Patterns** - It sees pixel patterns, not the concept of "cat-ness" **Your Score:** - 5/5: ๐ŸŒŸ AI Expert! - 3-4/5: โญ AI Student! - 1-2/5: ๐Ÿ’ซ AI Beginner! (Re-read the lesson!)

๐Ÿ” AI Detective Says:

โ€œNext time you see something that seems โ€˜smartโ€™ (like Siri understanding you), ask yourself: Is it following rules, or did it learn from examples? Thatโ€™s the key difference!โ€

๐ŸŽ‰ Achievement Unlocked: AI Explorer! Level: Beginner (1/6 complete)

๐Ÿ“ Todayโ€™s Key Concepts

Traditional Programming:
- Follows exact rules
- Example: Calculator (2+2=4)
- You tell it HOW to do everything

Machine Learning (AI):
- Learns patterns from examples
- Example: Cat detector
- You show examples, IT figures out HOW

Narrow AI:
- Good at ONE thing
- Exists today (Siri, ChatGPT)

General AI:
- Good at EVERYTHING
- Doesn't exist yet!

๐Ÿ’ก Parent/Teacher Tip

If your learner is confused about the difference between rules and learning, try this: Ask them to write rules for recognizing their best friend. Theyโ€™ll realize itโ€™s impossible! (Height? But they grow! Hair? But they get haircuts!) Thatโ€™s why AI is needed for complex tasksโ€”rules arenโ€™t enough.

๐ŸŒŸ Fun Activity

For the next few days, every time you use technology, ask: โ€œIs this AI or just regular code?โ€ Youโ€™ll be surprised how much AI is around you!

Next up: How does AI actually learn? Weโ€™ll feed it data and watch it grow smarter!


This post is part of the What is AI? series.

desktop bg dark

About Elena

Elena, a PhD in Computer Science, simplifies AI concepts and helps you use machine learning.

Citation
Elena Daehnhardt. (2026) 'Lesson 1: What is AI?', daehnhardt.com, 07 January 2026. Available at: https://daehnhardt.com/courses/book_ai/01-intro/
Course Library