math.answers.com/math-and-arithmetic/Describe_how_binary_subtraction_is_done_using_addition

Preview meta tags from the math.answers.com website.

Linked Hostnames

8

Thumbnail

Search Engine Appearance

Google

https://math.answers.com/math-and-arithmetic/Describe_how_binary_subtraction_is_done_using_addition

Describe how binary subtraction is done using addition? - Answers

This is done by taking the "complement" of the number you're subtracting, and adding it to the number you're subtracting it from. Then remove the last digit on the left, and add it to the rightmost digit.This is not limited to binary, and will work in any other base as well. To understand how to do it, you first need to understand what the complement of a number is. You can think of it as a number that, when added to the original, will make each digit equal to the highest valued digit in the base you're using.Sound confusing? It's actually quite simple. Consider the decimal number 1234567890. The highest valued digit in decimal is 9, so the complement of that number would be 8765432109. If you add those two numbers together, you'll see that they add up to 9999999999.With that in mind, here is an example of how to use this technique in subtracting decimal numbers. Let's say we want to subtract 123 from 432.432 - 123first, take the complement of 123. That would be 876.Now add that complement to the original number:432 + 876 = 1308now take the leftmost digit of the result (1) and add it to the rest of the number:308 + 1 = 309And there you have the result. 432 - 123 = 309. As stated though, this works in any base, not just decimal. If you want to do it in binary, it works exactly the same way. For example, let's subtract 10100011 from 11011010.In the case of binary, the complement is very easy to take. You can simply inverse the digits, switching around the ones and zeros. So the complement of 10100011 is 01011100. Just add that complement to the number from which you're subtracting:11011010+01011100=100110110Then take the leftmost digit and add it to the number;00110110 + 1 = 00110111And there you have it. To verify it's correct, let's convert it to decimal:11011010 = 21810100011 = 16300110111 = 55218 - 163 is indeed equal to 55, so we know that's correct.There are a couple of small caveats in using this technique:1) You must subtract the smaller number from the larger number. If the number being subtracted is the bigger of the two, then simply subtract the smaller one from the bigger one and negate it.2) The numbers must use the same number of digits. That's not as much of a limit as it sounds. If the number you're subtracting has fewer digits, simply pad it with zeros on the left. For example:1234 - 234 = 1234 - 0234now take the complement of 0234 and add it to 1234:1234 + 9765 = 10999and again, take the left digit and add it to the rest of the number:0999 + 1 = 1000The same holds true with non-integers:2.34 - 1.2 = 2.34 - 1.202.34 + 8.79 = 11.131.13 + 0.01 = 1.14



Bing

Describe how binary subtraction is done using addition? - Answers

https://math.answers.com/math-and-arithmetic/Describe_how_binary_subtraction_is_done_using_addition

This is done by taking the "complement" of the number you're subtracting, and adding it to the number you're subtracting it from. Then remove the last digit on the left, and add it to the rightmost digit.This is not limited to binary, and will work in any other base as well. To understand how to do it, you first need to understand what the complement of a number is. You can think of it as a number that, when added to the original, will make each digit equal to the highest valued digit in the base you're using.Sound confusing? It's actually quite simple. Consider the decimal number 1234567890. The highest valued digit in decimal is 9, so the complement of that number would be 8765432109. If you add those two numbers together, you'll see that they add up to 9999999999.With that in mind, here is an example of how to use this technique in subtracting decimal numbers. Let's say we want to subtract 123 from 432.432 - 123first, take the complement of 123. That would be 876.Now add that complement to the original number:432 + 876 = 1308now take the leftmost digit of the result (1) and add it to the rest of the number:308 + 1 = 309And there you have the result. 432 - 123 = 309. As stated though, this works in any base, not just decimal. If you want to do it in binary, it works exactly the same way. For example, let's subtract 10100011 from 11011010.In the case of binary, the complement is very easy to take. You can simply inverse the digits, switching around the ones and zeros. So the complement of 10100011 is 01011100. Just add that complement to the number from which you're subtracting:11011010+01011100=100110110Then take the leftmost digit and add it to the number;00110110 + 1 = 00110111And there you have it. To verify it's correct, let's convert it to decimal:11011010 = 21810100011 = 16300110111 = 55218 - 163 is indeed equal to 55, so we know that's correct.There are a couple of small caveats in using this technique:1) You must subtract the smaller number from the larger number. If the number being subtracted is the bigger of the two, then simply subtract the smaller one from the bigger one and negate it.2) The numbers must use the same number of digits. That's not as much of a limit as it sounds. If the number you're subtracting has fewer digits, simply pad it with zeros on the left. For example:1234 - 234 = 1234 - 0234now take the complement of 0234 and add it to 1234:1234 + 9765 = 10999and again, take the left digit and add it to the rest of the number:0999 + 1 = 1000The same holds true with non-integers:2.34 - 1.2 = 2.34 - 1.202.34 + 8.79 = 11.131.13 + 0.01 = 1.14



DuckDuckGo

https://math.answers.com/math-and-arithmetic/Describe_how_binary_subtraction_is_done_using_addition

Describe how binary subtraction is done using addition? - Answers

