📚 CSIR‑NET JRF – Quantitative Aptitude
🔢 Topic: Number System
A systematic treatment of number systems is essential for the JRF exam.
The following notes cover the most common bases, conversion techniques, properties, and pitfalls that frequently appear in competitive tests.
Table of Contents
- Basic Concepts
- Digit Representation in Different Bases
- Conversion Between Bases
- Properties & Patterns
- Operations in Binary & Two’s Complement
- Tricky Points & Common Mistakes
- Important Formulae
- Hard Practice Question
- Solution to Practice Question
<a name="basic-concepts"></a>
1. Basic Concepts
| Term | Definition |
|---|---|
| Base (radix) | The number of unique digits, including zero, used to represent numbers. |
| Digits | Symbols in a base. In base‑b, digits are (0, 1, 2, \dots , b-1). |
| Place value | Each position in a number represents a power of the base. |
| Radix point | The separator between integer and fractional parts (analogous to decimal point). |
| Negative numbers | In binary, two’s complement is the standard representation. |
<a name="digit-representation"></a>
2. Digit Representation in Different Bases
- Decimal (10): digits 0‑9.
- Binary (2): digits 0, 1.
- Octal (8): digits 0‑7.
- Hexadecimal (16): digits 0‑9, A‑F (10‑15).
Rule of Thumb
(b^k \leq N < b^{k+1}) ⇒ (N) has (k+1) digits in base (b).
<a name="conversion"></a>
3. Conversion Between Bases
3.1 Decimal → Base‑(b)
- Integer part: Repeatedly divide by (b); remainder gives digits (least‑significant → most‑significant).
- Fractional part: Multiply fractional part by (b); integer part of the product is the next digit; repeat.
Example: 45.625 (10) → Octal
45 ÷ 8 = 5 r 5
5 ÷ 8 = 0 r 5 → 55
0.625 × 8 = 5.0 → 5
0.0 × 8 = 0 → stop
Result : 55.5 (8)
3.2 Base‑(b) → Decimal
N = Σ (d_i × b^i) (i from 0 to n for integer part, negative for fractional part)
3.3 Base‑(b) ↔ Base‑(c) (without going through decimal)
- Direct conversion: Convert from source base to decimal, then to target base.
This is the most reliable method for exam problems.
3.4 Power of 2 Conversion (Binary ↔ Octal ↔ Hex)
| Binary | Octal | Hex |
|---|---|---|
111 |
7 |
7 |
1000 |
10 |
8 |
1111 |
17 |
F |
- Rule: Group binary digits in threes (for octal) or fours (for hex), pad with leading zeros if necessary.
<a name="properties"></a>
4. Properties & Patterns
| Property | Explanation |
|---|---|
| Digit sum in base‑b | Sum of digits ≡ number modulo (b‑1). |
| Digit product in base‑b | Product of digits ≡ number modulo (b‑1) when number is not zero. |
| Palindrome in one base | May not be palindrome in another. |
| Divisibility by (b-1) | A number is divisible by (b-1) iff the sum of its digits is divisible by (b-1). |
| Divisibility by (b+1) | A number is divisible by (b+1) iff the alternating sum of its digits is divisible by (b+1). |
| Power of 10 in base‑b | (10_{(b)} = b^{\log_b 10}). Use to convert large powers. |
<a name="operations"></a>
5. Operations in Binary & Two’s Complement
5.1 Binary Addition
| Step | Operation |
|---|---|
| 1 | Align bits |
| 2 | Add bitwise with carry |
| 3 | If carry remains after MSB, extend the number of bits |
5.2 Two’s Complement (Negative Numbers)
- Complement: Flip all bits (one’s complement).
- Add 1: Result is the two’s complement representation.
| Example | 7‑bit number |
|---|---|
| ( -5_{(10)} ) | Complement of 0000101 → 1111010; +1 → 1111011 |
Important
In two’s complement, the value of a negative number with (n) bits is
(- (2^n) + \text{(binary value)}).