The maths behind AI, module 1: Number basics, lesson 1 of 5

Multiplication

Multiplying is fast adding. Three rows of five is fifteen, and every number a model computes is built from steps this simple.

5 minute readOne thing to try6 questions

Everything in this course, from vectors to transformers, comes down to two operations done over and over: adding and multiplying. This lesson starts with the second, from the very beginning.

Equal groups

3×53 \times 5 means three groups of five:

3×5=5+5+5=153 \times 5 = 5 + 5 + 5 = 15

The ×\times sign reads "times". The two numbers being multiplied are called factors, and the answer is the product.

A grid of squares

Lay the groups out as rows and the product becomes a rectangle. Its area, the number of squares inside, is the answer.

Loading the interactive…

Change the rows and columns. Notice that turning the grid on its side never changes the count, so 4×6=6×44 \times 6 = 6 \times 4. Order does not matter in multiplication.

Two facts worth knowing by heart

  • Anything times 1 stays the same: 7×1=77 \times 1 = 7.
  • Anything times 0 is 0: 7×0=07 \times 0 = 0. No groups means nothing at all.

What to remember

  • a×ba \times b means aa groups of bb, or the area of an aa by bb grid.
  • The order of the factors does not matter: a×b=b×aa \times b = b \times a.
  • Times 1 changes nothing. Times 0 gives 0.

Check yourself

3 questions. Each one explains itself once you answer. Get 2 right to complete the lesson.

Question 1

1What is 6×76 \times 7?

Question 2

2A grid has 4 rows and 9 columns. How many squares?

Question 3

3What is 1250×01250 \times 0?

0 of 3 answered

Next lesson: Bigger numbers and decimals