Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. 1 = 0

1 = 0

Scheduled Pinned Locked Moved The Lounge
comdesign
68 Posts 38 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Dominic Burford

    x = y. Then x2 = xy. Subtract the same thing from both sides: x2 - y2 = xy - y2. Dividing by (x-y), obtain x + y = y. Since x = y, we see that 2 y = y. Thus 2 = 1, since we started with y nonzero. Subtracting 1 from both sides, 1 = 0. :wtf:

    "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

    B Offline
    B Offline
    BallsMcShaft
    wrote on last edited by
    #39

    The second statement is false. if x = y, then x2 does not equal xy; x to the second power equals xy. For example: if 1=1 then 1(2) does not equal 1(1) Bullshit from the start, not to mention the division by zero

    1 Reply Last reply
    0
    • H HobbyProggy

      The only thing i can agree with is that 1 != 3/3 (at least not exactly) because 1/3 is 0,333... and multiplied with 3 it is just 0,99999.... which is technically 1 but not 100%

      Rules for the FOSW ![^]

      if(this.signature != "")
      {
      MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
      }
      else
      {
      MessageBox.Show("404-Signature not found");
      }

      U Offline
      U Offline
      User 12150297
      wrote on last edited by
      #40

      Am I the only one that doesn't see the issue that we are not dividing 1 by 3.... 1 = 3/3... If you're going to divide by 3 on the 1... wouldn't you need to also need to divide 3/3 by 3 also... 1/3 = (3/3)/3.... which would both be .03333... ??

      1 Reply Last reply
      0
      • D Dominic Burford

        x = y. Then x2 = xy. Subtract the same thing from both sides: x2 - y2 = xy - y2. Dividing by (x-y), obtain x + y = y. Since x = y, we see that 2 y = y. Thus 2 = 1, since we started with y nonzero. Subtracting 1 from both sides, 1 = 0. :wtf:

        "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

        U Offline
        U Offline
        User 11955655
        wrote on last edited by
        #41

        Sorry guys but second line is false its only true when x=1 or 2 x = y. Then x2 = xy is wrong if x=3 , xy=9 x2=6 6 !=9 you can't divide this way if its proper algebra left side is x2 - y2   2(x-y) ------- = ------ = 2 <- left side of the equation (x-y)        (x-y) and obviously you cant separate (x-y) from the right side (xy - y2)/(x-y) != y sorry guys example is flawed and 1 != 0

        1 Reply Last reply
        0
        • D Dominic Burford

          x = y. Then x2 = xy. Subtract the same thing from both sides: x2 - y2 = xy - y2. Dividing by (x-y), obtain x + y = y. Since x = y, we see that 2 y = y. Thus 2 = 1, since we started with y nonzero. Subtracting 1 from both sides, 1 = 0. :wtf:

          "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

          S Offline
          S Offline
          spa_war
          wrote on last edited by
          #42

          Unfortunately, this "proof" falls apart at the 2nd line. x2 = xy only holds true for 0, 2, and -2. The correct equation is x^2 = xy. Still, a pretty interesting use of mathematics in an attempt to destroy all of our beliefs in what is thought to be true. :thumbsup:

          1 Reply Last reply
          0
          • D Dominic Burford

            x = y. Then x2 = xy. Subtract the same thing from both sides: x2 - y2 = xy - y2. Dividing by (x-y), obtain x + y = y. Since x = y, we see that 2 y = y. Thus 2 = 1, since we started with y nonzero. Subtracting 1 from both sides, 1 = 0. :wtf:

            "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

            M Offline
            M Offline
            mBuchwald
            wrote on last edited by
            #43

            This appears to work, but only because you are dividing by zero since (x-y) is, by definition of the first line, equal to zero.

            1 Reply Last reply
            0
            • D Dominic Burford

              x = y. Then x2 = xy. Subtract the same thing from both sides: x2 - y2 = xy - y2. Dividing by (x-y), obtain x + y = y. Since x = y, we see that 2 y = y. Thus 2 = 1, since we started with y nonzero. Subtracting 1 from both sides, 1 = 0. :wtf:

              "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

              D Offline
              D Offline
              Dominic Amann
              wrote on last edited by
              #44

              huh? I don't think x = y implies x2 = xy. How did you get that?

              M 1 Reply Last reply
              0
              • H HobbyProggy

                The only thing i can agree with is that 1 != 3/3 (at least not exactly) because 1/3 is 0,333... and multiplied with 3 it is just 0,99999.... which is technically 1 but not 100%

                Rules for the FOSW ![^]

                if(this.signature != "")
                {
                MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
                }
                else
                {
                MessageBox.Show("404-Signature not found");
                }

                W Offline
                W Offline
                willichan
                wrote on last edited by
                #45

                HobbyProggy wrote:

                because 1/3 is 0,333

                No. 1/3 does not equal 0.333. 1/3 is APPROXIMATELY 0.333. and 0.99999 is not technically 1. It is APPROXIMATELY 1 There is even a different symbol for it. 1/3≈0.333 (1/3 is approximately equal to 0.333) 0.99999≈1 (0.99999 is approximately equal to 1)

                Money makes the world go round ... but documentation moves the money.

                Y 1 Reply Last reply
                0
                • Sander RosselS Sander Rossel

                  A high school teacher showed this to me some 10+ years back (feeling old now). All I can say is no.

                  Visit my blog at Sander's bits - Writing the code you need. Or read my articles at my CodeProject profile.

                  Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

                  Regards, Sander

                  J Offline
                  J Offline
                  James Curran
                  wrote on last edited by
                  #46

                  Quote:

                  A high school teacher showed this to me some 10+ years back (feeling old now).

                  10+ years is making you feel old? I saw that in high school 35+ years old..... (*) Even then, was able to figure out the flaw.

                  Truth, James

                  1 Reply Last reply
                  0
                  • D Dominic Burford

                    x = y. Then x2 = xy. Subtract the same thing from both sides: x2 - y2 = xy - y2. Dividing by (x-y), obtain x + y = y. Since x = y, we see that 2 y = y. Thus 2 = 1, since we started with y nonzero. Subtracting 1 from both sides, 1 = 0. :wtf:

                    "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

                    M Offline
                    M Offline
                    Member_5893260
                    wrote on last edited by
                    #47

                    As has been pointed out here, at some point you're dividing erroneously. But, you can prove that 0 = any number you want, using the derivation of differential calculus, as described here[^]: if you plug numbers into the equation at stage 3, you can "prove" pretty much whatever you want to prove. But of course, math is a language, not reality - and you can speak nonsense in any language.

                    1 Reply Last reply
                    0
                    • D Dominic Burford

                      x = y. Then x2 = xy. Subtract the same thing from both sides: x2 - y2 = xy - y2. Dividing by (x-y), obtain x + y = y. Since x = y, we see that 2 y = y. Thus 2 = 1, since we started with y nonzero. Subtracting 1 from both sides, 1 = 0. :wtf:

                      "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

                      M Offline
                      M Offline
                      Member 11711973
                      wrote on last edited by
                      #48

                      If 1 = 0, then 1 - 1 = 0 - 1, which means -1 = 0. Contradiction, so 1 = 0 can't be true.

                      1 Reply Last reply
                      0
                      • D Dominic Burford

                        x = y. Then x2 = xy. Subtract the same thing from both sides: x2 - y2 = xy - y2. Dividing by (x-y), obtain x + y = y. Since x = y, we see that 2 y = y. Thus 2 = 1, since we started with y nonzero. Subtracting 1 from both sides, 1 = 0. :wtf:

                        "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

                        C Offline
                        C Offline
                        charleslbryant
                        wrote on last edited by
                        #49

                        This is a code site so I wanted to prove this with C# and it fell apart for me.

                        [TestMethod]
                        public void TestMethod1()
                        {
                        //x = y
                        //Assuming y = 5.
                        var y = 5;

                                var x = y;
                        
                                //Then x2 = xy
                                Assert.AreEqual(x \* 2, x \* y); //Assert.AreEqual failed. Expected:<10>. Actual:<25>.
                            }
                        
                        1 Reply Last reply
                        0
                        • D Dominic Burford

                          x = y. Then x2 = xy. Subtract the same thing from both sides: x2 - y2 = xy - y2. Dividing by (x-y), obtain x + y = y. Since x = y, we see that 2 y = y. Thus 2 = 1, since we started with y nonzero. Subtracting 1 from both sides, 1 = 0. :wtf:

                          "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

                          C Offline
                          C Offline
                          ClockMeister
                          wrote on last edited by
                          #50

                          Sorry, that doesn't work. x2 is NOT equal to xy. That's like saying 2x = x*y which is ONLY true if x and y are both 2. Cute, but does not float.

                          M 1 Reply Last reply
                          0
                          • D Dominic Burford

                            x = y. Then x2 = xy. Subtract the same thing from both sides: x2 - y2 = xy - y2. Dividing by (x-y), obtain x + y = y. Since x = y, we see that 2 y = y. Thus 2 = 1, since we started with y nonzero. Subtracting 1 from both sides, 1 = 0. :wtf:

                            "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

                            V Offline
                            V Offline
                            Vachaun22
                            wrote on last edited by
                            #51

                            Well, the first problem with this is x = y then x2 = xy IFF x = y = 2 This was stated just above, but I didn't get that far when I was reading the comments...

                            1 Reply Last reply
                            0
                            • H HobbyProggy

                              The only thing i can agree with is that 1 != 3/3 (at least not exactly) because 1/3 is 0,333... and multiplied with 3 it is just 0,99999.... which is technically 1 but not 100%

                              Rules for the FOSW ![^]

                              if(this.signature != "")
                              {
                              MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
                              }
                              else
                              {
                              MessageBox.Show("404-Signature not found");
                              }

                              J Offline
                              J Offline
                              jschell
                              wrote on last edited by
                              #52

                              HobbyProggy wrote:

                              because 1/3 is 0,333..

                              No it isn't. Mathematics defines and recognizes rational numbers. Mathematics defines and recognizes decimal numbers. They are two different things. Your equating them as the same does not remove certainly hundreds of years of mathematics and mathematicians that recognize and correctly differentiate the two. Certainly when I took mathematics courses that taught mathematics as it was implemented in computers they emphasized the assumptions and limitations of finite math. Actually understanding those assumptions and limitations makes the difference clear. Note clearly that in the above those were mathematics classes and not computer science classes. The difference is often where the former teaches the math and the later teaches how to use the computer. (Yes I took both.)

                              1 Reply Last reply
                              0
                              • D Dominic Burford

                                x = y. Then x2 = xy. Subtract the same thing from both sides: x2 - y2 = xy - y2. Dividing by (x-y), obtain x + y = y. Since x = y, we see that 2 y = y. Thus 2 = 1, since we started with y nonzero. Subtracting 1 from both sides, 1 = 0. :wtf:

                                "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

                                M Offline
                                M Offline
                                Member 3934551
                                wrote on last edited by
                                #53

                                Seeing you're playing with polynomials there, aren't you? following the logics.. x = y x^2 = xy x^2-y^2 = xy-y^2 (x-y)(x+y) = (x-y)y x+y = y 2y = y however you draw the wrong conclusion here, go on like this: 2y-y = y-y y = 0

                                1 Reply Last reply
                                0
                                • H HobbyProggy

                                  The only thing i can agree with is that 1 != 3/3 (at least not exactly) because 1/3 is 0,333... and multiplied with 3 it is just 0,99999.... which is technically 1 but not 100%

                                  Rules for the FOSW ![^]

                                  if(this.signature != "")
                                  {
                                  MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
                                  }
                                  else
                                  {
                                  MessageBox.Show("404-Signature not found");
                                  }

                                  O Offline
                                  O Offline
                                  obermd
                                  wrote on last edited by
                                  #54

                                  Actually 1.0 = 0.9999... I did the derivation of this proof as an exercise in a algebra class back in the early 80s.

                                  1 Reply Last reply
                                  0
                                  • D Dominic Burford

                                    x = y. Then x2 = xy. Subtract the same thing from both sides: x2 - y2 = xy - y2. Dividing by (x-y), obtain x + y = y. Since x = y, we see that 2 y = y. Thus 2 = 1, since we started with y nonzero. Subtracting 1 from both sides, 1 = 0. :wtf:

                                    "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

                                    P Offline
                                    P Offline
                                    prakhar19
                                    wrote on last edited by
                                    #55

                                    You can't divide any number with 0. (x-y=0) Divide by 0 is infinity, and infinity can't be equated.

                                    1 Reply Last reply
                                    0
                                    • H HobbyProggy

                                      The only thing i can agree with is that 1 != 3/3 (at least not exactly) because 1/3 is 0,333... and multiplied with 3 it is just 0,99999.... which is technically 1 but not 100%

                                      Rules for the FOSW ![^]

                                      if(this.signature != "")
                                      {
                                      MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
                                      }
                                      else
                                      {
                                      MessageBox.Show("404-Signature not found");
                                      }

                                      M Offline
                                      M Offline
                                      maze3
                                      wrote on last edited by
                                      #56

                                      1 === 3/3 === X/X The thing is base 10 decimal (0.333) does not have a correct way to represent 3/3, except putting bar above the value that repeats infinitely _ 0.333

                                      1 Reply Last reply
                                      0
                                      • H HobbyProggy

                                        The only thing i can agree with is that 1 != 3/3 (at least not exactly) because 1/3 is 0,333... and multiplied with 3 it is just 0,99999.... which is technically 1 but not 100%

                                        Rules for the FOSW ![^]

                                        if(this.signature != "")
                                        {
                                        MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
                                        }
                                        else
                                        {
                                        MessageBox.Show("404-Signature not found");
                                        }

                                        M Offline
                                        M Offline
                                        Member 12023988
                                        wrote on last edited by
                                        #57

                                        Quote:

                                        Go to ParentThe only thing i can agree with is that 1 != 3/3 (at least not exactly) because 1/3 is 0,333... and multiplied with 3 it is just 0,99999.... which is technically 1 but not 100%

                                        This is nonsense ... .999... is exactly equal to 1, just as .333... is exactly equal to 1/3.

                                        1 Reply Last reply
                                        0
                                        • D Dominic Amann

                                          huh? I don't think x = y implies x2 = xy. How did you get that?

                                          M Offline
                                          M Offline
                                          Member 12023988
                                          wrote on last edited by
                                          #58

                                          "x2" is supposed to mean x squared.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups