Skip to main content
Logo image

Section 1.1 Integers

Mathematical symbols make writing clearer and shorter. The first symbol is the ellipses (\(\ldots\)). In mathematics, this symbol means “continuing in this manner.” When a pattern is easy to see, we can use the ellipses (\(\ldots\)) to show that the pattern continues. We use this to define the integers.
The integers are the numbers
\begin{equation*} \ldots,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,\ldots \end{equation*}
The positive integers are:
\begin{equation*} 1,2,3,4,5,6,7,\ldots \end{equation*}
We also call the positive integers the natural numbers.
The negative integers are:
\begin{equation*} \ldots,-7,-6,-5,-4,-3,-2,-1 \end{equation*}
The integer \(0\) is not positive or negative.
The video in Figure 1.1.1 introduces integers and statements.
Figure 1.1.1. The Integers (Part I: Definition and Statements) by Matt Farmer and Stephen Steward
Figure 1.1.2 shows the integers, natural numbers, and negative integers on the number line.
The number line with an ellipsis to the left and to the right and with the integers from -4 to 10 labeled
(a) The integers on the number line extend to the left and right.
The number line with integers from \(1\) to \(10\) labeled followed by an ellipsis
(b) The natural numbers (or positive integers) on the number line extend only to the right starting at \(1\text{.}\)
The number line with an ellipsis to the left and integers from \(-4\) to \(-1\) labeled
(c) The negative integers on the number line extend only to the left starting at \(-1\text{.}\)
Figure 1.1.2. Number lines

Subsection Comparing Integers

The symbols \(=\text{,}\) \(\ne\text{,}\) \(\lt\text{,}\) \(\le\text{,}\) \(>\text{,}\) and \(\ge\) are used to compare integers.
Table 1.1.3. Comparison symbols for integers
symbol read as
\(=\) “is equal to”
\(\ne\) “is not equal to”
\(>\) “is greater than”
\(\ge\) “is greater than or equal to”
\(\lt\) “is less than”
\(\le\) “is less than or equal to”
The first symbol in Table 1.1.3 is the equality symbol, \(=\text{.}\) Two integers are equal if they are the same integer. To show that two integers are not equal we use the symbol, \(\ne\text{.}\)
The other symbols compare the positions of two integers on the number line. An integer is greater than another integer if the first integer is to the right of the second integer on the number line. An integer is less than another integer if the first integer is to the left of the second integer on the number line.

Example 1.1.4. Reading \(=\text{,}\) \(\ne\text{,}\) \(\gt\text{,}\) \(\ge\text{,}\) \(\lt\text{,}\) and \(\le\).

We give examples of comparisons and how to read them.
  1. \(2=2\) is read “2 is equal to 2.”
  2. \(2\ne 3\) is read “\(2\) is not equal to 3.”
  3. \(3> 2\) is read “3 is greater than 2.”
  4. \(3\ge 2\) is read “3 is greater than or equal to 2.”
  5. \(2\lt 3\) is read “2 is less than 3.”
  6. \(2\le 3\) is read “2 is less than or equal to 3.”

Subsection Operations

Addition, negation, subtraction, and multiplication are the basic operations of integers. We write “\(+\)” for plus, “\(-\)” for minus, and “\(\cdot\)” for times.

Example 1.1.5. Statements involving integer operations.

We give some examples of statements that involve integer operations. As we do not say “is false” we mean that all of these equality statements are true.
  1. \(2+3=5\) is read “2 plus 3 is equal to 5”
  2. \(2+0=2\) is read “2 plus 0 is equal to 2”
  3. \(2+(-2)=0\) is read “2 plus negative 2 is equal to 0”
  4. \(2-2=0\) is read “2 minus 2 is equal to 0”
  5. \(2\cdot 5=10\) is read “2 times 5 is equal to 10”
  6. \(2\cdot(-5)=-10\) is read “2 times negative 5 is equal to negative 10”
  7. \((-2)\cdot(-5)=10\) is read “negative 2 times negative 5 is equal to 10”
We can view multiplication of a natural number by an integer as repeated addition.

Example 1.1.6. Multiplication as repeated addition.

We give examples of multiplication viewed as repeated addition.
  1. \(\displaystyle 3 \cdot 5 = 5+5+5=15\)
  2. \(\displaystyle 3 \cdot (-5) = (-5)+(-5)+(-5)=-15\)
  3. Again, we can use ellipses (\(\ldots\)) to represent a continuing pattern:
    \begin{equation*} 100 \cdot 5 =\underbrace{5+5+\ldots+5}_{100 \text{ copies of }5}=500\text{.} \end{equation*}
The rule for multiplying two negative integers takes more explanation, which we do not give here. Recall that the product of two negative integers is always positive.

Example 1.1.7. Multiplication with negative integers.

We give examples of multiplication of integers and negative integers:
  1. \(\displaystyle 3\cdot(-5) = -15\)
  2. \(\displaystyle (-3)\cdot 5=-15\)
  3. \(\displaystyle (-3)\cdot (-5)=15\)

Subsection Order of Operations

In most cases, we use parentheses to show the order of operations, but too many parentheses can make an expression hard to read. We evaluate what is in parentheses first. We start with the innermost parentheses and work outward when parentheses are nested. If there are no parentheses, we do multiplication and division first, followed by addition and subtraction (compare Figure 1.1.10).

Example 1.1.8. Order of operations.

We give examples for order of operations. The numbers and the operations are the same; only the grouping of the expressions given by the parentheses differs.
  1. \(\displaystyle (2+3)\cdot 4=5\cdot 4=20\)
  2. \(\displaystyle 2+(3\cdot 4)=2+12=14\)
  3. \(\displaystyle 5\cdot \left(2+(3\cdot 4)\right)=5\cdot(2+12)=5\cdot 14=70\)
  4. \(\displaystyle (5\cdot 2)+(3\cdot 4)=10+12=22\)

Example 1.1.9. Associative property of addition.

We compute the same sums using the different orders shown by the parentheses. The results show that the order does not matter when addition is the only operation. This property is called the associative property of addition
  1. \(\displaystyle ((1+2)+3)+4=(3+3)+4=6+4=10\)
  2. \(\displaystyle 1+((2+3)+4)=1+(5+4)=1+9=10\)
  3. \(\displaystyle (1+2)+(3+4)=3+7=10\)
Usually we write \(1+2+3+4=10\text{.}\)
described in detail following the image
XKCD Presents: New Mnemonics
Order of Operations: Parentheses, Exponents, Division and Multiplication, Addition and Subtraction
Traditional Mnemonic: Please Excuse My Dear Aunt Sally
Person having a shark delivered to his laptop.
New Mnemonics: Please Email My Dad A Shark or People Expect More Drugs And Sex
Figure 1.1.10. From Mnemonics by Randall Munroe (https://xkcd.com/992).
In the video in Figure 1.1.11 we review operations with integers and explain the purpose of the next section.
Figure 1.1.11. The Integers (Part 2: Operations) by Matt Farmer and Stephen Steward