Skip to content

Integers

By the end of this section, you will be able to: simplify expressions with absolute value, add and subtract integers, multiply and divide integers, simplify expressions with integers, evaluate variable expressions with integers, translate phrases to expressions with integers, and use integers in applications.

Simplify expressions with absolute value

A negative number is a number less than 00. The negative numbers are to the left of zero on the number line. See the figure below.

-4-3-2-101234Negative numbersZeroPositive numbers

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 22 and 2-2 are the same distance from zero, each one is called the opposite of the other. The opposite of 22 is 2-2, and the opposite of 2-2 is 22.

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.

The figure below illustrates the definition.

33-4-3-2-101234

The opposite of $3$ is $-3$.

Opposite notation.

a means the opposite of the number a-a \text{ means the opposite of the number } a

The notation a-a is read as “the opposite of aa.”

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

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

The absolute value of a number nn is written as n|n| and n0|n| \ge 0 for all numbers.

Absolute values are always greater than or equal to zero.

For example,

5 is 5 units away from 0, so 5=5.5 is 5 units away from 0, so 5=5.\begin{array}{l} -5 \text{ is } 5 \text{ units away from } 0, \text{ so } |-5| = 5. \\[4pt] 5 \text{ is } 5 \text{ units away from } 0, \text{ so } |5| = 5. \end{array}

The figure below illustrates this idea.

5 units5 units-505

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 00 to 00 on the number line is zero units.

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

Example. Fill in <<, >>, or == for each of the following pairs of numbers: (a) 55|-5| \,\rule{1.5em}{0.4pt}\, -|-5|; (b) 888 \,\rule{1.5em}{0.4pt}\, -|-8|; (c) 99-9 \,\rule{1.5em}{0.4pt}\, -|-9|; (d) (16)16-(-16) \,\rule{1.5em}{0.4pt}\, |-16|.

(a) Simplify each side, then order:

55Simplify.55Order.5>55>5\begin{array}{lrcl} & |-5| &\rule{1.5em}{0.4pt}& -|-5| \\[4pt] \text{Simplify.} & 5 &\rule{1.5em}{0.4pt}& -5 \\[4pt] \text{Order.} & 5 &>& -5 \\[4pt] & |-5| &>& -|-5| \end{array}

(b) Simplify each side, then order:

88Simplify.88Order.8>88>8\begin{array}{lrcl} & 8 &\rule{1.5em}{0.4pt}& -|-8| \\[4pt] \text{Simplify.} & 8 &\rule{1.5em}{0.4pt}& -8 \\[4pt] \text{Order.} & 8 &>& -8 \\[4pt] & 8 &>& -|-8| \end{array}

(c) Simplify each side, then order:

99Simplify.99Order.9=99=9\begin{array}{lrcl} & -9 &\rule{1.5em}{0.4pt}& -|-9| \\[4pt] \text{Simplify.} & -9 &\rule{1.5em}{0.4pt}& -9 \\[4pt] \text{Order.} & -9 &=& -9 \\[4pt] & -9 &=& -|-9| \end{array}

(d) Simplify each side, then order:

(16)16Simplify.1616Order.16=16(16)=16\begin{array}{lrcl} & -(-16) &\rule{1.5em}{0.4pt}& |-16| \\[4pt] \text{Simplify.} & 16 &\rule{1.5em}{0.4pt}& 16 \\[4pt] \text{Order.} & 16 &=& 16 \\[4pt] & -(-16) &=& |-16| \end{array}

Fill in the blank with <<, >>, or ==: 9___9-9 \_\_\_ -|-9|

Fill in the blank with <<, >>, or ==: 2___22 \_\_\_ -|-2|

Fill in the blank with <<, >>, or ==: 1___1-1 \_\_\_ |-1|

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.

Grouping symbols.

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

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

Example. Simplify: 24193(62)24 - |19 - 3(6 - 2)|.

