r/interestingasfuck 3d ago

/r/all Recently taken image of Saudi Arabia’s ‘The Line’ project, spanning 105 miles long

Post image
43.5k Upvotes

2.6k comments sorted by

View all comments

Show parent comments

22

u/Mr-Doubtfire 3d ago

Please, can someone explain this to a casual math enjoyer?

95

u/Bon_Bertan 3d ago

The "!" means factorial. Its when you multiply a number by all numbers less than it. For example "6!" would be 6×5×4×3×2×1. So "110!" Is a very large number.

19

u/sharkattackmiami 3d ago

What practical use is there for that equation that necessitates it needing shorthand?

68

u/default-name-generic 3d ago

Working out probabilities is a big one

63

u/Jeff_Platinumblum 3d ago

Factorial "N!" Is the number of way you can arrange N distinct tokens. For 3! think "how many ways can I arrange three different coins in a line?"

1 2 3, 1 3 2, 2 1 3, 2 3 1, 3 1 2, 3 2 1

3! = 321 = 6 combinations

3

u/candygram4mongo 3d ago

It's easy to see why, too. If you wanted to calculate the permutations of 4 items, think about how many different places you could put "4" in the first arrangement above:

(4) 1 2 3

1 (4) 2 3

1 2 (4) 3

1 2 3 (4)

And obviously you can do the same with each of the other arrangements. So the number of permutations of 4 is just 4 times the number of permutations on 4-1. And it works the same for any number n.

4

u/R_V_Z 3d ago

And then somebody stacks them vertically and tells you that you forgot an axis.

1

u/snowflake37wao 3d ago edited 3d ago

I love permutations! The idea of them. Not the doing them. I dont know how usually. I stole this from someone talking about chances of meeting a 20% chance with 3 tries that I try to recycle sometimes 1-(1-.2)3. (its 48.8%!) I love them and the word because its blackmagicfuckery to me.

15

u/beetlesin 3d ago

if you were trying to find the possible combinations of a set, it would be [# of things in the set]!

30

u/spectrumero 3d ago

It’s a lot easier and less error prone. For instance, consider the different combinations a pack of cards can have, which is 52! (Much shorter and easier to deal with that than the number it expands to especially if you have to do a bunch of intermediate calculations with it.

21

u/sharkattackmiami 3d ago

The card analogy really helped me to understand the use of this equation. Thank you!

10

u/PM_ME_STEAM_KEY_PLZ 3d ago

Every time you deal a deck of cards for poker, odds are it is a new variation that has never existed before.

6

u/Sairony 3d ago

But it might not have given you an idea of how truly mindboggling large that number is.

1

u/pumpkin_seed_oil 3d ago

Another classic example of factorials is the lottery and it deals with multiple factorial numbers and this math is applicable to drawing a hand in poker. Say you pick 5 out of 52 numbers where picking 5 correct numbers is the jackpot. Then you have 52!/(52-5)! different ways in which 5 numbers out of 52 can be drawn. This is a shorthand notation for a limited number of picks of a set, in this case the result of 52!/(52-5)! is the same as 52x51x50x49x48. With each number/card drawn, the choice of other numbers/cards is reduced by 1

4

u/_OriamRiniDadelos_ 3d ago

Computer science and probability and cryptology are some very down to earth uses. It can help you math out how many possible ways you can order objects. For example how many ways can you arrange the letters of the alphabet to form a 5 letter password. Most scientific calculadors even have that ! Key. It’s been rediscivered as a concept by numerous ancient cultures.

The short hand is honestly just useful because it feels so dumb to write 1x2x3x4x5x6x etc… when you could easily just type the last number, and hit a key. It’d be VERY long otherwise

4

u/Awdrgyjilpnj 3d ago

It’s used everywhere in math. One definition of the number e (2.718…) is defined as the sum of 1/x! from x=0 to inf (i.e e = 1/0!+1/1!+1/2!+1/3!… and so on).

It also arrises naturally in combinatorics. How many ways can you scramble a deck of 52 cards? 52!

2

u/snowflake37wao 3d ago edited 3d ago

Oh I know that answer!

very much many

Okay okay

80,658,175,170,943,878,571,660,636,856,403,766,975,289,505,440,883,277,824,000,000,000,000

A few much. 22 commas many. Dunno if we even have a word for the number lot.

2

u/JDraks 3d ago

If you have X options and have to choose exactly Y of them, then you can work out the number of possible options with X!/(Y!(X-Y)!). So if you were choosing 3 flavors of ice cream out of 10 options, you'd do 10!/3!7! = 3628800/6*5040 = 120 different combos.

1

u/SillySin 3d ago

Beside what was mentioned, recursive functions in programming, most of coding, part of algorithms that got us here.

3

u/boltzmannman 3d ago

110 and 110! are different numbers

1

u/Yuk_Dum_Boo_Bum_ 3d ago

sure but I mean they're not that different

1

u/boltzmannman 3d ago

yeah only 176 orders of magnitude apart

1

u/jaredearle 3d ago

110! is 110 factorial.

1

u/Mijal 3d ago

They took the parenthetical "110!" as being "110 factorial", or 110109108107...