Nepedia
Back to Discover
Independent Reader
🔢

Associative property

math Maturity 11-13 Next article →

Imagine you have three numbers to add together. You can group the first two numbers first. Or, you can group the last two numbers first. Even though the groups change, the total stays the same. This is called the associative property.

Associativity of real number addition
Associativity of real number addition

In math, this property applies to some operations. Addition and multiplication are both associative. This means you can move the parentheses around. The result will not change. However, not all math works this way. Subtraction and division are non-associative. This means the way you group them changes the answer.

Associativity of binary operations (without question marks)
Associativity of binary operations (without question marks)

Even computers can struggle with this. Computers use something called floating point numbers. When they add these numbers, they might make small mistakes. The order of grouping can change the rounding error. This is a big deal in computer science.

Semigroup associative
Semigroup associative

Mathematicians also study how many ways we can group things. If we have many numbers, the ways to group them grow fast. For associative math, all those ways give the same answer. This is known as the generalized associative law.

171 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (4)
File:Associativity of binary operations (without question marks).svg
Associativity of binary operations...
File:Semigroup_associative.svg
Semigroup_associative.svg
File:Tamari lattice.svg
Tamari lattice.svg
File:Associativity of real number addition.svg
Associativity of real number addition.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.