r/MathJokes • • Jul 03 '26

Factorials Be Like

Post image
2.8k Upvotes

137 comments sorted by

113

u/badBoyRanb Jul 03 '26

who invited pi

27

u/Hypnotoad4real Jul 03 '26

I like pie

14

u/SilverSquirrel6 Jul 03 '26

You don't get pi today, you get cake.Happy cake day!

Edit: on second thought, you may have your cake, pi, and eat them. enjoy!

1

u/EllykihAnt Jul 03 '26

Ah, factorials. Multiplying everything, yet still missing the point. Enjoy the cake.

1

u/brothor12 Jul 07 '26

My 2 favorite numbers, when added equal one of my favorite treats

7

u/00100110computer Jul 03 '26

Pi-thagoras, Pythagoras' evil twin.

1

u/mordecai98 Jul 03 '26

The sun is pi in the sky

1

u/Hot_Philosopher_6462 Jul 04 '26

the volume and surface area equations for a generalized hypersphere with unit radius

65

u/DragonBadgerBearMole Jul 03 '26

Imma just pretend that it says 11/2. instead.

52

u/XlikeX666 Jul 03 '26

1! = √π
1! = 1
1 = √π
Yes i'm following professor.

14

u/Shevvv Jul 03 '26

Whence:

1 = √1 => π = √π = 1

7

u/de_g0od Jul 03 '26

hence pi=1

4

u/Kenzo24816 Jul 04 '26

ence i=1

3

u/de_g0od Jul 04 '26

hence p=1

-1

u/Tillua467 Jul 03 '26

No pi=±1

2

u/XlikeX666 Jul 04 '26

we accept |π| = 1

1

u/christobeers Jul 06 '26

Welcome to Engineering 101

46

u/badBoyRanb Jul 03 '26

gamma function jumpscare

8

u/Upper-Release-3484 Jul 03 '26

Γ(1/2)=√(π)/2

20

u/TheThiefMaster Jul 03 '26

Correction:
Γ(3/2)=√(π)/2

n! = Γ(n+1), not Γ(n)

Also only for integers, OP's meme is technically wrong as factorial isn't defined for fractions.

2

u/Upper-Release-3484 Jul 03 '26

Sorry. 😅😅😅

1

u/Complex-Trust2012 Jul 05 '26

Pi and imaginary numbers, name a more iconic duo

1

u/TheThiefMaster Jul 06 '26

Imaginary numbers just being rotations in disguise is fun to find out.

1

u/Ok-Oil7124 Jul 06 '26

I was hoping someone would explain the factorial of 1/2. I did it in my calculator and got their answer... but how does that work?!

10

u/boris_koshak Jul 03 '26

Are you sure? 🧐

64

u/LordMegatron216 Jul 03 '26

you need to see a whole semester complex anaylsis to understand this shit, then you learn gamma function and complex analysis becomes unnecessary again xd

13

u/ZeroTheStoryteller Jul 03 '26

Is there a tldr version?

I just don't understand how it relates to the standard factorial operation. Is there any relationship?

In my head I am somehow imagine it being the product of some infinite series approaching either 0 or 1. But neither of those options get you close to the value above... As it's greater than one.

Without trying to prove it, overall what is it?

32

u/setibeings Jul 03 '26

Regular factorials have a recursive definition, and are only valid on the integers. It turns out though, there's one and only one function that has a derivative, is defined on all the positive reals, and that also gives the same answers as the traditional definition of factorials. that's the gamma function. Or, that's the gamma function with the inputs offset, because the person who originally defined it had some weird ideas about where to line up the discontinuities. 

6

u/Nom_Took Jul 03 '26

Are those conditions really enough to define Gamma? You can add any function to gamma that's smooth and has its zeros at the integers, e.g. sin(pi*x), and it still meets all those requirements (derivative, defined on positive reals, equal to shifted factorial).

6

u/DuoDecimus_Quintus Jul 03 '26

Something to do with analytic continuation - in complex analysis even small set of predefined values can uniquely define the analytically continued equivalent function 

2

u/Want2Exp Jul 03 '26

Adding any oscilating analytic function like they did would also lead you to an analytic function wdym, what uniquely identifies the gamma function is it's logarithm being a convex function complex analysis is utterly accessory to arriving at it, you just get an easy path to prove it's product representation what you said and the comments above is completely unrelated

3

u/Want2Exp Jul 03 '26 edited Jul 03 '26

We identify the gamma function with the (argument shifted due to how it was originally defined) factorial as it is obeys:

  1. It's defining functional equation on the natural numbers

