Mathwords logoMathwords

Integers — Definition, Examples & Properties

Integers

All positive and negative whole numbers (including zero). That is, the set {... , –3, –2, –1, 0, 1, 2, 3, ...}. Integers are indicated by either Bold blackboard letter **ℤ** representing the symbol for the set of integers. or J.

 

Nested diagram showing number sets: natural numbers ⊂ whole numbers ⊂ integers ℤ ⊂ rationals ℚ ⊂ algebraic ⊂ reals ℝ, plus...

 

 

See also

Natural numbers, rational numbers, algebraic numbers, real numbers, imaginary numbers, complex numbers, Gaussian integers

Key Formula

Z={,3,2,1,0,1,2,3,}\mathbb{Z} = \{\ldots, -3, -2, -1, 0, 1, 2, 3, \ldots\}
Where:
  • Z\mathbb{Z} = The standard symbol for the set of all integers, from the German word 'Zahlen' meaning 'numbers'
  • 00 = Zero, which is an integer that is neither positive nor negative
  • \ldots = Indicates the set continues infinitely in both the positive and negative directions

Worked Example

Problem: Determine which of the following numbers are integers: 7,  3.5,  0,  23,  12,  100-7, \; 3.5, \; 0, \; \frac{2}{3}, \; 12, \; -100.
Step 1: Recall the definition: integers are whole numbers that can be positive, negative, or zero. They have no fractional or decimal part.
Z={,3,2,1,0,1,2,3,}\mathbb{Z} = \{\ldots, -3, -2, -1, 0, 1, 2, 3, \ldots\}
Step 2: Check each number. 7-7 is a negative whole number, so it is an integer. 3.53.5 has a decimal part, so it is NOT an integer.
7Z,3.5Z-7 \in \mathbb{Z}, \quad 3.5 \notin \mathbb{Z}
Step 3: 00 is included in the set of integers by definition. 23\frac{2}{3} is a fraction that does not simplify to a whole number, so it is NOT an integer.
0Z,23Z0 \in \mathbb{Z}, \quad \tfrac{2}{3} \notin \mathbb{Z}
Step 4: 1212 is a positive whole number, so it is an integer. 100-100 is a negative whole number, so it is also an integer.
12Z,100Z12 \in \mathbb{Z}, \quad -100 \in \mathbb{Z}
Answer: The integers in the list are 7-7, 00, 1212, and 100-100. The non-integers are 3.53.5 and 23\frac{2}{3}.

Another Example

This example focuses on closure properties — which operations on integers always produce integers — rather than simply identifying integers from a list.

Problem: Perform the following operations with integers and determine whether each result is also an integer: (a) 8+5-8 + 5, (b) 3×4-3 \times 4, (c) 7÷27 \div 2.
Step 1: Compute 8+5-8 + 5. Adding a positive number to a negative number: since 8>58 > 5, the result is negative with magnitude 85=38 - 5 = 3.
8+5=3-8 + 5 = -3
Step 2: 3-3 is a whole number, so the result is an integer. This illustrates that integers are closed under addition — adding any two integers always produces an integer.
3Z-3 \in \mathbb{Z} \quad \checkmark
Step 3: Compute 3×4-3 \times 4. A negative times a positive gives a negative result.
3×4=12-3 \times 4 = -12
Step 4: 12-12 is an integer. Integers are also closed under multiplication.
12Z-12 \in \mathbb{Z} \quad \checkmark
Step 5: Compute 7÷2=3.57 \div 2 = 3.5. This is not a whole number, so the result is NOT an integer. Integers are not closed under division.
7÷2=3.5Z7 \div 2 = 3.5 \notin \mathbb{Z}
Answer: (a) 3-3 is an integer. (b) 12-12 is an integer. (c) 3.53.5 is not an integer. Integers are closed under addition, subtraction, and multiplication, but not under division.

Frequently Asked Questions

Is zero an integer?
Yes, zero is an integer. The set of integers includes all positive whole numbers, all negative whole numbers, and zero. Zero is the integer that separates the positive integers from the negative integers on the number line.
What is the difference between integers and whole numbers?
Whole numbers are the non-negative counting numbers including zero: {0,1,2,3,}\{0, 1, 2, 3, \ldots\}. Integers include all whole numbers plus their negative counterparts: {,3,2,1,0,1,2,3,}\{\ldots, -3, -2, -1, 0, 1, 2, 3, \ldots\}. Every whole number is an integer, but not every integer is a whole number — for instance, 5-5 is an integer but not a whole number.
Are fractions and decimals integers?
A fraction or decimal is an integer only if it simplifies to a whole number. For example, 63=2\frac{6}{3} = 2 is an integer, and 4.04.0 is an integer because it equals 44. However, 12\frac{1}{2} and 3.73.7 are not integers because they have non-zero fractional parts.

Integers vs. Rational Numbers

IntegersRational Numbers
DefinitionAll positive and negative whole numbers and zero: {,2,1,0,1,2,}\{\ldots, -2, -1, 0, 1, 2, \ldots\}All numbers that can be written as a fraction ab\frac{a}{b} where a,ba, b are integers and b0b \neq 0
SymbolZ\mathbb{Z}Q\mathbb{Q}
Examples5,  0,  42-5, \; 0, \; 4213,  2.75,  7\frac{1}{3}, \; -2.75, \; 7
Includes fractions?NoYes
RelationshipEvery integer is a rational number (e.g., 3=313 = \frac{3}{1})Not every rational number is an integer (e.g., 12\frac{1}{2})
Closed under division?No (7÷2=3.5Z7 \div 2 = 3.5 \notin \mathbb{Z})Yes, except division by zero

Why It Matters

Integers appear throughout algebra whenever you work with signed numbers, solve equations like x+5=2x + 5 = 2 (where x=3x = -3), or plot points on a coordinate plane. Understanding the number hierarchy — naturals \subset wholes \subset integers \subset rationals \subset reals — is essential for knowing what kinds of solutions an equation can have. In real life, integers model quantities like temperature below zero, floors of a building (including basement levels), and financial debts.

Common Mistakes

Mistake: Thinking that negative numbers cannot be integers.
Correction: The set of integers explicitly includes all negative whole numbers. Numbers like 1-1, 50-50, and 1000-1000 are all integers.
Mistake: Assuming that any result of dividing two integers is also an integer.
Correction: Integers are not closed under division. For example, 5÷3=1.65 \div 3 = 1.\overline{6}, which is a rational number but not an integer. Only when the divisor divides the dividend evenly is the quotient an integer.

Related Terms