Number System – CSIR‑NET JRF (Quantitative Aptitude)
Goal – Understand how numbers are represented in different bases, how to convert between bases, and the key properties that make these conversions quick and error‑free.
1. Simple Explanation
| Concept | What it means | Why it matters |
|---|---|---|
| Base (Radix) | The number of unique digits, including zero, used to represent numbers in a positional system. | Determines the “alphabet” of the system (e.g., 0‑9 for decimal, 0‑1 for binary). |
| Positional Notation | Each digit’s value depends on its position (power of the base). | Allows compact representation of large numbers. |
| Place Value | Value contributed by a digit = digit × (base)^(position index). | Provides the rule for converting between bases. |
| Digit Set | The allowed symbols for a base (0‑9, A‑F for hex, etc.). | Confines the digits you can use; any digit ≥ base is illegal. |
Quick take‑away – Numbers are strings of symbols; each symbol’s meaning is fixed by its position and the base.
2. Key Points
| Topic | Key Point | Formula / Shortcut |
|---|---|---|
| Decimal (Base‑10) | Digits 0‑9 | (N = \sum_{i=0}^{k} d_i \times 10^i) |
| Binary (Base‑2) | Digits 0‑1 | (N = \sum_{i=0}^{k} b_i \times 2^i) |
| Octal (Base‑8) | 0‑7 | (N = \sum_{i=0}^{k} o_i \times 8^i) |
| Hexadecimal (Base‑16) | 0‑9, A‑F | (N = \sum_{i=0}^{k} h_i \times 16^i) |
| Conversion (Decimal → Other) | Repeated division by new base, record remainders | Remainders read bottom‑up |
| Conversion (Other → Decimal) | Multiply each digit by base power | Sum of products |
| Binary <→ Octal | Group bits in sets of 3 | 3 bits ⇔ 1 octal digit |
| Binary <→ Hex | Group bits in sets of 4 | 4 bits ⇔ 1 hex digit |
| Negative Numbers (two’s complement) | Invert bits + add 1 | ( \text{unsigned value} = 2^n - \text{negative value}) |
| Scientific Notation (in decimal) | (N = a \times 10^b) where (1 \le a < 10) | Useful for very large/small numbers |
3. Worked Example
Convert the decimal number 12345 to:
- Binary
- Octal
- Hexadecimal
3.1 Decimal → Binary (Repeated Division)
| Step | Quotient | Remainder |
|---|---|---|
| 1 | 12345 ÷ 2 = 6172 | 1 |
| 2 | 6172 ÷ 2 = 3086 | 0 |
| 3 | 3086 ÷ 2 = 1543 | 0 |
| 4 | 1543 ÷ 2 = 771 | 1 |
| 5 | 771 ÷ 2 = 385 | 1 |
| 6 | 385 ÷ 2 = 192 | 1 |
| 7 | 192 ÷ 2 = 96 | 0 |
| 8 | 96 ÷ 2 = 48 | 0 |
| 9 | 48 ÷ 2 = 24 | 0 |
| 10 | 24 ÷ 2 = 12 | 0 |
| 11 | 12 ÷ 2 = 6 | 0 |
| 12 | 6 ÷ 2 = 3 | 0 |
| 13 | 3 ÷ 2 = 1 | 1 |
| 14 | 1 ÷ 2 = 0 | 1 |
Read remainders from bottom to top:
11000000111001₂
Result: 12345₁₀ = 11000000111001₂
3.2 Decimal → Octal
| Step | Quotient | Remainder |
|---|---|---|
| 1 | 12345 ÷ 8 = 1543 | 1 |
| 2 | 1543 ÷ 8 = 192 | 7 |
| 3 | 192 ÷ 8 = 24 | 0 |
| 4 | 24 ÷ 8 = 3 | 0 |
| 5 | 3 ÷ 8 = 0 | 3 |
Bottom‑up:
30701₈
Result: 12345₁₀ = 30701₈