Algebra Question: 2r - 2s - 1 = 2(r-s-1) + 1 (?)

  • Thread starter Thread starter Animuo
  • Start date Start date
  • Tags Tags
    Algebra
AI Thread Summary
The discussion centers on proving that the difference between an even integer and an odd integer is odd. The user starts with the equations for even and odd integers, m = 2r and n = 2s + 1, and derives m - n = 2r - 2s - 1. Confusion arises when the book presents the result as 2(r - s - 1) + 1, prompting questions about the necessity of this form. It is clarified that odd integers are conventionally expressed as 2k + 1, making the derived form appropriate for demonstrating the odd nature of the result. The user acknowledges the oversight and appreciates the guidance received.
Animuo
Messages
13
Reaction score
0

Homework Statement


Well, the problem is a discrete math problem to prove that the difference of an even integer and an odd integer is an odd integer.

Homework Equations


If you let m = an even integer, and n = an odd integer then m = 2r for some integer r, while n = 2s + 1 for some integer s.

The Attempt at a Solution


Then
m - n = 2r - (2s + 1) = 2r - 2s - 1

at the next step, the answer in the book shows
2(r-s-1)+1, from there I can follow the rest of the steps to show that an integer is odd but I'm confused as to where this extra one is coming from. I know it's just a basic factoring question, but I'm a little rusty, maybe somebody could help me.. thanks.
 
Physics news on Phys.org
Animuo said:

Homework Statement


Well, the problem is a discrete math problem to prove that the difference of an even integer and an odd integer is an odd integer.

Homework Equations


If you let m = an even integer, and n = an odd integer then m = 2r for some integer r, while n = 2s + 1 for some integer s.

The Attempt at a Solution


Then
m - n = 2r - (2s + 1) = 2r - 2s - 1

at the next step, the answer in the book shows
2(r-s-1)+1, from there I can follow the rest of the steps to show that an integer is odd but I'm confused as to where this extra one is coming from. I know it's just a basic factoring question, but I'm a little rusty, maybe somebody could help me.. thanks.

2r - 2s - 1 = 2r - 2s - 1 - 1 + 1 = 2r - 2s - 2 + 1 = 2(r - s - 1) + 1

In the second step above, I added 0, in the form of -1 + 1. You can always add 0 to an expression to get an identically equal expression.
 
animuo said:

Homework Statement


well, the problem is a discrete math problem to prove that the difference of an even integer and an odd integer is an odd integer.

Homework Equations


if you let m = an even integer, and n = an odd integer then m = 2r for some integer r, while n = 2s + 1 for some integer s.

The Attempt at a Solution


then
m - n = 2r - (2s + 1) = 2r - 2s - 1

at the next step, the answer in the book shows
2(r-s-1)+1, from there i can follow the rest of the steps to show that an integer is odd but I'm confused as to where this extra one is coming from. I know it's just a basic factoring question, but I'm a little rusty, maybe somebody could help me.. Thanks.

-1 = -2 + 1

rgv
 
Aha, can't believe I missed such an easy solution, guess it's good to humble one down, thanks for the help mates... I'm new to this forum is there anything like +rep or likes that I can give?
 
What am I missing? Why do you have to put it as 2(r-s-1)+1 to show it is odd? Why isn't it acceptable (and slightly simpler) just to put it as 2(r-s)-1 ?
 
Animuo said:
Aha, can't believe I missed such an easy solution, guess it's good to humble one down, thanks for the help mates... I'm new to this forum is there anything like +rep or likes that I can give?

Unfortunately no, you can't give rep; but I know some would have a whole lot more than the rest of us!

oay said:
What am I missing? Why do you have to put it as 2(r-s-1)+1 to show it is odd? Why isn't it acceptable (and slightly simpler) just to put it as 2(r-s)-1 ?

It's probably because odd numbers are usually written in the form 2(some letter or quantity) + 1 instead of 2(some letter or quantity) - 1.
 
Bohrok said:
It's probably because odd numbers are usually written in the form 2(some letter or quantity) + 1 instead of 2(some letter or quantity) - 1.

Yep, that's what I assumed. Seems a bit daft to me.
 
Back
Top