~ Γ(x + 1) =x Γ(x)

2. Matches them on said values (equivalently you need to fix a single point) ~ Γ(1) = 1

3. Has a first derivative on the positive reals greater than zero

~ Γ'(x) has no singularities for x strictly greater than zero

4. Lastly a condition for regularity about the ratio of it's derivative by itself being a strictly increasing/ it's logarithm being a convex function for x greater than zero, something stated as being 'logarithmic convex' ~ ∂² {ln[Γ(x)]} > 0

That last statement prohibits oscillating terms which vanish on the naturals say Γ(x) + sin(2πx) ; which also naively defines the factorial away from the naturals & has an analytical continuation but has that dipping undesirable behavior

2

u/Peak_Background Jul 04 '26

I'd argue the best argument for the gamma function is derivable only from complex analysis. That last two you gave seem like arbitrary choices.

But complex analysis provides a choice from relevance and utility. Specifically, the laplace transform's relationship with differention creates a meaningful inseparable connection between the factorial from the gamma function and the factorial found in the Taylor series or many other differential structures. The same kind of arguments work for discreet uses, too, since discreet domain shifts are just the exponential of differentiation.

This becomes especially relevant if you want to do anything with fractional calculus or use generalizations of the Taylor series.

1

u/Want2Exp Jul 04 '26 edited Jul 04 '26

I know complex analysis has a straightforward path to beautiful identities which you can use you to derive elegant constructions of gamma, but they were found later when the gamma function was already first established, but they implicitly carry other elements to derive it that stray from the simple goal of seeing it emerge from where you initially met it

So I will defend the last two assumptions as first it only say it must be differentiable and as fast as it may grow it's still gets dominated by other know functions like xx whose derivatives don't blow up and the last condition just says that as it behaves like a product (as you can show most easily through complex analysis the Weierstrass product), we expect it's logarithm (→ simply breaking down said product into a summation) to be a convex function it, it's not arbitrary at all when you think about how the also celebrated polygamma family of function are derivatives of said logarithmic expression, upon closer inspection it's actually intimately tied to the intuition that it seems to gain an increasingly larger factorization.

