can non integers (read #'s with decimals) be even/odd

Al Neri

Diamond Member
Jan 12, 2002
5,680
1
81
is it safe to assume a number is an integer if you say X is even

i.e. is 1.2 considered an odd # because the whole number is odd?
 

us3rnotfound

Diamond Member
Jun 7, 2003
5,334
3
81
What about even and odd functions? f(-x) = -f(x) if it's odd, and vice versa for even

Thanks, calculus!
 

thirtythree

Diamond Member
Aug 7, 2001
8,680
3
0
Originally posted by: us3rnotfound
What about even and odd functions? f(-x) = -f(x) if it's odd, and vice versa for even

Thanks, calculus!
Different definitions according to m-w:

4 a : being any of the integers (as -2, 0, and +2) that are exactly divisible by two b : marked by an even number c : being a mathematical function such that f(x) = f(-x) where the value remains unchanged if the sign of the independent variable is reversed

(Your answer is also in there, OP)
 

Tiamat

Lifer
Nov 25, 2003
14,068
5
71
Originally posted by: jman19
Originally posted by: us3rnotfound
Originally posted by: ATLien247
So 1.000 is neither even nor odd?

that's a decimal, so that's right :cookie:

No, it's odd because 1.000 = 1, which is an integer.


Not entirely true, 1.000 is any n where 0.9995 < n < 1.0005

They (n) round to an integer which is odd, but they themselves are not exactly an integer so in that sense, they cannot be assigned "even" or "odd".
 

Tiamat

Lifer
Nov 25, 2003
14,068
5
71
Originally posted by: Passions
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: us3rnotfound
Originally posted by: ATLien247
So 1.000 is neither even nor odd?

that's a decimal, so that's right :cookie:

No, it's odd because 1.000 = 1, which is an integer.


Not entirely true, 1.000 is any n where 0.9995 < n < 1.0005

According to who?


By using decimal, you are invoking significant figures and the idea of precision...
 

jman19

Lifer
Nov 3, 2000
11,225
664
126
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: us3rnotfound
Originally posted by: ATLien247
So 1.000 is neither even nor odd?

that's a decimal, so that's right :cookie:

No, it's odd because 1.000 = 1, which is an integer.


Not entirely true, 1.000 is any n where 0.9995 < n < 1.0005

They (n) round to an integer which is odd, but they themselves are not exactly an integer so in that sense, they cannot be assigned "even" or "odd".

You are assuming that 1.000 is a truncated or rounded value. He made no mention of that though, so I'm not going to assume that.

Once you've rounded that value or truncated it anyway it ceases to be a number between 0.9995 and 1.0005 and is now 1.
 

Tiamat

Lifer
Nov 25, 2003
14,068
5
71
Originally posted by: jman19
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: us3rnotfound
Originally posted by: ATLien247
So 1.000 is neither even nor odd?

that's a decimal, so that's right :cookie:

No, it's odd because 1.000 = 1, which is an integer.


Not entirely true, 1.000 is any n where 0.9995 < n < 1.0005

They (n) round to an integer which is odd, but they themselves are not exactly an integer so in that sense, they cannot be assigned "even" or "odd".

You are assuming that 1.000 is a truncated or rounded value. He made no mention of that though, so I'm not going to assume that.

By specifically typing out the 3 zeros, "you" are stating that as the value with noted precision.
 

jman19

Lifer
Nov 3, 2000
11,225
664
126
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: us3rnotfound
Originally posted by: ATLien247
So 1.000 is neither even nor odd?

that's a decimal, so that's right :cookie:

No, it's odd because 1.000 = 1, which is an integer.


Not entirely true, 1.000 is any n where 0.9995 < n < 1.0005

They (n) round to an integer which is odd, but they themselves are not exactly an integer so in that sense, they cannot be assigned "even" or "odd".

You are assuming that 1.000 is a truncated or rounded value. He made no mention of that though, so I'm not going to assume that.

By specifically typing out the 3 zeros, "you" are stating that as the value with noted precision.

See my edit.
 

Tiamat

Lifer
Nov 25, 2003
14,068
5
71
Originally posted by: jman19
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: us3rnotfound
Originally posted by: ATLien247
So 1.000 is neither even nor odd?

that's a decimal, so that's right :cookie:

No, it's odd because 1.000 = 1, which is an integer.


Not entirely true, 1.000 is any n where 0.9995 < n < 1.0005

They (n) round to an integer which is odd, but they themselves are not exactly an integer so in that sense, they cannot be assigned "even" or "odd".

You are assuming that 1.000 is a truncated or rounded value. He made no mention of that though, so I'm not going to assume that.

By specifically typing out the 3 zeros, "you" are stating that as the value with noted precision.

See my edit.

I'm still not convinced :)

1.000 is not an integer, therefore it cannot be assigned "even" or "odd" characterization.
1 is an integer, and it is odd.

1.000 is a measurement, and thus, not an integer (its preposterous to even care if a measurement is even or odd).
 

jman19

Lifer
Nov 3, 2000
11,225
664
126
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: us3rnotfound
Originally posted by: ATLien247
So 1.000 is neither even nor odd?

that's a decimal, so that's right :cookie:

No, it's odd because 1.000 = 1, which is an integer.


Not entirely true, 1.000 is any n where 0.9995 < n < 1.0005

They (n) round to an integer which is odd, but they themselves are not exactly an integer so in that sense, they cannot be assigned "even" or "odd".

You are assuming that 1.000 is a truncated or rounded value. He made no mention of that though, so I'm not going to assume that.

By specifically typing out the 3 zeros, "you" are stating that as the value with noted precision.

See my edit.

I'm still not convinced :)

1.000 is not an integer, therefore it cannot be assigned "even" or "odd" characterization.
1 is an integer, and it is odd.

1.000 is a measurement, and thus, not an integer.

1.000 doesn't have to be an estimate btw. I can say 1 = 1.0 or 1= 1.0000000. You're saying 1.000 isnt' an integer but you aren't saying why. 1.000 = 1, and 1 is a positive natural number, thus it belongs to the set of integers.
 

Tiamat

Lifer
Nov 25, 2003
14,068
5
71
Originally posted by: jman19
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: us3rnotfound
Originally posted by: ATLien247
So 1.000 is neither even nor odd?

that's a decimal, so that's right :cookie:

No, it's odd because 1.000 = 1, which is an integer.


Not entirely true, 1.000 is any n where 0.9995 < n < 1.0005

They (n) round to an integer which is odd, but they themselves are not exactly an integer so in that sense, they cannot be assigned "even" or "odd".

You are assuming that 1.000 is a truncated or rounded value. He made no mention of that though, so I'm not going to assume that.

By specifically typing out the 3 zeros, "you" are stating that as the value with noted precision.

See my edit.

I'm still not convinced :)

1.000 is not an integer, therefore it cannot be assigned "even" or "odd" characterization.
1 is an integer, and it is odd.

1.000 is a measurement, and thus, not an integer.

1.000 doesn't have to be an estimate btw. I can say 1 = 1.0 or 1= 1.0000000. You're saying 1.000 isnt' an integer but you aren't saying why. 1.000 = 1, and 1 is a positive natural number, thus it belongs to the set of integers.

I dont care enough to maintain this :)

