Integers are all the whole numbers together with their negatives, so the set of integers is {..., -3, -2, -1, 0, 1, 2, 3, ...}. Fractions and decimals such as 1/2 or 2.5 are not integers, but 0, 25 and -25 all are.
Integers let us describe amounts below zero: a temperature of -5 °C, a basement two floors below the ground, or a debt of 300 rupees. This page gives the definition, shows integers on a number line, sets out the sign rules for adding, subtracting, multiplying and dividing, and lists the properties that class 6 to class 8 tests ask about.

At a glance
Set symbol
ZThe set
{..., -2, -1, 0, 1, 2, ...}Zero
neither positive nor negativeSmallest integer
none, they go on forever(-) × (-)
positive(-) × (+)
negative
What are integers: the definition in maths
Definition: an integer is a number with no fractional or decimal part that can be positive, negative or zero. The collection of all integers is written with the letter Z, from Zahlen, the German word for numbers.
- Positive integers: 1, 2, 3, 4 and so on. These are the natural numbers.
- Negative integers: -1, -2, -3, -4 and so on.
- Zero: 0 is an integer, but it is neither positive nor negative.
If a test asks for the definition of integers in maths, write the sentence above and give two examples of each kind. So every natural number is an integer, and every whole number (0, 1, 2, ...) is an integer, but integers also include the negatives. For how integers sit inside the bigger family of rational and real numbers, see types of numbers and the number system page.
Integer or not: quick test
Ask one question: can it be written with no fraction and no decimal part? If yes, it is an integer.
| Number | Integer? | Reason |
|---|---|---|
| -12 | Yes | a negative whole number |
| 0 | Yes | zero is included |
| 3/4 | No | a proper fraction |
| -2.5 | No | has a decimal part |
| 8/2 | Yes | it simplifies to 4 |
| √9 | Yes | it equals 3 |
| √2 | No | it is 1.414..., not whole |
Look at 8/2 and √9 carefully. They look like a fraction and a root, but each one works out to a whole number, so they count.
Integers on the number line
Draw a line, mark 0 in the middle, put positive integers at equal steps to the right and negative integers at the same steps to the left. Each negative integer is the mirror image of a positive one.
The number line makes comparison easy: a number further right is always greater. So 2 > -5, and -3 > -8, because -3 lies to the right of -8. Students often think -8 is bigger because 8 is bigger than 3. Picture a thermometer instead: -8 °C is colder than -3 °C.
Example 1. Arrange 5, -2, 0, -9, 3, -4 in ascending order.
- Negatives first, furthest from zero first: -9, -4, -2
- Then zero: 0
- Then positives: 3, 5
- Answer: -9 < -4 < -2 < 0 < 3 < 5
The distance of an integer from 0 is its absolute value, written with two bars. |-7| = 7 and |7| = 7. Absolute value is never negative.
Adding and subtracting integers
- Same signs: add the sizes and keep the sign. -6 + (-9) = -15.
- Different signs: subtract the smaller size from the larger and take the sign of the larger. 12 + (-20) = -8.
- Subtraction: change it to adding the opposite. a - b = a + (-b).
Example 2. Work out -7 + 4.
- The signs are unlike, so take 4 away from 7, giving 3.
- The larger size, 7, carries a minus sign.
- Answer: -3
Example 3. Work out 8 - (-3).
- Subtracting -3 means adding its opposite, +3.
- 8 + 3 = 11
Example 4. Work out -5 - 6.
- Rewrite as -5 + (-6).
- Same signs: 5 + 6 = 11, keep the minus.
- Answer: -11
Picture it as walking along the line: a positive step takes you rightwards, a negative step leftwards. Start at -5, move 6 to the left, and you land on -11.
Sign rules for multiplication and division
| First | Second | Result | Example |
|---|---|---|---|
| + | + | + | 4 × 6 = 24 |
| - | + | - | (-4) × 6 = -24 |
| + | - | - | 36 ÷ (-9) = -4 |
| - | - | + | (-4) × (-6) = 24 |
Same signs give a positive answer, different signs give a negative one. With several factors, count the minus signs. If there are an even number of them, the product comes out positive; if odd, it is negative. That is why (-1)10 = 1 but (-2)3 = -8.
Division follows the same sign rule, but the answer is an integer only when the division is exact. (-36) ÷ (-9) = 4 is an integer, while (-7) ÷ 2 = -3.5 is not.
Properties of integers
- Closure: adding, subtracting or multiplying two integers always gives an integer. Division does not, as 1 ÷ 2 shows.
- Commutative: a + b = b + a and a × b = b × a. Subtraction and division are not commutative: 5 - 2 is 3 but 2 - 5 is -3.
- Associative: (a + b) + c = a + (b + c), and the same for multiplication.
- Distributive: a × (b + c) = a × b + a × c. Check with a = -3, b = 4, c = -6: (-3) × (-2) = 6 and (-12) + 18 = 6.
- Identities: zero leaves any integer unchanged under addition (-13 + 0 = -13), and 1 leaves it unchanged under multiplication (-13 × 1 = -13). These two are the identity elements.
- Additive inverse: every integer a has an opposite -a with a + (-a) = 0. The inverse of -9 is 9.
The class 7 chapter goes deeper into these, with more practice, on integers class 7.
Integers in daily life
Example 5. The temperature in Shimla is 4 °C at 6 p.m. By midnight it falls by 9 degrees. What is the midnight temperature?
- A fall is a negative change: 4 + (-9)
- 4 - 9 = -5
- Midnight temperature: -5 °C
Example 6. A diver is 150 m below sea level. A plane flies 2600 m above sea level. How far above the diver is the plane?
- Diver: -150 m. Plane: +2600 m.
- Difference = 2600 - (-150) = 2600 + 150
- = 2750 m
For more number line practice with decimals and fractions too, see real numbers. Lift buttons (B1, B2 for basement floors), bank statements (credit and debit) and goal difference in football all use integers in the same way: one direction is positive, the opposite direction is negative.
Common mistakes with integers
- Saying -8 > -3. On the number line, -8 is further left, so it is smaller.
- Writing 8 - (-3) = 5. Two minus signs side by side turn into a plus: 8 + 3 = 11.
- Thinking 0 is positive. Zero is neither positive nor negative.
- Forgetting brackets: -32 means -(3 × 3) = -9, while (-3)2 = 9.
- Doing operations left to right with no thought for order. In 3 + (-2) × 5, multiply first: 3 + (-10) = -7.
Frequently asked questions
What is integers in maths, in simple words?
Integers are whole numbers that can be positive, negative or zero, like -4, 0 and 17. They have no fractional or decimal part.
Is 0 an integer?
Yes. Zero is an integer, and it is the only integer that is neither positive nor negative. It separates the positive integers from the negative ones on the number line.
Are all whole numbers integers?
Yes. The whole numbers 0, 1, 2, 3, ... are all integers. But not every integer is a whole number, because -1, -2 and other negatives are integers but not whole numbers.
What is the smallest positive integer?
1 is the smallest positive integer. There is no smallest integer overall, because the negative integers go on forever: -100, -1000 and so on.
Is a fraction an integer?
Usually not. 3/4 and -2/5 are not integers. A fraction is an integer only if it simplifies to a whole number, such as 10/5 = 2.
Why is a negative times a negative positive?
Think of patterns: (-3) × 2 = -6, (-3) × 1 = -3, (-3) × 0 = 0. Each step down adds 3, so (-3) × (-1) = 3 and (-3) × (-2) = 6. The answer keeps rising as the second number falls below zero.