Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Cutting the cake

  1. Aug 3, 2010 #1


    User Avatar
    Gold Member

    I work with a bunch of software geeks. It was someone's brithday last week and we got him a cake, one of those white rectangular ones.

    Someone joked about about many pieces he needed to cut it into, someone else made a joke about matricies.

    I said he had to cut it into a prime number of pieces, all the same size and shape. How many cuts did he have to make?
  2. jcsd
  3. Aug 4, 2010 #2
    I vote for 1 cut!

  4. Aug 6, 2010 #3


    User Avatar

    No cuts (zero) and one piece!
    2 cuts and 3 pieces!
  5. Aug 6, 2010 #4


    User Avatar
    Gold Member

    1 is not a prime number.
    How will you cut a rectangular cake into 3 same-size same-shape pieces?

    Out of a possible 1 points, your score is now -1. :biggrin:
  6. Aug 14, 2010 #5


    User Avatar
    Staff Emeritus
    Gold Member

    Say the cake is 3 ft x 1 ft. Make two cuts, perpendicular to the long axis of the cake, at the 1 ft and 2 ft marks as measured from either end of the long axis. You have 3 1 ft x 1 ft pieces of cake.
  7. Aug 15, 2010 #6


    User Avatar
    Gold Member

    Good one.
  8. Aug 15, 2010 #7
    What's the answer if it's chocolate cake?
  9. Mar 17, 2011 #8
    If it is a chocolate cake I will not bother to cut in such a fashion. Just have whole of it. This question has infinite answers.
  10. Mar 17, 2011 #9


    User Avatar
    Gold Member

    Not really. The question asks how many he had to cut. The implication is that the answer assumes no more cuts than necessary to meet the conditions.

    Also, some answers are going to be trvially similar.They can be generalized using algebra to result in a small and very finite number of answers.
  11. Mar 18, 2011 #10
    For a white, rectangular cake:
    a single cut which passes through the center of the cake will cut it into 2 pieces. Since 2 is a prime, this should suffice. The interesting thing is that it doesn't matter what angle the cut makes with the cake, the two pieces will be the same size and shape.
    Chocolate cakes work the same.
  12. Mar 19, 2011 #11

    I like Serena

    User Avatar
    Homework Helper

    If the number of guests is the prime number p, you are forced to make p - 1 cuts that are parallel to each other.
    The only exception is p = 2, where any cut through the center is ok.
    Note that the same holds for a circular cake where you would cut from the center outwards.
    In this case the cuts do not need to be straight as long as rotational symmetry is observed.
    In the rectangular case, all cuts need to be straight, because we need to observe translational symmetry and the sides of the cake are straight.
    The exception is for p = 2, where any cut through the center works as long as it is point-symmetric.
    -- I like ILSe
    Last edited: Mar 19, 2011
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook