Celebrating with Software Geeks: Cutting the Cake

  • Thread starter Thread starter DaveC426913
  • Start date Start date
  • Tags Tags
    Cutting
AI Thread Summary
The discussion revolves around the challenge of cutting a rectangular cake into a prime number of equal pieces. Initially, participants joke about the number of cuts needed, with one suggesting that one cut could suffice. However, it is clarified that one piece does not constitute a prime number. The conversation progresses to determine how to cut a 3 ft x 1 ft cake into three equal pieces, which can be achieved with two perpendicular cuts. The dialogue also touches on the preference for not cutting a chocolate cake, humorously suggesting that the cake is best enjoyed whole. Ultimately, the conversation emphasizes the mathematical aspect of cutting the cake while acknowledging the playful banter among colleagues.
DaveC426913
Gold Member
Messages
23,835
Reaction score
7,833
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?
 
Physics news on Phys.org
DaveC426913 said:
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?

I vote for 1 cut!

DaveE
 
No cuts (zero) and one piece!
2 cuts and 3 pieces!
 
LAF said:
No cuts (zero) and one piece!
1 is not a prime number.
LAF said:
2 cuts and 3 pieces!
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:
 
DaveC426913 said:
How will you cut a rectangular cake into 3 same-size same-shape pieces?

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.
 
loseyourname said:
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.

Good one.
 
What's the answer if it's chocolate cake?
 
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.
 
ashishsinghal said:
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.

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.
 
  • #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.
 
  • #11
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.
[EDIT]
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.
[/EDIT]
-- I like ILSe
 
Last edited:

Similar threads

Replies
13
Views
6K
Replies
41
Views
15K
Replies
7
Views
3K
Replies
7
Views
2K
Replies
7
Views
2K
Replies
2
Views
1K
Replies
12
Views
2K
Replies
18
Views
4K
Back
Top