PDA

View Full Version : If 0! = 1!, does this mean that 0 = 1?


James_fl
May22-06, 11:00 AM
Well obviously, no is the answer. But why?

After all: If 5! = x! then x = 5.

dx
May22-06, 11:06 AM
let me define a function f(x) = 5
since f(5) = f(8), does that mean 5=8?

James_fl
May22-06, 11:33 AM
No, because the 5 in f(x) = 5 is a constant.

Does this have something to do with the fact that the value 0!=1 and 1!=1 are defined; and hence they are constants?

If so, how should I put it down to words?

daveb
May22-06, 12:04 PM
The reason we define 0! to be equal to 1 is due to the combinatorial interpretation of the factorial function. This interpretation says the number of ways to arrange n objects is n! So there is exactly 1 way to arrange 0 objects, and there is also exactly 1 way to arrange 1 object (and 2 ways for 2 objects, etc.)

TD
May22-06, 12:04 PM
0!=1 by definition, yes.

matt grime
May22-06, 12:33 PM
No, because the 5 in f(x) = 5 is a constant.


Ok, if you don't accept that argument, then what about sin? If sin(x)=sin(y) does that mean x=y? Of course not (0, pi, 2pi, 3pi, etc..). Functions were we can say f(x)=f(y) implies x=y are called injective (or one-to-one) and it has nothing to do with 'constants' at all. It so happens that the factorial function is not injective.

dav2008
May22-06, 12:35 PM
James, there is no "inverse" factorial function that would return a when applied to a! as far as I know.

Take your equation:

0!=1!

What would you do to both sides to get 0=1?

