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 3 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

    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
                  • C ClockMeister

                    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 Offline
                    M Offline
                    Member 12023988
                    wrote on last edited by
                    #59

                    Why do so many people here fail to grasp the obvious, that "x2" is meant to represent x squared? It's almost as if the CP community isn't very high quality.

                    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
                      dpminusa
                      wrote on last edited by
                      #60

                      x-y=0. You are dividing by 0. Therefore your theorem falls apart at that point. Nice try.

                      "Courtesy is the product of a mature, disciplined mind ... ridicule is lack of the same - DPM"

                      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

                        R Offline
                        R Offline
                        RogerStef
                        wrote on last edited by
                        #61

                        "x2 = xy" This is VERY wrong, I guess? :^)

                        1 Reply Last reply
                        0
                        • H HobbyProggy

                          Allright, tell that the next flightcomputer that breakes down because he multiplied 0,333 and didn't get to 1 ;)

                          Rules for the FOSW ![^]

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

                          Y Offline
                          Y Offline
                          yiangos
                          wrote on last edited by
                          #62

                          Well... 0.999... is 0+(9/10) + (9/100) + (9/1000) +... which is 0+9*((1/10)+(1/100)+(1/1000)+...) which is 9* (sum(1/10^n)) where the sum runs over n for n=1 to infinity. Now for the same sum, if n ran from 0 to infinity, there is a convenient formula, that says it is (I'll mark this with a capital S to distinguish it from the one we're trying to calculate): Sum(1/10^n)=1+1/10+1/100+...=1/(1-(1/10))=1/(9/10)=10/9 therefore the sum we want is 1/10+1/100+...=(10/9)-1=1/9 therefore 0.999...=9*(1/9)=1 So it's math. On the other hand, computer calculated numbers are approximations, and in the binary system at that, and this is why you get all those rounding errors. But I get the feeling you already know all this, and that you are just toying with us obsessive compulsive types.

                          Φευ! Εδόμεθα υπό ρηννοσχήμων λύκων! (Alas! We're devoured by lamb-guised wolves!)

                          1 Reply Last reply
                          0
                          • W willichan

                            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 Offline
                            Y Offline
                            yiangos
                            wrote on last edited by
                            #63

                            0.9999 is indeed approximately 1 0.9999... (note the dots there) is EXACTLY 1.

                            Φευ! Εδόμεθα υπό ρηννοσχήμων λύκων! (Alas! We're devoured by lamb-guised wolves!)

                            W 1 Reply Last reply
                            0
                            • Y yiangos

                              0.9999 is indeed approximately 1 0.9999... (note the dots there) is EXACTLY 1.

                              Φευ! Εδόμεθα υπό ρηννοσχήμων λύκων! (Alas! We're devoured by lamb-guised wolves!)

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

                              yiangos wrote:

                              0.9999... (note the dots there) is EXACTLY 1.

                              Unfortunately, no. Even as 9s extend on infinitely, it only approaches 1, but never actually gets there. It is not EXACTLY 1, but a very close approximation.

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

                              Y 1 Reply Last reply
                              0
                              • W willichan

                                yiangos wrote:

                                0.9999... (note the dots there) is EXACTLY 1.

                                Unfortunately, no. Even as 9s extend on infinitely, it only approaches 1, but never actually gets there. It is not EXACTLY 1, but a very close approximation.

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

                                Y Offline
                                Y Offline
                                yiangos
                                wrote on last edited by
                                #65

                                Please take a look at the thread. There is a number of mathematical proofs that an infinite series of 9s in the decimal part is actually EXACTLY equal to 1. Heck, even I offered a proof. There's no approximation there. 0.999... is EXACTLY equal to 1. Again, the dots play an important role. No dots, no equality. EDIT No I didn't offer a proof. Here's one. 0.999...= 9*(0.111...) 0.999...=9*[(1-1)+0.111...) 0.999...=9*[(1+0.111...)-1] 0.999...=9*[(1+0.1+0.01+0.001+...)-1] Now 1+0.1+0.001+0.0001+... = 1/(1-0.1)=1/0.9 This is the closed form for the sum of an infinite number of terms of aa geometric series. This is NOT an approximation. This is the actual final value of summing infinite terms of a geometric series. You can see e.g. at Geometric series - Wikipedia, the free encyclopedia[^] or you can look it up in wolfram (too tired to look it up myself right now). Therefore 0.999...=9*[(1/0.9)-1] 0.999...=(9/0.9) -9 0.999...=(90/9) -9 0.999...=10-9 0.999...=1 QED. There's no pesky math there (such as dividing by zero, as the OP did).

                                Φευ! Εδόμεθα υπό ρηννοσχήμων λύκων! (Alas! We're devoured by lamb-guised wolves!)

                                1 Reply Last reply
                                0
                                • C Corporal Agarn

                                  Since I remember it from math about that time it has to be old. :-D How can I remember this but cannot find my car keys?

                                  Mongo: Mongo only pawn... in game of life.

                                  Y Offline
                                  Y Offline
                                  yiangos
                                  wrote on last edited by
                                  #66

                                  Corporal Agarn wrote:

                                  How can I remember this but cannot find my car keys?

                                  It's called "selective memory". Apparently your car keys are not essential to your survival, but finding the flaw in such a trick is. :-\ :-O :laugh: ;P

                                  Φευ! Εδόμεθα υπό ρηννοσχήμων λύκων! (Alas! We're devoured by lamb-guised wolves!)

                                  1 Reply Last reply
                                  0
                                  • M MKJCP

                                    If you divide by zero you get sucked into the mathematical black hole where all logic is lost. But if it were true that 1=0, would that simplify chip design? "A little knowledge is a dangerous thing, drink deeply or taste not."

                                    Y Offline
                                    Y Offline
                                    yiangos
                                    wrote on last edited by
                                    #67

                                    MKJCP wrote:

                                    But if it were true that 1=0, would that simplify chip design?

                                    I wonder, I've heard that qubits can be in the "0" and "1" state at the same time, so does that qualify for "1=0" at any level?

                                    Φευ! Εδόμεθα υπό ρηννοσχήμων λύκων! (Alas! We're devoured by lamb-guised wolves!)

                                    M 1 Reply Last reply
                                    0
                                    • Y yiangos

                                      MKJCP wrote:

                                      But if it were true that 1=0, would that simplify chip design?

                                      I wonder, I've heard that qubits can be in the "0" and "1" state at the same time, so does that qualify for "1=0" at any level?

                                      Φευ! Εδόμεθα υπό ρηννοσχήμων λύκων! (Alas! We're devoured by lamb-guised wolves!)

                                      M Offline
                                      M Offline
                                      MKJCP
                                      wrote on last edited by
                                      #68

                                      I suppose it's arguable but dual state does not imply equality. It sounds like they should have named them confusedbits.

                                      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