24193(62)Work inside parentheses first: subtract 2 from 6.24193(4)Multiply 3(4).241912Subtract inside the absolute value bars.247Take the absolute value.247Subtract.17\begin{array}{lrcl} & && 24 - |19 - 3(6 - 2)| \\[4pt] \text{Work inside parentheses first: subtract } 2 \text{ from } 6. &&& 24 - |19 - 3(4)| \\[4pt] \text{Multiply } 3(4). &&& 24 - |19 - 12| \\[4pt] \text{Subtract inside the absolute value bars.} &&& 24 - |7| \\[4pt] \text{Take the absolute value.} &&& 24 - 7 \\[4pt] \text{Subtract.} &&& 17 \end{array}

Simplify: 19114(31)19 - |11 - 4(3 - 1)|.

Simplify: 984(75)9 - |8 - 4(7 - 5)|.

Add and subtract integers

So far, we have only used the counting numbers and the whole numbers.

Counting numbers1,2,3Whole numbers0,1,2,3\begin{array}{ll} \text{Counting numbers} & 1, 2, 3 \ldots \\[4pt] \text{Whole numbers} & 0, 1, 2, 3 \ldots \end{array}

Our work with opposites gives us a way to define the integers. The whole numbers and their opposites are called the integers. The integers are the numbers 3,2,1,0,1,2,3\ldots -3, -2, -1, 0, 1, 2, 3 \ldots

Integers. The whole numbers and their opposites are called the integers.

The integers are the numbers

3,2,1,0,1,2,3\ldots -3, -2, -1, 0, 1, 2, 3 \ldots

Most students are comfortable with the addition and subtraction facts for positive numbers. But doing addition or subtraction with both positive and negative numbers may be more challenging.

We will use two color counters to model addition and subtraction of negatives so that you can visualize the procedures instead of memorizing the rules. We let one color (blue) represent positive. The other color (red) will represent the negatives.

If we have one positive counter and one negative counter, the value of the pair is zero. They form a neutral pair. The value of this neutral pair is zero, as shown by 1+(1)=01 + (-1) = 0.

We will use the counters to show how to add the four combinations 5+35 + 3, 5+(3)-5 + (-3), 5+3-5 + 3, and 5+(3)5 + (-3).

The first example, 5+35 + 3, adds 55 positives and 33 positives — both positives. The second example, 5+(3)-5 + (-3), adds 55 negatives and 33 negatives — both negatives. When the signs are the same, the counters are all the same color, and so we add them. In each case we get 88 — either 88 positives or 88 negatives:

5+3=85+(3)=8\begin{array}{rcl} 5 + 3 &=& 8 \\[4pt] -5 + (-3) &=& -8 \end{array}

So what happens when the signs are different? Let’s add 5+3-5 + 3 and 5+(3)5 + (-3). When we use counters to model addition of positive and negative integers, it is easy to see whether there are more positive or more negative counters. So we know whether the sum will be positive or negative:

5+3=2(more negatives — the sum is negative)5+(3)=2(more positives — the sum is positive)\begin{array}{rcll} -5 + 3 &=& -2 & \text{(more negatives — the sum is negative)} \\[4pt] 5 + (-3) &=& 2 & \text{(more positives — the sum is positive)} \end{array}

Example. Add: (a) 1+(4)-1 + (-4); (b) 1+5-1 + 5; (c) 1+(5)1 + (-5).

(a) We model 11 negative plus 44 negatives, which is 55 negatives:

1+(4)=5-1 + (-4) = -5

(b) There are more positives, so the sum is positive:

1+5=4-1 + 5 = 4

(c) There are more negatives, so the sum is negative:

1+(5)=41 + (-5) = -4

Add: 2+(4)-2 + (-4).

Add: 2+4-2 + 4.

Add: 2+(4)2 + (-4).

We will continue to use counters to model the subtraction. Perhaps when you were younger, you read 535 - 3 as “5 take away 3.” When you use counters, you can think of subtraction the same way!