(Now you might say that since sin has an invese function that sin(x)=sin(y) would imply that x=y if you took the arcsin of both sides, but remember that arcsin has a range of −π/2 ≤ y ≤ π/2 so all that you'll prove is that some value between -pi/2 and pi/2 is equal to itself.)

James_fl
May22-06, 12:41 PM
matt grime: if factorial function is not injective, then why is it that i can show by inspection: if 5! = x!, then x=5? My Math knowledge is limit, so my apology if I am mistaken, but surely, there is no other value that can satisfy x except 5?

dav2008
May22-06, 12:42 PM
matt grime: if factorial function is not injective, then why is it that i can show by inspection: if 5! = x!, then x=5? My Math knowledge is limit, so my apology if I am mistaken, but surely, there is no other value that can satisfy x except 5?
Couldn't you also by inspection say that if x!=1! that x is either 1 or 0?

James_fl
May22-06, 12:49 PM
dav2008: yes, i could, which means the factorial function is also not injective. But how could a function be injective (assuming my argument is true) and not injective at the same time?

TD
May22-06, 12:53 PM
matt grime: if factorial function is not injective, then why is it that i can show by inspection: if 5! = x!, then x=5? My Math knowledge is limit, so my apology if I am mistaken, but surely, there is no other value that can satisfy x except 5?
Because it happens to work for 5 (and many other numbers :wink:), but not in general, so not always.

dav2008
May22-06, 12:53 PM
Who is saying that it's injective?It so happens that the factorial function is not injective.

TD
May22-06, 12:54 PM
dav2008: yes, i could, which means the factorial function is also not injective. But how could a function be injective (assuming my argument is true) and not injective at the same time?
It can't, it's either injective or not :confused:

James_fl
May22-06, 12:57 PM
TD: Yes, it doesn't work for 1!, but why? I'm confused :(

matt grime
May22-06, 01:00 PM
dav2008: yes, i could, which means the factorial function is also not injective. But how could a function be injective (assuming my argument is true) and not injective at the same time?

What argument? You've not presented an argument. You do not have a valid argument that ! is injective since it is not. What's the problem? I fail to see the point of this discussion at all.

James_fl
May22-06, 01:01 PM
Who is saying that it's injective?

I think I need to clarify. I don't know if it is injective or not, but if it is not injective, and I'm sorry to repeat this, why if 5! = x! then x=5?

While it TD is right in saying that it wouldn't work for some numbers, I still don't get it. Possibly, there is some circular logic in my argument. I'm not sure...

matt grime
May22-06, 01:02 PM
matt grime: if factorial function is not injective, then why is it that i can show by inspection: if 5! = x!,


Because for every value of x other than 0 or 1 x! determines x. So what's the issue?

TD
May22-06, 01:04 PM
TD: Yes, it doesn't work for 1!, but why? I'm confused :(
Why should it work? It simply doesn't because it doesn't follow from the definition of the factorial.

As Matt showed, why should sin(x) = sin(y) imply x = y? It just doesn't.

dav2008
May22-06, 01:04 PM
If a function y=f(x) is non-injective that just means that there exists at least one value y for which f(x1)=f(x2)=y (Well I guess I said it backwards but I think it's clearer saying it that way for this purpose)

It doesn't mean that every single value of y has to have at least two corresponding values of x.

See this diagram of a non-injunctive function: http://upload.wikimedia.org/wikipedia/en/d/dd/Non-injective_and_surjective.png

matt grime
May22-06, 01:06 PM
I think I need to clarify. I don't know if it is injective or not, but if it is not injective, and I'm sorry to repeat this, why if 5! = x! then x=5?

it's clear that ! is not injective since 0!=1! and 0=/=1 which you know, so that makes me think you fail to understand what injective means.


however, if a function fails to be injective it simply means that there are two different inputs mapped to the same output. it doesn't say anything about the behaviour of the function anywhere else. It is perfectly possible that if we exclude the two points we know of that means it fails to be injective then the on the rest of the domain the function might or might not be injective. all things are possible.



While it TD is right in saying that it wouldn't work for some numbers, I still don't get it. Possibly, there is some circular logic in my argument. I'm not sure...

again, what argument?

James_fl
May22-06, 01:09 PM
matt grime: No need to be hostile, I am just a high school student looking to understand a concept. Maybe "argument" is not the correct word since it is only my assumption. I understand to prove a statement, I need to prove it for a general case. So in that sense, 5! = x! means x=5 does not constitute as a proof as it only works for this case.

So, can I just say that since it can't be proven that x! is a one-to-one function, the statement x!=y! does not imply that x = y?

TD
May22-06, 01:12 PM
I understand to prove a statement, I need to prove it for a general case. So in that sense, 5! = x! means x=5 does not constitute as a proof as it only works for this case.
Correct.

So, can I just say that since it can't be proven that x! is a one-to-one function, the statement x!=y! does not imply that x = y?
Not because it can't be proven, it can even be disproven: 0! = 1! but 0 =/= 1.
So indeed, x! = y! doesn't imply x = y.

James_fl
May22-06, 01:15 PM
whoa a lot of replies.. so the n! function is injective for all values of n except 0 and 1, right?

matt grime
May22-06, 01:15 PM
matt grime: No need to be hostile, I am just a high school student looking to understand a concept. Maybe "argument" is not the correct word since it is only my assumption. I understand to prove a statement, I need to prove it for a general case. So in that sense, 5! = x! means x=5 does not constitute as a proof as it only works for this case.

a demonstration of one case does not constitute a proof the general. However, you've not said what it is you're trying to prove.

So, can I just say that since it can't be proven that x! is a one-to-one function

well, it can be proven (by example) that it is not injective

the statement x!=y! does not imply that x = y?

correct, and you had the evidence of this in your very first post, which is why I don't see why some 20 posts have been spent on this (and that is not hostility).

To prove something 'for all' whatever you cannot just use one example. However to demonstrate that a statement of 'for all' is false it suffices to find a single counter example (like 0!=1! here). You've just learned the first lesson in what it takes to prove or disprove something.

James_fl
May22-06, 01:16 PM
TD: ok I got it :smile: Thank you.

TD
May22-06, 01:17 PM
whoa a lot of replies.. so the n! function is injective for all values of n except 0 and 1, right?
That depends on your definition of n!
If it is the 'classic factorial' (only defined for natural n), then yes.

James_fl
May22-06, 01:19 PM
To prove something 'for all' whatever you cannot just use one example. However to demonstrate that a statement of 'for all' is false it suffices to find a single counter example (like 0!=1! here). You've just learned the first lesson in what it takes to prove or disprove something.

Yes, thank you matt grime :wink:

James_fl
May22-06, 01:20 PM
TD: Cool, that clears up a lot of issues!

Thank you all for the help, now I am going to write this answer down!

TD
May22-06, 01:21 PM
Good luck with that :smile: