$\require{cancel}$
4 2 7 2 - 2 8 7 3 ------- 2 < 4 so we need to borrow 1 from the 7 to the left of the 2. We add the 10 we borrowd from the 7 to the 2 to get 12 6 12 4 27 1- 2 8 7 3 ------- We can subtract 3 from 12 to get 9 6 12 4 27 1- 2 8 7 3 ------- 9 again 6 < 7 so we need to borrow 1 from the 2 to the left of the 6 to get 1 and 16 1 16612 42 7 1- 2 8 7 3 ------- 9 16 - 7 = 9 1 16612 42 7 1- 2 8 7 3 ------- 9 9 Again we need to borrow 1 from the 4. And 11-8 = 3 3 111166124 2 7 1- 2 8 7 3 ------- 3 9 9 Finally we can subtract 2 from 3 to get 1 3 111166124 2 7 1- 2 8 7 3 ------- 1 3 9 9
1 0 0 1 0 1 0 1 1 02 - 1 0 0 0 1 1 1 0 12 -------------------- 2 0-1 = 0, we need to borrow a 1. It becomes 10-1 = 1 0 10 1 0 0 1 0 1 0 1102 - 1 0 0 0 1 1 1 0 12 -------------------- 1 2 The new problem is 0-0 = 0 0 10 1 0 0 1 0 1 0 1102 - 1 0 0 0 1 1 1 0 12 -------------------- 0 1 2 The next one is fine, 1-1 = 0 0 10 1 0 0 1 0 1 0 1102 - 1 0 0 0 1 1 1 0 12 -------------------- 0 0 1 2 For the next one, we need to borrow a 10 again and the problem becomes 10-1 = 1 0 10 0 10 1 0 0 1 010 1102 - 1 0 0 0 1 1 1 0 12 -------------------- 1 0 0 1 2 Now we need to borrow again, but we need to borrow from two places away We borrow a 10 but borrow a 10 from that 1 10 0100 10 0 10 1 0 01010 1102 - 1 0 0 0 1 1 1 0 12 -------------------- 1 1 0 0 1 2 1-0 = 1 1 10 0100 10 0 10 1 0 01010 1102 - 1 0 0 0 1 1 1 0 12 -------------------- 1 1 1 0 0 1 2 twice 0-0 = 0 1 10 0100 10 0 10 1 0 01010 1102 - 1 0 0 0 1 1 1 0 12 -------------------- 0 0 1 1 1 0 0 1 2 Finally 10-1 = 1 (with a borrow) 1 10 0 10 0100 10 0 1010 01010 1102 - 1 0 0 0 1 1 1 0 12 -------------------- 1 0 0 1 1 1 0 0 1 2