What is the correct way to prove that for all $m in Z$, if $m$ is even then then $mn$ is even?












0












$begingroup$


As the title says, prove:



$m in Z$, if $m$ is even then then $mn$ is even



My attempt:



By definition of an even number, $2i$, and definition of an odd number, $2j+1$ I did the following by cases. I thought it was logical to create cases for if $n$ was even or if it was odd.



Case 1: Even



$$mn=(2i)(2j)$$



$$=4(ij)$$



Case 2: Odd



$$mn=(2i)(2j+1)$$
$$= (2i)(2j)+2i$$
$$=4(ij)+2i$$



However, after my attempt the books answer was the following:



"Suppose $x,y in Z$ and $x$ is even. Then $x=2a$ for some integer a, by definition of an even number. Thus $xy = (2a)(y) = 2(ay).$ Therefore, $xy=2b$ where $b$ is the integer $ay$, so $xy$ is even. "



Are both methods acceptable? Any suggestions to the way I did this are more then welcome!










share|cite|improve this question









$endgroup$












  • $begingroup$
    I don't see any problems with the way you went about it. An integer $n$ can either be even or odd. Nothing else. Your books method simply took care of both cases with one argument
    $endgroup$
    – WaveX
    Jan 15 at 23:48










  • $begingroup$
    There is no need to consider cases. The book's version is better. In your case for odd numbers you performed an unnecessary multiplication and didn't finish the proof. All you needed was $mn=(2i)(2j+1)=2(i(2j+1))implies mn$ is even.
    $endgroup$
    – John Douma
    Jan 15 at 23:48










  • $begingroup$
    Your proof is perfectly reasonable and acceptable and neither have any error. The book is more efficient. We don't actually care if $n = 2j+1$ or $2j$ or $5j^2 +27l$ we can do those cases and it will be correct. But we don't need to do those cases. It's enough to do $m = 2k$ and $n = n$ so $mn = 2ktimes n = 2(ktimes n)$ is even. But we could do cases i)if $n=2j$ then $mn=4kj$ and ii) if $n = 2j+1$ then $mn=4kj + 2j$ and if $n=5j^2 +27l$ then $mn=10kj^2+54kl$. Nothing wrong with doing those. We just don't have to.
    $endgroup$
    – fleablood
    Jan 16 at 0:30










  • $begingroup$
    Thank you for the comments!
    $endgroup$
    – Forextrader
    Jan 16 at 1:00
















0












$begingroup$


As the title says, prove:



$m in Z$, if $m$ is even then then $mn$ is even



My attempt:



By definition of an even number, $2i$, and definition of an odd number, $2j+1$ I did the following by cases. I thought it was logical to create cases for if $n$ was even or if it was odd.



Case 1: Even



$$mn=(2i)(2j)$$



$$=4(ij)$$



Case 2: Odd



$$mn=(2i)(2j+1)$$
$$= (2i)(2j)+2i$$
$$=4(ij)+2i$$



However, after my attempt the books answer was the following:



"Suppose $x,y in Z$ and $x$ is even. Then $x=2a$ for some integer a, by definition of an even number. Thus $xy = (2a)(y) = 2(ay).$ Therefore, $xy=2b$ where $b$ is the integer $ay$, so $xy$ is even. "



Are both methods acceptable? Any suggestions to the way I did this are more then welcome!










share|cite|improve this question









$endgroup$












  • $begingroup$
    I don't see any problems with the way you went about it. An integer $n$ can either be even or odd. Nothing else. Your books method simply took care of both cases with one argument
    $endgroup$
    – WaveX
    Jan 15 at 23:48










  • $begingroup$
    There is no need to consider cases. The book's version is better. In your case for odd numbers you performed an unnecessary multiplication and didn't finish the proof. All you needed was $mn=(2i)(2j+1)=2(i(2j+1))implies mn$ is even.
    $endgroup$
    – John Douma
    Jan 15 at 23:48










  • $begingroup$
    Your proof is perfectly reasonable and acceptable and neither have any error. The book is more efficient. We don't actually care if $n = 2j+1$ or $2j$ or $5j^2 +27l$ we can do those cases and it will be correct. But we don't need to do those cases. It's enough to do $m = 2k$ and $n = n$ so $mn = 2ktimes n = 2(ktimes n)$ is even. But we could do cases i)if $n=2j$ then $mn=4kj$ and ii) if $n = 2j+1$ then $mn=4kj + 2j$ and if $n=5j^2 +27l$ then $mn=10kj^2+54kl$. Nothing wrong with doing those. We just don't have to.
    $endgroup$
    – fleablood
    Jan 16 at 0:30










  • $begingroup$
    Thank you for the comments!
    $endgroup$
    – Forextrader
    Jan 16 at 1:00














