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

  • Thread starter Thread starter Animuo
  • Start date Start date
  • Tags Tags
    Algebra
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.
 

Similar threads

Replies
2
Views
3K
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
9K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 19 ·
Replies
19
Views
5K
  • · Replies 24 ·
Replies
24
Views
6K