This is done by taking the "complement" of the number you're subtracting, and adding it to the number you're subtracting it from. Then remove the last digit on the left, and add it to the rightmost digit.This is not limited to binary, and will work in any other base as well. To understand how to do it, you first need to understand what the complement of a number is. You can think of it as a number that, when added to the original, will make each digit equal to the highest valued digit in the base you're using.Sound confusing? It's actually quite simple. Consider the decimal number 1234567890. The highest valued digit in decimal is 9, so the complement of that number would be 8765432109. If you add those two numbers together, you'll see that they add up to 9999999999.With that in mind, here is an example of how to use this technique in subtracting decimal numbers. Let's say we want to subtract 123 from 432.432 - 123first, take the complement of 123. That would be 876.Now add that complement to the original number:432 + 876 = 1308now take the leftmost digit of the result (1) and add it to the rest of the number:308 + 1 = 309And there you have the result. 432 - 123 = 309. As stated though, this works in any base, not just decimal. If you want to do it in binary, it works exactly the same way. For example, let's subtract 10100011 from 11011010.In the case of binary, the complement is very easy to take. You can simply inverse the digits, switching around the ones and zeros. So the complement of 10100011 is 01011100. Just add that complement to the number from which you're subtracting:11011010+01011100=100110110Then take the leftmost digit and add it to the number;00110110 + 1 = 00110111And there you have it. To verify it's correct, let's convert it to decimal:11011010 = 21810100011 = 16300110111 = 55218 - 163 is indeed equal to 55, so we know that's correct.There are a couple of small caveats in using this technique:1) You must subtract the smaller number from the larger number. If the number being subtracted is the bigger of the two, then simply subtract the smaller one from the bigger one and negate it.2) The numbers must use the same number of digits. That's not as much of a limit as it sounds. If the number you're subtracting has fewer digits, simply pad it with zeros on the left. For example:1234 - 234 = 1234 - 0234now take the complement of 0234 and add it to 1234:1234 + 9765 = 10999and again, take the left digit and add it to the rest of the number:0999 + 1 = 1000The same holds true with non-integers:2.34 - 1.2 = 2.34 - 1.202.34 + 8.79 = 11.131.13 + 0.01 = 1.14

  • General Meta Tags

    22
    • title
      Describe how binary subtraction is done using addition? - Answers
    • charset
      utf-8
    • Content-Type
      text/html; charset=utf-8
    • viewport
      minimum-scale=1, initial-scale=1, width=device-width, shrink-to-fit=no
    • X-UA-Compatible
      IE=edge,chrome=1
  • Open Graph Meta Tags

    7
    • og:image
      https://st.answers.com/html_test_assets/Answers_Blue.jpeg
    • og:image:width
      900
    • og:image:height
      900
    • og:site_name
      Answers
    • og:description
      This is done by taking the "complement" of the number you're subtracting, and adding it to the number you're subtracting it from. Then remove the last digit on the left, and add it to the rightmost digit.This is not limited to binary, and will work in any other base as well. To understand how to do it, you first need to understand what the complement of a number is. You can think of it as a number that, when added to the original, will make each digit equal to the highest valued digit in the base you're using.Sound confusing? It's actually quite simple. Consider the decimal number 1234567890. The highest valued digit in decimal is 9, so the complement of that number would be 8765432109. If you add those two numbers together, you'll see that they add up to 9999999999.With that in mind, here is an example of how to use this technique in subtracting decimal numbers. Let's say we want to subtract 123 from 432.432 - 123first, take the complement of 123. That would be 876.Now add that complement to the original number:432 + 876 = 1308now take the leftmost digit of the result (1) and add it to the rest of the number:308 + 1 = 309And there you have the result. 432 - 123 = 309. As stated though, this works in any base, not just decimal. If you want to do it in binary, it works exactly the same way. For example, let's subtract 10100011 from 11011010.In the case of binary, the complement is very easy to take. You can simply inverse the digits, switching around the ones and zeros. So the complement of 10100011 is 01011100. Just add that complement to the number from which you're subtracting:11011010+01011100=100110110Then take the leftmost digit and add it to the number;00110110 + 1 = 00110111And there you have it. To verify it's correct, let's convert it to decimal:11011010 = 21810100011 = 16300110111 = 55218 - 163 is indeed equal to 55, so we know that's correct.There are a couple of small caveats in using this technique:1) You must subtract the smaller number from the larger number. If the number being subtracted is the bigger of the two, then simply subtract the smaller one from the bigger one and negate it.2) The numbers must use the same number of digits. That's not as much of a limit as it sounds. If the number you're subtracting has fewer digits, simply pad it with zeros on the left. For example:1234 - 234 = 1234 - 0234now take the complement of 0234 and add it to 1234:1234 + 9765 = 10999and again, take the left digit and add it to the rest of the number:0999 + 1 = 1000The same holds true with non-integers:2.34 - 1.2 = 2.34 - 1.202.34 + 8.79 = 11.131.13 + 0.01 = 1.14
  • Twitter Meta Tags

    1
    • twitter:card
      summary_large_image
  • Link Tags

    16
    • alternate
      https://www.answers.com/feed.rss
    • apple-touch-icon
      /icons/180x180.png
    • canonical
      https://math.answers.com/math-and-arithmetic/Describe_how_binary_subtraction_is_done_using_addition
    • icon
      /favicon.svg
    • icon
      /icons/16x16.png

Links

58