Whole numbers are the set of numbers that include zero and all positive integers without fractions or decimals. In other words, whole numbers are 0, 1, 2, 3, 4, 5, ... and so on, continuing indefinitely.
Whole numbers are fundamental in everyday life. For example, when counting money in Indian Rupees (INR), measuring quantities like kilograms of rice, or counting people, whole numbers are used. They are also a crucial part of quantitative aptitude tests for competitive exams, where understanding their properties helps solve many problems efficiently.
It is important to distinguish whole numbers from related sets:
Thus, whole numbers form a subset of integers and include zero, unlike natural numbers.
Definition: Whole numbers are the set of numbers starting from zero and increasing by increments of one, without any fractional or decimal parts.
Mathematically, Whole Numbers = {0, 1, 2, 3, 4, ...}.
Whole numbers have several important properties that make arithmetic operations predictable and consistent. These properties include:
| Property | Description | Example |
|---|---|---|
| Closure | Sum or product of two whole numbers is always a whole number. | 5 + 3 = 8 (whole number), 4 x 2 = 8 (whole number) |
| Commutativity | Order of addition or multiplication does not change the result. | 7 + 2 = 2 + 7 = 9, 3 x 5 = 5 x 3 = 15 |
| Associativity | Grouping of numbers does not affect addition or multiplication. | (2 + 3) + 4 = 2 + (3 + 4) = 9, (1 x 2) x 3 = 1 x (2 x 3) = 6 |
| Distributivity | Multiplication distributes over addition. | 3 x (4 + 5) = 3 x 4 + 3 x 5 = 27 |
| Identity Elements | 0 is the additive identity; 1 is the multiplicative identity. | 5 + 0 = 5, 7 x 1 = 7 |
| No Negative Numbers | Whole numbers do not include negatives. | -1 is not a whole number |
Whole numbers can be classified as even or odd based on their divisibility by 2.
Understanding even and odd numbers helps in solving parity problems, pattern recognition, and divisibility questions.
The Division Algorithm is a fundamental concept that expresses how any whole number (called the dividend) can be divided by another whole number (called the divisor) to give a quotient and a remainder.
Mathematically, it states:
\[ D = d \times q + r \]
where:
This means when you divide \(D\) by \(d\), you get a quotient \(q\) and a remainder \(r\) such that the above equation holds true.
The Remainder Theorem is a special case used often in polynomial division but also applies to whole numbers: when a number \(D\) is divided by \(d\), the remainder is the value of \(D\) modulo \(d\).
graph TD A[Start with Dividend D and Divisor d] --> B[Divide D by d to get Quotient q] B --> C[Calculate Remainder r = D - d x q] C --> D{Is r < d?} D -- Yes --> E[Division Algorithm holds: D = d x q + r] D -- No --> BUnderstanding prime and composite numbers is essential for factorization and many number theory problems.
Note that 1 is neither prime nor composite.
| Prime Numbers | Composite Numbers |
|---|---|
| 2 | 4 |
| 3 | 6 |
| 5 | 8 |
| 7 | 9 |
| 11 | 10 |
| 13 | 12 |
| 17 | 14 |
| 19 | 15 |
Prime factorization is the process of expressing a whole number as a product of its prime factors. This is useful for finding the Greatest Common Divisor (GCD), Least Common Multiple (LCM), and solving divisibility problems.
One effective way to find prime factors is by using a factor tree, which breaks down a number step-by-step into prime factors.
For example, let's find the prime factors of 84 using a factor tree:
So, the prime factorization of 84 is:
84 = 2 x 2 x 3 x 7 = 2² x 3 x 7
The Greatest Common Divisor (GCD) of two whole numbers is the largest whole number that divides both numbers exactly.
The Least Common Multiple (LCM) of two whole numbers is the smallest whole number that is a multiple of both numbers.
Both GCD and LCM can be found using prime factorization or Euclid's algorithm.
graph TD A[Start with two numbers a and b] --> B[If b = 0, GCD = a] B --> C{Is b zero?} C -- Yes --> D[End: GCD found] C -- No --> E[Replace a with b, b with a mod b] E --> BThis is Euclid's algorithm, an efficient method to find GCD.
Divisibility rules help quickly determine if a whole number is divisible by another without performing full division. Here are rules for numbers 2 to 12:
| Divisor | Rule | Example |
|---|---|---|
| 2 | Last digit is even (0,2,4,6,8) | 124 is divisible by 2 |
| 3 | Sum of digits divisible by 3 | 123 (1+2+3=6) divisible by 3 |
| 4 | Last two digits divisible by 4 | 312 (12 divisible by 4) |
| 5 | Last digit 0 or 5 | 145 ends with 5 |
| 6 | Divisible by both 2 and 3 | 114 divisible by 2 and 3 |
| 7 | Double last digit, subtract from rest; result divisible by 7 | 203: 20 - 2x3=14 divisible by 7 |
| 8 | Last three digits divisible by 8 | 16,000 divisible by 8 |
| 9 | Sum of digits divisible by 9 | 729 (7+2+9=18) divisible by 9 |
| 10 | Last digit 0 | 230 divisible by 10 |
| 11 | Difference between sum of digits in odd and even places divisible by 11 | 121 (1+1) - 2 = 0 divisible by 11 |
| 12 | Divisible by both 3 and 4 | 144 divisible by 3 and 4 |
Whole numbers can be represented in different number systems or bases. The most common is the decimal system (base 10), but computers use binary (base 2), octal (base 8), and hexadecimal (base 16).
Each base uses digits from 0 up to one less than the base. For example, binary uses digits 0 and 1, hexadecimal uses digits 0-9 and letters A-F.
To convert a decimal number to another base, repeatedly divide the number by the new base and record the remainders. Writing the remainders in reverse order gives the number in the new base.
| Decimal | Binary (Base 2) | Octal (Base 8) | Hexadecimal (Base 16) |
|---|---|---|---|
| 10 | 1010 | 12 | A |
| 15 | 1111 | 17 | F |
| 255 | 11111111 | 377 | FF |
Modular arithmetic deals with the remainder when one whole number is divided by another. It is often described as "clock arithmetic" because after reaching a certain number (the modulus), numbers wrap around.
We write:
\[ a \equiv b \pmod{m} \]
This means \(a\) is congruent to \(b\) modulo \(m\), or \(a\) and \(b\) leave the same remainder when divided by \(m\).
For example, \(17 \equiv 2 \pmod{5}\) because both 17 and 2 leave a remainder 2 when divided by 5.
graph TD A[Start with numbers a, b and modulus m] --> B[Calculate a mod m] B --> C[Calculate b mod m] C --> D{Are remainders equal?} D -- Yes --> E[a ≡ b (mod m)] D -- No --> F[a ≠ b (mod m)]Step 1: Prime factorize both numbers.
36 = 2² x 3²
48 = 2⁴ x 3¹
Step 2: Find GCD by taking minimum powers of common primes.
GCD = 2^{min(2,4)} x 3^{min(2,1)} = 2² x 3¹ = 4 x 3 = 12
Step 3: Find LCM by taking maximum powers of primes.
LCM = 2^{max(2,4)} x 3^{max(2,1)} = 2⁴ x 3² = 16 x 9 = 144
Step 4: Verify using Euclid's algorithm for GCD.
Divide 48 by 36: 48 = 36 x 1 + 12
Divide 36 by 12: 36 = 12 x 3 + 0
Since remainder is 0, GCD = 12
Answer: GCD = 12, LCM = 144
Step 1: Check divisibility by 3.
Sum of digits = 1+2+3+4+5+6 = 21
Since 21 is divisible by 3, 123456 is divisible by 3.
Step 2: Check divisibility by 4.
Last two digits = 56
56 is divisible by 4, so 123456 is divisible by 4.
Step 3: Check divisibility by 6.
Number must be divisible by both 2 and 3.
Last digit is 6 (even), so divisible by 2.
Already divisible by 3 (Step 1).
Therefore, 123456 is divisible by 6.
Step 4: Check divisibility by 9.
Sum of digits = 21 (from Step 1)
21 is not divisible by 9, so 123456 is not divisible by 9.
Answer: Divisible by 3, 4, and 6; not divisible by 9.
Step 1: Start dividing 180 by smallest prime 2.
180 / 2 = 90
Step 2: Divide 90 by 2 again.
90 / 2 = 45
Step 3: 45 is not divisible by 2, try next prime 3.
45 / 3 = 15
Step 4: Divide 15 by 3.
15 / 3 = 5
Step 5: 5 is prime.
Prime factors are 2, 2, 3, 3, and 5.
Answer: 180 = 2² x 3² x 5
Step 1: Convert 255 to binary (base 2) by dividing repeatedly by 2.
Write remainders in reverse: 11111111
Binary: 255 = 11111111
Step 2: Convert 255 to hexadecimal (base 16) by dividing repeatedly by 16.
Remainders correspond to hexadecimal digits: 15 = F
Write remainders in reverse: FF
Hexadecimal: 255 = FF
Step 1: Calculate (17 + 23) mod 5.
17 + 23 = 40
40 mod 5 = remainder when 40 is divided by 5.
40 / 5 = 8 remainder 0
So, (17 + 23) mod 5 = 0
Step 2: Calculate (7 x 8) mod 6.
7 x 8 = 56
56 mod 6 = remainder when 56 is divided by 6.
56 / 6 = 9 remainder 2
So, (7 x 8) mod 6 = 2
Answer: (17 + 23) mod 5 = 0, (7 x 8) mod 6 = 2
When to use: When determining if a number is divisible by small integers like 2, 3, 5, 9, or 11.
When to use: To quickly identify even numbers in problems involving parity.
When to use: When breaking down composite numbers into primes for GCD or LCM.
When to use: When numbers are large and prime factorization is time-consuming.
When to use: When converting decimal numbers to binary, octal, or hexadecimal.
Progress tracking is paywalled — subscribe to mark subtopics as understood and save your streak.
Go to practice →