0












0








0





$begingroup$


As the title says, prove:



$m in Z$, if $m$ is even then then $mn$ is even



My attempt:



By definition of an even number, $2i$, and definition of an odd number, $2j+1$ I did the following by cases. I thought it was logical to create cases for if $n$ was even or if it was odd.



Case 1: Even



$$mn=(2i)(2j)$$



$$=4(ij)$$



Case 2: Odd



$$mn=(2i)(2j+1)$$
$$= (2i)(2j)+2i$$
$$=4(ij)+2i$$



However, after my attempt the books answer was the following:



"Suppose $x,y in Z$ and $x$ is even. Then $x=2a$ for some integer a, by definition of an even number. Thus $xy = (2a)(y) = 2(ay).$ Therefore, $xy=2b$ where $b$ is the integer $ay$, so $xy$ is even. "



Are both methods acceptable? Any suggestions to the way I did this are more then welcome!










share|cite|improve this question









$endgroup$




As the title says, prove:



$m in Z$, if $m$ is even then then $mn$ is even



My attempt:



By definition of an even number, $2i$, and definition of an odd number, $2j+1$ I did the following by cases. I thought it was logical to create cases for if $n$ was even or if it was odd.



Case 1: Even



$$mn=(2i)(2j)$$



$$=4(ij)$$



Case 2: Odd



$$mn=(2i)(2j+1)$$
$$= (2i)(2j)+2i$$
$$=4(ij)+2i$$



However, after my attempt the books answer was the following:



"Suppose $x,y in Z$ and $x$ is even. Then $x=2a$ for some integer a, by definition of an even number. Thus $xy = (2a)(y) = 2(ay).$ Therefore, $xy=2b$ where $b$ is the integer $ay$, so $xy$ is even. "



Are both methods acceptable? Any suggestions to the way I did this are more then welcome!







proof-verification proof-writing proof-explanation






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 15 at 23:42









ForextraderForextrader

988




988












  • $begingroup$
    I don't see any problems with the way you went about it. An integer $n$ can either be even or odd. Nothing else. Your books method simply took care of both cases with one argument
    $endgroup$
    – WaveX
    Jan 15 at 23:48










  • $begingroup$
    There is no need to consider cases. The book's version is better. In your case for odd numbers you performed an unnecessary multiplication and didn't finish the proof. All you needed was $mn=(2i)(2j+1)=2(i(2j+1))implies mn$ is even.
    $endgroup$
    – John Douma
    Jan 15 at 23:48










  • $begingroup$
    Your proof is perfectly reasonable and acceptable and neither have any error. The book is more efficient. We don't actually care if $n = 2j+1$ or $2j$ or $5j^2 +27l$ we can do those cases and it will be correct. But we don't need to do those cases. It's enough to do $m = 2k$ and $n = n$ so $mn = 2ktimes n = 2(ktimes n)$ is even. But we could do cases i)if $n=2j$ then $mn=4kj$ and ii) if $n = 2j+1$ then $mn=4kj + 2j$ and if $n=5j^2 +27l$ then $mn=10kj^2+54kl$. Nothing wrong with doing those. We just don't have to.
    $endgroup$
    – fleablood
    Jan 16 at 0:30










  • $begingroup$
    Thank you for the comments!
    $endgroup$
    – Forextrader
    Jan 16 at 1:00


















  • $begingroup$
    I don't see any problems with the way you went about it. An integer $n$ can either be even or odd. Nothing else. Your books method simply took care of both cases with one argument
    $endgroup$
    – WaveX
    Jan 15 at 23:48










  • $begingroup$
    There is no need to consider cases. The book's version is better. In your case for odd numbers you performed an unnecessary multiplication and didn't finish the proof. All you needed was $mn=(2i)(2j+1)=2(i(2j+1))implies mn$ is even.
    $endgroup$
    – John Douma
    Jan 15 at 23:48










  • $begingroup$
    Your proof is perfectly reasonable and acceptable and neither have any error. The book is more efficient. We don't actually care if $n = 2j+1$ or $2j$ or $5j^2 +27l$ we can do those cases and it will be correct. But we don't need to do those cases. It's enough to do $m = 2k$ and $n = n$ so $mn = 2ktimes n = 2(ktimes n)$ is even. But we could do cases i)if $n=2j$ then $mn=4kj$ and ii) if $n = 2j+1$ then $mn=4kj + 2j$ and if $n=5j^2 +27l$ then $mn=10kj^2+54kl$. Nothing wrong with doing those. We just don't have to.
    $endgroup$
    – fleablood
    Jan 16 at 0:30










  • $begingroup$
    Thank you for the comments!
    $endgroup$
    – Forextrader
    Jan 16 at 1:00
















