presented by: tutorial services the math center base 10 to different number bases when converting a...

17
Presented by: Tutorial Services The Math Center

Upload: mariah-garden

Post on 31-Mar-2015

217 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Presented by: Tutorial Services The Math Center Base 10 to Different Number Bases When converting a number from base 10 to another base follow these

Presented by:

Tutorial Services

The Math Center

Page 2: Presented by: Tutorial Services The Math Center Base 10 to Different Number Bases When converting a number from base 10 to another base follow these

Base 10 to Different Number Bases

When converting a number from base 10 to another base follow these steps:

1. Take the number you want to convert to a different base and divide by the new base.

2. When dividing, write the answer with the remainder.

3. Take the quotient, not the remainder, and again divide the new number by the base.

4. Write your answer with the remainder.

5. Next, follow the third step again.

6. Repeat steps 3 and 4 until you get to an answer where you can no longer divide the quotient by the base. For example if 1 is the quotient and 2 is the base, 1 / 2 will not divide into a whole number. You stop here.

7. To write your answer, take the last number you get as a quotient when doing the division and write the remainders next to it starting from the last remainder you got, to the first remainder. Don’t forget to put the base as a subscript at the end of the number.

Page 3: Presented by: Tutorial Services The Math Center Base 10 to Different Number Bases When converting a number from base 10 to another base follow these

Example

Convert 45 to base 2.

Quotient Remainder 45 / 2 22 1 22 / 2 11 0

11 / 2 5 1 5 / 2 2 1 2 / 2 1 0

Stop --> 1 / 2

Take the last quotient you got before you stopped, and that would be the first digit of the new number in base 2. Next, write the remainders starting from the last remainder you got, to the first remainder.

Answer: 45 = 1011012

Page 4: Presented by: Tutorial Services The Math Center Base 10 to Different Number Bases When converting a number from base 10 to another base follow these

Exercise

Convert 94 to base 6.

Solution:

Quotient Remainder 94 / 6 15 4 15 / 6 2 3 Stop -> 2/ 6

Answer: 94 = 2346

Page 5: Presented by: Tutorial Services The Math Center Base 10 to Different Number Bases When converting a number from base 10 to another base follow these

Numbers in Different Bases to Base 10When converting numbers in different bases to base 10 follow these steps:

1. First count the amount of digits in the number you will process. (i.e. 25 has 2 digits)

2. Then, take the first number going from left to right and multiply it by the base it is on raised to one number less than the total numbers of digits in the number. (i.e. 202 has 2 digits, therefore the first operation should look

like this (2 x 2^1), where 2 is the first digit in the number 202 and 2^1 is the

base being raised to its corresponding power.)

3. Keep doing this subsequently with the following numbers. Note that each subsequent digit needs to be multiplied by the base

raised to one power less then the previous operation. Keep in mind the last digit will need to be multiplied by 2^0.

4. Finally, add all the results from steps 2 and 3 to get your result in base 10.

Page 6: Presented by: Tutorial Services The Math Center Base 10 to Different Number Bases When converting a number from base 10 to another base follow these

Example

Convert 1011012 to base 10

The number of digits in the number 1011012 is equal to 6, therefore the first operation should start with a power of 5.

(1 x 25) + (0 x 24) + (1 x 23) + (1 x 22) + (0 x 21) + (1 x 20)

(1 x 32) + (0 x 16) + (1 x 8) + (1 x 4) + (0 x 2) + (1 x 1)

32 + 0 + 8 + 4 + 0 + 1

45

Page 7: Presented by: Tutorial Services The Math Center Base 10 to Different Number Bases When converting a number from base 10 to another base follow these

Exercise

Convert 2346 to base 10

Solution:

(2 x 62) + (3 x 61) + (4 x 60)

(2 x 36) + (3 x 6) + (4 x 1)

72 + 18 + 4

94

