Numbers form the foundation of mathematics and appear in countless real-world situations, from measuring distances to calculating money. Among all types of numbers, real numbers form the most comprehensive set that includes both rational and irrational numbers. Understanding real numbers is crucial for solving a wide range of problems in competitive exams and higher education.
In this chapter, we will explore the classification of real numbers, special types like prime and composite numbers, important properties such as factorization, and operations including finding the greatest common divisor (GCD) and least common multiple (LCM). We will also cover divisibility rules, the division algorithm, number bases, and modular arithmetic. Each concept will be explained from first principles with clear examples and visual aids to build a strong conceptual foundation.
Real numbers include all the numbers that can be found on the number line. They can be broadly divided into two categories:
Before diving deeper, let's understand the subsets of rational numbers and how they relate to each other.
Definitions and Examples:
Among natural numbers, some have special significance:
Understanding primes is essential because they are the building blocks of all natural numbers through multiplication.
| Number | Status |
|---|---|
| 1 | Neither prime nor composite |
| 2 | Prime |
| 3 | Prime |
| 4 | Composite |
| 5 | Prime |
| 6 | Composite |
| 7 | Prime |
| 8 | Composite |
| 9 | Composite |
| 10 | Composite |
| 11 | Prime |
| 12 | Composite |
| 13 | Prime |
| 14 | Composite |
| 15 | Composite |
| 16 | Composite |
| 17 | Prime |
| 18 | Composite |
| 19 | Prime |
| 20 | Composite |
Factorization is the process of expressing a number as a product of its factors. For example, 12 can be factored as \(3 \times 4\) or \(2 \times 6\).
Prime factorization breaks a number down into prime numbers that multiply to give the original number. This is important for finding the GCD and LCM of numbers.
graph TD A[Start with 84] A --> B{Divide by smallest prime} B -->|2| C[84 / 2 = 42] C --> B B -->|2| D[42 / 2 = 21] D --> B B -->|3| E[21 / 3 = 7] E --> B B -->|7| F[7 / 7 = 1] F --> G[Stop: quotient is 1]Thus, the prime factorization of 84 is:
84 = 2 x 2 x 3 x 7 = \(2^2 \times 3 \times 7\)
The Greatest Common Divisor (GCD) of two numbers is the largest number that divides both of them without leaving a remainder.
The Least Common Multiple (LCM) of two numbers is the smallest number that is a multiple of both.
Using prime factorization, we can find GCD and LCM efficiently.
| Prime Factor | 84 (\(2^2 \times 3 \times 7\)) | 126 (\(2 \times 3^2 \times 7\)) |
|---|---|---|
| 2 | 2 | 1 |
| 3 | 1 | 2 |
| 7 | 1 | 1 |
To find the GCD, take the minimum exponent of each prime:
\(\mathrm{GCD} = 2^{\min(2,1)} \times 3^{\min(1,2)} \times 7^{\min(1,1)} = 2^1 \times 3^1 \times 7^1 = 42\)
To find the LCM, take the maximum exponent of each prime:
\(\mathrm{LCM} = 2^{\max(2,1)} \times 3^{\max(1,2)} \times 7^{\max(1,1)} = 2^2 \times 3^2 \times 7^1 = 252\)
Divisibility rules help quickly determine if one number divides another without performing full division. Here are some common rules:
The division algorithm states that for any integers \(a\) (dividend) and \(b\) (divisor, \(b eq 0\)), there exist unique integers \(q\) (quotient) and \(r\) (remainder) such that:
\[ a = bq + r, \quad 0 \leq r < |b| \]
This means when you divide \(a\) by \(b\), you get a quotient \(q\) and a remainder \(r\) which is always less than the divisor.
graph TD A[Start with dividend a and divisor b] A --> B[Divide a by b] B --> C[Find quotient q] C --> D[Calculate remainder r = a - bq] D --> E{Is 0 ≤ r < |b|?} E -->|Yes| F[Stop: division complete] E -->|No| G[Adjust q and r] G --> FThe Remainder Theorem is a useful tool in algebra. It states that the remainder when a polynomial \(f(x)\) is divided by \((x - c)\) is equal to \(f(c)\).
While we commonly use the decimal system (base 10), other bases like binary (base 2), octal (base 8), and hexadecimal (base 16) are important in computer science and digital electronics.
Each base uses digits from 0 up to one less than the base. For example, binary digits are 0 and 1; octal digits are 0 to 7; hexadecimal digits are 0 to 9 and A to F (where A=10, B=11, ..., F=15).
| Base | Representation |
|---|---|
| Decimal (Base 10) | 156 |
| Binary (Base 2) | 10011100 |
| Octal (Base 8) | 234 |
| Hexadecimal (Base 16) | 9C |
Arithmetic operations like addition, subtraction, multiplication, and division can be performed in any base. The key is to apply the same principles as in base 10 but carry over or borrow when digits exceed the base.
For example, in base 8 (octal), digits range from 0 to 7. If a sum exceeds 7, carry over to the next digit.
Modular arithmetic deals with integers wrapped around after reaching a certain value called the modulus. It is like the arithmetic of a clock, where after 12 hours, the count resets to 1.
We say two integers \(a\) and \(b\) are congruent modulo \(m\) if their difference is divisible by \(m\), written as:
\[ a \equiv b \pmod{m} \iff m \mid (a - b) \]
For example, \(17 \equiv 5 \pmod{12}\) because \(17 - 5 = 12\) is divisible by 12.
Step 1: Prime factorize both numbers.
84 = \(2^2 \times 3 \times 7\)
126 = \(2 \times 3^2 \times 7\)
Step 2: For GCD, take the minimum powers of common primes:
\(\mathrm{GCD} = 2^{\min(2,1)} \times 3^{\min(1,2)} \times 7^{\min(1,1)} = 2^1 \times 3^1 \times 7^1 = 42\)
Step 3: For LCM, take the maximum powers of all primes:
\(\mathrm{LCM} = 2^{\max(2,1)} \times 3^{\max(1,2)} \times 7^{\max(1,1)} = 2^2 \times 3^2 \times 7^1 = 252\)
Answer: GCD = 42, LCM = 252
Step 1: Convert to binary by dividing by 2 repeatedly and noting remainders.
Reading remainders from bottom to top: 10011100
Step 2: Convert to hexadecimal by dividing by 16.
Remainder 12 corresponds to 'C' in hexadecimal.
So, hexadecimal representation is 9C.
Answer: Binary = 10011100, Hexadecimal = 9C
Step 1: Check divisibility by 2: Last digit is 7 (odd), so no.
Step 2: Check divisibility by 3: Sum of digits = 9 + 7 = 16, not divisible by 3.
Step 3: Check divisibility by 5: Last digit is not 0 or 5.
Step 4: Check divisibility by 7: Double last digit (7 x 2 = 14), subtract from remaining number (9 - 14 = -5), not divisible by 7.
Step 5: Check divisibility by 11: Difference between sum of digits in odd and even positions is (9) - (7) = 2, not divisible by 11.
No divisors found up to \(\sqrt{97} \approx 9.8\). Hence, 97 is prime.
Answer: 97 is a prime number.
Step 1: According to the remainder theorem, remainder = \(f(3)\).
Step 2: Calculate \(f(3)\):
\(f(3) = 2(3)^3 - 3(3)^2 + 4(3) - 5 = 2 \times 27 - 3 \times 9 + 12 - 5 = 54 - 27 + 12 - 5\)
\(= 34\)
Answer: The remainder is 34.
Step 1: Add digits from right to left, remembering base 8 (digits 0-7).
Units place: 7 + 6 = 13 (decimal), which is 15 in octal (1 carry, 5 remain)
Write 5, carry 1.
Tens place: 5 + 4 + 1 (carry) = 10 decimal = 12 octal (1 carry, 2 remain)
Write 2, carry 1.
Hundreds place: 1 + 2 + 1 (carry) = 4 decimal = 4 octal
Write 4.
Step 2: Combine digits: 425₈
Answer: 157₈ + 246₈ = 425₈
When to use: When dealing with large numbers in GCD/LCM problems.
When to use: During quick elimination of non-prime numbers in competitive exams.
When to use: When converting decimal numbers to binary, octal, or hexadecimal.
When to use: In problems involving large powers or congruences.
When to use: In problems involving sums or products of even and odd numbers.
Progress tracking is paywalled — subscribe to mark subtopics as understood and save your streak.
Go to practice →