We will use the counters to show how to subtract the four combinations 535 - 3, 5(3)-5 - (-3), 53-5 - 3, and 5(3)5 - (-3).

The first example, 535 - 3, we subtract 33 positives from 55 positives and end up with 22 positives. In the second example, 5(3)-5 - (-3), we subtract 33 negatives from 55 negatives and end up with 22 negatives. Each example used counters of only one color, and the “take away” model of subtraction was easy to apply:

53=25(3)=2\begin{array}{rcl} 5 - 3 &=& 2 \\[4pt] -5 - (-3) &=& -2 \end{array}

What happens when we have to subtract one positive and one negative number? We’ll need to use both blue and red counters as well as some neutral pairs. If we don’t have the number of counters needed to take away, we add neutral pairs. Adding a neutral pair does not change the value. It is like changing quarters to nickels — the value is the same, but it looks different.

Let’s look at 53-5 - 3 and 5(3)5 - (-3). We model the first number, then add the needed neutral pairs so that we can remove the number of counters modeled by the second number. After we remove and count what is left:

53=85(3)=8\begin{array}{rcl} -5 - 3 &=& -8 \\[4pt] 5 - (-3) &=& 8 \end{array}

Example. Subtract: (a) 313 - 1; (b) 3(1)-3 - (-1); (c) 31-3 - 1; (d) 3(1)3 - (-1).

(a) Take 11 positive from 33 positives and get 22 positives:

31=23 - 1 = 2

(b) Take 11 negative from 33 negatives and get 22 negatives:

3(1)=2-3 - (-1) = -2

(c) Take 11 positive from the one added neutral pair:

31=4-3 - 1 = -4

(d) Take 11 negative from the one added neutral pair:

3(1)=43 - (-1) = 4

Subtract: 646 - 4.

Subtract: 6(4)-6 - (-4).

Subtract: 64-6 - 4.

Have you noticed that subtraction of signed numbers can be done by adding the opposite? In the last example, 31-3 - 1 is the same as 3+(1)-3 + (-1) and 3(1)3 - (-1) is the same as 3+13 + 1. You will often see this idea, the Subtraction Property, written as follows.

Subtraction Property.

ab=a+(b)a - b = a + (-b)

Subtracting a number is the same as adding its opposite.

Example. Simplify: (a) 13813 - 8 and 13+(8)13 + (-8); (b) 179-17 - 9 and 17+(9)-17 + (-9); (c) 9(15)9 - (-15) and 9+159 + 15; (d) 7(4)-7 - (-4) and 7+4-7 + 4.

(a) Subtract:

138=513+(8)=5\begin{array}{rcl} 13 - 8 &=& 5 \\[4pt] 13 + (-8) &=& 5 \end{array}

(b) Subtract:

179=2617+(9)=26\begin{array}{rcl} -17 - 9 &=& -26 \\[4pt] -17 + (-9) &=& -26 \end{array}

(c) Subtract:

9(15)=249+15=24\begin{array}{rcl} 9 - (-15) &=& 24 \\[4pt] 9 + 15 &=& 24 \end{array}

(d) Subtract:

7(4)=37+4=3\begin{array}{rcl} -7 - (-4) &=& -3 \\[4pt] -7 + 4 &=& -3 \end{array}

Simplify: 211321 - 13 (which equals 21+(13)21 + (-13)).

Simplify: 117-11 - 7 (which equals 11+(7)-11 + (-7)).

Simplify: 6(13)6 - (-13) (which equals 6+136 + 13).

What happens when there are more than three integers? We just use the order of operations as usual.

Example. Simplify: 7(43)97 - (-4 - 3) - 9.

7(43)9Simplify inside the parentheses first.7(7)9Subtract left to right.149Subtract.5\begin{array}{lrcl} & && 7 - (-4 - 3) - 9 \\[4pt] \text{Simplify inside the parentheses first.} &&& 7 - (-7) - 9 \\[4pt] \text{Subtract left to right.} &&& 14 - 9 \\[4pt] \text{Subtract.} &&& 5 \end{array}

