
Muskan Shafi Education Content Expert
Education Content Expert
Binary Subtraction is one of the four binary operations in Mathematics. Binary subtraction includes subtracting two binary numbers (0 and 1). It is identical to the fundamental arithmetic subtraction of decimal numbers usually done in basic Maths. Only the integers 0 and 1 are used in binary numbers. Because just 0 and 1 are involved, we may need to remove 0 from 1 on some occasions. The concept of borrowing is used in such situations from the next higher-order digit. Borrowing in binary subtraction is the same as in arithmetic subtraction. The binary subtraction rules are:
- 0 – 0 = 0
- 1 – 0 = 1
- 1 – 1 = 0
- 0 – 1 = 1 (Borrow 1)
Read More: Binary Multiplication
Table of Content |
Key Terms: Binary Subtraction, Number System, Binary Operations, Decimal, Integers, Subtraction, Arithmetic Operation, Borrowing
What is Binary Subtraction?
[Click Here for Sample Questions]
Binary Subtraction is an arithmetic operation that is similar to the subtraction of base 10 numbers or decimal numbers.
- In the base 10 number system, 1 + 1 + 1 equals 3; in the binary number system, 1 + 1 + 1 equals 11.
- When adding and subtracting binary numbers, one must be cautious when borrowing because it will happen more frequently.
- One must account for borrowing when subtracting numerous columns of binary digits.
- When one is subtracted from zero, the outcome is one, with one borrowed from the highest-order bit or digit.
Binary Subtraction
Read More:
Related Topics | ||
---|---|---|
Types of Relations | Composition of Function | Absolute Value |
Hyperbolic Functions | Triviality in Maths | What is a Function? |
Binary Subtraction Table
[Click Here for Previous Year Questions]
The subtraction of binary numbers is done with the help of the given rules:
Binary Number | Subtraction Value |
---|---|
0 – 0 | 0 |
1 – 0 | 1 |
0 – 1 | 1 (Borrow 1 from the next high-order digit) |
1 – 1 | 0 |
- The sum of two binary numbers 1 and 1 equals 10, where 0 is considered and 1 is carried forward to the next high order.
- However, when 1 and 1 are subtracted, the result is 0, and nothing is carried forward.
- When 1 is subtracted from 0 in decimal subtraction, we borrow 1 from the next previous number to make it 10.
- After subtraction, we get 9, i.e. 10 – 1 = 9.
- Binary subtraction, on the other hand, yields only one result.
Read More: NCERT Solutions for Class 12 Mathematics Relations and Functions
Rules for Binary Subtraction
[Click Here for Sample Questions]
Binary subtraction becomes much easier than decimal subtraction when the following rules are memorized:
- 0 – 0 = 0
- 0 – 1 equals 1 along with 1 as a borrow
- 1 – 0 = 1
- 1 – 1 = 0
Solved ExampleExample: Subtract 101 from 1010. Solution: The subtraction of binary numbers 101 and 1010 will be as follows: \(\begin{equation} \frac{ \begin{array}[b]{r} 1010\\ - 110 \end{array} }{\:\: 0101 } \end{equation}\) The difference of numbers 101 and 1010 is 0101. |
Binary Subtraction Steps
[Click Here for Previous Year Questions]
In order to learn Binary Subtraction, we will use the example: 1010 – 101.
\(\begin{equation} \frac{ \begin{array}[b]{r} 1010\\ - 101 \end{array} }{ } \end{equation}\)
Step 1: Take the 1's column and subtract it, (0 – 1), yielding 1 as per the binary subtraction condition with a borrow of 1 from the 10's position.
Step 2: The value 1 in the 10's column is changed to the value 0 after borrowing 1 from the 10's column.
1 Borrow
\(\begin{equation} \frac{ \begin{array}[b]{r} 1010\\ - 101 \end{array} }{\:\:1 } \end{equation}\)
Step 3: Subtract the value in the tenth place, resulting in (0 – 0) = 0.
1 Borrow
\(\begin{equation} \frac{ \begin{array}[b]{r} 1010\\ - 101 \end{array} }{\:\:\:\:01 } \end{equation}\)
Step 4: Subtract the values in the hundredth place. Take 1 from the 1000th position (0 – 1) = 1.
1 1 Borrow
\(\begin{equation} \frac{ \begin{array}[b]{r} 1010\\ - 101 \end{array} }{\:0101 } \end{equation}\)
When we compare the binary subtraction resulting value to the decimal value, we should get the same result. The decimal number 10 is equal to the binary value 1010, while the binary value 101 is equal to 5.
So, 10 – 5 = 5
As a result, the binary number 0101 equals the decimal number 5.
Binary Subtraction Rules
Solved ExampleExample: Subtract 0100010 – 0001010. Solution: The difference between 0100010 – 0001010 will be 1 1 Borrow \(\begin{equation} \frac{ \begin{array}[b]{r} 0 1 0 0 0 1 0\ =\ 34_{10}\\ - 0001010\ =\ 10_{10} \end{array} }{\:\:\:0 0 1 1 0 0 0\ =\ 24_{10} } \end{equation}\) |
Binary Subtraction Using 1's Complement
[Click Here for Sample Questions]
1's complement of a number is obtained by interchanging every 0 to 1 and every 1 to 0 in a binary number. For instance, the 1's complement of the binary number 11021102 is 00120012.
- The positive sign is represented by the number 0.
- The negative sign is represented by number one.
Procedure for Binary Subtraction by 1's Complement
The steps to perform binary subtraction using 1's complement are as follows:
- Write the subtrahend's 1's complement.
- Then, using the minuend, subtract the 1's complement subtrahend.
- If there is a carryover in the result, add it in the least significant bit.
- If there is no carryover, take the resultant's 1's complement, which is negative.
Solved ExampleExample: Subtract (110101)2 – (100101)2 Solution: The binary subtraction of (110101)2 – (100101)2 will be performed as
Add the 1's complement of the subtrahend to the minuend now. 1 carry \(\begin{equation} \frac{ \begin{array}[b]{r} 1 1 0 1 0 1 \\ (+)\ 011010 \end{array} }{\:\:\:\:\:\:0 0 1111 } \end{equation}\) 1 carry —————— 0 1 0 0 0 0 Therefore, the solution is 010000. (010000)2 = 1610 |
Read More: Addition of Two Real Functions
Binary Subtraction Examples
[Click Here for Previous Year Questions]
Here are a few examples to understand the concept of Binary Subtraction better:
Example 1: Subtract 0011010 – 001100.
Solution: The difference will be calculated as:
1 1 Borrow
0 0 1 1 0 1 0
- 0 0 1 1 0 0
——————
0 0 0 1 1 1 0
Decimal Equivalent:
0 0 1 1 0 1 0 = 26
0 0 1 1 0 0 = 12
Therefore, 26 – 12 = 14
The binary resultant 0011010 is equivalent to the 14.
Example 2: Subtract 11010.101 from 101100.011.
Ans. To subtract 11010.101 from 101100.011,
1 1 1 Borrow
1 0 1 1 0 0 . 0 1 1
- 1 1 0 1 0 . 1 0 1
1 0 0 0 1 . 1 1 0
Read More:
Things to Remember
- Binary subtraction is a fundamental part of binary arithmetic calculations.
- The four types of binary operations are binary addition, binary subtraction, binary multiplication, and binary division.
- The sum of two binary numbers 1 and 1 equals 10, where 0 is ignored and 1 is carried forward to the next high order.
- When 1 and 1 are subtracted, the result is 0, and nothing is carried forward.
- When 1 is subtracted from 0 in decimal subtraction, we borrow 1 to make it 10, and after subtraction, we get 9, i.e. 10 – 1 = 9.
- Binary subtraction yields only one result.
Previous Year Questions
- If R is a relation on a set R of all real numbers defined by aRb, if |a-b| ≤ 1. Then R is? [BITSAT 2013]
- Prove the associative and commutative properties for the binary operations. [KCET 2006]
- In the group G={1,3,7,9} under multiplication, the inverse of 3 is? [KCET 2005]
- If A={a,b,c} then a number of binary operations on A is? [KCET 2020]
- A set A has 5 elements. Then the maximum number of relations on… [COMEDK UGET 2007]
- In Z, the set of all integers, the inverse of -7 with respect… [COMEDK UGET 2011]
- If a set has n elements, then the number of relations… [COMEDK UGET 2008]
- If N is a set of natural numbers, then under binary operation…
- If F is a function such that F (0) = 2, F (1) = 3, F (x+2) = 2F (x) - F (x+1)…
- The number of bijective functions from the set A to itself… [COMEDK UGET 2015]
- The number of functions that can be defined from the set A… [KEAM]
- The domain of the function\(f \left(x\right)=\frac{\log_{2}\left(x+3\right)}{x^{2}+3x+2} \)… [KEAM]
- On the set of positive rationals, a binary operation… [KCET 2019]
- The set of zeros of f(x) = 0 is a non-empty set… [AMUEEE 2013]
Sample Questions
Ques. How to subtract Binary Numbers? (1 Mark)
Ans. Binary numbers can be subtracted by the normal borrow method of arithmetic subtraction. It can also be performed by finding the 1's complement of the subtrahend and adding it with the minuend and adding carryovers if any with the sum.
Ques. What is meant by 1's Complement? (1 Mark)
Ans. 1's complement of a number means replacing every 0 with a 1 and every 1 with a 0 in a binary number. For example, the 1's complement of 10121012 is given as 01020102.
Ques. How to borrow in Binary Subtraction? (1 Mark)
Ans. Borrowing is done in binary subtraction when we need to subtract 1 from 0. In such a situation, we borrow a 1 from the next higher digit and perform the subtraction. Thus, 0 - 1 gives us 1.
Ques. How does Binary Subtraction work? (1 Mark)
Ans. Binary subtraction, unlike decimal subtraction, employs just two digits which are 0 and 1.
Ques. What are the Basic Rules of Binary Subtraction? (3 Marks)
Ans. The rules of binary subtraction are as follows:
- 0 – 0 = 0
- 0 – 1 equals 1
- 1 – 0 = 1
- 1 – 1 = 0
Ques. Find the binary subtraction of 1111011.11 and 1010101.10. (3 Marks)
Ans. We obtain this by subtracting 1010101.10 from 1111011.11:
1111011.11
– 1010101.10
100110.01
Ques. What's the difference between binary addition and subtraction? (2 Marks)
Ans. When 1 is added to 1, it equals 0, and in binary addition, 1 is carried forward to the next high-order digit.
In binary subtraction, when 1 is subtracted from 0, we borrow 1 from the next order digit and return the result as 1.
Ques. What do the binary digits 0 and 1 represent? (2 Marks)
Ans. The binary digits represent:
- A positive sign (+) is denoted by the number 0.
- 1 represents a negative sign (-)
Ques. Subtract 1101 from 10110. (5 Marks)
Ans. It could be done using the following steps:
Step 1: Assemble the numbers in the order given below.
1 0 1 1 0
-1 1 0 1
Step 2: Start subtracting from the equation's right side. To begin, deduct from the rightmost position (0 - 1). Because 0 - 1 is impossible, we borrow a 1 from the next higher-level digit. As a result, (0 - 1) = 1 currently. Since we borrowed the 1 from the upper-level digit, it has become 0. (0 - 0) = 0 as we already know. To get to the next higher-order digit, we must subtract (1 - 1), which is 0. For the following higher-order digit, we'll need to borrow a 1. (0 - 1). When we borrow, we receive the following result: 1. As a result, the difference equals 1001.
1 0 1 1 0
-1 1 0 1
1 0 0 1
Step 3: The decimal equivalents of 10110 and 1101 are 22 and 13, respectively. As a consequence, the final score is 9. 1001 is the binary equivalent of 9.
Ques. Subtract 101 from 1001. (3 Marks)
Ans. Subtracting 101 from 1001,
1 Borrow
1 0 0 1
1 0 1
1 0 0
Ques. Subtract 111 from 1000. (3 Marks)
Ans. Subtracting 111 from 1000,
1 Borrow
1 0 0 0
1 1 1
0 0 0 1
Ques. Subtract 1010101.10 from 1111011.11. (3 Marks)
Ans. To subtract 1010101.10 from 1111011.11,
1 Borrow
1 1 1 1 0 1 1 . 1 1
1 0 1 0 1 0 1 . 1 0
1 0 0 1 1 0 . 0 1
Ques. What is the difference between 10010000 and 1111001? (3 Marks)
Ans. The difference between 10010000 and 1111001 will be calculated using the given steps:
- Step 1: 0 – 1 = Borrow to make 10 – 1 = 1
- Step 2: 1 – 0 = 1
- Step 3: 1 – 0 = 1
- Step 4: 1 – 1 = 0
- Step 5: 0 – 1 = Borrow to make 10 – 1 = 1
- Step 6: 1 – 0 = 1.
- Step 7: 1 – 0 = 1.
Therefore, the difference between 10010000 and 1111001 is 10111.
Ques. What is the difference between 11100111 – 00010011? (3 Marks)
Ans. Rules for Binary subtraction are:
- 1-1= 0
- 0-1= 1 (with borrow 1)
- 1-0= 1
- 0-0= 0
Using the rules, the given problem with be solved as:
- Step 1: 1 – 1 = 0.
- Step 2: 1 – 1 = 0.
- Step 3: 1 – 0 = 1.
- Step 4: 0 – 0 = 0.
- Step 5: 0 – 1 = 1. Borrow to make 10 – 1 = 1.
- Step 6: 0 – 0 = 0.
- Step 7: 1 – 0 = 1.
Therefore, the answer is 11010100
Ques. What is minuend value in (011100)2 from (1011100)2? (3 Marks)
Ans. The first number in subtraction is called the minuend. The number from which another number (the Subtrahend) is to be subtracted.
Minuend − Subtrahend = Difference
(1011100)2 = 1011100
(011100)2 = 0011100
On subtracting both, we get Minuend = (1011100)2
Ques. Calculate (101011)2 – (111001)2. (3 Marks)
Ans: Number 1 in the decimal system
1010112 = 4310
Number 2 in the decimal system
1110012 = 5710
Their difference is
43 - 57 = -14
For Latest Updates on Upcoming Board Exams, Click Here: https://t.me/class_10_12_board_updates
Check-Out:
Comments