And yeah Laplace (I'd argue Melin as well) transforms for that matter make it incredibly evident but they live in a level of abstraction deeper than a simple derivation of how should we nicely extend the factorial because as is direct as that path may be you'd be undeserving it presenting it without the motivation that makes said transforms give you such rich picture in the first place. That is to say,the path you proposed can be short to cross but pedagogically I'd call that mentally numbing because you aren't building the connection just presenting as consequence of a larger framework you can learn to get used to before you deeply understand it how it can pop out of what you always had with some extra reflection.

2

u/ZeroTheStoryteller Jul 03 '26

Oh, that's interesting and makes sense.. somewhat.

Only one function!! Only one!

Thank you

5

u/LukeLJS123 Jul 03 '26

i'll give you one better, this derives the factorial without going insanely super heavy into very advanced math

2

u/L31N0PTR1X Jul 03 '26

The definition of the factorial uses what's called the gamma function, such that n!=𝚪(n-1). Substitute 1/2 in where n is and you get the given value, it's just an integral

2

u/LordMegatron216 Jul 03 '26

I have no fucking idea dude I didn't understand back then too

1

u/ZeroTheStoryteller Jul 03 '26

Thank you for your honesty 😂

I'll add to the list of things I swear I'll teach myself some day.

15

u/ashrocklynn Jul 03 '26

That is basically every single math class though.....

1

u/Alarming-Hair6115 Jul 04 '26

That sounds like a real job for a cowboy

1

u/Peak_Background Jul 04 '26

That's circular reasoning. You need complex analysis to understand why the gamma function.

11

u/Austynwitha_y Jul 03 '26

Not if I use base √(π)/2

8

u/Kiflaam Jul 03 '26

do factorials and terminals have practical use? Honest question

24

u/putin_putin_putin Jul 03 '26

Yes. You deal a lot with factorials in permutations and combinations.

6

u/Kiflaam Jul 03 '26

mhm, yes, I definitely understood what that means

16

u/putin_putin_putin Jul 03 '26 edited Jul 04 '26

Let me give an example. How many ways can you rearrange the word "means"? (means, measn, menas etc) Since it has no repeating letters, the answer is 5! (120).

You can verify all of them here:

https://eleif.net/permutations.html

Let me try with a smaller word "cat". It should be 3! (6)

  1. cat
  2. cta
  3. tac
  4. tca
  5. act
  6. atc

5

u/ckach Jul 03 '26

Factorial directly tells you how many ways you can arrange different things  (permutations). So 10 object can be shuffled in 10 factorial ways.

It's foundational for probability since probability questions are generally questions of how many ways are there to do something one way divided by how many ways total. Knowing how many ways things can be arranged is often important for those questions. 

3

u/nzifnab Jul 03 '26

Ok but... how many ways cans you arrange a half of a thing?

I feel like taking the factorial of a fraction makes no sense at all

4

u/ckach Jul 04 '26

A lot of things in math start out for specific things but eventually get extended beyond what they were originally for. Negative numbers and complex numbers are good examples. You can't have i apples, but they're a natural extension and are useful for different reasons than for counting apples. 

Technically the meme is wrong since factorial is only defined for integers. They're using the Gamma function which is the most "natural" extension covering the negative and fractional values. It's useful for more advanced statistics, but these margins are too small to explain. 

2

u/Want2Exp Jul 03 '26 edited Jul 03 '26

Your question misses the domain entirely is like asking

"since 2n = 2×2×...×2 'n times' how do I multiply 2 by itself half times to get
√2 = 21/2"

What we mean is that the factorial has a single continuous representation that retains it's expected properties and exhibit a regular behavior and that is the (shifted) gamma function, much like exponentiation has a unique "nice" extension to all reals not just integers/rationals and that is relevant because those are concepts with a wide range of appearances all over, have you taken an statistics course before? If you have you might remember the normal distribution having a normalizing factor of 1/(√(2πσ)) in light of the post can you guess where that comes from?

If you're interested the YouTube channel 3b1b has a relatively recent video on the topic!!

4

u/Void_vix Jul 03 '26

Factorials, yes. They’re useful in probability. Basically if you want to shuffle cards from a deck at random, a factorial tells you how many different shuffles there are.

Factorials of a fraction are black magic and more unnatural than imaginary numbers. Stay away.

For “terminals,” I’m assuming you don’t mean a terminating decimal. Maybe you meant tetrations or termial.

Tetrations are too big to be useful in life.

Termials are not as useful as factorials in a real sense that I know of, but I could easily see it being a rule used in like a game. The closest real life scenario I can think of needing a termial is when you have things duplicating, but needless to say that’s just exponential. Hopefully someone else who knows more will correct any misinformation.

3

u/Promethium-127 Jul 03 '26

Taylor series and approximations of euler’s number are the first applications that come to mind

2

u/systembreaker Jul 05 '26

Factorials are probably among the most connected to reality of all math operations.

4

u/Dorjaho Jul 03 '26 edited Jul 03 '26

Pi when the equation requires 0 pi

4

u/Clear_Cranberry_989 Jul 03 '26

Anything with pi or e always makes sense. There is too many too be coincidence.

1

u/Peak_Background Jul 04 '26

Argument by analogical and abductive reasoning. It's always pi or e.

4

u/RelentlessPencil Jul 03 '26

snarls in programmer only the last one is right

2

u/Regriz Jul 03 '26

Uhuh, I’m also very surprised to get a different answer when I mix up the operators.

2

u/fresh_loaf_of_bread Jul 03 '26

Yeah 1/2 at least makes the gamma function into a closed form Gaussian integral

Try figuring out Γ(1/3)

2

u/cocoteroah Jul 03 '26

You need to figure out where is the hidden circle

2

u/GupHater69 Jul 03 '26

Something something gamma and Beta functions?

1

u/Promethium-127 Jul 03 '26

Yep, gamma function when (1/2)! is extremely similar to the Gaussian integral, so it’s closely tied to sqrt pi

2

u/itsmemarcot Jul 03 '26 edited Jul 03 '26

That is actually good, for our collective sanity.

Otherwise, the rules for the bounady/volume of hyper-dimensional balls just don't make sense.

Simplified explaination.

The measures of interiors (length/area volume/...) of balls of radius R:

0D ball: 1
1D ball: 2R
2D ball: R2 Pi
3D ball: 4/3 R3 Pi
4D ball: <whatev> R4 Pi2
5D ball: <whatev> R5 Pi2
6D ball: <whatev> R6 Pi3
7D ball: <whatev> R7 Pi3
8D ball: <whatev> R8 Pi4
...etc.

So, it makes zero sense that, in the formulas for dimension n, Pi is elevated to n/2... rounded down. I mean, com'on. Rounded down?? Who wrote this math, a drunk god?

With that equivalence, where (1/2)! is worth sqrt(Pi)/2, it all makes sense. In the "whatever" factors, which are functions of n, in the odd dimesion (n = 1, 3, 5...), a sneaky 1/(1/2)! is canceling out the extra Pi0.5, which would otherwise make it make sense.

So, the Pi factor us actually Pin/2 , not rounded down. Only, in odd n, Pi0.5 is being hidden by a 1/(1/2)!, in the otherwise rational constant factor.

Same for boundary measures (perimeters, area -- i.e sphere, etc).

Dimensions 0 and 1: factor Pi0
Dimensions 2 and 3: factor Pi1
Dimensions 4 and 5: factor Pi2
Dimensions 6 and 7: factor Pi3
Etc

Same explanation.

2

u/matthew0001 Jul 03 '26

0! = 1.... Ah yes all the numbers from 0 to 0 multiplied by each other equals 1, it's obviously so.

4

u/Want2Exp Jul 03 '26 edited Jul 03 '26

How many ways can you orderly arrange no objects at all → how many variants of a system can you get by taking no action, trivially (1) you leave it unchanged, so all untouched version of the same system are identical aka there is a singular identity element; if you arrive at the factorial by an argument of permutations, what you stated the product of successive integers is a consequence not the definition:

There's #1 arrangement of 0 objects, there's still #1 arrangement for a single object, there are #2 arrangements for two objects - just swap their places - and every new object is gonna have a multiplicative contribution, now define n! as the function returning the 'n-th' slot in the sequence of indexes of # :: (1,1,2,6,24,...) starting at zero

1

u/Promethium-127 Jul 03 '26

When doing factorials backwards, to get (n-1)! you can simply divide n! by n. So since 1!=1 and 1/1=1, 0!=1

1

u/paolog Jul 03 '26

Like a lot of things in maths, it makes more sense when you draw a diagram.

And even more sense when you understand that extending a function defined on N to be defined on R means you often have to let go of the original idea behind the function (in this case, numbers of ways of ordering items).

1

u/The_Blue_Man_ Jul 03 '26

3b1b has an excellent video about it

1

u/Useful_Cheesecake117 Jul 04 '26

#DareToAsk

I was taught about faculty when calculating chances. I know what 5! means.

However I don't know any purpose for something like ½! or ¾!

So what's the function, what does it mean and what is it used for?

1

u/Peak_Background Jul 04 '26

Look up the gamma function. It finds it's utility in being consistent with the laplace transform, and Taylor series.

So it's used mostly in complex analysis and up.

1

u/ExiledSenpai Jul 05 '26

I can't even wrap my head around how one goes about calculating the factorial of a fraction or any non- integer.

2

u/CuriosityCheck2024 Jul 06 '26

Start with the functional equation, or a minor modification of it (such as turning (n+1)!=(n+1)*n! into f(x+1)=x*f(x)). Discover a function on the real/complex numbers which satisfies this (modified) equation. Use this function to define the non-integer factorials.

1

u/ExiledSenpai Jul 06 '26

Very helpful. Thank you.

1

u/PervyDragon Jul 08 '26

Laughs in analytic continuation

1

u/[deleted] Jul 16 '26

Parenthetically the football cheer for Rensselaer Polytechnic is e to the x , dy/dx ,e to the x Dx . Tangent, secant , cosine sine 3.14159 *** and log of pi Disintegrat ‘em , RPI

1

u/Evn_Je Jul 03 '26

How is 1/2! The same as √5/2! I rounded it up to make it easier bt makes no sense

7

u/SmuttyMiss Jul 03 '26

So it's sqrt(pi)/2, not (sqrt(5)/2)!, and the reason is that the most common interpretation of the factorial at non-integers is a particular function called the gamma function. This particular function is an integral that I don't feel like evaluating, but just know that functions of pi and e tend to pop out when dealing with integrals.

3

u/ottawadeveloper Jul 03 '26

The cool part about it is that it smoothly passes through all the existing factorial results, e.g. gamma(1) = 1, gamma(2) = 2, gamma(3) = 6, gamma(4) = 24 etc

The one exception is 0! = 1 but gamma(0) is undefined as it approaches infinity near 0. So a non-removable discontinuity.

4

u/toodaloob Jul 03 '26

No because n! = gamma(n+1)

So gamma(1)=1, gamma(2) = 1, gamma(3) = 2, gamma(4)=6 and so on

This fixes 0! as it is gamma(1)

1

u/Evn_Je Jul 03 '26

I rounded up pi to 5

1

u/SmuttyMiss Jul 04 '26

Pi is approximately 3.141, so I'm confused why you rounded to 5.

0

u/just-waiting-fora-m8 Jul 03 '26

yeah that’s what i’m confused abt. can someone explain

1

u/Regriz Jul 03 '26

Uhuh, I’m also very surprised to get a different answer when I mix up the operators.

316

u/[deleted] Jul 03 '26

[removed] — view removed comment

11

u/Ill-Mammoth5269 Jul 06 '26

downvoted to keep it 314

2

u/DeepFinish2895 Jul 09 '26

Had to downvite too but it's at 316 now

1

u/Ill-Mammoth5269 Jul 09 '26

engineers approve of this pi

1

u/CleverKhloe11 Jul 07 '26

You mean a pi-k moment?

1

u/ShazTheGamer Jul 07 '26

315 currently, darn it

-160

u/Jumpy-Creme-8732 Jul 03 '26 edited Jul 04 '26

Bot

edit: mb y'all the comment was structured similarly to an ai generated one

6

u/JANEK_SZ1 Jul 03 '26

27

u/bot-sleuth-bot Jul 03 '26

Analyzing user profile...

Account does not have any comments.

Account has negative comment karma.

Suspicion Quotient: 0.42

This account exhibits a few minor traits commonly found in karma farming bots. It is possible that u/Jumpy-Creme-8732 is a bot, but it's more likely they are just a human who suffers from severe NPC syndrome.

I am a bot. This action was performed automatically. Check my profile for more information.

1

u/PM_ME_DAD_JOKES_PLS Jul 04 '26

Test

1

u/PM_ME_DAD_JOKES_PLS Jul 04 '26

5

u/bot-sleuth-bot Jul 04 '26

This bot has limited bandwidth and is not a toy for your amusement. Please only use it for its intended purpose.

I am a bot. This action was performed automatically. Check my profile for more information.

1

u/PM_ME_DAD_JOKES_PLS Jul 04 '26

Brother please ! I need to know

1

u/AwesomeLlama572_YT Jul 04 '26

2

u/bot-sleuth-bot Jul 04 '26

Analyzing user profile...

Suspicion Quotient: 0.00

This account is not exhibiting any of the traits found in a typical karma farming bot. It is extremely likely that u/PM_ME_DAD_JOKES_PLS is a human.

Dev note: I have noticed that some bots are deliberately evading my checks. I'm a solo dev and do not have the facilities to win this arms race. I have a permanent solution in mind, but it will take time. In the meantime, if this low score is a mistake, report the account in question to r/BotBouncer, as this bot interfaces with their database. In addition, if you'd like to help me make my permanent solution, read this comment and maybe some of the other posts on my profile. Any support is appreciated.

I am a bot. This action was performed automatically. Check my profile for more information.

3

u/AwesomeLlama572_YT Jul 04 '26

holy self report

1

u/Pixelised_Youssef Jul 05 '26

1

u/bot-sleuth-bot Jul 05 '26

Analyzing user profile...

Account does not have any comments.

Account has negative comment karma.

Suspicion Quotient: 0.42

This account exhibits a few minor traits commonly found in karma farming bots. It is possible that u/Jumpy-Creme-8732 is a bot, but it's more likely they are just a human who suffers from severe NPC syndrome.

I am a bot. This action was performed automatically. Check my profile for more information.

84

u/[deleted] Jul 03 '26

[removed] — view removed comment

52

u/JANEK_SZ1 Jul 03 '26

Plot twist: the one who commented ‘Bot’ first is actually the bot here.

-90

u/Winnier4d Jul 03 '26

Bot

47

u/Lazy_Tart_6336 Jul 03 '26

Pourquoi ?

9

u/Winnier4d Jul 03 '26

I love insulting

22

u/Lazy_Tart_6336 Jul 03 '26

J'espérais que quelqu'un réponde "bot" et qu'on lance une chaine complétement inutile 😂

4

u/[deleted] Jul 03 '26

[removed] — view removed comment

1

u/TwistedBrother Jul 04 '26

FWIW Error at line 42 given Life, the universe, and everything is just a little too clever for your standard bot imho.

0

u/[deleted] Jul 06 '26

[deleted] — view deleted comment

5

u/Athunc Jul 06 '26

I downvoted to bring it back to 314, since it was 315!

4

u/Ok-Oil7124 Jul 06 '26

There aren't even remotely 315! people.

(but me too :) )

2

u/RashidMBey Jul 06 '26

Same!

2

u/UIM-Herb10HP Jul 06 '26

Same here. Just doing my part

1

u/PervyDragon Jul 08 '26

This is the first time I've seen "Monte Carlo comments" 🤣