$begingroup$
I don't see any problems with the way you went about it. An integer $n$ can either be even or odd. Nothing else. Your books method simply took care of both cases with one argument
$endgroup$
– WaveX
Jan 15 at 23:48




$begingroup$
I don't see any problems with the way you went about it. An integer $n$ can either be even or odd. Nothing else. Your books method simply took care of both cases with one argument
$endgroup$
– WaveX
Jan 15 at 23:48












$begingroup$
There is no need to consider cases. The book's version is better. In your case for odd numbers you performed an unnecessary multiplication and didn't finish the proof. All you needed was $mn=(2i)(2j+1)=2(i(2j+1))implies mn$ is even.
$endgroup$
– John Douma
Jan 15 at 23:48




$begingroup$
There is no need to consider cases. The book's version is better. In your case for odd numbers you performed an unnecessary multiplication and didn't finish the proof. All you needed was $mn=(2i)(2j+1)=2(i(2j+1))implies mn$ is even.
$endgroup$
– John Douma
Jan 15 at 23:48












$begingroup$
Your proof is perfectly reasonable and acceptable and neither have any error. The book is more efficient. We don't actually care if $n = 2j+1$ or $2j$ or $5j^2 +27l$ we can do those cases and it will be correct. But we don't need to do those cases. It's enough to do $m = 2k$ and $n = n$ so $mn = 2ktimes n = 2(ktimes n)$ is even. But we could do cases i)if $n=2j$ then $mn=4kj$ and ii) if $n = 2j+1$ then $mn=4kj + 2j$ and if $n=5j^2 +27l$ then $mn=10kj^2+54kl$. Nothing wrong with doing those. We just don't have to.
$endgroup$
– fleablood
Jan 16 at 0:30




$begingroup$
Your proof is perfectly reasonable and acceptable and neither have any error. The book is more efficient. We don't actually care if $n = 2j+1$ or $2j$ or $5j^2 +27l$ we can do those cases and it will be correct. But we don't need to do those cases. It's enough to do $m = 2k$ and $n = n$ so $mn = 2ktimes n = 2(ktimes n)$ is even. But we could do cases i)if $n=2j$ then $mn=4kj$ and ii) if $n = 2j+1$ then $mn=4kj + 2j$ and if $n=5j^2 +27l$ then $mn=10kj^2+54kl$. Nothing wrong with doing those. We just don't have to.
$endgroup$
– fleablood
Jan 16 at 0:30












$begingroup$
Thank you for the comments!
$endgroup$
– Forextrader
Jan 16 at 1:00




$begingroup$
Thank you for the comments!
$endgroup$
– Forextrader
Jan 16 at 1:00










0






active

oldest

votes












Your Answer








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',
autoActivateHeartbeat: false,
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3075128%2fwhat-is-the-correct-way-to-prove-that-for-all-m-in-z-if-m-is-even-then-the%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3075128%2fwhat-is-the-correct-way-to-prove-that-for-all-m-in-z-if-m-is-even-then-the%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Bressuire

Cabo Verde

Gyllenstierna