view the rest of the comments
Ask Lemmy
A Fediverse community for open-ended, thought provoking questions
Rules: (interactive)
1) Be nice and; have fun
Doxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them
2) All posts must end with a '?'
This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?
3) No spam
Please do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.
4) NSFW is okay, within reason
Just remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com.
NSFW comments should be restricted to posts tagged [NSFW].
5) This is not a support community.
It is not a place for 'how do I?', type questions.
If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.
6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online
Reminder: The terms of service apply here too.
Partnered Communities:
Logo design credit goes to: tubbadu
The exceptions including the number 1. Like it not being a prime number, or being 1 the result of any number to the 0 power. Or 0! equals 1.
I know 1 is a very special number, and I know these things are demonstrable, but something always feels off to me with these rules that include 1.
X^0 and 0! aren't actually special cases though, you can reach them logically from things which are obvious.
For X^0: you can get from X^(n) to X^(n-1) by dividing by X. That works for all n, so we can say for example that 2³ is 2⁴/2, which is 16/2 which is 8. Similarly, 2¹/2 is 2⁰, but it's also obviously 1.
The argument for 0! is basically the same. 3! is 1x2x3, and to go to 2! you divide it by 3. You can go from 1! to 0! by dividing 1 by 1.
In both cases the only thing which is special about 1 is that any number divided by itself is 1, just like any number subtracted from itself is 0
It's been a few years since my math lectures at university and I don't remember these two being explained so simple and straightforward (probably because I wasn't used to the syntax in math at the time) so thanks for that! This'll definitely stick in my brain for now
x factorial is the number of ways you can arrange x different things. There's only one way to arrange zero things.
I could still debate the proposition that zero things can be arranged in any way.
That sounds like a philosophical position, not a mathematical one.
You are right but that is a dangerous proposal because math is just applied philosophy :)
0! = 1 isn't an exception.
Factorial is one of the solutions of the recurrence relationship f(x+1) = x * f(x). If one states that f(1) = 1, then it only follows from the recurrence that f(0) = 1 too, and in fact f(x) is undefined for negative integers, as it is with any function that has the property.
It would be more of an exception to say f(0) != 1, since it explicitly denies the rule, and instead would need some special case so that its defined in 0.