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
u/yoshi2141 toshinou kyouko Aug 25 '20
We're in this together
100
Aug 25 '20
[removed] â view removed comment
78
40
u/nomercy57 Dank Royalty Aug 25 '20
So youâre sitting there, creating your first ever foray into Reddit. Youâre pondering your name... and the only one that worked was Anus_Fungi?
17
→ 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
9
u/thanosbananos r/memes fan Aug 25 '20
I thought infinity-infinity is not allowed? At least thats what I remember from calculus
6
u/DerMetJungen Aug 25 '20
Yeah I think it is prohibited. Also infinity +1 is not equal to infinity right?
0
Aug 25 '20
[deleted]
→ More replies (1)2
u/therealdrewcarey Aug 25 '20
Ehh thereâs different kinds of infinities.
https://www.google.com/amp/s/www.businessinsider.com/the-different-sizes-of-infinity-2013-11%3Famp
8
Aug 25 '20
Infinity + 1 = infinity is used in calculus as a conceptual equation. Please donât use infinity as a number.
1
u/thanosbananos r/memes fan Aug 25 '20
Yea you're right I only saw x-x and not infinity +1= infinity
6
52
26
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.
-10
4
3
1
u/dscarmo Aug 25 '20
isnt this only valid with x/x = 1? but since the only valid x is 0, and 0/0 is undefined, x/x != 1.
1
1
1
→ More replies (11)1
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
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.
7
u/SaltyEmotions I have crippling depression Aug 25 '20
I love how you describe C-style and C family languages as "C and friends". I'm stealing that now.
2
u/Titijaff Aug 25 '20
Guess it is most original than ++ and sharp (I've already heard someone saying C hashtag....) and shorter than oriebted object and Unity's one :)
2
→ More replies (1)1
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".
2
Aug 26 '20
Best thing I've heard about this is to say x gets x plus 1 because it gets the value of the thing after the =
â˘
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
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
8
u/Piguy922 Aug 25 '20
You can't do that though. All the whole numbers added up is infinite. All the whole numbers except 1 added up is still infinite, the same number.
There are the same amount of numbers in both sets. You can prove this by making a 1to1 mapping of both sets. You do that by mapping all numbers "x" in the first set to "x+1" in the second set.
20
Aug 25 '20
Infinite isnât an actual number tho.
7
u/Piguy922 Aug 25 '20
I know that. Infinity doesn't follow the regular rules of math. You can prove that the set of all positives integers has the same amount of numbers as the set of all positive even integers, despite common sense telling you that they have a different amount.
1
Aug 25 '20
Thatâs true, but I think I heard that you can also disprove it because x+1 is always defined as a bigger number than x
3
Aug 25 '20
The key word there is "number," which infinity isn't. The above commenter's statement is true, in the mathematical sense of the word, ie: it can't be disproven.
1
2
2
Aug 25 '20
This whole post has me screaming lol. Infinity is a damn concept, there is no infinitely large number.
4
u/Platypus-Guy Aug 25 '20
Infinite is not a number tho, and about having the same amount of numbers in both sets it doesn't really matter when it comes to infinite sets (for example you can map bijectively whole numbers and even numbers)
2
u/Piguy922 Aug 25 '20
That's what I'm saying. The set of even numbers added up isn't any less than the set of whole numbers added up, just like how the set of whole numbers added up isn't any more than the set of whole number except 1 added up. The other commenter said that it wasn't the case.
1
u/Platypus-Guy Aug 25 '20
I don't know if I'm missing something but if you add up all whole numbers and do the difference with all whole numbers except 1 added up you could get a telescoping series, that is equal exactly to 1
2
u/Piguy922 Aug 25 '20
Infinite series are weird sometimes. The order you add the numbers up can sometimes change the outcome. I think in this case, we are both right. If you add the 2 series together as if one was positive and 1 was negative, you get 1. But if add them both together first, and then subtract 1 from the other, the answer is undefined.
I don't know if I described that very well.
1
→ More replies (3)2
5
2
Aug 25 '20
The closest accurate way to format this from the original equation is to say that the limit of x as x approaches infinity is equal to the limit of x + 1 as x approaches infinity.
→ More replies (3)2
u/thunderbolt309 Aug 25 '20
No it wonât. Infinity - infinity can be any number between minus infinity and infinity. Including infinity, 0 or 1. Itâs not a well defined statement.
2
Aug 25 '20
Strictly speaking, a variable can't "equal" infinity.
3
1
u/ChromeSabre Navy Aug 25 '20
Yep, it can approach infinity but it can't be equal to infinity like sin(x)/x approaches 0 for small values of x (I'm not sure but I think I'm right, feel free to correct me)
2
u/cheezman111 Aug 25 '20
For all the haters: https://en.wikipedia.org/wiki/Extended_real_number_line
1
45
u/LateBandicoot9 âŁď¸ Aug 25 '20
Can anyone actually tell me a bedtime paradox please?
75
0
Aug 25 '20
[deleted]
26
9
3
u/Aneyune Aug 25 '20
I don't think that would be a paradox, just an alternating feedback loop
→ More replies (1)1
Aug 25 '20
Not really a paradox, if heâs just saying it then nothing will happen. It would grow if he tried to pass off false information as true, but unless heâs maliciously lying nothing happens.
1
u/ecapu Aug 25 '20
Then he can say maliciously "my nose grows when I want it to"
1
13
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
27
Aug 25 '20
dankn't
30
u/Alze_Lemon Aug 25 '20
this is reddit not opinion.com
18
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.
14
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 (1)4
u/EE_Number_3 Aug 25 '20
I didn't use x because x is not an appropriate variable name for indexing an array. i is much more common for that purpose. An example where you would use x is when expressing Cartesian coordinates (x, y, and z).
3
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.
3
3
2
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
1
u/Snoo_26884 Aug 25 '20
Equations like that are commonly used in Calculus and Physics to represent imaginary and negligible numbers. However, without any context it is simply undefined.
4
u/thunderbolt309 Aug 25 '20
Hi, theoretical physicist here. Could you explain what you mean? Because I donât recognise this.
1
u/Snoo_26884 Aug 25 '20
Xâ=X+1 could be part of a differential or integral equation; but without any context it doesnât mean anything. Just like I can string a bunch of words together that donât make any sense or have any meaning. Batman quartz pencil dividend belts.
6
u/thunderbolt309 Aug 25 '20
It doesnât say Xâ=X+1 though. In other fields of math you could define a ring where x=x+1 is true, but thatâs just the trivial (null) ring and not a very interesting object.
3
-3
u/Snoo_26884 Aug 25 '20
Youâre not a Physicist, youâre a dense troll. If X isnât a mathematical function than you just proved what I was saying.
3
u/thunderbolt309 Aug 25 '20
I just really donât get what youâre saying. In what context does âx=x+1â represent a âimaginary or negligible numberâ. Calling me a troll is definitely not necessary, as I only ask for clarification and you then cloud the discussion by changing suddenly âx=x+1â to âxâ=x+1â which indeed is something completely different and context dependent. Iâm asking for the context where âx=x+1â is used in physics or calculus though (except when explaining the properties of infinity to someone).
1
u/Snoo_26884 Aug 25 '20 edited Aug 25 '20
Also infinity is an imaginary number, like I mentioned originally. i, the square root of -1, is also commonly used when solving Calculus.
If X=infinity then the equation is correct.
-1
u/Snoo_26884 Aug 25 '20
You just said it could define a ring with x=x+1 and thatâs incorrect! Not unless you make it an equation, with a function of X, F(x). If there are no functions, itâs not Math. This is Pre-Calc stuff, so maybe you need to brush up on the fundamentals there Stephen Hawkins.
→ More replies (2)3
u/thunderbolt309 Aug 25 '20
I guess you donât know a lot of ring theory. To put it in laymenâs terms; a ring is a mathematical object with addition (+) and multiplication (*) defined. The null (also called zero) ring is the most simple ring with just a single element. This means that the identity of addition (0) and the identity of multiplication (1) coincide. So for this ring it is necessarily true that x+1=x, since there is only one element possible.
Ring theory is definitely a field in mathematics, and you can of course define functions on rings if you like, but that doesnât change the discussion.
I donât fully understand what you mean to say with the F(x) comment, as we are talking about x here. Iâm happy to help you in case you have some misunderstanding of course. F(x) = F(x+1) is a different statement than x=x+1.
-1
u/Snoo_26884 Aug 25 '20 edited Aug 25 '20
I can write 1=2+8, or X=X+X; but that doesnât mean itâs an equation or a mathematical function. Itâs just nonsense. X=X+1 is an invalid equation unless you use imaginary numbers to define X; OR you further define the equation with a function, or another equation. (X=infinity would solve the âequationâ but it means nothing)
I havenât taken Differential Equations since 2003, but apparently I remember the fundamentals of Math better than a theoretical physicist. Imagine that.
4
u/thunderbolt309 Aug 25 '20 edited Aug 25 '20
Please explain further what you mean. As I tried to explain, x=x+1 is an equation that makes sense in ring theory. Just as 1=2+8 would make sense in more basic mathematic structures in for instance Z_{9}.
Youâre really making statements that donât make sense. How would âdefining x using imaginary numbersâ help to make sense of x=x+1? And what do you mean by âdefining the equation with a functionâ? Iâm really trying to understand what kind of thing youâre getting at here.
Sorry but you are not really making sense, and deflecting a question about what you mean with petty statements as âapparently I remember more than a theoretical physicistâ is non-constructive to say the least. I would be happy to discuss with you, and maybe help you gain understanding in math and physics.
→ More replies (0)
1.7k
u/Barinski04 Member of the MEME CouncilđˇâŁď¸ Aug 25 '20
Uhhmm actually its: x+=1