# Integers: Intro (Math 0)

The integers are an extension of the natural numbers into the *negatives*.

## Negative numbers

Negative numbers are numbers less than zero. They are notated as numbers with a minus sign in front of them, like \(-2\) or \(-15\) or \(-6387\).

When many people are first introduced to the concept of negative numbers, one question they have is, “how do negative numbers exist? How can we have less than nothing of something?”

Usually this question is answered with something about travelling along the number line and then going in the opposite direction past zero. But we can also answer this question from the traditional perspective of quantities, using *antimatter*.

## Arithmetic with anti-cows

Matter and antimatter are substances that annihilate each other — they cancel each other out. In the same way, positive and negative quantities cancel each other out to some extent when added together.

cow artwork

Let’s create a physical example of this antimatter phenomenon, and consider a collection of cows. diagram of cows If a natural number is how many cows we have, then negative numbers are the presence of *anti-cows*. For the sake of easy reading, let’s colour a cow red, and an anti-cow blue: diagram of red cow = cow, blue cow = anticow For example, if you have \(3\) anti-cows, you have \(-3\) cows. If you have \(128\) anti-cows, you have \(-128\) cows, and so on.

When a cow and an anti-cow come into contact, they annihilate each other and nothing is left (except technically an enormous burst of energy that could cause a magnitude 9 earthquake, but we won’t get into the nitty-gritty physics of antimatter annihilation here). diagram of cow/anti-cow annihilation Moreover, each cow will annihilate exactly one anti-cow, and vice versa.

This lets us perform subtraction by adding anti-cows instead of taking away cows. If you want to perform \(6 - 4\), you imagine you have a collection of six cows, and you add four anti-cows to the mix, which annihilate four of the cows leaving you with two. This is exactly the same as if you’d taken away four cows (except that you’ve now released enough energy to power the entire world’s energy demands for seven months). diagram of 6 − 4

This form of adding negatives is slightly more flexible than regular subtraction. In regular subtraction, you couldn’t take away more cows than there already were. But when you add negatives, you can keep adding anti-cows after there are no cows left, at which point you just have more and more anti-cows, giving you a more and more negative number. So if you wanted to subtract \(4 - 6\), you couldn’t take away six cows from four, but you could add six anti-cows, and four of them would annihilate the four cows, leaving you with two anti-cows or a final answer of \(-2\). diagram of 4 − 6

## Useful properties of negative numbers

Extending the natural numbers into negatives gives us lots of useful properties when doing arithmetic.

### Addition of negative numbers

Negative numbers add up just like positive ones. If you have \(-3\) and \(-7\), they add up to \(-10\), just like three anti-cows and seven anti-cows would come together to make ten anti-cows. diagram of (-3) + (-7)

Knowing this, how would you calculate \((-6) + (-8) + (-12) + (-20)\)?

### Subtraction as additive inversion

If we represent a natural number as a number of cows, then the same number of anti-cows is called the *additive inverse* of that number, because a number and its additive inverse add up to zero (equal numbers of cows and anti-cows will all annihilate each other to give nothing), which is the “additive identity” (or “the number that changes nothing when you add it to something”).

Using additive inverses allows us to express subtraction in the form of addition — for example, \(5 - 2\) can be rewritten as \(5 + (-2)\) (which just means that instead of taking away two cows, you’re adding two anti-cows). When we do this, suddenly we can rearrange subtraction operations along with addition operations even though subtraction isn’t commutative.

Then, if you have a giant addition and subtraction problem you want to solve, you can add up all the numbers you want to add (into a big collection of cows), then add up all the numbers you want to subtract (into a big collection of anti-cows), and just do one subtraction (annihilating cow/anti-cow pairs) to get your answer. For example, \(6 - 2 + 7 - 5\) is really just \(6 + (-2) + 7 + (-5)\) which is equal to \(6 + 7 + (-5) + (-2)\). Then, you add up the number of cows (13) and anti-cows (7), and annihilate them to get the final answer of \(6\).

Here’s another exercise for you: How would you calculate \(13 + 8 - 5 + 6 + 4 - 12 - 9 + 1\)?

Then rearrange the equation to group all the positive and negative numbers (cows and anti-cows) together: \($13 + 8 + 6 + 4 + 1 + (-5) + (-12) + (-9)\)$

Then add up all the positive and negative numbers separately: \($(13 + 8 + 6 + 4 + 1) + ((-5) + (-12) + (-9)) = 32 + (-26)\)$

And finally, subtract it all at once: \($32 + (-26) = 32 - 26 = 6\)$

And voilà, you have six cows. <div><div>

What about \(8 - 6 + 4 - 13 + 7 - 5 - 9 + 12\)?

But hold on — now you have more anti-cows than cows, so you can’t subtract directly! Not to worry — simply flip the subtraction problem around, and subtract the cows from the anti-cows, knowing that the final result will be negative instead.

## The set of integers

Back to defining the integers. The set of integers is simply the set of natural numbers and their additive inverses — i.e. the set of numbers of cows you can have if you can have anti-cows as well. This set branches out to infinity on both sides, and we usually write it as \(\{ \ldots, -2, -1, 0, 1, 2, \ldots \}\).

cow multiplication with herds and anti-herds

check readability scores to make sure it’s in grade 7-8 range

Parents:

- Integer
- Mathematics
Mathematics is the study of numbers and other ideal objects that can be described by axioms.

- Mathematics