Skip to main content
Mathematics LibreTexts

9.1.2: Integers

  • Page ID
    64037
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

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

    \( \newcommand{\dsum}{\displaystyle\sum\limits} \)

    \( \newcommand{\dint}{\displaystyle\int\limits} \)

    \( \newcommand{\dlim}{\displaystyle\lim\limits} \)

    \( \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{\longvect}{\overrightarrow}\)

    \( \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
    • Locate integers on a number line.
    • Find the absolute value of a given number.
    • Find the opposite of a given number.

    Introduction

    You've worked with numbers on a number line. You know how to graph numbers like 0, 1, 2, 3, etc. on the number line. There are other kinds of numbers that can be graphed on the number line, too. Let's see what they look like and where they are located on the number line.

    Natural Numbers and Whole Numbers

    In mathematics, it's sometimes helpful to talk about groups of things, which are called sets. Numbers can be grouped into sets, and a particular number can belong to more than one set.

    You probably are familiar with the set of natural numbers, which are also called the counting numbers. These are the numbers 1, 2, 3, and so on—the numbers we use when counting.

    The following illustration shows the natural numbers graphed on a number line.

    Screen Shot 2021-05-20 at 1.31.59 PM.png

    The number line continues in both directions. The set of natural numbers only continues to the right, so you can include 6, 7, and so on, all the way up into the hundreds, thousands, and beyond. You can only show so much on one picture!

    When 0 is added to the set of 1, 2, 3, and so on, it forms the set of whole numbers. These are called “whole” because they have no fractional parts. (A trick to help you remember which are natural numbers and which are whole numbers is to think of a “hole,” which can be represented by 0. The whole ("hole") numbers include 0, the natural numbers do not.)

    The following illustration shows the whole numbers graphed on the number line.

    Screen Shot 2021-05-20 at 1.36.38 PM.png

    Integers

    When you work with something like temperature, you sometimes want to use numbers that are less than zero, which are called negative numbers. Negative numbers are written using a negative sign in front, such as -1, -5, and -30. These are read negative one, negative five, and negative thirty. (The negative sign should not be read as minus; minus means subtraction.)

    The numbers greater than 0 are called positive numbers and can be written with or without the “+” sign. Notice that 0 is neither positive nor negative!

    Integers are the numbers: …, -3, -2, -1, 0, 1, 2, 3, ... Notice that all of the whole numbers are also integers. The following illustration shows the integers graphed on the number line. The integers include zero and continue to the right and to the left.

    Screen Shot 2021-05-20 at 1.44.46 PM.png

    Exercise

    The number 0 belongs to which of the following sets of numbers?

    natural numbers

    whole numbers

    integers

    1. natural numbers only
    2. whole numbers only
    3. natural and whole numbers
    4. integers only
    5. whole numbers and integers
    Answer
    1. Incorrect. The natural numbers are 1, 2, 3, and so on. They don’t include 0. The correct answer is whole numbers and integers.
    2. Incorrect. While the whole numbers include 0, so do the integers. The correct answer is whole numbers and integers.
    3. Incorrect. The natural numbers are 1, 2, 3, and so on. They don’t include 0. The correct answer is whole numbers and integers.
    4. Incorrect. While the integers include 0, so do the whole numbers. The correct answer is whole numbers and integers.
    5. Correct. Both whole numbers and integers include 0, but the natural numbers do not.

    Absolute Value and the Number Line

    The number line below shows all the integers between and including -5 and 5. Notice that the positive integers go to the right: 1, 2, 3, and so on. The negative integers go to the left: -1, -2, -3, and so on.

    Screen Shot 2021-05-20 at 1.51.15 PM.png

    The distance between a number’s place on the number line and 0 is called the number’s absolute value. To write the absolute value of a number, use short vertical lines (|) on either side of the number. For example, the absolute value of -3 is written as bar negative three bar.

    Notice that distance is always positive or 0.

    |-3| = 3, as -3 is 3 units away from 0 and |3|=3, as 3 is 3 units away from 0.

    Screen Shot 2021-05-20 at 1.56.58 PM.png

    Here are some other examples.

    \(\ \begin{array}{c}
    |0|=0 \\
    |-23|=23 \\
    |6|=6 \\
    |817|=817 \\
    |-3,000|=3,000
    \end{array}\)

    Example

    Find \(\ |x|\) when \(\ x=-7\).

    Solution

    \(\ |x|\)

    \(\ |-7|\)

    Substitute -7 for \(\ x\) in the expression.


    \(\ |-7|=7\) Since -7 is 7 units from 0, the absolute value is 7.

    To locate an integer on the number line, imagine standing on the number line at 0. If the number is 0, you’re there. If the number is positive, face to the right toward numbers greater than 0. If the number is negative, face to the left toward numbers less than 0. Then, move forward the number of units equal to the absolute value of the number.

    Example

    Find -4 on the number line. Then determine |-4|.

    Solution
    Screen Shot 2021-05-20 at 2.13.32 PM.png

    Imagine standing at 0. Since -4 is negative, face to the left.

    Move 4 units from 0 in the negative direction.

    Screen Shot 2021-05-20 at 2.17.19 PM.png Draw a dot on the number line at that location, which is -4.
    \(\ |-4|=4\) Direction moved does not affect absolute value, only the distance moved.
    Exercise

    Which point represents -2 on this number line?

    Screen Shot 2021-05-20 at 2.28.36 PM.png

    Answer
    1. Incorrect. This point is 4 units to the left of 0, so it represents -4. The point that represents -2 is 2 units to the left of 0. Point B is correct.

    2. Correct. Point B is 2 units to the left of 0, so it represents -2.

    3. Incorrect. This point is 1 unit to the left of 0, so it represents -1. The point that represents -2 is 2 units to the left of 0. Point B is correct.

    4. Incorrect. This point is 1 unit to the right of 0, so it represents 1. A negative number must be to the left of 0. The point that represents -2 is 2 units to the left of 0. Point B is correct.

    5. Incorrect. This point is 2 units to the right of 0. A negative number must be to the left of 0. The point that represents -2 is 2 units to the left of 0. Point B is correct.

    Opposites

    You may have noticed that, except for 0, the integers come in pairs of positive and negative numbers: 1 and -1, 3 and -3, 72 and -3, 72 and -72, and so on. Each number is the opposite of the other number in the pair: 72 is the opposite of -72, and -72 is the opposite of 72.

    A number and its opposite are the same distance from 0, so they have the same absolute value.

    \(\ |72|=72, \text { and }|-72|=72\)

    The set of integers are all the whole numbers and their opposites.

    Exercise

    What is the opposite of -29?

    Answer

    The opposite of -29 is 29.

    Summary

    Some numbers are natural numbers (1, 2, 3, ...) or whole numbers (0, 1, 2, 3, ...). Whole numbers are also integers. There are other integers which are the opposites of the whole numbers (-1, -2, -3, ...). These negative numbers lie to the left of 0 on the number line. Integers are the whole numbers and their opposites. The absolute value of a number is its distance to 0 on the number line. Absolute values are always positive or 0.


    This page titled 9.1.2: Integers is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by The NROC Project via source content that was edited to the style and standards of the LibreTexts platform.