Skip to main content
Mathematics LibreTexts

1.1: Integers

  • Page ID
    104794
    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    ​​​​

    summary

    By the end of this section, you will be able to:

    • Add and subtract integers
    • Multiply and divide integers
    • Simplify expressions with absolute value

    Natural Numbers and Integers

    Let's begin by reviewing some numbers. We are all familiar with the counting numbers, or as mathematicians say, natural numbers \(\mathbb{N}\). These are \(0, 1,2,\ldots, 51,\ldots, 1000000,\ldots\)

    We can see these numbers on what is called a number line. Here is the number line with the natural numbers going from 0 to 5. The numbers are ascending going from left to right and descending from right to left. Larger numbers are to the right and smaller numbers are to the left.

    natural numbers.png

    We can add them together to get another natural number.

    Example \(\PageIndex{1}\)

    Compute the following:

    1. 1+2=
    2. 3+5=
    3. 43 + 27=
    4. 900+716=
    Answer
    1. 1+2=3
    2. 3+5=8
    3. 43 + 27 = 70
    4. 900+716=1616

    We say the result of addition is the sum For example, the sum of 1 and 2 is 3. (The sum is 3, not 1 or 2).

    We can also come up with numbers that add up to a certain number.

    Example \(\PageIndex{2}\)

    Come up with two natural numbers whose sum is 7.

    Possible answers:

    6 and 1

    5 and 2

    4 and 3

    7 and 0

    Any other combinations would be a repeat of those above.

    What if we want to subtract? Sometimes we run into a new kind of number. For example 5-7=-2. This is a negative number and they were invented to keep track of debts. For example if you have 5 dollars and you need to pay me 7 dollars then you have -2 dollars, that is, you are 2 dollars in debt to me, the book.
    You can actually think of subtraction as adding a negative, e.g, 5+(-7)=-2. So you really never lose money, you just get a negative money!
    We can expand our view of numbers to include negative numbers to define the integers, \(\mathbb{Z}\), by \(\ldots,-1000000,\ldots, -51,\ldots, -2,-1,0,1,2,\ldots, 51\ldots, 1000000,\ldots\). That is, the integers are the negative AND positive versions of the natural numbers combined.

    We also say that the result of subtraction is the difference. For example, the difference between 5 and 2 is 3. (The difference is 3, not 5 or 2).

    Let's expand the number line to include the negatives. Again, larger numbers are to the right and smaller numbers are to the left.

    number line.png

    Addition and subtraction may be easier to see with a number line. On a number line we go to the right for adding a positive number and to when adding a negative (subtraction).

    Consider -4+8=4. On a number line, this looks like

    numbline -4+8.png

    We start at -4 and then move 8 numbers to the right (because we are adding 8), landing at 4.

    We can do the same for subtraction.

    For example, let's do -3-4=-7

    numbline -3-4.png

    Now we start at -3 and move 4 numbers to the left (because we are subtracting 4), landing at -7.

    With this in mind, let's try some examples.

    Example \(\PageIndex{3}\)

    Compute the following:

    1. 5-2=
    2. 7-5=
    3. 5-10=
    4. -10+5=
    5. -7+4=
    Answer
    1. 5-2=3
    2. 7-5=2
    3. 5-10=-5
    4. -10+5=-5
    5. -7+4=-3

    We see that there is a relationship between addition and subtraction in the sense that one "undoes" the other. For example
    \[
    1+2=3\\
    1=3-2\\
    \]
    We see that the action of adding 2 to 1 to get 3 can be "undone" by subtracting 2 from 3.

    Multiply and Divide Integers

    Often in math and life, we would like to add quickly. Say you had 4 boxes with 3 phones in each box and I ask "how many phones do you have"? You could use addition with 3+3+3+3=12 or you could use multiplication with \(3\cdot 4=12\). So one could think of multiplication as adding the same number to itself in a succinct way. Multiplication is very useful when numbers get too inconvenient to add. For example, let's say you have 100 boxes now. It would be difficult to add up all those 3's but with multiplication we know that \(3\cdot 100=300\). We call the result of multiplication, the "product". For example, the product of 3 and 100 is 300. (300 is the product, not 3 or 100).

    Example \(\PageIndex{4}\)
    1. \(1\cdot 2\)
    2. \(5\cdot 6\)
    3. \(3\cdot 9\)
    4. \(12\cdot 54\)
    5. Come up with two integers whose product is 6.
    Answer
    1. 2
    2. 30
    3. 27
    4. 648
    5. An answer is \(2\cdot 3\)

    What if we want to do multiplication with negative numbers? An intuitive way of understanding multiplication with negative numbers is to consider debts again. Say you owe 3 dollars to 4 people, how much are you in debt? The answer is 12 dollars in debt. In math terms, this is \(4\cdot (-3)=-12\). So a positive number multiplied by a negative number is a negative number. (A negative number multiplied by a positive number is a negative number).

    What about a negative number multiplied by a negative number? To understand this, let's consider an "I owe you" note. This note is a physical interpretation of debt or "negative money". If Tom has a note that reads "Tom owes (your name) 3 dollars" this means that Tom is in debt to you by the amount of 3 dollars. Ok, now let's say that you needs to give Tom 4 copies of the note above, we can say that you owe Tom those notes. How much money would you have if everyone paid off their debt? Well, each note reads "Tom owes (your name) 3 dollars" and you gives Tom 4 of those notes, then you will have 12 dollars once the debt is paid off. In math terms we have -4 (notes that you owes Tom) \(\cdot -3\) (The amount of negative money each note carries)=12. That is to say "if you owe someone negative money then you are owed positive money". So a negative times a negative is a positive!

    This also answers the question about why 4-(-3)=7. Since you can think of the subtraction of negative 3 as giving one of the notes above.

    Division is a way of...dividing up a number into another number. To get an intuitive understanding let's consider some pizza. Let's say that your friends eat 2 slices of pizza each and you have a pizza with 8 slices. How many of your friends can you feed with that pizza? This question is asking to divide 8 (slices of pizza) by 2 (the amount of slices each friend will eat). So \(8\div 2=4\), you will be able to feed 4 friends with 1 pizza. We call the result of division, the "quotient". For example, the quotient of 8 by 2 is 4. (4 is the quotient, not 8 or 2). We see the same intuition with negative numbers works for division as well. That is, if you need to divide a debt of 6 dollars between 3 people evenly then each person would owe you 2 dollars: \(\frac{-6}{-3}=2\). Same intuition holds if you need to pay off a 6 dollar debt between 3 people evenly: \(\frac{-6}{3}=-2\).

    Example \(\PageIndex{5}\)
    1. \(2\div 2=\)
    2. \(30\div 6=\)
    3. \(-27\div 9=\)
    4. \(-16\div -8=\)
    5. \(648\div 54=\)
    Answer
    1. 1
    2. 5
    3. -3
    4. 2
    5. 12

    To recap

    For multiplication and division of two signed numbers:

    Rules for multiplication and division of two numbers
    Same signs Result
    • Two positives Positive
    • Two negatives Positive

    If the signs are the same, the result is positive.

    Rules for multiplication and division of two numbers
    Different signs Result
    • Positive and negative Negative
    • Negative and positive Negative

    If the signs are different, the result is negative.

    Sometimes we encounter a division that we can't get an integer out of. Say you have one slice of pizza and eat friend eats 2 slices. How many friends can you feed? You can feed half of a friend. In math this would look like this \(\frac{1}{2}\). These are called fractions and we will be talking about them in the next section but first we should talk about when we do get an integer from division.

    Simplify Expressions with Absolute Value

    Number line with numbers labeled -4 through -1 as negative and 1 through 4 as positive

    You may have noticed that, on the number line, the negative numbers are a mirror image of the positive numbers, with zero in the middle. Because the numbers \(2\) and \(−2\) are the same distance from zero, each one is called the opposite of the other. The opposite of \(2\) is \(−2\), and the opposite of \(−2\) is \(2\).

    Definition: OPPOSITE

    The opposite of a number is the number that is the same distance from zero on the number line but on the opposite side of zero.

    This figure \(\PageIndex{2}\) illustrates the definition.

    A number line with 3 and minus 3 highlighted. These are equidistant from 0.
    Figure \(\PageIndex{2}\). The opposite of 3 is \(−3\).

    Definition: OPPOSITE NOTATION

    \[\begin{align} & -a \text{ means the opposite of the number }a \\ & \text{The notation} -a \text{ is read as “the opposite of }a \text{.”} \end{align} \]

    We saw that numbers such as 3 and −3 are opposites because they are the same distance from 0 on the number line. They are both three units from 0. The distance between 0 and any number on the number line is called the absolute value of that number.

    Definition: ABSOLUTE VALUE

    The absolute value of a number is its distance from 0 on the number line.

    The absolute value of a number \(n\) is written as \(|n|\) and \(|n|≥0\) for all numbers.

    Absolute values are always greater than or equal to zero.

    For example,

    \[\begin{align} & -5 \text{ is } 5 \text{ units away from 0, so } |-5|=5. \\ & 5 \text{ is }5\text{ units away from 0, so }|5|=5. \end{align}\]

    Figure \(\PageIndex{3}\) illustrates this idea.

    A number line showing the numbers 0, 5 and minus 5. 5 and minus 5 are both 5 units from 0
    Figure \(\PageIndex{3}\): The numbers 5 and −5 are 5 units away from 0.

    The absolute value of a number is never negative because distance cannot be negative. The only number with absolute value equal to zero is the number zero itself because the distance from 0 to 0 on the number line is zero units.

    In the next example, we’ll order expressions with absolute values.

    EXAMPLE \(\PageIndex{6}\)

    Fill in \(<,\,>,\) or \(=\) for each of the following pairs of numbers:

    1. \(\mathrm{|-5|}\,\_\_\,\mathrm{-|-5|}\)
    2. \(8\_\_−|−8|\)
    3. \(−9\_\_−|−9|\)
    4. \(−(−16)\_\_|−16|\).
    Answer
    1. First, simplify each side:

                                                                                      \( |-5| = 5 \text { and } -|-5| = -5\)

      Then choose an inequality that makes the simplified statement true: 

                                                                                                         \( 5 > -5\)


      This is the inequality that makes the original statement true!

                                                                                                          \(|-5| > -|-5|\)
       
    2. First, simplify each side:

      The left side is already simplified.  The right side simplifies as   \( -|-8| = -8\)

      Then choose an inequality that makes the simplified statement true: 

                                                                                                         \( 8 > -8\)


      This is the inequality that makes the original statement true!

                                                                                                          \(8 > -|-8|\)
       
    3. First, simplify each side:

      The left side is already simplified.  The right side simplifies as   \( -|-9| = -9\)

      Then choose an inequality (or equality!) that makes the simplified statement true: 

                                                                                                         \( -9 = -9\)


      This is the inequality or equality that makes the original statement true!

                                                                                                          \(-9 = -|-9|\)
       
    4. First, simplify each side:

                                                                                      \( -(-16) = 16 \text { and } |-16| = 16\)

      Then choose an inequality (or equality!) that makes the simplified statement true: 

                                                                                                         \( 16 = 16\)


      This is the inequality or equality that makes the original statement true!

                                                                                                          \(-(-16) > |-16|\)
    EXAMPLE \(\PageIndex{7}\)

    Fill in \(<,\,>,\) or \(=\) for each of the following pairs of numbers:

    1. \(−9 \_\_−|−9|\)
    2. \(2 \_\_−|−2|\)
    3. \(−8 \_\_|−8|\)
    4. \(−(−9) \_\_|−9|\)
    Answer
    1. \(>\)
    2. \(>\)
    3. \(<\)
    4. \(=\)

    Order of Addition and Multiplication

    If we want to compute \(2+3\cdot 2\) is this 10 or 8? It's ambiguous which operation we want to do first so mathematicians have some rules of which operations we do first. In order we do multiplication, division, addition, and finally subtraction. We will have exceptions like if the addition is inside parenthesis, like \((2+3)\cdot 2\), in this case, it would be 10. Expressions in parenthesis (or any grouping symbols) take priority.

    We now add absolute value bars to our list of grouping symbols. When we use the order of operations, first we simplify inside the absolute value bars as much as possible, then we take the absolute value of the resulting number.

    Definition: GROUPING SYMBOLS

    \[\begin{array}{lclc} \text{Parentheses} & () & \text{Braces} & \{ \} \\ \text{Brackets} & [] & \text{Absolute value} & ||\end{array}\]

    In the next example, we simplify the expressions inside absolute value bars first just like we do with parentheses.

    EXAMPLE \(\PageIndex{8}\)

    Simplify: \(\mathrm{24−|19−3(6−2)|}\).

    Answer

    Work inside parentheses first  -- subtract 2 from 6:                           \(24−|19−3(4)|\)

    Simplify the multiplication inside the absolute value next:                   \(24−|19−12|\)

    Simplify the inside of the absolute value bars -- subtract 12 from 19:       \(24−|7|\)

    Take the absolute value:                                                                      \(24 - 7\)

    Subtract:                                                                                              \(17\)

    EXAMPLE \(\PageIndex{9}\)

    Simplify: \(19−|11−4(3−1)|\).

    Answer

    16

    Work inside parentheses first  -- subtract 1 from 3:                           \(19−|11−4(2)|\)

    Simplify the multiplication inside the absolute value next:                   \(19−|11−8|\)

    Simplify the inside of the absolute value bars -- subtract 8 from 11:       \(19−|3|\)

    Take the absolute value:                                                                      \(19 - 3\)

    Subtract:                                                                                              \(16\)

    EXAMPLE \(\PageIndex{10}\)

    Simplify: \(9−|8−4(7−5)|\).

    Answer

    9

    Key Concepts

    • Numberlines help visualize addition and subtraction.
    • The absolute value of a number is its distance from 0 on the number line.

      The absolute value of a number n is written as \(|n|\) and \(|n|≥0\) for all numbers.

      Absolute values are always greater than or equal to zero.

    • \[\begin{array}{lclc} \text{Parentheses} & () & \text{Braces} & \{ \} \\ \text{Brackets} & [] & \text{Absolute value} & ||\end{array}\]
    • Subtraction Property
      \(a−b=a+(−b)\)
      Subtracting a number is the same as adding its negative.
    • For multiplication and division of two signed numbers:
      Multiplication and division for two same signed numbers
      Same signs Result
      • Two positives Positive
      • Two negatives Positive
      If the signs are the same, the result is positive.
      Multiplication and division for two different signed numbers
      Different signs Result
      • Positive and negative Negative
      • Negative and positive Negative
      If the signs are different, the result is negative.
    • Multiplication by \(−1\)

      \(−1a=−a\)

      Multiplying a number by \(−1\) gives its opposite.

    Glossary

    absolute value
    The absolute value of a number is its distance from \(0\) on the number line.
    integers
    The whole numbers and their opposites are called the integers.
    negative numbers
    Numbers less than \(0\) are negative numbers.

    This page titled 1.1: Integers is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Stanislav A. Trunov and Elizabeth J. Hale via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.