Number Representation and Calculation
Number Representation and Calculation
and Calculation
A number is an abstract idea that addresses the question, “How many?”
0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.
1 minute = 60 seconds
For example,
<< <
= 216,000+72,000+600+2
=288,602
<< <
• Step 1:
• Step 1:
Write down the place
values …, 603, 602, 601, 1.
• Step 2:
Multiply each digit by its • Step 2:
place value (1×603) + (10+10) × 602 + (10×601) + (1+1)
×1
• Step 3:
Add the results of step 2 • Step 3:
216,000+72,000+600+2 = 288,602
Question
What is a major disadvantage of the Babylonian system?
Multiply each digit in the numeral by it respective place value. Then add
these products.
=8+0+0+1
=9
• In any base, the digit symbols begin at 0 and go up to one less than the
base. In base b, the digit symbols begin at 0 and go up to b-1. The
place values in a base b system are powers of b:
…, b4, b3, b2, b1, 1.
The place values in a base 2 system are powers of 2:
…, 24, 23, 22, 21, 1.
Multiply each digit in the numeral by it respective place value. Then add
these products.
= (1×2) + (0×1)
=2+0
=2
10two = (1×21) + (0×1)
= (1×2) + (0×1)
=2+0
=2
= (1×6) + (0×1)
=6+0
=6
Therefore, 10b = b
Example
Base sixteen presents a problem because digit symbols are needed from
0 up to one less than the base.
This means that we need more digit symbols than the ten (0, 1, 2, 3, 4,
5, 6, 7, 8, and 9) used in our base ten system. Computer programmers
use the letters A, B, C, D, E, and F as base sixteen digit symbols for the
numbers ten through fifteen, respectively.
Additional digit symbols in base sixteen:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F
A=10
B=11
C=12
D=13
E=14
F=15
Example
When the base ten numeral consists of one or two digits, we can do this
mentally. For example, suppose that we want to convert the base ten numeral 6
to a base four numeral. The place values in base four are
…, 44, 43, 42, 41, 1.
The place values that are less than 6 are 4 and 1.
We can express 6 as one group of four and two ones:
6ten = (1×4) + (2×1) = 12four
Example
Convert the base ten numeral 8 to a base five
numeral.
The place values that are less than 8 are 5 and 1. We can
express 8 as one group of five and three ones:
8ten = (1×5) + (3×1) = 13five
Changing Base Ten Numerals to Numerals in Other Bases
Step 2: use the place values that are less than the base 10
numeral.
Step 2: use the place values that are less than the base 10
numeral:
64, 8 and 1
Step 2: use the place values that are less than the base 10 numeral:
16, 8, 4, 2 and 1
26 = 11010two
Computation in Positional Systems
Add:
33four
+ 13four
_______
33four
+ 13four
_______
3+3=6
6 is bigger than 3.
6 is not a digit symbol in base four.
33four
+ 13four
_______
The place values in base 4
…, 44, 43, 42, 41, 1.
5 is bigger than 3
5= (1×4) + (1×1)= 11four
1
33four
+ 13four
_______
112four
Question:
Add:
32five
+ 44five
_______
Subtract:
31four
- 12four
_______
1four - 2four
2four is greater than 1four . We borrow one group of 4.
31four
- 12four
_______
1four - 2four
2four is greater than 1four . We borrow one group of 4.
Question:
Subtract:
3431five
- 1242five
_______
Multiplication
We multiply just as we do in base ten.
Multiply
34six
× 2six
_______
Multiply:
45seven
× 3seven
_______
For example, to perform the following division, we will use the base four
multiplication table.
_________
3four )222four
× 0 1 2 3
0 0 0 0 0
1 0 1 2 3
2 0 2 10 12
3 0 3 12 21
× 0 1 2 3
0 0 0 0 0
1 0 1 2 3
2 0 2 10 12
3 0 3 12 21
_________
3four )222four
we divide 22four by 3four
In the vertical column headed by 3, the largest product that is less
than or equal to 22four is 21four. Because 3four × 3four = 21four then the
first number in the quotient is 3four .
× 0 1 2 3
0 0 0 0 0
1 0 1 2 3
2 0 2 10 12
3 0 3 12 21
3four
_______
3four )222four
21four
_______
1
× 0 1 2 3
0 0 0 0 0
1 0 1 2 3
2 0 2 10 12
3 0 3 12 21
× 0 1 2 3
0 0 0 0 0
1 0 1 2 3
2 0 2 10 12
3 0 3 12 21
23four
_______
2four )112four
10four
_______
12four
12four
_____
0
× 0 1 2 3
0 0 0 0 0
1 0 1 2 3
2 0 2 10 12
3 0 3 12 21
Question
_________
3five )224five
× 0 1 2 3 4
0 0 0 0 0 0
1 0 1 2 3 4
2 0 2 4 11 13
3 0 3 11 14 22
4 0 4 13 22 31
41five
_______
3five )224five
22five
_______
4five
3five
_____
1five