👁 Preview — Study, Practice and Revise are open; mock tests and the rest of the syllabus unlock on subscription. Unlock all · ₹4,999
← Back to Number System
Study mode

Real Numbers

Introduction to Real Numbers

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.

Classification of Real Numbers

Real numbers include all the numbers that can be found on the number line. They can be broadly divided into two categories:

  • Rational Numbers: Numbers that can be expressed as a fraction \(\frac{p}{q}\), where \(p\) and \(q\) are integers and \(q eq 0\).
  • Irrational Numbers: Numbers that cannot be expressed as a simple fraction; their decimal expansions are non-terminating and non-repeating.

Before diving deeper, let's understand the subsets of rational numbers and how they relate to each other.

Real Numbers (ℝ) Rational Numbers (ℚ) Irrational Numbers Integers (ℤ) Whole Numbers Natural Numbers

Definitions and Examples:

  • Natural Numbers (ℕ): Counting numbers starting from 1, 2, 3, ...
    Example: Number of INR 10 coins in your pocket could be 3, 5, or 10.
  • Whole Numbers: Natural numbers including zero: 0, 1, 2, 3, ...
    Example: Number of books on a shelf could be 0 (empty) or more.
  • Integers (ℤ): Whole numbers along with their negative counterparts: ..., -3, -2, -1, 0, 1, 2, 3, ...
    Example: Temperature in °C can be -5, 0, or 25.
  • Rational Numbers (ℚ): Numbers expressible as \(\frac{p}{q}\) where \(p, q \in \mathbb{Z}\), \(q eq 0\). Includes integers, fractions, and terminating or repeating decimals.
    Example: \(\frac{3}{4}\), 0.75, -2, 5.333... (which is \(\frac{16}{3}\))
  • Irrational Numbers: Numbers that cannot be expressed as a fraction and have non-terminating, non-repeating decimals.
    Example: \(\sqrt{2} \approx 1.4142135...\), \(\pi \approx 3.1415926...\)
Key Point: Every natural number is a whole number, every whole number is an integer, every integer is a rational number, but not every rational number is an integer. Irrational numbers are outside the rational numbers but still part of the real numbers.

Prime and Composite Numbers

Among natural numbers, some have special significance:

  • Prime Numbers: Natural numbers greater than 1 that have exactly two distinct positive divisors: 1 and the number itself.
  • Composite Numbers: Natural numbers greater than 1 that have more than two positive divisors.

Understanding primes is essential because they are the building blocks of all natural numbers through multiplication.

First 20 Natural Numbers: Prime or Composite
Number Status
1Neither prime nor composite
2Prime
3Prime
4Composite
5Prime
6Composite
7Prime
8Composite
9Composite
10Composite
11Prime
12Composite
13Prime
14Composite
15Composite
16Composite
17Prime
18Composite
19Prime
20Composite

Factorization and Prime Factorization

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\)

Greatest Common Divisor (GCD) and Least Common Multiple (LCM)

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 Factors of 84 and 126
Prime Factor 84 (\(2^2 \times 3 \times 7\)) 126 (\(2 \times 3^2 \times 7\))
221
312
711

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

Divisibility rules help quickly determine if one number divides another without performing full division. Here are some common rules:

  • Divisible by 2: Last digit is even (0, 2, 4, 6, 8).
  • Divisible by 3: Sum of digits is divisible by 3.
  • Divisible by 4: Last two digits form a number divisible by 4.
  • Divisible by 5: Last digit is 0 or 5.
  • Divisible by 6: Number is divisible by both 2 and 3.
  • Divisible by 7: Double the last digit and subtract it from the rest of the number; if result is divisible by 7, so is the original number.
  • Divisible by 8: Last three digits form a number divisible by 8.
  • Divisible by 9: Sum of digits is divisible by 9.
  • Divisible by 10: Last digit is 0.
  • Divisible by 11: Difference between sum of digits in odd and even positions is divisible by 11.
  • Divisible by 12: Number is divisible by both 3 and 4.

Remainder Theorem and Division Algorithm

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 --> F

The 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)\).

Number Bases and Base Conversion

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 Conversion Examples for Decimal 156
Base Representation
Decimal (Base 10)156
Binary (Base 2)10011100
Octal (Base 8)234
Hexadecimal (Base 16)9C

Arithmetic in Different Bases

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 and Congruence

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) \]

12 1 2 3 4 5 6 7 Mod 12

For example, \(17 \equiv 5 \pmod{12}\) because \(17 - 5 = 12\) is divisible by 12.

Summary of Key Formulas:
\[ \mathrm{GCD}(a,b) = \prod p_i^{\min(e_i,f_i)} \quad,\quad \mathrm{LCM}(a,b) = \prod p_i^{\max(e_i,f_i)} \] \[ a = bq + r, \quad 0 \leq r < |b| \] \[ N = d_0 + d_1 b + d_2 b^2 + \cdots + d_k b^k \] \[ a \equiv b \pmod{m} \iff m \mid (a - b) \]

Worked Examples

