I am trying to solve binary subtraction:
$$11000_2 - 1011_2 = 1001_2$$
I know that it should be $1001_2$, when checking with answer key however I am not sure how it was calculated as I get different result : $1011_2$, as $0-1$ should give $1$.
Thank you for your help in advance!
Don't forget to "borrow" when subtracting $1$ from $0$.
Here it is in "slow motion:" \begin{array}{c} &1&\not1 ^ 0 & \not0^\color{red}1 & \not0^\color{red}1&^10\\ -&&1 & 0 & 1 & 1\\\hline &&&&&1 \end{array} \begin{array}{c} &\not 1^0&^10 & \color{red}1 & \color{red}1&^10\\ -&&1 & 0 & 1 & 1\\\hline &&1&1&0&1 \end{array}
Note: If the answer key has listed $1001$ as the correct answer, they're wrong...
:)