Multiply $1111_2$ with $1111_2$
up vote
1
down vote
favorite
I tried to multiply $1111_2$ with $1111_2$ but I came across a problem, namely adding $1+1+1+1$ and $1+1+1+1+1$. Here is my method:
I can't figure out how to add the $3rd$ and $4th$ column. I thought that $1+1+1+1 = 4 equiv 100$ but how can I implement it here?
binary binary-operations
add a comment |
up vote
1
down vote
favorite
I tried to multiply $1111_2$ with $1111_2$ but I came across a problem, namely adding $1+1+1+1$ and $1+1+1+1+1$. Here is my method:
I can't figure out how to add the $3rd$ and $4th$ column. I thought that $1+1+1+1 = 4 equiv 100$ but how can I implement it here?
binary binary-operations
1
Add enough columns to the left...
– Mauro ALLEGRANZA
Dec 5 at 12:24
If you get 4, write 4 mod 2 (0) and report 4/2 (2, integer division). Basically same procedure as in base 10
– Damien
Dec 5 at 12:26
You can write $0$ and carry over the $10$. The rest is similar.
– AryanSonwatikar
Dec 5 at 12:31
@MauroALLEGRANZA And don't forget leaving some space on top,
– CopyPasteIt
Dec 5 at 15:39
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I tried to multiply $1111_2$ with $1111_2$ but I came across a problem, namely adding $1+1+1+1$ and $1+1+1+1+1$. Here is my method:
I can't figure out how to add the $3rd$ and $4th$ column. I thought that $1+1+1+1 = 4 equiv 100$ but how can I implement it here?
binary binary-operations
I tried to multiply $1111_2$ with $1111_2$ but I came across a problem, namely adding $1+1+1+1$ and $1+1+1+1+1$. Here is my method:
I can't figure out how to add the $3rd$ and $4th$ column. I thought that $1+1+1+1 = 4 equiv 100$ but how can I implement it here?
binary binary-operations
binary binary-operations
asked Dec 5 at 12:17
xxxtentacion
374112
374112
1
Add enough columns to the left...
– Mauro ALLEGRANZA
Dec 5 at 12:24
If you get 4, write 4 mod 2 (0) and report 4/2 (2, integer division). Basically same procedure as in base 10
– Damien
Dec 5 at 12:26
You can write $0$ and carry over the $10$. The rest is similar.
– AryanSonwatikar
Dec 5 at 12:31
@MauroALLEGRANZA And don't forget leaving some space on top,
– CopyPasteIt
Dec 5 at 15:39
add a comment |
1
Add enough columns to the left...
– Mauro ALLEGRANZA
Dec 5 at 12:24
If you get 4, write 4 mod 2 (0) and report 4/2 (2, integer division). Basically same procedure as in base 10
– Damien
Dec 5 at 12:26
You can write $0$ and carry over the $10$. The rest is similar.
– AryanSonwatikar
Dec 5 at 12:31
@MauroALLEGRANZA And don't forget leaving some space on top,
– CopyPasteIt
Dec 5 at 15:39
1
1
Add enough columns to the left...
– Mauro ALLEGRANZA
Dec 5 at 12:24
Add enough columns to the left...
– Mauro ALLEGRANZA
Dec 5 at 12:24
If you get 4, write 4 mod 2 (0) and report 4/2 (2, integer division). Basically same procedure as in base 10
– Damien
Dec 5 at 12:26
If you get 4, write 4 mod 2 (0) and report 4/2 (2, integer division). Basically same procedure as in base 10
– Damien
Dec 5 at 12:26
You can write $0$ and carry over the $10$. The rest is similar.
– AryanSonwatikar
Dec 5 at 12:31
You can write $0$ and carry over the $10$. The rest is similar.
– AryanSonwatikar
Dec 5 at 12:31
@MauroALLEGRANZA And don't forget leaving some space on top,
– CopyPasteIt
Dec 5 at 15:39
@MauroALLEGRANZA And don't forget leaving some space on top,
– CopyPasteIt
Dec 5 at 15:39
add a comment |
5 Answers
5
active
oldest
votes
up vote
1
down vote
accepted
From the end, first digit: $color{red}1$.
2nd digit: $1+1=color{blue}1color{red}0$.
3rd digit: $1+1+1+color{blue}1=10+10=color{blue}{10}color{red}0$.
4th digit: $1+1+1+1+color{blue}{10}=10+10+10=100+10=color{blue}{11}color{red}0$.
5th digit: $1+1+1+color{blue}{11}=10+100=color{blue}{11}color{red}0$.
6th digit: $1+1+color{blue}{11}=1+100=color{blue}{10}color{red}1$.
7th digit: $1+color{blue}{10}=color{red}{11}$.
Collecting backwards: $1111_2times1111_2=11100001$.
add a comment |
up vote
4
down vote
You carry over $color{blue}{2=10_2}$, and then continue addition. It is that simple.
Remember, even if we are adding single-digit numbers while moving down a column, there is no guarantee that the carry over will be a single digit number. For example, if you perform , say:
$$
29 \ + \ 09 \ +\ 09 \+ \ vdots \ + \ 09
$$
where the number of $09$s is $12$, then the sum of the first column will be $117$, so your sum will be:
$$
2^{11}9 \ + \ 09 \+ \09 \ + \ + \ vdots \ + \ 09 \ ----- \ 2^{11}7 = 137 \ -----
$$
In this case, for example, we would have :
$$
begin{matrix}
color{pink}{^10}&color{brown}{^{10}0}&color{green}{^{11}0}&color{orange}{^{11}0}&color{red}{^{10}1}&color{blue}{^11}&1&1 \+&&&&&&&\ 0&0&0&1&1&1&1&0\ +&&&&&&& \ 0&0&1&1&1&1&0&0 \ +&&&&&&& \ 0&1&1&1&1&0&0&0 \ -&-&-&-&-&-&-&- \ 1&1&1&0&0&0&0&1\
end{matrix}
$$
add a comment |
up vote
2
down vote
$$1111_2times 1111_2=(2^4-1)cdot (2^4-1)=2^8-2cdot 2^4+1\=2^8-2^5+1=2^5(2^3-1)+1
=2^5cdot111_2+1_2=11100000+1=11100001
$$
add a comment |
up vote
2
down vote
I used google sheets to organize the manual work, allowing for plenty of space on the left and top. If you need more workspace once you start you can insert rows and columns.
So the 'carry stuff' is above the red line and has to be included when you add the numbers between the two black lines. Each 'carry' goes in the next higher row.
Here is the work:
This is similar to the answer provided by астон вілла олоф мэллбэрг, but is more mechanized, stressing the organization of the work.
I like the fact that you spaced out your sheet. I had to make do with the matrix construct from mathjax. Nice one, +1.
– астон вілла олоф мэллбэрг
Dec 5 at 15:26
1
My update came at exact time as your comment!
– CopyPasteIt
Dec 5 at 15:30
1
Yes, a very interesting coincidence. Interestingly enough, just because we don't perform , say, addition of ten twelve numbers at a time usually in school, one doesn't move beyond having single digit carries. I think that is the crux of this problem : something that should be clarified in school itself.
– астон вілла олоф мэллбэрг
Dec 5 at 15:33
1
@астонвіллаолофмэллбэрг As I worked it out it was like a puzzle and only one way to go to make sense of it all. And I was thinking, "Gee, I don;t remember doing this as a kid with base 10". Your comment clarifies the situation...
– CopyPasteIt
Dec 5 at 15:36
add a comment |
up vote
1
down vote
As you appear to have done, you can start the calculation by splitting up one of the numbers into its constituent powers of $2$ and then distributing the multiplication:
$$begin{aligned}color{blue}{1111_2}times1111_2&=(color{blue}{1000_2}+color{blue}{100_2}+color{blue}{10_2}+color{blue}{1_2})times1111_2\
&=(1000_2times1111_2)+(100_2times1111_2)+(10_2times1111_2)+(1_2times1111_2)\
&=1111000_2+111100_2+11110_2+1111_2quad(*)\
end{aligned}$$
In your third column from the right, where you get stuck, you have:
$$begin{aligned}underbrace{1}_{text{carried}}+1+1+1&=100_2
end{aligned}$$
For $100$, your bit is $0$ and you can carry the rest ($10_2$). Then, in the next column, you'd have:
$$begin{aligned}underbrace{10_2}_{text{carried}}+1+1+1+1&=110_2
end{aligned}$$
And just like before, your bit is $0$ but you carry the rest ($11_2$).
If you keep on with that method, you'd get:
$$begin{aligned}1111_2times1111_2&=color{red}{11100001_2}\
15times15,color{green}{✔}&=225,color{green}{✔}end{aligned}$$
(*) When multiplying any binary number by a power of $2$, you can just append the $0$'s of the power of $2$ onto the end of the other number. For example, $$begin{aligned}underbrace{(100_2)}_{text{power of 2}}times underbrace{(color{blue}{100110_2})}_{text{arbitrary binary no.}}
&=2^ntimes (color{blue}{2^{a}}+color{blue}{2^b}+color{blue}{2^c})\&=2^{a+n}+2^{b+n}+2^{c+n}\
&=10000000_2+10000_2+1000_2\&=10011000_2\
8times38,color{green}{✔}&=152,color{green}{✔}
end{aligned}$$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3027001%2fmultiply-1111-2-with-1111-2%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
From the end, first digit: $color{red}1$.
2nd digit: $1+1=color{blue}1color{red}0$.
3rd digit: $1+1+1+color{blue}1=10+10=color{blue}{10}color{red}0$.
4th digit: $1+1+1+1+color{blue}{10}=10+10+10=100+10=color{blue}{11}color{red}0$.
5th digit: $1+1+1+color{blue}{11}=10+100=color{blue}{11}color{red}0$.
6th digit: $1+1+color{blue}{11}=1+100=color{blue}{10}color{red}1$.
7th digit: $1+color{blue}{10}=color{red}{11}$.
Collecting backwards: $1111_2times1111_2=11100001$.
add a comment |
up vote
1
down vote
accepted
From the end, first digit: $color{red}1$.
2nd digit: $1+1=color{blue}1color{red}0$.
3rd digit: $1+1+1+color{blue}1=10+10=color{blue}{10}color{red}0$.
4th digit: $1+1+1+1+color{blue}{10}=10+10+10=100+10=color{blue}{11}color{red}0$.
5th digit: $1+1+1+color{blue}{11}=10+100=color{blue}{11}color{red}0$.
6th digit: $1+1+color{blue}{11}=1+100=color{blue}{10}color{red}1$.
7th digit: $1+color{blue}{10}=color{red}{11}$.
Collecting backwards: $1111_2times1111_2=11100001$.
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
From the end, first digit: $color{red}1$.
2nd digit: $1+1=color{blue}1color{red}0$.
3rd digit: $1+1+1+color{blue}1=10+10=color{blue}{10}color{red}0$.
4th digit: $1+1+1+1+color{blue}{10}=10+10+10=100+10=color{blue}{11}color{red}0$.
5th digit: $1+1+1+color{blue}{11}=10+100=color{blue}{11}color{red}0$.
6th digit: $1+1+color{blue}{11}=1+100=color{blue}{10}color{red}1$.
7th digit: $1+color{blue}{10}=color{red}{11}$.
Collecting backwards: $1111_2times1111_2=11100001$.
From the end, first digit: $color{red}1$.
2nd digit: $1+1=color{blue}1color{red}0$.
3rd digit: $1+1+1+color{blue}1=10+10=color{blue}{10}color{red}0$.
4th digit: $1+1+1+1+color{blue}{10}=10+10+10=100+10=color{blue}{11}color{red}0$.
5th digit: $1+1+1+color{blue}{11}=10+100=color{blue}{11}color{red}0$.
6th digit: $1+1+color{blue}{11}=1+100=color{blue}{10}color{red}1$.
7th digit: $1+color{blue}{10}=color{red}{11}$.
Collecting backwards: $1111_2times1111_2=11100001$.
answered Dec 5 at 12:46
farruhota
18.8k2736
18.8k2736
add a comment |
add a comment |
up vote
4
down vote
You carry over $color{blue}{2=10_2}$, and then continue addition. It is that simple.
Remember, even if we are adding single-digit numbers while moving down a column, there is no guarantee that the carry over will be a single digit number. For example, if you perform , say:
$$
29 \ + \ 09 \ +\ 09 \+ \ vdots \ + \ 09
$$
where the number of $09$s is $12$, then the sum of the first column will be $117$, so your sum will be:
$$
2^{11}9 \ + \ 09 \+ \09 \ + \ + \ vdots \ + \ 09 \ ----- \ 2^{11}7 = 137 \ -----
$$
In this case, for example, we would have :
$$
begin{matrix}
color{pink}{^10}&color{brown}{^{10}0}&color{green}{^{11}0}&color{orange}{^{11}0}&color{red}{^{10}1}&color{blue}{^11}&1&1 \+&&&&&&&\ 0&0&0&1&1&1&1&0\ +&&&&&&& \ 0&0&1&1&1&1&0&0 \ +&&&&&&& \ 0&1&1&1&1&0&0&0 \ -&-&-&-&-&-&-&- \ 1&1&1&0&0&0&0&1\
end{matrix}
$$
add a comment |
up vote
4
down vote
You carry over $color{blue}{2=10_2}$, and then continue addition. It is that simple.
Remember, even if we are adding single-digit numbers while moving down a column, there is no guarantee that the carry over will be a single digit number. For example, if you perform , say:
$$
29 \ + \ 09 \ +\ 09 \+ \ vdots \ + \ 09
$$
where the number of $09$s is $12$, then the sum of the first column will be $117$, so your sum will be:
$$
2^{11}9 \ + \ 09 \+ \09 \ + \ + \ vdots \ + \ 09 \ ----- \ 2^{11}7 = 137 \ -----
$$
In this case, for example, we would have :
$$
begin{matrix}
color{pink}{^10}&color{brown}{^{10}0}&color{green}{^{11}0}&color{orange}{^{11}0}&color{red}{^{10}1}&color{blue}{^11}&1&1 \+&&&&&&&\ 0&0&0&1&1&1&1&0\ +&&&&&&& \ 0&0&1&1&1&1&0&0 \ +&&&&&&& \ 0&1&1&1&1&0&0&0 \ -&-&-&-&-&-&-&- \ 1&1&1&0&0&0&0&1\
end{matrix}
$$
add a comment |
up vote
4
down vote
up vote
4
down vote
You carry over $color{blue}{2=10_2}$, and then continue addition. It is that simple.
Remember, even if we are adding single-digit numbers while moving down a column, there is no guarantee that the carry over will be a single digit number. For example, if you perform , say:
$$
29 \ + \ 09 \ +\ 09 \+ \ vdots \ + \ 09
$$
where the number of $09$s is $12$, then the sum of the first column will be $117$, so your sum will be:
$$
2^{11}9 \ + \ 09 \+ \09 \ + \ + \ vdots \ + \ 09 \ ----- \ 2^{11}7 = 137 \ -----
$$
In this case, for example, we would have :
$$
begin{matrix}
color{pink}{^10}&color{brown}{^{10}0}&color{green}{^{11}0}&color{orange}{^{11}0}&color{red}{^{10}1}&color{blue}{^11}&1&1 \+&&&&&&&\ 0&0&0&1&1&1&1&0\ +&&&&&&& \ 0&0&1&1&1&1&0&0 \ +&&&&&&& \ 0&1&1&1&1&0&0&0 \ -&-&-&-&-&-&-&- \ 1&1&1&0&0&0&0&1\
end{matrix}
$$
You carry over $color{blue}{2=10_2}$, and then continue addition. It is that simple.
Remember, even if we are adding single-digit numbers while moving down a column, there is no guarantee that the carry over will be a single digit number. For example, if you perform , say:
$$
29 \ + \ 09 \ +\ 09 \+ \ vdots \ + \ 09
$$
where the number of $09$s is $12$, then the sum of the first column will be $117$, so your sum will be:
$$
2^{11}9 \ + \ 09 \+ \09 \ + \ + \ vdots \ + \ 09 \ ----- \ 2^{11}7 = 137 \ -----
$$
In this case, for example, we would have :
$$
begin{matrix}
color{pink}{^10}&color{brown}{^{10}0}&color{green}{^{11}0}&color{orange}{^{11}0}&color{red}{^{10}1}&color{blue}{^11}&1&1 \+&&&&&&&\ 0&0&0&1&1&1&1&0\ +&&&&&&& \ 0&0&1&1&1&1&0&0 \ +&&&&&&& \ 0&1&1&1&1&0&0&0 \ -&-&-&-&-&-&-&- \ 1&1&1&0&0&0&0&1\
end{matrix}
$$
edited Dec 5 at 12:49
answered Dec 5 at 12:30
астон вілла олоф мэллбэрг
37.2k33376
37.2k33376
add a comment |
add a comment |
up vote
2
down vote
$$1111_2times 1111_2=(2^4-1)cdot (2^4-1)=2^8-2cdot 2^4+1\=2^8-2^5+1=2^5(2^3-1)+1
=2^5cdot111_2+1_2=11100000+1=11100001
$$
add a comment |
up vote
2
down vote
$$1111_2times 1111_2=(2^4-1)cdot (2^4-1)=2^8-2cdot 2^4+1\=2^8-2^5+1=2^5(2^3-1)+1
=2^5cdot111_2+1_2=11100000+1=11100001
$$
add a comment |
up vote
2
down vote
up vote
2
down vote
$$1111_2times 1111_2=(2^4-1)cdot (2^4-1)=2^8-2cdot 2^4+1\=2^8-2^5+1=2^5(2^3-1)+1
=2^5cdot111_2+1_2=11100000+1=11100001
$$
$$1111_2times 1111_2=(2^4-1)cdot (2^4-1)=2^8-2cdot 2^4+1\=2^8-2^5+1=2^5(2^3-1)+1
=2^5cdot111_2+1_2=11100000+1=11100001
$$
answered Dec 5 at 12:27
Yiorgos S. Smyrlis
62.3k1383162
62.3k1383162
add a comment |
add a comment |
up vote
2
down vote
I used google sheets to organize the manual work, allowing for plenty of space on the left and top. If you need more workspace once you start you can insert rows and columns.
So the 'carry stuff' is above the red line and has to be included when you add the numbers between the two black lines. Each 'carry' goes in the next higher row.
Here is the work:
This is similar to the answer provided by астон вілла олоф мэллбэрг, but is more mechanized, stressing the organization of the work.
I like the fact that you spaced out your sheet. I had to make do with the matrix construct from mathjax. Nice one, +1.
– астон вілла олоф мэллбэрг
Dec 5 at 15:26
1
My update came at exact time as your comment!
– CopyPasteIt
Dec 5 at 15:30
1
Yes, a very interesting coincidence. Interestingly enough, just because we don't perform , say, addition of ten twelve numbers at a time usually in school, one doesn't move beyond having single digit carries. I think that is the crux of this problem : something that should be clarified in school itself.
– астон вілла олоф мэллбэрг
Dec 5 at 15:33
1
@астонвіллаолофмэллбэрг As I worked it out it was like a puzzle and only one way to go to make sense of it all. And I was thinking, "Gee, I don;t remember doing this as a kid with base 10". Your comment clarifies the situation...
– CopyPasteIt
Dec 5 at 15:36
add a comment |
up vote
2
down vote
I used google sheets to organize the manual work, allowing for plenty of space on the left and top. If you need more workspace once you start you can insert rows and columns.
So the 'carry stuff' is above the red line and has to be included when you add the numbers between the two black lines. Each 'carry' goes in the next higher row.
Here is the work:
This is similar to the answer provided by астон вілла олоф мэллбэрг, but is more mechanized, stressing the organization of the work.
I like the fact that you spaced out your sheet. I had to make do with the matrix construct from mathjax. Nice one, +1.
– астон вілла олоф мэллбэрг
Dec 5 at 15:26
1
My update came at exact time as your comment!
– CopyPasteIt
Dec 5 at 15:30
1
Yes, a very interesting coincidence. Interestingly enough, just because we don't perform , say, addition of ten twelve numbers at a time usually in school, one doesn't move beyond having single digit carries. I think that is the crux of this problem : something that should be clarified in school itself.
– астон вілла олоф мэллбэрг
Dec 5 at 15:33
1
@астонвіллаолофмэллбэрг As I worked it out it was like a puzzle and only one way to go to make sense of it all. And I was thinking, "Gee, I don;t remember doing this as a kid with base 10". Your comment clarifies the situation...
– CopyPasteIt
Dec 5 at 15:36
add a comment |
up vote
2
down vote
up vote
2
down vote
I used google sheets to organize the manual work, allowing for plenty of space on the left and top. If you need more workspace once you start you can insert rows and columns.
So the 'carry stuff' is above the red line and has to be included when you add the numbers between the two black lines. Each 'carry' goes in the next higher row.
Here is the work:
This is similar to the answer provided by астон вілла олоф мэллбэрг, but is more mechanized, stressing the organization of the work.
I used google sheets to organize the manual work, allowing for plenty of space on the left and top. If you need more workspace once you start you can insert rows and columns.
So the 'carry stuff' is above the red line and has to be included when you add the numbers between the two black lines. Each 'carry' goes in the next higher row.
Here is the work:
This is similar to the answer provided by астон вілла олоф мэллбэрг, but is more mechanized, stressing the organization of the work.
edited Dec 5 at 15:26
answered Dec 5 at 15:08
CopyPasteIt
3,9691627
3,9691627
I like the fact that you spaced out your sheet. I had to make do with the matrix construct from mathjax. Nice one, +1.
– астон вілла олоф мэллбэрг
Dec 5 at 15:26
1
My update came at exact time as your comment!
– CopyPasteIt
Dec 5 at 15:30
1
Yes, a very interesting coincidence. Interestingly enough, just because we don't perform , say, addition of ten twelve numbers at a time usually in school, one doesn't move beyond having single digit carries. I think that is the crux of this problem : something that should be clarified in school itself.
– астон вілла олоф мэллбэрг
Dec 5 at 15:33
1
@астонвіллаолофмэллбэрг As I worked it out it was like a puzzle and only one way to go to make sense of it all. And I was thinking, "Gee, I don;t remember doing this as a kid with base 10". Your comment clarifies the situation...
– CopyPasteIt
Dec 5 at 15:36
add a comment |
I like the fact that you spaced out your sheet. I had to make do with the matrix construct from mathjax. Nice one, +1.
– астон вілла олоф мэллбэрг
Dec 5 at 15:26
1
My update came at exact time as your comment!
– CopyPasteIt
Dec 5 at 15:30
1
Yes, a very interesting coincidence. Interestingly enough, just because we don't perform , say, addition of ten twelve numbers at a time usually in school, one doesn't move beyond having single digit carries. I think that is the crux of this problem : something that should be clarified in school itself.
– астон вілла олоф мэллбэрг
Dec 5 at 15:33
1
@астонвіллаолофмэллбэрг As I worked it out it was like a puzzle and only one way to go to make sense of it all. And I was thinking, "Gee, I don;t remember doing this as a kid with base 10". Your comment clarifies the situation...
– CopyPasteIt
Dec 5 at 15:36
I like the fact that you spaced out your sheet. I had to make do with the matrix construct from mathjax. Nice one, +1.
– астон вілла олоф мэллбэрг
Dec 5 at 15:26
I like the fact that you spaced out your sheet. I had to make do with the matrix construct from mathjax. Nice one, +1.
– астон вілла олоф мэллбэрг
Dec 5 at 15:26
1
1
My update came at exact time as your comment!
– CopyPasteIt
Dec 5 at 15:30
My update came at exact time as your comment!
– CopyPasteIt
Dec 5 at 15:30
1
1
Yes, a very interesting coincidence. Interestingly enough, just because we don't perform , say, addition of ten twelve numbers at a time usually in school, one doesn't move beyond having single digit carries. I think that is the crux of this problem : something that should be clarified in school itself.
– астон вілла олоф мэллбэрг
Dec 5 at 15:33
Yes, a very interesting coincidence. Interestingly enough, just because we don't perform , say, addition of ten twelve numbers at a time usually in school, one doesn't move beyond having single digit carries. I think that is the crux of this problem : something that should be clarified in school itself.
– астон вілла олоф мэллбэрг
Dec 5 at 15:33
1
1
@астонвіллаолофмэллбэрг As I worked it out it was like a puzzle and only one way to go to make sense of it all. And I was thinking, "Gee, I don;t remember doing this as a kid with base 10". Your comment clarifies the situation...
– CopyPasteIt
Dec 5 at 15:36
@астонвіллаолофмэллбэрг As I worked it out it was like a puzzle and only one way to go to make sense of it all. And I was thinking, "Gee, I don;t remember doing this as a kid with base 10". Your comment clarifies the situation...
– CopyPasteIt
Dec 5 at 15:36
add a comment |
up vote
1
down vote
As you appear to have done, you can start the calculation by splitting up one of the numbers into its constituent powers of $2$ and then distributing the multiplication:
$$begin{aligned}color{blue}{1111_2}times1111_2&=(color{blue}{1000_2}+color{blue}{100_2}+color{blue}{10_2}+color{blue}{1_2})times1111_2\
&=(1000_2times1111_2)+(100_2times1111_2)+(10_2times1111_2)+(1_2times1111_2)\
&=1111000_2+111100_2+11110_2+1111_2quad(*)\
end{aligned}$$
In your third column from the right, where you get stuck, you have:
$$begin{aligned}underbrace{1}_{text{carried}}+1+1+1&=100_2
end{aligned}$$
For $100$, your bit is $0$ and you can carry the rest ($10_2$). Then, in the next column, you'd have:
$$begin{aligned}underbrace{10_2}_{text{carried}}+1+1+1+1&=110_2
end{aligned}$$
And just like before, your bit is $0$ but you carry the rest ($11_2$).
If you keep on with that method, you'd get:
$$begin{aligned}1111_2times1111_2&=color{red}{11100001_2}\
15times15,color{green}{✔}&=225,color{green}{✔}end{aligned}$$
(*) When multiplying any binary number by a power of $2$, you can just append the $0$'s of the power of $2$ onto the end of the other number. For example, $$begin{aligned}underbrace{(100_2)}_{text{power of 2}}times underbrace{(color{blue}{100110_2})}_{text{arbitrary binary no.}}
&=2^ntimes (color{blue}{2^{a}}+color{blue}{2^b}+color{blue}{2^c})\&=2^{a+n}+2^{b+n}+2^{c+n}\
&=10000000_2+10000_2+1000_2\&=10011000_2\
8times38,color{green}{✔}&=152,color{green}{✔}
end{aligned}$$
add a comment |
up vote
1
down vote
As you appear to have done, you can start the calculation by splitting up one of the numbers into its constituent powers of $2$ and then distributing the multiplication:
$$begin{aligned}color{blue}{1111_2}times1111_2&=(color{blue}{1000_2}+color{blue}{100_2}+color{blue}{10_2}+color{blue}{1_2})times1111_2\
&=(1000_2times1111_2)+(100_2times1111_2)+(10_2times1111_2)+(1_2times1111_2)\
&=1111000_2+111100_2+11110_2+1111_2quad(*)\
end{aligned}$$
In your third column from the right, where you get stuck, you have:
$$begin{aligned}underbrace{1}_{text{carried}}+1+1+1&=100_2
end{aligned}$$
For $100$, your bit is $0$ and you can carry the rest ($10_2$). Then, in the next column, you'd have:
$$begin{aligned}underbrace{10_2}_{text{carried}}+1+1+1+1&=110_2
end{aligned}$$
And just like before, your bit is $0$ but you carry the rest ($11_2$).
If you keep on with that method, you'd get:
$$begin{aligned}1111_2times1111_2&=color{red}{11100001_2}\
15times15,color{green}{✔}&=225,color{green}{✔}end{aligned}$$
(*) When multiplying any binary number by a power of $2$, you can just append the $0$'s of the power of $2$ onto the end of the other number. For example, $$begin{aligned}underbrace{(100_2)}_{text{power of 2}}times underbrace{(color{blue}{100110_2})}_{text{arbitrary binary no.}}
&=2^ntimes (color{blue}{2^{a}}+color{blue}{2^b}+color{blue}{2^c})\&=2^{a+n}+2^{b+n}+2^{c+n}\
&=10000000_2+10000_2+1000_2\&=10011000_2\
8times38,color{green}{✔}&=152,color{green}{✔}
end{aligned}$$
add a comment |
up vote
1
down vote
up vote
1
down vote
As you appear to have done, you can start the calculation by splitting up one of the numbers into its constituent powers of $2$ and then distributing the multiplication:
$$begin{aligned}color{blue}{1111_2}times1111_2&=(color{blue}{1000_2}+color{blue}{100_2}+color{blue}{10_2}+color{blue}{1_2})times1111_2\
&=(1000_2times1111_2)+(100_2times1111_2)+(10_2times1111_2)+(1_2times1111_2)\
&=1111000_2+111100_2+11110_2+1111_2quad(*)\
end{aligned}$$
In your third column from the right, where you get stuck, you have:
$$begin{aligned}underbrace{1}_{text{carried}}+1+1+1&=100_2
end{aligned}$$
For $100$, your bit is $0$ and you can carry the rest ($10_2$). Then, in the next column, you'd have:
$$begin{aligned}underbrace{10_2}_{text{carried}}+1+1+1+1&=110_2
end{aligned}$$
And just like before, your bit is $0$ but you carry the rest ($11_2$).
If you keep on with that method, you'd get:
$$begin{aligned}1111_2times1111_2&=color{red}{11100001_2}\
15times15,color{green}{✔}&=225,color{green}{✔}end{aligned}$$
(*) When multiplying any binary number by a power of $2$, you can just append the $0$'s of the power of $2$ onto the end of the other number. For example, $$begin{aligned}underbrace{(100_2)}_{text{power of 2}}times underbrace{(color{blue}{100110_2})}_{text{arbitrary binary no.}}
&=2^ntimes (color{blue}{2^{a}}+color{blue}{2^b}+color{blue}{2^c})\&=2^{a+n}+2^{b+n}+2^{c+n}\
&=10000000_2+10000_2+1000_2\&=10011000_2\
8times38,color{green}{✔}&=152,color{green}{✔}
end{aligned}$$
As you appear to have done, you can start the calculation by splitting up one of the numbers into its constituent powers of $2$ and then distributing the multiplication:
$$begin{aligned}color{blue}{1111_2}times1111_2&=(color{blue}{1000_2}+color{blue}{100_2}+color{blue}{10_2}+color{blue}{1_2})times1111_2\
&=(1000_2times1111_2)+(100_2times1111_2)+(10_2times1111_2)+(1_2times1111_2)\
&=1111000_2+111100_2+11110_2+1111_2quad(*)\
end{aligned}$$
In your third column from the right, where you get stuck, you have:
$$begin{aligned}underbrace{1}_{text{carried}}+1+1+1&=100_2
end{aligned}$$
For $100$, your bit is $0$ and you can carry the rest ($10_2$). Then, in the next column, you'd have:
$$begin{aligned}underbrace{10_2}_{text{carried}}+1+1+1+1&=110_2
end{aligned}$$
And just like before, your bit is $0$ but you carry the rest ($11_2$).
If you keep on with that method, you'd get:
$$begin{aligned}1111_2times1111_2&=color{red}{11100001_2}\
15times15,color{green}{✔}&=225,color{green}{✔}end{aligned}$$
(*) When multiplying any binary number by a power of $2$, you can just append the $0$'s of the power of $2$ onto the end of the other number. For example, $$begin{aligned}underbrace{(100_2)}_{text{power of 2}}times underbrace{(color{blue}{100110_2})}_{text{arbitrary binary no.}}
&=2^ntimes (color{blue}{2^{a}}+color{blue}{2^b}+color{blue}{2^c})\&=2^{a+n}+2^{b+n}+2^{c+n}\
&=10000000_2+10000_2+1000_2\&=10011000_2\
8times38,color{green}{✔}&=152,color{green}{✔}
end{aligned}$$
edited Dec 5 at 19:54
answered Dec 5 at 13:49
Jam
4,87011431
4,87011431
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3027001%2fmultiply-1111-2-with-1111-2%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Add enough columns to the left...
– Mauro ALLEGRANZA
Dec 5 at 12:24
If you get 4, write 4 mod 2 (0) and report 4/2 (2, integer division). Basically same procedure as in base 10
– Damien
Dec 5 at 12:26
You can write $0$ and carry over the $10$. The rest is similar.
– AryanSonwatikar
Dec 5 at 12:31
@MauroALLEGRANZA And don't forget leaving some space on top,
– CopyPasteIt
Dec 5 at 15:39