45
u/LateBandicoot9 ☣️ Aug 25 '20
Can anyone actually tell me a bedtime paradox please?
13
75
9
6
3
u/scoops22 Aug 25 '20
So ur with ur honey and yur making out wen the phone rigns. U anser it n the vioce is “wut r u doing wit my daughter?” U tell ur girl n she say “my dad is ded”. THEN WHO WAS PHONE?
11
0
Aug 25 '20
[deleted]
26
9
→ More replies (4)3
u/Aneyune Aug 25 '20
I don't think that would be a paradox, just an alternating feedback loop
→ More replies (1)
130
u/ChromeSabre Navy Aug 25 '20
∞=∞+1
40
u/Alze_Lemon Aug 25 '20
Yeah but infinity minus infinity will equal 0 or infinity
43
u/brine909 Aug 25 '20
Not necessarily. Add up all whole numbers and you get infinity, now add up all whole numbers other then 1 and you get infinity again. But you know they differ by exactly 1 so in this case you get infinity - infinity = 1 . Really infinity - infinity can equal any whole number even infinity
→ More replies (19)→ More replies (5)5
→ More replies (4)2
u/cheezman111 Aug 25 '20
For all the haters: https://en.wikipedia.org/wiki/Extended_real_number_line
27
7
u/h12man Aug 25 '20
Lol, x is such a bad variable name. Hwru going to recognize it later when you have dozens of other variables named after the alphabet?
13
6
u/EE_Number_3 Aug 25 '20
X can actually be a good name for a variable depending on the scope. Naming a variable x can be clearer and more concise than a longer name.
In other words, global variables named x are bad, but x used in something like a single line for loop are good.
for(int descriptive_variable=0; descriptive_variable<array_length; descriptive_variable++){ sum+=array[descriptive_variable]; }Vs:
for(int i=0; i<array_length; i++){ sum+=array[i]; }5
u/h12man Aug 25 '20
Ok, in that instance, a one letter variable is better. (But you still didn't use x)
→ More replies (3)
969
Aug 25 '20
X=X+1
0=X-X+1
0=1
744
u/giantfuckingfrog Aug 25 '20
Is this some math joke I'm too mathn't to understand?
186
→ More replies (3)28
u/Jupiter_Explodes Aug 25 '20
0=1: that's impossible, thus 𝑥 = 𝑥+1 is impossible.
→ More replies (3)28
u/XxthecagerxX Aug 25 '20
It’s not impossible, X can be equal to positive or negative infinity. X just cannot be a real number
→ More replies (8)52
26
4
13
u/lola-lacy Aug 25 '20
The whole point is to get x on one side, why would you bring it over to the other side with the 1?
X=X+1
X-X=1
0=1
24
Aug 25 '20
It's not "bringing it over to the other side", you're subtracting x from both sides. It actually looks like this.
X=X+1
X-X=X-X+1
0=1
"X=X+1" isn't correct when using real numbers though, so this whole thing is invalid.
→ More replies (2)→ More replies (16)3
236
u/ilikefuckingchickens Aug 25 '20
What the ding dong fuck is that
338
u/Titijaff Aug 25 '20
In mathematic, x=x+1 has no real solution. In programation, writting x=x+1 increment the value of x by 1, when doing an operation in coding (well in most of coding language I'd say, I mostly know about C/C#/C++ and I am far for being an expert anyway). In programation, writting "A=B" means "variable A value is now equal to the value of variable B", by writting x=x+1, you basically do, in this order: "I calculate the value of tha addition of the value of variable x and 1, THEN this value become the value of variable x".
In short, mathematic vision has bo solution because it see that as an equation (left must be equal to right side) and programing see the "=" as "now takes the value of"
Hope it's clear and not too BS... As said, I am far for being expert.
52
u/ilikefuckingchickens Aug 25 '20
Lol i was just saying that in the perspective of a mathematician but I actually didn’t know that it meant something in programming
19
→ More replies (3)15
u/merzak-x Aug 25 '20
Yes.
TL;DR: = in programming is usually to assign a value (B to a variable a A <- B; as in: X <- (X+1)). In some programing languages the "assignment operator" is ":=" as in PL/SQL, where the "= equal operator" is for comparison (so X = X+1 would return False). And sure you know what = means in maths.
8
u/Titijaff Aug 25 '20
I record those := for assignation yes, iirc, the comparaison operator is actually ==, at least in C and friends.
→ More replies (2)6
u/MrPresidentBanana Aug 25 '20
In programming, = doesn't really mean "equals", it means "set value to". So x = y would mean "set the new value of x to be the value of y", and x = x + 1 would be "set the new value of x to be the current value of x, plus 1".
→ More replies (1)
14
•
u/KeepingDankMemesDank Hello dankness my old friend Aug 25 '20
> be me
> stupid mod bot
> comment on every post
> fkin useless
> someone comments they want to give another upvote because the meme is so good
> oh_shit_thats_my_job.png
> "Upvote this comment if this is a dank meme! Downvote this comment if this is not a dank meme!"
> i am hapy4
21
Aug 25 '20
"this... Sentence... Is... False" "Don't think about it, don't think I about it, don't think about it"
Honeslty I thought about this and my brain hurt... Am I a robot? Am I Wheatley?
4
4
2
Aug 25 '20
Is the answer to this question no?
4
Aug 25 '20 edited Aug 25 '20
If the sentence “This sentence is false” is false, then it must be true, however if “This sentence is false” is true, then it is false. There is no simple answer. It’s a paradoxical statement.
The problem primarily comes from the issue of self reference. It is very difficult to have a logical system (speaking vaguely) that can directly reference itself without running into these sorts of issues.
The crazy thing is - indirect self reference is pretty much impossible to avoid if you want to do anything useful. Gödel’s incompleteness theorems are a classic example.
Even number theory, which on the face of it obviously isn’t self referential, can be made to be. The trick is in changing the interpretation of the symbols. You code statements as being certain numbers, and through building this up can turn statements about numbers into statements about number theory.
The consequence is that you can write a perfectly innocent statement in number theory which can alternatively be read as (sort of) “This statement cannot be proven logically”.
Either the statement is false (which you’d think would be impossible, but non-standard arithmetic disagrees) or the statement is true. This means that in standard number theory there are true statements which one can never prove to be true.
4
4
u/PlsImNotGae Aug 25 '20
Look at all the smart people here discussing their Xs, and my dumb ass is just like bruh
4
4
u/Sykozis Aug 25 '20
Amateur mathematician here. You can make this interesting by going outside of the real numbers. I'm thinking specifically of equivalence classes. When X is for example, any element of the set of all sets such that every element is equivalent mod 1, you get a set where each element is a set containing all numbers that have equivalent mantissas (the numbers after the decimal point). So you would have a set something like this: {..., [..., -1, 0, 1, ...], [...-1.1, 0.1, 1.1], ...}. And you can define addition to mean the equivalence class derived from adding b to any element from a. That would mean if you have the equivalence class {..., -1, 0, 1, ...} and you add 0.5, you would get {..., -0.5, 0.5, 1.5, ...}. Then when you pose the equation X = X +1, you get the solution of all equivalence classes of this form since adding 1 produces the same equivalence class.
1
3
3
2
2
2
2
u/Semilogo the very best, like no one ever was. Aug 25 '20
Programmers who use a language that needs semicolons look more like the mathematicians
2
2
2
2
Aug 25 '20
As a mathematician I can see at least a dozen of situations where this equation would be true.
→ More replies (1)
2
2
2
1
1
1
1
1
1
1
1
u/ForestValkyrie Aug 25 '20
But what if x=∞? Wouldn’t ∞+1 still be infinity? Or am I an idiot?
→ More replies (3)
1
u/Mr_Good_Taste Aug 25 '20
A "mathematician" would say it's unsolvable.
2
u/Sykozis Aug 25 '20
A mathematician would say that the equation makes sense in a wide variety of contexts, just not for real numbers. It has an easy solution when talking about equivalence classes for instance: Post. Pretty interesting stuff haha
1
1
1
1
1
1
Aug 25 '20
To solve, just square both sides. x2 + 2x + 1 = x2. Then, subtract x2, so 2x + 1 = 0. Now, x = -1/2.
→ More replies (1)
1
1
Aug 25 '20
i legitimately did the math and i kept getting infinite solutions, so apparently x= ∞ but that doesn’t make logical sense either. is there someone who can verify me cause i won’t sleep until i figure this out
2
u/Moartem Aug 26 '20
Look up projective geometry, there it makes sense (two lines intersect at infinity)
→ More replies (1)
1
1
1
Aug 25 '20
X=0,9999... 10x=9.9999... 9x= 10x-9x= 9.9999...-0.9999...=9 X-X= 1 - 0.9999... 1 - 0.9999... =b X°∞ - X°∞ = b°∞ X-X = 1 X = X +1
1
1
1
1
1
1
1
1
1
1
1
Aug 25 '20
I didn't get it then I did the Algebra and went "Oh, I see" as a shudder went down my spine.
1
1
1
1
1
u/Ener_blaNk____-10 Aug 25 '20
Answer is infinity Given by the Indian mathematician ramanujan I suppose and I am not using emojis XD
1
Aug 25 '20
That would make a callback error, as the second X is still a variable. I code mainly in C# and Python, but for all the languages I’ve seen, it’s X+=1 to increase the value, of the variable
1
1
1
1
u/zerocreativity420 Insert Your Own Aug 25 '20
Learning programming this year and man I'm just happy that I understood the meme :D
1
u/Tarto_poopie_69 Aug 25 '20
Dankmemes is just turning into memes by the day. This isn't dank at all, this is just some dumb normal meme that is actually clever.
1
1
1
1
1
1
1
1
u/Lalendra Aug 25 '20
Kid :- tell me a Bed time paradox Dad:- you are not XY you are XXY Biologist (Kid):- screams in terror
1
1
u/jemangerrit Aug 25 '20
Well yes but actually no. There is a mathematic field that uses these sorts of formulas. Usually it is written as U(X+1)=U(X)+1. So every time you reitterate the formula it ads 1. So exactly like the programmable version. The Mandelbrot set is based on such a formula.
Highschool matheticians would be confused, actual mathematicians would tell you that youre sloppy and you should write that the X on the left has been reitterated one more time (information that a computer would remember for you)
1
u/majkong190 Aug 25 '20
One thing you have to remember is that in programming language; X = X+1 is not an equation; it's an instruction.
1
1
1
1
1
u/litefoot Aug 25 '20
It’s the equation for how many motorcycles you need, where X is the number of motorcycles you currently own.
1
u/liriodendron1 Aug 25 '20
The further down i go in these comment threads the more black magic fuckery i see. I have no idea how you programmers do what you do but it scares me a little.
1
u/normiememes7667 Aug 25 '20
Because you can’t have 1=1+1 or literally replace X with any number and that won’t be true.
1
1
Aug 25 '20
Physicists: "X is 1 but you forgot the 1/2 coefficient on the right side of the equation."
1
1
1
u/Vince6820 Aug 25 '20
Ok time to break math X=X+1 X/0=(X+1)/0 Multiply both sides by 0 Since anything times0 is 0 both sides = 0
1
1
1
1
1
1
u/XTheDarkLord15X Aug 25 '20
As someone who is very smart in math I can say that this is very true and I am having a stroke rn
1
1
1
1
u/Tanto_Goldstein Aug 25 '20
Well, if you divide by x on both side it become 1=1+1/x, meaning if x=0, then 1=1
1
1
1
Aug 25 '20
I mean if you put it in terms of y=mx+b
You can graph it and it creates two sloped lines that never intersect, meaning there is no solution, this is true with any equation that creates a graph with parallel lines
1
1
1
1
1
1
u/Mosesmw9Reddit Aug 25 '20
Surely x is infinity then? Correct me if I’m wrong but the only number that is the same as itself plus one is infinity
1
1
1
1
1
1
1
1.7k
u/Barinski04 Member of the MEME Council👷☣️ Aug 25 '20
Uhhmm actually its: x+=1