Skip to main content
Mathematics LibreTexts

1.1: Integers

  • Page ID
    41984
  • \( \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}}\)

    We begin with a brief review of arithmetic with integers i.e. \(\ldots,-3,-2,-1,0,1,2,3, \ldots\)

    clipboard_e27396619f1f16ac802dfddc2eb5b9e14.png

    Any number has a weight and a sign.

    The magnitude (or weight) of a number is the distance it is from 0 on the number line.

    Example 1.1

    For example, the weight of -5 is 5 and the weight of 7 is 7 .

    Two numbers are opposites if, on the number line, they are on opposite sides of zero, but the same distance away from zero.

    So, −5 is the opposite of 5, and 7 is the opposite of −7 and so on.

    Addition

    We can add two numbers with the help of a number line .

    Example 1.2

    Adding two positive numbers: For example to add \(3 + 4\), we start with 3 on the number line then move 4 units to the right. We land at 7 which is our answer.

    clipboard_eaa50e36932df7b766570bbd966c0b891.png

    So, \(3+4=7\). Notice that the answer has the same sign as the signs of 3 and 4 (both positive) and its weight comes from adding the weights of 3 and 4.

    You always move to the right when you add a positive number

    Example 1.3

    Adding two negative numbers: For example, \(-10+(-4)\) means you are adding a debt of \(\$ 4\) to an already existing debt of \(\$ 10 .\) So, we start at -10 on the number line and move 4 units to the left, to land at \(-14,\) which is the answer.

    You always move to the left when you add a negative number (a debt)

    clipboard_eee2362c20546ec074bbf0b8b3adda4da.png

    So, \(-10+(-4)=-14\). Notice that the answer has the same sign as the signs of -10 and -4 (both negative) and its weight comes from adding the weights of -10 and -4

    To add numbers of opposite signs, that is, a positive and a negative number, we can also use the number line. For example, to perform \(10+(-4),\) we start at 10 on the number line and then move 4 units to the left. We land at \(6,\) which is the answer. Think of \(10+(-4)\) as having \(\$ 10\) and adding a \(\$ 4\) debt. Because we are adding a debt, we move to the left on the number line!

    clipboard_e5f26f5be4b0d41bdec3fe18706e5872a.png

    So, \(10+(-4)=6 .\) Notice that the answer has the same sign as the sign of 10 (positive) because it is the number of larger weight, and its weight comes from finding the difference of the weights of 10 and -4

    Notice that because we were adding two numbers of opposite signs, the answer ended up being the difference in weight (6) along with the sign of the number of larger weight (positive).

    Example 1.4

    Adding two numbers of opposite signs: For example, \(3+(-7)\). We start at 3 and move toward 7 units to the left, and we land at \(-4,\) which is our answer.

    clipboard_e1ba5d44ff12d55c3451665b676fcc295.png

    So, \(3+(-7)=-4 .\) Notice that the answer has the same sign as the signs of -7 (negative) because it is the number of larger weight, and its weight comes from finding the difference of the weights of 3 and -7.

    Example 1.5

    Adding opposites: We start at -5 on the number line and jump to the right 5 units to land finally at \(0\). So \(-5+5=0\).

    clipboard_e85bc9d5c97ba98d476cda6c4a64a8492.png

    Note 1.6

    Two opposite numbers are called a zero-pair, because adding them always results in 0.

    So, −5 and 5 are a zero-pair.

    Adding Intergers

    1. To add two numbers of the same sign, add their weights and place it after the sign.
    2. To add two numbers of opposite signs, find the difference of their weights and place it after the sign of the number with the greater weight.

    Example 1.7

    Add:

    1. \(-8+19=11\)
    2. \(-8+4=-4\)
    3. \(6+(-9)=-3\)
    4. \(7+(-2)=5\)
    5. \((-4)+(-7)=-11\)
    6. \(8+7=15\)

    Note 1.8

    While we can add in any order: \(4+2=2+4\), it is sometimes convenient to add up all of the negative numbers and add up all of the positive numbers, and then add the results. There are also times when it is best to notice certain simplifications if the numbers are added in a different order.

    For example

    \[-5+4+5+(-8)=-5+(-8)+4+5(\text { by reordering })\nonumber\]

    so,

    \[−5 + 4 + 5 + (−8) = −5 + (−8) + 4 + 5 = −13 + 9 = −4 \nonumber\]

    We could have also simplified this by noting that (-5) and 5 are zero-pair, so we are left with \(4+(-8)\) which is -4.

    Example 1.9

    We can calculate

    \[(-4)+(-5)+7+(-3)=(-4)+(-5)+(-3)+7=(-12)+7=-5\nonumber\]

    We could have simplified this by noting that (-4) and (-3) make -7, and -7 and 7 are zero-pair, so the total is -5.

    Subtraction (as Addition of the Opposite)

    Once we know how to add numbers, we are set to subtract numbers because subtraction is nothing but addition of the opposite. That is, subtracting 8 − 3 (which reads: subtracting 3 from 8) is the same as 8 + (−3) (which reads: Adding −3 to 8.).

    Example 1.10

    So, \(8-3=8+(-3),\) and, we can use the rules of adding two numbers of opposite signs to find out that the answer is \(5 .\) We can also use the number line. We start at 8 and move 3 units to the left (adding -3 is adding a debt, so we move to the left). So \(8-3=5 .-4-3-2-1 0 1 2 3 4 5 6 7 8\) End Start Move 3 units to the left

    Example 1.11

    To calculate \(3-7\) we first rewrite it as an addition problem. \(3-7=3+(-7) .\) We can either use the number line, or the rules of adding two numbers of opposite signs. And, \(50,3-7=3+(-7)=-4\)

    Example 1.12

    To calculate \(-4-1,\) we first rewrite it as an addition problem. \(-4-1=-4+(-1) .\) We can either use the number line, or the rules of adding two numbers of the same signs. If we want to use the rules, both numbers are negative, so our answer will be negative, and, adding the weights of -4 and -1 is \(5.50,-4-1=-4+(-1)=-5\)

    On the number line, we start at -4 and move 1 unit to the left, to land on -5 which is our answer.

    clipboard_ef49f8d4826c75421c7da84c33f0e51ed.png

    Changing the subtractions to additions in this way is particularly useful when adding or subtracting several numbers (because we can add in any order).

    Example 1.13

    \(\begin{align*} & − 3 − 7 + 5 + 7 + 13 − 6 − (−9) \\ = & −3 + (−7) + 5 + 7 + 13 + (−6) + 9 \\ = & −3 + (−7) + (−6) + 5 + 7 + 13 + 9 \\ = & 18 \end{align*}\)

    \(\begin{align*} & − 3 − 7 + 5 + 7 + 13 − 6 − (−9) \\ = & −3 + (−7) + 5 + 7 + 13 + (−6) + 9 \\ = & 5 + 13 \\ = & 18 \end{align*}\)

    Remark 1.14

    Warning: The symbol "-" is used in two different ways. When it is between two expressions, it means subtract (e.g., \(3-4\) ). Otherwise, it means 'opposite' or 'negative' (e.g., \(-3+4\) ). So in the expression \(-4-(-3)\), the first and last "-" means opposite and the one in the middle one means subtract. The importance of understanding this can not be overestimated.

    Multiplication and Division of Positive Numbers

    Multiplication of integers is adding in the sense that \(3 \times 4=4+4+4\)

    To multiply larger numbers, it is better to use the usual scheme of multiplication. For example:

    Example 1.15

    Let us multiply 152 by 34. We will for convenience sake put the smaller number on the bottom (though it is not necessary). We have

    \(\begin{array}{lllll}
    & & 1 & 5 & 2 \\
    & \times & & 3 & 4 \\
    \hline & & 6 & 0 & 8 \\
    + & 4 & 5 & 6 & 0 \\
    \hline & 5 & 1 & 6 & 8
    \end{array}\)

    And division is the opposite of multiplication in the sense that to compute \(45 \div 9\) is to find a number so that when we multiply by 9 we get 45. We run through our multiplication tables (which are hopefully in our head) to discover that 5 does the trick: \(5 \times 9=45\) so that \(45 \div 9=5 .\) We will discuss division from a different point of view when we discuss fractions.

    To divide larger numbers, we can use long division. For example, let’s divide 3571 by 11.

    Example 1.16

    clipboard_ed2fdc4ec400b113cc20c5b966357c36d.png

    Multiplication involving negative numbers

    Multiplication is a little tricky to understand without the notion of distribution (discussed later). We will begin with noting again what it means to multiply a number by a positive number: So if we want to compute \(4 \cdot(-7)\) we note

    \[4 \cdot(-7)=(-7)+(-7)+(-7)+(-7)=-28\nonumber\]

    Note that since \(4 \cdot 7=28,4 \cdot(-7)=-(4 \cdot 7) .\) We can multiply positive numbers in any order: \(4 \cdot 7=7 \cdot 4\). The same is true of positive and negative numbers:

    \[(-7) \cdot 4=4 \cdot(-7)=-(4 \cdot 7)=-28\nonumber\]

    Example 1.17

    \(5 \cdot(-12)=-(5 \cdot 12)=-60\) and \((-3) \cdot(-2)=-(3 \cdot(-2))=-(-(3 \cdot 2))=6\)

    Example 1.18

    So the size of the product of two numbers is the product of their sizes. The sign is positive if the signs are the same and negative if they are different.

    Example 1.19

    Two quantities right next to each other, with no symbol between them (except for parentheses around either or both numbers), has an implicit multiplication. For example, \(3(2)=3 \times 2\).

    Example 1.20

    Multiply:

    1. \((-5)(-8)=40\)
    2. \((-6) \cdot 7=-42\)
    3. \(4 \cdot 12=48\)
    4. \((-3)(-6) \cdot 4(-3)=18 \cdot 4(-3)=72(-3)=-216(\text { multiplying from left to right })\)
    5. \((-3)(-5) \cdot 4(-2)=(-3) \cdot 4 \cdot(-5)(-2)=-12 \cdot 10=-120(\) since we can multiply in any order it is convenient to see that \(-5 \cdot-2=10 .\) )

    Exponents of integers

    Recall that a positive exponent represents the number of times a number is multiplied by itself.

    Example 1.21

    Evaluate:

    1. \(5^{2}=5 \cdot 5=25\)
    2. \((-4)^{3}=(-4) \cdot(-4) \cdot(-4)=16 \cdot(-4)=-64\)
    3. \((-7)^{1}=-7\)
    4. \(-2^{4}=-2 \cdot 2 \cdot 2 \cdot 2=-16\) Note: The exponent here is for 2 not −2!
    5. \((-3)^{4}=(-3) \cdot(-3) \cdot(-3) \cdot(-3)=9 \cdot(-3) \cdot(-3)=-27 \cdot(-3)=81\)
    6. \((-2)^{5}=(-2) \cdot(-2) \cdot(-2) \cdot(-2) \cdot(-2)=-32\)

    Exponent rules in details will be further discussed in Chapter 5.

    Division involving negative numbers

    Division is just a question of knowing multiplication and therefore has the same rule: The size of the quotient of two numbers is the quotient of the sizes. The sign is positive if the signs are the same and negative if they are different.

    Example 1.22

    Divide:

    1. \((-42) \div 7=-6\)
    2. \(81 \div(-9)=-9\)
    3. \((-35) \div(-7)=5\)
    4. \(14 \div 2=7\)
    5. \(0 \div 5=0\). Note When dividing 0 by any number, the answer is always 0.
    6. \(-10 \div 0=\) undefined.

    Note 1.23

    Any number divided by 0 is undefined!

    Multiplying and Dividing Integers

    Consider two numbers at a time.

    1. If the signs of the two numbers are the same, then the sign of the answer is positive.
    2. If the signs of the two numbers are different, then the sign of the answer is negative.

    • Was this article helpful?