section 4.4 computation in other bases

17
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 4.4 Computation in Other Bases

Upload: madeline-boone

Post on 01-Jan-2016

27 views

Category:

Documents


0 download

DESCRIPTION

Section 4.4 Computation in Other Bases. What You Will Learn. Performing addition, subtraction, multiplication and division in other bases. +. 0. 1. 2. 3. 4. 0. 0. 1. 2. 3. 4. 1. 1. 2. 3. 4. 10. 2. 2. 3. 4. 10. 11. 3. 3. 4. 10. 11. 12. 4. 4. 10. 11. 12. 13. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Section 4.4 Computation in Other Bases

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Section 4.4

Computation in Other Bases

Page 2: Section 4.4 Computation in Other Bases

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

What You Will Learn

Performing addition, subtraction, multiplication and division in other bases

4.4-2

Page 3: Section 4.4 Computation in Other Bases

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Addition An addition table can be made for any base and be used to add in that base.Base 5 Addition Table

131211104412111043311104322104321143210043210+

4.4-3

Page 4: Section 4.4 Computation in Other Bases

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Add 345

+ 235

Solution From the table 45 + 35 = 125.Record the 2 and carry the 1. 13 45

+ 2 35

25

Example 2: Using the Base 5 Addition Table

4.4-4

Page 5: Section 4.4 Computation in Other Bases

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Solution 13 45

+ 2 35

Add the numbers in the second column15 + 35 + 25 = 115

13 45

+ 2 35

1 1 25 The sum is

1125.

Example 2: Using the Base 5 Addition Table

4.4-5

Page 6: Section 4.4 Computation in Other Bases

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Subtraction Subtraction can also be performed in other bases. When you “borrow,” you borrow the amount of the base given in the subtraction problem.If you are subtracting in base 5, when you borrow, you borrow 5.If you are subtracting in base 12, when you borrow, you borrow 12.

4.4-6

Page 7: Section 4.4 Computation in Other Bases

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Subtract 91B12

– 2A212

Solution In the units column: 11 – 2 = 9Second column: 1 – 10, so we need to borrow: 1 + 12 = 13; 13 – 10 = 3Third column: 9 becomes 8; 8 – 2 = 6 91B12

– 2A212

63912

Example 6: Subtracting in Base 12

4.4-7

Page 8: Section 4.4 Computation in Other Bases

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

MultiplicationMultiplication can be performed in bases other than 10.In base 10, 4 × 3 means four groups of three units.In base 5, 45 × 35 means four groups of three units.(1+1+1)+(1+1+1)+(1+1+1)+(1+1+1)Regroup into groups of five:(1+1+1+1+1)+(1+1+1+1+1)+(1+1)

45 × 35 = 225

4.4-8

Page 9: Section 4.4 Computation in Other Bases

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

MultiplicationMultiplication table for the given base is extremely helpful.Base 5 Multiplication Table

3122134042214113031311420243210100000043210×

4.4-9

Page 10: Section 4.4 Computation in Other Bases

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

MultiplicationHowever, it may be easier to multiply the values in the base 10 system and then change the product to base 5.Multiplying 4 × 3 in base 10 gives 12.Converting 12 from base 10 to base five gives 225.

4.4-10

Page 11: Section 4.4 Computation in Other Bases

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Multiply 437

× 257

Solution5 × 3 = 1510 = (2 × 7) + (1 × 1)= 217

Record the 1, carry the 2

24 37

× 2 55

1

Example 8: Multiplying in Base 7

4.4-11

Page 12: Section 4.4 Computation in Other Bases

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Solution

(5 × 4) + 2 = 2210 = (3 × 7) + (1 × 1)= 317

Record 31

24 37

× 2 55

311

Example 8: Multiplying in Base 7

4.4-12

Page 13: Section 4.4 Computation in Other Bases

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Solution

2 × 3 = 610 = 67

Record 6

24 37

× 2 55

311

6

Example 8: Multiplying in Base 7

4.4-13

Page 14: Section 4.4 Computation in Other Bases

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Solution2 × 4 = 810 = (1 × 7) + (1 × 1)= 117

Record 11, and add in base 7

24 37

× 2 55

311 116

15017

Example 8: Multiplying in Base 7

4.4-14

Page 15: Section 4.4 Computation in Other Bases

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Division

Division is performed in much the same way as long division in base 10.A division problem can be checked by multiplication. (quotient × divisor) + remainder = dividend

4.4-15

Page 16: Section 4.4 Computation in Other Bases

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Divide

SolutionThe multiples of 6 in base 8:68 × 18 = 68 68 × 28 = 148

68 × 38 = 228 68 × 48 = 308 68 × 58 = 368 68 × 68 = 448

68 × 78 = 528

Quotient is 5368, remainder 58

Example 10: Dividing in Base 8

6

84071

8

68

40718

36

27

22

51

44

5

5368

4.4-16

Page 17: Section 4.4 Computation in Other Bases

Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Be careful when subtracting!We had to borrow when subtracting 6 from 0 and when subtracting 4 from 1. Remember that we borrow 108, which is the same as 8 in base 10.CheckDoes (5368 × 68) + 58= 40718?

5368

× 68 40648 + 58 = 40718 True

Example 10: Dividing in Base 8

4.4-17