2.6: Addition and Subtraction with Other Bases
- Page ID
- 59936
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)Addition in Other Bases
As we saw in the previous section with the Mayan numeration system, we can add or subtract in other bases. Below are a series of steps, but, overall, we add as usual while finding its equivalent number from base 10 to the new base.
- Rewrite the addition vertically, if not already.
- Start in the ones place (as usual), but find the number the sum represents in base b.
- If the sum is larger than base b, then carry over to the b1 place value.
- Repeat steps 2 and 3 for the b2, b3, … place values.
Add in base two: 111two + 11two
Solution
Writing this vertically, we get
\( 111_{two} \)
\(\\ + \underline{11_{two}} \)
Let’s add the ones place as usual. If we were in base 10, 1+1=2; 2 in base 10 is equivalent to 0 in base 2 and we carry 1 over to the 2’s place. Recall, base two is {0,1}. Hence, the ones place is 0:
\( 11^{+1}1_{two} \)
\(\\ + \underline{ 1 \;\;\; 1_{two}} \)
\(\; 1 \;\; 0_{two} \)
Adding in the 2’s place, 1+1+1=3 in base 10, but 3 is 1 in base 2 and we carry 1 to the 22’s place:
\( 1^{+1}11_{two} \)
\( + \underline{\;\;\;11_{two}} \)
\( 0 \;\;\; 10_{two} \)
Adding in the 22’s place, we get 1+1=2 in base 10, but 2 in base 10 is 0 in base 2 and we carry a 1 over to the 23’s place:
\( +1\;1\;11_{two} \)
\( + \underline{\;\;\;\;\;11_{two}} \)
\( 1 \;\;\; 010_{two} \)
Hence, 111two + 11two = 1010two. Note, another way to do this is convert each number to base 10 and add as usual, then convert the result back into base 2.
Add in base five: 44five + 42five
Solution
Let’s try this by converting each number to base 10, adding them, then converting the sum back into base 5:
44five = 4(5) + 4(1) = 24ten
42five = 4(5) + 2(1) = 22ten
Next, we add the base 10 numbers:
24 + 22 = 46ten
Converting 46 in base ten into a number in base 5, we use the previous sections’ technique and obtain 141five. Thus, 46 in base 10 is equivalent to 141 in base 5.
Subtraction in Other Bases
Rewrite the subtraction vertically, if not already.
Start in the ones place (as usual), but find the number the difference represents in base b.
If the ones place of the minuend is smaller than the ones place of the subtrahend, then borrow from the place value to the left in that base b. Then subtract as usual.
Repeat steps 2 and 3 for the b2, b3 place values.
Subtract in base 5: 240five - 40five
Solution
\( 240_{five} \)
\(- \underline{40_{five}} \)
If we take the ones place, 0-0 =0, which is 0 in base 5, then the ones place stays 0.
\( 240_{five} \)
\(- \underline{40_{five}} \)
\( 0\)
Now let’s take the 5’s place: 4-4=0. Since 0 is in base 5, then the 5’s place is 0.
\( 240_{five} \)
\(- \underline{40_{five}} \)
\( 00\;\)
Let’s look at the 52’s place. Notice, we can just drop the two down and get
\( 240_{five} \)
\(- \underline{40_{five}} \)
\( 200_{5}\;\;\)
Thus, 240five - 40five = 200five.
What if we have to borrow? We can subtract with borrowing easily in base 10, but what if we wanted to subtract two numbers that included borrowing? Let’s see.
Subtract in base 5: 404five - 323five
Solution
Rewriting this vertically, we get
\( 404_{five} \)
\(- \underline{323_{five}} \)
Subtracting in the ones place, we get 4-3=1. Since 1 is in base 5, then the ones place is 1.
\(\; 404_{five} \)
\(- \underline{323_{five}} \)
\( 1\)
Looking at the 5’s place, notice that 0 is less than 2 and we have to borrow from the 52 ’s place. Recall, we are in base 5, so when we borrow, we still reduce 4 to 3, but we carry 5 since we are in base 5:
\(\; 4^3 0^5 4_{five} \)
\(- \underline{3\;2\;3_{five}} \)
\( 0\;3\;1_{five}\)
Now, we subtract as usual: 5-2 = 3. Since 3 is in base 5, then the 5’s place is 3. Subtracting in the 52’s place, we get 3-3=0; hence, the 52’s place is 0.
Thus, 404five - 323five = 31five.
Conclusion
In this chapter, we have briefly sketched the development of numbers and our counting system, with the emphasis on the “brief” part. There are numerous sources of information and research that fill many volumes of books on this topic. Unfortunately, we cannot begin to come close to covering all of the information that is out there.
We have only scratched the surface of the wealth of research and information that exists on the development of numbers and counting throughout human history. It is important to note that the system that we use every day is a product of thousands of years of progress and development. It represents contributions by many civilizations and cultures. It does not come down to us from the sky, a gift from the gods. It is not the creation of a textbook publisher. It is indeed as human as we are, as is the rest of mathematics. Behind every symbol, formula, and rule there is a human face to be found, or at least sought.
Furthermore, we hope that you now have a basic appreciation for just how interesting and diverse number systems can get. Also, we’re pretty sure that you have also begun to recognize that we take our own number system for granted so much that when we try to adapt to other systems or bases, we find ourselves truly having to concentrate and think about what is going on.
1. 1+6×3+3×6+2×12 = 61 cats.
2. From left to right:
Cord 1 = 2,162
Cord 2 = 301
Cord 3 = 0
Cord 4 = 2,070
3. 410657 = 999410
4. 14310 = 10335
5. 210213 = 19610
6. 65710 = 221014
7. 837710 = 202718
8. 935210 = 2444025
9. 150010 = 20011203
10. 1562
11. 1055310 = 1,6,7,1320
12. 561710 = 14,0,1720. Note that there is a zero in the 20’s place, so you’ll need to use the appropriate zero symbol in between the ones and 400’s places.
13. A sample solution is shown.