you can say what you want, but it is not exactly equal. By using decimals you are bringing up the idea of precision. To simplify your problem, you can say that "reasonably, my measurement is equal to an integer" but that is a relaxing assumption so that you can continue on. Depending on your circumstances, you cannot make such relaxations.

Our arguement is somewhat similar to :
You say that $1.01 is 1$ and then pay me only 1$
My stance is that I want my damn penny!

This is of course, an exaggeration.

So, in the end, I am a nit-picker (sp?)
 

jman19

Lifer
Nov 3, 2000
11,225
664
126
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: us3rnotfound
Originally posted by: ATLien247
So 1.000 is neither even nor odd?

that's a decimal, so that's right :cookie:

No, it's odd because 1.000 = 1, which is an integer.


Not entirely true, 1.000 is any n where 0.9995 < n < 1.0005

They (n) round to an integer which is odd, but they themselves are not exactly an integer so in that sense, they cannot be assigned "even" or "odd".

You are assuming that 1.000 is a truncated or rounded value. He made no mention of that though, so I'm not going to assume that.

By specifically typing out the 3 zeros, "you" are stating that as the value with noted precision.

See my edit.

I'm still not convinced :)

1.000 is not an integer, therefore it cannot be assigned "even" or "odd" characterization.
1 is an integer, and it is odd.

