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. Would Maths 'Work' in a Different Base?

Would Maths 'Work' in a Different Base?

Scheduled Pinned Locked Moved The Lounge
questionannouncement
39 Posts 18 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.
  • B Ben Breeg

    So there I was, wallowing in the bath when it suddenly occurs to me 'would maths work the same if we used a different base.' What I mean is, lets say instead of the 10 fingers that we have and on which our decimal counting system is based we had say 14 fingers so we would be counting in base 14 as the norm. Would things like Pythagoras theorem, the Fibonacci sequence, Pi, prime numbers, calculus, square roots, sins, cosines and tangents work? Not being a mathematician, I can't get my head round whether these would work or not. Intuition tells me it would. Would this work in base 14? http://news.bbc.co.uk/1/hi/sci/tech/2911945.stm[^] Does Riemann's hypothesis work in any base? What do the great and good think?

    I am the Breeg, goo goo g'joob Aici zace un om despre care nu sestie prea mult

    G Offline
    G Offline
    Gregory Gadow
    wrote on last edited by
    #9

    Yes and no. With sequences of whole numbers, base does not matter. However, some properties of a sequence, such as the "shallow diagonal" property of the Fibonacci sequence, take on different characteristics in different bases. Geometric values, such as pi, phi and e, will be eqivalent regardless of base: given any circle, the ratio of its circumference and its diameter will equal pi regardless of what base you are using. The most notable problem when using different bases is the representation of a fractional part. For example, the ratio of 1/10 in base-10 evaluates to a rational number, 0.1. The eqivalent in base-2, 1/1010, evaluates to an irrational number, 0.000110011.... There is a whole branch of mathematics that looks at translation between bases, although I cannot remember what that field is.

    B S 2 Replies Last reply
    0
    • G Gregory Gadow

      Yes and no. With sequences of whole numbers, base does not matter. However, some properties of a sequence, such as the "shallow diagonal" property of the Fibonacci sequence, take on different characteristics in different bases. Geometric values, such as pi, phi and e, will be eqivalent regardless of base: given any circle, the ratio of its circumference and its diameter will equal pi regardless of what base you are using. The most notable problem when using different bases is the representation of a fractional part. For example, the ratio of 1/10 in base-10 evaluates to a rational number, 0.1. The eqivalent in base-2, 1/1010, evaluates to an irrational number, 0.000110011.... There is a whole branch of mathematics that looks at translation between bases, although I cannot remember what that field is.

      B Offline
      B Offline
      Bassam Abdul Baki
      wrote on last edited by
      #10

      No idea, but p-adic[^] numbers are cool.

      Web - BM - RSS - Math - LinkedIn

      1 Reply Last reply
      0
      • B Bassam Abdul Baki

        For the most part, yes. There are some things that work in some bases, but not in others, even in some complex bases. A hexadecimal representation of pi was discovered a while back, but no decimal representation is possible (I think).

        Web - BM - RSS - Math - LinkedIn

        A Offline
        A Offline
        AspDotNetDev
        wrote on last edited by
        #11

        Bassam Abdul-Baki wrote:

        A hexadecimal representation of pi was discovered a while back, but no decimal representation is possible

        Huh? Then what is 3.14159...

        [Managing Your JavaScript Library in ASP.NET]

        B 1 Reply Last reply
        0
        • A AspDotNetDev

          14 in base-10 is the same as E in base-14 (though perhaps then we'd call it base-E). The relations are all the same, the numbers would just be presented differently. Consider, for example, that the approximate value of pie is just as easy to represent on your computer in binary (base-2) as it is on paper using base-10. Dividing by 2 in any number system is just cutting in half.

          [Managing Your JavaScript Library in ASP.NET]

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #12

          AspDotNetDev wrote:

          Dividing by 2 in any number system is just cutting in half.

          In Binary, it's cutting 10 in 0.1

          MVVM# - See how I did MVVM my way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')

          1 Reply Last reply
          0
          • A AspDotNetDev

            Bassam Abdul-Baki wrote:

            A hexadecimal representation of pi was discovered a while back, but no decimal representation is possible

            Huh? Then what is 3.14159...

            [Managing Your JavaScript Library in ASP.NET]

            B Offline
            B Offline
            Bassam Abdul Baki
            wrote on last edited by
            #13

            An approximation. In decimal, a few billion digits have been calculated. In hexadecimal, a representation was found.

            A 2 Replies Last reply
            0
            • B Bassam Abdul Baki

              An approximation. In decimal, a few billion digits have been calculated. In hexadecimal, a representation was found.

              A Offline
              A Offline
              AspDotNetDev
              wrote on last edited by
              #14

              Link or it didn't happen!

              [Managing Your JavaScript Library in ASP.NET]

              A 1 Reply Last reply
              0
              • A AspDotNetDev

                Link or it didn't happen!

                [Managing Your JavaScript Library in ASP.NET]

                A Offline
                A Offline
                Albert Holguin
                wrote on last edited by
                #15

                You have to wait until he makes a Wikipedia page for it... may take a second or two... :laugh:

                A 1 Reply Last reply
                0
                • A Albert Holguin

                  You have to wait until he makes a Wikipedia page for it... may take a second or two... :laugh:

                  A Offline
                  A Offline
                  AspDotNetDev
                  wrote on last edited by
                  #16

                  If he really wants to make it convincing, he should ask for help from a pro, such as DD.

                  [Managing Your JavaScript Library in ASP.NET]

                  1 Reply Last reply
                  0
                  • B Bassam Abdul Baki

                    For the most part, yes. There are some things that work in some bases, but not in others, even in some complex bases. A hexadecimal representation of pi was discovered a while back, but no decimal representation is possible (I think).

                    Web - BM - RSS - Math - LinkedIn

                    L Offline
                    L Offline
                    Luc Pattyn
                    wrote on last edited by
                    #17

                    You probably mean 16/7. It is too bad there is no Nobel prize for Maths. :((

                    Luc Pattyn [My Articles] Nil Volentibus Arduum

                    The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
                    Please use <PRE> tags for code snippets, they improve readability.
                    CP Vanity has been updated to V2.3

                    A B 2 Replies Last reply
                    0
                    • B Bassam Abdul Baki

                      An approximation. In decimal, a few billion digits have been calculated. In hexadecimal, a representation was found.

                      A Offline
                      A Offline
                      AspDotNetDev
                      wrote on last edited by
                      #18

                      If you are talking about this, it just allows you to calculate the n-th digit of pi in a variety of number bases, but the number of digits is still infinite. Well, unless your number system is in increments of pi (0π, 1π, 2π...). :rolleyes:

                      [Managing Your JavaScript Library in ASP.NET]

                      B 1 Reply Last reply
                      0
                      • B Ben Breeg

                        So there I was, wallowing in the bath when it suddenly occurs to me 'would maths work the same if we used a different base.' What I mean is, lets say instead of the 10 fingers that we have and on which our decimal counting system is based we had say 14 fingers so we would be counting in base 14 as the norm. Would things like Pythagoras theorem, the Fibonacci sequence, Pi, prime numbers, calculus, square roots, sins, cosines and tangents work? Not being a mathematician, I can't get my head round whether these would work or not. Intuition tells me it would. Would this work in base 14? http://news.bbc.co.uk/1/hi/sci/tech/2911945.stm[^] Does Riemann's hypothesis work in any base? What do the great and good think?

                        I am the Breeg, goo goo g'joob Aici zace un om despre care nu sestie prea mult

                        A Offline
                        A Offline
                        Amar Chaudhary
                        wrote on last edited by
                        #19

                        It would have evolved that way - they didn't have borrowed characters form alphabets. And its not about conversion from based 10 to base x, everything would have been developed according to base x, so there is a probability that they would have figured out something similar but can't be said exactly....

                        My Startup!!!!
                        Profile@Elance - feedback available too

                        1 Reply Last reply
                        0
                        • G Gregory Gadow

                          Yes and no. With sequences of whole numbers, base does not matter. However, some properties of a sequence, such as the "shallow diagonal" property of the Fibonacci sequence, take on different characteristics in different bases. Geometric values, such as pi, phi and e, will be eqivalent regardless of base: given any circle, the ratio of its circumference and its diameter will equal pi regardless of what base you are using. The most notable problem when using different bases is the representation of a fractional part. For example, the ratio of 1/10 in base-10 evaluates to a rational number, 0.1. The eqivalent in base-2, 1/1010, evaluates to an irrational number, 0.000110011.... There is a whole branch of mathematics that looks at translation between bases, although I cannot remember what that field is.

                          S Offline
                          S Offline
                          Sean Cundiff
                          wrote on last edited by
                          #20

                          Gregory.Gadow wrote:

                          The most notable problem when using different bases is the representation of a fractional part. For example, the ratio of 1/10 in base-10 evaluates to a rational number, 0.1. The eqivalent in base-2, 1/1010, evaluates to an irrational number, 0.000110011....

                          Actually, the base of a number has nothing to do with whether it's rational or irrational. Your example of 1/10 in base-2 is still rational as a rational number is a number that can be represented by: P/Q Where P and Q are integers. In base-10 your example is 1/10. In base-2 your example is 1/1010. Both are the ratio of two integers and thus are rational. Don't confuse a decimal fraction that is infinitely long as irrational. 1/3 is a rational number yet its decimal representation is 0.3333333... If the decimal fraction is finite length the number is rational. If the decimal fraction is infinite length but repeating the number is rational. If the decimal fraction is infinite length and non-repeating the number is irrational.

                          -Sean ---- Fire Nuts

                          G 1 Reply Last reply
                          0
                          • L Luc Pattyn

                            You probably mean 16/7. It is too bad there is no Nobel prize for Maths. :((

                            Luc Pattyn [My Articles] Nil Volentibus Arduum

                            The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
                            Please use <PRE> tags for code snippets, they improve readability.
                            CP Vanity has been updated to V2.3

                            A Offline
                            A Offline
                            AspDotNetDev
                            wrote on last edited by
                            #21

                            Luc Pattyn wrote:

                            You probably mean 16/7.

                            :confused:

                            [Managing Your JavaScript Library in ASP.NET]

                            L 1 Reply Last reply
                            0
                            • A AspDotNetDev

                              Luc Pattyn wrote:

                              You probably mean 16/7.

                              :confused:

                              [Managing Your JavaScript Library in ASP.NET]

                              L Offline
                              L Offline
                              Luc Pattyn
                              wrote on last edited by
                              #22

                              He wanted a hex formula! :)

                              Luc Pattyn [My Articles] Nil Volentibus Arduum

                              The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
                              Please use <PRE> tags for code snippets, they improve readability.
                              CP Vanity has been updated to V2.3

                              B 1 Reply Last reply
                              0
                              • S Sean Cundiff

                                Gregory.Gadow wrote:

                                The most notable problem when using different bases is the representation of a fractional part. For example, the ratio of 1/10 in base-10 evaluates to a rational number, 0.1. The eqivalent in base-2, 1/1010, evaluates to an irrational number, 0.000110011....

                                Actually, the base of a number has nothing to do with whether it's rational or irrational. Your example of 1/10 in base-2 is still rational as a rational number is a number that can be represented by: P/Q Where P and Q are integers. In base-10 your example is 1/10. In base-2 your example is 1/1010. Both are the ratio of two integers and thus are rational. Don't confuse a decimal fraction that is infinitely long as irrational. 1/3 is a rational number yet its decimal representation is 0.3333333... If the decimal fraction is finite length the number is rational. If the decimal fraction is infinite length but repeating the number is rational. If the decimal fraction is infinite length and non-repeating the number is irrational.

                                -Sean ---- Fire Nuts

                                G Offline
                                G Offline
                                Gregory Gadow
                                wrote on last edited by
                                #23

                                D'oh! That's embarassing. Yes, I meant to say "finite" for base-10 and "infinite" for base-2. As a former math major, I should have known better.

                                1 Reply Last reply
                                0
                                • B Ben Breeg

                                  So there I was, wallowing in the bath when it suddenly occurs to me 'would maths work the same if we used a different base.' What I mean is, lets say instead of the 10 fingers that we have and on which our decimal counting system is based we had say 14 fingers so we would be counting in base 14 as the norm. Would things like Pythagoras theorem, the Fibonacci sequence, Pi, prime numbers, calculus, square roots, sins, cosines and tangents work? Not being a mathematician, I can't get my head round whether these would work or not. Intuition tells me it would. Would this work in base 14? http://news.bbc.co.uk/1/hi/sci/tech/2911945.stm[^] Does Riemann's hypothesis work in any base? What do the great and good think?

                                  I am the Breeg, goo goo g'joob Aici zace un om despre care nu sestie prea mult

                                  S Offline
                                  S Offline
                                  Soulus83
                                  wrote on last edited by
                                  #24

                                  I remember having read that a lot of common problems and complication of decimal system would be non-existent if we used duodecimal system.... Clickety!

                                  "Whether you think you can, or you think you can't--either way, you are right." — Henry Ford "When I waste my time, I only use the best, Code Project...don't leave home without it." — Slacker007

                                  1 Reply Last reply
                                  0
                                  • A AspDotNetDev

                                    If you are talking about this, it just allows you to calculate the n-th digit of pi in a variety of number bases, but the number of digits is still infinite. Well, unless your number system is in increments of pi (0π, 1π, 2π...). :rolleyes:

                                    [Managing Your JavaScript Library in ASP.NET]

                                    B Offline
                                    B Offline
                                    Bassam Abdul Baki
                                    wrote on last edited by
                                    #25

                                    That's the one. In base 10, you need to calculate all n digits to calculate the (n+1)th. With that equation, you calculate the nth in base 16 (or 2) without having to calculate the previous ones. Some things are unique to some bases.

                                    1 Reply Last reply
                                    0
                                    • L Luc Pattyn

                                      He wanted a hex formula! :)

                                      Luc Pattyn [My Articles] Nil Volentibus Arduum

                                      The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
                                      Please use <PRE> tags for code snippets, they improve readability.
                                      CP Vanity has been updated to V2.3

                                      B Offline
                                      B Offline
                                      Bassam Abdul Baki
                                      wrote on last edited by
                                      #26

                                      ROTFL! Don't confuse him. :)

                                      A 1 Reply Last reply
                                      0
                                      • L Luc Pattyn

                                        You probably mean 16/7. It is too bad there is no Nobel prize for Maths. :((

                                        Luc Pattyn [My Articles] Nil Volentibus Arduum

                                        The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
                                        Please use <PRE> tags for code snippets, they improve readability.
                                        CP Vanity has been updated to V2.3

                                        B Offline
                                        B Offline
                                        Bassam Abdul Baki
                                        wrote on last edited by
                                        #27

                                        I wonder if that adage about a mathematician sleeping with Nobel's wife is true? If so, he got the first and main prize.

                                        1 Reply Last reply
                                        0
                                        • B Bassam Abdul Baki

                                          ROTFL! Don't confuse him. :)

                                          A Offline
                                          A Offline
                                          AspDotNetDev
                                          wrote on last edited by
                                          #28

                                          He confuses me almost 18/7/16D.

                                          [Managing Your JavaScript Library in ASP.NET]

                                          L 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