Solve the following operation with binary numbers. Check your answer by converting the binary numbers to base 10 numbers, doing the operation on the base 10 numbers, and converting the answer back to base 2.

1100102
- 10102

1 answer

To solve the subtraction of binary numbers, we can use the borrowing method just like in decimal subtraction.

First, let's align the numbers:

110010
- 1010
---------

Now, starting from the rightmost digit, subtract each pair of digits. If the digit on the bottom is larger than the digit on top, we need to borrow from the next column.

110010
- 1010
---------
101000

In this case, there are no borrows needed, so we can subtract directly:

First, subtract 0 from 0, which gives us 0:

110010
- 1010
---------
101000
0

Then, subtract 1 from 1, which gives us 0:

110010
- 1010
---------
101000
0

Continue this process for the remaining digits:

110010
- 1010
---------
101000
0

The final result of the subtraction in binary is 101000.

To check our answer, let's convert the binary numbers to base 10, do the subtraction operation with base 10 numbers, and convert the answer back to base 2:

110010 in base 2 is equal to 50 in base 10.
1010 in base 2 is equal to 10 in base 10.

Subtracting 10 from 50, we get:

50 - 10 = 40

Converting 40 back to base 2, we get:

40 in base 10 is equal to 101000 in base 2.

So, our answer is correct. The binary subtraction 110010 - 1010 equals 101000.