#set document(title: "4.4 Addition and Subtraction in Base Systems", author: "OpenStax / XYZ Homework") #set page(width: 8.5in, height: auto, margin: 1in) #import "@preview/cetz:0.5.2" #set text(font: ("STIX Two Text", "Libertinus Serif", "New Computer Modern"), size: 10.5pt, lang: "en") #show math.equation: set text(font: ("STIX Two Math", "New Computer Modern Math")) #set par(justify: true, leading: 0.62em, spacing: 0.9em) #set enum(spacing: 1.1em) // room between list items so tall inline fractions don't collide #set list(spacing: 1.1em) #set table(stroke: 0.5pt + rgb("#c7ccd3")) #let BLUE = rgb("#183B6F") // brand navy — section bars + example/solution labels (white on navy 11.09:1) #let ORANGE = rgb("#A94509") // brand primary-700 — AA-safe deep orange for TEXT (5.93:1 on white; raw brand #F37021 is 2.94:1 and must never carry text) #let RED = rgb("#DC2626") // brand error-600 #let GREEN = rgb("#059669") // brand success-600 (decoration only; small green text uses green-text #007942) #show heading.where(level: 1): it => block(width: 100%, above: 0pt, below: 16pt, fill: gradient.linear(BLUE, rgb("#2C5AA0")), inset: (x: 14pt, y: 12pt), radius: 3pt, text(fill: white, weight: "bold", size: 19pt, it.body)) #show heading.where(level: 2): it => block(width: 100%, above: 18pt, below: 10pt, fill: BLUE, inset: (x: 10pt, y: 6pt), radius: 2pt, text(fill: white, weight: "bold", size: 12pt, it.body)) #show heading.where(level: 3): it => text(fill: ORANGE, weight: "bold", size: 12.5pt, it.body) #show heading.where(level: 4): it => text(fill: BLUE, weight: "bold", size: 10.5pt, it.body) #let examplebox(label, title, body) = block(width: 100%, breakable: true, fill: rgb("#EFF1F5"), stroke: 0.5pt + rgb("#CFDDF0"), radius: 4pt, inset: 10pt, above: 12pt, below: 12pt)[ #block(below: 6pt)[#box(fill: BLUE, inset: (x: 6pt, y: 2pt), radius: 2pt, text(fill: white, weight: "bold", size: 8.5pt, label)) #h(0.4em) #strong[#title]] #body] // rail = decorative left rule (raw brand token); labelcolor = AA-safe label text shade #let notebox(label, rail, labelcolor, tint, body) = block(width: 100%, breakable: true, fill: tint, stroke: (left: 3pt + rail), inset: (left: 10pt, rest: 8pt), radius: (right: 4pt), above: 11pt, below: 11pt)[ #text(fill: labelcolor, weight: "bold", size: 7.5pt, tracking: 0.5pt)[#upper(label)] #linebreak() #body] #let solutionbox(body) = block(above: 4pt, below: 8pt)[ #text(fill: BLUE, weight: "bold", size: 8.5pt)[Solution] #linebreak() #body] #let figph(msg) = block(width: 100%, height: 60pt, fill: rgb("#f6f7f9"), stroke: (paint: rgb("#c7ccd3"), dash: "dashed"), radius: 4pt, inset: 10pt)[ #align(center + horizon, text(fill: rgb("#889"), style: "italic", size: 9pt, msg))] // Standardize inlined figure sizes: measure the natural CeTZ canvas, then scale to a // consistent envelope (aspect-aware; see build_typst.py FIG_* constants). Unlike the // print preamble, dimensions are FLOORED: in an editor a user can trim a figure to a // degenerate 1-D shape (a bare line), and w/h or tw/w would then divide by zero. #let _STD_W = 3.5 #let _WIDE_W = 5.6 #let _MAX_H = 3.4 #let _ASPECT_WIDE = 2.2 #let _UPSCALE_MAX = 1.15 #let stdfig(body) = context { let m = measure(body) let w = calc.max(m.width / 1in, 0.01) let h = calc.max(m.height / 1in, 0.01) let tw = if w / h > _ASPECT_WIDE { _WIDE_W } else { _STD_W } let s = calc.min(tw / w, _MAX_H / h, _UPSCALE_MAX) align(center, box(scale(x: s * 100%, y: s * 100%, reflow: true, body))) } #show figure: set block(breakable: false) #set figure(gap: 8pt) #show figure.caption: set text(size: 8.5pt, fill: rgb("#555")) == 4.4#h(0.6em)Addition and Subtraction in Base Systems #figure(figph[A person holding a magnifying glass is observing binary code.], alt: "A person holding a magnifying glass is observing binary code.", caption: [All information in computers is represented by 0's and 1's, including quantity, which means computers use Base 2 for arithmetic.]) === Learning Objectives After completing this section, you should be able to: + Add and subtract in bases 2–9 and 12. + Identify errors in adding and subtracting in bases 2–9 and 12. Once we decide on a system for counting, we need to establish rules for combining the numbers we’re using. This begins with the rules for addition and subtraction. We are familiar with base 10 arithmetic, such as #math.equation(block: false, alt: "2 plus 5 equals 7")[$2 + 5 = 7$] or #math.equation(block: false, alt: "3 times 5 equals 15")[$3 × 5 = 15$]. How does that change if we instead use a different base? A larger base? A smaller one? In particular, computers use base 2 for all number representation. When your calculator adds or subtracts, multiplies or divides, it uses base 2. This is because the circuitry recognizes only two things, high current and low current, which means the system is uses only has two symbols. Which is what base 2 is. In this section, we use addition and subtraction in bases other than 10 by referencing the processes of base 10, but applied to a new base system. === Addition in Bases Other Than Base 10 Now that we understand what it means for numbers to be expressed in a base other than 10, we can look at arithmetic using other bases, starting with addition. When you think back to when you first learned addition, it is very likely you learned the addition table. Once you knew the addition table, you moved on to addition of numbers with more than one digit. The same process holds for addition in other bases. We begin with an addition table, and then move on to adding numbers with two or more digits. We worked with base 6 earlier, and have the numbers in base 6 up to 100#sub[6]. Using that table of values, we can create the base 6 addition table. Here’s the beginning of the base 6 addition table: #figure(table( columns: 7, align: left, inset: 6pt, table.header([+], [0], [1], [2], [3], [4], [5]), [0], [0], [1], [2], [3], [4], [5], [1], [1], [2], [3], [4], [5], [?], [2], [2], [3], [4], [5], [?], [?], [3], [3], [4], [5], [?], [?], [?], [4], [4], [5], [?], [?], [?], [?], [5], [5], [?], [?], [?], [?], [?], )) Many of the cells are not filled out. The ones filled in are values that never get past 5, which is the largest legal symbol in base 6, so they are acceptable symbols. But what do we do with 5 + 3 in base 6? We can’t represent the answer as “8” since “8” is not a symbol available to us. Let’s go back to the list of numbers we have for base 6. #figure(table( columns: 6, align: left, inset: 6pt, table.header([0], [1], [2], [3], [4], [5]), [10], [11], [12], [13], [14], [15], [20], [21], [22], [23], [24], [25], [30], [31], [32], [33], [34], [35], [40], [41], [42], [43], [44], [45], [50], [51], [52], [53], [54], [55], )) So, what is 5 + 1 equal to in base 6? Well, start at the 5, and jump ahead one step. You land on 10. #figure(figph[A table with numbers 0 to 5, 10 to 15, 20 to 25, 30 to 35, 40 to 45, 50 to 55. An arrow points from 5 to 10], alt: "A table with numbers 0 to 5, 10 to 15, 20 to 25, 30 to 35, 40 to 45, 50 to 55. An arrow points from 5 to 10", caption: none) #figure(figph[A table with numbers 0 to 5, 10 to 15, 20 to 25, 30 to 35, 40 to 45, 50 to 55. A callout pointing to 10 reads, The 10 is one step past the 5.], alt: "A table with numbers 0 to 5, 10 to 15, 20 to 25, 30 to 35, 40 to 45, 50 to 55. A callout pointing to 10 reads, The 10 is one step past the 5.", caption: none) This means that, in base 6, 5 + 1 = 10. So, what is 5 + 2 in base 6? Well, 5 + 2 = 5 + 1 + 1, so 10 + 1…jump one more space and you land on 11. So, 5 + 2 = 11 in base 6. #figure(figph[A table with numbers 0 to 5, 10 to 15, 20 to 25, 30 to 35, 40 to 45, 50 to 55. Arrows point from 5 to 10 and from 10 to 11.], alt: "A table with numbers 0 to 5, 10 to 15, 20 to 25, 30 to 35, 40 to 45, 50 to 55. Arrows point from 5 to 10 and from 10 to 11.", caption: none) And so it goes. Using that process, stepping one more along the list, we can fill in the remainder of the base 6 addition table . #figure(table( columns: 7, align: left, inset: 6pt, table.header([+], [0], [1], [2], [3], [4], [5]), [0], [0], [1], [2], [3], [4], [5], [1], [1], [2], [3], [4], [5], [#strong[10]], [2], [2], [3], [4], [5], [#strong[10]], [#strong[11]], [3], [3], [4], [5], [#strong[10]], [#strong[11]], [#strong[12]], [4], [4], [5], [#strong[10]], [#strong[11]], [#strong[12]], [#strong[13]], [5], [5], [#strong[10]], [#strong[11]], [#strong[12]], [#strong[13]], [#strong[14]], )) With this table, and with our understanding of “carrying the one,” we can then use the addition table to do addition in base 6 for numbers with two or more digits, using the same processes you learned for addition when you did it by hand. #examplebox("Example 1")[Adding in Base 6][ Calculate 251#sub[6] + 133#sub[6]. #solutionbox[ #strong[Step 1:] Let’s set up the addition using columns. #figure(table( columns: 4, align: left, inset: 6pt, table.header([], [2], [5], [1]), [+], [1], [3], [3], )) #strong[Step 2:] Let’s do the one’s place first. According to the base 6 addition table , 1 + 3 = 4. #figure(table( columns: 4, align: left, inset: 6pt, table.header([], [2], [5], [1]), [+], [1], [3], [3], [], [], [], [#strong[4]], )) #strong[Step 3:] Now, we do the “tens” place (it’s really the sixes place). According to the base 6 addition table , we have 5 + 3 = 12. So, like in base 10, we use the 2 and carry the 1. #figure(table( columns: 4, align: left, inset: 6pt, table.header([], [#strong[1]], [], []), [], [2], [5], [1], [+], [1], [3], [3], [], [], [#strong[2]], [4], )) #strong[Step 4:] Now the “hundreds” place (really, thirty-sixes place). There, we have 1 + 2 + 1 = 3 + 1 = 4. #figure(table( columns: 4, align: left, inset: 6pt, table.header([], [1], [], []), [], [2], [5], [1], [+], [1], [3], [3], [], [#strong[4]], [2], [4], )) So, 251#sub[6] + 133#sub[6] = 424#sub[6]. As you can see, the process is the same as when you learned base 10 addition, just a different symbol set. ] ] #examplebox("Example 2")[Creating an Addition Table for a Base Lower Than 10][ + Create the addition table for base 7. + Create the addition table for base 2. #solutionbox[ + We begin with the table below. #linebreak() #figure(table( columns: 8, align: left, inset: 6pt, table.header([+], [0], [1], [2], [3], [4], [5], [6]), [0], [0], [1], [2], [3], [4], [5], [6], [1], [1], [2], [3], [4], [5], [6], [], [2], [2], [3], [4], [5], [6], [], [], [3], [3], [4], [5], [6], [], [], [], [4], [4], [5], [6], [], [], [], [], [5], [5], [6], [], [], [], [], [], [6], [6], [], [], [], [], [], [], )) In base 7, the number that follows 6 is 10 (since we’ve run out of symbols!). So, 6#sub[7] + 1#sub[7] = 10#sub[7]. Once that is established, 6#sub[7] + 2#sub[7] will be two numbers past 6, which is 11 in base 7. #figure(table( columns: 8, align: left, inset: 6pt, table.header([+], [0], [1], [2], [3], [4], [5], [6]), [0], [0], [1], [2], [3], [4], [5], [6], [1], [1], [2], [3], [4], [5], [6], [#strong[10]], [2], [2], [3], [4], [5], [6], [], [#strong[11]], [3], [3], [4], [5], [6], [], [], [], [4], [4], [5], [6], [], [], [], [], [5], [5], [6], [], [], [], [], [], [6], [6], [#strong[10]], [#strong[11]], [], [], [], [], )) Continuing, we can fill in the rows as we would in base 10, but being aware that we are working in base 7 . #figure(table( columns: 8, align: left, inset: 6pt, table.header([+], [0], [1], [2], [3], [4], [5], [6]), [0], [0], [1], [2], [3], [4], [5], [6], [1], [1], [2], [3], [4], [5], [6], [10], [2], [2], [3], [4], [5], [6], [10], [11], [3], [3], [4], [5], [6], [10], [11], [12], [4], [4], [5], [6], [10], [11], [12], [13], [5], [5], [6], [10], [11], [12], [13], [14], [6], [6], [10], [11], [12], [13], [14], [15], )) + We revisit base 2 here. Begin with the table: #linebreak() #figure(table( columns: 3, align: left, inset: 6pt, table.header([+], [0], [1]), [0], [0], [1], [1], [1], [], )) In base 2, the number that follows 1 is 10 (since we’ve run out of symbols!). So, 1#sub[2] + 1#sub[2] = 10#sub[2]. The complete table for base two then is below. #figure(table( columns: 3, align: left, inset: 6pt, table.header([+], [0], [1]), [0], [0], [1], [1], [1], [10], )) This demonstrates that the rules necessary for base 2 addition are as small as possible: four rules. ] ] To summarize the creation of the addition tables for a given base, do the following. #strong[Step 1:] Set up the table. #strong[Step 2:] Fill in all the additions that use the “legal” symbols for the base. The diagonal that goes from upper left to lower right that is immediately next to the filled boxes all get the value 10, regardless of base. #strong[Step 3:] Enter the values that are in the “teens.” This can all be done on one table without creating multiple copies of previously done work. #examplebox("Example 3")[Adding in Base 7][ Calculate 536#sub[7] + 433#sub[7]. #solutionbox[ #strong[Step 1:] Let’s set up the addition using columns. #figure(table( columns: 4, align: left, inset: 6pt, table.header([], [5], [3], [6]), [+], [4], [3], [3], )) #strong[Step 2:] Let’s do the one’s place first. According to the base 7 addition table in the solution for Example 2, 6 + 3 = 12. We will carry the 1. #figure(table( columns: 4, align: left, inset: 6pt, table.header([], [], [#strong[1]], []), [], [5], [3], [6], [+], [4], [3], [3], [], [], [], [#strong[2]], )) #strong[Step 3:] Now, we do the “tens” place (it’s really the sevens place). According to the base 7 addition table in the solution for Example 2, we have 1 + 3 + 3 = 10. So, like in base 10, we use the 0 and carry the 1. #figure(table( columns: 4, align: left, inset: 6pt, table.header([], [#strong[1]], [], []), [], [5], [3], [6], [+], [4], [3], [3], [], [], [#strong[0]], [2], )) #strong[Step 4:] Now the “hundreds” place (really, forty-ninths place). There, we have 1 + 5 + 4 = 6 + 4 = 13. #figure(table( columns: 4, align: left, inset: 6pt, table.header([], [1], [], []), [], [5], [3], [6], [+], [4], [3], [3], [#strong[1]], [#strong[3]], [0], [2], )) So, 536#sub[7] + 333#sub[7] = 1302#sub[7]. ] ] As seen previously, when performing addition in another base, set up the problem exactly as you would for addition in base 10. At each step, check the addition table for the base. As in base 10 addition, move right to left, adding down the columns using the rules in the addition table. When necessary and just as in base 10, be sure to carry the 1. #examplebox("Example 4")[Creating an Addition Table for a Base Higher Than 10][ Create the addition table for base 12. #solutionbox[ #strong[Step 1:] Recall, in base 12, the symbol set is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, and B. So, the addition table begins as shown below. #figure(table( columns: 13, align: left, inset: 6pt, table.header([+], [0], [1], [2], [3], [4], [5], [6], [7], [8], [9], [A], [B]), [0], [0], [1], [2], [3], [4], [5], [6], [7], [8], [9], [A], [B], [1], [1], [2], [3], [4], [5], [6], [7], [8], [9], [A], [B], [], [2], [2], [3], [4], [5], [6], [7], [8], [9], [A], [B], [], [], [3], [3], [4], [5], [6], [7], [8], [9], [A], [B], [], [], [], [4], [4], [5], [6], [7], [8], [9], [A], [B], [], [], [], [], [5], [5], [6], [7], [8], [9], [A], [B], [], [], [], [], [], [6], [6], [7], [8], [9], [A], [B], [], [], [], [], [], [], [7], [7], [8], [9], [A], [B], [], [], [], [], [], [], [], [8], [8], [9], [A], [B], [], [], [], [], [], [], [], [], [9], [9], [A], [B], [], [], [], [], [], [], [], [], [], [A], [A], [B], [], [], [], [], [], [], [], [], [], [], [B], [B], [], [], [], [], [], [], [], [], [], [], [], )) #strong[Step 2:] The diagonal immediately to the right of the filled in boxes is where the 10 goes for this base. #figure(table( columns: 13, align: left, inset: 6pt, table.header([+], [0], [1], [2], [3], [4], [5], [6], [7], [8], [9], [A], [B]), [0], [0], [1], [2], [3], [4], [5], [6], [7], [8], [9], [A], [B], [1], [1], [2], [3], [4], [5], [6], [7], [8], [9], [A], [B], [10], [2], [2], [3], [4], [5], [6], [7], [8], [9], [A], [B], [10], [], [3], [3], [4], [5], [6], [7], [8], [9], [A], [B], [10], [], [], [4], [4], [5], [6], [7], [8], [9], [A], [B], [10], [], [], [], [5], [5], [6], [7], [8], [9], [A], [B], [10], [], [], [], [], [6], [6], [7], [8], [9], [A], [B], [10], [], [], [], [], [], [7], [7], [8], [9], [A], [B], [10], [], [], [], [], [], [], [8], [8], [9], [A], [B], [10], [], [], [], [], [], [], [], [9], [9], [A], [B], [10], [], [], [], [], [], [], [], [], [A], [A], [B], [10], [], [], [], [], [], [], [], [], [], [B], [B], [10], [], [], [], [], [], [], [], [], [], [], )) #strong[Step 3:] Using the pattern we’re familiar with, and counting in base 12, we can fill in the other cells. #figure(table( columns: 13, align: left, inset: 6pt, table.header([+], [0], [1], [2], [3], [4], [5], [6], [7], [8], [9], [A], [B]), [0], [0], [1], [2], [3], [4], [5], [6], [7], [8], [9], [A], [B], [1], [1], [2], [3], [4], [5], [6], [7], [8], [9], [A], [B], [10], [2], [2], [3], [4], [5], [6], [7], [8], [9], [A], [B], [10], [11], [3], [3], [4], [5], [6], [7], [8], [9], [A], [B], [10], [11], [12], [4], [4], [5], [6], [7], [8], [9], [A], [B], [10], [11], [12], [13], [5], [5], [6], [7], [8], [9], [A], [B], [10], [11], [12], [13], [14], [6], [6], [7], [8], [9], [A], [B], [10], [11], [12], [13], [14], [15], [7], [7], [8], [9], [A], [B], [10], [11], [12], [13], [14], [15], [16], [8], [8], [9], [A], [B], [10], [11], [12], [13], [14], [15], [16], [17], [9], [9], [A], [B], [10], [11], [12], [13], [14], [15], [16], [17], [18], [A], [A], [B], [10], [11], [12], [13], [14], [15], [16], [17], [18], [19], [B], [B], [10], [11], [12], [13], [14], [15], [16], [17], [18], [19], [1A], )) Notice that the lower-right entry is 1A#sub[12], as this is the number one past 19#sub[12]. ] ] #examplebox("Example 5")[Adding in Base 12][ Calculate 3A7#sub[12] + 9BA#sub[12]. #solutionbox[ #strong[Step 1:] Using the process established in the earlier addition problem, set up the columns. #figure(table( columns: 4, align: left, inset: 6pt, table.header([], [3], [A], [7]), [+], [9], [B], [A], )) #strong[Step 2:] Using the rules from the base 12 addition table in the solution for Example 4, and being careful to carry the 1 when necessary, we get the following: #figure(table( columns: 4, align: left, inset: 6pt, table.header([], [1], [1], []), [], [3], [A], [7], [+], [9], [B], [A], [#strong[1]], [#strong[1]], [A], [5], )) The ones that were carried are located over the columns. So, 3A7#sub[12] + 9BA#sub[12]= 11A5#sub[12]. ] ] #examplebox("Example 6")[Adding in Base 2][ We again return to base 2, the base used by computers. Calculate 1001#sub[2] + 11011#sub[2]. #solutionbox[ #strong[Step 1:] Using the process established in the earlier addition problem, set up the columns. #figure(table( columns: 6, align: left, inset: 6pt, table.header([], [], [1], [0], [0], [1]), [+], [1], [1], [0], [1], [1], )) #strong[Step 2:] Using the rules from the base 2 addition table in the solution for Example 2, and being careful to carry the 1 when necessary (and shown at the top of the grid), we get the following: #figure(table( columns: 6, align: left, inset: 6pt, table.header([], [1], [], [1], [1], []), [], [], [1], [0], [0], [1], [+], [1], [1], [0], [1], [1], [1], [0], [0], [1], [0], [0], )) #strong[Step 3:] Calculate 1001#sub[2] + 11011#sub[2] = 100100#sub[2]. So, 1001#sub[2] + 11011#sub[2] = 100100#sub[2]. ] ] === Subtraction in Bases Other Than Base 10 #strong[Subtraction in bases] other than base 10 follow the same processes as base 10 subtraction, but, as with addition, using the addition table for the base. #examplebox("Example 7")[Subtracting in Base 6][ Calculate 52#sub[6] − 34#sub[6]. #solutionbox[ #strong[Step 1:] Let’s set up the subtraction using columns. #figure(table( columns: 3, align: left, inset: 6pt, table.header([], [5], [2]), [−], [3], [4], )) #strong[Step 2:] Just as we might do in base 10, we borrow a 1 from the 5 for the ones digit. #figure(table( columns: 3, align: left, inset: 6pt, table.header([], [#math.equation(block: false, alt: "5 4")[$cancel(5) 4$]], [#strong[12]]), [−], [3], [4], )) #strong[Step 3:] Referring to the base 6 addition table , we see that 4 + 4 = 12, so 12#sub[6] − 4#sub[6] is 4#sub[6]. #figure(table( columns: 3, align: left, inset: 6pt, table.header([], [#math.equation(block: false, alt: "5 4")[$cancel(5) 4$]], [#strong[1]2]), [−], [3], [4], [], [], [#strong[4]], )) #strong[Step 4:] Now we deal with the “tens” (really, sixes) digit, 4#sub[6] − 3#sub[6], which equals 1#sub[6] according to the base 6 addition table . #figure(table( columns: 3, align: left, inset: 6pt, table.header([], [#math.equation(block: false, alt: "5")[$cancel(5)$] 4], [#strong[1]2]), [−], [3], [4], [], [#strong[1]], [4], )) So, 52#sub[6] − 34#sub[6] = 14#sub[6]. ] ] #examplebox("Example 8")[Subtracting in Base 12][ Calculate A17#sub[12] − 4B3#sub[12.] #solutionbox[ #strong[Step 1:] Let’s set up the subtraction using columns. #figure(table( columns: 4, align: left, inset: 6pt, table.header([], [A], [1], [7]), [−], [4], [B], [3], )) #strong[Step 2:] Even in base 12, 7#sub[12] − 3#sub[12] = 4#sub[12]. #figure(table( columns: 4, align: left, inset: 6pt, table.header([], [A], [1], [7]), [−], [4], [B], [3], [], [], [], [#strong[4]], )) #strong[Step 3:] Moving to the “tens” digit, we have 1#sub[12] − B#sub[12]. Since 1 is less than B in base 12, we need to borrow a 1 from the A, just as we would for subtraction in base 10. #figure(table( columns: 4, align: left, inset: 6pt, table.header([], [#math.equation(block: false, alt: "A")[$cancel(bold(A))$] #strong[9]], [#strong[11]], [7]), [−], [4], [B], [3], [], [], [], [4], )) #strong[Step 4:] According to the base 12 addition table in the solution for Example 4, B#sub[12] + 2#sub[12] = 11#sub[12], so 11#sub[12] − B#sub[12] = 2#sub[12]. #figure(table( columns: 4, align: left, inset: 6pt, table.header([], [#math.equation(block: false, alt: "A")[$cancel(upright(A))$] 9], [#strong[1]1], [7]), [−], [4], [B], [3], [], [], [#strong[2]], [4], )) #strong[Step 5:] Finally, we deal with the “hundreds” digit. According to the base 12 addition table in the solution for Example 4, 4#sub[12] + 5#sub[12] = 9#sub[12], so 9#sub[12] − 4#sub[12] = 5#sub[12]. #figure(table( columns: 4, align: left, inset: 6pt, table.header([], [#math.equation(block: false, alt: "A")[$cancel(upright(A))$] 9], [11], [7]), [−], [4], [B], [3], [], [#strong[5]], [2], [4], )) So, A17#sub[12] − 4B3#sub[12] = 524#sub[12]. ] ] === Errors When Adding and Subtracting in Bases Other Than Base 10 Errors when computing in bases other than 10 often involve applying base 10 rules or symbols to an arithmetic problem in a base other than base 10. The first type of error is using a symbol that is not in the symbol set for the base. For instance, if a 9 shows up when working in base 7, you know an error has happened because 9 is not a legal symbol in base 7. #examplebox("Example 9")[Identifying an Illegal Symbol in Arithmetic in a Base Other Than Base 10][ Explain the error in the following calculation: #math.equation(block: true, alt: "15 sub 6 plus 34 sub 6 equals 49 sub 6")[$15_(6) + 34_(6) = 49_(6)$] #solutionbox[ Since the problem is in base 6, the symbol set available is 0, 1, 2, 3, 4 and 5. The 9 in the answer is clearly not a legal symbol for base 6. Looking back to the base 6 addition table , we see that #math.equation(block: false, alt: "5 sub 6 plus 4 sub 6 equals 13 sub 6")[$5_(6) + 4_(6) = 13_(6)$]. Correcting the error, we see the sum is #math.equation(block: false, alt: "15 sub 6 plus 34 sub 6 equals 53 sub 6")[$15_(6) + 34_(6) = 53_(6)$]. ] ] The second type of error is using a base 10 rule when the numbers are not in base 10. For instance, if you are working in base 13, then 9#sub[13] + 9#sub[13] is not 18#sub[13], even though 18 is the correct answer in base 10. #examplebox("Example 10")[Identifying an Arithmetic Error in a Base Other Than Base 10][ Explain the error in the following calculation, and correct the error: #math.equation(block: true, alt: "89 sub 12 plus 76 sub 12 equals 165 sub 12")[$89_(12) + 76_(12) = 165_(12)$] #solutionbox[ If this problem was a base 10 problem, this would be the correct answer. However, in base 12, 9 + 6 is not 15, but is instead 13. To correct this error, carefully use the addition table for base 12. If properly used, the correct answer would be #math.equation(block: false, alt: "143 sub 12")[$143_(12)$], as seen below: #figure(table( columns: 4, align: left, inset: 6pt, table.header([], [], [8], [9]), [+], [], [7], [6], [], [1], [4], [3], )) ] ] === Key Concepts - Addition tables for bases other than 10 can be built using the same processes that are used in base 10, including using a number line. - Addition in bases other than base 10 use the same processes as addition in base 10, but use the addition table for that base. - Subtraction in bases other than base 10 use the same processes as subtraction in base 10, but use the addition table for that base.