How to cut a square grid ?
Season 3
Episode 19 Time frame 2 periods
Prerequisites :
Coneptofproofbyindution.Objectives :
•
Conjeturea propertyand useindutionto prove it.Materials :
•
Retangulargrids.•
Sissors.1 – Problem 1 : The minimal cut length 10 mins
Students have to nd out ifthereis way tominimize thelength ut.
2 – Problem 2 : The minimal number of cuts 45 mins
Students haveto searh for away to minimizethe number ofuts, autbeingunderstoodasa
omplete lengthwiseand widthwiseutting movement.
Theyshould :
1
. notie thatthe number ofuts isalways thesame;2
. nd theformulafor the number ofuts;3
. prove thatthe formulaisorret, whatevertheutting methodused.3 – Problem 3 : The minimal cutting time 55 mins
In this part, we take into aount that the grid may have to be turned
90 ◦ sometimes. If we
onsiderthatoneuttakesthesame timeasoneturn,we anomputethetimeneededforeah
utting plan. Students have to nd awayto minimize thatutting time, and prove thevalidity
of their answer.
Document Lesson
Whenpreparingmylessons,Ioftenhavetout
out a squaregridto make individualards.
As itis not a partiularly interesting ativity,
I often wonder what is the best way to do so.
The bestwayould bedened asthe method
using :
•
the minimalutlength;•
the minimalnumberof uts;•
the minimalutting time.Consider a squaregridwithlength
m + 1
andwidth
n + 1
, wherem
andn
are two wholenumbers.
n + 1
m + 1
The minimal cut length
This rst problem is easy to solve. No matter how you do it, you'll have to ut
m
times alongthewidth
n + 1
andn
timesalong the lengthm + 1
.Sothe totalutlength isalways equaltom(n + 1) + n(m + 1) = mn + m + mn + n = 2mn + m + n.
Therefore, thereisno wayto minimize the totalutlength.
The minimal number of cuts
Now,thereisaproblemthatmaybeworthit.If
m
andn
arebigenough,therearemanydierentwaystoutoutthegridompletely.Surelyoneofthemshouldinvolveaminimalnumberofuts.
Of ourse,one ould have theidea of putting two previously utparts one on top of theother,
adjustingthelines, anduttwopieessimultaneously.Experieneshowsthatthisisnot soeasy,
and theutsresulting arealmost neverperfet.So we willforbid this.
It's lear thatfor a
1 × k
grid,k
uts areneeded. Now, let'sstudy some possibleuting plansfor a
(m + 1)(n + 1)
grid.•
If we rst ut along then
vertial lines, and thenut then + 1
vertial strips along them
horizontal lines, thenthetotal numberofuts is
n + (n + 1) × m = mn + m + n.
•
Ifwe rstutalongthem
horizontallinesand thenutthem + 1
horizontalstrips alongthen
horizontallines, thenthe total numberof utsism + (m + 1) × n = mn + m + n.
So for these two extreme situations, the num-
ber of uts is the same. Now, let's try some-
thing abit moreompliated. First,utalong
therst vertial linefrom theleft:
1
ut.Then ut along the
m
horizontal lines of thetwo vertial strips:
2
timesm
uts.The left-handsidestripisnowompletelyut
out, andthe right-handside gridhasbeenut
into
m + 1
strips. Eah of strips must be utalong its
n − 1
vertial lines.Finally,thetotal numberofuts is
1 + m + m + (m + 1)(n − 1)
= 1 + m + m + mn − m + n − 1
= mn + m + n.
So the number of uts seems to be onstant, just like the utlength. It is indeed, and we will
prove this resultbyindution.
Proposition. Any method to ut-out ompletely a
(m + 1) × (n + 1)
square grid involvesmn + m + n
uts.Proof.First, onsidera
1 × (k + 1)
squaregrid, som = 0
andn = k
.Any method to utitwillinvolve
k
uts,andmn + m + n = 0 × k + 0 + k = k
sothepropertyis true.Now onsider any
(m + 1) × (n + 1)
square grid and assume that the property is true for anysquare grid smaller than that. The rst ut must be a vertial or horizontal one. Let's assume
that it's vertial, the proof being exatlythe same if it is horizontal. This rst utdivides the
gridintwo smallergrids,whose widthare
k + 1
,wherek
isa numberbetween0
andn − 1
,andn + 1 − (k + 1) = n − k
.Aording to our indutive hypothesis, any method to ut out the
(m + 1) × (k + 1)
grid willinvolve
mk + m + k
uts. Inthesame way,anymethodto utout the(m + 1) × (n − k)
gridwillinvolve
m(n − k − 1) + m + (n − k − 1)
uts. Therefore,thetotal numberofuts isequal to1 + mk + m + k + m(n − k − 1) + m + (n − k − 1)
= 1 + mk + m + k + mn − mk − m + m + n − k − 1
= 1 − 1 + mk − mk + m − m + k − k + mn + m + n
= mn + m + n.
Thisproesswill ultimatelyendupwith
1 × (k + 1)
squaregrids.So,byomplete indution,thepropertyisproven.
The minimal cutting time
Now,let'saddatwisttotheproblem.Tomakeaperfetut,it'sbettertoutalongavertialline
than alonga horizontal(wherevertial isunderstoodasthediretion ofthegazeoftheutter).
So we an imagine that before eah ut, it's better to turn thepiee inthe right diretion. To
taje this into aount, let's add 1 for eah turning of a piee of the grid, onsidering that this
takesthesame time asaut.
Inthis setion,all theresults willthereforebegiveninutting timeunits,a unitbeingthetime
needed to do one omplete ut or turn the piee of grid around. We onsider that the utting
timeisnot relatedto thelengthof theutwhih isindeedtheasewhen usinga paper utter
and not apair ofsissors.
Consider oneagain a
(m + 1) × (n + 1)
squaregrid.If we start byutting all the vertial lines in the urrent position, then we will have to rotate
eah ofthe
n + 1
stripsof squares andutthem one byone. Sotheutting timewill beC h = n + (n + 1) × (1 + m) = nm + 2n + m + 1.
Ifwerstrotatethegrid(thisturnisnotounted,astheinitialpositionofthegridisnotdened
a priori),than we getthe symetrialformula:
C v = nm + 2m + n + 1.
Thedierene between thesetwo numbersis
C h − C v = n − m
.It'sgreaterthan0
ifn
isstritlygreater than
m
(the situation shown on the piture). In that ase, itwouldbe quiker to startinthe positionwhere thelongest sideis vertial.
Now, suppose that
m < n
and let's study the other utting plan introdued in the previoussetion, withthe new rule.Itgoeslike this :
•
Cutalong the rstvertial line fromtheleft :1
timeunit.•
Rotatetheleft handstripand utitintom + 1
unit squares:1 + m
timeunits.•
Rotatetheright handgrid andutit intom + 1
strips:1 + m
timeunits.•
For eahofthem + 1
strips,rotate itandutitinton
unitsquares:(m + 1)(1 + n − 1)
timeunits.
The utting time istherefore
1 + 2 × (1 + m) + n(m + 1) = nm + 2m + n + 3.
Thisis obviously greaterthan
C v.
In fat, it may be notied that the number of uts is the same as in the previous setion, the
dierene being in the number of turns. Indeed, if we look at the situation where the longest
length is vertial and we start by doing all the vertial uts, there are
mn + m + n
uts andm + 1
turns(one for eah strip)andC v = mn + m + n + m + 1
.So our problemis justto ndtheminimal numberofturns.
Proposition. Any method to ut-out ompletely a
(m + 1) × (n + 1)
square grid involves atleastMin
(m, n) + 1
turns.Proof.First,onsidera
1 × k
stripofk
squares,inavertialposition,for anynatural numberk
greaterthan
1
.Obviously,to utit out,we need to turnit onerst.So thepropertyis trueinthatase.
Now, assumethat the property is truefor any
(i + 1) × (j + 1)
square grid smaller than(m + 1) × (n + 1)
,and also thatm < n
.Then we have to prove that thenumber of turns is at leastm + 1
.Weandeideto putthe gridinavertial positionandstart uttingthatway.Therstutwill
be along one of the vertial lines, so thatthere will be a
(k + 1) × (n + 1)
grid on the leftanda
(m − k) × (n + 1)
on the right, with0 < k < m
.Eah strip is still in a vertial position, ask < m < n
andm − k < m < n
,so,aordingto our indutionhypothesis,we will needat least Min(k, n) + 1 = k + 1
turns for theleft-hand part and Min(m − k − 1, n) + 1 = m − k
for theother. So thetotal numberof turnsfor thewholegrid isat least
k + 1 + m − k = m + 1.
But we an also deide to start with the grid plaed horizontally. Then, the rst ut will be
along one of the shortest lines, so that there will be a
(m + 1) × (k + 1)
grid on the left anda
(m + 1) × (n − k)
on the right, with0 < k < n
. Let's lookat the(m + 1) × (k + 1)
grid. Ifk 6 m
,than aording to our indution hypothesis, the minimal number of turns to ut it is Min(k, m) + 1 = k + 1 = k
.Ifm < k
,thanthe minimalnumberofutsisMin(k, m) + 1 = m + 1
.Now, let'slookat the
(m + 1) × (n − k)
grid. Ifn − k − 1 6 m
,than aordingto our indutionhypothesis,theminimalnumberofturnstoutitisMin
(n − k − 1, m)+1 = n − k
.Ifm < n − k − 1
,than the minimalnumberof uts isMin
(n − k − 1, m) + 1 = m + 1
.Thetotal number of turnsis given inthetable below:
If
k 6 m m < k
If
n − k − 1 6 m k + 1 + n − k = n + 1 m + 1 + n − k
If
m < n − k − 1 k + 1 + m + 1 m + 1 + m + 1 = 2m + 2
Weassumed that
m < n
,and fromits deniton0 < k < n
.Therefore,we an say thatn + 1 >
m + 1
,k + 1 + m + 1 > m + 1
andm + 1 + n − k > m + 1
.Also,it'sobviousthat2m + 2 > geq
.So, in eah ase, the number of turns is more than
m + 1
, whih ompletes the proof of theproposition, byindutionoverthesize ofthe grid.
The proposition givesalowerboundfor thenumberofturns,and thereforetheutting timefor
any
(m + 1) × (n + 1)
grid.Butwealreadyfound autting planthatgivesthatexat value. Wean thendedue thefollowing theorem.
Theorem. Theminimal utting time for a
(m + 1) × (n + 1)
grid, wherem < n
,ismn + 2m + n + 1.
To ut the grid in the minimal time, start by putting the grid vertially, ut along along the
vertial lines, thenturneah stripofsquares and utthemoone by one.
Proof. From the previous theorem, we know that the number of turns is at least
m + 1
. Also,from theprevious setion, thenumberof utsis
mn + m + 1
,sotheutting timeannotbelessthan thesum
mn + m + 1 + m + 1 = mn + 2m + n + 1.
As we've seen at the beginning of this setion, theutting plan desribed in thetheorem gives
thatexatutting time.Sotheminimaluttintimeis