Simplify: 8(31)98 - (-3 - 1) - 9.

Simplify: 12(96)1412 - (-9 - 6) - 14.

Multiply and divide integers

Since multiplication is mathematical shorthand for repeated addition, our model can easily be applied to show multiplication of integers. We remember that aba \cdot b means add aa, bb times.

Consider 535 \cdot 3, which means add 55 three times, giving 1515 positives, so 53=155 \cdot 3 = 15. Likewise 5(3)-5(3) means add 5-5 three times, giving 1515 negatives, so 5(3)=15-5(3) = -15.

The next two products are more interesting. What does it mean to multiply 55 by 3-3? It means subtract 55, three times. Looking at subtraction as “taking away,” it means to take away 55, three times. But there is nothing to take away, so we start by adding neutral pairs on the workspace. After taking away 55 positives three times, 1515 negatives are left, so 5(3)=155(-3) = -15. Similarly, (5)(3)(-5)(-3) means take away 5-5, three times; after adding neutral pairs and taking away, 1515 positives are left, so (5)(3)=15(-5)(-3) = 15. In summary:

53=155(3)=155(3)=15(5)(3)=15\begin{array}{ll} 5 \cdot 3 = 15 & -5(3) = -15 \\[4pt] 5(-3) = -15 & (-5)(-3) = 15 \end{array}

Notice that for multiplication of two signed numbers, when the signs are the same, the product is positive, and when the signs are different, the product is negative.

What about division? Division is the inverse operation of multiplication. So, 15÷3=515 \div 3 = 5 because 53=155 \cdot 3 = 15. In words, this expression says that 1515 can be divided into 33 groups of 55 each because adding five three times gives 1515. If you look at some examples of multiplying integers, you might figure out the rules for dividing integers:

53=15so15÷3=5(5)(3)=15so15÷(3)=55(3)=15so15÷3=55(3)=15so15÷(3)=5\begin{array}{lll} 5 \cdot 3 = 15 & \text{so} & 15 \div 3 = 5 \\[4pt] (-5)(-3) = 15 & \text{so} & 15 \div (-3) = -5 \\[4pt] -5(3) = -15 & \text{so} & -15 \div 3 = -5 \\[4pt] 5(-3) = -15 & \text{so} & -15 \div (-3) = 5 \end{array}

Division follows the same rules as multiplication with regard to signs.

Multiplication and Division of Signed Numbers.

For multiplication and division of two signed numbers:

Same signsResult
Two positivesPositive
Two negativesPositive

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

Different signsResult
Positive and negativeNegative
Negative and positiveNegative

If the signs are different, the result is negative.

Example. Multiply or divide: (a) 100÷(4)-100 \div (-4); (b) 767 \cdot 6; (c) 4(8)4(-8); (d) 27÷3-27 \div 3.

(a) Divide, with signs that are the same the quotient is positive.100÷(4)=25(b) Multiply, with same signs.76=42(c) Multiply, with different signs.4(8)=32(d) Divide, with different signs, the quotient is negative.27÷3=9\begin{array}{lrcl} \text{(a) Divide, with signs that are the same the quotient is positive.} & -100 \div (-4) &=& 25 \\[4pt] \text{(b) Multiply, with same signs.} & 7 \cdot 6 &=& 42 \\[4pt] \text{(c) Multiply, with different signs.} & 4(-8) &=& -32 \\[4pt] \text{(d) Divide, with different signs, the quotient is negative.} & -27 \div 3 &=& -9 \end{array}

Simplify: 115÷(5)-115 \div (-5).

Simplify: 5125 \cdot 12.

Simplify: 9(7)9(-7).

When we multiply a number by 11, the result is the same number. Each time we multiply a number by 1-1, we get its opposite!

Multiplication by 1-1.

1a=a-1a = -a

Multiplying a number by 1-1 gives its opposite.