Example 1: Finding GCD and LCM of 84 and 126 Medium
Find the Greatest Common Divisor (GCD) and Least Common Multiple (LCM) of 84 and 126 using prime factorization.

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

Example 2: Convert Decimal 156 to Binary and Hexadecimal Easy
Convert the decimal number 156 to binary and hexadecimal.

Step 1: Convert to binary by dividing by 2 repeatedly and noting remainders.

  • 156 / 2 = 78, remainder 0
  • 78 / 2 = 39, remainder 0
  • 39 / 2 = 19, remainder 1
  • 19 / 2 = 9, remainder 1
  • 9 / 2 = 4, remainder 1
  • 4 / 2 = 2, remainder 0
  • 2 / 2 = 1, remainder 0
  • 1 / 2 = 0, remainder 1

Reading remainders from bottom to top: 10011100

Step 2: Convert to hexadecimal by dividing by 16.

  • 156 / 16 = 9, remainder 12

Remainder 12 corresponds to 'C' in hexadecimal.

So, hexadecimal representation is 9C.

Answer: Binary = 10011100, Hexadecimal = 9C

Example 3: Check if 97 is Prime Using Divisibility Rules Easy
Determine whether 97 is a prime number using divisibility rules.

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.

Example 4: Use Remainder Theorem for Polynomial Division Medium
Find the remainder when \(f(x) = 2x^3 - 3x^2 + 4x - 5\) is divided by \((x - 3)\).

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.

Example 5: Add Octal Numbers 157₈ and 246₈ Medium
Perform the addition of octal numbers 157₈ and 246₈.

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₈

Tips & Tricks

Tip: Use prime factorization to quickly find GCD and LCM instead of listing multiples or factors.

When to use: When dealing with large numbers in GCD/LCM problems.

Tip: Memorize divisibility rules for 2, 3, 5, 7, and 11 to quickly test primality.

When to use: During quick elimination of non-prime numbers in competitive exams.

Tip: For base conversions, repeatedly divide by the base and record remainders for decimal to other bases.

When to use: When converting decimal numbers to binary, octal, or hexadecimal.

Tip: Use modular arithmetic properties to simplify large exponentiation problems modulo \(m\).

When to use: In problems involving large powers or congruences.

Tip: Remember that even + even = even, odd + odd = even, even + odd = odd to quickly determine parity.

When to use: In problems involving sums or products of even and odd numbers.

Common Mistakes to Avoid

❌ Confusing rational and irrational numbers, assuming all decimals are rational.
✓ Understand that rational numbers have terminating or repeating decimals, while irrational numbers have non-terminating, non-repeating decimals.
Why: Students often generalize decimals without understanding the difference.
❌ Incorrectly applying divisibility rules, e.g., using sum of digits rule for divisibility by 4.
✓ Use specific divisibility rules: for 4, check if the last two digits form a number divisible by 4.
Why: Memorization without understanding leads to wrong application.
❌ Forgetting to convert all numbers to the same base before performing arithmetic in different bases.
✓ Always ensure numbers are in the same base before addition, subtraction, etc.
Why: Mixing bases causes calculation errors.
❌ Ignoring the remainder condition in the division algorithm (remainder must be less than divisor).
✓ Remember remainder range: \(0 \leq r < |b|\).
Why: Students sometimes take remainder equal to or greater than divisor.
❌ Using prime factorization incorrectly by missing prime factors or exponents.
✓ Carefully factorize completely and verify all prime factors are included.
Why: Incomplete factorization leads to wrong GCD/LCM.

Formula Bank

Greatest Common Divisor (GCD)
\[ \mathrm{GCD}(a,b) = \prod p_i^{\min(e_i,f_i)} \]
where: \(p_i\) = prime factors; \(e_i, f_i\) = exponents of \(p_i\) in \(a\) and \(b\) respectively
Least Common Multiple (LCM)
\[ \mathrm{LCM}(a,b) = \prod p_i^{\max(e_i,f_i)} \]
where: \(p_i\) = prime factors; \(e_i, f_i\) = exponents of \(p_i\) in \(a\) and \(b\) respectively
Division Algorithm
\[ a = bq + r, \quad 0 \leq r < |b| \]
where: \(a\) = dividend; \(b\) = divisor; \(q\) = quotient; \(r\) = remainder
Base Conversion (Decimal to Base \(b\))
\[ N = d_0 + d_1 b + d_2 b^2 + \cdots + d_k b^k \]
where: \(N\) = number; \(b\) = base; \(d_i\) = digits in base \(b\)
Modular Arithmetic
\[ a \equiv b \pmod{m} \iff m \mid (a - b) \]
where: \(a,b\) = integers; \(m\) = modulus
Curated videos per subtopic
Top YouTube explainers, AI-ranked for your exam and language. Unlocks with subscription.
Unlock

Try Practice next.

Progress tracking is paywalled — subscribe to mark subtopics as understood and save your streak.

Go to practice →
Ask a doubt
Real Numbers · 10 free messages
Ask me anything about this subtopic. You have 10 free messages this session — chat history isn't saved in preview.