Skip to main content
Mathematics LibreTexts

1.4: Add and Subtract Integers

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

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    Learning Objectives
    • Use negatives and opposites
    • Simplify: expressions with absolute value
    • Add integers
    • Subtract integers

    A more thorough introduction to the topics covered in this section can be found in the Prealgebra chapter, Integers.

    Use Negatives and Opposites

    Our work so far has only included the counting numbers and the whole numbers. But if you have ever experienced a temperature below zero or accidentally overdrawn your checking account, you are already familiar with negative numbers. Negative numbers are numbers less than \(0\). The negative numbers are to the left of zero on the number line. See Figure \(\PageIndex{1}\).

    A number line extends from negative 4 to 4. A bracket is under the values “negative 4” to “0” and is labeled “Negative numbers”. Another bracket is under the values 0 to 4 and labeled “positive numbers”. There is an arrow in between both brackets pointing upward to zero.
    Figure \(\PageIndex{1}\). The number line shows the location of positive and negative numbers.

    The arrows on the ends of the number line indicate that the numbers keep going forever. There is no biggest positive number, and there is no smallest negative number.

    Is zero a positive or a negative number? Numbers larger than zero are positive, and numbers smaller than zero are negative. Zero is neither positive nor negative.

    Consider how numbers are ordered on the number line. Going from left to right, the numbers increase in value. Going from right to left, the numbers decrease in value. See Figure \(\PageIndex{2}\).

    A number line ranges from negative 4 to 4.  An arrow above the number line extends from negative 1 towards 4 and is labeled “larger”. An arrow below the number line extends from 1 towards negative 4 and is labeled “smaller”.
    Figure \(\PageIndex{2}\). The numbers on a number line increase in value going from left to right and decrease in value going from right to left.

    Doing the Manipulative Mathematics activity “Number Line-part 2” will help you develop a better understanding of integers.

    Remember that we use the notation:

    \(a \lt b\) (read “\(a\) is less than \(b\)”) when \(a\) is to the left of \(b\) on the number line.

    \(a \gt b\) (read “\(a\) is greater than \(b\)”) when \(a\) is to the right of \(b\) on the number line.

    Now we need to extend the number line which showed the whole numbers to include negative numbers, too. The numbers marked by points in Figure \(\PageIndex{3}\). are called the integers. The integers are the numbers \(...−3, −2, −1, 0, 1, 2, 3…\)

    A number line extends from negative four to four. Points are plotted at negative four, negative three, negative two, negative one, zero, one, two, 3, and four.
    Figure \(\PageIndex{3}\). All the marked numbers are called integers.
    Example \(\PageIndex{1}\)

    Order each of the following pairs of numbers, using \(<\) or \(>\):

    1. \(14 \; \_\_\_\; 6\)
    2. \(-1\; \_\_\_ \;9\)
    3. \(-1\; \_\_\_ -4\)
    4. \(\;\; 2 \;\_\_\_ -20\)

    Solution:

    It may be helpful to refer to the number line shown.


    A number line ranges from negative twenty to fifteen with ticks marks between numbers. Every fifth tick mark is labeled a number. Points are plotted at points negative twenty, negative 4, negative 1, 2, 6, 9 and 14.

    Figure \(\PageIndex{4}\)

    \( \begin{align*}1. \quad & 14\;\_\_\_\;6 \\[4pt]
    & 14 > 6 && \text{\(14\) is to the right of \(6\) on the number line.} \\[8pt]
    2. \quad & -1\;\_\_\_\;9 \\[4pt]
    & -1 < 9 && \text{\(-1\) is to the left of \(9\) on the number line.}\\[8pt]
    3. \quad & -1\;\_\_\_-4 \\[4pt]
    & -1 > -4 && \text{\(-1\) is to the right of \(-4\) on the number line.}\\[8pt]
    4. \quad & 2\;\_\_\_-20 \\[4pt]
    & 2 > -20 && \text{\(2\) is to the right of \(-20\) on the number line.}\
    \end{align*} \)

    try-it.png Try It \(\PageIndex{1}\)

    Order each of the following pairs of numbers, using \(<\) or \(>\):

    1. \(15 \; \_\_\_\; 7\)
    2. \(-2 \; \_\_\_\; 5\)
    3. \(-3 \; \_\_\_\; -7\)
    4. \(5 \; \_\_\_\; -17\)
    Answer
    1. \(<\)
    2. \(>\)
    3. \(<\)
    4. \(>\)
    try-it.png Try It \(\PageIndex{2}\)

    Order each of the following pairs of numbers, using \(<\) or \(>\):

    1. \(8 \; \_\_\_\; 13\)
    2. \(3 \; \_\_\_\; -4\)
    3. \(-5 \; \_\_\_\; -2\)
    4. \(9 \; \_\_\_\; -21\)
    Answer
    1. \(<\)
    2. \(>\)
    3. \(<\)
    4. \(>\)

    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, they are called opposites. The opposite of \(2\) is \(−2\), and the opposite of \(−2\) is \(2\).

    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.

    Figure \(\PageIndex{5}\) illustrates the definition.

    A number line ranges from negative 4 to 4. There are two brackets above the number line. The bracket on the left spans from negative three to 0. The bracket on the right spans from zero to three. Points are plotted on both negative three and three.
    Figure \(\PageIndex{5}\): The opposite of \(3\) is \(−3\).

    Sometimes in algebra the same symbol has different meanings. Just like some words in English, the specific meaning becomes clear by looking at how it is used. You have seen the symbol “\(−\)” used in three different ways.

    \[\begin{align*} &10 − 4 \quad \text{Between two numbers, it indicates the operation of }\textit{subtraction}.\\ & \qquad \qquad \text{We read } 10 - 4 \, \text{as “}10 \, \text{minus} \, 4.\text{”}\\[5pt]
    &-8 \quad \text{In front of a number, it indicates a }\textit{negative}\text{ number.}\\ & \qquad \qquad \text{We read} -8 \text{ as “negative eight.”}\\[5pt]
    &-x \quad \text{In front of a variable, it indicates the }\textit{opposite.} \\ & \qquad \qquad \text{We read } -x \text{ as “the opposite of } x\text{”}\\[5pt]
    &-(-2) \quad \text{Here there are two “−” signs.}\\
    & \qquad \qquad \text{The one in the parentheses tells us the number is negative }2. \\
    & \qquad \qquad \text{ The one outside the parentheses tells us to take the }\textit{opposite}\text{ of }−2. \\
    & \qquad \qquad \text{ We read }−(−2) \text{ as “the opposite of negative two.”} \end{align*}\]

    OPPOSITE NOTATION

    \(−a\) means the opposite of the number \(a\).

    The notation \(−a\) is read as “the opposite of \(a\).”

    Example \(\PageIndex{2}\)

    Find:

    1. the opposite of \(7\)
    2. the opposite of \(−10\)
    3. the opposite of \(−(−6)\)

    Solution:

    1.\( \quad −7\) is the same distance from \(0\) as \(7\), but on the opposite side of \(0\). The opposite of \(7\) is \(-7\).

    .

    2.\( \quad 10\) is the same distance from \(0\) as \(−10\), but on the opposite side of \(0\). The opposite of \(-10\) is \(10\).

    .

    3. \(\quad\)The opposite of \(-(-6)\) is \(-6\).


    .

    try-it.png Try It \(\PageIndex{3}\)

    Find:

    1. the opposite of \(4\)
    2. the opposite of \(−3\)
    3. \(−(−1)\)
    Answer
    1. \(-4\)
    2. \(3\)
    3. \(1\)
    try-it.png Try It \(\PageIndex{4}\)

    Find:

    1. the opposite of \(8\)
    2. the opposite of \(−5\)
    3. \(−(−5)\)
    Answer
    1. \(-8\)
    2. \(5\)
    3. \(5\)

    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…\)

    INTEGERS

    The whole numbers and their opposites are called the integers.

    The integers are the numbers

    \[…−3,−2,−1,0,1,2,3… \nonumber \]

    When evaluating the opposite of a variable, we must be very careful. Without knowing whether the variable represents a positive or negative number, we don’t know whether −x−x is positive or negative. We can see this in Example \(\PageIndex{1}\).

    Example \(\PageIndex{3}\):

    Evaluate

    1. \(-x\), when \(x = 8\)
    2. \(-x\), when \(x = -8\)

    Solution:

    1. .  
        -x
      . .
      Write the opposite of 8. -8
    2. .  
        -x
      . .
      Write the opposite of -8. 8
    try-it.png Try It \(\PageIndex{5}\)

    Evaluate \(-n\), when

    1. \(n = 4\)
    2. \(n = -4\)
    Answer
    1. \(-4\)
    2. \(4\)
    try-it.png Try It \(\PageIndex{6}\)

    Evaluate \(-m\), when

    1. \(m = 11\)
    2. \(m = -11\)
    Answer
    1. \(-11\)
    2. \(11\)

    Simplify: Expressions with Absolute Value

    We saw that numbers such as \(2\) and \(−2\) are opposites because they are the same distance from \(0\) on the number line. They are both two units from \(0\). The distance between \(0\) 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 \(0\) on the number line.

    The absolute value of a number \(n\) is written as \(|n|\).

    For example,

    • \(−5\) is \(5\) units away from \(0\), so \(|−5|=5\).
    • \(5\) is \(5\) units away from \(0\), so \(|5|=5\).

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

    A number line is shown ranging from negative 5 to 5. A bracket labeled “5 units” lies above the points negative 5 to 0. An arrow labeled “negative 5 is 5 units from 0, so absolute value of negative 5 equals 5.” is written above the labeled bracket. A bracket labeled “5 units” lies above the points “0” to “5”. An arrow labeled “5 is 5 units from 0, so absolute value of 5 equals 5.” and is written above the labeled bracket.
    Figure \(\PageIndex{6}\): The integers \(5\) and 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.

    PROPERTY OF ABSOLUTE VALUE

    \(|n| \geq 0\) for all numbers

    Absolute values are always greater than or equal to zero!

    Mathematicians say it more precisely, “absolute values are always non-negative.” Non-negative means greater than or equal to zero.

    Example \(\PageIndex{4}\):

    Simplify:

    1. \(|3|\)
    2. \(|-44|\)
    3. \(|0|\)

    Solution:

    The absolute value of a number is the distance between the number and zero. Distance is never negative, so the absolute value is never negative.

    1. \( |3| = 3\)
    2. \(|-44| = 44\)
    3. \( |0| = 0\)
    try-it.png Try It \(\PageIndex{7}\)

    Simplify:

    1. \(|4|\)
    2. \(|-28|\)
    3. \(|0|\)
    Answer
    1. \(4\)
    2. \(28\)
    3. \(0\)
    try-it.png Try It \(\PageIndex{8}\)

    Simplify:

    1. \(|-13|\)
    2. \(|47|\)
    Answer
    1. \(13\)
    2. \(47\)

    In the next example, we’ll order expressions with absolute values. Remember, positive numbers are always greater than negative numbers!

    Example \(\PageIndex{5}\):

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

    1. \(|−5| \; {\underline{\hspace {2 em}}} \;−|−5|\)
    2. \(8 \;{\underline{\hspace {2 em}}} \;−|−8|\)
    3. \(-9 \;{\underline{\hspace {2 em}}} \;−|−9|\)
    4. \(-(-16) \;{\underline{\hspace {2 em}}}\; −|−16|\)

    Solution:


    1. \(\begin{array} {llll} {\text{Simplification}} &{|-5|} & {\underline{\hspace {2 em}}} &{-|-5|} \\ {\text{Order.}} &{5} &{\underline{\hspace {2 em}}} &{-5} \\ {} &{5} &{>} &{-5} \\ {} &{|-5|} &{>} &{-|-5|} \\ \end{array}\)

    2. \(\begin{array} {llll} {\text{Simplification}} &{8} & {\underline{\hspace {2 em}}} &{-|-8|} \\ {\text{Order.}} &{8} &{\underline{\hspace {2 em}}} &{-8} \\ {} &{8} &{>} &{-8} \\ \text{so }\\ {} & {|8|} &{>} &{-|-8|} \\ \end{array}\)

    3. \(\begin{array} {llll} {\text{Simplification}} &{-9} & {\underline{\hspace {2 em}}} &{-|-9|} \\ {\text{Order.}} &{-9} &{\underline{\hspace {2 em}}} &{-9} \\ {} &{-9} &{=} &{-9} \\ \text{so } \\ {} & {-9} &{=} &{-|-9|} \\ \end{array}\)

    4. \(\begin{array} {llll} {\text{Simplification}} &{-(-16)} & {\underline{\hspace {2 em}}} &{-|16|} \\ {\text{Order.}} &{16} &{\underline{\hspace {2 em}}} &{-16} \\ {} &{16} &{>} &{-16} \\ \text{so } \\ {} & {-(-16)} &{>} &{-|-16|} \\ \end{array}\)
    try-it.png Try It \(\PageIndex{9}\)

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

    1. \(|−9| \;{\underline{\hspace {2 em}}} \; −|−9|\)
    2. \(2 \;{\underline{\hspace {2 em}}} \; −|−2|\)
    3. \(-8 \;{\underline{\hspace {2 em}}} \; −|−8|\)
    4. \(-(-9) \;{\underline{\hspace {2 em}}} \; −|−9|\)
    Answer
    1. \(>\)
    2. \(>\)
    3. \(<\)
    4. \(>\)
    try-it.png Try It \(\PageIndex{10}\)

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

    1. \(7 \;{\underline{\hspace {2 em}}} \; −|−7|\)
    2. \(-(-10) \;{\underline{\hspace {2 em}}} \; −|−10|\)
    3. \(|-4| \;{\underline{\hspace {2 em}}} \; −|−4|\)
    4. \(-1 \;{\underline{\hspace {2 em}}} \; |−1|\)
    Answer
    1. \(>\)
    2. \(>\)
    3. \(>\)
    4. \(<\)

    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

    \[\begin{array} {llll} {\text{Parentheses}} &{()} & {\text{Braces}} & {\{\}} \\ {\text{Brackets}} &{[\space]} &{\text{Absolute}} &{|\space|} \\ \end{array} \nonumber\]

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

    Example \(\PageIndex{6}\):

    Simplify: \(24 - |19 - 3(6 - 2)|\)

    Solution:

    \[\begin{array} {ll} {} &{24 - |19 - 3(6 - 2)|} \\ {\text{Work inside parentheses first: subtract } 2\space \text{from } 6} &{24 - |19 - 3(4)|} \\ {\text{Multiply }3(4)} &{24 - |19 - 12|} \\ {\text{Subtract inside the absolute value bars. }} &{24 - |7|} \\ {\text{Take the absolute value.}} &{24 - 7} \\ {\text{Subtract.}} &{17} \end{array}\nonumber\]

    try-it.png Try It \(\PageIndex{11}\)

    Simplify: \(19 - |11 - 4(3 - 1)|\)

    Answer

    \(16\)

    try-it.png Try It \(\PageIndex{12}\)

    Simplify: \(9 - |8 - 4(7 - 5)|\)

    Answer

    \(9\)

    Example \(\PageIndex{7}\)

    Evaluate:

    1. \(|x|\) when \(x = -35\)
    2. \(|y|\) when \(y = -20\)
    3. \(-|u|\) when \(u = 12\)
    4. \(-|p|\) when \(p = -14\)

    Solution:

    1. \(|x|\) when \(x = -35\)

    \(\begin{array} {ll} {} &{|x|} \\ {\text{Substitute } -35 \space \text{for }x} &{|-35|} \\ {\text{Take the absolute value.}} &{35} \end{array}\)

    2. \(|y|\) when \(y = -20\)

    \(\begin{array} {ll} {} &{|-y|} \\ {\text{Substitute } -20 \space \text{for }y} &{|-(-20)|} \\ {\text{Simplify}} &{|20|} \\ {\text{Take the absolute value.}} &{20} \end{array}\)

    3. \(-|u|\) when \(u = 12\)

    \(\begin{array} {ll} {} &{-|u|} \\ {\text{Substitute } 12 \space \text{for }u} &{|-12|} \\ {\text{Take the absolute value.}} &{-12} \end{array}\)

    4. \(-|p|\) when \(p = -14\)

    \(\begin{array} {ll} {} &{-|p|} \\ {\text{Substitute } -14 \space \text{for }p} &{-|-14|} \\ {\text{Take the absolute value.}} &{-14} \end{array}\)

    try-it.png Try It \(\PageIndex{13}\)

    Evaluate:

    1. \(|x|\) when \(x = -17\)
    2. \(|y|\) when \(y = -39\)
    3. \(-|m|\) when \(m = 22\)
    4. \(-|p|\) when \(p = -11\)
    Answer
    1. \(17\)
    2. \(39\)
    3. \(-22\)
    4. \(-11\)
    try-it.png Try It \(\PageIndex{14}\)

    Evaluate:

    1. \(|y|\) when \(y = -23\)
    2. \(|-y|\) when \(y = -21\)
    3. \(-|n|\) when \(n = 37\)
    4. \(-|q|\) when \(q = -49\)
    Answer
    1. \(23\)
    2. \(21\)
    3. \(-37\)
    4. \(-49\)

    Add Integers

    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.

    Doing the Manipulative Mathematics activity “Addition of Signed Numbers” will help you develop a better understanding of adding integers.”

    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.

    In this image we have a blue counter above a red counter with a circle around both. The equation to the right is 1 plus negative 1 equals 0.
    Figure \(\PageIndex{7}\)

    We will use the counters to show how to add the four addition facts using the numbers \(5, −5\) and \(3,−3\).

    \[\begin{array} {llll} {5 + 3} &{-5 + (-3)} &{-5 + 3} &{5 + (-3)} \end{array} \nonumber \]

    To add \(5+3\), we realize that \(5+3\) means the sum of \(5\) and \(3\).

    We start with \(5\) positives. .
    And then we add \(3\) positives. .
    We now have \(8\) positives. The sum of \(5\) and \(3\) is \(8\). .

    Now we will add \(−5 + (−3)\). Watch for similarities to the last example \(5 + 3 = 8\).

    To add \(−5 + (−3)\), we realize this means the sum of \(−5\) and \(−3\).

    We start with \(5\) negatives. .
    And then we add \(3\) negatives. .
    We now have \(8\) negative. The sum of \(-5\) and \(-3\) is \(-8\). .

    In what ways were these first two examples similar?

    • The first example adds \(5\) positives and \(3\) positives—both positives.
    • The second example adds \(5\) negatives and \(3\) negatives—both negatives.

    In each case we got \(8\) — either \(8\) positives or \(8\) negatives.

    When the signs were the same, the counters were all the same color, and so we added them.

    This figure is divided into two columns. In the left column there are eight blue counters in a horizontal row. Under them is the text “8 positives.” Centered under this is the equation 5 plus 3 equals 8. In the right column are eight red counters in a horizontal row which are labled below with the phrase “8 negatives”. Centered under this is the equation negative 5 plus negative 3 equals negative 8, where negative 3 is in parentheses.
    Figure \(\PageIndex{7}\)
    Example \(\PageIndex{8}\)

    Add:

    1. \(1 + 4\)
    2. \(-1 + (-4)\)

    Solution:

    1. .

    \(1\) positive plus \(4\) positives is \(5\) positives.

    2. .

    \(1\) negative plus \(4\) negatives is \(5\) negatives.

    try-it.png Try It \(\PageIndex{15}\)

    Add:

    1. \(2 + 4\)
    2. \(-2 + (-4)\)
    Answer
    1. \(6\)
    2. \(-6\)
    try-it.png Try It \(\PageIndex{16}\)

    Add:

    1. \(2 + 5\)
    2. \(-2 + (-5)\)
    Answer
    1. \(7\)
    2. \(-7\)

    So what happens when the signs are different? Let’s add \(−5+3\). We realize this means the sum of \(−5\) and \(3\). When the counters were the same color, we put them in a row. When the counters are a different color, we line them up under each other.

      \(-5 + 3\) means the sum of \(-5\) and \(3\).
    We start with \(5\) negatives. .
    And then we add \(3\) positives. .
    We remove any neutral pairs. .
    We have \(2\) negatives left. .
    The sum of \(-5\) and \(3\) is \(-2\). \(-5 + 3 = 2\)
    Table \(\PageIndex{1}\)

    Notice that there were more negatives than positives, so the result was negative.

    Let’s now add the last combination, \(5+(−3)\).

      \(5 + (-3)\) means the sum of \(-5\) and \(-3\).
    We start with \(5\) positives. .
    And then we add \(3\) negatives. .
    We remove any neutral pairs. .
    We have \(2\) positives left. .
    The sum of \(5\) and \(-3\) is \(2\). \(5 + (-3) = 2\)
    Table \(\PageIndex{2}\)

    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.

    Two images are shown and labeled. The left image shows five red counters in a horizontal row drawn above three blue counters in a horizontal row, where the first three pairs of red and blue counters are circled. Above this diagram is written “negative 5 plus 3” and below is written “More negatives – the sum is negative.” The right image shows five blue counters in a horizontal row drawn above three red counters in a horizontal row, where the first three pairs of red and blue counters are circled. Above this diagram is written “5 plus negative 3” and below is written “More positives – the sum is positive.”
    Figure \(\PageIndex{8}\)
    Example \(\PageIndex{9}\)

    Add:

    1. \(-1 + 5\)
    2. \(1 + (-5)\)

    Solution:

    1. \(-1 + 5\)

    .

    There are more positives, so the sum is positive.

    So, \(-1 + 5 = 4\).

    2. \(1 + (-5)\)

    .

    There are more negatives, so the sum is negative.

    So, \(1 + (-5) = -4\)

    try-it.png Try It \(\PageIndex{17}\)

    Add:

    1. \(-2 + 4\)
    2. \(2 + (-4)\)
    Answer
    1. \(2\)
    2. \(-2\)
    try-it.png Try It \(\PageIndex{18}\)

    Add:

    1. \(-2 + 5\)
    2. \(2 + (-5)\)
    Answer
    1. \(3\)
    2. \(-3\)

    Now that we have added small positive and negative integers with a model, we can visualize the model in our minds to simplify problems with any numbers.

    When you need to add numbers such as \(37+(−53)\), you really don’t want to have to count out \(37\) blue counters and \(53\) red counters. With the model in your mind, can you visualize what you would do to solve the problem?

    Picture \(37\) blue counters with \(53\) red counters lined up underneath. Since there would be more red (negative) counters than blue (positive) counters, the sum would be negative. How many more red counters would there be? Because \(53−37=16\), there are \(16\) more red counters.

    Therefore, the sum of \(37+(−53)\) is \(−16\).

    \[37+(−53)=−16\nonumber\]

    Let’s try another one. We’ll add \(−74+(−27)\). Again, imagine \(74\) red counters and \(27\) more red counters, so we’d have \(101\) red counters. This means the sum is \(−101\).

    \[−74+(−27)=−101\nonumber\]

    Let’s look again at the results of adding the different combinations of \(5,−5\) and \(3, -3\).

    ADDITION OF POSITIVE AND NEGATIVE INTEGERS

    \[\begin{array} {ll} {5 + 3=8} &{-5 + (-3)=-8} \\{\text{both positive, sum positive}} &{\text{both negative, sum negative}} \end{array}\nonumber\]

    When the signs are the same, the counters would be all the same color, so add them.

    \[\begin{array} {ll} {-5 + 3=-2} &{5 + (-3)=2} \\{\text{different signs, more negatives, sum negative}} &{\text{different signs, more positives, sum positive}} \end{array}\nonumber\]

    When the signs are different, some of the counters would make neutral pairs, so subtract to see how many are left.

    Visualize the model as you simplify the expressions in the following examples.

    Example \(\PageIndex{10}\)

    Simplify:

    1. \(19 + (-47)\)
    2. \(-14 + (-36)\)

    Solution:

    1. Since the signs are different, we subtract \(19\) from \(47\). The answer will be negative because there are more negatives than positives.

    \(\text{Add.} \qquad 19 + (-47) = -28\)

    2. Since the signs are same, we add. The answer will be negative because there are more negatives than positives.

    \(\text{Add.} \qquad-14 + (-36) = -50\)

    try-it.png Try It \(\PageIndex{19}\)

    Simplify:

    1. \(-31 + (-19)\)
    2. \(15 + (-32)\)
    Answer
    1. \(-50\)
    2. \(-17\)
    try-it.png Try It \(\PageIndex{20}\)

    Simplify:

    1. \(-42 + (-28)\)
    2. \(25 + (-61)\)
    Answer
    1. \(-70\)
    2. \(-36\)

    The techniques used up to now extend to more complicated problems, like the ones we’ve seen before. Remember to follow the order of operations!

    Example \(\PageIndex{11}\)

    Simplify:

    \(-5 + 3(-2 + 7)\)

    Solution:

    \[\begin{array} {ll} {} &{-5 + 3(-2 + 7)} \\ {\text{Simplify inside the parenthesis}} &{-5 + 3(5)} \\{\text{Multiply}} &{-5 + 15} \\{\text{add left to right}} &{10} \end{array}\nonumber\]

    try-it.png Try It \(\PageIndex{21}\)

    Simplify:

    \(-2 + 5(-4 + 7)\)

    Answer

    \(13\)

    try-it.png Try It \(\PageIndex{22}\)

    Simplify:

    \(-4 + 2(-3 + 5)\)

    Answer

    \(0\)

    Subtract Integers

    Note

    Doing the Manipulative Mathematics activity “Subtraction of Signed Numbers” will help you develop a better understanding of subtracting integers.

    We will continue to use counters to model the subtraction. Remember, the blue counters represent positive numbers and the red counters represent negative numbers.

    Perhaps when you were younger, you read “\(5−3\)” as “\(5\) take away \(3\).” When you use counters, you can think of subtraction the same way!

    We will model the four subtraction facts using the numbers \(5\) and \(3\).

    \[\begin{array} {llll} {5 - 3} &{-5 - (-3))} &{-5 -3} &{5 - (-3)} \end{array}\nonumber\]

    To subtract \(5−3\), we restate the problem as “\(5\) take away \(3\).”

    We start with \(5\) positives. .
    We 'take away' \(3\) positives. .
    We have \(2\) positives left.  
    The difference of \(5\) and \(3\) is \(2\). \(2\)
    Table \(\PageIndex{3}\)

    Now we will subtract \(−5−(−3)\). Watch for similarities to the last example \(5−3=2\).

    To subtract \(−5−(−3)\), we restate this as “\(–5\) take away \(–3\)”

    We start with \(5\) negatives. .

    We 'take away' \(3\) negatives.

    .
    We have \(2\) negatives left.  
    The difference of \(-5\) and \(-3\) is \(-2\).

    \(-2\)

    Table \(\PageIndex{4}\)

    Notice that these two examples are much alike: The first example, we subtract 3 positives from 5 positives and end up with 2 positives.

    In the second example, we subtract 3 negatives from 5 negatives and end up with 2 negatives.

    Each example used counters of only one color, and the “take away” model of subtraction was easy to apply.

    Two images are shown and labeled. The first image shows five blue counters, three of which are circled with an arrow. Above the counters is the equation “5 minus 3 equals 2.” The second image shows five red counters, three of which are circled with an arrow. Above the counters is the equation “negative 5, minus, negative 3, equals negative 2.”
    Figure \(\PageIndex{9}\)
    Example \(\PageIndex{12}\)

    Subtract:

    1. \(7 - 5\)
    2. \(-7 - (-5)\)

    Solution:

    1. \[\begin{array} {ll} {7 - 5} \\ {2}&{\text{Take }5\space \text{positives from }7 \space \text{positives and get }2\space \text{positives}} & \end{array}\nonumber\]
    2. \[\begin{array} {ll} {-7 - (-5)} \\ {-2} &{\text{Take }5\space \text{negatives from }7 \space \text{negatives and get }2\space \text{negatives}} \end{array}\nonumber\]
    try-it.png Try It \(\PageIndex{23}\)

    Subtract:

    1. \(6 - 4\)
    2. \(-6 - (-4)\)
    Answer
    1. \(2\)
    2. \(-2\)
    try-it.png Try It \(\PageIndex{24}\)

    Subtract:

    1. \(7 - 4\)
    2. \(-7 - (-4)\)
    Answer
    1. \(3\)
    2. \(-3\)

    What happens when we have to subtract one positive and one negative number? We’ll need to use both white and red counters as well as some 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.

    • To subtract \(−5−3\), we restate it as \(−5\) take away \(3\).

    We start with \(5\) negatives. We need to take away \(3\) positives, but we do not have any positives to take away.

    Remember, a neutral pair has value zero. If we add \(0\) to \(5\) its value is still \(5\). We add neutral pairs to the \(5\) negatives until we get \(3\) positives to take away.

      \(-5 -3\) means \(-5\) take away \(3\)
    We start with \(5\) negatives. .
    We now add the neutrals needed to get \(3\) positives. .
    We remove the \(3\) positives. .
    We are left with \(8\) negatives. .
    The difference of \(-5\) and \(3\) is \(-8\). \(-5 - 3 = -8\)
    Table \(\PageIndex{5}\)

    And now, the fourth case, \(5−(−3)\). We start with \(5\) positives. We need to take away \(3\) negatives, but there are no negatives to take away. So we add neutral pairs until we have \(3\) negatives to take away.

      \(5 -(-3)\) means \(5\) take away \(-3\)
    We start with \(5\) positives. .
    We now add the needed neutrals pairs. .
    We remove the \(3\) negatives. .
    We are left with \(8\) positives. .
    The difference of \(5\) and \(-3\) is \(8\). \(5 - (-3) = 8\)
    Table \(\PageIndex{6}\)
    Example \(\PageIndex{13}\)

    Subtract:

    1. \(-3 -1\)
    2. \(3 - (-1)\)

    Solution:

    1.

    Take 1 positive from the one added neutral pair.

    .
    .

    \(\begin{array} {l} {-3 -1} \\ {-4} \end{array}\)

    2.

    Take 1 negative from the one added neutral pair.

    .
    .

    \(\begin{array} {l} {3 - (-1)} \\ {4} \end{array}\)
    try-it.png Try It \(\PageIndex{25}\)

    Subtract:

    1. \(-6 -4\)
    2. \(6 - (-4)\)
    Answer
    1. \(-10\)
    2. \(10\)
    try-it.png Try It \(\PageIndex{26}\)

    Subtract:

    1. \(-7-4\)
    2. \(7 - (-4)\)
    Answer
    1. \(-11\)
    2. \(11\)

    Have you noticed that subtraction of signed numbers can be done by adding the opposite? In Exercise \(\PageIndex{33}\), \(−3−1\) is the same as \(−3+(−1)\) and \(3−(−1)\) is the same as \(3+1\). You will often see this idea, the subtraction property, written as follows:

    SUBTRACTION PROPERTY

    \[a−b=a+(−b) \nonumber\]

    Subtracting a number is the same as adding its opposite.

    Look at these two examples.

    Two images are shown and labeled. The first image shows four gray spheres drawn next to two gray spheres, where the four are circled in red, with a red arrow leading away to the lower left. This drawing is labeled above as “6 minus 4” and below as “2.” The second image shows four gray spheres and four red spheres, drawn one above the other and circled in red, with a red arrow leading away to the lower left, and two gray spheres drawn to the side of the four gray spheres. This drawing is labeled above as “6 plus, open parenthesis, negative 4, close parenthesis” and below as “2.”
    Figure \(\PageIndex{10}\): \(6−4\) gives the same answer as \(6+(−4)\).

    Of course, when you have a subtraction problem that has only positive numbers, like \(6−4\), you just do the subtraction. You already knew how to subtract \(6−4\) long ago. But knowing that \(6−4\) gives the same answer as \(6+(−4)\) helps when you are subtracting negative numbers. Make sure that you understand how \(6−4\) and \(6+(−4)\) give the same results!

    Example \(\PageIndex{14}\)

    Simplify:

    1. \(13 - 8 \space \text{and } 13 + (-8)\)
    2. \(-17 - 9 \space \text{and } -17 + (-9)\)

    Solution:

    1. \(\begin{array} {llll} {\text{Subtract.}} &{13 - 8} &{\text{and}} &{13 + (-8)} \\ {} &{5} &{} &{5} \end{array}\)
    2. \(\begin{array} {llll} {\text{Subtract.}} &{-17 - 9} &{\text{and}} &{-17 + (-9)} \\ {} &{-26} &{} &{-26} \end{array}\)
    try-it.png Try It \(\PageIndex{27}\)

    Simplify:

    1. \(21 - 13 \space \text{and } 21 + (-13)\)
    2. \(-11 - 7 \space \text{and } -11 + (-7)\)
    Answer
    1. \(8\)
    2. \(-18\)
    try-it.png Try It \(\PageIndex{28}\)

    Simplify:

    1. \(15 - 7 \space \text{and } 15 + (-7)\)
    2. \(-14 - 8 \space \text{and } -14 + (-8)\)
    Answer
    1. \(8\)
    2. \(-22\)

    Look at what happens when we subtract a negative.

    This figure is divided vertically into two halves. The left part of the figure contains the expression 8 minus negative 5, where negative 5 is in parentheses. The expression sits above a group of 8 blue counters next to a group of five blue counters in a row, with a space between the two groups. Underneath the group of five blue counters is a group of five red counters, which are circled. The circle has an arrow pointing away toward bottom left of the image, symbolizing subtraction. Below the counters is the number 13. The right part of the figure contains the expression 8 plus 5. The expression sits above a group of 8 blue counters next to a group of five blue counters in a row, with a space between the two groups. Underneath the counters is the number 13.
    Figure \(\PageIndex{11}\): \(8−(−5)\) gives the same answer as \(8+5\)

    Subtracting a negative number is like adding a positive!

    You will often see this written as \(a−(−b)=a+b\).

    Does that work for other numbers, too? Let’s do the following example and see.

    Example \(\PageIndex{15}\)

    Simplify:

    1. \(9 - (-15) \space \text{and } 9 + 15\)
    2. \(-7 - (-4) \space \text{and } -7 + 4\)

    Solution:

    1. \(\begin{array} {lll} {} &{9 - (-15)} &{9 + 15} \\ {\text{Subtract}} &{24} &{24} \end{array}\)
    2. \(\begin{array} {lll} {} &{-7 - (-4)} &{-7 + 4} \\ {\text{Subtract}} &{-3} &{-3} \end{array}\)
    try-it.png Try It \(\PageIndex{29}\)

    Simplify:

    1. \(6 - (-13) \space \text{and } 6 + 13\)
    2. \(-5 - (-1) \space \text{and } -5 + 1\)
    Answer
    1. \(19\)
    2. \(-4\)
    try-it.png Try It \(\PageIndex{30}\)

    Simplify:

    1. \(4 - (-19) \space \text{and } 4 + 19\)
    2. \(-4 - (-7) \space \text{and } -4 + 7\)
    Answer
    1. \(23\)
    2. \(3\)

    Let’s look again at the results of subtracting the different combinations of \(5,−5\) and \(3,−3\).

    SUBTRACTION OF INTEGERS

    \[\begin{array} {l} {5 - 3} &{-5 - (-3)} \\ {2} &{-2} \\ {5\space\text{positives take away }3\space\text{positives}} &{5\space\text{negatives take away }3\space\text{negatives}} \\ {2\space\text{positives}} &{2\space\text{negatives}} \end{array}\nonumber\]

    When there would be enough counters of the color to take away, subtract.

    \[\begin{array} {l} {-5 - 3} &{5 - (-3)} \\ {-8} &{8} \\ {5\space\text{negatives, want to take away }3\space\text{positives}} &{5\space\text{positives, want to take away }3\space\text{negatives}} \\ {\text{need neutral pairs}} &{\text{need neutral pairs}} \end{array}\nonumber\]

    When there would be not enough counters of the color to take away, add.

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

    Example \(\PageIndex{16}\)

    Simplify:

    \(7 - (-4 -3) - 9\)

    Solution:

    \[ \begin{array} {ll} {} &{7 - (-4 - 3) - 9} \\ {\text{Simplify inside the parenthesis first.}} &{7 - (-7) - 9} \\ {\text{Subtract left to right.}} &{14 - 9} \\ {\text{Subtract}} &{5} \end{array}\nonumber\]

    try-it.png Try It \(\PageIndex{31}\)

    Simplify:

    \(8−(−3−1)−9\)

    Answer

    \(3\)

    try-it.png Try It \(\PageIndex{32}\)

    Simplify:

    \(12−(−9−6)−14\)

    Answer

    \(12\)

    Access these online resources for additional instruction and practice with adding and subtracting integers. You will need to enable Java in your web browser to use the applications.

    Key Concepts

    • Addition of Positive and Negative Integers

    \[\begin{array} {ll} {5 + 3} &{-5+(-3)} \\ {8} &{-8} \\ {\text{both positive,}} &{\text{both negative,}} \\ {\text{sum positive}} &{\text{sum negative}} \end{array}\nonumber\]

    \[\begin{array} {ll} {-5 + 3} &{5+(-3)} \\ {-2} &{2} \\ {\text{different signs,}} &{\text{different signs,}} \\ {\text{more negatives}} &{\text{more positives}} \\ {\text{sum negative}} &{\text{sum positive}} \end{array}\nonumber\]

    • Property of Absolute Value:

    \(|n| \geq 0\) for all numbers. Absolute values are always greater than or equal to zero!

    • Subtraction of Integers

    \[\begin{array} {ll} {5 - 3} &{-5-(-3)} \\ {2} &{-2} \\ {5\space\text{positives}} &{5\space\text{negatives}} \\ {\text{take away 3 positives}} &{\text{take away 3 negatives}} \\ {\text{2 positives}} &{\text{2 negatives}} \end{array}\nonumber\]

    \[\begin{array} {ll} {-5 - 3} &{5-(-3)} \\ {-8} &{8} \\ {\text{5 negatives, want to}} &{\text{5 positives, want to}} \\ {\text{subtract 3 positives}} &{\text{subtract 3 negatives}} \\ {\text{need neutral pairs}} &{\text{need neutral pairs}}\end{array}\nonumber\]

    • Subtraction Property: Subtracting a number is the same as adding its opposite.

    Glossary

    absolute value
    The absolute value of a number is its distance from 0 on the number line. The absolute value of a number nn is written as |n|.
    integers
    The whole numbers and their opposites are called the integers: \(...−3, −2, −1, 0, 1, 2, 3...\)
    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: −\(a\) means the opposite of the number. The notation −\(a\) is read “the opposite of \(a\).”

    This page titled 1.4: Add and Subtract Integers is shared under a CC BY license and was authored, remixed, and/or curated by OpenStax.

    • Was this article helpful?