Simplify expressions with integers

What happens when there are more than two numbers in an expression? The order of operations still applies when negatives are included. Remember Please Excuse My Dear Aunt Sally?

Let’s try some examples. We’ll simplify expressions that use all four operations with integers — addition, subtraction, multiplication, and division. Remember to follow the order of operations.

Example. Simplify: (a) (2)4(-2)^4; (b) 24-2^4.

Notice the difference in parts (a) and (b). In part (a), the exponent means to raise what is in the parentheses, the 2-2, to the 4th4^{\text{th}} power. In part (b), the exponent means to raise just the 22 to the 4th4^{\text{th}} power and then take the opposite.

(a) Write in expanded form and multiply:

(2)4=(2)(2)(2)(2)Multiply.4(2)(2)Multiply.8(2)Multiply.16\begin{array}{lrcl} & (-2)^4 &=& (-2)(-2)(-2)(-2) \\[4pt] \text{Multiply.} && & 4(-2)(-2) \\[4pt] \text{Multiply.} & && -8(-2) \\[4pt] \text{Multiply.} & && 16 \end{array}

(b) Write in expanded form; we are asked to find the opposite of 242^4:

24=(2222)Multiply.(422)Multiply.(82)Multiply.16\begin{array}{lrcl} & -2^4 &=& -(2 \cdot 2 \cdot 2 \cdot 2) \\[4pt] \text{Multiply.} & && -(4 \cdot 2 \cdot 2) \\[4pt] \text{Multiply.} & && -(8 \cdot 2) \\[4pt] \text{Multiply.} & && -16 \end{array}

Simplify: (3)4(-3)^4.

Simplify: 34-3^4.

Simplify: (7)2(-7)^2.

The last example showed us the difference between (2)4(-2)^4 and 24-2^4. This distinction is important to prevent future errors. The next example reminds us to multiply and divide in order left to right.

Example. Simplify: (a) 8(9)÷(2)38(-9) \div (-2)^3; (b) 30÷2+(3)(7)-30 \div 2 + (-3)(-7).

(a) Simplify:

8(9)÷(2)3Exponents first.8(9)÷(8)Multiply.72÷(8)Divide.9\begin{array}{lrcl} & && 8(-9) \div (-2)^3 \\[4pt] \text{Exponents first.} &&& 8(-9) \div (-8) \\[4pt] \text{Multiply.} &&& -72 \div (-8) \\[4pt] \text{Divide.} &&& 9 \end{array}

(b) Simplify:

30÷2+(3)(7)Multiply and divide left to right, so divide first.15+(3)(7)Multiply.15+21Add.6\begin{array}{lrcl} & && -30 \div 2 + (-3)(-7) \\[4pt] \text{Multiply and divide left to right, so divide first.} &&& -15 + (-3)(-7) \\[4pt] \text{Multiply.} &&& -15 + 21 \\[4pt] \text{Add.} &&& 6 \end{array}

Simplify: 12(9)÷(3)312(-9) \div (-3)^3.

Simplify: 27÷3+(5)(6)-27 \div 3 + (-5)(-6).

Simplify: 18(4)÷(2)318(-4) \div (-2)^3.

Evaluate variable expressions with integers

Remember that to evaluate an expression means to substitute a number for the variable in the expression. Now we can use negative numbers as well as positive numbers.

Example. Evaluate 4x22xy+3y24x^2 - 2xy + 3y^2 when x=2x = 2, y=1y = -1.

4x22xy+3y2Substitute x=2,y=1. Use parentheses.4(2)22(2)(1)+3(1)2Simplify exponents.442(2)(1)+31Multiply.16(4)+3Subtract.20+3Add.23\begin{array}{lrcl} & && 4x^2 - 2xy + 3y^2 \\[4pt] \text{Substitute } x = 2, y = -1. \text{ Use parentheses.} &&& 4(2)^2 - 2(2)(-1) + 3(-1)^2 \\[4pt] \text{Simplify exponents.} &&& 4 \cdot 4 - 2(2)(-1) + 3 \cdot 1 \\[4pt] \text{Multiply.} &&& 16 - (-4) + 3 \\[4pt] \text{Subtract.} &&& 20 + 3 \\[4pt] \text{Add.} &&& 23 \end{array}