1.000 is a measurement, and thus, not an integer.

1.000 doesn't have to be an estimate btw. I can say 1 = 1.0 or 1= 1.0000000. You're saying 1.000 isnt' an integer but you aren't saying why. 1.000 = 1, and 1 is a positive natural number, thus it belongs to the set of integers.

I dont care enough to maintain this :)

Then why did you post :confused:

I'd like to see what you wrote though :(
 

jman19

Lifer
Nov 3, 2000
11,225
664
126
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: Tiamat
Originally posted by: jman19
Originally posted by: us3rnotfound
Originally posted by: ATLien247
So 1.000 is neither even nor odd?

that's a decimal, so that's right :cookie:

No, it's odd because 1.000 = 1, which is an integer.


Not entirely true, 1.000 is any n where 0.9995 < n < 1.0005

They (n) round to an integer which is odd, but they themselves are not exactly an integer so in that sense, they cannot be assigned "even" or "odd".

You are assuming that 1.000 is a truncated or rounded value. He made no mention of that though, so I'm not going to assume that.

By specifically typing out the 3 zeros, "you" are stating that as the value with noted precision.

See my edit.

I'm still not convinced :)

1.000 is not an integer, therefore it cannot be assigned "even" or "odd" characterization.
1 is an integer, and it is odd.

1.000 is a measurement, and thus, not an integer.

1.000 doesn't have to be an estimate btw. I can say 1 = 1.0 or 1= 1.0000000. You're saying 1.000 isnt' an integer but you aren't saying why. 1.000 = 1, and 1 is a positive natural number, thus it belongs to the set of integers.

I dont care enough to maintain this :)

Then why did you post :confused:

I'd like to see what you wrote though :(

Im on lunch break, so i started caring again, check my last post :p

I'm about to grab lunch but I'll make one response to that :)

Once you have changed the precision of a number, the number is also changed. I suspect 1.000 can be substituted for 1, and vice versa, in any algebraic formula and the result would be the same, so I don't see how you can say the numbers aren't equal.

1.000 is an estimate of any number between 0.995 and 1.005, (except for 1.000 of course ;) ) but that doesn't mean the number isn't 1.
 

Tiamat

Lifer
Nov 25, 2003
14,068
5
71
Originally posted by: jman19

Once you have changed the precision of a number, the number is also changed. I suspect 1.000 can be substituted for 1, and vice versa, in any algebraic formula and the result would be the same, so I don't see how you can say the numbers aren't equal.

1.000 is an estimate of any number between 0.995 and 1.005, (except for 1.000 of course ;) ) but that doesn't mean the number isn't 1.

My main mistake was that I didn't read the post as a statement of fact. 1.000 can be equal to 1 for many occasions. Typically in my field of work/study, those occasions would accompany a statement, otherwise that statement would open up to questions of "how do you know 1.000 is equal to 1?" or "what system are you using where you can relax the significance of 1.000 to be an integer with infinite significance".

For instance, I would say "1.000 equals 1 since the error associated with the rest of the equipment makes the error in my approximation of 1.000 negligable"