Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • 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

The New Coffee Room

  1. TNCR
  2. General Discussion
  3. Puzzle time - more pie slicing

Puzzle time - more pie slicing

Scheduled Pinned Locked Moved General Discussion
17 Posts 4 Posters 132 Views
  • 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.
  • jon-nycJ Online
    jon-nycJ Online
    jon-nyc
    wrote on last edited by
    #1

    You have a pie slicing machine that chooses two points around the circumference of a pie at random and slices between them. Note both points are randomly chosen, uniformly distributed around the pie.

    If your machine makes three cuts, how many pieces would you expect to have?

    "You never know what worse luck your bad luck has saved you from."
    -Cormac McCarthy

    A 1 Reply Last reply
    • KlausK Offline
      KlausK Offline
      Klaus
      wrote on last edited by
      #2

      What you mean by "expect"? You mean the probability distribution of how many pieces there are?

      1 Reply Last reply
      • jon-nycJ Online
        jon-nycJ Online
        jon-nyc
        wrote on last edited by jon-nyc
        #3

        The expected value. It’s a defined term in stats.

        "You never know what worse luck your bad luck has saved you from."
        -Cormac McCarthy

        1 Reply Last reply
        • KlausK Offline
          KlausK Offline
          Klaus
          wrote on last edited by
          #4

          Oh, I somehow assumed you were looking for an integer number.

          jon-nycJ 1 Reply Last reply
          • HoraceH Online
            HoraceH Online
            Horace
            wrote on last edited by
            #5

            seems like a combinatorics problem, knowing how the sequence of points works and how it dictates crossing points and therefore pieces. For the puzzle to be soluble it can't matter the absolute locations of the points, only their order. Or so it strikes me.

            Education is extremely important.

            1 Reply Last reply
            • KlausK Klaus

              Oh, I somehow assumed you were looking for an integer number.

              jon-nycJ Online
              jon-nycJ Online
              jon-nyc
              wrote on last edited by
              #6

              @Klaus said in Puzzle time - more pie slicing:

              Oh, I somehow assumed you were looking for an integer number.

              It’s a number. Might be an integer, might not.

              "You never know what worse luck your bad luck has saved you from."
              -Cormac McCarthy

              1 Reply Last reply
              • jon-nycJ Online
                jon-nycJ Online
                jon-nyc
                wrote on last edited by
                #7

                @Horace you're on track.

                "You never know what worse luck your bad luck has saved you from."
                -Cormac McCarthy

                1 Reply Last reply
                • KlausK Offline
                  KlausK Offline
                  Klaus
                  wrote on last edited by Klaus
                  #8

                  I think that one isn't hard. Choose three pairs of numbers between 0 and 1 (or 0 and 2 pi) at random. Sort them. Interleaving pairs of numbers stand for intersecting lines. All that matters are the number of interleavings. Number of pieces = 4+#interleavings.

                  1 Reply Last reply
                  • KlausK Offline
                    KlausK Offline
                    Klaus
                    wrote on last edited by Klaus
                    #9

                    ||
                    Unless I screwed up somewhere, the probability for two random cuts to intersect is 1/3.

                    That means the probability for 4 pieces is 8/27, for 5 pieces 12/27, for 6 pieces 6/27, for 7 pieces 1/27. Which has an expected value of exactly 5.
                    ||

                    1 Reply Last reply
                    • jon-nycJ jon-nyc

                      You have a pie slicing machine that chooses two points around the circumference of a pie at random and slices between them. Note both points are randomly chosen, uniformly distributed around the pie.

                      If your machine makes three cuts, how many pieces would you expect to have?

                      A Online
                      A Online
                      AndyD
                      wrote on last edited by
                      #10

                      @jon-nyc said in Puzzle time - more pie slicing:

                      You have a pie slicing machine that chooses two points around the circumference of a pie at random and slices between them. Note both points are randomly chosen, uniformly distributed around the pie.

                      If your machine makes three cuts, how many pieces would you expect to have?

                      Dunno, but my dog's expecting the smallest

                      1 Reply Last reply
                      • jon-nycJ Online
                        jon-nycJ Online
                        jon-nyc
                        wrote on last edited by
                        #11

                        @Klaus

                        ||Yes. One way to do this is to think of 6 points randomly placed on a circle and consider there are 15 ways to connect them. 5 ways give you 4, 6 ways give you 5, 3 ways get you 6, and one way gets you 7. It averages to 5.

                        But a general solution is easier. Each new cut adds a piece, plus there’s a 1/3 chance of intersecting each existing cut which also creates a new piece.

                        So f(1)=2, and, and f(n+1)=f(n)+1+n/3

                        So the expected number of slices is (n+2)(n+3)/6||

                        "You never know what worse luck your bad luck has saved you from."
                        -Cormac McCarthy

                        KlausK 1 Reply Last reply
                        • jon-nycJ jon-nyc

                          @Klaus

                          ||Yes. One way to do this is to think of 6 points randomly placed on a circle and consider there are 15 ways to connect them. 5 ways give you 4, 6 ways give you 5, 3 ways get you 6, and one way gets you 7. It averages to 5.

                          But a general solution is easier. Each new cut adds a piece, plus there’s a 1/3 chance of intersecting each existing cut which also creates a new piece.

                          So f(1)=2, and, and f(n+1)=f(n)+1+n/3

                          So the expected number of slices is (n+2)(n+3)/6||

                          KlausK Offline
                          KlausK Offline
                          Klaus
                          wrote on last edited by
                          #12

                          ||
                          @jon-nyc said in Puzzle time - more pie slicing:

                          Yes. One way to do this is to think of 6 points randomly placed on a circle and consider there are 15 ways to connect them. 5 ways give you 4, 6 ways give you 5, 3 ways get you 6, and one way gets you 7. It averages to 5.

                          Wait a second, that sounds plausible, but although it gives you the same expected value, the values seem to differ. For instance, your solution gives a probability of 1/15 for 7 pieces, whereas mine gives 1/27. Something's wrong here.

                          ||

                          jon-nycJ 1 Reply Last reply
                          • KlausK Klaus

                            ||
                            @jon-nyc said in Puzzle time - more pie slicing:

                            Yes. One way to do this is to think of 6 points randomly placed on a circle and consider there are 15 ways to connect them. 5 ways give you 4, 6 ways give you 5, 3 ways get you 6, and one way gets you 7. It averages to 5.

                            Wait a second, that sounds plausible, but although it gives you the same expected value, the values seem to differ. For instance, your solution gives a probability of 1/15 for 7 pieces, whereas mine gives 1/27. Something's wrong here.

                            ||

                            jon-nycJ Online
                            jon-nycJ Online
                            jon-nyc
                            wrote on last edited by
                            #13

                            @Klaus said in Puzzle time - more pie slicing:

                            Something's wrong here.

                            ||That would be you.||

                            "You never know what worse luck your bad luck has saved you from."
                            -Cormac McCarthy

                            1 Reply Last reply
                            • jon-nycJ Online
                              jon-nycJ Online
                              jon-nyc
                              wrote on last edited by
                              #14

                              Seriously there are only 15 distinct ways to connect 6 random points. The lowest probability would be 1 in 15.

                              "You never know what worse luck your bad luck has saved you from."
                              -Cormac McCarthy

                              KlausK 1 Reply Last reply
                              • jon-nycJ Online
                                jon-nycJ Online
                                jon-nyc
                                wrote on last edited by
                                #15

                                Screen Shot 2020-11-19 at 10.05.28 AM.png

                                "You never know what worse luck your bad luck has saved you from."
                                -Cormac McCarthy

                                1 Reply Last reply
                                • jon-nycJ jon-nyc

                                  Seriously there are only 15 distinct ways to connect 6 random points. The lowest probability would be 1 in 15.

                                  KlausK Offline
                                  KlausK Offline
                                  Klaus
                                  wrote on last edited by
                                  #16

                                  @jon-nyc said in Puzzle time - more pie slicing:

                                  Seriously there are only 15 distinct ways to connect 6 random points. The lowest probability would be 1 in 15.

                                  I don't disagree.

                                  But if the probability for two lines to intersect is 1/3, wouldn't the probability for three lines to intersect pairwise be 1/3 * 1/3 * 1/3?

                                  1 Reply Last reply
                                  • jon-nycJ Online
                                    jon-nycJ Online
                                    jon-nyc
                                    wrote on last edited by
                                    #17

                                    I see the oddity. Yet let’s imagine the conditional probability where the first two chords intersect.

                                    When you place the fifth point you have this:

                                    B79BEC87-B4A3-4064-82C5-1A30CEA205C6.jpeg

                                    It’s clear that point 6 has an equal chance of being placed in sections a, b, c, d, or e. Only e gives you three intersections. So p = 1/3 * 1/5.

                                    "You never know what worse luck your bad luck has saved you from."
                                    -Cormac McCarthy

                                    1 Reply Last reply
                                    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
                                    • Users
                                    • Groups