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 - making a triangle

Puzzle time - making a triangle

Scheduled Pinned Locked Moved General Discussion
16 Posts 5 Posters 116 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.
  • HoraceH Horace

    It boils down to whether the shortest two pieces sum to a length greater than the largest piece.

    AxtremusA Away
    AxtremusA Away
    Axtremus
    wrote on last edited by
    #6

    @horace said in Puzzle time - making a triangle:

    It boils down to whether the shortest two pieces sum to a length greater than the largest piece.

    :::

    I found a way to cheat (as in I’m pretty sure this is not what @jon-nyc has in mind): you can always form a triangle as long as you do not mind parts of the rods “sticking outside” the triangle.

    :::

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

      I think I found a nice way to illustrate the solution of the problem in one word that doesn't give away anything:

      Butterfly.

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

        @Klaus

        Show your work.

        "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
          #9

          @jon-nyc Does the word "Butterfly" not convince you that I did my homework?

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

            :::

            This is my butterfly.

            5015e18d-892b-4216-9599-9942a33e7370-image.png

            Obviously it occupies 25% of the square.

            :::

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

              Give your quick reasoning? Funny, I’ve thought of two other ways to solve it.

              "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
                #12

                Well, the x and y axis of my graph denote the randomly drawn numbers. The butterfly denotes the pairs of random numbers that result in pieces that satisfy the triangle inequality.

                It’s the graph of the inequalities a+b >=c, a+c>= b, b+c >= a where a = min(x,y), b = max(x,y)-min(x,y) and c = 1-max(x,y). That is, a,b,c are the lengths of the pieces given cuts at x and y.

                I guessed that this would be the obvious way to solve it hence my guess that you’d “get” the butterfly reference. Now I’m curious about your solution.

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

                  I did get it, was just thinking about others that might see it.

                  :::
                  The official solution is like yours but in three dimensions. Consider x, y, and z the length of the three segments.

                  You need to satisfy the equations:

                  x+y+z=1
                  x+y>z
                  x+z>y
                  y+z>x
                  (with x,y, and x only being between 0 and 1)

                  Put them on a unit cube in 3d cartesian coordinates. You see all the triplets satisfying the first equation is a diagonal plane that slices off a corner of this cube, and the values between 0 and 1 lie in an equilateral triangle on this plane with vertices (0,0,1) (0,1,0) (1,0,0). (That's the universe of probabilities that is equivalent to the square from which your butterfly is cut).

                  To apply the inequalities, just see where the three planes (x+y-z=0), (x+z-y=0), (y+z-x=0) intersect with our plane. You find they go from midpoint to midpoint of its sides, cutting our equilateral triangle into four smaller identical ones. The region satisfying the inequalities is the innermost triangle, thus 1/4.

                  Now here's an easier method:

                  Picture the rod as a circle, with the first point being the two ends of the rod.

                  Now the exercise is choosing two points at random, and the test is that there can't be an arc of pi radians between any two points.

                  Anchor the first point at 0, and the second point at theta <=pi (WOLOG). Then the third point must be between pi and pi+theta.

                  So the probability is the expected vale of theta/2pi as theta ranges from 0 to pi: 1/4
                  :::

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

                  KlausK 1 Reply Last reply
                  • MikM Offline
                    MikM Offline
                    Mik
                    wrote on last edited by
                    #14

                    alt text

                    “I am fond of pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals.” ~Winston S. Churchill

                    1 Reply Last reply
                    • jon-nycJ jon-nyc

                      I did get it, was just thinking about others that might see it.

                      :::
                      The official solution is like yours but in three dimensions. Consider x, y, and z the length of the three segments.

                      You need to satisfy the equations:

                      x+y+z=1
                      x+y>z
                      x+z>y
                      y+z>x
                      (with x,y, and x only being between 0 and 1)

                      Put them on a unit cube in 3d cartesian coordinates. You see all the triplets satisfying the first equation is a diagonal plane that slices off a corner of this cube, and the values between 0 and 1 lie in an equilateral triangle on this plane with vertices (0,0,1) (0,1,0) (1,0,0). (That's the universe of probabilities that is equivalent to the square from which your butterfly is cut).

                      To apply the inequalities, just see where the three planes (x+y-z=0), (x+z-y=0), (y+z-x=0) intersect with our plane. You find they go from midpoint to midpoint of its sides, cutting our equilateral triangle into four smaller identical ones. The region satisfying the inequalities is the innermost triangle, thus 1/4.

                      Now here's an easier method:

                      Picture the rod as a circle, with the first point being the two ends of the rod.

                      Now the exercise is choosing two points at random, and the test is that there can't be an arc of pi radians between any two points.

                      Anchor the first point at 0, and the second point at theta <=pi (WOLOG). Then the third point must be between pi and pi+theta.

                      So the probability is the expected vale of theta/2pi as theta ranges from 0 to pi: 1/4
                      :::

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

                      @jon-nyc said in Puzzle time - making a triangle:

                      Picture the rod as a circle

                      Looks like a conceptual move, not an algebraic one.

                      Link to video

                      Eh, time stamps don't seem to work in embedded videos. Forward to 3:25.

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

                        I thought this might be a good excuse to toy around with Maple a little, which I have wanted to do for a while.

                        Works nicely.

                        89d30b43-eed3-4c22-a3bb-1e2b1fcb2429-image.png

                        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