00:00 Hello, my name is Dorcas Awaye. Today I'll be teaching you mathematics. Today's topic is multiplication of binary numbers.
00:20 At the end of this teaching, you should be able to multiply two digits binary numbers and be able to multiply three digits binary numbers.
00:29 In previous studies we've talked about the addition of binary numbers, subtraction of binary numbers, both two digits and three digits binary numbers.
00:42 So we are looking at the operation of multiplication in binary numbers. Multiplication in binary is exactly as it is in decimal. That is, multiply numbers right to left and multiply each digit of one number to every digit of the other number. You then sum them up.
01:02 The three basic binary multiplication rules are also similar to the decimal rule. That is one times one equals one. One multiplied by zero is the same thing as zero multiplied by one, which is zero and zero times zero is zero.
01:22 Also, remember that for every left shift of the digits of the multiplier, an extra zero needs to be appended to the product. This is similar to the decimal system as well.
01:34 Let's examine the following examples. The first one, one zero zero times zero one one. How do we solve this example?
01:50 The first one is one zero zero times zero one one. So you solve solution one zero zero times zero one one.
02:15 This can as well be one one. You don't have to put zero. I just decided to put it to fill in the gap. So how do we multiply this? You start from here and multiply, just the way you do in decimal system, you multiply one, you multiply the entire value up with one and then you shift to the left, multiply the other value with everything here.
02:41 And then you had just the way we do it in decimal system one zero zero times zero one one. So you multiply this by everything and then come here, you multiply by everything on top.
02:55 Let's start from this one times zero is zero one times zero we know is zero one times zero is one times one is one.
03:05 So when you're starting the next one you start from here one times zero is zero one times zero zero one times one is one.
03:23 So you add everything zero zero one one. So the solution to this is just equal to one one zero zero.
03:38 We already knew that it is in B's too. I don't really need to write it but just so you remember that it is in B's too. Moving on to the second example one zero one times one zero one number two one zero one multiplied by one zero one.
03:59 So what do we do solution one zero one times one zero one just like I said earlier you multiply from here backward and then the next one until the next.
04:22 So one times one is one one times zero zero one times one is one zero zero times one is zero.
04:31 Excuse me zero zero zero zero zero zero. There are time everything is zero.
04:38 One times one you start here one one times zero zero one times one is one.
04:47 So you sum it all up one zero one plus one like we taught in the earlier class is zero you take one up then you bring it down and then this.
05:04 Like you know you already know that your one plus one is zero then you carry one so the answer to this is one one zero zero zero.
05:20 The third example one one one times ten.
05:32 One one one multiplied by ten solution solution so we have one one one one times ten zero times one zero zero time everything is zero.
06:01 Zero times anything is zero so one times everything is the same thing so you can just say one one one.
06:08 Remember I didn't put it here I put it here just like we do in our decimal multiplication in our normal multiplication so zero one one one.
06:20 So the answer to this is one one one one zero everything in base two moving on to the third example.
06:36 The first example so number four is one one zero times one one.
06:47 This is a two digit decimal binary number the three digit binary number so just going to go ahead and multiply like that solution.
07:00 One one zero times one one one one time zero one time everything is whatever it is one times everything is the same thing so so we have zero one one.
07:20 And then zero one remember this is zero take one zero bring one back and drop it here as easy as that I believe you understand it is really easy everything in base two.
07:38 There's an alternative method to solving these questions so I'm just going to go through it again then go we have our answers already so we are just going to go through it quickly.
07:49 Some regard it as a longer method of multiplying binary numbers what you do first is convert it or express the binary number to the value in base ten first you multiply and then express back in the binary form.
08:05 So I'm just going to do just two of the examples so we can verify if our answers are correct.
08:14 So I'm just going to go back to the questions and then you get it so what is.
08:29 For the first question which is one one zero times zero one one the answer we got is as a first one I need to get the first one.
08:50 The answer got in is one one zero zero so note that as we get to the frequent one.
09:02 So we have the answer is one one one zero zero so how do you now check all you do is first convert everything you convert these values into base ten.
09:17 You convert divide the answer into base ten to see if you have the correct answer.
09:23 So one hundred and ten hundred in base ten is hundred back into base ten how do you convert from base two to base ten.
09:39 You have hundred which is in base two you want to convert it to base ten what do you do remember that this is from zero one two this is how it goes.
09:50 Say one multiplied by two first power two plus zero multiplied by two rest of power one plus zero multiplied by two rest of power zero.
10:05 So one times the rest of power two is four plus two is four actually and then this is zero and this is zero.
10:16 So the answer here is four so hundred in base in base ten is hundred which is base two is four in a base ten.
10:27 So looking at zero one one zero one one in base two into base ten now is zero times two into that is two plus one times two rest of power one plus one times two to the power of zero.
10:51 This is automatically zero because it is multiplied by zero plus two rest of power one is two plus anything rest of power zero is one so we have plus one times one so we have two plus one and that is three.
11:13 So it means that hundred is four zero one one is three let us see what so knowing that hundred that is four four plus three should give us seven as we know.
11:34 Let us see if the solution we got would give us seven the solution is one one zero zero so the solution is one one zero zero so let's see let's come back one one zero zero into base ten.
11:58 So that is one times two so how do we go there zero one two and three one times two into power of three plus one times two into power of two plus zero times two into power of one plus zero times two into power of zero so two into power three is eight.
12:25 It plus two into power two is four plus zero plus zero so this is giving us twelve the second one which is zero one one to be converted to base ten so we have zero one two just as a guide.
12:49 So we have zero times two into power of two plus one times two into power of one plus one times two rest of power zero so we have this is zero automatically and then this is two plus anything to the power of zero is one so zero plus two plus one gives three and from our example which is.
13:18 One hundred times zero one one which is in base two gave us some it gave.
13:32 It gave one one zero zero give one one zero zero already we have this has four and then this we already have it has three so we need to know what the value here would be so we need to
13:47 convert this as well into base ten. So now we want to solve the value of one one zero zero in base ten so see if the value for four times three would give us the answer to four times three so
14:08 which is twelve as we know so we can just bracket twelve in bracket so one one zero zero in base two to be ten so this is two as a guide I put this.
14:23 So I have one times two rest of power of three plus one times two to the power of two plus zero times two to the power of one plus zero times two to the power of zero so here we have eight plus four plus zero plus zero so it plus four gives twelve so we see that the multiplication that was done earlier was accurate.
14:52 Because we checked with the values of the number in base ten and then we know that four times three is twelve which is the same thing as zero one zero zero in base two times zero one one in base two gives one one zero zero so the value of this is this the value of three is zero on the value of twelve is this in binary form.
15:21 So you have some exercise to solve at your free time solve the following one one times one zero one one hundred times one one one one one one times one one one I believe you should be able to solve this with using the steps I used in today's lesson.
15:39 We've come to the end of today's lesson. Thank you very much for watching. My name is docas. I'll see you next time.
15:51 (upbeat music)