Page 8: Presented by: Tutorial Services The Math Center Base 10 to Different Number Bases When converting a number from base 10 to another base follow these

Addition and Subtraction in Other Bases

When adding numbers in different bases follow these steps:

1. First add the numbers as you would normally do it.2. Ask yourself, how many times does the base go into the sum.3. If the base does not go into the sum, place the resultant of the

sum as part of the answer.4. If the base goes into the sum, place the remainder as part of the

answer and carry over the quotient (the number of times the base goes into the sum).

5. Repeat steps 1 and 2 for the subsequent additions.

Page 9: Presented by: Tutorial Services The Math Center Base 10 to Different Number Bases When converting a number from base 10 to another base follow these

Addition and Subtraction in Other Bases (cont.)

1. Subtract as you would normally do it.2. If you cannot subtract because the number is smaller

than the one you are subtracting, then you will have to borrow from the following number. Borrow the amount of the base and add to the number that needed the borrowing.

3. The number from which you are borrowing will need to decrease by one.

4. If the number from which you are borrowing happens to be zero, then you will have to borrow from the following number.

5. Repeat steps 2 and 3.

To subtract numbers in different bases follow these To subtract numbers in different bases follow these rules:rules:

Page 10: Presented by: Tutorial Services The Math Center Base 10 to Different Number Bases When converting a number from base 10 to another base follow these

Examples

Addition:

2

2

2

10100

111

1101

Subtraction:Subtraction:

2

2

2

0011

110

1001

Page 11: Presented by: Tutorial Services The Math Center Base 10 to Different Number Bases When converting a number from base 10 to another base follow these

Exercise(s)

Solution:

3

3

3

10220

2121

1022

3

3

2121

1022

Add

Solution:

5

5

5

2023

1004

3032

Subtract

5

5

1004

3032

Page 12: Presented by: Tutorial Services The Math Center Base 10 to Different Number Bases When converting a number from base 10 to another base follow these

Multiplication In Different Bases

1. Multiply as you would normally do.

2. Figure out how many times the base goes into the resultant of the numbers multiplied.

3. The remainder of the previous step goes on the bottom and how many times the base goes into the resultant carries over. (If the resultant is less then the base number, leave the resultant as part of your answer on the bottom where the remainder would normally go.)

4. Keep doing this for every column.

5. Add like you normally would for adding numbers of the same base.

6. Get your answer

Multiplication ProcedureMultiplication Procedure

Page 13: Presented by: Tutorial Services The Math Center Base 10 to Different Number Bases When converting a number from base 10 to another base follow these

Multiplication Examples

2

2

2

100011

11100

0000

111

101

111

Example 2Example 2

7

7

7

1501

1160

311

25

43

Example 1Example 1

Page 14: Presented by: Tutorial Services The Math Center Base 10 to Different Number Bases When converting a number from base 10 to another base follow these

Multiplication Exercise

9

9

9

6072

4680

1282

25

234

2349

X 259

MultiplyMultiply SolutionSolution

Page 15: Presented by: Tutorial Services The Math Center Base 10 to Different Number Bases When converting a number from base 10 to another base follow these

Division in Different Bases

Division Procedure:

1. Construct a multiplication table with the corresponding base.

2. Divide as you normally would.3. Combine all the previous rules for addition,

subtraction and multiplication in order to arrive to the expected answer.

Page 16: Presented by: Tutorial Services The Math Center Base 10 to Different Number Bases When converting a number from base 10 to another base follow these

Division Exercise(s)6

66

25

221514

0

41

41

555

555

555

555

1342

1132

422

212

Multiplication Table

5

55

44

143213

0

13

13

666

666

666

666

666

4155

3245

2335

1425

515

Multiplication Table

Page 17: Presented by: Tutorial Services The Math Center Base 10 to Different Number Bases When converting a number from base 10 to another base follow these

Number Bases Links

Logic Workshop Student Handout Truth Tables Handout