Evaluate 3x22xy+6y23x^2 - 2xy + 6y^2 when x=1x = 1, y=2y = -2.

Evaluate 4x2xy+5y24x^2 - xy + 5y^2 when x=2x = -2, y=3y = 3.

Translate phrases to expressions with integers

Our earlier work translating English to algebra also applies to phrases that include both positive and negative numbers.

Example. Translate and simplify: the sum of 88 and 12-12, increased by 33.

Translate.[8+(12)]+3Simplify. Be careful not to confuse the brackets with an absolute value sign.(4)+3Add.1\begin{array}{lrcl} \text{Translate.} & && [8 + (-12)] + 3 \\[4pt] \text{Simplify. Be careful not to confuse the brackets with an absolute value sign.} &&& (-4) + 3 \\[4pt] \text{Add.} & && -1 \end{array}

Translate and simplify the sum of 99 and 16-16, increased by 44.

Translate and simplify the sum of 8-8 and 12-12, increased by 77.

Use integers in applications

We’ll outline a plan to solve applications. It’s hard to find something if we don’t know what we’re looking for or what to call it! So when we solve an application, we first need to determine what the problem is asking us to find. Then we’ll write a phrase that gives the information to find it. We’ll translate the phrase into an expression and then simplify the expression to get the answer. Finally, we summarize the answer in a sentence to make sure it makes sense.

Example. In the morning, the temperature in Kendallville, Indiana was 1111 degrees. By mid-afternoon, the temperature had dropped to 9-9 degrees. What was the difference in the morning and afternoon temperatures?

Step
Step 1. Read the problem.Make sure all the words and ideas are understood.
Step 2. Identify what we are asked to find.The difference of the morning and afternoon temperatures.
Step 3. Write a phrase that gives the information to find it.the difference of 1111 and 9-9
Step 4. Translate the phrase to an expression.11(9)11 - (-9)
Step 5. Simplify the expression.2020
Step 6. Answer the question with a complete sentence.The difference in temperatures was 2020 degrees.

In the morning, the temperature in Anchorage, Alaska was 1515 degrees. By mid-afternoon the temperature had dropped to 3030 degrees below zero. What was the difference, in degrees, in the morning and afternoon temperatures? Enter just the number.

The temperature in Denver was 6-6 degrees at lunchtime. By sunset the temperature had dropped to 15-15 degrees. What was the difference, in degrees, in the lunchtime and sunset temperatures? Enter just the number.

How to use integers in applications.

  1. Read the problem. Make sure all the words and ideas are understood.
  2. Identify what we are asked to find.
  3. Write a phrase that gives the information to find it.
  4. Translate the phrase to an expression.
  5. Simplify the expression.
  6. Answer the question with a complete sentence.

Key terms

negative number — a number less than 00; on the number line, the negative numbers lie to the left of zero. opposite — the number that is the same distance from zero on the number line but on the opposite side of zero; the opposite of aa is written a-a. absolute value — the distance of a number from 00 on the number line, written n|n|; it is always greater than or equal to zero. integers — the whole numbers and their opposites: 3,2,1,0,1,2,3\ldots -3, -2, -1, 0, 1, 2, 3 \ldots neutral pair — a positive counter paired with a negative counter, whose value is zero.


This section is adapted from Intermediate Algebra 2e, Section 1.2: Integers by Lynn Marecek and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: recreated the number-line figures as accessible inline graphics, rendered the two-color-counter models and step tables as typeset math, and presented the multiplication/division sign rules as tables; omitted the Be Prepared note, media link, and end-of-section exercises; and converted the “Try It” practice problems into interactive exercises with instant feedback.