Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- -8mPXAsX3DY.txtAdded+1928
- -IWKPe6X6Vs.txtAdded+2627
- -Km2237G0P8.txtAdded+491
- 0su7rM_7_DM.txtAdded
- 12K3PlcicZE.txtAdded+2147
- 1R4IzkWSNgI.txtAdded+1435
- 1jDBM9UM9xk.txtAdded+2399
- 1pkoBetgo7s.txtAdded
- 2XraaWefBd8.txtAdded
- 2__KumJsGXc.txtAdded+435
- 2guwjwIHmGg.txtAdded+1011
- 2hNfJwfEvkA.txtAdded
- 2ieG1ka5pBw.txtAdded+3115
- 3SkCNpFOshk.txtAdded+2090
- 3cN7bSffVm4.txtAdded+411
- 4PlHFcfB8DA.txtAdded
- 4nXw-f6NJ9s.txtAdded
- 5a2Poe_N0sQ.txtAdded
- 5qTCy2wTL_s.txtAdded+2831
- 5wCZqdCDafc.txtAdded+1499
- 62FdhX-zS2Y.txtAdded
- 6BPDK1b3jDg.txtAdded
- 6HrTfI8R_9A.txtAdded+3061
- 6nDqY8MPLDM.txtAdded
- 6uLKZSoHnrc.txtAdded+1977
- 75PZmUc0TK0.txtAdded
- 79GY-hI_emE.txtAdded+659
- 7GF78YQz62w.txtAdded+891
- 7aNYj3zyVkc.txtAdded
- 7xJJU5HDCVE.txtAdded+1293
- 7y67IP6XTPc.txtAdded+4538
- 84LF3ze7Yvw.txtAdded
- 8Ji3Gkjqo5M.txtAdded
- 9CPA6WG6mRo.txtAdded+2950
- 9JhX_UNcQvE.txtAdded+2603
- 9Jry5-82I68.txtAdded+2497
- 9NChLq-orAk.txtAdded+307
- 9i1sOSIccgw.txtAdded+915
- AvvUQjoqOUU.txtAdded
- AwjT1gJSsco.txtAdded+4208
- B7iFcW8USjQ.txtAdded
- BLExWo9Empk.txtAdded+3633
- BLb0l_K0MWM.txtAdded
- BZzkyqe6KD8.txtAdded
- CEbrxYGpfZY.txtAdded
- D3bblng-Kcc.txtAdded
- EYANqW4zwwo.txtAdded
- FcNUJpbvTy8.txtAdded
- FdwTROVfEPE.txtAdded
- FkfsmwAtDdY.txtAdded
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928align:start position:0% the simplest quantum system
align:start position:0%
align:start position:0% quantum
align:start position:0%
align:start position:0% system
align:start position:0%system
align:start position:0%systemso in order to decide what could be the
align:start position:0%so in order to decide what could be the
align:start position:0%so in order to decide what could be thesimplest quantum system you could say
align:start position:0%simplest quantum system you could say
align:start position:0%simplest quantum system you could saywell particle in a box it's very simple
align:start position:0%well particle in a box it's very simple
align:start position:0%well particle in a box it's very simplebut in a sense it's not all that simple
align:start position:0%but in a sense it's not all that simple
align:start position:0%but in a sense it's not all that simpleit has
align:start position:0%it has
align:start position:0%it hasinfinitely many states
align:start position:0%infinitely many states
align:start position:0%infinitely many statesall these functions on an interval and
align:start position:0%all these functions on an interval and
align:start position:0%all these functions on an interval andthen the energion says were infinitely
align:start position:0%then the energion says were infinitely
align:start position:0%then the energion says were infinitelymany of them so not that simple okay so
align:start position:0%many of them so not that simple okay so
align:start position:0%many of them so not that simple okay soinfinite bound states something with one
align:start position:0%infinite bound states something with one
align:start position:0%infinite bound states something with onebouncing okay a delta function potential
align:start position:0%bouncing okay a delta function potential
align:start position:0%bouncing okay a delta function potentialjust one bound state but it has
align:start position:0%just one bound state but it has
align:start position:0%just one bound state but it hasinfinitely many scattering States but
align:start position:0%infinitely many scattering States but
align:start position:0%infinitely many scattering States butstill
align:start position:0%still
align:start position:0%stillcomplicated so what is it what could be
align:start position:0%complicated so what is it what could be
align:start position:0%complicated so what is it what could besimpler well suppose you have the
align:start position:0%simpler well suppose you have the
align:start position:0%simpler well suppose you have theSchrodinger equation
align:start position:0%
align:start position:0% H sy and
align:start position:0%H sy and
align:start position:0%H sy andwe work in general we know that this
align:start position:0%we work in general we know that this
align:start position:0%we work in general we know that thisthing has energy eigenstates and
align:start position:0%thing has energy eigenstates and
align:start position:0%thing has energy eigenstates andprobably we should focus on them
align:start position:0%probably we should focus on them
align:start position:0%probably we should focus on themsubsequent to the minus I P over H bar
align:start position:0%subsequent to the minus I P over H bar
align:start position:0%subsequent to the minus I P over H barlittle sy and then you have h sy equal
align:start position:0%little sy and then you have h sy equal
align:start position:0%little sy and then you have h sy equaleach side
align:start position:0%each side
align:start position:0%each sideso that is quantum mechanics and you
align:start position:0%so that is quantum mechanics and you
align:start position:0%so that is quantum mechanics and youcould say well you know it's up to me to
align:start position:0%could say well you know it's up to me to
align:start position:0%could say well you know it's up to me todecide what the Hamiltonian is if I want
align:start position:0%decide what the Hamiltonian is if I want
align:start position:0%decide what the Hamiltonian is if I wantto invent the simplest quantum
align:start position:0%to invent the simplest quantum
align:start position:0%to invent the simplest quantummechanical system on the other hand
align:start position:0%mechanical system on the other hand
align:start position:0%mechanical system on the other handthere are some things that should be
align:start position:0%there are some things that should be
align:start position:0%there are some things that should betrue
align:start position:0%true
align:start position:0%truethese are complex numbers
align:start position:0%these are complex numbers
align:start position:0%these are complex numbersenergies H must be an operator that has
align:start position:0%energies H must be an operator that has
align:start position:0%energies H must be an operator that hasunits of energy
align:start position:0%units of energy
align:start position:0%units of energyand we also saw that if we want
align:start position:0%and we also saw that if we want
align:start position:0%and we also saw that if we wantprobabilities that are going to be
align:start position:0%probabilities that are going to be
align:start position:0%probabilities that are going to beassociated with size squared
align:start position:0%associated with size squared
align:start position:0%associated with size squaredto be conserved we need H to be
align:start position:0%to be conserved we need H to be
align:start position:0%to be conserved we need H to behermitian so there should be some notion
align:start position:0%hermitian so there should be some notion
align:start position:0%hermitian so there should be some notionof inner product some sort of
align:start position:0%of inner product some sort of
align:start position:0%of inner product some sort ofoperation that gives us numbers we used
align:start position:0%operation that gives us numbers we used
align:start position:0%operation that gives us numbers we usedto defy psy that gives a number
align:start position:0%to defy psy that gives a number
align:start position:0%to defy psy that gives a numberalso complex numbers in general and it
align:start position:0%also complex numbers in general and it
align:start position:0%also complex numbers in general and ithas the property at some point
align:start position:0%has the property at some point
align:start position:0%has the property at some pointconjugates this thing it has this and
align:start position:0%conjugates this thing it has this and
align:start position:0%conjugates this thing it has this andintegrates but maybe if you're doing the
align:start position:0%integrates but maybe if you're doing the
align:start position:0%integrates but maybe if you're doing thesimplest quantum mechanical system in
align:start position:0%simplest quantum mechanical system in
align:start position:0%simplest quantum mechanical system inthe world it will be simpler than at
align:start position:0%the world it will be simpler than at
align:start position:0%the world it will be simpler than atintegral integrals are complicated but
align:start position:0%integral integrals are complicated but
align:start position:0%integral integrals are complicated butanyway we have something like that and
align:start position:0%anyway we have something like that and
align:start position:0%anyway we have something like that andwe want
align:start position:0%we want
align:start position:0%we wantH to
align:start position:0%H to
align:start position:0%H tobe hermitian so let me write the same
align:start position:0%be hermitian so let me write the same
align:start position:0%be hermitian so let me write the samefor any operator a
align:start position:0%
align:start position:0% this is equal to a dagger
align:start position:0%this is equal to a dagger
align:start position:0%this is equal to a daggersy and
align:start position:0%sy and
align:start position:0%sy andthat's a hermitian conjugate that's a
align:start position:0%that's a hermitian conjugate that's a
align:start position:0%that's a hermitian conjugate that's ageneral definition and we want H to be
align:start position:0%general definition and we want H to be
align:start position:0%general definition and we want H to behermitian so H
align:start position:0%hermitian so H
align:start position:0%hermitian so Hdagger equal H
align:start position:0%
align:start position:0% okay so in some sense you could say
align:start position:0%okay so in some sense you could say
align:start position:0%okay so in some sense you could saythere that's quantum mechanics for you
align:start position:0%there that's quantum mechanics for you
align:start position:0%there that's quantum mechanics for youit's a Schrodinger equation a
align:start position:0%it's a Schrodinger equation a
align:start position:0%it's a Schrodinger equation aHamiltonian an inner product a notion of
align:start position:0%Hamiltonian an inner product a notion of
align:start position:0%Hamiltonian an inner product a notion ofhermitian operators and then you're
align:start position:0%hermitian operators and then you're
align:start position:0%hermitian operators and then you'resupposed to solve it and what we've done
align:start position:0%supposed to solve it and what we've done
align:start position:0%supposed to solve it and what we've doneis solved this for a whole semester and
align:start position:0%is solved this for a whole semester and
align:start position:0%is solved this for a whole semester andtry to understand
align:start position:0%try to understand
align:start position:0%try to understandsome physics out of it
align:start position:0%some physics out of it
align:start position:0%some physics out of itbut we started with the notion that
align:start position:0%but we started with the notion that
align:start position:0%but we started with the notion thatsomething simple would be a particle
align:start position:0%something simple would be a particle
align:start position:0%something simple would be a particleliving in one dimension and that's a
align:start position:0%living in one dimension and that's a
align:start position:0%living in one dimension and that's avery reasonable thought
align:start position:0%very reasonable thought
align:start position:0%very reasonable thoughtmotivated from classical mechanics
align:start position:0%motivated from classical mechanics
align:start position:0%motivated from classical mechanicsthat
align:start position:0%that
align:start position:0%thatsurely we have particles that move and
align:start position:0%surely we have particles that move and
align:start position:0%surely we have particles that move andmoving in three dimensions is more
align:start position:0%moving in three dimensions is more
align:start position:0%moving in three dimensions is morecomplicated so we waited towards the end
align:start position:0%complicated so we waited towards the end
align:start position:0%complicated so we waited towards the endof the semester to do three dimensions
align:start position:0%of the semester to do three dimensions
align:start position:0%of the semester to do three dimensionsbut moving in one dimension is already
align:start position:0%but moving in one dimension is already
align:start position:0%but moving in one dimension is alreadykind of interesting and complicated so
align:start position:0%kind of interesting and complicated so
align:start position:0%kind of interesting and complicated sowe had size of X that represented the
align:start position:0%we had size of X that represented the
align:start position:0%we had size of X that represented thefact that the particle could be anywhere
align:start position:0%fact that the particle could be anywhere
align:start position:0%fact that the particle could be anywherehere
align:start position:0%
align:start position:0% so
align:start position:0%
align:start position:0% how can I simplify this well the key to
align:start position:0%how can I simplify this well the key to
align:start position:0%how can I simplify this well the key tosimplifying this is maybe
align:start position:0%simplifying this is maybe
align:start position:0%simplifying this is maybenot to be too attached to the physics
align:start position:0%not to be too attached to the physics
align:start position:0%not to be too attached to the physicsfor a while and try to visualize what
align:start position:0%for a while and try to visualize what
align:start position:0%for a while and try to visualize whatcould you describe that was simpler so
align:start position:0%could you describe that was simpler so
align:start position:0%could you describe that was simpler sosuppose the particle could only live at
align:start position:0%suppose the particle could only live at
align:start position:0%suppose the particle could only live attwo points X 1 and X 2
align:start position:0%two points X 1 and X 2
align:start position:0%two points X 1 and X 2the particle can be here or here
align:start position:0%the particle can be here or here
align:start position:0%the particle can be here or herenow if cut the real line down to just
align:start position:0%now if cut the real line down to just
align:start position:0%now if cut the real line down to justtwo points you can only be in this point
align:start position:0%two points you can only be in this point
align:start position:0%two points you can only be in this pointor that point
align:start position:0%or that point
align:start position:0%or that pointand you say that's very in physical but
align:start position:0%and you say that's very in physical but
align:start position:0%and you say that's very in physical butlet's wait a second and think of this
align:start position:0%let's wait a second and think of this
align:start position:0%let's wait a second and think of thiswhat does that mean well we used to have
align:start position:0%what does that mean well we used to have
align:start position:0%what does that mean well we used to havea sigh of X that could be anywhere and
align:start position:0%a sigh of X that could be anywhere and
align:start position:0%a sigh of X that could be anywhere andwe wrote it as a function but now that
align:start position:0%we wrote it as a function but now that
align:start position:0%we wrote it as a function but now thatit can if I think of this the simplest
align:start position:0%it can if I think of this the simplest
align:start position:0%it can if I think of this the simplestthing ok the simplest thing is a
align:start position:0%thing ok the simplest thing is a
align:start position:0%thing ok the simplest thing is aparticle is just at one point there's
align:start position:0%particle is just at one point there's
align:start position:0%particle is just at one point there'sonly one point the whole world for the
align:start position:0%only one point the whole world for the
align:start position:0%only one point the whole world for theparticle is one point and it's there but
align:start position:0%particle is one point and it's there but
align:start position:0%particle is one point and it's there butthat probably is not too interesting
align:start position:0%that probably is not too interesting
align:start position:0%that probably is not too interestingbecause the particle is there the
align:start position:0%because the particle is there the
align:start position:0%because the particle is there theprobability to find it there is always 1
align:start position:0%probability to find it there is always 1
align:start position:0%probability to find it there is always 1and what can you do with it oh but if
align:start position:0%and what can you do with it oh but if
align:start position:0%and what can you do with it oh but ifyou have two points there's room for
align:start position:0%you have two points there's room for
align:start position:0%you have two points there's room forfunny things to happen so we'll assume
align:start position:0%funny things to happen so we'll assume
align:start position:0%funny things to happen so we'll assumethat the particle can be in two points
align:start position:0%that the particle can be in two points
align:start position:0%that the particle can be in two pointsso from all of this sigh effects
align:start position:0%
align:start position:0% will go to a new PI of X that has
align:start position:0%will go to a new PI of X that has
align:start position:0%will go to a new PI of X that hastwo pieces of information the value of y
align:start position:0%two pieces of information the value of y
align:start position:0%two pieces of information the value of yat X 1 and the value of y at X 2 and
align:start position:0%at X 1 and the value of y at X 2 and
align:start position:0%at X 1 and the value of y at X 2 andthose are two numbers alpha and beta
align:start position:0%
align:start position:0% alpha squared would be
align:start position:0%alpha squared would be
align:start position:0%alpha squared would bethe probability to
align:start position:0%the probability to
align:start position:0%the probability tobe at X 1
align:start position:0%be at X 1
align:start position:0%be at X 1beta squared would be the probability to
align:start position:0%beta squared would be the probability to
align:start position:0%beta squared would be the probability tobe at X 2
align:start position:0%
align:start position:0% and
align:start position:0%
align:start position:0% this may remind you already of something
align:start position:0%this may remind you already of something
align:start position:0%this may remind you already of somethingwe're doing with interferometers in
align:start position:0%we're doing with interferometers in
align:start position:0%we're doing with interferometers inwhich the photon could be in the upper
align:start position:0%which the photon could be in the upper
align:start position:0%which the photon could be in the upperbranch or the lower branch and you had
align:start position:0%branch or the lower branch and you had
align:start position:0%branch or the lower branch and you hadtwo numbers so this is somewhat
align:start position:0%two numbers so this is somewhat
align:start position:0%two numbers so this is somewhatanalogous except that the interferometer
align:start position:0%analogous except that the interferometer
align:start position:0%analogous except that the interferometeryou could eventually
align:start position:0%you could eventually
align:start position:0%you could eventuallyput more beam splitters and have maybe
align:start position:0%put more beam splitters and have maybe
align:start position:0%put more beam splitters and have maybelater 3 branches or 4 branches or things
align:start position:0%later 3 branches or 4 branches or things
align:start position:0%later 3 branches or 4 branches or thingslike that here I want to consider two
align:start position:0%like that here I want to consider two
align:start position:0%like that here I want to consider twothings
align:start position:0%things
align:start position:0%thingsparticle there so one thing that this
align:start position:0%particle there so one thing that this
align:start position:0%particle there so one thing that thiscould be could be strictly that but now
align:start position:0%could be could be strictly that but now
align:start position:0%could be could be strictly that but nowlet's relax our
align:start position:0%let's relax our
align:start position:0%let's relax ourassumption so you could also mean for
align:start position:0%assumption so you could also mean for
align:start position:0%assumption so you could also mean forexample that you have a box and a
align:start position:0%example that you have a box and a
align:start position:0%example that you have a box and apartition and there's the left side of
align:start position:0%partition and there's the left side of
align:start position:0%partition and there's the left side ofthe box and the right side of the box
align:start position:0%the box and the right side of the box
align:start position:0%the box and the right side of the boxand the molecule can either be on the
align:start position:0%and the molecule can either be on the
align:start position:0%and the molecule can either be on theleft side or on the right side
align:start position:0%left side or on the right side
align:start position:0%left side or on the right sidethat's a fairly physical
align:start position:0%that's a fairly physical
align:start position:0%that's a fairly physicalquestion
align:start position:0%question
align:start position:0%questionso here you could be probability
align:start position:0%so here you could be probability
align:start position:0%so here you could be probabilitythe amplitude
align:start position:0%the amplitude
align:start position:0%the amplitudeamplitude to be on the left or amplitude
align:start position:0%amplitude to be on the left or amplitude
align:start position:0%amplitude to be on the left or amplitudeto be on right two component vector just
align:start position:0%to be on right two component vector just
align:start position:0%to be on right two component vector justlike that one would be the amplitude to
align:start position:0%like that one would be the amplitude to
align:start position:0%like that one would be the amplitude tobe in either one and maybe the template
align:start position:0%be in either one and maybe the template
align:start position:0%be in either one and maybe the templatechanges in time or it could be that you
align:start position:0%changes in time or it could be that you
align:start position:0%changes in time or it could be that youhave a particle
align:start position:0%have a particle
align:start position:0%have a particleand
align:start position:0%and
align:start position:0%andsuddenly you discover that yeah the
align:start position:0%suddenly you discover that yeah the
align:start position:0%suddenly you discover that yeah theparticle is at rest it's not moving it's
align:start position:0%particle is at rest it's not moving it's
align:start position:0%particle is at rest it's not moving it'snot doing anything it's at one single
align:start position:0%not doing anything it's at one single
align:start position:0%not doing anything it's at one singlepoint not two points but actually this
align:start position:0%point not two points but actually this
align:start position:0%point not two points but actually thisparticle has maybe something called spin
align:start position:0%particle has maybe something called spin
align:start position:0%particle has maybe something called spinand the spin can be up or the spin can
align:start position:0%and the spin can be up or the spin can
align:start position:0%and the spin can be up or the spin canbe down
align:start position:0%be down
align:start position:0%be downwell we could invent something we could
align:start position:0%well we could invent something we could
align:start position:0%well we could invent something we couldcall it spin or a particle
align:start position:0%call it spin or a particle
align:start position:0%call it spin or a particlecould be in this state or in that state
align:start position:0%could be in this state or in that state
align:start position:0%could be in this state or in that stateeven if that's possible for a particle
align:start position:0%even if that's possible for a particle
align:start position:0%even if that's possible for a particleyou could have here the amplitude
align:start position:0%you could have here the amplitude
align:start position:0%you could have here the amplitudefor up
align:start position:0%for up
align:start position:0%for upspin and the amplitude for down
align:start position:0%spin and the amplitude for down
align:start position:0%spin and the amplitude for downspin and
align:start position:0%spin and
align:start position:0%spin andthose would be the two numbers so you
align:start position:0%those would be the two numbers so you
align:start position:0%those would be the two numbers so youknow it's lots of possibilities in a
align:start position:0%know it's lots of possibilities in a
align:start position:0%know it's lots of possibilities in asense this is a
align:start position:0%sense this is a
align:start position:0%sense this is aclassic problem waiting for a physical
align:start position:0%classic problem waiting for a physical
align:start position:0%classic problem waiting for a physicalapplication in quantum mechanics so
align:start position:0%application in quantum mechanics so
align:start position:0%application in quantum mechanics solet's
align:start position:0%let's
align:start position:0%let'spush it a little more
align:start position:0%
align:start position:0% now
align:start position:0%
align:start position:0% how would we do inner products you know
align:start position:0%how would we do inner products you know
align:start position:0%how would we do inner products you knowwe decided okay you need to do inner
align:start position:0%we decided okay you need to do inner
align:start position:0%we decided okay you need to do innerproducts and
align:start position:0%products and
align:start position:0%products andwhat was the inner product of two
align:start position:0%what was the inner product of two
align:start position:0%what was the inner product of twofunctions Phi and psi was the integral
align:start position:0%functions Phi and psi was the integral
align:start position:0%functions Phi and psi was the integralDX of Phi star of X 1 times a 5 star of
align:start position:0%DX of Phi star of X 1 times a 5 star of
align:start position:0%DX of Phi star of X 1 times a 5 star ofX times Phi of X and what you're really
align:start position:0%X times Phi of X and what you're really
align:start position:0%X times Phi of X and what you're reallydoing is taking the values of the first
align:start position:0%doing is taking the values of the first
align:start position:0%doing is taking the values of the firstwave function at one point complex
align:start position:0%wave function at one point complex
align:start position:0%wave function at one point complexconjugate and you take the value of the
align:start position:0%conjugate and you take the value of the
align:start position:0%conjugate and you take the value of thesecond wave function at the same point
align:start position:0%second wave function at the same point
align:start position:0%second wave function at the same pointcompress conjugating it so if you would
align:start position:0%compress conjugating it so if you would
align:start position:0%compress conjugating it so if you wouldhave two vectors like this
align:start position:0%have two vectors like this
align:start position:0%have two vectors like thisalpha and
align:start position:0%alpha and
align:start position:0%alpha andbeta the
align:start position:0%beta the
align:start position:0%beta thefirst wave function alpha 1 beta 1 and
align:start position:0%first wave function alpha 1 beta 1 and
align:start position:0%first wave function alpha 1 beta 1 andthe second wave function alpha 2 beta 2
align:start position:0%the second wave function alpha 2 beta 2
align:start position:0%the second wave function alpha 2 beta 2the inner product psy 1 psy
align:start position:0%the inner product psy 1 psy
align:start position:0%the inner product psy 1 psy
align:start position:0%
align:start position:0%should be the analog of this thing which
align:start position:0%should be the analog of this thing which
align:start position:0%should be the analog of this thing whichis multiplied things at the same point
align:start position:0%is multiplied things at the same point
align:start position:0%is multiplied things at the same pointso you should do the alpha 1 star that's
align:start position:0%so you should do the alpha 1 star that's
align:start position:0%so you should do the alpha 1 star that'salpha 2
align:start position:0%alpha 2
align:start position:0%alpha 2plus beta 1 star and beta 2
align:start position:0%plus beta 1 star and beta 2
align:start position:0%plus beta 1 star and beta 2that would be the nice way to do this
align:start position:0%
align:start position:0% you could think of this as having
align:start position:0%
align:start position:0% transposed this alpha 1 and complex
align:start position:0%transposed this alpha 1 and complex
align:start position:0%transposed this alpha 1 and complexconjugated it beta 1 and then the matrix
align:start position:0%conjugated it beta 1 and then the matrix
align:start position:0%conjugated it beta 1 and then the matrixproduct with alpha 1 beta 1
align:start position:0%product with alpha 1 beta 1
align:start position:0%product with alpha 1 beta 1so u transpose complex conjugate the
align:start position:0%so u transpose complex conjugate the
align:start position:0%so u transpose complex conjugate thefirst and
align:start position:0%first and
align:start position:0%first andyou do that with a second you know
align:start position:0%you do that with a second you know
align:start position:0%you do that with a second you knowwhen you study a little more mechanics
align:start position:0%when you study a little more mechanics
align:start position:0%when you study a little more mechanicsin 805 you will explore this analogy
align:start position:0%in 805 you will explore this analogy
align:start position:0%in 805 you will explore this analogyeven more in that you will think of a
align:start position:0%even more in that you will think of a
align:start position:0%even more in that you will think of away function as a column vector infinite
align:start position:0%way function as a column vector infinite
align:start position:0%way function as a column vector infiniteone side at zero PI epsilon Phi 2
align:start position:0%one side at zero PI epsilon Phi 2
align:start position:0%one side at zero PI epsilon Phi 2epsilon
align:start position:0%epsilon
align:start position:0%epsilonsired minus epsilon so you've
align:start position:0%sired minus epsilon so you've
align:start position:0%sired minus epsilon so you'vesliced the x-axis and a certain infinite
align:start position:0%sliced the x-axis and a certain infinite
align:start position:0%sliced the x-axis and a certain infinitevector and that's your old way function
align:start position:0%vector and that's your old way function
align:start position:0%vector and that's your old way functionso it's not so unnatural to do this and
align:start position:0%so it's not so unnatural to do this and
align:start position:0%so it's not so unnatural to do this andthis will be our inner product
align:start position:0%this will be our inner product
align:start position:0%this will be our inner productso how about H being hermitian
align:start position:0%so how about H being hermitian
align:start position:0%so how about H being hermitianmedian
align:start position:0%median
align:start position:0%medianthat just means for matrices that age
align:start position:0%that just means for matrices that age
align:start position:0%that just means for matrices that agetranspose complex conjugated that's
align:start position:0%transpose complex conjugated that's
align:start position:0%transpose complex conjugated that'sdagger hermitian is equal to h and
align:start position:0%dagger hermitian is equal to h and
align:start position:0%dagger hermitian is equal to h andyou may have seen that that's what
align:start position:0%you may have seen that that's what
align:start position:0%you may have seen that that's whatdagger means you transpose on her and
align:start position:0%dagger means you transpose on her and
align:start position:0%dagger means you transpose on her andcomplex conjugate if you haven't seen it
align:start position:0%complex conjugate if you haven't seen it
align:start position:0%complex conjugate if you haven't seen ityou could prove it now using this rule
align:start position:0%you could prove it now using this rule
align:start position:0%you could prove it now using this rulefor the inner product because the inner
align:start position:0%for the inner product because the inner
align:start position:0%for the inner product because the innerproduct will tell you how to construct
align:start position:0%product will tell you how to construct
align:start position:0%product will tell you how to constructthe complex the dagger of any operator
align:start position:0%the complex the dagger of any operator
align:start position:0%the complex the dagger of any operatorand you will find that indeed the dagger
align:start position:0%and you will find that indeed the dagger
align:start position:0%and you will find that indeed the daggerwhat it does is transpose this and
align:start position:0%what it does is transpose this and
align:start position:0%what it does is transpose this andcomplex conjugates and it's sort of
align:start position:0%complex conjugates and it's sort of
align:start position:0%complex conjugates and it's sort ofcomes because the inner product
align:start position:0%comes because the inner product
align:start position:0%comes because the inner producttransposes and complex conjugates the
align:start position:0%transposes and complex conjugates the
align:start position:0%transposes and complex conjugates thefirst object12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627align:start position:0% after flipping a coin 100 times you
align:start position:0%after flipping a coin 100 times you
align:start position:0%after flipping a coin 100 times youtally out 42 heads and 58
align:start position:0%tally out 42 heads and 58
align:start position:0%tally out 42 heads and 58tails you expected a 50/50
align:start position:0%tails you expected a 50/50
align:start position:0%tails you expected a 50/50distribution does this mean the coin is
align:start position:0%distribution does this mean the coin is
align:start position:0%distribution does this mean the coin isunfair this video is part of the
align:start position:0%unfair this video is part of the
align:start position:0%unfair this video is part of theprobability and statistics video
align:start position:0%probability and statistics video
align:start position:0%probability and statistics videoseries many events and phenomena are
align:start position:0%series many events and phenomena are
align:start position:0%series many events and phenomena areprobabilistic Engineers designers and
align:start position:0%probabilistic Engineers designers and
align:start position:0%probabilistic Engineers designers andArchitects often use probability
align:start position:0%Architects often use probability
align:start position:0%Architects often use probabilitydistributions to predict system
align:start position:0%distributions to predict system
align:start position:0%distributions to predict systemBehavior hi my name is lorda salaman and
align:start position:0%Behavior hi my name is lorda salaman and
align:start position:0%Behavior hi my name is lorda salaman andI'm a research scientist in the hhmi
align:start position:0%I'm a research scientist in the hhmi
align:start position:0%I'm a research scientist in the hhmieducation group in the biology
align:start position:0%education group in the biology
align:start position:0%education group in the biologydepartment at MIT I also work in the MIT
align:start position:0%department at MIT I also work in the MIT
align:start position:0%department at MIT I also work in the MIToffice of educational Innovation and
align:start position:0%office of educational Innovation and
align:start position:0%office of educational Innovation andTechnology I helped de velop the star
align:start position:0%Technology I helped de velop the star
align:start position:0%Technology I helped de velop the stargenetic software feature in this
align:start position:0%genetic software feature in this
align:start position:0%genetic software feature in thisvideo before watching this video you
align:start position:0%video before watching this video you
align:start position:0%video before watching this video youshould know what a probability
align:start position:0%should know what a probability
align:start position:0%should know what a probabilitydistribution is and be familiar with
align:start position:0%distribution is and be familiar with
align:start position:0%distribution is and be familiar withbasic genetics vocabulary including
align:start position:0%basic genetics vocabulary including
align:start position:0%basic genetics vocabulary includinggenotype phenotype homozygous and
align:start position:0%genotype phenotype homozygous and
align:start position:0%genotype phenotype homozygous andheterozygous you should also know how to
align:start position:0%heterozygous you should also know how to
align:start position:0%heterozygous you should also know how touse punet squares to predict the
align:start position:0%use punet squares to predict the
align:start position:0%use punet squares to predict theexpected results of melan crosses
align:start position:0%expected results of melan crosses
align:start position:0%expected results of melan crossesafter watching this video you will be
align:start position:0%after watching this video you will be
align:start position:0%after watching this video you will beable to apply Ki Square hypothesis
align:start position:0%able to apply Ki Square hypothesis
align:start position:0%able to apply Ki Square hypothesistesting to experimental data obtained
align:start position:0%testing to experimental data obtained
align:start position:0%testing to experimental data obtainedfrom genetic
align:start position:0%
align:start position:0% experiments going back to the question
align:start position:0%experiments going back to the question
align:start position:0%experiments going back to the questionof whether or not our coin is fair it
align:start position:0%of whether or not our coin is fair it
align:start position:0%of whether or not our coin is fair itturns out there is statistical tool that
align:start position:0%turns out there is statistical tool that
align:start position:0%turns out there is statistical tool thatcan help
align:start position:0%can help
align:start position:0%can helpus statistical tests can be used to
align:start position:0%us statistical tests can be used to
align:start position:0%us statistical tests can be used todeterm determined if sample data can be
align:start position:0%determ determined if sample data can be
align:start position:0%determ determined if sample data can beassumed to come from a population that
align:start position:0%assumed to come from a population that
align:start position:0%assumed to come from a population thathas a certain
align:start position:0%has a certain
align:start position:0%has a certaindistribution today we will use the
align:start position:0%distribution today we will use the
align:start position:0%distribution today we will use thestatistical test called the kai Square
align:start position:0%statistical test called the kai Square
align:start position:0%statistical test called the kai Squaretest for goodness of
align:start position:0%test for goodness of
align:start position:0%test for goodness offit the Ki Square test is used to
align:start position:0%fit the Ki Square test is used to
align:start position:0%fit the Ki Square test is used toanalyze categorical data in other words
align:start position:0%analyze categorical data in other words
align:start position:0%analyze categorical data in other wordsthe test Compares a sample of data
align:start position:0%the test Compares a sample of data
align:start position:0%the test Compares a sample of datacollected about an event to expected
align:start position:0%collected about an event to expected
align:start position:0%collected about an event to expectedvalues in our coin flipping example our
align:start position:0%values in our coin flipping example our
align:start position:0%values in our coin flipping example ourcategories are heads and
align:start position:0%categories are heads and
align:start position:0%categories are heads andtails an event is one coin
align:start position:0%tails an event is one coin
align:start position:0%tails an event is one coinflip our sample is 100
align:start position:0%flip our sample is 100
align:start position:0%flip our sample is 100events we expect that the coin should
align:start position:0%events we expect that the coin should
align:start position:0%events we expect that the coin shouldhave a 5050 chance of being heads or
align:start position:0%have a 5050 chance of being heads or
align:start position:0%have a 5050 chance of being heads ortails in any given event
align:start position:0%tails in any given event
align:start position:0%tails in any given eventthe question we are trying to answer is
align:start position:0%the question we are trying to answer is
align:start position:0%the question we are trying to answer isdoes our sample come from the 5050
align:start position:0%does our sample come from the 5050
align:start position:0%does our sample come from the 5050population distribution we
align:start position:0%population distribution we
align:start position:0%population distribution weexpect what we have just done is State
align:start position:0%expect what we have just done is State
align:start position:0%expect what we have just done is Stateour null hypothesis about the coin
align:start position:0%our null hypothesis about the coin
align:start position:0%our null hypothesis about the coinflipping
align:start position:0%flipping
align:start position:0%flippingexperiment the kai Square statistics
align:start position:0%experiment the kai Square statistics
align:start position:0%experiment the kai Square statisticstests this null
align:start position:0%tests this null
align:start position:0%tests this nullhypothesis we also need to State an
align:start position:0%hypothesis we also need to State an
align:start position:0%hypothesis we also need to State analternative
align:start position:0%alternative
align:start position:0%alternativehypothesis the alternative hypothesis is
align:start position:0%hypothesis the alternative hypothesis is
align:start position:0%hypothesis the alternative hypothesis issimply that the data do not come from
align:start position:0%simply that the data do not come from
align:start position:0%simply that the data do not come fromthe specify 50/50 population
align:start position:0%
align:start position:0% distribution before we can test our
align:start position:0%distribution before we can test our
align:start position:0%distribution before we can test ourhypothesis we need to calculate a Kai
align:start position:0%hypothesis we need to calculate a Kai
align:start position:0%hypothesis we need to calculate a KaiSquare
align:start position:0%Square
align:start position:0%Squarestatistic this statistic measures the
align:start position:0%statistic this statistic measures the
align:start position:0%statistic this statistic measures thediscrepancy between observed counts and
align:start position:0%discrepancy between observed counts and
align:start position:0%discrepancy between observed counts andexpected counts
align:start position:0%expected counts
align:start position:0%expected countseach term in our summation finds the
align:start position:0%each term in our summation finds the
align:start position:0%each term in our summation finds thedeviation or error between observed and
align:start position:0%deviation or error between observed and
align:start position:0%deviation or error between observed andexpected values for each
align:start position:0%
align:start position:0% category this deviation is squared to
align:start position:0%category this deviation is squared to
align:start position:0%category this deviation is squared toobtain positive values otherwise
align:start position:0%obtain positive values otherwise
align:start position:0%obtain positive values otherwiseeverything will sum to zero because both
align:start position:0%everything will sum to zero because both
align:start position:0%everything will sum to zero because bothare observed and expected outcomes sum
align:start position:0%are observed and expected outcomes sum
align:start position:0%are observed and expected outcomes sumto the same
align:start position:0%to the same
align:start position:0%to the samevalue each term in the summation is
align:start position:0%value each term in the summation is
align:start position:0%value each term in the summation isdivided by the expected value of the
align:start position:0%divided by the expected value of the
align:start position:0%divided by the expected value of theoutcome as a way of normalizing each
align:start position:0%outcome as a way of normalizing each
align:start position:0%outcome as a way of normalizing eachdifference the kai Square statistic
align:start position:0%difference the kai Square statistic
align:start position:0%difference the kai Square statisticlives in a
align:start position:0%lives in a
align:start position:0%lives in adistribution this is the kai Square
align:start position:0%distribution this is the kai Square
align:start position:0%distribution this is the kai Squaredistribution for any sample that has two
align:start position:0%distribution for any sample that has two
align:start position:0%distribution for any sample that has twocategories of data or in other words one
align:start position:0%categories of data or in other words one
align:start position:0%categories of data or in other words onedegree of
align:start position:0%degree of
align:start position:0%degree ofFreedom if the outut come of an event
align:start position:0%Freedom if the outut come of an event
align:start position:0%Freedom if the outut come of an eventcan only fall into one of two categories
align:start position:0%can only fall into one of two categories
align:start position:0%can only fall into one of two categorieswe only need to know how many events
align:start position:0%we only need to know how many events
align:start position:0%we only need to know how many eventsfell into one category in order to
align:start position:0%fell into one category in order to
align:start position:0%fell into one category in order todetermine how many fell into the other
align:start position:0%
align:start position:0% category the Ki squar distribution is
align:start position:0%category the Ki squar distribution is
align:start position:0%category the Ki squar distribution isactually a set of distributions each for
align:start position:0%actually a set of distributions each for
align:start position:0%actually a set of distributions each fora different number of degrees of
align:start position:0%a different number of degrees of
align:start position:0%a different number of degrees offreedom if we look at these
align:start position:0%freedom if we look at these
align:start position:0%freedom if we look at thesedistributions the x axis is Kai Square
align:start position:0%distributions the x axis is Kai Square
align:start position:0%distributions the x axis is Kai Squarevalues and the y axis is relative
align:start position:0%values and the y axis is relative
align:start position:0%values and the y axis is relativefrequency you might also notice that
align:start position:0%frequency you might also notice that
align:start position:0%frequency you might also notice thatthese distributions are positively
align:start position:0%these distributions are positively
align:start position:0%these distributions are positivelyskewed this makes sense for a couple of
align:start position:0%skewed this makes sense for a couple of
align:start position:0%skewed this makes sense for a couple ofreasons the Ki Square statistic is
align:start position:0%reasons the Ki Square statistic is
align:start position:0%reasons the Ki Square statistic isalways
align:start position:0%always
align:start position:0%alwayspositive larger and larger Ki Square
align:start position:0%positive larger and larger Ki Square
align:start position:0%positive larger and larger Ki Squarevalues indicate larger discrepancies
align:start position:0%values indicate larger discrepancies
align:start position:0%values indicate larger discrepanciesbetween observed and expected
align:start position:0%between observed and expected
align:start position:0%between observed and expectedvalues while possible these large
align:start position:0%values while possible these large
align:start position:0%values while possible these largediscrepancies are less probable if the
align:start position:0%discrepancies are less probable if the
align:start position:0%discrepancies are less probable if thenull hypothesis is
align:start position:0%null hypothesis is
align:start position:0%null hypothesis istrue if we calculate the Ki Square test
align:start position:0%true if we calculate the Ki Square test
align:start position:0%true if we calculate the Ki Square teststatistic for the coin flipping
align:start position:0%statistic for the coin flipping
align:start position:0%statistic for the coin flippingexperiment we get
align:start position:0%
align:start position:0% 2.56 how do we interpret this
align:start position:0%2.56 how do we interpret this
align:start position:0%2.56 how do we interpret thisnumber by first we need to look at the
align:start position:0%number by first we need to look at the
align:start position:0%number by first we need to look at theappropriate Kai Square
align:start position:0%
align:start position:0% distribution in the coin flipping
align:start position:0%distribution in the coin flipping
align:start position:0%distribution in the coin flippingexperiment there are two possible
align:start position:0%experiment there are two possible
align:start position:0%experiment there are two possibleoutcomes heads or
align:start position:0%outcomes heads or
align:start position:0%outcomes heads ortails if we know how many heads were
align:start position:0%tails if we know how many heads were
align:start position:0%tails if we know how many heads wereflipped we can calculate the number of
align:start position:0%flipped we can calculate the number of
align:start position:0%flipped we can calculate the number ofTails flipped so we only have one degree
align:start position:0%Tails flipped so we only have one degree
align:start position:0%Tails flipped so we only have one degreeof
align:start position:0%of
align:start position:0%ofFreedom let's refer to the kai Square
align:start position:0%Freedom let's refer to the kai Square
align:start position:0%Freedom let's refer to the kai Squaredistribution tions for one degree of
align:start position:0%distribution tions for one degree of
align:start position:0%distribution tions for one degree ofFreedom we can compare our test
align:start position:0%Freedom we can compare our test
align:start position:0%Freedom we can compare our teststatistic to the distribution to see if
align:start position:0%statistic to the distribution to see if
align:start position:0%statistic to the distribution to see ifwe have support for our n hypothesis or
align:start position:0%we have support for our n hypothesis or
align:start position:0%we have support for our n hypothesis orif we need to reject
align:start position:0%if we need to reject
align:start position:0%if we need to rejectit what will our Criterion for support
align:start position:0%it what will our Criterion for support
align:start position:0%it what will our Criterion for supportor rejection of our null hypothesis
align:start position:0%or rejection of our null hypothesis
align:start position:0%or rejection of our null hypothesisbe while this is a fairly arbitrary
align:start position:0%be while this is a fairly arbitrary
align:start position:0%be while this is a fairly arbitrarychoice in many fields a result result is
align:start position:0%choice in many fields a result result is
align:start position:0%choice in many fields a result result issaid not to differ significantly from
align:start position:0%said not to differ significantly from
align:start position:0%said not to differ significantly fromexpectations if it has a one in 20
align:start position:0%expectations if it has a one in 20
align:start position:0%expectations if it has a one in 20chance of
align:start position:0%chance of
align:start position:0%chance ofhappening in other words if the
align:start position:0%happening in other words if the
align:start position:0%happening in other words if thedifference between the observed result
align:start position:0%difference between the observed result
align:start position:0%difference between the observed resultand the expected result is small enough
align:start position:0%and the expected result is small enough
align:start position:0%and the expected result is small enoughwe would expect to see it one in 20
align:start position:0%we would expect to see it one in 20
align:start position:0%we would expect to see it one in 20times which is a probability of
align:start position:0%
align:start position:0% 0.05 this probability is called called
align:start position:0%0.05 this probability is called called
align:start position:0%0.05 this probability is called calledthe level of
align:start position:0%the level of
align:start position:0%the level ofsignificance if a Kai Square value has a
align:start position:0%significance if a Kai Square value has a
align:start position:0%significance if a Kai Square value has aprobability of occurring that is greater
align:start position:0%probability of occurring that is greater
align:start position:0%probability of occurring that is greaterthan our level of significance it lends
align:start position:0%than our level of significance it lends
align:start position:0%than our level of significance it lendssupport to our null
align:start position:0%support to our null
align:start position:0%support to our nullhypothesis if a Kai Square value has a
align:start position:0%hypothesis if a Kai Square value has a
align:start position:0%hypothesis if a Kai Square value has aprobability of occurring that is less
align:start position:0%probability of occurring that is less
align:start position:0%probability of occurring that is lessthan our level of significance we should
align:start position:0%than our level of significance we should
align:start position:0%than our level of significance we shouldreject the null
align:start position:0%reject the null
align:start position:0%reject the nullhypothesis using the kai Square
align:start position:0%hypothesis using the kai Square
align:start position:0%hypothesis using the kai Squaredistribution for one degree of Freedom a
align:start position:0%distribution for one degree of Freedom a
align:start position:0%distribution for one degree of Freedom aKai Square value of
align:start position:0%Kai Square value of
align:start position:0%Kai Square value of2.56 has greater than the 5% probability
align:start position:0%2.56 has greater than the 5% probability
align:start position:0%2.56 has greater than the 5% probabilityof occurring that we have set as our
align:start position:0%of occurring that we have set as our
align:start position:0%of occurring that we have set as ourminimum this means that we fail to
align:start position:0%minimum this means that we fail to
align:start position:0%minimum this means that we fail toreject our null
align:start position:0%reject our null
align:start position:0%reject our nullhypothesis in other words what we
align:start position:0%hypothesis in other words what we
align:start position:0%hypothesis in other words what weobserve is close enough to what we
align:start position:0%observe is close enough to what we
align:start position:0%observe is close enough to what weexpect that we have confidence that our
align:start position:0%expect that we have confidence that our
align:start position:0%expect that we have confidence that ourcoin is
align:start position:0%
align:start position:0% fair
align:start position:0%fair
align:start position:0%fairnow suppose you're planning an
align:start position:0%now suppose you're planning an
align:start position:0%now suppose you're planning anexperiment where you will cross mutant
align:start position:0%experiment where you will cross mutant
align:start position:0%experiment where you will cross mutantflies that are heterozygous for a
align:start position:0%flies that are heterozygous for a
align:start position:0%flies that are heterozygous for awingless phenotype to each
align:start position:0%wingless phenotype to each
align:start position:0%wingless phenotype to eachother the wingless phenotype is dominant
align:start position:0%other the wingless phenotype is dominant
align:start position:0%other the wingless phenotype is dominantrelative to the wild type winged
align:start position:0%relative to the wild type winged
align:start position:0%relative to the wild type wingedphenotype let's use the notation Big G
align:start position:0%phenotype let's use the notation Big G
align:start position:0%phenotype let's use the notation Big Glittle G for the genotype of the parent
align:start position:0%little G for the genotype of the parent
align:start position:0%little G for the genotype of the parentmutant
align:start position:0%mutant
align:start position:0%mutantflies in this case the F typee winged
align:start position:0%flies in this case the F typee winged
align:start position:0%flies in this case the F typee wingedflies are homozygous
align:start position:0%flies are homozygous
align:start position:0%flies are homozygousrecessive what percentage of flies
align:start position:0%recessive what percentage of flies
align:start position:0%recessive what percentage of fliesresulting from a cross of two heterosis
align:start position:0%resulting from a cross of two heterosis
align:start position:0%resulting from a cross of two heterosiswingless mutants would you expect to be
align:start position:0%wingless mutants would you expect to be
align:start position:0%wingless mutants would you expect to bewild type versus mutant pause the video
align:start position:0%wild type versus mutant pause the video
align:start position:0%wild type versus mutant pause the videohere and use a punet square to justify
align:start position:0%here and use a punet square to justify
align:start position:0%here and use a punet square to justifyyour
align:start position:0%
align:start position:0% answer
align:start position:0%answer
align:start position:0%answerperforming this cross using a punet
align:start position:0%performing this cross using a punet
align:start position:0%performing this cross using a punetsquare you would expect a 3:1 ratio of
align:start position:0%square you would expect a 3:1 ratio of
align:start position:0%square you would expect a 3:1 ratio ofmutant to Wild type
align:start position:0%mutant to Wild type
align:start position:0%mutant to Wild typeflies you perform the cross with the
align:start position:0%flies you perform the cross with the
align:start position:0%flies you perform the cross with theparental mutant flies the cross produces
align:start position:0%parental mutant flies the cross produces
align:start position:0%parental mutant flies the cross produces50 progyny 32 are mutant and 18 are wild
align:start position:0%50 progyny 32 are mutant and 18 are wild
align:start position:0%50 progyny 32 are mutant and 18 are wildtype so only 64% of our flies are mutant
align:start position:0%type so only 64% of our flies are mutant
align:start position:0%type so only 64% of our flies are mutanteven though you expected
align:start position:0%even though you expected
align:start position:0%even though you expected75% of them to be
align:start position:0%75% of them to be
align:start position:0%75% of them to bemutant although it is not what you
align:start position:0%mutant although it is not what you
align:start position:0%mutant although it is not what youexpected it doesn't seem that far off
align:start position:0%expected it doesn't seem that far off
align:start position:0%expected it doesn't seem that far offeither you decide to continue mating
align:start position:0%either you decide to continue mating
align:start position:0%either you decide to continue matingyour parental mutant flies until you
align:start position:0%your parental mutant flies until you
align:start position:0%your parental mutant flies until youhave a th
align:start position:0%have a th
align:start position:0%have a thprogyny surely with this large a sample
align:start position:0%progyny surely with this large a sample
align:start position:0%progyny surely with this large a samplesize the ratio of mutant to Wild type
align:start position:0%size the ratio of mutant to Wild type
align:start position:0%size the ratio of mutant to Wild typeflies will be closer to what you
align:start position:0%flies will be closer to what you
align:start position:0%flies will be closer to what youexpect voila oh wait a minute even with
align:start position:0%expect voila oh wait a minute even with
align:start position:0%expect voila oh wait a minute even witha thousand progyny our experiments still
align:start position:0%a thousand progyny our experiments still
align:start position:0%a thousand progyny our experiments stillproduce 68% mutant and 32% wild type
align:start position:0%produce 68% mutant and 32% wild type
align:start position:0%produce 68% mutant and 32% wild typeflies now you're really starting to
align:start position:0%flies now you're really starting to
align:start position:0%flies now you're really starting towonder if you can call the results close
align:start position:0%wonder if you can call the results close
align:start position:0%wonder if you can call the results closeenough to the expected
align:start position:0%enough to the expected
align:start position:0%enough to the expectedoutcome we can use the kai Square test
align:start position:0%outcome we can use the kai Square test
align:start position:0%outcome we can use the kai Square testto evaluate whether the sample that had
align:start position:0%to evaluate whether the sample that had
align:start position:0%to evaluate whether the sample that hadis 68 to 32 ratio could have come from
align:start position:0%is 68 to 32 ratio could have come from
align:start position:0%is 68 to 32 ratio could have come fromthe 3:1 population distribution that we
align:start position:0%the 3:1 population distribution that we
align:start position:0%the 3:1 population distribution that weexpected pause the video here calculate
align:start position:0%expected pause the video here calculate
align:start position:0%expected pause the video here calculatethe Ki Square test statistic and
align:start position:0%the Ki Square test statistic and
align:start position:0%the Ki Square test statistic anddetermine the degrees of freedom in your
align:start position:0%
align:start position:0% data you should have obtained
align:start position:0%data you should have obtained
align:start position:0%data you should have obtained29.2 for your Kai Square
align:start position:0%29.2 for your Kai Square
align:start position:0%29.2 for your Kai Squarevalue
align:start position:0%value
align:start position:0%valuebecause there are only two phenotypic
align:start position:0%because there are only two phenotypic
align:start position:0%because there are only two phenotypicoutcomes for your cross there is only
align:start position:0%outcomes for your cross there is only
align:start position:0%outcomes for your cross there is onlyone degree of Freedom any fly that isn't
align:start position:0%one degree of Freedom any fly that isn't
align:start position:0%one degree of Freedom any fly that isn'ta mutant is wild type and vice
align:start position:0%a mutant is wild type and vice
align:start position:0%a mutant is wild type and viceversa the Ki Square distribution can
align:start position:0%versa the Ki Square distribution can
align:start position:0%versa the Ki Square distribution canalso be presented in tabular
align:start position:0%also be presented in tabular
align:start position:0%also be presented in tabularform if you look at this table our
align:start position:0%form if you look at this table our
align:start position:0%form if you look at this table ourexperiment with one degree of freedom
align:start position:0%experiment with one degree of freedom
align:start position:0%experiment with one degree of freedomand a Kai Square value of 29 .2
align:start position:0%and a Kai Square value of 29 .2
align:start position:0%and a Kai Square value of 29 .2corresponds to a probability that is
align:start position:0%corresponds to a probability that is
align:start position:0%corresponds to a probability that ismuch smaller than
align:start position:0%
align:start position:0% 0.05 do you have support for the null
align:start position:0%0.05 do you have support for the null
align:start position:0%0.05 do you have support for the nullhypothesis or should you reject
align:start position:0%hypothesis or should you reject
align:start position:0%hypothesis or should you rejectit pause the video here and take a
align:start position:0%it pause the video here and take a
align:start position:0%it pause the video here and take amoment to think about
align:start position:0%
align:start position:0% it because the ratio of progyny the you
align:start position:0%it because the ratio of progyny the you
align:start position:0%it because the ratio of progyny the youobtained in your experiment has a
align:start position:0%obtained in your experiment has a
align:start position:0%obtained in your experiment has aprobability of happening that is less
align:start position:0%probability of happening that is less
align:start position:0%probability of happening that is lessthan our level of significance you
align:start position:0%than our level of significance you
align:start position:0%than our level of significance youshould reject our null
align:start position:0%should reject our null
align:start position:0%should reject our nullhypothesis this indicates that our
align:start position:0%hypothesis this indicates that our
align:start position:0%hypothesis this indicates that ourdiscrepant results are due to something
align:start position:0%discrepant results are due to something
align:start position:0%discrepant results are due to somethingmore than just random
align:start position:0%more than just random
align:start position:0%more than just randomchance a multitude of other factors
align:start position:0%chance a multitude of other factors
align:start position:0%chance a multitude of other factorscould be contributing to our results for
align:start position:0%could be contributing to our results for
align:start position:0%could be contributing to our results forexample there might be interactions with
align:start position:0%example there might be interactions with
align:start position:0%example there might be interactions withother genes that you are not aware of or
align:start position:0%other genes that you are not aware of or
align:start position:0%other genes that you are not aware of orenvironmental factors could be playing a
align:start position:0%environmental factors could be playing a
align:start position:0%environmental factors could be playing arole all we know is there are null
align:start position:0%role all we know is there are null
align:start position:0%role all we know is there are nullhypothesis of a 3:1 ratio of mutant to
align:start position:0%hypothesis of a 3:1 ratio of mutant to
align:start position:0%hypothesis of a 3:1 ratio of mutant toWild type flies is
align:start position:0%Wild type flies is
align:start position:0%Wild type flies isincorrect as a Next Step you decide to
align:start position:0%incorrect as a Next Step you decide to
align:start position:0%incorrect as a Next Step you decide togo back and review your notes to see if
align:start position:0%go back and review your notes to see if
align:start position:0%go back and review your notes to see ifyou can formulate another plausible
align:start position:0%you can formulate another plausible
align:start position:0%you can formulate another plausiblehypothesis reviewing your punet Square
align:start position:0%hypothesis reviewing your punet Square
align:start position:0%hypothesis reviewing your punet Squareyou expected to obtain this genotypic
align:start position:0%you expected to obtain this genotypic
align:start position:0%you expected to obtain this genotypicratio in the F1 progeny if you were to
align:start position:0%ratio in the F1 progeny if you were to
align:start position:0%ratio in the F1 progeny if you were toselect a big G Big G mutant from the F1
align:start position:0%select a big G Big G mutant from the F1
align:start position:0%select a big G Big G mutant from the F1progeny and cross it with a little G
align:start position:0%progeny and cross it with a little G
align:start position:0%progeny and cross it with a little Glittle G wild type fly you would expect
align:start position:0%little G wild type fly you would expect
align:start position:0%little G wild type fly you would expectthat all of the progyny will be
align:start position:0%that all of the progyny will be
align:start position:0%that all of the progyny will bemutants after attempting this cross with
align:start position:0%mutants after attempting this cross with
align:start position:0%mutants after attempting this cross witha variety of flies from the F1 progyny
align:start position:0%a variety of flies from the F1 progyny
align:start position:0%a variety of flies from the F1 progynythat have a mutant phenotype
align:start position:0%that have a mutant phenotype
align:start position:0%that have a mutant phenotypeit becomes clear that you cannot find a
align:start position:0%it becomes clear that you cannot find a
align:start position:0%it becomes clear that you cannot find amutant fly that when crossed with a wild
align:start position:0%mutant fly that when crossed with a wild
align:start position:0%mutant fly that when crossed with a wildtype fly produces all mutant
align:start position:0%type fly produces all mutant
align:start position:0%type fly produces all mutantprogyny somehow you keep selecting
align:start position:0%progyny somehow you keep selecting
align:start position:0%progyny somehow you keep selectingheteros
align:start position:0%heteros
align:start position:0%heterosmutants you begin to suspect that the F1
align:start position:0%mutants you begin to suspect that the F1
align:start position:0%mutants you begin to suspect that the F1population does not contain the expected
align:start position:0%population does not contain the expected
align:start position:0%population does not contain the expectednumber of Big G Big G
align:start position:0%number of Big G Big G
align:start position:0%number of Big G Big Gflies checking your lap no book you see
align:start position:0%flies checking your lap no book you see
align:start position:0%flies checking your lap no book you seea note about an observation that you
align:start position:0%a note about an observation that you
align:start position:0%a note about an observation that youbarely paid attention to at the time
align:start position:0%barely paid attention to at the time
align:start position:0%barely paid attention to at the timewhen you made it the two parental mutant
align:start position:0%when you made it the two parental mutant
align:start position:0%when you made it the two parental mutantflies there were a number of dead
align:start position:0%flies there were a number of dead
align:start position:0%flies there were a number of deadembryos in your
align:start position:0%embryos in your
align:start position:0%embryos in yourvial a new hypothesis is forming in your
align:start position:0%vial a new hypothesis is forming in your
align:start position:0%vial a new hypothesis is forming in yourmind can you come up with a hypothesis
align:start position:0%mind can you come up with a hypothesis
align:start position:0%mind can you come up with a hypothesisthat may explain the observations you
align:start position:0%that may explain the observations you
align:start position:0%that may explain the observations youhave made through these
align:start position:0%have made through these
align:start position:0%have made through theseexperiments pause the video here
align:start position:0%experiments pause the video here
align:start position:0%experiments pause the video herediscuss and justify your hypothesis with
align:start position:0%discuss and justify your hypothesis with
align:start position:0%discuss and justify your hypothesis witha
align:start position:0%
align:start position:0% classmate while there are many possible
align:start position:0%classmate while there are many possible
align:start position:0%classmate while there are many possiblehypotheses one possible hypotheses is
align:start position:0%hypotheses one possible hypotheses is
align:start position:0%hypotheses one possible hypotheses isthat the dead embryos in your vial were
align:start position:0%that the dead embryos in your vial were
align:start position:0%that the dead embryos in your vial werethe missing Big G Big G
align:start position:0%the missing Big G Big G
align:start position:0%the missing Big G Big Gmutants it may be that the wingless
align:start position:0%mutants it may be that the wingless
align:start position:0%mutants it may be that the winglesstrait when homozygous results in
align:start position:0%trait when homozygous results in
align:start position:0%trait when homozygous results inlethality
align:start position:0%
align:start position:0% this will result in a phenotypic ratio
align:start position:0%this will result in a phenotypic ratio
align:start position:0%this will result in a phenotypic ratioof 2: one mutant to Wild type flies in
align:start position:0%of 2: one mutant to Wild type flies in
align:start position:0%of 2: one mutant to Wild type flies inthe F1
align:start position:0%
align:start position:0% progyny again you can use the K Square
align:start position:0%progyny again you can use the K Square
align:start position:0%progyny again you can use the K Squaretest for goodness of fit to test your
align:start position:0%test for goodness of fit to test your
align:start position:0%test for goodness of fit to test yournew null
align:start position:0%new null
align:start position:0%new nullhypothesis going back to your data of a
align:start position:0%hypothesis going back to your data of a
align:start position:0%hypothesis going back to your data of athousand progyny use the test to
align:start position:0%thousand progyny use the test to
align:start position:0%thousand progyny use the test toevaluate the no
align:start position:0%evaluate the no
align:start position:0%evaluate the nohypothesis pause the
align:start position:0%
align:start position:0% video you should have obtained a Ki
align:start position:0%video you should have obtained a Ki
align:start position:0%video you should have obtained a KiSquare value of
align:start position:0%Square value of
align:start position:0%Square value of0.36 for one degree of Freedom you
align:start position:0%0.36 for one degree of Freedom you
align:start position:0%0.36 for one degree of Freedom youcannot reject your no
align:start position:0%cannot reject your no
align:start position:0%cannot reject your nohypothesis while you have support for
align:start position:0%hypothesis while you have support for
align:start position:0%hypothesis while you have support foryour null hypothesis more experiments
align:start position:0%your null hypothesis more experiments
align:start position:0%your null hypothesis more experimentsare needed to confirm the idea
align:start position:0%are needed to confirm the idea
align:start position:0%are needed to confirm the ideathat the Big G Big G genotype is lethal
align:start position:0%that the Big G Big G genotype is lethal
align:start position:0%that the Big G Big G genotype is lethalas you
align:start position:0%as you
align:start position:0%as yoususpect the results from our K Square
align:start position:0%suspect the results from our K Square
align:start position:0%suspect the results from our K Squaretest have led us to a reasonable next
align:start position:0%test have led us to a reasonable next
align:start position:0%test have led us to a reasonable nextexperiment to
align:start position:0%
align:start position:0% perform in this video you saw how the
align:start position:0%perform in this video you saw how the
align:start position:0%perform in this video you saw how thekai Square statistic can help us
align:start position:0%kai Square statistic can help us
align:start position:0%kai Square statistic can help usdetermine if our experimental genetic
align:start position:0%determine if our experimental genetic
align:start position:0%determine if our experimental geneticdata came from the expected population
align:start position:0%data came from the expected population
align:start position:0%data came from the expected populationthis
align:start position:0%this
align:start position:0%thisdistribution comparing observed values
align:start position:0%distribution comparing observed values
align:start position:0%distribution comparing observed valuesto expected values helped us determine
align:start position:0%to expected values helped us determine
align:start position:0%to expected values helped us determineif deviations in our data could be
align:start position:0%if deviations in our data could be
align:start position:0%if deviations in our data could beexplained by random chance or if a
align:start position:0%explained by random chance or if a
align:start position:0%explained by random chance or if ahypothesis needed
align:start position:0%hypothesis needed
align:start position:0%hypothesis neededrevision the Ki Square test for goodness
align:start position:0%revision the Ki Square test for goodness
align:start position:0%revision the Ki Square test for goodnessof fit is just one statistical test of
align:start position:0%of fit is just one statistical test of
align:start position:0%of fit is just one statistical test ofmany that allows us to determine how
align:start position:0%many that allows us to determine how
align:start position:0%many that allows us to determine howconfident we are that a sample of data
align:start position:0%confident we are that a sample of data
align:start position:0%confident we are that a sample of datacomes from a population with a certain
align:start position:0%comes from a population with a certain
align:start position:0%comes from a population with a certaindistribution it is important to
align:start position:0%distribution it is important to
align:start position:0%distribution it is important tounderstand what these tests mean and how
align:start position:0%understand what these tests mean and how
align:start position:0%understand what these tests mean and howto interpret their results so that you
align:start position:0%to interpret their results so that you
align:start position:0%to interpret their results so that youknow their limitations and can make
align:start position:0%know their limitations and can make
align:start position:0%know their limitations and can makeinform
align:start position:0%
align:start position:0% [Music]
align:start position:0%
align:start position:0% decisions123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491align:start position:0% assessing student work uh as a team um
align:start position:0%assessing student work uh as a team um
align:start position:0%assessing student work uh as a team umhas different challenges of of course
align:start position:0%has different challenges of of course
align:start position:0%has different challenges of of coursethe first thing you do is assess the
align:start position:0%the first thing you do is assess the
align:start position:0%the first thing you do is assess theoutput of the team's work uh whether
align:start position:0%output of the team's work uh whether
align:start position:0%output of the team's work uh whetherthat's a requirement set whether it's a
align:start position:0%that's a requirement set whether it's a
align:start position:0%that's a requirement set whether it's aset of initial Concepts whether it's a
align:start position:0%set of initial Concepts whether it's a
align:start position:0%set of initial Concepts whether it's apresentation that's given at a
align:start position:0%presentation that's given at a
align:start position:0%presentation that's given at apreliminary design review uh whether
align:start position:0%preliminary design review uh whether
align:start position:0%preliminary design review uh whetherit's a physical prototype that they
align:start position:0%it's a physical prototype that they
align:start position:0%it's a physical prototype that theypresent as as a team um so that always
align:start position:0%present as as a team um so that always
align:start position:0%present as as a team um so that alwaysshould be the first um thing that is
align:start position:0%should be the first um thing that is
align:start position:0%should be the first um thing that isassessed is what is the net output that
align:start position:0%assessed is what is the net output that
align:start position:0%assessed is what is the net output thatthat the team has produced um within
align:start position:0%that the team has produced um within
align:start position:0%that the team has produced um withinthat uh it is not always easy to discern
align:start position:0%that uh it is not always easy to discern
align:start position:0%that uh it is not always easy to discernwhat has been the individual
align:start position:0%what has been the individual
align:start position:0%what has been the individualcontribution since the the whole purpose
align:start position:0%contribution since the the whole purpose
align:start position:0%contribution since the the whole purposeof a team is that you know the the sum
align:start position:0%of a team is that you know the the sum
align:start position:0%of a team is that you know the the sumthat comes out is greater than the
align:start position:0%that comes out is greater than the
align:start position:0%that comes out is greater than theindividual parts so in the best
align:start position:0%individual parts so in the best
align:start position:0%individual parts so in the bestfunctioning teams there's a magic that
align:start position:0%functioning teams there's a magic that
align:start position:0%functioning teams there's a magic thathappens there there's a Synergy that
align:start position:0%happens there there's a Synergy that
align:start position:0%happens there there's a Synergy thathappens there's an output that's only
align:start position:0%happens there's an output that's only
align:start position:0%happens there's an output that's onlyproduced by these synergistic
align:start position:0%produced by these synergistic
align:start position:0%produced by these synergisticinteractions of all the team members in
align:start position:0%interactions of all the team members in
align:start position:0%interactions of all the team members inin a sense
align:start position:0%in a sense
align:start position:0%in a senseum trying to dissect you know what's the
align:start position:0%um trying to dissect you know what's the
align:start position:0%um trying to dissect you know what's theindividual piece that everybody did is
align:start position:0%individual piece that everybody did is
align:start position:0%individual piece that everybody did iscounter this idea of Team Synergy that
align:start position:0%counter this idea of Team Synergy that
align:start position:0%counter this idea of Team Synergy thatbeing said we also need to um assess
align:start position:0%being said we also need to um assess
align:start position:0%being said we also need to um assessindividually the contributions and the
align:start position:0%individually the contributions and the
align:start position:0%individually the contributions and thelearnings of students and we do this
align:start position:0%learnings of students and we do this
align:start position:0%learnings of students and we do thisthrough a couple of mechanisms for
align:start position:0%through a couple of mechanisms for
align:start position:0%through a couple of mechanisms forexample a peer review uh so you can do a
align:start position:0%example a peer review uh so you can do a
align:start position:0%example a peer review uh so you can do apeer review process uh it's trickier in
align:start position:0%peer review process uh it's trickier in
align:start position:0%peer review process uh it's trickier insmaller teams than in larger teams but
align:start position:0%smaller teams than in larger teams but
align:start position:0%smaller teams than in larger teams butum if it's done properly peer review can
align:start position:0%um if it's done properly peer review can
align:start position:0%um if it's done properly peer review canbe very effective in in not only helping
align:start position:0%be very effective in in not only helping
align:start position:0%be very effective in in not only helpingone understand you know who who um who
align:start position:0%one understand you know who who um who
align:start position:0%one understand you know who who um whoare the
align:start position:0%are the
align:start position:0%are thecontributors and who are the Free Riders
align:start position:0%contributors and who are the Free Riders
align:start position:0%contributors and who are the Free Ridersthis is always a big issue in teams is
align:start position:0%this is always a big issue in teams is
align:start position:0%this is always a big issue in teams isthat the free riter syndrome where uh
align:start position:0%that the free riter syndrome where uh
align:start position:0%that the free riter syndrome where uhsome team members contribute
align:start position:0%some team members contribute
align:start position:0%some team members contributesignificantly less than others and this
align:start position:0%significantly less than others and this
align:start position:0%significantly less than others and thisis often The Source can be a source of
align:start position:0%is often The Source can be a source of
align:start position:0%is often The Source can be a source ofconflict
align:start position:0%conflict
align:start position:0%conflictand so understanding this is important
align:start position:0%and so understanding this is important
align:start position:0%and so understanding this is importantbut also having other mechanisms in the
align:start position:0%but also having other mechanisms in the
align:start position:0%but also having other mechanisms in theclass such as an individual final exam
align:start position:0%class such as an individual final exam
align:start position:0%class such as an individual final examand then the other uh written exam which
align:start position:0%and then the other uh written exam which
align:start position:0%and then the other uh written exam whichis administered online and the other
align:start position:0%is administered online and the other
align:start position:0%is administered online and the otherthing we started doing is oral exams
align:start position:0%thing we started doing is oral exams
align:start position:0%thing we started doing is oral examswhich seems oldfashioned but I have to
align:start position:0%which seems oldfashioned but I have to
align:start position:0%which seems oldfashioned but I have totell you in 15 to 20 minutes of a
align:start position:0%tell you in 15 to 20 minutes of a
align:start position:0%tell you in 15 to 20 minutes of aone-on-one conversation with a student
align:start position:0%one-on-one conversation with a student
align:start position:0%one-on-one conversation with a studentat the end of the class you really learn
align:start position:0%at the end of the class you really learn
align:start position:0%at the end of the class you really learna lot you learn a lot about what they've
align:start position:0%a lot you learn a lot about what they've
align:start position:0%a lot you learn a lot about what they'velearned uh where they may still have
align:start position:0%learned uh where they may still have
align:start position:0%learned uh where they may still haveconfusion or misconceptions and also the
align:start position:0%confusion or misconceptions and also the
align:start position:0%confusion or misconceptions and also thefeedback that they give you so I highly
align:start position:0%feedback that they give you so I highly
align:start position:0%feedback that they give you so I highlyrecommend to do oral exams if it's
align:start position:0%recommend to do oral exams if it's
align:start position:0%recommend to do oral exams if it'spossible12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147align:start position:0% i won't tile this in with the discount
align:start position:0%i won't tile this in with the discount
align:start position:0%i won't tile this in with the discountrate here
align:start position:0%rate here
align:start position:0%rate herenow
align:start position:0%now
align:start position:0%nowwhen the demand for capacity is growing
align:start position:0%when the demand for capacity is growing
align:start position:0%when the demand for capacity is growingsay for electricity
align:start position:0%say for electricity
align:start position:0%say for electricityyou have two choices you can build a big
align:start position:0%you have two choices you can build a big
align:start position:0%you have two choices you can build a bigplant now for many years ahead so i'm
align:start position:0%plant now for many years ahead so i'm
align:start position:0%plant now for many years ahead so i'mgoing to okay i'm going to build a plant
align:start position:0%going to okay i'm going to build a plant
align:start position:0%going to okay i'm going to build a plantfor the next uh 20 years my father had
align:start position:0%for the next uh 20 years my father had
align:start position:0%for the next uh 20 years my father hadthis experience working actually in
align:start position:0%this experience working actually in
align:start position:0%this experience working actually inindia on the when they were building the
align:start position:0%india on the when they were building the
align:start position:0%india on the when they were building theoriginal steel mills about 30 or 40
align:start position:0%original steel mills about 30 or 40
align:start position:0%original steel mills about 30 or 40years ago the whole pressure was build
align:start position:0%years ago the whole pressure was build
align:start position:0%years ago the whole pressure was buildbig plants get them really efficient
align:start position:0%
align:start position:0% that's one approach and the other
align:start position:0%that's one approach and the other
align:start position:0%that's one approach and the otherapproach is to build small now and some
align:start position:0%approach is to build small now and some
align:start position:0%approach is to build small now and somemore smaller units later on as you phase
align:start position:0%more smaller units later on as you phase
align:start position:0%more smaller units later on as you phasethe
align:start position:0%the
align:start position:0%thecapacity according to the growth of the
align:start position:0%capacity according to the growth of the
align:start position:0%capacity according to the growth of themarket
align:start position:0%market
align:start position:0%marketso the choice a is based on economies of
align:start position:0%so the choice a is based on economies of
align:start position:0%so the choice a is based on economies ofscale
align:start position:0%scale
align:start position:0%scaleand the choice b
align:start position:0%and the choice b
align:start position:0%and the choice bhas this particular feature which i want
align:start position:0%has this particular feature which i want
align:start position:0%has this particular feature which i wantto emphasize here
align:start position:0%to emphasize here
align:start position:0%to emphasize hereis that if you decide to build a
align:start position:0%is that if you decide to build a
align:start position:0%is that if you decide to build acapacity when you need it that is not
align:start position:0%capacity when you need it that is not
align:start position:0%capacity when you need it that is notall now
align:start position:0%all now
align:start position:0%all nowbecause you're if you're building for
align:start position:0%because you're if you're building for
align:start position:0%because you're if you're building forthe next 10 years or 15 years but maybe
align:start position:0%the next 10 years or 15 years but maybe
align:start position:0%the next 10 years or 15 years but maybein three or four years
align:start position:0%in three or four years
align:start position:0%in three or four yearsthat extra addition if your money is
align:start position:0%that extra addition if your money is
align:start position:0%that extra addition if your money isexpensive you have a discount rate of
align:start position:0%expensive you have a discount rate of
align:start position:0%expensive you have a discount rate often percent or eight percent or whatever
align:start position:0%ten percent or eight percent or whatever
align:start position:0%ten percent or eight percent or whateverit might be
align:start position:0%it might be
align:start position:0%it might bemight be say oh three three years later
align:start position:0%might be say oh three three years later
align:start position:0%might be say oh three three years laterif i build that same plant
align:start position:0%if i build that same plant
align:start position:0%if i build that same planti don't pay a hundred units because 100
align:start position:0%i don't pay a hundred units because 100
align:start position:0%i don't pay a hundred units because 100of what i paid the first year well your
align:start position:0%of what i paid the first year well your
align:start position:0%of what i paid the first year well yourcheck may be 400 percent but the present
align:start position:0%check may be 400 percent but the present
align:start position:0%check may be 400 percent but the presentvalue of it would be discounted over
align:start position:0%value of it would be discounted over
align:start position:0%value of it would be discounted overthree years and come in roughly speaking
align:start position:0%three years and come in roughly speaking
align:start position:0%three years and come in roughly speakingfor orders of magnitude would be thirty
align:start position:0%for orders of magnitude would be thirty
align:start position:0%for orders of magnitude would be thirtypercent uh less or if the discount rate
align:start position:0%percent uh less or if the discount rate
align:start position:0%percent uh less or if the discount ratewas eight be about 25 percent less so
align:start position:0%was eight be about 25 percent less so
align:start position:0%was eight be about 25 percent less sothe point is that by deferring the cost
align:start position:0%the point is that by deferring the cost
align:start position:0%the point is that by deferring the costyou counter balance the cost of the
align:start position:0%you counter balance the cost of the
align:start position:0%you counter balance the cost of theeffective economy of scale
align:start position:0%effective economy of scale
align:start position:0%effective economy of scaleif the argument is if i build it big
align:start position:0%if the argument is if i build it big
align:start position:0%if the argument is if i build it bigit's cheaper per unit
align:start position:0%it's cheaper per unit
align:start position:0%it's cheaper per unitbut if you delay
align:start position:0%but if you delay
align:start position:0%but if you delaythe investments those other additions
align:start position:0%the investments those other additions
align:start position:0%the investments those other additionsoccur later in time
align:start position:0%occur later in time
align:start position:0%occur later in timeand their cost is discounted so that
align:start position:0%and their cost is discounted so that
align:start position:0%and their cost is discounted so thatthe advantage of building large in the
align:start position:0%the advantage of building large in the
align:start position:0%the advantage of building large in thebeginning are counter balanced so the
align:start position:0%beginning are counter balanced so the
align:start position:0%beginning are counter balanced so thediscount rate counterbalance the economy
align:start position:0%discount rate counterbalance the economy
align:start position:0%discount rate counterbalance the economythe scale
align:start position:0%the scale
align:start position:0%the scalethat is what you might gain
align:start position:0%that is what you might gain
align:start position:0%that is what you might gainby using
align:start position:0%by using
align:start position:0%by usingeconomies of scale um in
align:start position:0%economies of scale um in
align:start position:0%economies of scale um inthe control the productivity of the
align:start position:0%the control the productivity of the
align:start position:0%the control the productivity of theplant and principle you can lose by the
align:start position:0%plant and principle you can lose by the
align:start position:0%plant and principle you can lose by theeconomics
align:start position:0%economics
align:start position:0%economicsnow if you consider that economies of
align:start position:0%now if you consider that economies of
align:start position:0%now if you consider that economies ofscale is a driver of the engineering
align:start position:0%scale is a driver of the engineering
align:start position:0%scale is a driver of the engineeringdesign
align:start position:0%design
align:start position:0%designrecognize the same point that many
align:start position:0%recognize the same point that many
align:start position:0%recognize the same point that manyengineering designs what is the best
align:start position:0%engineering designs what is the best
align:start position:0%engineering designs what is the besttechnical design
align:start position:0%technical design
align:start position:0%technical designuh don't really factor in the economics
align:start position:0%uh don't really factor in the economics
align:start position:0%uh don't really factor in the economicsof it they'll look at the
align:start position:0%of it they'll look at the
align:start position:0%of it they'll look at theall right you asked me to provide
align:start position:0%all right you asked me to provide
align:start position:0%all right you asked me to providecapacity this is the cheapest way to do
align:start position:0%capacity this is the cheapest way to do
align:start position:0%capacity this is the cheapest way to doit
align:start position:0%it
align:start position:0%itso
align:start position:0%so
align:start position:0%sothis ties in this discussion ties in
align:start position:0%this ties in this discussion ties in
align:start position:0%this ties in this discussion ties inwith the
align:start position:0%with the
align:start position:0%with themit text
align:start position:0%mit text
align:start position:0%mit textsimple case that i gave you a homework
align:start position:0%simple case that i gave you a homework
align:start position:0%simple case that i gave you a homeworktwo that i've given you that you're
align:start position:0%two that i've given you that you're
align:start position:0%two that i've given you that you'returning in soon
align:start position:0%turning in soon
align:start position:0%turning in soonthat you know if you look at it i've
align:start position:0%that you know if you look at it i've
align:start position:0%that you know if you look at it i'vegiven you some particular numbers
align:start position:0%given you some particular numbers
align:start position:0%given you some particular numbersand of course your numbers depend on
align:start position:0%and of course your numbers depend on
align:start position:0%and of course your numbers depend onyour special factors your own uh
align:start position:0%your special factors your own uh
align:start position:0%your special factors your own uhbut very often the things with economy
align:start position:0%but very often the things with economy
align:start position:0%but very often the things with economythat scale just isn't a good design
align:start position:0%that scale just isn't a good design
align:start position:0%that scale just isn't a good designbecause on an economic basis from a
align:start position:0%because on an economic basis from a
align:start position:0%because on an economic basis from aproductivity basis purely technically it
align:start position:0%productivity basis purely technically it
align:start position:0%productivity basis purely technically itlooks great from a economic basis it may
align:start position:0%looks great from a economic basis it may
align:start position:0%looks great from a economic basis it maynot there's x counter balancing of the
align:start position:0%not there's x counter balancing of the
align:start position:0%not there's x counter balancing of theof the discount rate counterbalances the
align:start position:0%of the discount rate counterbalances the
align:start position:0%of the discount rate counterbalances theeconomies of scale
align:start position:0%
align:start position:0% now this is compounded by this thing of
align:start position:0%now this is compounded by this thing of
align:start position:0%now this is compounded by this thing oflearning
align:start position:0%learning
align:start position:0%learningthat is
align:start position:0%that is
align:start position:0%that iswhat is this thing
align:start position:0%what is this thing
align:start position:0%what is this thingso learning is an experiment an
align:start position:0%so learning is an experiment an
align:start position:0%so learning is an experiment anempirical observation the production of
align:start position:0%empirical observation the production of
align:start position:0%empirical observation the production ofmore units
align:start position:0%more units
align:start position:0%more unitsuh gives a lower unit cost
align:start position:0%uh gives a lower unit cost
align:start position:0%uh gives a lower unit costwhy is this
align:start position:0%why is this
align:start position:0%why is thiswell the first time for those of you who
align:start position:0%well the first time for those of you who
align:start position:0%well the first time for those of you whohave ever gone camping and have had to
align:start position:0%have ever gone camping and have had to
align:start position:0%have ever gone camping and have had toraise a tent the first time you put your
align:start position:0%raise a tent the first time you put your
align:start position:0%raise a tent the first time you put yourtent together you probably
align:start position:0%tent together you probably
align:start position:0%tent together you probablytook a long time you had to figure out
align:start position:0%took a long time you had to figure out
align:start position:0%took a long time you had to figure outwhere part a went to part c and so forth
align:start position:0%where part a went to part c and so forth
align:start position:0%where part a went to part c and so forthand you hadn't done it before
align:start position:0%and you hadn't done it before
align:start position:0%and you hadn't done it beforeand by the time you've done it 10 or 15
align:start position:0%and by the time you've done it 10 or 15
align:start position:0%and by the time you've done it 10 or 15times you can probably do it much faster
align:start position:0%times you can probably do it much faster
align:start position:0%times you can probably do it much fasterthat is you've learned something about
align:start position:0%that is you've learned something about
align:start position:0%that is you've learned something aboutit
align:start position:0%it
align:start position:0%itso
align:start position:0%so
align:start position:0%soit's a
align:start position:0%it's a
align:start position:0%it's acommon kind of exp of
align:start position:0%common kind of exp of
align:start position:0%common kind of exp ofindustrial analysis to compare the cost
align:start position:0%industrial analysis to compare the cost
align:start position:0%industrial analysis to compare the costof producing a unit whether it's a ship
align:start position:0%of producing a unit whether it's a ship
align:start position:0%of producing a unit whether it's a shipor a car or an oil platform
align:start position:0%or a car or an oil platform
align:start position:0%or a car or an oil platformby looking at what was the cost of first
align:start position:0%by looking at what was the cost of first
align:start position:0%by looking at what was the cost of firstdesign was
align:start position:0%design was
align:start position:0%design wasthe cost of the second one like the
align:start position:0%the cost of the second one like the
align:start position:0%the cost of the second one like thefirst the stir and so forth
align:start position:0%first the stir and so forth
align:start position:0%first the stir and so forthand it's called learning on the basis
align:start position:0%and it's called learning on the basis
align:start position:0%and it's called learning on the basisthat you on the idea that you've learned
align:start position:0%that you on the idea that you've learned
align:start position:0%that you on the idea that you've learnedsomething how to do it better bet uh
align:start position:0%something how to do it better bet uh
align:start position:0%something how to do it better bet uhbetter it also may reflect frankly not
align:start position:0%better it also may reflect frankly not
align:start position:0%better it also may reflect frankly notjust learning
align:start position:0%just learning
align:start position:0%just learningbut also that you've
align:start position:0%but also that you've
align:start position:0%but also that you'vechanged the design somewhat you've
align:start position:0%changed the design somewhat you've
align:start position:0%changed the design somewhat you'vetweaked it somehow so it's now more
align:start position:0%tweaked it somehow so it's now more
align:start position:0%tweaked it somehow so it's now moreefficient
align:start position:0%efficient
align:start position:0%efficientbut
align:start position:0%but
align:start position:0%butcollectively it's known as the learning
align:start position:0%collectively it's known as the learning
align:start position:0%collectively it's known as the learningphenomenon and this can be very
align:start position:0%phenomenon and this can be very
align:start position:0%phenomenon and this can be veryimportant i was working with bp at one
align:start position:0%important i was working with bp at one
align:start position:0%important i was working with bp at onetime and for reasons which was counter
align:start position:0%time and for reasons which was counter
align:start position:0%time and for reasons which was counterthere to their culture
align:start position:0%there to their culture
align:start position:0%there to their cultureum
align:start position:0%um
align:start position:0%umwhen they were doing some drilling in
align:start position:0%when they were doing some drilling in
align:start position:0%when they were doing some drilling inazerbaijan
align:start position:0%azerbaijan
align:start position:0%azerbaijanuh
align:start position:0%uh
align:start position:0%uhthat uh their
align:start position:0%that uh their
align:start position:0%that uh theirstandard practice was to uh have bespoke
align:start position:0%standard practice was to uh have bespoke
align:start position:0%standard practice was to uh have bespokedesigns as designs particularly suited
align:start position:0%designs as designs particularly suited
align:start position:0%designs as designs particularly suitedto the location the depth of water
align:start position:0%to the location the depth of water
align:start position:0%to the location the depth of waterand um
align:start position:0%and um
align:start position:0%and umthat didn't work for a variety of
align:start position:0%that didn't work for a variety of
align:start position:0%that didn't work for a variety ofreasons so they made they actually
align:start position:0%reasons so they made they actually
align:start position:0%reasons so they made they actuallyimplemented three platforms which were
align:start position:0%implemented three platforms which were
align:start position:0%implemented three platforms which werecopies of each other
align:start position:0%copies of each other
align:start position:0%copies of each otherand what they found was huge
align:start position:0%and what they found was huge
align:start position:0%and what they found was hugeuh
align:start position:0%uh
align:start position:0%uhsavings through this learning in that
align:start position:0%savings through this learning in that
align:start position:0%savings through this learning in thatcase particularly because
align:start position:0%case particularly because
align:start position:0%case particularly becauseby the time the teams came to do the
align:start position:0%by the time the teams came to do the
align:start position:0%by the time the teams came to do thesecond and third one they knew better
align:start position:0%second and third one they knew better
align:start position:0%second and third one they knew betterhow to sequence their
align:start position:0%how to sequence their
align:start position:0%how to sequence theiruse of labor and materials
align:start position:0%use of labor and materials
align:start position:0%use of labor and materialswhen to time things how to time things
align:start position:0%when to time things how to time things
align:start position:0%when to time things how to time thingswhat was the better way of putting the
align:start position:0%what was the better way of putting the
align:start position:0%what was the better way of putting thepieces together just like learning how
align:start position:0%pieces together just like learning how
align:start position:0%pieces together just like learning howto put up a tent when you go camping
align:start position:0%to put up a tent when you go camping
align:start position:0%to put up a tent when you go campingso this effect which basically says if
align:start position:0%so this effect which basically says if
align:start position:0%so this effect which basically says ifyou build modules that are the same you
align:start position:0%you build modules that are the same you
align:start position:0%you build modules that are the same youcan make it less expensive
align:start position:0%can make it less expensive
align:start position:0%can make it less expensiveadds on in increases the effect of the
align:start position:0%adds on in increases the effect of the
align:start position:0%adds on in increases the effect of thediscount rate insofar as it makes future
align:start position:0%discount rate insofar as it makes future
align:start position:0%discount rate insofar as it makes futureinvestments of a series of modules uh
align:start position:0%investments of a series of modules uh
align:start position:0%investments of a series of modules uhcheaper
align:start position:0%cheaper
align:start position:0%cheaperso it is another add-on to the
align:start position:0%so it is another add-on to the
align:start position:0%so it is another add-on to theimportance of
align:start position:0%importance of
align:start position:0%importance ofthe discount rate in terms of
align:start position:0%the discount rate in terms of
align:start position:0%the discount rate in terms ofcounterbalancing economies of scale
align:start position:0%
align:start position:0% um
align:start position:0%um
align:start position:0%umright so i've just sort of said it but
align:start position:0%right so i've just sort of said it but
align:start position:0%right so i've just sort of said it buti'm calling it again
align:start position:0%i'm calling it again
align:start position:0%i'm calling it againlearning is in quotes because it's not
align:start position:0%learning is in quotes because it's not
align:start position:0%learning is in quotes because it's notonly learning you may have some
align:start position:0%only learning you may have some
align:start position:0%only learning you may have sometechnological
align:start position:0%technological
align:start position:0%technologicalimprovements over time also you didn't
align:start position:0%improvements over time also you didn't
align:start position:0%improvements over time also you didn'thave to have that piece as thick as the
align:start position:0%have to have that piece as thick as the
align:start position:0%have to have that piece as thick as theother ones because you found out you
align:start position:0%other ones because you found out you
align:start position:0%other ones because you found out youdidn't need it and so forth so there are
align:start position:0%didn't need it and so forth so there are
align:start position:0%didn't need it and so forth so there arevarious ways you can improve on the
align:start position:0%various ways you can improve on the
align:start position:0%various ways you can improve on thedesign but it reflects the empirical
align:start position:0%design but it reflects the empirical
align:start position:0%design but it reflects the empiricalunderstanding that as you an observable
align:start position:0%understanding that as you an observable
align:start position:0%understanding that as you an observableunderstanding as you make the same thing
align:start position:0%understanding as you make the same thing
align:start position:0%understanding as you make the same thingagain and again you can do it
align:start position:0%again and again you can do it
align:start position:0%again and again you can do itless expensively and this can be
align:start position:0%less expensively and this can be
align:start position:0%less expensively and this can bequite important
align:start position:0%
align:start position:0% now the uh next one here is this notion
align:start position:0%now the uh next one here is this notion
align:start position:0%now the uh next one here is this notionof competitive gaming
align:start position:0%of competitive gaming
align:start position:0%of competitive gamingwhich is that
align:start position:0%which is that
align:start position:0%which is thatit's not so easy to define
align:start position:0%it's not so easy to define
align:start position:0%it's not so easy to definedirectly but it basically says sometimes
align:start position:0%directly but it basically says sometimes
align:start position:0%directly but it basically says sometimesit's important to make a decision
align:start position:0%it's important to make a decision
align:start position:0%it's important to make a decisionmake a commitment in advance as a signal
align:start position:0%make a commitment in advance as a signal
align:start position:0%make a commitment in advance as a signalto competitors
align:start position:0%to competitors
align:start position:0%to competitorsso the example i guess relate to here is
align:start position:0%so the example i guess relate to here is
align:start position:0%so the example i guess relate to here iswhen cortez invaded mexico
align:start position:0%when cortez invaded mexico
align:start position:0%when cortez invaded mexicoand he came there by ship
align:start position:0%and he came there by ship
align:start position:0%and he came there by shiphe deliberately burned his ship
align:start position:0%
align:start position:0% so he could not go back the implication
align:start position:0%so he could not go back the implication
align:start position:0%so he could not go back the implicationbeing
align:start position:0%being
align:start position:0%beingi am committed if you work with me i
align:start position:0%i am committed if you work with me i
align:start position:0%i am committed if you work with me iwill be here because i am not going
align:start position:0%will be here because i am not going
align:start position:0%will be here because i am not goinganywhere else i'm not going to uh
align:start position:0%
align:start position:0% decide to go home and leave you alone if
align:start position:0%decide to go home and leave you alone if
align:start position:0%decide to go home and leave you alone ifyou if you revolt against the aztec
align:start position:0%you if you revolt against the aztec
align:start position:0%you if you revolt against the aztecrulers
align:start position:0%rulers
align:start position:0%rulersi'm going to be here because i can't go
align:start position:0%i'm going to be here because i can't go
align:start position:0%i'm going to be here because i can't goanywhere else so
align:start position:0%anywhere else so
align:start position:0%anywhere else soit's
align:start position:0%it's
align:start position:0%it'sattributed by some people that this was
align:start position:0%attributed by some people that this was
align:start position:0%attributed by some people that this wasa an important aspect competitive aspect
align:start position:0%a an important aspect competitive aspect
align:start position:0%a an important aspect competitive aspectof saying we're not going to have any
align:start position:0%of saying we're not going to have any
align:start position:0%of saying we're not going to have anyflexibility we're going to commit right
align:start position:0%flexibility we're going to commit right
align:start position:0%flexibility we're going to commit rightnow it's important
align:start position:0%now it's important
align:start position:0%now it's importantand
align:start position:0%and
align:start position:0%andi'm now working with a company in
align:start position:0%i'm now working with a company in
align:start position:0%i'm now working with a company inmorocco which produces phosphate and
align:start position:0%morocco which produces phosphate and
align:start position:0%morocco which produces phosphate andtheir view is
align:start position:0%their view is
align:start position:0%their view issomewhat similar
align:start position:0%somewhat similar
align:start position:0%somewhat similarthey have uh they're committed to have
align:start position:0%they have uh they're committed to have
align:start position:0%they have uh they're committed to havebm
align:start position:0%bm
align:start position:0%bmto add on capacity to their production
align:start position:0%to add on capacity to their production
align:start position:0%to add on capacity to their productionand it's a signal to everybody else that
align:start position:0%and it's a signal to everybody else that
align:start position:0%and it's a signal to everybody else thatwe are going to we intend to be the big
align:start position:0%we are going to we intend to be the big
align:start position:0%we are going to we intend to be the biguh producers on the block we intend to
align:start position:0%uh producers on the block we intend to
align:start position:0%uh producers on the block we intend tobe the world's uh dominant producers and
align:start position:0%be the world's uh dominant producers and
align:start position:0%be the world's uh dominant producers andif you want to build your capacity and
align:start position:0%if you want to build your capacity and
align:start position:0%if you want to build your capacity andcompete with us you're going to lose
align:start position:0%compete with us you're going to lose
align:start position:0%compete with us you're going to losebecause we're going to have more of it
align:start position:0%because we're going to have more of it
align:start position:0%because we're going to have more of itwe're going to be cheaper and we're
align:start position:0%we're going to be cheaper and we're
align:start position:0%we're going to be cheaper and we'regoing to dominate so
align:start position:0%going to dominate so
align:start position:0%going to dominate sothat kind of thinking or very variance
align:start position:0%that kind of thinking or very variance
align:start position:0%that kind of thinking or very varianceon this kind of thinking suggests
align:start position:0%on this kind of thinking suggests
align:start position:0%on this kind of thinking suggestsillustrates tries to illustrate the
align:start position:0%illustrates tries to illustrate the
align:start position:0%illustrates tries to illustrate thepoint that
align:start position:0%point that
align:start position:0%point thateliminating flexibility it can be a good
align:start position:0%eliminating flexibility it can be a good
align:start position:0%eliminating flexibility it can be a goodthing
align:start position:0%thing
align:start position:0%thingso
align:start position:0%so
align:start position:0%sothe tendency of these principle drivers
align:start position:0%the tendency of these principle drivers
align:start position:0%the tendency of these principle driverswhich i just referred to are the
align:start position:0%which i just referred to are the
align:start position:0%which i just referred to are thefollowing first uncertainty
align:start position:0%following first uncertainty
align:start position:0%following first uncertaintyemphasizes
align:start position:0%emphasizes
align:start position:0%emphasizesuh
align:start position:0%uh
align:start position:0%uhflexibility the cons is scaled against
align:start position:0%flexibility the cons is scaled against
align:start position:0%flexibility the cons is scaled againstthe discount rate is four the learning
align:start position:0%the discount rate is four the learning
align:start position:0%the discount rate is four the learningis four and the competitive again is
align:start position:0%is four and the competitive again is
align:start position:0%is four and the competitive again isagainst
align:start position:0%against
align:start position:0%againstso
align:start position:0%so
align:start position:0%souh this is where i want to
align:start position:0%uh this is where i want to
align:start position:0%uh this is where i want tolet you think about it that when you're
align:start position:0%let you think about it that when you're
align:start position:0%let you think about it that when you'rethinking about
align:start position:0%thinking about
align:start position:0%thinking aboutum
align:start position:0%um
align:start position:0%umwhere are the pros and cons for having
align:start position:0%where are the pros and cons for having
align:start position:0%where are the pros and cons for havingeconomies of scale there are a number of
align:start position:0%economies of scale there are a number of
align:start position:0%economies of scale there are a number ofissues to take into consideration
align:start position:0%issues to take into consideration
align:start position:0%issues to take into considerationit's not all
align:start position:0%it's not all
align:start position:0%it's not allif there's uncertainty you have to have
align:start position:0%if there's uncertainty you have to have
align:start position:0%if there's uncertainty you have to havea flexibility
align:start position:0%a flexibility
align:start position:0%a flexibilitymaybe maybe not you have to do the
align:start position:0%maybe maybe not you have to do the
align:start position:0%maybe maybe not you have to do thecalculations and explore it to get it
align:start position:0%calculations and explore it to get it
align:start position:0%calculations and explore it to get itright but it's not clear what the answer
align:start position:0%right but it's not clear what the answer
align:start position:0%right but it's not clear what the answerhas to be there's not one possible
align:start position:0%has to be there's not one possible
align:start position:0%has to be there's not one possibleanswer1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435align:start position:0% after our warmup we can now come to the
align:start position:0%after our warmup we can now come to the
align:start position:0%after our warmup we can now come to thereal problem we have again a random
align:start position:0%real problem we have again a random
align:start position:0%real problem we have again a randomvariable theta with a known prior
align:start position:0%variable theta with a known prior
align:start position:0%variable theta with a known priordistribution and we're interested in a
align:start position:0%distribution and we're interested in a
align:start position:0%distribution and we're interested in apoint estimate what will be different
align:start position:0%point estimate what will be different
align:start position:0%point estimate what will be differentthis time however is that we now have an
align:start position:0%this time however is that we now have an
align:start position:0%this time however is that we now have anobservation and we also have a model of
align:start position:0%observation and we also have a model of
align:start position:0%observation and we also have a model ofthat observation as a conditional
align:start position:0%that observation as a conditional
align:start position:0%that observation as a conditionaldistribution given the value of the true
align:start position:0%distribution given the value of the true
align:start position:0%distribution given the value of the trueparameter we observe a value of that
align:start position:0%parameter we observe a value of that
align:start position:0%parameter we observe a value of thatrandom variable that values little X and
align:start position:0%random variable that values little X and
align:start position:0%random variable that values little X andon the basis of that value we would like
align:start position:0%on the basis of that value we would like
align:start position:0%on the basis of that value we would liketo now come up with a point estimate of
align:start position:0%to now come up with a point estimate of
align:start position:0%to now come up with a point estimate ofthe unknown random variable theta how do
align:start position:0%the unknown random variable theta how do
align:start position:0%the unknown random variable theta how dowe proceed we can of course use the
align:start position:0%we proceed we can of course use the
align:start position:0%we proceed we can of course use theBayes rule and the Bayes rule is going
align:start position:0%Bayes rule and the Bayes rule is going
align:start position:0%Bayes rule and the Bayes rule is goingto give us a distribution for the
align:start position:0%to give us a distribution for the
align:start position:0%to give us a distribution for theunknown random variable given the
align:start position:0%unknown random variable given the
align:start position:0%unknown random variable given theobservation that we have obtained and
align:start position:0%observation that we have obtained and
align:start position:0%observation that we have obtained andthat distribution could be discrete or
align:start position:0%that distribution could be discrete or
align:start position:0%that distribution could be discrete orcontinuous let me just plot something as
align:start position:0%continuous let me just plot something as
align:start position:0%continuous let me just plot something asif it's continuous and now that we have
align:start position:0%if it's continuous and now that we have
align:start position:0%if it's continuous and now that we havethe posterior distribution of theta we
align:start position:0%the posterior distribution of theta we
align:start position:0%the posterior distribution of theta wewould like to come up with a point
align:start position:0%would like to come up with a point
align:start position:0%would like to come up with a pointestimate how do we do it remember our
align:start position:0%estimate how do we do it remember our
align:start position:0%estimate how do we do it remember ourearlier conclusion if we do not have any
align:start position:0%earlier conclusion if we do not have any
align:start position:0%earlier conclusion if we do not have anyobservations if we live in a universe
align:start position:0%observations if we live in a universe
align:start position:0%observations if we live in a universewhere we have a distribution of theta
align:start position:0%where we have a distribution of theta
align:start position:0%where we have a distribution of thetaand we want a point estimate the optimal
align:start position:0%and we want a point estimate the optimal
align:start position:0%and we want a point estimate the optimalone the one that minimizes the mean
align:start position:0%one the one that minimizes the mean
align:start position:0%one the one that minimizes the meansquared error is the expected value of
align:start position:0%squared error is the expected value of
align:start position:0%squared error is the expected value ofour random variable but now we live in a
align:start position:0%our random variable but now we live in a
align:start position:0%our random variable but now we live in adifferent universe in a universe where
align:start position:0%different universe in a universe where
align:start position:0%different universe in a universe wherewe have a conditional distribution of
align:start position:0%we have a conditional distribution of
align:start position:0%we have a conditional distribution oftheta we want to minimize the
align:start position:0%theta we want to minimize the
align:start position:0%theta we want to minimize theconditional mean squared error because
align:start position:0%conditional mean squared error because
align:start position:0%conditional mean squared error becausethis is the mean squared error that
align:start position:0%this is the mean squared error that
align:start position:0%this is the mean squared error thatapplies to this conditional universe in
align:start position:0%applies to this conditional universe in
align:start position:0%applies to this conditional universe inwhich we have obtained a particular
align:start position:0%which we have obtained a particular
align:start position:0%which we have obtained a particularobservation what is going to be the
align:start position:0%observation what is going to be the
align:start position:0%observation what is going to be theresult of this minimization well this is
align:start position:0%result of this minimization well this is
align:start position:0%result of this minimization well this isa problem that's identical to the
align:start position:0%a problem that's identical to the
align:start position:0%a problem that's identical to theproblem of minimizing this quantity
align:start position:0%problem of minimizing this quantity
align:start position:0%problem of minimizing this quantityexcept that now this problem is posed in
align:start position:0%except that now this problem is posed in
align:start position:0%except that now this problem is posed ina conditional universe so we just follow
align:start position:0%a conditional universe so we just follow
align:start position:0%a conditional universe so we just followthe same steps and obtain the same
align:start position:0%the same steps and obtain the same
align:start position:0%the same steps and obtain the samesolution the solution is going to be the
align:start position:0%solution the solution is going to be the
align:start position:0%solution the solution is going to be theexpected value of the unknown random
align:start position:0%expected value of the unknown random
align:start position:0%expected value of the unknown randomvariable except that now we live in a
align:start position:0%variable except that now we live in a
align:start position:0%variable except that now we live in aconditional universe and therefore we
align:start position:0%conditional universe and therefore we
align:start position:0%conditional universe and therefore weshould take the relevant expected value
align:start position:0%should take the relevant expected value
align:start position:0%should take the relevant expected valuewhich is the conditional expectation
align:start position:0%which is the conditional expectation
align:start position:0%which is the conditional expectationgiven the information that we have
align:start position:0%given the information that we have
align:start position:0%given the information that we haveavailable in our hands so to summarize
align:start position:0%available in our hands so to summarize
align:start position:0%available in our hands so to summarizewhat we obtain is that the optimal
align:start position:0%what we obtain is that the optimal
align:start position:0%what we obtain is that the optimalestimate is the conditional expectation
align:start position:0%estimate is the conditional expectation
align:start position:0%estimate is the conditional expectationand this is a relation between numbers
align:start position:0%and this is a relation between numbers
align:start position:0%and this is a relation between numbersbut if we want to think about it more
align:start position:0%but if we want to think about it more
align:start position:0%but if we want to think about it moreabstractly we have designed an estimator
align:start position:0%abstractly we have designed an estimator
align:start position:0%abstractly we have designed an estimatorwhich is based on a random variable
align:start position:0%which is based on a random variable
align:start position:0%which is based on a random variablecapital X and calculates the expected
align:start position:0%capital X and calculates the expected
align:start position:0%capital X and calculates the expectedvalue of our random variable that we're
align:start position:0%value of our random variable that we're
align:start position:0%value of our random variable that we'retrying to estimate namely theta on the
align:start position:0%trying to estimate namely theta on the
align:start position:0%trying to estimate namely theta on thebasis of X let us now continue with some
align:start position:0%basis of X let us now continue with some
align:start position:0%basis of X let us now continue with someobservations remember that the expected
align:start position:0%observations remember that the expected
align:start position:0%observations remember that the expectedvalue of theta minimizes this quantity
align:start position:0%value of theta minimizes this quantity
align:start position:0%value of theta minimizes this quantityand we can write this more explicitly in
align:start position:0%and we can write this more explicitly in
align:start position:0%and we can write this more explicitly interms of the following inequality that
align:start position:0%terms of the following inequality that
align:start position:0%terms of the following inequality thatif we use the expected value as an
align:start position:0%if we use the expected value as an
align:start position:0%if we use the expected value as anestimate the resulting mean squared
align:start position:0%estimate the resulting mean squared
align:start position:0%estimate the resulting mean squarederror is less than or equal to the mean
align:start position:0%error is less than or equal to the mean
align:start position:0%error is less than or equal to the meansquared error that we would have
align:start position:0%squared error that we would have
align:start position:0%squared error that we would haveobtained if we had used any other
align:start position:0%obtained if we had used any other
align:start position:0%obtained if we had used any otherestimate see so this is a relation
align:start position:0%estimate see so this is a relation
align:start position:0%estimate see so this is a relationthat's true for all see now let us take
align:start position:0%that's true for all see now let us take
align:start position:0%that's true for all see now let us takethis inequality and translate it into
align:start position:0%this inequality and translate it into
align:start position:0%this inequality and translate it intoour more interesting context where we
align:start position:0%our more interesting context where we
align:start position:0%our more interesting context where wehave an observation available once more
align:start position:0%have an observation available once more
align:start position:0%have an observation available once morethe conditional expectation minimizes
align:start position:0%the conditional expectation minimizes
align:start position:0%the conditional expectation minimizesthe mean squared error let us write out
align:start position:0%the mean squared error let us write out
align:start position:0%the mean squared error let us write outexplicitly what this means in a form
align:start position:0%explicitly what this means in a form
align:start position:0%explicitly what this means in a formanalogous to what we wrote down earlier
align:start position:0%analogous to what we wrote down earlier
align:start position:0%analogous to what we wrote down earlierwhat it means is that the expected value
align:start position:0%what it means is that the expected value
align:start position:0%what it means is that the expected valueof theta minus the estimate namely the
align:start position:0%of theta minus the estimate namely the
align:start position:0%of theta minus the estimate namely theconditional expectation squared in this
align:start position:0%conditional expectation squared in this
align:start position:0%conditional expectation squared in thisconditional universe in which we live
align:start position:0%conditional universe in which we live
align:start position:0%conditional universe in which we livethis is less than or equal to the mean
align:start position:0%this is less than or equal to the mean
align:start position:0%this is less than or equal to the meansquared error that we would have
align:start position:0%squared error that we would have
align:start position:0%squared error that we would haveobtained if we had used any other
align:start position:0%obtained if we had used any other
align:start position:0%obtained if we had used any otherestimate
align:start position:0%
align:start position:0% in the place of the conditional
align:start position:0%in the place of the conditional
align:start position:0%in the place of the conditionalexpectation so for any value G of X that
align:start position:0%expectation so for any value G of X that
align:start position:0%expectation so for any value G of X thatwe might have used the error would have
align:start position:0%we might have used the error would have
align:start position:0%we might have used the error would havebeen at least as large why am I using
align:start position:0%been at least as large why am I using
align:start position:0%been at least as large why am I usingthis notation G here let us go back to
align:start position:0%this notation G here let us go back to
align:start position:0%this notation G here let us go back tothe bigger picture what we have is that
align:start position:0%the bigger picture what we have is that
align:start position:0%the bigger picture what we have is thatwe are obtaining a numerical value X we
align:start position:0%we are obtaining a numerical value X we
align:start position:0%we are obtaining a numerical value X wedo some processing to it which
align:start position:0%do some processing to it which
align:start position:0%do some processing to it whichcorresponds to some function G and we
align:start position:0%corresponds to some function G and we
align:start position:0%corresponds to some function G and wecome up with an estimate which is a
align:start position:0%come up with an estimate which is a
align:start position:0%come up with an estimate which is afunction of the little X that we have
align:start position:0%function of the little X that we have
align:start position:0%function of the little X that we haveobserved so no matter what estimate we
align:start position:0%observed so no matter what estimate we
align:start position:0%observed so no matter what estimate weuse the mean squared error is going to
align:start position:0%use the mean squared error is going to
align:start position:0%use the mean squared error is going tobe at least as large as the mean squared
align:start position:0%be at least as large as the mean squared
align:start position:0%be at least as large as the mean squarederror that we obtain if we use the
align:start position:0%error that we obtain if we use the
align:start position:0%error that we obtain if we use theconditional expectation now let us take
align:start position:0%conditional expectation now let us take
align:start position:0%conditional expectation now let us takethis inequality here and write it in a
align:start position:0%this inequality here and write it in a
align:start position:0%this inequality here and write it in amore abstract form suppose that we have
align:start position:0%more abstract form suppose that we have
align:start position:0%more abstract form suppose that we havesettled on some particular estimator and
align:start position:0%settled on some particular estimator and
align:start position:0%settled on some particular estimator andwe want to compare this estimator with
align:start position:0%we want to compare this estimator with
align:start position:0%we want to compare this estimator withthe expected value estimator then we are
align:start position:0%the expected value estimator then we are
align:start position:0%the expected value estimator then we aregoing to get the following inequality if
align:start position:0%going to get the following inequality if
align:start position:0%going to get the following inequality ifwe use the conditional expectation as an
align:start position:0%we use the conditional expectation as an
align:start position:0%we use the conditional expectation as anestimator in a conditional universe
align:start position:0%estimator in a conditional universe
align:start position:0%estimator in a conditional universewhere we know the value of the random
align:start position:0%where we know the value of the random
align:start position:0%where we know the value of the randomvariable X the corresponding mean
align:start position:0%variable X the corresponding mean
align:start position:0%variable X the corresponding meansquared error is going to be less than
align:start position:0%squared error is going to be less than
align:start position:0%squared error is going to be less thanor equal to the mean squared error
align:start position:0%or equal to the mean squared error
align:start position:0%or equal to the mean squared errorobtained by the alternative estimator G
align:start position:0%obtained by the alternative estimator G
align:start position:0%obtained by the alternative estimator Gwhat does this inequality say this
align:start position:0%what does this inequality say this
align:start position:0%what does this inequality say thisinequality is simply an abstract version
align:start position:0%inequality is simply an abstract version
align:start position:0%inequality is simply an abstract versionof the previous inequality the previous
align:start position:0%of the previous inequality the previous
align:start position:0%of the previous inequality the previousinequality is true for all little X here
align:start position:0%inequality is true for all little X here
align:start position:0%inequality is true for all little X herewe have an inequality between random
align:start position:0%we have an inequality between random
align:start position:0%we have an inequality between randomvariables this random variable here is
align:start position:0%variables this random variable here is
align:start position:0%variables this random variable here isthe random variable that takes this
align:start position:0%the random variable that takes this
align:start position:0%the random variable that takes thisspecific numerical value whenever
align:start position:0%specific numerical value whenever
align:start position:0%specific numerical value whenevercapital X takes the value little X when
align:start position:0%capital X takes the value little X when
align:start position:0%capital X takes the value little X whenX takes the value little X were
align:start position:0%X takes the value little X were
align:start position:0%X takes the value little X wereauditioning on this event and when X is
align:start position:0%auditioning on this event and when X is
align:start position:0%auditioning on this event and when X isequal to little X this quantity takes on
align:start position:0%equal to little X this quantity takes on
align:start position:0%equal to little X this quantity takes onthis particular numerical value and
align:start position:0%this particular numerical value and
align:start position:0%this particular numerical value andsimilarly on the other side this is a
align:start position:0%similarly on the other side this is a
align:start position:0%similarly on the other side this is arandom variable that takes this
align:start position:0%random variable that takes this
align:start position:0%random variable that takes thisparticular numerical value whenever
align:start position:0%particular numerical value whenever
align:start position:0%particular numerical value whenevercapital X is equal to little X now that
align:start position:0%capital X is equal to little X now that
align:start position:0%capital X is equal to little X now thatwe have an inequality between random
align:start position:0%we have an inequality between random
align:start position:0%we have an inequality between randomvariables actually between conditional
align:start position:0%variables actually between conditional
align:start position:0%variables actually between conditionalexpectations we can take expectations of
align:start position:0%expectations we can take expectations of
align:start position:0%expectations we can take expectations ofboth sides and we use the law of
align:start position:0%both sides and we use the law of
align:start position:0%both sides and we use the law ofiterated expectations the expectation of
align:start position:0%iterated expectations the expectation of
align:start position:0%iterated expectations the expectation ofa conditional expectation is an
align:start position:0%a conditional expectation is an
align:start position:0%a conditional expectation is anunconditional expectation so we obtain
align:start position:0%
align:start position:0% this as the expected value of this
align:start position:0%this as the expected value of this
align:start position:0%this as the expected value of thisquantity and it's less than or equal to
align:start position:0%quantity and it's less than or equal to
align:start position:0%quantity and it's less than or equal tothe expected value of this quantity
align:start position:0%the expected value of this quantity
align:start position:0%the expected value of this quantityusing again the law of iterated
align:start position:0%using again the law of iterated
align:start position:0%using again the law of iteratedexpectations we obtain this relation
align:start position:0%expectations we obtain this relation
align:start position:0%expectations we obtain this relationhere and what this inequality is saying
align:start position:0%here and what this inequality is saying
align:start position:0%here and what this inequality is sayingis that the overall mean squared error
align:start position:0%is that the overall mean squared error
align:start position:0%is that the overall mean squared errorif we use the conditional expectation
align:start position:0%if we use the conditional expectation
align:start position:0%if we use the conditional expectationnow as an estimator is less than or
align:start position:0%now as an estimator is less than or
align:start position:0%now as an estimator is less than orequal to the mean squared error that we
align:start position:0%equal to the mean squared error that we
align:start position:0%equal to the mean squared error that wewould obtain if we had used any other
align:start position:0%would obtain if we had used any other
align:start position:0%would obtain if we had used any otherestimator so this inequality refers to
align:start position:0%estimator so this inequality refers to
align:start position:0%estimator so this inequality refers tothe following picture we obtain an
align:start position:0%the following picture we obtain an
align:start position:0%the following picture we obtain anobservation which is a random variable
align:start position:0%observation which is a random variable
align:start position:0%observation which is a random variablewe process that random variable to come
align:start position:0%we process that random variable to come
align:start position:0%we process that random variable to comeup with an estimator which is a function
align:start position:0%up with an estimator which is a function
align:start position:0%up with an estimator which is a functionof the random variable that we observe
align:start position:0%of the random variable that we observe
align:start position:0%of the random variable that we observeand so is itself a random variable so
align:start position:0%and so is itself a random variable so
align:start position:0%and so is itself a random variable sowhen we use this random variable to
align:start position:0%when we use this random variable to
align:start position:0%when we use this random variable toestimate theta we obtain a certain mean
align:start position:0%estimate theta we obtain a certain mean
align:start position:0%estimate theta we obtain a certain meansquared error this is going to be at
align:start position:0%squared error this is going to be at
align:start position:0%squared error this is going to be atleast as large as the mean squared error
align:start position:0%least as large as the mean squared error
align:start position:0%least as large as the mean squared errorthat we obtain if we use the conditional
align:start position:0%that we obtain if we use the conditional
align:start position:0%that we obtain if we use the conditionalexpectation as our estimator
align:start position:0%expectation as our estimator
align:start position:0%expectation as our estimatorso to summarize the conditional
align:start position:0%so to summarize the conditional
align:start position:0%so to summarize the conditionalexpectation of theta viewed as a random
align:start position:0%expectation of theta viewed as a random
align:start position:0%expectation of theta viewed as a randomvariable
align:start position:0%variable
align:start position:0%variableas an estimator what we call the LMS
align:start position:0%as an estimator what we call the LMS
align:start position:0%as an estimator what we call the LMSestimator of theta has the property that
align:start position:0%estimator of theta has the property that
align:start position:0%estimator of theta has the property thatit minimizes the mean squared error over
align:start position:0%it minimizes the mean squared error over
align:start position:0%it minimizes the mean squared error overall possible alternative estimators so
align:start position:0%all possible alternative estimators so
align:start position:0%all possible alternative estimators soif you want to design this box using
align:start position:0%if you want to design this box using
align:start position:0%if you want to design this box usingsome other function G you're going to
align:start position:0%some other function G you're going to
align:start position:0%some other function G you're going toobtain a mean squared error that's going
align:start position:0%obtain a mean squared error that's going
align:start position:0%obtain a mean squared error that's goingto be no better than what you obtain if
align:start position:0%to be no better than what you obtain if
align:start position:0%to be no better than what you obtain ifyou were to use the conditional
align:start position:0%you were to use the conditional
align:start position:0%you were to use the conditionalexpectation12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399The following content isprovided under a Creative
Commons license.
Your support will help MITOpenCourseWare continue to
offer high quality educationalresources for free.
To make a donation or viewadditional materials from
hundreds of MIT courses, visitMIT OpenCourseWare at
ocw.mit.edu.
PROFESSOR: It involves realphenomena out there.
So we have real stuffthat happens.
So it might be an arrivalprocess to a bank that we're
trying to model.
This is a reality, butthis is what we have
been doing so far.
We have been playingwith models of
probabilistic phenomena.
And somehow we need totie the two together.
The way these are tied is thatwe observe the real world and
this gives us data.
And then based on these data, wetry to come up with a model
of what exactly is going on.
For example, for an arrivalprocess, you might ask the
model in question, is my arrivalprocess Poisson or is
it something different?
If it is Poisson, what is therate of the arrival process?
Once you come up with your modeland you come up with the
parameters of the model, thenyou can use it to make
predictions about reality or tofigure out certain hidden
things, certain hidden aspectsof reality, that you do not
observe directly, but you tryto infer what they are.
So that's where the usefulnessof the model comes in.
Now this field is of coursetremendously useful.
And it shows up prettymuch everywhere.
So we talked about the pollingexamples in the
last couple of lectures.
This is, of course, areal application.
You sample and on the basis ofthe sample that you have, you
try to make some inferencesabout, let's say, the
preferences in a givenpopulation.
Let's say in the medical field,you want to try whether
a certain drug makes adifference or not.
So people would do medicaltrials, get some results, and
then from the data somehow youneed to make sense of them and
make a decision.
Is the new drug usefulor is it not?
How do we go systematicallyabout the
question of this type?
A sexier, more recent topic,there's this famous Netflix
competition where Netflix givesyou a huge table of
movies and people.
And people have rated themovies, but not everyone has
watched all of themovies in there.
You have some of the ratings.
For example, this person gave a4 to that particular movie.
So you get the table that'spartially filled.
And the Netflix asksyou to make
recommendations to people.
So this means trying to guess.
This person here, how muchwould they like this
particular movie?
And you can start thinking,well, maybe this person has
given somewhat similar ratingswith another person.
And if that other person hasalso seen that movie, maybe
the rating of that otherperson is relevant.
But of course it's a lot morecomplicated than that.
And this has been a seriouscompetition where people have
been using every heavy, wetmachinery that there is in
statistics, trying tocome up with good
recommendation systems.
Then the other people, ofcourse, are trying to analyze
financial data.
Somebody gives you the sequenceof the values, let's
say of the SMP index.
You look at something like this
and you can ask questions.
How do I model these data usingany of the models that
we have in our bag of tools?
How can I make predictions aboutwhat's going to happen
afterwards, and so on?
On the engineering side,anywhere where you have noise
inference comes in.
Signal processing, insome sense, is just
an inference problem.
You observe signals that arenoisy and you try to figure
out exactly what's happeningout there or what kind of
signal has been sent.
Maybe the beginning of the fieldcould be traced a few
hundred years ago where peoplewould observe, make
astronomical observationsof the position of the
planets in the sky.
They would have some beliefsthat perhaps the orbits of
planets is an ellipse.
Or if it's a comet, maybe it'sa parabola, hyperbola, don't
know what it is.
But they would havea model of that.
But, of course, astronomicalmeasurements would not be
perfectly exact.
And they would try to find thecurve that fits these data.
How do you go about choosingthis particular curve on the
base of noisy data andtry to do it in a
somewhat principled way?
OK, so questions of thistype-- clearly the
applications are allover the place.
But how is this relatedconceptually with what we have
been doing so far?
What's the relation between thefield of inference and the
field of probabilityas we have been
practicing until now?
Well, mathematically speaking,what's going to happen in the
next few lectures could be justexercises or homework
problems in the class in basedon what we have done so far.
That means you're not goingto get any new facts about
probability theory.
Everything we're going to dowill be simple applications of
things that you alreadydo know.
So in some sense, statisticsand inference is just an
applied exercisein probability.
But actually, things arenot that simple in
the following sense.
If you get a probabilityproblem,
there's a correct answer.
There's a correct solution.
And that correct solutionis unique.
There's no ambiguity.
The theory of probability hasclearly defined rules.
These are the axioms.
You're given some informationabout probability
distributions.
You're asked to calculatecertain other things.
There's no ambiguity.
Answers are always unique.
In statistical questions, it'sno longer the case that the
question has a unique answer.
If I give you data and I askyou what's the best way of
estimating the motion of thatplanet, reasonable people can
come up with differentmethods.
And reasonable people will tryto argue that's my method has
these desirable properties butsomebody else may say, here's
another method that has certaindesirable properties.
And it's not clear whatthe best method is.
So it's good to have someunderstanding of what the
issues are and to know at leastwhat is the general
class of methods that one triesto consider, how does
one go about such problems.
So we're going to seelots and lots of
different inference methods.
We're not going to tellyou that one is
better than the other.
But it's important to understandwhat are the
concepts between thosedifferent methods.
And finally, statistics canbe misused really badly.
That is, one can come up withmethods that you think are
sound, but in fact they'renot quite that.
I will bring some examples nexttime and talk a little
more about this.
So, they want to say, you havesome data, you want to make
some inference from them, whatmany people will do is to go
to Wikipedia, find a statisticaltest that they
think it applies to thatsituation, plug in numbers,
and present results.
Are the conclusions that theyget really justified or are
they misusing statisticalmethods?
Well, too many people actuallydo misuse statistics and
conclusions that peopleget are often false.
So it's important to, besidesjust being able to copy
statistical tests and use them,to understand what are
the assumptions between thedifferent methods and what
kind of guarantees theyhave, if any.
All right, so we'll try to do aquick tour through the field
of inference in this lecture andthe next few lectures that
we have left this semester andtry to highlight at the very
high level the main conceptskills, and
techniques that come in.
Let's start with somegeneralities and some general
statements.
One first statement is thatstatistics or inference
problems come up in verydifferent guises.
And they may look as if they areof very different forms.
Although, at some fundamentallevel, the basic issues turn
out to be always prettymuch the same.
So let's look at this example.
There's an unknown signalthat's being sent.
It's sent through some medium,and that medium just takes the
signal and amplifies itby a certain number.
So you can think ofsomebody shouting.
There's the air out there.
What you shouted will beattenuated through the air
until it gets to a receiver.
And that receiver then observesthis, but together
with some random noise.
Here I meant S. S is the signalthat's being sent.
And what you observe is an X.
You observe X, so what kindof inference problems
could we have here?
In some cases, you want to builda model of the physical
phenomenon that you'redealing with.
So for example, you don't knowthe attenuation of your signal
and you try to find out whatthis number is based on the
observations that you have.
So the way this is done inengineering systems is that
you design a certain signal, youknow what it is, you shout
a particular word, and thenthe receiver listens.
And based on the intensity ofthe signal that they get, they
try to make a guess about A. Soyou don't know A, but you
know S. And by observing X,you get some information
about what A is.
So in this case, you're tryingto build a model of the medium
through which your signalis propagating.
So sometimes one would callproblems of this kind, let's
say, system identification.
In a different version of aninference problem that comes
with this picture, you'vedone your modeling.
You know your A. You know themedium through which the
signal is going, but it'sa communication system.
This person is tryingto communicate
something to that person.
So you send the signal S, butthat person receives a noisy
version of S. So that persontries to reconstruct S based
on X.
So in both cases, we have alinear relation between X and
the unknown quantity.
In one version, A is the unknownand we know S. In the
other version, A is known,and so we try to infer S.
Mathematically, you can see thatthis is essentially the
same kind of problemin both cases.
Although, the kind of practicalproblem that you're
trying to solve is alittle different.
So we will not be making anydistinctions between problems
of the model building type asopposed to models where you
try to estimate some unknownsignal and so on.
Because conceptually, the toolsthat one uses for both
types of problems areessentially the same.
OK, next a very usefulclassification
of inference problems--
the unknown quantity that you'retrying to estimate
could be either a discreteone that takes a
small number of values.
So this could be discreteproblems, such as the airplane
radar problem we encounteredback a long
time ago in this class.
So there's two possibilities--
an airplane is out there or anairplane is not out there.
And you're trying tomake a decision
between these two options.
Or you can have other problemswould you have, let's say,
four possible options.
You don't know which one istrue, but you get data and you
try to figure out whichone is true.
In problems of these kind,usually you want to make a
decision based on your data.
And you're interested in theprobability of making a
correct decision.
You would like thatprobability to
be as high as possible.
Estimation problems area little different.
Here you have some continuousquantity that's not known.
And you try to make a goodguess of that quantity.
And you would like your guess tobe as close as possible to
the true quantity.
So the polling problemwas of this type.
There was an unknown fractionf of the population that had
some property.
And you try to estimate f asaccurately as you can.
So the distinction here is thatusually here the unknown
quantity takes on discreteset of values.
Here the unknown quantitytakes a
continuous set of values.
Here we're interested in theprobability of error.
Here we're interested inthe size of the error.
Broadly speaking, most inferenceproblems fall either
in this category orin that category.
Although, if you want tocomplicate life, you can also
think or construct problemswhere both of these aspects
are simultaneously present.
OK, finally since we're inclassification mode, there is
a very big, important dichotomyinto how one goes
about inference problems.
And here there's twofundamentally different
philosophical points of view,which is how do we model the
quantity that is unknown?
In one approach, you say there'sa certain quantity
that has a definite value.
It just happens thatthey don't know it.
But it's a number.
There's nothing randomabout it.
So think of trying to estimatesome physical quantity.
You're making measurements, youtry to estimate the mass
of an electron, whichis a sort of
universal physical constant.
There's nothing randomabout it.
It's a fixed number.
You get data, because you havesome measuring apparatus.
And that measuring apparatus,depending on what that results
that you get are affected by thetrue mass of the electron,
but there's also some noise.
You take the data out of yourmeasuring apparatus and you
try to come up withsome estimate of
that quantity theta.
So this is definitely alegitimate picture, but the
important thing in this pictureis that this theta is
written as lowercase.
And that's to make the pointthat it's a real number, not a
random variable.
There's a differentphilosophical approach which
says, well, anything that Idon't know I should model it
as a random variable.
Yes, I know.
The mass of the electronis not really random.
It's a constant.
But I don't know what it is.
I have some vague sense,perhaps, what it is perhaps
because of the experimentsthat some other
people carried out.
So perhaps I have a priordistribution on the possible
values of Theta.
And that prior distributiondoesn't mean that the nature
is random, but it's more of asubjective description of my
subjective beliefs of where doI think this constant number
happens to be.
So even though it's not trulyrandom, I model my initial
beliefs before the experimentstarts.
In terms of a priordistribution, I view it as a
random variable.
Then I observe another relatedrandom variable through some
measuring apparatus.
And then I use this againto create an estimate.
So these two picturesphilosophically are very
different from each other.
Here we treat the unknownquantities as unknown numbers.
Here we treat them asrandom variables.
When we treat them as a randomvariables, then we know pretty
much already what weshould be doing.
We should just usethe Bayes rule.
Based on X, findthe conditional
distribution of Theta.
And that's what we will be doingmostly over this lecture
and the next lecture.
Now in both cases, what you endup getting at the end is
an estimate.
But actually, that estimate iswhat kind of object is it?
It's a random variablein both cases.
Why?
Even in this case wheretheta was a
constant, my data are random.
I do my data processing.
So I calculate a functionof the data, the
data are random variables.
So out here we output somethingwhich is a function
of a random variable.
So this quantity herewill be also random.
It's affected by the noise andthe experiment that I have
been doing.
That's why these estimatorswill be denoted
by uppercase Thetas.
And we will be using hats.
Hat, usually in estimation,means
an estimate of something.
All right, so this isthe big picture.
We're going to start withthe Bayesian version.
And then the last few lectureswe're going to talk about the
non-Bayesian version orthe classical one.
By the way, I should say thatstatisticians have been
debating fiercely for 100 yearswhether the right way to
approach statistics is to gothe classical way or the
Bayesian way.
And there have been tides goingback and forth between
the two sides.
These days, Bayesian methodstend to become a little more
popular for various reasons.
We're going to come backto this later.
All right, so in Bayesianestimation, what we got in our
hands is Bayes rule.
And if you have Bayes rule,there's not a lot
that's left to do.
We have different forms of theBayes rule, depending on
whether we're dealing withdiscrete data, And discrete
quantities to estimate, orcontinuous data, and so on.
In the hypothesis testingproblem, the unknown quantity
Theta is discrete.
So in both cases here,we have a P of Theta.
We obtain data, the X's.
And on the basis of the X thatwe observe, we can calculate
the posterior distributionof Theta, given the data.
So to use Bayesian inference,what do we start with?
We start with some priors.
These are our initialbeliefs about what
Theta that might be.
That's before we dothe experiment.
We have a model of theexperimental aparatus.
And the model of theexperimental apparatus tells
us if this Theta is true, I'mgoing to see X's of that kind.
If that other Theta is true, I'mgoing to see X's that they
are somewhere else.
That models my apparatus.
And based on that knowledge,once I observe I have these
two functions in my hands, wehave already seen that if you
know those two functions, youcan also calculate the
denominator here.
So all of these functions areavailable, so you can compute,
you can find a formula forthis function as well.
And as soon as you observe thedata, that X's, you plug in
here the numerical valueof those X's.
And you get a functionof Theta.
And this is the posteriordistribution of Theta, given
the data that you have seen.
So you've already donea fair number of
exercises of these kind.
So we not say more about this.
And there's a similar formula asyou know for the case where
we have continuous data.
If the X's are continuous randomvariable, then the
formula is the same, exceptthat X's are described by
densities instead of beingdescribed by a probability
mass functions.
OK, now if Theta is continuous,then we're dealing
with estimation problems.
But the story is oncemore the same.
You're going to use the Bayesrule to come up with the
posterior density of Theta,given the data
that you have observed.
Now just for the sake of theexample, let's come back to
this picture here.
Suppose that something is flyingin the air, and maybe
this is just an object in theair close to the Earth.
So because of gravity, thetrajectory that it's going to
follow it's going tobe a parabola.
So this is the general equationof a parabola.
Zt is the position of myobjects at time t.
But I don't know exactlywhich parabola it is.
So the parameters of theparabola are unknown
quantities.
What I can do is to go andmeasure the position of my
objects at different times.
But unfortunately, mymeasurements are noisy.
What I want to do is to modelthe motion of my object.
So I guess in the picture, theaxis would be t going this way
and Z going this way.
And on the basis of thedata that they get,
these are my X's.
I want to figureout the Thetas.
That is, I want to figureout the exact
equation of this parabola.
Now if somebody gives youprobability distributions for
Theta, these wouldbe your priors.
So this is given.
We need the conditionaldistribution of the X's given
the Thetas.
Well, we have the conditionaldistribution of Z, given the
Thetas from this equation.
And then by playing with thisequation, you can also find
how is X distributed if Thetatakes a particular value.
So you do have all of thedensities that you might need.
And you can applythe Bayes rule.
And at the end, your end resultwould be a formula for
the distribution of Theta,given to the X
that you have observed--
except for one sort ofcomputation, or to make things
more interesting.
Instead of these X's and Theta'sbeing single random
variables that we have here,typically those X's and
Theta's will bemulti-dimensional random
variables or will correspondto multiple ones.
So this little Theta hereactually stands for a triplet
of Theta0, Theta1, and Theta2.
And that X here stands here forthe entire sequence of X's
that we have observed.
So in reality, the object thatyou're going to get at to the
end after inference is done isa function that you plug in
the values of the data and youget the function of the
Theta's that tells you therelative likelihoods of
different Theta triplets.
So what I'm saying is that thisis no harder than the
problems that you have dealtwith so far, except perhaps
for the complication that'susually in interesting
inference problems.
Your Theta's and X's are oftenthe vectors of random
variables instead of individualrandom variables.
Now if you are to do estimationin a case where you
have discrete data, again thesituation is no different.
We still have a Bayes rule ofthe same kind, except that
densities gets replacedby PMF's.
If X is discrete, you put a Phere instead of putting an f.
So an example of an estimationproblem with discrete data is
similar to the pollingproblem.
You have a coin.
It has an unknownparameter Theta.
This is the probabilityof obtaining heads.
You flip the coin many times.
What can you tell me aboutthe true value of Theta?
A classical statistician, atthis point, would say, OK, I'm
going to use an estimator,the most reasonable
one, which is this.
How many heads did theyobtain in n trials?
Divide by the totalnumber of trials.
This is my estimate ofthe bias of my coin.
And then the classicalstatistician would continue
from here and try to prove someproperties and argue that
this estimate is a good one.
For example, we have the weaklaw of large numbers that
tells us that this particularestimate converges in
probability to thetrue parameter.
This is a kind of guaranteethat's useful to have.
And the classical statisticianwould pretty much close the
subject in this way.
What would the Bayesianperson do differently?
The Bayesian person would startby assuming a prior
distribution of Theta.
Instead of treating Theta asan unknown constant, they
would say that Theta would speakrandomly or pretend that
it would speak randomlyand assume a
distribution on Theta.
So for example, if you don'tknow they need anything more,
you might assume that any valuefor the bias of the coin
is as likely as any other valueof the bias of the coin.
And this way so the probabilitydistribution
that's uniform.
Or if you have a little morefaith in the manufacturing
processes that's created thatcoin, you might choose your
prior to be a distributionthat's centered around 1/2 and
sits fairly narrowly centeredaround 1/2.
That would be a priordistribution in which you say,
well, I believe that themanufacturer tried to make my
coin to be fair.
But they often makes somemistakes, so it's going to be,
I believe, it's approximately1/2 but not quite.
So depending on your beliefs,you would choose an
appropriate prior for thedistribution of Theta.
And then you would use theBayes rule to find the
probabilities of differentvalues of Theta, based on the
data that you have observed.
So no matter which version ofthe Bayes rule that you use,
the end product of the Bayesrule is going to be either a
plot of this kind or aplot of that kind.
So what am I plotting here?
This axis is the Theta axis.
These are the possible valuesof the unknown quantity that
we're trying to estimate.
In the continuouscase, theta is a
continuous random variable.
I obtain my data.
And I plot for the posteriorprobability distribution after
observing my data.
And I'm plotting here theprobability density for Theta.
So this is a plotof that density.
In the discrete case, theta cantake finitely many values
or a discrete set of values.
And for each one of thosevalues, I'm telling you how
likely is that the value to bethe correct one, given the
data that I have observed.
And in general, what you wouldgo back to your boss and
report after you've done allyour inference work would be
either a plot of this kindsor of that kind.
So you go to your bosswho asks you, what is
the value of Theta?
And you say, well, I onlyhave limited data.
That I don't know what it is.
It could be this, withso much probability.
There's probability.
OK, let's throw in somenumbers here.
There's probability 0.3 thatTheta is this value.
There's probability 0.2 thatTheta is this value, 0.1 that
it's this one, 0.1 that it'sthis one, 0.2 that it's that
one, and so on.
OK, now bosses often wantsimple answers.
They say, OK, you'retalking too much.
What do you think Theta is?
And now you're forcedto make a decision.
If that was the situation andyou have to make a decision,
how would you make it?
Well, I'm going to make adecision that's most likely to
be correct.
If I make this decision,what's going to happen?
Theta is this value withprobability 0.2, which means
there's probably 0.8 thatthey make an error
if I make that guess.
If I make that decision, thisdecision has probably 0.3 of
being the correct one.
So I have probablyof error 0.7.
So if you want to just maximizethe probability of
giving the correct decision, orif you want to minimize the
probability of making anincorrect decision, what
you're going to choose to reportis that value of Theta
for which the probabilityis highest.
So in this case, I wouldchoose to report this
particular value, the mostlikely value of Theta, given
what I have observed.
And that value is called themmaximum a posteriori
probability estimate.
It's going to be thisone in our case.
So picking the point in theposterior PMF that has the
highest probability.
That's the reasonablething to do.
This is the optimal thing to doif you want to minimize the
probability of an incorrectinference.
And that's what people dousually if they need to report
a single answer, if they needto report a single decision.
How about in the estimationcontext?
If that's what you know aboutTheta, Theta could be around
here, but there's also somesharp probability that it is
around here.
What's the single answer thatyou would give to your boss?
One option is to use the samephilosophy and say, OK, I'm
going to find the Theta at whichthis posterior density
is highest.
So I would pick this pointhere and report this
particular Theta.
So this would be my Theta,again, Theta MAP, the Theta
that has the highest aposteriori probability, just
because it corresponds tothe peak of the density.
But in this context, themaximum a posteriori
probability theta was theone that was most
likely to be true.
In the continuous case, youcannot really say that this is
the most likely valueof Theta.
In a continuous setting, anyvalue of Theta has zero
probability, so when wetalk about densities.
So it's not the most likely.
It's the one for which thedensity, so the probabilities
of that neighborhoods,are highest.
So the rationale for pickingthis particular estimate in
the continuous case is muchless compelling than the
rationale that we had in here.
So in this case, reasonablepeople might choose different
quantities to report.
And the very popular one wouldbe to report instead the
conditional expectation.
So I don't know quitewhat Theta is.
Given the data that I have,Theta has this distribution.
Let me just report the averageover that distribution.
Let me report to the centerof gravity of this figure.
And in this figure, the centerof gravity would probably be
somewhere around here.
And that would be a differentestimate that you
might choose to report.
So center of gravity issomething around here.
And this is a conditionalexpectation of Theta, given
the data that you have.
So these are two, in some sense,fairly reasonable ways
of choosing what to reportto your boss.
Some people might chooseto report this.
Some people might chooseto report that.
And a priori, if there's nocompelling reason why one
would be preferable than otherone, unless you set some rules
for the game and you describea little more precisely what
your objectives are.
But no matter which one youreport, a single answer, a
point estimate, doesn't reallytell you the whole story.
There's a lot more informationconveyed by this posterior
distribution plot thanany single number
that you might report.
So in general, you may wish toconvince your boss that's it's
worth their time to look at theentire plot, because that
plot sort of covers allthe possibilities.
It tells your boss most likelywe're in that range, but
there's also a distinct changethat our Theta happens to lie
in that range.
All right, now let us try toperhaps differentiate between
these two and see under whatcircumstances this one might
be the better estimateto perform.
Better with respect to what?
We need some rules.
So we're going to throwin some rules.
As a warm up, we're going todeal with the problem of
making an estimation if youhad no information at all,
except for a priordistribution.
So this is a warm up for what'scoming next, which
would be estimation that takesinto account some information.
So we have a Theta.
And because of your subjectivebeliefs or models by others,
you believe that Theta isuniformly distributed between,
let's say, 4 and 10.
You want to come up witha point estimate.
Let's try to lookfor an estimate.
Call it c, in this case.
I want to pick a numberwith which to estimate
the value of Theta.
I will be interested in the sizeof the error that I make.
And I really dislike largeerrors, so I'm going to focus
on the square of the errorthat they make.
So I pick c.
Theta that has a random valuethat I don't know.
But whatever it is, once itbecomes known, it results into
a squared error betweenwhat it is and what I
guessed that it was.
And I'm interested in makinga small air on the average,
where the average is takenwith respect to all the
possible and unknownvalues of Theta.
So the problem, this is a leastsquares formulation of
the problem, where wetry to minimize the
least squares errors.
How do you find the optimal c?
Well, we take that expressionand expand it.
And it is, using linearityof expectations--
square minus 2c expectedTheta plus c squared--
that's the quantity thatwe want to minimize,
with respect to c.
To do the minimization, take thederivative with respect to
c and set it to 0.
So that differentiation gives usfrom here minus 2 expected
value of Theta plus2c is equal to 0.
And the answer that you get bysolving this equation is that
c is the expectedvalue of Theta.
So when you do thisoptimization, you find that
the optimal estimate, thethings you should be
reporting, is the expectedvalue of Theta.
So in this particular example,you would choose your estimate
c to be just the middleof these values,
which would be 7.
OK, and in case yourboss asks you, how
good is your estimate?
How big is your errorgoing to be?
What you could report is theaverage size of the estimation
error that you are making.
We picked our estimates to bethe expected value of Theta.
So for this particular way thatI'm choosing to do my
estimation, this is the meansquared error that I get.
And this is a familiarquantity.
It's just the varianceof the distribution.
So the expectation is thatbest way to estimate a
quantity, if you're interestedin the mean squared error.
And the resulting mean squarederror is the variance itself.
How will this story change ifwe now have data as well?
Now having data means thatwe can compute posterior
distributions or conditionaldistributions.
So we get transported into a newuniverse where instead the
working with the originaldistribution of Theta, the
prior distribution, now we workwith the condition of
distribution of Theta,given the data
that we have observed.
Now remember our old slogan thatconditional models and
conditional probabilities areno different than ordinary
probabilities, except that welive now in a new universe
where the new information hasbeen taken into account.
So if you use that philosophyand you're asked to minimize
the squared error but now thatyou live in a new universe
where X has been fixed tosomething, what would the
optimal solution be?
It would again be theexpectation of theta, but
which expectation?
It's the expectation whichapplies in the new conditional
universe in which welive right now.
So because of what we didbefore, by the same
calculation, we would find thatthe optimal estimates is
the expected value of X ofTheta, but the optimal
estimate that takesinto account the
information that we have.
So the conclusion, once you getyour data, if you want to
minimize the mean squared error,you should just report
the conditional estimation ofthis unknown quantity based on
the data that you have.
So the picture here is thatTheta is unknown.
You have your apparatus thatcreates measurements.
So this creates an X. You takean X, and here you have a box
that does calculations.
It does calculations and itspits out the conditional
expectation of Theta, given theparticular data that you
have observed.
And what we have done in thisclass so far is, to some
extent, developing thecomputational tools and skills
to do with this particularcalculation--
how to calculate the posteriordensity for Theta and how to
calculate expectations,conditional expectations.
So in principle, we knowhow to do this.
In principle, we can program acomputer to take the data and
to spit out conditionexpectations.
Somebody who doesn't think likeus might instead design a
calculating machine that doessomething differently and
produces some other estimate.
So we went through this argumentand we decided to
program our computer tocalculate conditional
expectations.
Somebody else came up with someother crazy idea for how
to estimate the randomvariable.
They came up with some functiong and the programmed
it, and they designed a machinethat estimates Theta's
by outputting a certaing of X.
That could be an alternativeestimator.
Which one is better?
Well, we convinced ourselvesthat this is the optimal one
in a universe where we havefixed the particular
value of the data.
So what we have proved so faris a relation of this kind.
In this conditional universe,the mean squared
error that I get--
I'm the one who's usingthis estimator--
is less than or equal than themean squared error that this
person will get, the personwho uses that estimator.
For any particular value ofthe data, I'm going to do
better than the other person.
Now the data themselvesare random.
If I average over all possiblevalues of the data, I should
still be better off.
If I'm better off for anypossible value X, then I
should be better off on theaverage over all possible
values of X.
So let us average both sides ofthis quantity with respect
to the probability distributionof X. If you want
to do it formally, you can writethis inequality between
numbers as an inequality betweenrandom variables.
And it tells that no matterwhat that random variable
turns out to be, this quantityis better than that quantity.
Take expectations of bothsides, and you get this
inequality between expectationsoverall.
And this last inequality tellsme that the person who's using
this estimator who producesestimates according to this
machine will have a mean squaredestimation error
that's less than or equal tothe estimation error that's
produced by the other person.
In a few words, the conditionalexpectation
estimator is the optimalestimator.
It's the ultimate estimatingmachine.
That's how you should solveestimation problems and report
a single value.
If you're forced to report asingle value and if you're
interested in estimationerrors.
OK, while we could have told youthat story, of course, a
month or two ago, this is reallyabout interpretation --
about realizing that conditionalexpectations have
a very nice property.
But other than that, anyprobabilistic skills that come
into this business are just theprobabilistic skills of
being able to calculateconditional expectations,
which you alreadyknow how to do.
So conclusion, all of optimalBayesian estimation just means
calculating and reportingconditional expectations.
Well, if the world were thatsimple, then statisticians
wouldn't be able to find jobsif life is that simple.
So real life is notthat simple.
There are complications.
And that perhaps makes theirlife a little more
interesting.
OK, one complication is that wewould deal with the vectors
instead of just singlerandom variables.
I use the notation hereas if X was a
single random variable.
In real life, you getseveral data.
Does our story change?
Not really, same argument--
given all the data that youhave observed, you should
still report the conditionalexpectation of Theta.
But what kind of work does ittake in order to report this
conditional expectation?
One issue is that you need tocook up a plausible prior
distribution for Theta.
How do you do that?
In a given application , thisis a bit of a judgment call,
what prior would yoube working with.
And there's a certainskill there of not
making silly choices.
A more pragmatic, practicalissue is that this is a
formula that's extremely niceand compact and simple that
you can write withminimal ink.
But the behind it there couldbe hidden a huge amount of
calculation.
So doing any sort ofcalculations that involve
multiple random variables reallyinvolves calculating
multi-dimensional integrals.
And the multi-dimensionalintegrals are hard to compute.
So implementing actually thiscalculating machine here may
not be easy, might becomplicated computationally.
It's also complicated in termsof not being able to derive
intuition about it.
So perhaps you might want tohave a simpler version, a
simpler alternative to thisformula that's easier to work
with and easier to calculate.
We will be talking aboutone such simpler
alternative next time.
So again, to conclude, atthe high level, Bayesian
estimation is very, very simple,given that you have
mastered everything thathas happened in
this course so far.
There are certain practicalissues and it's also good to
be familiar with the conceptsand the issues that in
general, you would prefer toreport that complete posterior
distribution.
But if you're forced to report apoint estimate, then there's
a number of reasonableways to do it.
And perhaps the most reasonableone is to just the
report the conditionalexpectation itself.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435align:start position:0% the following content is provided under
align:start position:0%the following content is provided under
align:start position:0%the following content is provided undera Creative Commons license your support
align:start position:0%a Creative Commons license your support
align:start position:0%a Creative Commons license your supportwill help MIT open courseware continue
align:start position:0%will help MIT open courseware continue
align:start position:0%will help MIT open courseware continueto offer highquality educational
align:start position:0%to offer highquality educational
align:start position:0%to offer highquality educationalresources for free to make a donation or
align:start position:0%resources for free to make a donation or
align:start position:0%resources for free to make a donation orview additional materials from hundreds
align:start position:0%view additional materials from hundreds
align:start position:0%view additional materials from hundredsof MIT courses visit MIT opencourseware
align:start position:0%of MIT courses visit MIT opencourseware
align:start position:0%of MIT courses visit MIT opencoursewareat
align:start position:0%
align:start position:0% ocw.mit.edu we
align:start position:0%ocw.mit.edu we
align:start position:0%ocw.mit.edu wehave this definition for the class
align:start position:0%have this definition for the class
align:start position:0%have this definition for the classobject I've
align:start position:0%object I've
align:start position:0%object I'veum I've created the init for you and
align:start position:0%um I've created the init for you and
align:start position:0%um I've created the init for you andhere I'm giving itself which is the
align:start position:0%here I'm giving itself which is the
align:start position:0%here I'm giving itself which is thefirst thing that you have to give it and
align:start position:0%first thing that you have to give it and
align:start position:0%first thing that you have to give it andthen two parameters W and
align:start position:0%then two parameters W and
align:start position:0%then two parameters W andd and for for an instance of a car I'm
align:start position:0%d and for for an instance of a car I'm
align:start position:0%d and for for an instance of a car I'mgoing to assign the data attribute named
align:start position:0%going to assign the data attribute named
align:start position:0%going to assign the data attribute namedWheels to whatever is passed in for w so
align:start position:0%Wheels to whatever is passed in for w so
align:start position:0%Wheels to whatever is passed in for w sonotice that they're not the same name
align:start position:0%notice that they're not the same name
align:start position:0%notice that they're not the same nameand the data attribute for doors is
align:start position:0%and the data attribute for doors is
align:start position:0%and the data attribute for doors isgoing to be the value that's passed in
align:start position:0%going to be the value that's passed in
align:start position:0%going to be the value that's passed infor D okay and also notice that inside
align:start position:0%for D okay and also notice that inside
align:start position:0%for D okay and also notice that insidethe init I can do any other sort of
align:start position:0%the init I can do any other sort of
align:start position:0%the init I can do any other sort ofinitializations that I'd like so it's
align:start position:0%initializations that I'd like so it's
align:start position:0%initializations that I'd like so it'snot just assigning variables from the
align:start position:0%not just assigning variables from the
align:start position:0%not just assigning variables from theparameters to local to um to variables
align:start position:0%parameters to local to um to variables
align:start position:0%parameters to local to um to variablesfor for my objects so in this case I'm
align:start position:0%for for my objects so in this case I'm
align:start position:0%for for my objects so in this case I'mass I'm creating a new data attribute
align:start position:0%ass I'm creating a new data attribute
align:start position:0%ass I'm creating a new data attributenamed color and I'm going to just create
align:start position:0%named color and I'm going to just create
align:start position:0%named color and I'm going to just createit to be an empty string okay notice
align:start position:0%it to be an empty string okay notice
align:start position:0%it to be an empty string okay noticebecause I didn't even even though I
align:start position:0%because I didn't even even though I
align:start position:0%because I didn't even even though Ididn't pass in any color to my uh to my
align:start position:0%didn't pass in any color to my uh to my
align:start position:0%didn't pass in any color to my uh to myobject so the question says using the
align:start position:0%object so the question says using the
align:start position:0%object so the question says using theclass definition above which line
align:start position:0%class definition above which line
align:start position:0%class definition above which linecreates a new car object with four
align:start position:0%creates a new car object with four
align:start position:0%creates a new car object with fourwheels and two doors okay so this
align:start position:0%wheels and two doors okay so this
align:start position:0%wheels and two doors okay so thisum this first
align:start position:0%um this first
align:start position:0%um this firstone is not right because it's trying to
align:start position:0%one is not right because it's trying to
align:start position:0%one is not right because it's trying tocall the class with a variable my car so
align:start position:0%call the class with a variable my car so
align:start position:0%call the class with a variable my car sofor self which isn't quite right so when
align:start position:0%for self which isn't quite right so when
align:start position:0%for self which isn't quite right so whenyou're creating a when you're creating
align:start position:0%you're creating a when you're creating
align:start position:0%you're creating a when you're creatingyour object you have to give it one less
align:start position:0%your object you have to give it one less
align:start position:0%your object you have to give it one lessparameter than what you have so here
align:start position:0%parameter than what you have so here
align:start position:0%parameter than what you have so herewe're just going to have to create it
align:start position:0%we're just going to have to create it
align:start position:0%we're just going to have to create itwith the w and the
align:start position:0%with the w and the
align:start position:0%with the w and theD so we're going to create this
align:start position:0%D so we're going to create this
align:start position:0%D so we're going to create thisthe these variable this variable my car
align:start position:0%the these variable this variable my car
align:start position:0%the these variable this variable my carand we're going to assign it four for
align:start position:0%and we're going to assign it four for
align:start position:0%and we're going to assign it four forthe number of uh wheels and two for the
align:start position:0%the number of uh wheels and two for the
align:start position:0%the number of uh wheels and two for thenumber of doors and the number of Wheels
align:start position:0%number of doors and the number of Wheels
align:start position:0%number of doors and the number of Wheelsis the first parameter and the number of
align:start position:0%is the first parameter and the number of
align:start position:0%is the first parameter and the number ofdoors is the second one so it should be
align:start position:0%doors is the second one so it should be
align:start position:0%doors is the second one so it should bethis one here car 4 comma 2 so that's
align:start position:0%this one here car 4 comma 2 so that's
align:start position:0%this one here car 4 comma 2 so that'sthis one
align:start position:0%this one
align:start position:0%this oneperfect123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011align:start position:0% when we used our energy principle
align:start position:0%when we used our energy principle
align:start position:0%when we used our energy principlesuppose we have an object that starts at
align:start position:0%suppose we have an object that starts at
align:start position:0%suppose we have an object that starts ata height H naught and this object is
align:start position:0%a height H naught and this object is
align:start position:0%a height H naught and this object isdropped and when it gets to the ground
align:start position:0%dropped and when it gets to the ground
align:start position:0%dropped and when it gets to the groundit has some final velocity and when we
align:start position:0%it has some final velocity and when we
align:start position:0%it has some final velocity and when weapplied our energy principle assuming
align:start position:0%applied our energy principle assuming
align:start position:0%applied our energy principle assumingthat there was no air resistance what we
align:start position:0%that there was no air resistance what we
align:start position:0%that there was no air resistance what wesaw was that the change in kinetic
align:start position:0%saw was that the change in kinetic
align:start position:0%saw was that the change in kineticenergy plus the change a potential
align:start position:0%energy plus the change a potential
align:start position:0%energy plus the change a potentialenergy was zero so we had zero was equal
align:start position:0%energy was zero so we had zero was equal
align:start position:0%energy was zero so we had zero was equalto Delta K plus Delta U and we saw that
align:start position:0%to Delta K plus Delta U and we saw that
align:start position:0%to Delta K plus Delta U and we saw thatthe kinetic energy changed by one-half
align:start position:0%the kinetic energy changed by one-half
align:start position:0%the kinetic energy changed by one-halfMV squared and the potential energy
align:start position:0%MV squared and the potential energy
align:start position:0%MV squared and the potential energychanged by minus MGH not so we can
align:start position:0%changed by minus MGH not so we can
align:start position:0%changed by minus MGH not so we cancompute the velocity of the object as
align:start position:0%compute the velocity of the object as
align:start position:0%compute the velocity of the object asits falling given by square root of 2gh
align:start position:0%its falling given by square root of 2gh
align:start position:0%its falling given by square root of 2ghnot now now that we're considering
align:start position:0%not now now that we're considering
align:start position:0%not now now that we're consideringkinetic energy of rotation
align:start position:0%kinetic energy of rotation
align:start position:0%kinetic energy of rotationrecall that we showed that the kinetic
align:start position:0%recall that we showed that the kinetic
align:start position:0%recall that we showed that the kineticenergy of rotate of a pure rotation
align:start position:0%energy of rotate of a pure rotation
align:start position:0%energy of rotate of a pure rotationabout a fixed axis was one-half the
align:start position:0%about a fixed axis was one-half the
align:start position:0%about a fixed axis was one-half themoment of inertia about that axis times
align:start position:0%moment of inertia about that axis times
align:start position:0%moment of inertia about that axis timesthe angular speed squared we now would
align:start position:0%the angular speed squared we now would
align:start position:0%the angular speed squared we now wouldlike to apply our energy principle to
align:start position:0%like to apply our energy principle to
align:start position:0%like to apply our energy principle toinclude rotational kinetic energy along
align:start position:0%include rotational kinetic energy along
align:start position:0%include rotational kinetic energy alongwith the translational kinetic energy
align:start position:0%with the translational kinetic energy
align:start position:0%with the translational kinetic energyand the example that we want to look at
align:start position:0%and the example that we want to look at
align:start position:0%and the example that we want to look atis something very simple suppose we have
align:start position:0%is something very simple suppose we have
align:start position:0%is something very simple suppose we havea pulley
align:start position:0%a pulley
align:start position:0%a pulleynow our pulley has a mass P and we'll
align:start position:0%now our pulley has a mass P and we'll
align:start position:0%now our pulley has a mass P and we'llsay it has a moment of inertia of the
align:start position:0%say it has a moment of inertia of the
align:start position:0%say it has a moment of inertia of thepulley about the fixed axis passing
align:start position:0%pulley about the fixed axis passing
align:start position:0%pulley about the fixed axis passingthrough the center of the pulley and we
align:start position:0%through the center of the pulley and we
align:start position:0%through the center of the pulley and wehave a mass one and another block two
align:start position:0%have a mass one and another block two
align:start position:0%have a mass one and another block twoand let's suppose that we release this
align:start position:0%and let's suppose that we release this
align:start position:0%and let's suppose that we release thissystem and for the moment let's make
align:start position:0%system and for the moment let's make
align:start position:0%system and for the moment let's makethis surface frictionless and suppose
align:start position:0%this surface frictionless and suppose
align:start position:0%this surface frictionless and supposethat block two falls down a certain
align:start position:0%that block two falls down a certain
align:start position:0%that block two falls down a certaindistance so in the final state block two
align:start position:0%distance so in the final state block two
align:start position:0%distance so in the final state block twowill have dropped the distance H final
align:start position:0%will have dropped the distance H final
align:start position:0%will have dropped the distance H finalfrom
align:start position:0%from
align:start position:0%fromit's initial position and what we'd like
align:start position:0%it's initial position and what we'd like
align:start position:0%it's initial position and what we'd liketo consider is find the velocity final
align:start position:0%to consider is find the velocity final
align:start position:0%to consider is find the velocity finalof block two so we begin in the same way
align:start position:0%of block two so we begin in the same way
align:start position:0%of block two so we begin in the same waythat we've done this before by
align:start position:0%that we've done this before by
align:start position:0%that we've done this before byconsidering our energy diagrams and so
align:start position:0%considering our energy diagrams and so
align:start position:0%considering our energy diagrams and sowe'll have an initial state and in our
align:start position:0%we'll have an initial state and in our
align:start position:0%we'll have an initial state and in ourinitial state what we'll do is we'll
align:start position:0%initial state what we'll do is we'll
align:start position:0%initial state what we'll do is we'lljust have the initial one two and I'm
align:start position:0%just have the initial one two and I'm
align:start position:0%just have the initial one two and I'mgoing to choose u equals zero here's my
align:start position:0%going to choose u equals zero here's my
align:start position:0%going to choose u equals zero here's mypulley and everything is at rest and so
align:start position:0%pulley and everything is at rest and so
align:start position:0%pulley and everything is at rest and soin the initial state the initial energy
align:start position:0%in the initial state the initial energy
align:start position:0%in the initial state the initial energyinitial K initial plus u initial is zero
align:start position:0%initial K initial plus u initial is zero
align:start position:0%initial K initial plus u initial is zeroand in our final state we have the
align:start position:0%and in our final state we have the
align:start position:0%and in our final state we have thepulley is rotating with Omega final
align:start position:0%pulley is rotating with Omega final
align:start position:0%pulley is rotating with Omega finalblock one is moving with the velocity V
align:start position:0%block one is moving with the velocity V
align:start position:0%block one is moving with the velocity Vfinal one and block two is also moving
align:start position:0%final one and block two is also moving
align:start position:0%final one and block two is also movingwith v2 final and let's just suppose
align:start position:0%with v2 final and let's just suppose
align:start position:0%with v2 final and let's just supposethat this was our u equals zero position
align:start position:0%that this was our u equals zero position
align:start position:0%that this was our u equals zero positionand although it's so clear on the
align:start position:0%and although it's so clear on the
align:start position:0%and although it's so clear on thediagram u final it has moved down height
align:start position:0%diagram u final it has moved down height
align:start position:0%diagram u final it has moved down heightH final so what is the energy in our
align:start position:0%H final so what is the energy in our
align:start position:0%H final so what is the energy in ourfinal state well we have to consider all
align:start position:0%final state well we have to consider all
align:start position:0%final state well we have to consider allthe different pieces we have block one
align:start position:0%the different pieces we have block one
align:start position:0%the different pieces we have block oneone-half m1 v1 final squared we have the
align:start position:0%one-half m1 v1 final squared we have the
align:start position:0%one-half m1 v1 final squared we have themotion of block 2 one-half m2 v2 final
align:start position:0%motion of block 2 one-half m2 v2 final
align:start position:0%motion of block 2 one-half m2 v2 finalsquared and we also have the kinetic
align:start position:0%squared and we also have the kinetic
align:start position:0%squared and we also have the kineticenergy of the pulley which is given by
align:start position:0%energy of the pulley which is given by
align:start position:0%energy of the pulley which is given by1/2 I about the pulley Omega final
align:start position:0%1/2 I about the pulley Omega final
align:start position:0%1/2 I about the pulley Omega finalsquare and what about our final
align:start position:0%square and what about our final
align:start position:0%square and what about our finalpotential energy well we dropped the
align:start position:0%potential energy well we dropped the
align:start position:0%potential energy well we dropped theheight H final so we have block two has
align:start position:0%height H final so we have block two has
align:start position:0%height H final so we have block two hasmoved minus em 2 gee H final and now we
align:start position:0%moved minus em 2 gee H final and now we
align:start position:0%moved minus em 2 gee H final and now wehave our two energy states
align:start position:0%have our two energy states
align:start position:0%have our two energy statesand what we'd like to consider is apply
align:start position:0%and what we'd like to consider is apply
align:start position:0%and what we'd like to consider is applythe energy principle just like we
align:start position:0%the energy principle just like we
align:start position:0%the energy principle just like weapplied it for this simple case but
align:start position:0%applied it for this simple case but
align:start position:0%applied it for this simple case butbefore we do that there is a constraint
align:start position:0%before we do that there is a constraint
align:start position:0%before we do that there is a constraintcondition that because the Rope is fixed
align:start position:0%
align:start position:0% in length as block one moves the pulley
align:start position:0%in length as block one moves the pulley
align:start position:0%in length as block one moves the pulleyis rotating and block 2 is moving what
align:start position:0%is rotating and block 2 is moving what
align:start position:0%is rotating and block 2 is moving whatwe'll have is fixed and not slipping so
align:start position:0%we'll have is fixed and not slipping so
align:start position:0%we'll have is fixed and not slipping soas the Rope moves around the pulley the
align:start position:0%as the Rope moves around the pulley the
align:start position:0%as the Rope moves around the pulley thepulley is moving with the same motion is
align:start position:0%pulley is moving with the same motion is
align:start position:0%pulley is moving with the same motion isthe rope and the Rope is moving with the
align:start position:0%the rope and the Rope is moving with the
align:start position:0%the rope and the Rope is moving with thespeeds of block 1 and 2 so we see that V
align:start position:0%speeds of block 1 and 2 so we see that V
align:start position:0%speeds of block 1 and 2 so we see that V1 final is equal to B 2 final and now
align:start position:0%1 final is equal to B 2 final and now
align:start position:0%1 final is equal to B 2 final and nowwhat about the pulley if this is radius
align:start position:0%what about the pulley if this is radius
align:start position:0%what about the pulley if this is radiusR we know that the velocity of a point
align:start position:0%R we know that the velocity of a point
align:start position:0%R we know that the velocity of a pointon the rim of a disc is moving with the
align:start position:0%on the rim of a disc is moving with the
align:start position:0%on the rim of a disc is moving with thespeed of the rope which is the speed of
align:start position:0%speed of the rope which is the speed of
align:start position:0%speed of the rope which is the speed ofblock 1 and block 2 so that's our Omega
align:start position:0%block 1 and block 2 so that's our Omega
align:start position:0%block 1 and block 2 so that's our Omegafinal and so that makes our final energy
align:start position:0%final and so that makes our final energy
align:start position:0%final and so that makes our final energythat's now gather terms the velocities
align:start position:0%that's now gather terms the velocities
align:start position:0%that's now gather terms the velocitiesare the same so we have one-half m1 plus
align:start position:0%are the same so we have one-half m1 plus
align:start position:0%are the same so we have one-half m1 plusm2 and we'll just call this V final for
align:start position:0%m2 and we'll just call this V final for
align:start position:0%m2 and we'll just call this V final forsimplicity one-half m2 times V final
align:start position:0%simplicity one-half m2 times V final
align:start position:0%simplicity one-half m2 times V finalsquared that accounts for these two
align:start position:0%squared that accounts for these two
align:start position:0%squared that accounts for these twoterms and we have the moment of inertia
align:start position:0%terms and we have the moment of inertia
align:start position:0%terms and we have the moment of inertiakinetic energy associated with the wheel
align:start position:0%kinetic energy associated with the wheel
align:start position:0%kinetic energy associated with the wheelwhich is one-half I Omega final squared
align:start position:0%which is one-half I Omega final squared
align:start position:0%which is one-half I Omega final squaredwhich is V final squared over R squared
align:start position:0%which is V final squared over R squared
align:start position:0%which is V final squared over R squaredminus em 2 gee H final and so now we can
align:start position:0%minus em 2 gee H final and so now we can
align:start position:0%minus em 2 gee H final and so now we cansolve our energy principle which is
align:start position:0%solve our energy principle which is
align:start position:0%solve our energy principle which isbecause we're assuming everything is
align:start position:0%because we're assuming everything is
align:start position:0%because we're assuming everything isfrictionless we have 0 equals e final
align:start position:0%frictionless we have 0 equals e final
align:start position:0%frictionless we have 0 equals e finalminus initial implies that a final
align:start position:0%minus initial implies that a final
align:start position:0%minus initial implies that a finalequals the initial and we chose our
align:start position:0%equals the initial and we chose our
align:start position:0%equals the initial and we chose ourinitial potential energy to be zero so
align:start position:0%initial potential energy to be zero so
align:start position:0%initial potential energy to be zero soof course that's just a choice of
align:start position:0%of course that's just a choice of
align:start position:0%of course that's just a choice ofconstant so I can now solve this
align:start position:0%constant so I can now solve this
align:start position:0%constant so I can now solve thisequation
align:start position:0%equation
align:start position:0%equationby setting a final equal to zero that's
align:start position:0%by setting a final equal to zero that's
align:start position:0%by setting a final equal to zero that'sthe same statement and then you can see
align:start position:0%the same statement and then you can see
align:start position:0%the same statement and then you can seealgebraically I can solve for V final
align:start position:0%algebraically I can solve for V final
align:start position:0%algebraically I can solve for V finaland what I get is I'm just going to
align:start position:0%and what I get is I'm just going to
align:start position:0%and what I get is I'm just going towrite all these terms over I get em 2
align:start position:0%write all these terms over I get em 2
align:start position:0%write all these terms over I get em 2gee H final I'm gonna divide by this
align:start position:0%gee H final I'm gonna divide by this
align:start position:0%gee H final I'm gonna divide by thiscommon coefficient 1/2 + 1 + M 2 plus
align:start position:0%common coefficient 1/2 + 1 + M 2 plus
align:start position:0%common coefficient 1/2 + 1 + M 2 plusthe moment of inertia divided by radius
align:start position:0%the moment of inertia divided by radius
align:start position:0%the moment of inertia divided by radiussquared and I now have to take the
align:start position:0%squared and I now have to take the
align:start position:0%squared and I now have to take thesquare root of the whole thing and
align:start position:0%square root of the whole thing and
align:start position:0%square root of the whole thing andthat's how I can find the velocity of
align:start position:0%that's how I can find the velocity of
align:start position:0%that's how I can find the velocity ofblock 2 when it's dropped down a certain
align:start position:0%block 2 when it's dropped down a certain
align:start position:0%block 2 when it's dropped down a certaindistance H final so here we've
align:start position:0%distance H final so here we've
align:start position:0%distance H final so here we'vegeneralized our energy approach to
align:start position:0%generalized our energy approach to
align:start position:0%generalized our energy approach toinclude rotational kinetic energy1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115align:start position:0% hi welcome back to recitation in lecture
align:start position:0%hi welcome back to recitation in lecture
align:start position:0%hi welcome back to recitation in lectureyou've been learning about Stokes
align:start position:0%you've been learning about Stokes
align:start position:0%you've been learning about Stokestheorem and I have a nice question here
align:start position:0%theorem and I have a nice question here
align:start position:0%theorem and I have a nice question herefor you that can put Stokes theorem to
align:start position:0%for you that can put Stokes theorem to
align:start position:0%for you that can put Stokes theorem tothe test so what I'd like you to do is
align:start position:0%the test so what I'd like you to do is
align:start position:0%the test so what I'd like you to do isI'd like you to consider this field F so
align:start position:0%I'd like you to consider this field F so
align:start position:0%I'd like you to consider this field F soits components are 2z X and Y and the
align:start position:0%its components are 2z X and Y and the
align:start position:0%its components are 2z X and Y and thesurface s that's the top half of the
align:start position:0%surface s that's the top half of the
align:start position:0%surface s that's the top half of theunit sphere so it's the sphere of radius
align:start position:0%unit sphere so it's the sphere of radius
align:start position:0%unit sphere so it's the sphere of radiusone centered at the origin but only its
align:start position:0%one centered at the origin but only its
align:start position:0%one centered at the origin but only itstop half only the part where Z is
align:start position:0%top half only the part where Z is
align:start position:0%top half only the part where Z isgreater than or equal to zero so what
align:start position:0%greater than or equal to zero so what
align:start position:0%greater than or equal to zero so whatI'd like you to do is to verify Stokes
align:start position:0%I'd like you to do is to verify Stokes
align:start position:0%I'd like you to do is to verify Stokestheorem for this surface so that is I'd
align:start position:0%theorem for this surface so that is I'd
align:start position:0%theorem for this surface so that is I'dlike you to compute the surface integral
align:start position:0%like you to compute the surface integral
align:start position:0%like you to compute the surface integralthat comes from Stokes theorem for this
align:start position:0%that comes from Stokes theorem for this
align:start position:0%that comes from Stokes theorem for thissurface and the line integral that comes
align:start position:0%surface and the line integral that comes
align:start position:0%surface and the line integral that comesfrom Stokes theorem for this surface and
align:start position:0%from Stokes theorem for this surface and
align:start position:0%from Stokes theorem for this surface andcheck that they're really equal to each
align:start position:0%check that they're really equal to each
align:start position:0%check that they're really equal to eachother now before we start we should just
align:start position:0%other now before we start we should just
align:start position:0%other now before we start we should justsay one brief thing about compatible
align:start position:0%say one brief thing about compatible
align:start position:0%say one brief thing about compatibleorientation so I didn't give you any
align:start position:0%orientation so I didn't give you any
align:start position:0%orientation so I didn't give you anyorientations but of course it doesn't
align:start position:0%orientations but of course it doesn't
align:start position:0%orientations but of course it doesn'tmatter as long as you choose ones that
align:start position:0%matter as long as you choose ones that
align:start position:0%matter as long as you choose ones thatare compatible so if you if you think
align:start position:0%are compatible so if you if you think
align:start position:0%are compatible so if you if you thinkabout your rules that you have for
align:start position:0%about your rules that you have for
align:start position:0%about your rules that you have forfinding them so if you imagine yourself
align:start position:0%finding them so if you imagine yourself
align:start position:0%finding them so if you imagine yourselfwalking along this boundary circle with
align:start position:0%walking along this boundary circle with
align:start position:0%walking along this boundary circle withyour left hand out over that sphere so
align:start position:0%your left hand out over that sphere so
align:start position:0%your left hand out over that sphere soyou'll be walking in this
align:start position:0%you'll be walking in this
align:start position:0%you'll be walking in thiscounterclockwise Direction when your
align:start position:0%counterclockwise Direction when your
align:start position:0%counterclockwise Direction when yourhead is sticking out of the sphere all
align:start position:0%head is sticking out of the sphere all
align:start position:0%head is sticking out of the sphere allright so in other words the outward
align:start position:0%right so in other words the outward
align:start position:0%right so in other words the outwardorientation on the sphere is compatible
align:start position:0%orientation on the sphere is compatible
align:start position:0%orientation on the sphere is compatiblewith the counterclockwise orientation on
align:start position:0%with the counterclockwise orientation on
align:start position:0%with the counterclockwise orientation onthe on the circle that is the that is
align:start position:0%the on the circle that is the that is
align:start position:0%the on the circle that is the that isthe boundary so let's actually put in a
align:start position:0%the boundary so let's actually put in a
align:start position:0%the boundary so let's actually put in alittle arrow here to just indicate
align:start position:0%little arrow here to just indicate
align:start position:0%little arrow here to just indicatethat's our orientation for the circle
align:start position:0%that's our orientation for the circle
align:start position:0%that's our orientation for the circleand and our normal is an outward
align:start position:0%and and our normal is an outward
align:start position:0%and and our normal is an outwardpointing normal and let's call our
align:start position:0%pointing normal and let's call our
align:start position:0%pointing normal and let's call ourCircle C and our s is our sphere is our
align:start position:0%Circle C and our s is our sphere is our
align:start position:0%Circle C and our s is our sphere is oursurface okay so just so we have the same
align:start position:0%surface okay so just so we have the same
align:start position:0%surface okay so just so we have the samenotation um good so why don't you work
align:start position:0%notation um good so why don't you work
align:start position:0%notation um good so why don't you workthis out compute the line integral
align:start position:0%this out compute the line integral
align:start position:0%this out compute the line integralcompute the surface integral come back
align:start position:0%compute the surface integral come back
align:start position:0%compute the surface integral come backand we can work them out together
align:start position:0%
align:start position:0% hopefully you had some luck working on
align:start position:0%hopefully you had some luck working on
align:start position:0%hopefully you had some luck working onthis problem we have two things to
align:start position:0%this problem we have two things to
align:start position:0%this problem we have two things tocompute I think I'm going to start with
align:start position:0%compute I think I'm going to start with
align:start position:0%compute I think I'm going to start withthe with the line integral so to compute
align:start position:0%the with the line integral so to compute
align:start position:0%the with the line integral so to computethe line so let me write that down line
align:start position:0%
align:start position:0% integral so what I need to do to compute
align:start position:0%integral so what I need to do to compute
align:start position:0%integral so what I need to do to computethe line integral is I need to compute
align:start position:0%the line integral is I need to compute
align:start position:0%the line integral is I need to computeso I want the
align:start position:0%so I want the
align:start position:0%so I want theintegral over the curve
align:start position:0%integral over the curve
align:start position:0%integral over the curveC of f do
align:start position:0%C of f do
align:start position:0%C of f doDr and so I know what f is on the on
align:start position:0%Dr and so I know what f is on the on
align:start position:0%Dr and so I know what f is on the onthat Circle so I need to know what Dr is
align:start position:0%that Circle so I need to know what Dr is
align:start position:0%that Circle so I need to know what Dr isI so I need to know what R is I need a
align:start position:0%I so I need to know what R is I need a
align:start position:0%I so I need to know what R is I need aparameterization of that Circle well you
align:start position:0%parameterization of that Circle well you
align:start position:0%parameterization of that Circle well youknow that's a pretty easy Circle to
align:start position:0%know that's a pretty easy Circle to
align:start position:0%know that's a pretty easy Circle toparameterize it's the unit circle in the
align:start position:0%parameterize it's the unit circle in the
align:start position:0%parameterize it's the unit circle in theXY plane so we have for C we have and
align:start position:0%XY plane so we have for C we have and
align:start position:0%XY plane so we have for C we have andit's and we're and we're wandering
align:start position:0%it's and we're and we're wandering
align:start position:0%it's and we're and we're wanderingaround it counterclockwise so it's it's
align:start position:0%around it counterclockwise so it's it's
align:start position:0%around it counterclockwise so it's it'sour usual parameterization it's the one
align:start position:0%our usual parameterization it's the one
align:start position:0%our usual parameterization it's the onewe like so we have x = cosine
align:start position:0%we like so we have x = cosine
align:start position:0%we like so we have x = cosinet y = sin t z where T goes from
align:start position:0%t y = sin t z where T goes from
align:start position:0%t y = sin t z where T goes fromzero to 2 pi oh and this is in three
align:start position:0%zero to 2 pi oh and this is in three
align:start position:0%zero to 2 pi oh and this is in threedimensions so the other part of the
align:start position:0%dimensions so the other part of the
align:start position:0%dimensions so the other part of theparameterization is z equals z so this
align:start position:0%parameterization is z equals z so this
align:start position:0%parameterization is z equals z so thisis my parameterization of this of this
align:start position:0%is my parameterization of this of this
align:start position:0%is my parameterization of this of thiscircle um okay so so let's go ahead and
align:start position:0%circle um okay so so let's go ahead and
align:start position:0%circle um okay so so let's go ahead andput that in so
align:start position:0%put that in so
align:start position:0%put that in soso the integral over
align:start position:0%so the integral over
align:start position:0%so the integral overC of f
align:start position:0%C of f
align:start position:0%C of fdot
align:start position:0%dot
align:start position:0%dotDr well so it's the integral from 0 to 2
align:start position:0%Dr well so it's the integral from 0 to 2
align:start position:0%Dr well so it's the integral from 0 to 2pi so we've got three parts so the first
align:start position:0%pi so we've got three parts so the first
align:start position:0%pi so we've got three parts so the firstpart so f is going to be we have to go
align:start position:0%part so f is going to be we have to go
align:start position:0%part so f is going to be we have to golet's see so it's 2 Z XY so it's 2z DX
align:start position:0%let's see so it's 2 Z XY so it's 2z DX
align:start position:0%let's see so it's 2 Z XY so it's 2z DXplus X Dy + y DZ but Z is zero on this
align:start position:0%plus X Dy + y DZ but Z is zero on this
align:start position:0%plus X Dy + y DZ but Z is zero on thiswhole circle so so that piece just dies
align:start position:0%whole circle so so that piece just dies
align:start position:0%whole circle so so that piece just diesand DZ is also zero so that piece just
align:start position:0%and DZ is also zero so that piece just
align:start position:0%and DZ is also zero so that piece justdies so we're just left with xdy so this
align:start position:0%dies so we're just left with xdy so this
align:start position:0%dies so we're just left with xdy so thisis equal to the integral of
align:start position:0%is equal to the integral of
align:start position:0%is equal to the integral ofx Dy oh so I guess this is not from 0 to
align:start position:0%x Dy oh so I guess this is not from 0 to
align:start position:0%x Dy oh so I guess this is not from 0 to2 pi this is still over C sorry about
align:start position:0%2 pi this is still over C sorry about
align:start position:0%2 pi this is still over C sorry aboutthat okay and now when I
align:start position:0%that okay and now when I
align:start position:0%that okay and now when Ichange to
align:start position:0%change to
align:start position:0%change tomy parameterization okay yes right so
align:start position:0%my parameterization okay yes right so
align:start position:0%my parameterization okay yes right sowe're this is still in DX Dy d form so
align:start position:0%we're this is still in DX Dy d form so
align:start position:0%we're this is still in DX Dy d form soit's it's still over C now we switch to
align:start position:0%it's it's still over C now we switch to
align:start position:0%it's it's still over C now we switch tothe DT form so now T is going from 0 to
align:start position:0%the DT form so now T is going from 0 to
align:start position:0%the DT form so now T is going from 0 to2 pi okay so now we have xdy so X is
align:start position:0%2 pi okay so now we have xdy so X is
align:start position:0%2 pi okay so now we have xdy so X iscosine T and Dy so Y is sin T So Dy is
align:start position:0%cosine T and Dy so Y is sin T So Dy is
align:start position:0%cosine T and Dy so Y is sin T So Dy iscosine T DT so this is cosine T * cosine
align:start position:0%cosine T DT so this is cosine T * cosine
align:start position:0%cosine T DT so this is cosine T * cosineT is cosine 2qu
align:start position:0%T is cosine 2qu
align:start position:0%T is cosine 2quT DT gosh so now you have to remember
align:start position:0%T DT gosh so now you have to remember
align:start position:0%T DT gosh so now you have to rememberway back in 1801 when you learned how to
align:start position:0%way back in 1801 when you learned how to
align:start position:0%way back in 1801 when you learned how tocompute trig integrals like this so I
align:start position:0%compute trig integrals like this so I
align:start position:0%compute trig integrals like this so Ithink the thing that we do when we have
align:start position:0%think the thing that we do when we have
align:start position:0%think the thing that we do when we havea cosine Square t is we use a half angle
align:start position:0%a cosine Square t is we use a half angle
align:start position:0%a cosine Square t is we use a half angleformula so let me come back down here
align:start position:0%formula so let me come back down here
align:start position:0%formula so let me come back down herejust to finish this off in one board
align:start position:0%just to finish this off in one board
align:start position:0%just to finish this off in one boardokay so cosine squ T so that's the
align:start position:0%okay so cosine squ T so that's the
align:start position:0%okay so cosine squ T so that's theintegral from 0 to 2 pi so cosine 2qu T
align:start position:0%integral from 0 to 2 pi so cosine 2qu T
align:start position:0%integral from 0 to 2 pi so cosine 2qu Tis 1 + cosine 2T /
align:start position:0%is 1 + cosine 2T /
align:start position:0%is 1 + cosine 2T /2 DT and now cosine 2T as T goes between
align:start position:0%2 DT and now cosine 2T as T goes between
align:start position:0%2 DT and now cosine 2T as T goes between0 and 2 pi well that's two whole Loops
align:start position:0%0 and 2 pi well that's two whole Loops
align:start position:0%0 and 2 pi well that's two whole Loopsof it right two whole periods of Co 2T
align:start position:0%of it right two whole periods of Co 2T
align:start position:0%of it right two whole periods of Co 2Tand you know it's a trig function it's a
align:start position:0%and you know it's a trig function it's a
align:start position:0%and you know it's a trig function it's anice cosine function so the positive
align:start position:0%nice cosine function so the positive
align:start position:0%nice cosine function so the positiveparts and the negative Parts cancel so
align:start position:0%parts and the negative Parts cancel so
align:start position:0%parts and the negative Parts cancel sothe cosine 2T part when we integrate it
align:start position:0%the cosine 2T part when we integrate it
align:start position:0%the cosine 2T part when we integrate itfrom 0 to 2 pi that gives us zero so
align:start position:0%from 0 to 2 pi that gives us zero so
align:start position:0%from 0 to 2 pi that gives us zero sowe're left with 1
align:start position:0%we're left with 1
align:start position:0%we're left with 112 integrated from 0 to 2 pi and that's
align:start position:0%12 integrated from 0 to 2 pi and that's
align:start position:0%12 integrated from 0 to 2 pi and that'sjust going to give us 1 12 of 2 pi so
align:start position:0%just going to give us 1 12 of 2 pi so
align:start position:0%just going to give us 1 12 of 2 pi sothat's Pi all right so good so that was
align:start position:0%that's Pi all right so good so that was
align:start position:0%that's Pi all right so good so that wasthe line integral very straightforward
align:start position:0%the line integral very straightforward
align:start position:0%the line integral very straightforwardthing we had our Circle back here we had
align:start position:0%thing we had our Circle back here we had
align:start position:0%thing we had our Circle back here we hadour Circle we had our field so we
align:start position:0%our Circle we had our field so we
align:start position:0%our Circle we had our field so weparameterized the curve that is the
align:start position:0%parameterized the curve that is the
align:start position:0%parameterized the curve that is thecircle that is the boundary and then we
align:start position:0%circle that is the boundary and then we
align:start position:0%circle that is the boundary and then wejust computed the line integral and it
align:start position:0%just computed the line integral and it
align:start position:0%just computed the line integral and itwas a nice easy one to do you had to
align:start position:0%was a nice easy one to do you had to
align:start position:0%was a nice easy one to do you had toremember one little trig identity in
align:start position:0%remember one little trig identity in
align:start position:0%remember one little trig identity inorder to do it all right that's the
align:start position:0%order to do it all right that's the
align:start position:0%order to do it all right that's thefirst one so let's
align:start position:0%first one so let's
align:start position:0%first one so let'suh let's go on to the surface
align:start position:0%
align:start position:0% integral so the surface integral that
align:start position:0%integral so the surface integral that
align:start position:0%integral so the surface integral thatyou have to compute in Stokes theorem is
align:start position:0%you have to compute in Stokes theorem is
align:start position:0%you have to compute in Stokes theorem isyou have to compute the double
align:start position:0%you have to compute the double
align:start position:0%you have to compute the doubleintegral over your
align:start position:0%integral over your
align:start position:0%integral over yoursurface of the curl of
align:start position:0%surface of the curl of
align:start position:0%surface of the curl off
align:start position:0%f
align:start position:0%fdotn with respect to surface area so
align:start position:0%dotn with respect to surface area so
align:start position:0%dotn with respect to surface area sothis is the this is the integral we want
align:start position:0%this is the this is the integral we want
align:start position:0%this is the this is the integral we wantto compute here this so okay so first
align:start position:0%to compute here this so okay so first
align:start position:0%to compute here this so okay so firstthing we're going to need we're going to
align:start position:0%thing we're going to need we're going to
align:start position:0%thing we're going to need we're going towe're going to need to find the curl of
align:start position:0%we're going to need to find the curl of
align:start position:0%we're going to need to find the curl ofF Well let's see so F let's let me just
align:start position:0%F Well let's see so F let's let me just
align:start position:0%F Well let's see so F let's let me justwrite it here so we don't have to walk
align:start position:0%write it here so we don't have to walk
align:start position:0%write it here so we don't have to walkall the way back over there so f is what
align:start position:0%all the way back over there so f is what
align:start position:0%all the way back over there so f is whatis it it's
align:start position:0%is it it's
align:start position:0%is it it's2z
align:start position:0%2z
align:start position:0%2zX Y so curl of f okay you should have
align:start position:0%X Y so curl of f okay you should have
align:start position:0%X Y so curl of f okay you should havelots of experience Computing Curls by
align:start position:0%lots of experience Computing Curls by
align:start position:0%lots of experience Computing Curls bynow but let's see okay so it's going to
align:start position:0%now but let's see okay so it's going to
align:start position:0%now but let's see okay so it's going tobe this I I always think of it so we've
align:start position:0%be this I I always think of it so we've
align:start position:0%be this I I always think of it so we'vegot these little 2 by two determinants
align:start position:0%got these little 2 by two determinants
align:start position:0%got these little 2 by two determinantswith the partial derivatives in them but
align:start position:0%with the partial derivatives in them but
align:start position:0%with the partial derivatives in them butmost of those are going to be zero we've
align:start position:0%most of those are going to be zero we've
align:start position:0%most of those are going to be zero we'vegot a dxx term that's coming up in k and
align:start position:0%got a dxx term that's coming up in k and
align:start position:0%got a dxx term that's coming up in k anda Dy y term that's coming up in I and a
align:start position:0%a Dy y term that's coming up in I and a
align:start position:0%a Dy y term that's coming up in I and aDZ 2z term term that's coming up in in J
align:start position:0%DZ 2z term term that's coming up in in J
align:start position:0%DZ 2z term term that's coming up in in Jso okay so almost all half the terms are
align:start position:0%so okay so almost all half the terms are
align:start position:0%so okay so almost all half the terms arezero the others are really easy to
align:start position:0%zero the others are really easy to
align:start position:0%zero the others are really easy tocompute I trust that you can also
align:start position:0%compute I trust that you can also
align:start position:0%compute I trust that you can alsocompute and get that the curl is one 12
align:start position:0%compute and get that the curl is one 12
align:start position:0%compute and get that the curl is one 12one here okay so this is F this is curl
align:start position:0%one here okay so this is F this is curl
align:start position:0%one here okay so this is F this is curlof f great so okay so that's curl of f
align:start position:0%of f great so okay so that's curl of f
align:start position:0%of f great so okay so that's curl of fso now we need
align:start position:0%so now we need
align:start position:0%so now we needn well let's think so we need we need
align:start position:0%n well let's think so we need we need
align:start position:0%n well let's think so we need we needthe unit normal to our surface and we
align:start position:0%the unit normal to our surface and we
align:start position:0%the unit normal to our surface and wesaid all right so back at the beginning
align:start position:0%said all right so back at the beginning
align:start position:0%said all right so back at the beginningbefore before we started we said it was
align:start position:0%before before we started we said it was
align:start position:0%before before we started we said it wasthe outward point normal so we need the
align:start position:0%the outward point normal so we need the
align:start position:0%the outward point normal so we need theoutward pointing normal well this is a
align:start position:0%outward pointing normal well this is a
align:start position:0%outward pointing normal well this is asphere right so so the normal is
align:start position:0%sphere right so so the normal is
align:start position:0%sphere right so so the normal isparallel to the position Vector so that
align:start position:0%parallel to the position Vector so that
align:start position:0%parallel to the position Vector so thatmeans n should be parallel
align:start position:0%means n should be parallel
align:start position:0%means n should be parallelto should be parallel to the vector XYZ
align:start position:0%to should be parallel to the vector XYZ
align:start position:0%to should be parallel to the vector XYZthe position Vector so n should be
align:start position:0%the position Vector so n should be
align:start position:0%the position Vector so n should beparallel to this Vector XYZ but in fact
align:start position:0%parallel to this Vector XYZ but in fact
align:start position:0%parallel to this Vector XYZ but in factit we're even better than that we're on
align:start position:0%it we're even better than that we're on
align:start position:0%it we're even better than that we're ona unit sphere so the the position Vector
align:start position:0%a unit sphere so the the position Vector
align:start position:0%a unit sphere so the the position Vectorhas length one so n should be pointing
align:start position:0%has length one so n should be pointing
align:start position:0%has length one so n should be pointingin the same direction is this vector and
align:start position:0%in the same direction is this vector and
align:start position:0%in the same direction is this vector andthey both have length one so they better
align:start position:0%they both have length one so they better
align:start position:0%they both have length one so they betterbe equal to each
align:start position:0%be equal to each
align:start position:0%be equal to eachother great so so this unit normal n is
align:start position:0%other great so so this unit normal n is
align:start position:0%other great so so this unit normal n isis just this very simple Vector XYZ you
align:start position:0%is just this very simple Vector XYZ you
align:start position:0%is just this very simple Vector XYZ youknow if it had been a bigger sphere then
align:start position:0%know if it had been a bigger sphere then
align:start position:0%know if it had been a bigger sphere thenyou might have to you would have to
align:start position:0%you might have to you would have to
align:start position:0%you might have to you would have todivide this by by the radius to scale it
align:start position:0%
align:start position:0% appropriately all right so we've got
align:start position:0%appropriately all right so we've got
align:start position:0%appropriately all right so we've gotcurl F we've got n so the thing that we
align:start position:0%curl F we've got n so the thing that we
align:start position:0%curl F we've got n so the thing that wewant okay so the integral that we
align:start position:0%want okay so the integral that we
align:start position:0%want okay so the integral that wewant is
align:start position:0%want is
align:start position:0%want isthis double
align:start position:0%this double
align:start position:0%this doubleintegral over the surface okay of curl
align:start position:0%integral over the surface okay of curl
align:start position:0%integral over the surface okay of curlf.n so that's x + 2 y +
align:start position:0%f.n so that's x + 2 y +
align:start position:0%f.n so that's x + 2 y +z with respect to surface
align:start position:0%z with respect to surface
align:start position:0%z with respect to surfacearea okay well now we've just got a
align:start position:0%area okay well now we've just got a
align:start position:0%area okay well now we've just got asurface integral it's over a sphere not
align:start position:0%surface integral it's over a sphere not
align:start position:0%surface integral it's over a sphere nota Terri well a hemisphere not a terrible
align:start position:0%a Terri well a hemisphere not a terrible
align:start position:0%a Terri well a hemisphere not a terriblething to parameterize so okay so that's
align:start position:0%thing to parameterize so okay so that's
align:start position:0%thing to parameterize so okay so that'swhat we should do we should go in we
align:start position:0%what we should do we should go in we
align:start position:0%what we should do we should go in weshould parameterize it and then we
align:start position:0%should parameterize it and then we
align:start position:0%should parameterize it and then weshould you know just compute it like a
align:start position:0%should you know just compute it like a
align:start position:0%should you know just compute it like asurface integral like we like we know
align:start position:0%surface integral like we like we know
align:start position:0%surface integral like we like we knowhow to do so um before we start though I
align:start position:0%how to do so um before we start though I
align:start position:0%how to do so um before we start though Iwant to make one little observation well
align:start position:0%want to make one little observation well
align:start position:0%want to make one little observation wellmaybe two little observations so we can
align:start position:0%maybe two little observations so we can
align:start position:0%maybe two little observations so we cansimplify this all right
align:start position:0%simplify this all right
align:start position:0%simplify this all rightX we're integrating X over the surface
align:start position:0%X we're integrating X over the surface
align:start position:0%X we're integrating X over the surfaceof a hemisphere centered at the origin
align:start position:0%of a hemisphere centered at the origin
align:start position:0%of a hemisphere centered at the originthis hemisphere is really symmetric and
align:start position:0%this hemisphere is really symmetric and
align:start position:0%this hemisphere is really symmetric andon the Nega the back side the part where
align:start position:0%on the Nega the back side the part where
align:start position:0%on the Nega the back side the part whereX is negative we're getting negative
align:start position:0%X is negative we're getting negative
align:start position:0%X is negative we're getting negativecontributions from X and on the front
align:start position:0%contributions from X and on the front
align:start position:0%contributions from X and on the frontside where X is positive we're getting
align:start position:0%side where X is positive we're getting
align:start position:0%side where X is positive we're gettingpositive contributions from X and
align:start position:0%positive contributions from X and
align:start position:0%positive contributions from X andbecause this sphere is totally symmetric
align:start position:0%because this sphere is totally symmetric
align:start position:0%because this sphere is totally symmetricthose just cancel out
align:start position:0%those just cancel out
align:start position:0%those just cancel outcompletely so when we integrate x over
align:start position:0%completely so when we integrate x over
align:start position:0%completely so when we integrate x overthe whole
align:start position:0%the whole
align:start position:0%the wholesphere over the whole
align:start position:0%sphere over the whole
align:start position:0%sphere over the wholehemisphere it just it just kills itself
align:start position:0%hemisphere it just it just kills itself
align:start position:0%hemisphere it just it just kills itselfI mean the negative Parts kill the
align:start position:0%I mean the negative Parts kill the
align:start position:0%I mean the negative Parts kill thepositive parts we just get zero
align:start position:0%positive parts we just get zero
align:start position:0%positive parts we just get zerosimilarly this hemisphere is symmetric
align:start position:0%similarly this hemisphere is symmetric
align:start position:0%similarly this hemisphere is symmetricbetween its left side and its right side
align:start position:0%between its left side and its right side
align:start position:0%between its left side and its right sideand so the parts where y are negative
align:start position:0%and so the parts where y are negative
align:start position:0%and so the parts where y are negativecancel out exactly where the parts where
align:start position:0%cancel out exactly where the parts where
align:start position:0%cancel out exactly where the parts wherey are positive so a simplifying step we
align:start position:0%y are positive so a simplifying step we
align:start position:0%y are positive so a simplifying step wecan realize right at the beginning that
align:start position:0%can realize right at the beginning that
align:start position:0%can realize right at the beginning thatthis is actually just the integral over
align:start position:0%this is actually just the integral over
align:start position:0%this is actually just the integral overs of
align:start position:0%s of
align:start position:0%s ofZ with respect to surface area now if
align:start position:0%Z with respect to surface area now if
align:start position:0%Z with respect to surface area now ifyou didn't realize that that's okay what
align:start position:0%you didn't realize that that's okay what
align:start position:0%you didn't realize that that's okay whatyou would have done is you would have
align:start position:0%you would have done is you would have
align:start position:0%you would have done is you would havedone the parameterization that we're
align:start position:0%done the parameterization that we're
align:start position:0%done the parameterization that we'reabout to do and in doing that
align:start position:0%about to do and in doing that
align:start position:0%about to do and in doing thatparameterization you would have found
align:start position:0%parameterization you would have found
align:start position:0%parameterization you would have foundthat you were integrating something like
align:start position:0%that you were integrating something like
align:start position:0%that you were integrating something likecosine Theta between 0 and 2 pi or
align:start position:0%cosine Theta between 0 and 2 pi or
align:start position:0%cosine Theta between 0 and 2 pi orsomething like this and that would have
align:start position:0%something like this and that would have
align:start position:0%something like this and that would havegiven you zero so you would have you
align:start position:0%given you zero so you would have you
align:start position:0%given you zero so you would have youwould have found this simp
align:start position:0%would have found this simp
align:start position:0%would have found this simpsyry even if you didn't realize it right
align:start position:0%syry even if you didn't realize it right
align:start position:0%syry even if you didn't realize it rightnow you would have found it in the
align:start position:0%now you would have found it in the
align:start position:0%now you would have found it in theprocess of computing this this integral
align:start position:0%process of computing this this integral
align:start position:0%process of computing this this integralbut but it's a little bit easier on us
align:start position:0%but but it's a little bit easier on us
align:start position:0%but but it's a little bit easier on usif we if we sort of can recognize that
align:start position:0%if we if we sort of can recognize that
align:start position:0%if we if we sort of can recognize thatsymmetry first now notice that Z doesn't
align:start position:0%symmetry first now notice that Z doesn't
align:start position:0%symmetry first now notice that Z doesn'tcancel because this is just the top
align:start position:0%cancel because this is just the top
align:start position:0%cancel because this is just the tophemisphere so it doesn't have a bottom
align:start position:0%hemisphere so it doesn't have a bottom
align:start position:0%hemisphere so it doesn't have a bottomhalf to cancel out with right so the Z
align:start position:0%half to cancel out with right so the Z
align:start position:0%half to cancel out with right so the Zpart we can't use this this easy
align:start position:0%part we can't use this this easy
align:start position:0%part we can't use this this easyanalysis on if we were if we integrated
align:start position:0%analysis on if we were if we integrated
align:start position:0%analysis on if we were if we integratedthis Z over the whole sphere if we had
align:start position:0%this Z over the whole sphere if we had
align:start position:0%this Z over the whole sphere if we hadthe other half of the sphere well then
align:start position:0%the other half of the sphere well then
align:start position:0%the other half of the sphere well thenthat would also give us zero but but we
align:start position:0%that would also give us zero but but we
align:start position:0%that would also give us zero but but weonly have the half of the sphere the top
align:start position:0%only have the half of the sphere the top
align:start position:0%only have the half of the sphere the tophalf of the sphere so it's going to give
align:start position:0%half of the sphere so it's going to give
align:start position:0%half of the sphere so it's going to giveus something positive because Z is
align:start position:0%us something positive because Z is
align:start position:0%us something positive because Z isalways positive up there okay so let's
align:start position:0%always positive up there okay so let's
align:start position:0%always positive up there okay so let'slet's actually set about parameterizing
align:start position:0%let's actually set about parameterizing
align:start position:0%let's actually set about parameterizingit we want to parameterize the unit
align:start position:0%it we want to parameterize the unit
align:start position:0%it we want to parameterize the unitsphere well okay so we have our standard
align:start position:0%sphere well okay so we have our standard
align:start position:0%sphere well okay so we have our standardparameterization that comes from
align:start position:0%parameterization that comes from
align:start position:0%parameterization that comes fromspherical coordinates so row is just one
align:start position:0%spherical coordinates so row is just one
align:start position:0%spherical coordinates so row is just oneright so
align:start position:0%right so
align:start position:0%right soX is equal to it's going to
align:start position:0%X is equal to it's going to
align:start position:0%X is equal to it's going tobe cosine you know what I always get a
align:start position:0%be cosine you know what I always get a
align:start position:0%be cosine you know what I always get alittle confused so I'm just going to
align:start position:0%little confused so I'm just going to
align:start position:0%little confused so I'm just going tocheck carefully that I'm doing doing
align:start position:0%check carefully that I'm doing doing
align:start position:0%check carefully that I'm doing doingthis perfectly right X is going to be
align:start position:0%this perfectly right X is going to be
align:start position:0%this perfectly right X is going to beyes cosine Theta sin V good Y is going
align:start position:0%yes cosine Theta sin V good Y is going
align:start position:0%yes cosine Theta sin V good Y is goingto be sin
align:start position:0%to be sin
align:start position:0%to be sinTheta sinine V and
align:start position:0%Theta sinine V and
align:start position:0%Theta sinine V andZ is going to be
align:start position:0%Z is going to be
align:start position:0%Z is going to becosine Fe so that's our parameterization
align:start position:0%cosine Fe so that's our parameterization
align:start position:0%cosine Fe so that's our parameterizationokay but this this we need bounds of
align:start position:0%okay but this this we need bounds of
align:start position:0%okay but this this we need bounds ofcourse on Theta and v in order to
align:start position:0%course on Theta and v in order to
align:start position:0%course on Theta and v in order toproperly describe just this hemisphere
align:start position:0%properly describe just this hemisphere
align:start position:0%properly describe just this hemisphereso let's think so Fe we want the
align:start position:0%so let's think so Fe we want the
align:start position:0%so let's think so Fe we want thehemisphere that goes from the Z axis
align:start position:0%hemisphere that goes from the Z axis
align:start position:0%hemisphere that goes from the Z axisdown to the XY plane so that means we
align:start position:0%down to the XY plane so that means we
align:start position:0%down to the XY plane so that means wewant
align:start position:0%want
align:start position:0%want0o to be less than or equal to F to be
align:start position:0%0o to be less than or equal to F to be
align:start position:0%0o to be less than or equal to F to beless than or equal to Pi / 2 right
align:start position:0%less than or equal to Pi / 2 right
align:start position:0%less than or equal to Pi / 2 rightthat'll give us that just that top half
align:start position:0%that'll give us that just that top half
align:start position:0%that'll give us that just that top halfand we want the whole thing we want to
align:start position:0%and we want the whole thing we want to
align:start position:0%and we want the whole thing we want togo all the way around so we want zero
align:start position:0%go all the way around so we want zero
align:start position:0%go all the way around so we want zeroless than or equal to Theta less than or
align:start position:0%less than or equal to Theta less than or
align:start position:0%less than or equal to Theta less than orequal to 2
align:start position:0%equal to 2
align:start position:0%equal to 2pi so this is okay so this is our what x
align:start position:0%pi so this is okay so this is our what x
align:start position:0%pi so this is okay so this is our what xy and z are these are the bounds for our
align:start position:0%y and z are these are the bounds for our
align:start position:0%y and z are these are the bounds for ourparameters the and Theta um now the only
align:start position:0%parameters the and Theta um now the only
align:start position:0%parameters the and Theta um now the onlyother thing we need is we need to know
align:start position:0%other thing we need is we need to know
align:start position:0%other thing we need is we need to knowwhat DS is so in spherical coordinates
align:start position:0%what DS is so in spherical coordinates
align:start position:0%what DS is so in spherical coordinateswe know that
align:start position:0%we know that
align:start position:0%we know thatDS I'll put it right above here so DS is
align:start position:0%DS I'll put it right above here so DS is
align:start position:0%DS I'll put it right above here so DS isequal
align:start position:0%equal
align:start position:0%equalto sin
align:start position:0%to sin
align:start position:0%to sinv d Fe D Theta let me again just double
align:start position:0%v d Fe D Theta let me again just double
align:start position:0%v d Fe D Theta let me again just doublecheck that that I'm not doing anything
align:start position:0%check that that I'm not doing anything
align:start position:0%check that that I'm not doing anythingsilly so DS is equal to sin v d v d
align:start position:0%silly so DS is equal to sin v d v d
align:start position:0%silly so DS is equal to sin v d v dTheta so we've got our parameterization
align:start position:0%Theta so we've got our parameterization
align:start position:0%Theta so we've got our parameterizationwe've got our bounds on our parameters
align:start position:0%we've got our bounds on our parameters
align:start position:0%we've got our bounds on our parameterswe know what DS is and we have the
align:start position:0%we know what DS is and we have the
align:start position:0%we know what DS is and we have theintegral that we want to compute so now
align:start position:0%integral that we want to compute so now
align:start position:0%integral that we want to compute so nowwe just have to substitute everything in
align:start position:0%we just have to substitute everything in
align:start position:0%we just have to substitute everything inand actually compute it as an iterated
align:start position:0%and actually compute it as an iterated
align:start position:0%and actually compute it as an iteratedintegral great so let's do that so this
align:start position:0%integral great so let's do that so this
align:start position:0%integral great so let's do that so thisintegral that we want I'm going to write
align:start position:0%integral that we want I'm going to write
align:start position:0%integral that we want I'm going to writea big equal sign that's going to carry
align:start position:0%a big equal sign that's going to carry
align:start position:0%a big equal sign that's going to carryme all the way up here
align:start position:0%me all the way up here
align:start position:0%me all the way up herethat's an equal sign all right so our
align:start position:0%that's an equal sign all right so our
align:start position:0%that's an equal sign all right so ourintegral the integral over s of Z with
align:start position:0%integral the integral over s of Z with
align:start position:0%integral the integral over s of Z withrespect to surface area so Z becomes
align:start position:0%respect to surface area so Z becomes
align:start position:0%respect to surface area so Z becomescosine V so we've got our double
align:start position:0%cosine V so we've got our double
align:start position:0%cosine V so we've got our doubleintegral becomes an iterated integral Z
align:start position:0%integral becomes an iterated integral Z
align:start position:0%integral becomes an iterated integral Zbecomes cosine V DS becomes sin Fe d f d
align:start position:0%becomes cosine V DS becomes sin Fe d f d
align:start position:0%becomes cosine V DS becomes sin Fe d f dTheta sin
align:start position:0%Theta sin
align:start position:0%Theta sinv d
align:start position:0%v d
align:start position:0%v dv d Theta and our bound so let's see V
align:start position:0%v d Theta and our bound so let's see V
align:start position:0%v d Theta and our bound so let's see Vwe said is going from 0 to Pi / 2 0 to
align:start position:0%we said is going from 0 to Pi / 2 0 to
align:start position:0%we said is going from 0 to Pi / 2 0 toPi / 2 and Theta is going from 0 to 2
align:start position:0%Pi / 2 and Theta is going from 0 to 2
align:start position:0%Pi / 2 and Theta is going from 0 to 2pi okay so now we just have a nice
align:start position:0%pi okay so now we just have a nice
align:start position:0%pi okay so now we just have a nicestraightforward iterated integral here
align:start position:0%straightforward iterated integral here
align:start position:0%straightforward iterated integral hereto compute so let's do the inner one
align:start position:0%to compute so let's do the inner one
align:start position:0%to compute so let's do the inner onefirst so we're
align:start position:0%first so we're
align:start position:0%first so we'reComputing the inner integral is the
align:start position:0%Computing the inner integral is the
align:start position:0%Computing the inner integral is theintegral from
align:start position:0%integral from
align:start position:0%integral from0 to Pi / 2 of cosine
align:start position:0%0 to Pi / 2 of cosine
align:start position:0%0 to Pi / 2 of cosineF sin
align:start position:0%F sin
align:start position:0%F sinf d Fe and okay so this is you know
align:start position:0%f d Fe and okay so this is you know
align:start position:0%f d Fe and okay so this is you knowbunch of different ways you could do
align:start position:0%bunch of different ways you could do
align:start position:0%bunch of different ways you could dothis if you wanted to get fancy you
align:start position:0%this if you wanted to get fancy you
align:start position:0%this if you wanted to get fancy youcould do a double angle formula here but
align:start position:0%could do a double angle formula here but
align:start position:0%could do a double angle formula here butthat's really more fancy than you need
align:start position:0%that's really more fancy than you need
align:start position:0%that's really more fancy than you needbecause this is like sinine Fe time D
align:start position:0%because this is like sinine Fe time D
align:start position:0%because this is like sinine Fe time Dsin Fe right so this is equal to you
align:start position:0%sin Fe right so this is equal to you
align:start position:0%sin Fe right so this is equal to youknow you could another way of saying
align:start position:0%know you could another way of saying
align:start position:0%know you could another way of sayingthat is you can make the substitution U
align:start position:0%that is you can make the substitution U
align:start position:0%that is you can make the substitution Uequals sin V anyhow you this is all Cal
align:start position:0%equals sin V anyhow you this is all Cal
align:start position:0%equals sin V anyhow you this is all Calone stuff that hopefully you're pretty
align:start position:0%one stuff that hopefully you're pretty
align:start position:0%one stuff that hopefully you're prettyfamiliar with so okay so this is equal
align:start position:0%familiar with so okay so this is equal
align:start position:0%familiar with so okay so this is equalto all right so in the end we get sin^2
align:start position:0%to all right so in the end we get sin^2
align:start position:0%to all right so in the end we get sin^2F / 2 between 0 and pi/ 2 okay so we
align:start position:0%F / 2 between 0 and pi/ 2 okay so we
align:start position:0%F / 2 between 0 and pi/ 2 okay so weplug this in so sin^2 Pi / 2 that's 12
align:start position:0%plug this in so sin^2 Pi / 2 that's 12
align:start position:0%plug this in so sin^2 Pi / 2 that's 12minus sin^2 0/ 2 is 0 over 2 so it's
align:start position:0%minus sin^2 0/ 2 is 0 over 2 so it's
align:start position:0%minus sin^2 0/ 2 is 0 over 2 so it'sjust 1/2 right so the inner integral is
align:start position:0%just 1/2 right so the inner integral is
align:start position:0%just 1/2 right so the inner integral is1/2 so let's see about the outer one
align:start position:0%1/2 so let's see about the outer one
align:start position:0%1/2 so let's see about the outer oneouter integral is just the integral from
align:start position:0%outer integral is just the integral from
align:start position:0%outer integral is just the integral from0 to 2 pi D Theta of whatever the inner
align:start position:0%0 to 2 pi D Theta of whatever the inner
align:start position:0%0 to 2 pi D Theta of whatever the innerintegral was well the inner integral was
align:start position:0%integral was well the inner integral was
align:start position:0%integral was well the inner integral was1/2 so the integral from 0 to 2 pi of
align:start position:0%1/2 so the integral from 0 to 2 pi of
align:start position:0%1/2 so the integral from 0 to 2 pi of1/2 is pi straight forward good so okay
align:start position:0%1/2 is pi straight forward good so okay
align:start position:0%1/2 is pi straight forward good so okayso that's what the service integral
align:start position:0%so that's what the service integral
align:start position:0%so that's what the service integralgives us so let's go back here and
align:start position:0%gives us so let's go back here and
align:start position:0%gives us so let's go back here andcompare so way back at the
align:start position:0%compare so way back at the
align:start position:0%compare so way back at thebeginning of this recitation we did the
align:start position:0%beginning of this recitation we did the
align:start position:0%beginning of this recitation we did theline inter integral for this for this
align:start position:0%line inter integral for this for this
align:start position:0%line inter integral for this for thiscircle that's the boundary of this
align:start position:0%circle that's the boundary of this
align:start position:0%circle that's the boundary of thisHemisphere and we got pi and just now
align:start position:0%Hemisphere and we got pi and just now
align:start position:0%Hemisphere and we got pi and just nowwhat we did is we had the surface
align:start position:0%what we did is we had the surface
align:start position:0%what we did is we had the surfaceintegral the associated surface integral
align:start position:0%integral the associated surface integral
align:start position:0%integral the associated surface integralthat we get from Stokes theorem this
align:start position:0%that we get from Stokes theorem this
align:start position:0%that we get from Stokes theorem thiscurl f.n DS so we had okay we computed F
align:start position:0%curl f.n DS so we had okay we computed F
align:start position:0%curl f.n DS so we had okay we computed Fand curl F and N and then we' we'
align:start position:0%and curl F and N and then we' we'
align:start position:0%and curl F and N and then we' we'noticed a little nice symmetry here
align:start position:0%noticed a little nice symmetry here
align:start position:0%noticed a little nice symmetry herealthough if you didn't notice it you
align:start position:0%although if you didn't notice it you
align:start position:0%although if you didn't notice it youshould have been had no trouble
align:start position:0%should have been had no trouble
align:start position:0%should have been had no troubleComputing the the extra terms in the
align:start position:0%Computing the the extra terms in the
align:start position:0%Computing the the extra terms in theintegral that you actually ended up with
align:start position:0%integral that you actually ended up with
align:start position:0%integral that you actually ended up withit would have been you know another
align:start position:0%it would have been you know another
align:start position:0%it would have been you know anothercouple of trig terms there after you
align:start position:0%couple of trig terms there after you
align:start position:0%couple of trig terms there after youmade the substitution so we
align:start position:0%made the substitution so we
align:start position:0%made the substitution so weparameterized our surface nicely because
align:start position:0%parameterized our surface nicely because
align:start position:0%parameterized our surface nicely becauseit's a sphere it's easy to do um and
align:start position:0%it's a sphere it's easy to do um and
align:start position:0%it's a sphere it's easy to do um andthen we computed the double integral and
align:start position:0%then we computed the double integral and
align:start position:0%then we computed the double integral andwe also came out with pi and we better
align:start position:0%we also came out with pi and we better
align:start position:0%we also came out with pi and we betterhave also come out with pi because
align:start position:0%have also come out with pi because
align:start position:0%have also come out with pi becauseStokes theorem tells us that the line
align:start position:0%Stokes theorem tells us that the line
align:start position:0%Stokes theorem tells us that the lineintegral and the surface integral have
align:start position:0%integral and the surface integral have
align:start position:0%integral and the surface integral haveto give us the same value so that's
align:start position:0%to give us the same value so that's
align:start position:0%to give us the same value so that'sgreat so that's that's exactly what we
align:start position:0%great so that's that's exactly what we
align:start position:0%great so that's that's exactly what wewere hoping would happen and now we've
align:start position:0%were hoping would happen and now we've
align:start position:0%were hoping would happen and now we'vesort of convinced ourselves hopefully
align:start position:0%sort of convinced ourselves hopefully
align:start position:0%sort of convinced ourselves hopefullythat that you know through a through an
align:start position:0%that that you know through a through an
align:start position:0%that that you know through a through anexample now we have a maybe feel for
align:start position:0%example now we have a maybe feel for
align:start position:0%example now we have a maybe feel forwhat sorts of things Stokes theorem can
align:start position:0%what sorts of things Stokes theorem can
align:start position:0%what sorts of things Stokes theorem cando for us I'll end there12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090align:start position:0% hi welcome back to recitation in the
align:start position:0%hi welcome back to recitation in the
align:start position:0%hi welcome back to recitation in thelecture we've learned very important
align:start position:0%lecture we've learned very important
align:start position:0%lecture we've learned very importantConcepts linear space and linear
align:start position:0%Concepts linear space and linear
align:start position:0%Concepts linear space and linearSubspace well as you can imagine if we
align:start position:0%Subspace well as you can imagine if we
align:start position:0%Subspace well as you can imagine if wecall something a space we're putting a
align:start position:0%call something a space we're putting a
align:start position:0%call something a space we're putting alot of things a lot of objects into one
align:start position:0%lot of things a lot of objects into one
align:start position:0%lot of things a lot of objects into oneset but for linear space we want to put
align:start position:0%set but for linear space we want to put
align:start position:0%set but for linear space we want to putthem in according to a particular manner
align:start position:0%them in according to a particular manner
align:start position:0%them in according to a particular mannerso can you recall what are the
align:start position:0%so can you recall what are the
align:start position:0%so can you recall what are theconditions for a set to be a linear
align:start position:0%conditions for a set to be a linear
align:start position:0%conditions for a set to be a linearspace you take any two elements from
align:start position:0%space you take any two elements from
align:start position:0%space you take any two elements fromthat set take the sum of them you want
align:start position:0%that set take the sum of them you want
align:start position:0%that set take the sum of them you wantthe sum to be still in the same set
align:start position:0%the sum to be still in the same set
align:start position:0%the sum to be still in the same setthat's the first condition second you
align:start position:0%that's the first condition second you
align:start position:0%that's the first condition second youtake any multiple of any element from
align:start position:0%take any multiple of any element from
align:start position:0%take any multiple of any element fromthat set the result will still be in
align:start position:0%that set the result will still be in
align:start position:0%that set the result will still be inthat set well that's the second
align:start position:0%that set well that's the second
align:start position:0%that set well that's the secondcondition okay and if within a linear
align:start position:0%condition okay and if within a linear
align:start position:0%condition okay and if within a linearspace you can find a subset set which
align:start position:0%space you can find a subset set which
align:start position:0%space you can find a subset set whichalso satisfy the two conditions then
align:start position:0%also satisfy the two conditions then
align:start position:0%also satisfy the two conditions thenthat will give you a
align:start position:0%that will give you a
align:start position:0%that will give you aSubspace today we're going to look at
align:start position:0%Subspace today we're going to look at
align:start position:0%Subspace today we're going to look atthis example to review these two
align:start position:0%this example to review these two
align:start position:0%this example to review these twoimportant properties of linear space and
align:start position:0%important properties of linear space and
align:start position:0%important properties of linear space andSubspace okay I have two vectors X1 and
align:start position:0%Subspace okay I have two vectors X1 and
align:start position:0%Subspace okay I have two vectors X1 andX2 both of them are vectors in R3 so as
align:start position:0%X2 both of them are vectors in R3 so as
align:start position:0%X2 both of them are vectors in R3 so asyou can see I've drawn them here this is
align:start position:0%you can see I've drawn them here this is
align:start position:0%you can see I've drawn them here this isX1 and this is X2
align:start position:0%X1 and this is X2
align:start position:0%X1 and this is X2so first we want to find the Subspace
align:start position:0%so first we want to find the Subspace
align:start position:0%so first we want to find the Subspacegenerated by X1 I call it V1 let me say
align:start position:0%generated by X1 I call it V1 let me say
align:start position:0%generated by X1 I call it V1 let me saya word about this generated by so what
align:start position:0%a word about this generated by so what
align:start position:0%a word about this generated by so whatdo I mean by a Subspace generated by
align:start position:0%do I mean by a Subspace generated by
align:start position:0%do I mean by a Subspace generated byX1 I'm looking for the smallest Subspace
align:start position:0%X1 I'm looking for the smallest Subspace
align:start position:0%X1 I'm looking for the smallest Subspacethat contains X1 as small as you can get
align:start position:0%that contains X1 as small as you can get
align:start position:0%that contains X1 as small as you can getokay similarly I want to find out the
align:start position:0%okay similarly I want to find out the
align:start position:0%okay similarly I want to find out theSubspace generated by X 2 call it
align:start position:0%Subspace generated by X 2 call it
align:start position:0%Subspace generated by X 2 call itV2 okay then we want to say something
align:start position:0%V2 okay then we want to say something
align:start position:0%V2 okay then we want to say somethingabout the intersection of V1 and V2
align:start position:0%about the intersection of V1 and V2
align:start position:0%about the intersection of V1 and V2that's the first question and the second
align:start position:0%that's the first question and the second
align:start position:0%that's the first question and the secondquestion we want to put Vector X1 and X2
align:start position:0%question we want to put Vector X1 and X2
align:start position:0%question we want to put Vector X1 and X2together and look at the Subspace
align:start position:0%together and look at the Subspace
align:start position:0%together and look at the Subspacegenerated by X1 and X2 at the same time
align:start position:0%generated by X1 and X2 at the same time
align:start position:0%generated by X1 and X2 at the same timeso I call it
align:start position:0%so I call it
align:start position:0%so I call itV3 and a good question to be asked here
align:start position:0%V3 and a good question to be asked here
align:start position:0%V3 and a good question to be asked hereis what is the relation of V3 to V1 un
align:start position:0%is what is the relation of V3 to V1 un
align:start position:0%is what is the relation of V3 to V1 unV2 do you think they're
align:start position:0%V2 do you think they're
align:start position:0%V2 do you think they'reequal um within the second question I
align:start position:0%equal um within the second question I
align:start position:0%equal um within the second question Iwould also like you to find a Subspace
align:start position:0%would also like you to find a Subspace
align:start position:0%would also like you to find a Subspacecall it s of V3 such that neither X1 nor
align:start position:0%call it s of V3 such that neither X1 nor
align:start position:0%call it s of V3 such that neither X1 norX2 is in
align:start position:0%X2 is in
align:start position:0%X2 is ins and the last question is I'd like you
align:start position:0%s and the last question is I'd like you
align:start position:0%s and the last question is I'd like youto say something about the intersection
align:start position:0%to say something about the intersection
align:start position:0%to say something about the intersectionof V3 with the XY plane
align:start position:0%of V3 with the XY plane
align:start position:0%of V3 with the XY planeso notice that of course XY plane is
align:start position:0%so notice that of course XY plane is
align:start position:0%so notice that of course XY plane isalso a Subspace of R3 so again I'm
align:start position:0%also a Subspace of R3 so again I'm
align:start position:0%also a Subspace of R3 so again I'mlooking at the intersection of two
align:start position:0%looking at the intersection of two
align:start position:0%looking at the intersection of twosubspaces all right why don't you hit
align:start position:0%subspaces all right why don't you hit
align:start position:0%subspaces all right why don't you hitthe pause now and try to solve these
align:start position:0%the pause now and try to solve these
align:start position:0%the pause now and try to solve thesethree problems on your own and i' like
align:start position:0%three problems on your own and i' like
align:start position:0%three problems on your own and i' likeyou to identify your answers in this
align:start position:0%you to identify your answers in this
align:start position:0%you to identify your answers in thispicture whenever you can I'll come back
align:start position:0%picture whenever you can I'll come back
align:start position:0%picture whenever you can I'll come backlater and continue working with
align:start position:0%later and continue working with
align:start position:0%later and continue working withyou
align:start position:0%
align:start position:0% okay how did our drawing go let's look
align:start position:0%okay how did our drawing go let's look
align:start position:0%okay how did our drawing go let's lookat this together first we want to find
align:start position:0%at this together first we want to find
align:start position:0%at this together first we want to findSubspace generated by X1 so here is X1
align:start position:0%Subspace generated by X1 so here is X1
align:start position:0%Subspace generated by X1 so here is X1let's keep in mind the two conditions
align:start position:0%let's keep in mind the two conditions
align:start position:0%let's keep in mind the two conditionsthat a Subspace has to satisfy well if I
align:start position:0%that a Subspace has to satisfy well if I
align:start position:0%that a Subspace has to satisfy well if Iwant to obtain the Subspace at least I
align:start position:0%want to obtain the Subspace at least I
align:start position:0%want to obtain the Subspace at least Ihave to be able to take any multi
align:start position:0%have to be able to take any multi
align:start position:0%have to be able to take any multimultiple of X1 right so that means at
align:start position:0%multiple of X1 right so that means at
align:start position:0%multiple of X1 right so that means atleast I have to include the straight
align:start position:0%least I have to include the straight
align:start position:0%least I have to include the straightline that contains X1 so I'm going to
align:start position:0%line that contains X1 so I'm going to
align:start position:0%line that contains X1 so I'm going totry to draw this straight line here so
align:start position:0%try to draw this straight line here so
align:start position:0%try to draw this straight line here soI'm just simply going to extend this X1
align:start position:0%I'm just simply going to extend this X1
align:start position:0%I'm just simply going to extend this X1along to both directions so
align:start position:0%
align:start position:0% X1 I will try very hard to make it
align:start position:0%X1 I will try very hard to make it
align:start position:0%X1 I will try very hard to make itstraight but to be honest it's really
align:start position:0%straight but to be honest it's really
align:start position:0%straight but to be honest it's reallyhard for me to draw straight lines on
align:start position:0%hard for me to draw straight lines on
align:start position:0%hard for me to draw straight lines onthe board okay is that straight seems
align:start position:0%the board okay is that straight seems
align:start position:0%the board okay is that straight seemsfine all right so this entire line
align:start position:0%fine all right so this entire line
align:start position:0%fine all right so this entire linecontains X1 so at least this line has to
align:start position:0%contains X1 so at least this line has to
align:start position:0%contains X1 so at least this line has tobe in V1 is there any anything else
align:start position:0%be in V1 is there any anything else
align:start position:0%be in V1 is there any anything elseBeyond this line now let's turn to the
align:start position:0%Beyond this line now let's turn to the
align:start position:0%Beyond this line now let's turn to thesecond condition the second condition
align:start position:0%second condition the second condition
align:start position:0%second condition the second conditionsays that we have to be able to take any
align:start position:0%says that we have to be able to take any
align:start position:0%says that we have to be able to take anytwo elements take the sum and the sum
align:start position:0%two elements take the sum and the sum
align:start position:0%two elements take the sum and the sumwill remain in that set does it work for
align:start position:0%will remain in that set does it work for
align:start position:0%will remain in that set does it work forthis line you take any
align:start position:0%this line you take any
align:start position:0%this line you take anytwo vectors on this line or you can say
align:start position:0%two vectors on this line or you can say
align:start position:0%two vectors on this line or you can sayany two points on this line and then you
align:start position:0%any two points on this line and then you
align:start position:0%any two points on this line and then youtake the sum of them of course you still
align:start position:0%take the sum of them of course you still
align:start position:0%take the sum of them of course you stillget something on this line you won't be
align:start position:0%get something on this line you won't be
align:start position:0%get something on this line you won't beable to escape from it right which means
align:start position:0%able to escape from it right which means
align:start position:0%able to escape from it right which meansthis line is a perfect set that satisfy
align:start position:0%this line is a perfect set that satisfy
align:start position:0%this line is a perfect set that satisfythe two conditions so this line simply
align:start position:0%the two conditions so this line simply
align:start position:0%the two conditions so this line simplygives me
align:start position:0%gives me
align:start position:0%gives meV1 that is the smallest Subspace that
align:start position:0%V1 that is the smallest Subspace that
align:start position:0%V1 that is the smallest Subspace thatcontains X1 so in other words the
align:start position:0%contains X1 so in other words the
align:start position:0%contains X1 so in other words theSubspace generated by X1 is V1 so
align:start position:0%Subspace generated by X1 is V1 so
align:start position:0%Subspace generated by X1 is V1 sosimilarly let's look at X2 what is the
align:start position:0%similarly let's look at X2 what is the
align:start position:0%similarly let's look at X2 what is theSubspace generated by X2 again you get
align:start position:0%Subspace generated by X2 again you get
align:start position:0%Subspace generated by X2 again you getthe entire straight line that contains
align:start position:0%the entire straight line that contains
align:start position:0%the entire straight line that containsX2 so I'm going to ex extend
align:start position:0%X2 so I'm going to ex extend
align:start position:0%X2 so I'm going to ex extendx2 in both
align:start position:0%x2 in both
align:start position:0%x2 in bothdirections
align:start position:0%
align:start position:0% I hope it's
align:start position:0%
align:start position:0% straight not too
align:start position:0%straight not too
align:start position:0%straight not toobad that will give me V2 all right V1 V2
align:start position:0%bad that will give me V2 all right V1 V2
align:start position:0%bad that will give me V2 all right V1 V2both of them are subspaces of
align:start position:0%both of them are subspaces of
align:start position:0%both of them are subspaces ofR3 now let's look at the intersection of
align:start position:0%R3 now let's look at the intersection of
align:start position:0%R3 now let's look at the intersection ofV1 and V2 so we know that both of them
align:start position:0%V1 and V2 so we know that both of them
align:start position:0%V1 and V2 so we know that both of themare straight lines and clearly they're
align:start position:0%are straight lines and clearly they're
align:start position:0%are straight lines and clearly they'renot parallel because X1 and X2 are not
align:start position:0%not parallel because X1 and X2 are not
align:start position:0%not parallel because X1 and X2 are notparallel right so what is the
align:start position:0%parallel right so what is the
align:start position:0%parallel right so what is theintersection of V1 and
align:start position:0%intersection of V1 and
align:start position:0%intersection of V1 andvs2 the intersection of V1 and
align:start position:0%vs2 the intersection of V1 and
align:start position:0%vs2 the intersection of V1 andV2 is the only
align:start position:0%V2 is the only
align:start position:0%V2 is the onlypoint at which they cross and where is
align:start position:0%point at which they cross and where is
align:start position:0%point at which they cross and where isthat
align:start position:0%that
align:start position:0%thatpoint it's here right at the origin
align:start position:0%point it's here right at the origin
align:start position:0%point it's here right at the originbecause both of them pass the origin so
align:start position:0%because both of them pass the origin so
align:start position:0%because both of them pass the origin sothat's I'm going to use o to denote
align:start position:0%that's I'm going to use o to denote
align:start position:0%that's I'm going to use o to denotethat's the intersection of V1 and
align:start position:0%that's the intersection of V1 and
align:start position:0%that's the intersection of V1 andvs2 this is a set with only one element
align:start position:0%vs2 this is a set with only one element
align:start position:0%vs2 this is a set with only one elementwhat can you say about this
align:start position:0%what can you say about this
align:start position:0%what can you say about thisset I claim this is also a Subspace of
align:start position:0%set I claim this is also a Subspace of
align:start position:0%set I claim this is also a Subspace ofR3 although by saying space we usually
align:start position:0%R3 although by saying space we usually
align:start position:0%R3 although by saying space we usuallymean a lot of objects together but look
align:start position:0%mean a lot of objects together but look
align:start position:0%mean a lot of objects together but lookat this set this set fits perfectly into
align:start position:0%at this set this set fits perfectly into
align:start position:0%at this set this set fits perfectly intothe conditions of being a linear space
align:start position:0%the conditions of being a linear space
align:start position:0%the conditions of being a linear spaceyou take any multiple of zero
align:start position:0%you take any multiple of zero
align:start position:0%you take any multiple of zeroagain you get zero 0 + 0 you get zero so
align:start position:0%again you get zero 0 + 0 you get zero so
align:start position:0%again you get zero 0 + 0 you get zero sothat's a perfectly fine Subspace of R3
align:start position:0%that's a perfectly fine Subspace of R3
align:start position:0%that's a perfectly fine Subspace of R3all right so what we have got here is I
align:start position:0%all right so what we have got here is I
align:start position:0%all right so what we have got here is Itake the intersection of V1 and V2 and
align:start position:0%take the intersection of V1 and V2 and
align:start position:0%take the intersection of V1 and V2 andthe result again becomes a Subspace
align:start position:0%the result again becomes a Subspace
align:start position:0%the result again becomes a Subspacewhich only contains the
align:start position:0%which only contains the
align:start position:0%which only contains theorigin that completes the first question
align:start position:0%origin that completes the first question
align:start position:0%origin that completes the first questionlet's look at the second one in the
align:start position:0%let's look at the second one in the
align:start position:0%let's look at the second one in thesecond question I want to put X1 and X2
align:start position:0%second question I want to put X1 and X2
align:start position:0%second question I want to put X1 and X2together and look at the Subspace
align:start position:0%together and look at the Subspace
align:start position:0%together and look at the Subspacegenerated by X1 and
align:start position:0%generated by X1 and
align:start position:0%generated by X1 andX2 and I would also like you to say
align:start position:0%X2 and I would also like you to say
align:start position:0%X2 and I would also like you to saysomething about the relation between V1
align:start position:0%something about the relation between V1
align:start position:0%something about the relation between V1Union V2 to the sub space generated by
align:start position:0%Union V2 to the sub space generated by
align:start position:0%Union V2 to the sub space generated byx1x2 let's try to answer the second
align:start position:0%x1x2 let's try to answer the second
align:start position:0%x1x2 let's try to answer the secondquestion first is there a chance that V1
align:start position:0%question first is there a chance that V1
align:start position:0%question first is there a chance that V1Union V2 equal to
align:start position:0%Union V2 equal to
align:start position:0%Union V2 equal toV3 okay so what is V1 unit V2 that's
align:start position:0%V3 okay so what is V1 unit V2 that's
align:start position:0%V3 okay so what is V1 unit V2 that'sclearly just two lines right this line
align:start position:0%clearly just two lines right this line
align:start position:0%clearly just two lines right this lineUnion this
align:start position:0%Union this
align:start position:0%Union thisline is there a chance that this Union
align:start position:0%line is there a chance that this Union
align:start position:0%line is there a chance that this Unionwill be a
align:start position:0%will be a
align:start position:0%will be aSubspace let's check the two conditions
align:start position:0%Subspace let's check the two conditions
align:start position:0%Subspace let's check the two conditionsfirst you take any multiple of the
align:start position:0%first you take any multiple of the
align:start position:0%first you take any multiple of theelements in this
align:start position:0%elements in this
align:start position:0%elements in thisUnion it's either on V it's either on
align:start position:0%Union it's either on V it's either on
align:start position:0%Union it's either on V it's either onthis line or on this line since that the
align:start position:0%this line or on this line since that the
align:start position:0%this line or on this line since that themultiple is still going to stay inside
align:start position:0%multiple is still going to stay inside
align:start position:0%multiple is still going to stay insidethe union so the first condition is
align:start position:0%the union so the first condition is
align:start position:0%the union so the first condition isactually satisfied what about the second
align:start position:0%actually satisfied what about the second
align:start position:0%actually satisfied what about the secondone the second one says that I have to
align:start position:0%one the second one says that I have to
align:start position:0%one the second one says that I have tobe able to take any sum the sum of any
align:start position:0%be able to take any sum the sum of any
align:start position:0%be able to take any sum the sum of anytwo elements from these two lines let's
align:start position:0%two elements from these two lines let's
align:start position:0%two elements from these two lines let'sjust try a simple sum X1 + X2 so what is
align:start position:0%just try a simple sum X1 + X2 so what is
align:start position:0%just try a simple sum X1 + X2 so what isX1 +
align:start position:0%
align:start position:0% X2 you just sum up each coordinate that
align:start position:0%X2 you just sum up each coordinate that
align:start position:0%X2 you just sum up each coordinate thatwill give you
align:start position:0%will give you
align:start position:0%will give youtwo
align:start position:0%two
align:start position:0%two
align:start position:0%
align:start position:0% 3 in this picture can I draw it in this
align:start position:0%3 in this picture can I draw it in this
align:start position:0%3 in this picture can I draw it in thispicture it's going to be
align:start position:0%
align:start position:0% somewhere
align:start position:0%
align:start position:0% here okay that's
align:start position:0%here okay that's
align:start position:0%here okay that'sX1 plus
align:start position:0%X1 plus
align:start position:0%X1 plusX3 did you notice
align:start position:0%X3 did you notice
align:start position:0%X3 did you noticesomething you clearly have got out of
align:start position:0%something you clearly have got out of
align:start position:0%something you clearly have got out ofthis
align:start position:0%this
align:start position:0%thisUnion so this sum is not
align:start position:0%Union so this sum is not
align:start position:0%Union so this sum is notinside V1 Union
align:start position:0%inside V1 Union
align:start position:0%inside V1 UnionV2 which means V1 Union V2 is not a
align:start position:0%V2 which means V1 Union V2 is not a
align:start position:0%V2 which means V1 Union V2 is not aSubspace then it's impossible that this
align:start position:0%Subspace then it's impossible that this
align:start position:0%Subspace then it's impossible that thisUnion will equal to
align:start position:0%Union will equal to
align:start position:0%Union will equal toV3 so the second question the answer to
align:start position:0%V3 so the second question the answer to
align:start position:0%V3 so the second question the answer tothe second question is no V3 is not
align:start position:0%the second question is no V3 is not
align:start position:0%the second question is no V3 is notequal to V1 un V2 now now let's identify
align:start position:0%equal to V1 un V2 now now let's identify
align:start position:0%equal to V1 un V2 now now let's identifyV3 well as you can see since we have
align:start position:0%V3 well as you can see since we have
align:start position:0%V3 well as you can see since we haveseen from this argument that we have to
align:start position:0%seen from this argument that we have to
align:start position:0%seen from this argument that we have tobe included to be able to include this
align:start position:0%be included to be able to include this
align:start position:0%be included to be able to include thisdiagonal Vector here but in fact as you
align:start position:0%diagonal Vector here but in fact as you
align:start position:0%diagonal Vector here but in fact as youcan see since we can take any elements
align:start position:0%can see since we can take any elements
align:start position:0%can see since we can take any elementsfrom these two lines we're actually
align:start position:0%from these two lines we're actually
align:start position:0%from these two lines we're actuallyincluding every Vector on the plane
align:start position:0%including every Vector on the plane
align:start position:0%including every Vector on the planespent by V1 and V2 so in other words I'm
align:start position:0%spent by V1 and V2 so in other words I'm
align:start position:0%spent by V1 and V2 so in other words I'mactually looking at this huge
align:start position:0%actually looking at this huge
align:start position:0%actually looking at this hugeplane
align:start position:0%
align:start position:0% that is spent by
align:start position:0%that is spent by
align:start position:0%that is spent byV1 and
align:start position:0%V1 and
align:start position:0%V1 andV2 that will give me
align:start position:0%
align:start position:0% B3 okay so that's reasonable I'm looking
align:start position:0%B3 okay so that's reasonable I'm looking
align:start position:0%B3 okay so that's reasonable I'm lookingat the Subspace generated by two line in
align:start position:0%at the Subspace generated by two line in
align:start position:0%at the Subspace generated by two line inR3 and that two line will be able to
align:start position:0%R3 and that two line will be able to
align:start position:0%R3 and that two line will be able tospend a plane in
align:start position:0%spend a plane in
align:start position:0%spend a plane inR3 okay now um for the last part of
align:start position:0%R3 okay now um for the last part of
align:start position:0%R3 okay now um for the last part ofquestion two I want to find a Subspace
align:start position:0%question two I want to find a Subspace
align:start position:0%question two I want to find a Subspaceis s of V3 so I want to find the
align:start position:0%is s of V3 so I want to find the
align:start position:0%is s of V3 so I want to find theSubspace of this plane such that X1 is
align:start position:0%Subspace of this plane such that X1 is
align:start position:0%Subspace of this plane such that X1 isnot in s X2 is not in s either so I want
align:start position:0%not in s X2 is not in s either so I want
align:start position:0%not in s X2 is not in s either so I wantto stay away from this line and this
align:start position:0%to stay away from this line and this
align:start position:0%to stay away from this line and thisline can you find such a Subspace of
align:start position:0%line can you find such a Subspace of
align:start position:0%line can you find such a Subspace ofV3 it's right here right because if you
align:start position:0%V3 it's right here right because if you
align:start position:0%V3 it's right here right because if youlook at this Vector X1 + X2 sorry that
align:start position:0%look at this Vector X1 + X2 sorry that
align:start position:0%look at this Vector X1 + X2 sorry thatshould be
align:start position:0%
align:start position:0% X2
align:start position:0%X2
align:start position:0%X2if you look at this vector and if you
align:start position:0%if you look at this vector and if you
align:start position:0%if you look at this vector and if youlook at the Subspace generated by this
align:start position:0%look at the Subspace generated by this
align:start position:0%look at the Subspace generated by thisVector again you know it's going to be a
align:start position:0%Vector again you know it's going to be a
align:start position:0%Vector again you know it's going to be aline and this line is right
align:start position:0%
align:start position:0% here this line forms a perfect Subspace
align:start position:0%here this line forms a perfect Subspace
align:start position:0%here this line forms a perfect Subspaceof V3 but neither X1 nor X2 is inside
align:start position:0%of V3 but neither X1 nor X2 is inside
align:start position:0%of V3 but neither X1 nor X2 is insidethe Subspace so let's just
align:start position:0%the Subspace so let's just
align:start position:0%the Subspace so let's justmake it
align:start position:0%make it
align:start position:0%make its of course the choice is not unique you
align:start position:0%s of course the choice is not unique you
align:start position:0%s of course the choice is not unique youcan take twice X1 plus X2 or X1 + twice
align:start position:0%can take twice X1 plus X2 or X1 + twice
align:start position:0%can take twice X1 plus X2 or X1 + twiceX2 okay we have completed the second
align:start position:0%X2 okay we have completed the second
align:start position:0%X2 okay we have completed the secondproblem the last problems ask us to find
align:start position:0%problem the last problems ask us to find
align:start position:0%problem the last problems ask us to findthe intersection of V3 with XY plane
align:start position:0%the intersection of V3 with XY plane
align:start position:0%the intersection of V3 with XY planewell just think about that we have
align:start position:0%well just think about that we have
align:start position:0%well just think about that we haveidentified X V3 as this plane spent by
align:start position:0%identified X V3 as this plane spent by
align:start position:0%identified X V3 as this plane spent byline V1 and V2
align:start position:0%line V1 and V2
align:start position:0%line V1 and V2and XY is also plane so we're talking
align:start position:0%and XY is also plane so we're talking
align:start position:0%and XY is also plane so we're talkingabout the intersection of two planes in
align:start position:0%about the intersection of two planes in
align:start position:0%about the intersection of two planes inR3 what would that be so you have two
align:start position:0%R3 what would that be so you have two
align:start position:0%R3 what would that be so you have twoplanes intersect the intersection will
align:start position:0%planes intersect the intersection will
align:start position:0%planes intersect the intersection willbe a straight line again right so let's
align:start position:0%be a straight line again right so let's
align:start position:0%be a straight line again right so let'sLo locate that straight line we want to
align:start position:0%Lo locate that straight line we want to
align:start position:0%Lo locate that straight line we want tofind something that is inside V3 and XY
align:start position:0%find something that is inside V3 and XY
align:start position:0%find something that is inside V3 and XYplane at the same time what can you say
align:start position:0%plane at the same time what can you say
align:start position:0%plane at the same time what can you sayabout lines in X what can you say about
align:start position:0%about lines in X what can you say about
align:start position:0%about lines in X what can you say aboutthe points in XY plan
align:start position:0%the points in XY plan
align:start position:0%the points in XY planthe Z coordinate has to be zero okay and
align:start position:0%the Z coordinate has to be zero okay and
align:start position:0%the Z coordinate has to be zero okay andat the same time we know that at least
align:start position:0%at the same time we know that at least
align:start position:0%at the same time we know that at leastX1 and X2 are in V3 so did you notice
align:start position:0%X1 and X2 are in V3 so did you notice
align:start position:0%X1 and X2 are in V3 so did you noticethat X2 is a vector that lies in V3 but
align:start position:0%that X2 is a vector that lies in V3 but
align:start position:0%that X2 is a vector that lies in V3 butat the same time the Z coordinate of X2
align:start position:0%at the same time the Z coordinate of X2
align:start position:0%at the same time the Z coordinate of X2is
align:start position:0%is
align:start position:0%iszero that is what we're looking for so
align:start position:0%zero that is what we're looking for so
align:start position:0%zero that is what we're looking for sothe
align:start position:0%the
align:start position:0%theintersection of
align:start position:0%
align:start position:0% V3 with XY plane will simply
align:start position:0%V3 with XY plane will simply
align:start position:0%V3 with XY plane will simplybe the line that contains X2 and here
align:start position:0%be the line that contains X2 and here
align:start position:0%be the line that contains X2 and herewe've identified that as
align:start position:0%we've identified that as
align:start position:0%we've identified that asV2 that's it this is a Subspace of R3
align:start position:0%V2 that's it this is a Subspace of R3
align:start position:0%V2 that's it this is a Subspace of R3and this is the sub of R3 the
align:start position:0%and this is the sub of R3 the
align:start position:0%and this is the sub of R3 theintersection is again a Subspace of
align:start position:0%intersection is again a Subspace of
align:start position:0%intersection is again a Subspace ofR3 okay I hope you've learned a way to
align:start position:0%R3 okay I hope you've learned a way to
align:start position:0%R3 okay I hope you've learned a way tosomehow visualize this linear space and
align:start position:0%somehow visualize this linear space and
align:start position:0%somehow visualize this linear space andSubspace through this
align:start position:0%Subspace through this
align:start position:0%Subspace through thisexercise okay thank you for watching and
align:start position:0%exercise okay thank you for watching and
align:start position:0%exercise okay thank you for watching andI'll see you next
align:start position:0%I'll see you next
align:start position:0%I'll see you nexttime123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411align:start position:0% in the previous video we generated a
align:start position:0%in the previous video we generated a
align:start position:0%in the previous video we generated acart tree with three splits but why not
align:start position:0%cart tree with three splits but why not
align:start position:0%cart tree with three splits but why nottwo or four or even five there are
align:start position:0%two or four or even five there are
align:start position:0%two or four or even five there aredifferent ways to control how many
align:start position:0%different ways to control how many
align:start position:0%different ways to control how manysplits are generated one way is by
align:start position:0%splits are generated one way is by
align:start position:0%splits are generated one way is bysetting a lower bound for the number of
align:start position:0%setting a lower bound for the number of
align:start position:0%setting a lower bound for the number ofdata points in each subset in R this is
align:start position:0%data points in each subset in R this is
align:start position:0%data points in each subset in R this iscalled the min bucket parameter for the
align:start position:0%called the min bucket parameter for the
align:start position:0%called the min bucket parameter for theminimum number of observations in each
align:start position:0%minimum number of observations in each
align:start position:0%minimum number of observations in eachbucket or subset the smaller min bucket
align:start position:0%bucket or subset the smaller min bucket
align:start position:0%bucket or subset the smaller min bucketis the more splits will be generated but
align:start position:0%is the more splits will be generated but
align:start position:0%is the more splits will be generated butif it's too small overfitting will occur
align:start position:0%if it's too small overfitting will occur
align:start position:0%if it's too small overfitting will occurthis means that cart will fit the
align:start position:0%this means that cart will fit the
align:start position:0%this means that cart will fit thetraining set almost perfectly but this
align:start position:0%training set almost perfectly but this
align:start position:0%training set almost perfectly but thisis bad because then the model will
align:start position:0%is bad because then the model will
align:start position:0%is bad because then the model willprobably not perform well on test set
align:start position:0%probably not perform well on test set
align:start position:0%probably not perform well on test setdata or new data on the other hand if
align:start position:0%data or new data on the other hand if
align:start position:0%data or new data on the other hand ifthe min bucket parameter is too large
align:start position:0%the min bucket parameter is too large
align:start position:0%the min bucket parameter is too largethe model will be too simple and the
align:start position:0%the model will be too simple and the
align:start position:0%the model will be too simple and theaccuracy will be poor later in the
align:start position:0%accuracy will be poor later in the
align:start position:0%accuracy will be poor later in thelecture we'll learn about a nice method
align:start position:0%lecture we'll learn about a nice method
align:start position:0%lecture we'll learn about a nice methodfor selecting the stopping parameter in
align:start position:0%for selecting the stopping parameter in
align:start position:0%for selecting the stopping parameter ineach subset of a cart tree we have a
align:start position:0%each subset of a cart tree we have a
align:start position:0%each subset of a cart tree we have abucket of observations which may contain
align:start position:0%bucket of observations which may contain
align:start position:0%bucket of observations which may containboth possible outcomes in the small
align:start position:0%both possible outcomes in the small
align:start position:0%both possible outcomes in the smallexample we showed in the previous video
align:start position:0%example we showed in the previous video
align:start position:0%example we showed in the previous videowe classify each subset as either red or
align:start position:0%we classify each subset as either red or
align:start position:0%we classify each subset as either red orgray depending on the majority in that
align:start position:0%gray depending on the majority in that
align:start position:0%gray depending on the majority in thatsubset in the Supreme Court case we'll
align:start position:0%subset in the Supreme Court case we'll
align:start position:0%subset in the Supreme Court case we'llbe classifying observations as either
align:start position:0%be classifying observations as either
align:start position:0%be classifying observations as eitheraffirm or reverse instead of just taking
align:start position:0%affirm or reverse instead of just taking
align:start position:0%affirm or reverse instead of just takingthe majority outcome to be the
align:start position:0%the majority outcome to be the
align:start position:0%the majority outcome to be theprediction we can compute the percentage
align:start position:0%prediction we can compute the percentage
align:start position:0%prediction we can compute the percentageof data in a subset of each type of
align:start position:0%of data in a subset of each type of
align:start position:0%of data in a subset of each type ofoutcome as an example if we have a
align:start position:0%outcome as an example if we have a
align:start position:0%outcome as an example if we have asubset with ten affirms and two reverses
align:start position:0%subset with ten affirms and two reverses
align:start position:0%subset with ten affirms and two reversesthen 87% of the data is affirmed then
align:start position:0%then 87% of the data is affirmed then
align:start position:0%then 87% of the data is affirmed thenjust like in logistic regression we can
align:start position:0%just like in logistic regression we can
align:start position:0%just like in logistic regression we canuse a threshold value to obtain our
align:start position:0%use a threshold value to obtain our
align:start position:0%use a threshold value to obtain ourprediction for this example we would
align:start position:0%prediction for this example we would
align:start position:0%prediction for this example we wouldpredict a firm with a threshold of 0.5
align:start position:0%predict a firm with a threshold of 0.5
align:start position:0%predict a firm with a threshold of 0.5since the majority is affirmed but if we
align:start position:0%since the majority is affirmed but if we
align:start position:0%since the majority is affirmed but if weincrease that threshold to 0.9 we would
align:start position:0%increase that threshold to 0.9 we would
align:start position:0%increase that threshold to 0.9 we wouldpredict reverse for this example then by
align:start position:0%predict reverse for this example then by
align:start position:0%predict reverse for this example then byvarying the threat
align:start position:0%varying the threat
align:start position:0%varying the threatshoulde value we can compute an ROC
align:start position:0%shoulde value we can compute an ROC
align:start position:0%shoulde value we can compute an ROCcurve and compute an AUC value to
align:start position:0%curve and compute an AUC value to
align:start position:0%curve and compute an AUC value toevaluate our model in the next video
align:start position:0%evaluate our model in the next video
align:start position:0%evaluate our model in the next videowe'll build a cart tree in our to
align:start position:0%we'll build a cart tree in our to
align:start position:0%we'll build a cart tree in our topredict the decisions of justice Stevens
align:start position:0%predict the decisions of justice Stevens
align:start position:0%predict the decisions of justice Stevensand evaluate our model using an ROC
align:start position:0%and evaluate our model using an ROC
align:start position:0%and evaluate our model using an ROCcurve12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831The following content isprovided under a Creative
Commons license.
Your support will help MITOpenCourseWare continue to
offer high quality educationalresources for free.
To make a donation or viewadditional materials from
hundreds of MIT courses, visitMIT OpenCourseWare at
ocw.mit.edu.
PROFESSOR: All right.
It's 12:05, so why don't yougo ahead and take 10 more
seconds on the clickerquestion today.
This is about the periodictrends that we
discussed on Wednesday.
So specifically, what we'reasking here is as we go across
the periodic table, we want toconsider which has the smaller
ionization energy.
All right.
So, let's focus our attentionup here now, whether it's
between aluminum or whetherit's between phosphorous.
And I also wanted you toidentify why it's also
important to understand why wehave these trends, not just to
memorize the trend itself.
So, it turns out that themajority of you got the
correct answer, which isthat it's aluminum.
The reason it's aluminum isbecause aluminum has a lower z
effective, so it's not beingpulled in as tightly by the
nucleus, and if it's not beingpulled in as tightly, you're
going to have to put in lessenergy in order to ionize it,
so that's why it's actuallygoing to have the smaller
ionization energy.
So it looks like not too manymore than half of you got this
correct, so make sure you canlook at your periodic table
and figure out how to thinkabout ionization energy in
terms of z effective, not justin terms of memorizing what
that trend is.
All right, so we can go totoday's notes, and in terms of
the notes, what we're goingto start with is finishing
material that's going to berelevant for exam 1, and I
told you on Wednesday thatactually I'd give you some
information today in terms ofwhat you need to do to prepare
for exam 1.
So you should have gotten twohandouts as you came in, and
if you didn't, please raise yourhand and a TA will come
to you and get you thatsecond handout.
But the second one says "examinstructions and logistics."
So, if everyone canpull that out.
So this is going to tell youpretty much everything you
need to know in terms of gettingready for the exam,
which is next Wednesday.
So when you go home today orsome time this weekend, make
sure you read thispage in detail.
I'm just going to go over a fewof the main points here.
So, the first is that what we'regoing over notes today
and also on Monday, the exammaterial ends at the end
lecture notes from lecture 9.
So that was Wednesday's class-- not at the end of
Wednesday's class, but at theend of the lecture notes.
So we're going to finishup with those today.
I'll be really, really clearwhen we get through them, and
that's where you can stop interms of studying for this.
Also, on everything that was onproblem-sets 1 through 3.
So, you turned in p-set 3 today,but we'll have the
answers posted for you thisafternoon, so you can start
studying from p-set 3, even asearly as tonight, if you want
to, because those answerswill be there for you.
So, in terms of what it is thatyou need to prepare and
bring with you for the exam, youneed to bring your MIT ID,
especially if you haven't beenshowing up regularly to your
recitations and you aren't 100%sure if your TA knows
exactly who you are, you need tomake sure you have your MIT
ID with you.
You can't take the exam unlessyou're registered for the
class, and we need to makesure we can verify that.
You also need to bring acalculator, of course, because
we'll be solving problems thatinvolve calculations.
You can bring any calculatoryou want, we don't actually
have restrictions for calculatortypes here, but
what you can't do, is you can'tprogram any relevant
chemical or information aboutconstants in there.
It's OK to use certainfundamental constants that
come in a lot of calculators,so there's nothing we can do
about that.
That's OK.
If you're wondering what's OKor what's not OK, it's very
clearly written out in thishandout, so make sure you read
through it, because it is yourresponsibility to make sure
that your calculator doesnot have anything extra
programmed in it.
And if you have your calculatorall set up as you
love and you don't want tochange it, then maybe you
should just go and get an $8.00scientific calculator
that doesn't have any of thegraphing functions, because
you don't actually need them, sothat's a better option for
you, you can do that as well.
And I had mentioned severaltimes that you do not need to
memorize the majority of theequations and you don't need
to memorize any physicalconstants.
So if you flip the info pageover on the back here, what
you'll see is the periodictable, this is the same one
that I've handed out in thelast two lectures -- the
periodic table without anyelectron configurations.
This is exactly the sheet here,it's exactly what you'll
get on exam day.
You'll also see that they haveall the physical constants
that you're going to need, andalso a bunch of the actual
equations that we've been usingin the first couple
weeks here.
So you don't need to memorizeany of this, you're actually
going to be handed this.
There are a few equations thatyou need to memorize -- those
are the very simple -- very,very simple equations, such as
e equals h times nu -- hopefullyyou don't have to
sit down and try to memorizethat, hopefully we all know
that already.
But just to be really clear,I've written out exactly which
equations you do have tomemorize on the front here, so
long as you know those, therest you can just look up.
And in terms of using theseequations in solving problems
on the exam, and also usingthese constants, make sure if
you think there might be anychance you're going to get any
little part of a problem wrongor do a calculation
inaccurately, you need to writeout every single step of
your thinking as you write outthese problems. We can't give
you any partial creditwhatsoever if we can't see
your thought process.
So it's important to write outthe equation you use, you need
to write out the constantsthat you use to
fill in that equation.
And that we need to see yourwork to get full credit, and
then especially if you getthings wrong, we need to know
where it went wrong, becausewe do try to give as much
partial credit as possible inthese exams, since there are a
lot of places where smallmistakes can result in the
wrong answer.
So also, along those lines interms of test taking, make
sure you also box your answersand that you keep track of
significant figures and that youalso remember to include
your units.
These are just little thingsthat can add up, so you just
want to make sure you'reon top of those.
And your TAs on Tuesday aregoing to share a lot of other
types of sort of exam strategiesin thinking about
how you can approach an examwhen we're in a time situation
like we are, so they'll sharesome of their experience with
you in terms of takingthese timed exams.
So, in terms of practicing thisweekend, I mentioned that
instead of getting a problem-settoday, what I am
going to be posting is optionalextra problems. So
they're optional, but they'revery, very, very highly
encouraged that you do these,because this is going to give
you practice for the types ofproblems that are going to be
on the exam.
We're also posting a practiceexam for you to take, so after
you're completely done yourstudying, it's good to have
everything done before you takethe practice exam, and
then sit down just with thissheet here and your
calculator, and ideally a timer,and make sure you can
do the practice exam in theallotted amount of time.
So that way you can have anidea if, oh, I do really
understand this but I'm a littlebit slow, maybe I need
to practice this one type ofproblem a little bit longer so
I can get up to speed so I'mgoing to be able to get
through all this in termsof the exam time.
All right.
So let's move on totoday's topics.
So, as I said, we're finishingup with what we left off with
yesterday -- or excuseme, on Wednesday.
This includes atomic radius andthe idea of isoelectronic
atoms. So that's going tobe the end of the exam 1
material, and then we'll moveon to exam 2 material, which
is kind of exciting, becausewe've been talking about just
individual atoms and ions up tothis point, and now we can
talk about molecules, sowe're going to start
talking about bonding.
So for some you that are lessinterested in maybe the
physical structure of anindividual atom, now some more
exciting material for you mightbe coming up if you like
to think about how, instead,molecules behave, either
within bonding, withinthemselves, or with other
molecules, that's what we'regoing to be heading to
in this next unit.
So, we need to finish upwith periodic trends.
And first, on yourlecture notes, I
start with atomic radius.
I was so proud of myself gettingthe lecture notes
finished early and handing themin to CopyTech, and then
I realized we didn't do
electronegativity on Wednesday.
So, if you can flip your lecturenotes over and just
write on the blank space,we're going to cover
electronegativity first here,and specifically, you can go
back and fill this in to yourlecture 9 notes, if you want
to stay organized, but I justsuggest just writing it on
lecture 10 notes nowand going back.
You can still keep organized,which hopefully most of you
like to do, and get it in theright place in the notes.
So, when we're talking about theidea of electronegativity,
essentially what we're talkingabout is the ability for an
atom to attract electron densityfrom another atom.
So it's just a measure of howmuch does one given atom want
to pull away electrondensity from, let's
say, an adjacent atom.
So it's actually very relatedto what we're talking about
when we said electron affinity,and it's also
related to ionization energy,and we can call
electronegativity by symbolhere, and it turns out that
it's going to be proportionalto 1/2 of the electron
affinity of a given atom, plusthe ionization energy.
So, in other words, wecan just think of
electronegativity as being theaverage of that ionization
energy and the electronaffinity.
This should make sense, becauseif an atom has a very
high electron affinity, thatmeans it's really happy taking
an electron from another atom,or taking a free electron --
that that's very favorable.
If something has a highionization energy, it means
that it really, really,really does not want
to give up an electron.
So you can think about how these2 things combined are
going to be electronegativity,which is a measure of how much
an atom wants to pull electrondensity away
from another atom.
So, if we think aboutelectronegativity as a
periodic trend, we can just drawour nice periodic table
here, and let's separateit into quadrants.
So if we think about the upperright hand part of the
quadrant, well, this is wherewe're going to have high
electron affinity and highionization energy, so we're
also going to see highelectronegativity here.
And in contrast, in the lowerleft hand part of the periodic
table, these 2 quantities arelow, so also what we're going
to see is low electronegativity.
And if we talk about what'sgoing on in areas, or with
atoms that have highelectronegativity, and we
think about whether they'reelectron donors or electron
acceptors, what would you expectfor an atom that has
high electronegativity?
Is it going to be an electrondonor or acceptor?
Great.
Yup, it's going to be anelectron acceptor, it wants to
accept electrons, it wants toaccept electron density.
So, in contrast, if it has alow electronegativity, this
then is going to bean electron donor.
All right, so it's verycommon to talk about
electronegativity of differentatoms, and you can look up
tables of these.
Often what you'll see is nota table based on this
definition, but something that'scalled the Pauling
definition of electronegativity,but it's
exactly the same idea and thesame trend as this more
numerical way to think aboutwhat the meaning of
electronegativity is.
All right, so now we can moveon to the start of today's
notes, which is atomic radius.
So this, in fact, is going tobe our last principle that
we're going to talk about interms of periodic trends.
So this is actually the moststraightforward, so sometimes
it's nice to end with theeasiest concept, and that's
what we're doing here.
And if we're talking aboutatomic radius, essentially
we're talking aboutatomic size.
And immediately it shouldprobably come into your head
that we don't actually have anatomic radius that we can talk
about, right?
What I just spent many lecturesdiscussing is the
fact that we can not know howfar away an electron is from
the nucleus, so we can'tactually know the radius of a
certain atom.
And that's true.
An atom's not a definedsphere, for example.
We can't define it as an exactradius in terms of the
definition we might thinkof classically.
So, keep that in mind when we'retalking about atomic
radius, I'm not suddenlychanging my story and saying,
yes, we do have adistinct radius.
Instead, what people have doneis come up with different ways
to think about how theycan define a radius.
And one common way to thinkabout it, is to think about
the value of r, or the radius,below which 90% of that
electron density is goingto be contained.
So we're not saying it'sall the electron
density, it's just 90%.
Because we know as we go toinfinity, even though the
density gets smaller and smallerand smaller, we still
have electron density very faraway from the nucleus.
So, what we're going to defineis just let's just capture 90%
of that electron density.
So, that's one way to thinkabout it, and there's also
another way, and thisis the way that your
book presents it.
If you, in fact, have two ofthe same atom right next to
each other, let's say you have acrystal, or let's say you're
talking about a metal, what youcan do is just look at the
distance between the two nuclei,and split that in 1/2,
and take the atomicradius that way.
So, these are two differentdefinitions of how to think
about atomic radius, but reallywhat you find when
these are measured is theycome up with almost the
identical values, so there aretables you can look up of
atomic radii and see thesevalues, and you can trust them
that, yes, they work for boththis definition and for this
definition here,in most cases.
And what we've been talkingabout with all of these
properties are, of course, howcan we figure out what that is
for a certain atom by lookingat the periodic table, so we
want to think aboutthe periodic
trend for atomic radius.
And we know as we go across arow in the periodic table,
what's happening is that zeffective or the effective
pull on the nucleusis increasing.
So would you expect, therefore,as we go across a
row for the atomic radius, toincrease or to decrease?
Good.
OK, yes.
We are expecting to see thatit decreases because it's
feeling a stronger pull, all theelectrons are being pulled
in closer to the nucleus, sothat atomic size is going to
get smaller.
This is in contrast to what'shappening as we go down a
periodic table.
So as we go down we're nowadding electrons to further
and further away shells, sowhat we're going to see is
that the atomic radius is goingto increase as we're
going down the periodic table.
And we can look atan example here.
If we start in the upper lefthand corner of the periodic
table with lithium, you cansee that as we go down the
table, what you're seeing isthat that atomic radius is
actually increasing,as we would expect.
Whereas, if we go across a row,what we see is that the
atomic radius is decreasing.
So, again, this is one of themore straightforward trends.
You just need to rememberwhat's happening to z
effective, which really tellsus what's happening with all
the trends, and once you knowz effective, you can figure
out, for example, what directionthe atomic radius
should be going into.
So, that's it forperiodic trends.
We have talked about fourdifferent ones.
We talked about ionizationenergy, electron affinity, we
talked about electronegativity,which is
just kind of a combination ofthe first two, and then ended
with atomic radius here.
And what you might have notedis although we described how
to make predictions about theseproperties, I didn't
talk too much about what itactually means, what the
ramifications of these differentproperties are.
And the reason we didn't do thatis because we're actually
going to spend much of the restof the course relating
these different properties tothe properties of molecules in
terms of bonding, and also interms of chemical reactions.
So, for example, if we have avery electronegative atom
within a certain molecule, whatyou'll actually find is
that it does affect how themolecule is going to take part
in different chemical orbiological reactions.
And this will become more andmore clear as we actually talk
about these reactions andtalk about bonding.
But you need to be able topredict what kind of
properties a certain atom'sgoing to have within a
molecule, whether you're talkingabout something, for
example, that's veryelectronegative, or something
that is not electronegative atall, it is going to make a
difference in terms of thinkingabout how molecules
are structured andalso how they
interact with other molecules.
However, I can give you at leastone example while we're
still on just talking aboutatoms. So we haven't gotten to
molecules yet, we're justtalking about single atoms or
single ions, but what's niceis just talking about this
very straightforward principleof atomic radius.
We can already use that in termsof single ions to think
about a really complexbiological issue, which is to
talk about ion channels.
So, that is just a quick examplefor some of you, you
might be very familiar with ionchannels, others might not
know what these are, so I'lljust tell you quite briefly
that ion channels arethese very massive
transmembrane proteins.
Essentially, what they are isit's a protein that spans the
membrane of a cell.
And what they do is theyregulate the influx of ions
across that cell.
So the influx of ions from theoutside of the cell to the
inside of the cell,for example.
And you can think of ionchannels as being gated, by
gated it means the gate can beclosed and no ions are going
through, as in this case here.
Or you can talk about the gatebeing open, and in this case,
you can see that you willhave an influx of ions.
So, ion channels are importantfor maintaining a voltage
difference between the inside ofthe cell and outside of the
cell, and they're found in allsorts of cell types in your
body, but if you think aboutwhere they're most prevalent,
it turns out that they're mostprevalent in muscle cells and
also in nerve cells,so in your neurons.
And essentially, what they doin neurons is they underlie
those nerve impulses, or those,essentially what we
call electrical signalingbetween neurons -- you might
also call that the actionpotential of the neurons.
So essentially, they regulatethis action potential, and
they do so by helping toestablish and then control the
voltage gradient within thecells. so, essentially,
they're establishing orcontrolling or changing the
difference between the chargeinside the cell and the charge
outside cell.
And when we talk about any typeof ion channel, there are
just tons of different kinds ofion channels, and you can
characterize them in afew different ways.
So, for example, you couldcharacterize them in terms of
how they're gated, and basicallyhow they open or
close -- that's one way to talkabout different types.
Another way to talk aboutdifferent types is to think
about which ion they'reselected for.
And all ion channels areselective for a single type of
ion, and we can think abouthow that selectivity takes
place, and that's where thisidea of atomic radius is going
to become very important.
So, for example, if we look atsodium channels, and sodium
channels are some of theparticularly prevalent ones
when we're talking aboutneurons, if you think about
the cell membrane, and thislittle green cartoon is me
trying to show a sodium channelhere, and in this
case, you can see that it'sclosed, such that no ions are
getting through.
However, when that gate isopened, the sodium channel is
now going to be incrediblyselective and only let through
sodium ions and no othertype of ion.
And this is really interestingto think about because you can
imagine in our body we haveconcentrations of all types of
ions, and specifically, someseem very, very similar to
each other.
So we could think aboutcomparing the potassium ion to
a sodium ion.
They have the same chargeof plus one.
The only thing that's differentis that they're one
down on the periodic table,potassium is down one row, so
it's going to be a littlebigger, but when we're
thinking about size, it maybedoes not seem that significant
to talk about the size.
But what we find outis that it is.
So, what happens, this isanother view of a sodium
channel, so this is actuallylooking a little bit more at
the protein structure.
What all of these channelshave is what's called a
selectivity filter, so thisfilter filters out the type of
ion that's going to beallowed through.
And there's two partsof the filter.
First we need to selectfor actual charge.
So the way that it does thisis the filter is actually
lined with all of this negativecharge, and for those
of you that are more intobiology or biochemistry,
that's because of negativelycharged amino acid residues,
but all you need to think aboutis that it has negative
charge in the inside of thispore, and what happens then is
that if something has a positivecharge, it's going to
be stabilized to enter thispore, whereas any negative
ions are going to be repelled.
So that's the first step inbeing selective, but now how
do we differentiate betweenthese sodium
and potassium ions.
And the answer is just reallybeautifully simple, and it's
just that the pore gets really,really tiny, to the
point that it gets so small thatall that can fit through
this pore is one a single ion,one single sodium ion,
solvated by one singlewater molecule.
And that's all that's big enoughto pass through or
small enough to pass through.
And if we go up even just onerow on the periodic table to
potassium, what we actually seeis now that it's going to
be too large, and, in fact, apotassium solvated with one
water molecule won't gothrough our channel.
So, this is just one exampleof how these properties can
already, even our understandingjust talking
about single atoms, can alreadymake an impact in
these biological systems. Andactually, a question that
might come up, I just explained,the sodium channel,
you might say, well, how dopotassium channels work then,
because I can understand how youcan filter something big
out, but how do you filterout something small.
And it turns out that sizeexclusion is also the
principle that's in play withpotassium channels as well,
but in this case it's a littlemore complex, because what
happens is these negativeresidues the are in the pore
need to stabilize the potassiumas it goes through,
and the potassium is largeenough to make all the
contacts it needs, but thesodium, which you can picture
being smaller, actually can'treach all of the stabilizing
charges that it needs to toget through the pore.
So, again, it is based on size,it's a little bit less
intuitive than the idea of juststraining out all of the
potassium ions.
But again, many of these ionchannels have this size
exclusion pore, it's a veryimportant part of them.
All right, so that was a quickaside on thinking about how
these properties can,in fact, relate to
something in our body.
Let's move on to the last topicin terms of this first
exam, which is thinking aboutthe idea of isoelectronic
atoms, or isoelectronic ions.
And isoelectronic is verystraightforward, it just means
having the same electronconfiguration.
The easiest way to look at thisis just to do an example.
So let's take theexample of neon.
This has the electronconfiguration of 1 s 2, 2
s 2, and 2 p 6.
It looks like we're cut off thescreen a little bit here,
but you can see I've justcircled it there.
So we can go ahead and thinkabout, well, are there any
other atoms that are goingto have the same electron
configuration?
The answer to that is definitelyno -- if they had
the same electron configuration,they would, in
fact, be neon.
But we can think about differentions that have this
electron configuration.
So for example, if we thinkabout fluorine, that has an
electron configuration of 1 s2, 2 s 2, 2 p 5, so all we
would need to do is add one moreelectron to get the same
configuration as for neon.
So if we want to write out whatthat would be, it would
just be to say that f minus isisoelectronic with neon.
So, we can say that -- if wehave neon here and we want to
think about what'sisoelectronic, f minus would
be isoelectronic.
We also have oxygen -- whatwould the charge on oxygen be?
Um-hmm, right.
2 minus.
Then also, nitrogen, 3 minus --these are all going to be
isoelectronic with neon.
We can go in the otherdirection, so let's go to
sodium, but we would need totake away an electron to make
it isoelectronic.
So we would say sodium plus,or magnesium 2 plus, we can
just keep going -- aluminum 3plus, silicone 4 plus, and we
can go on and on in eitherdirection all the way across
and down the periodic table.
So, that's the idea ofisoelectronic ions.
These are all isoelectronic,they all have the same
electron configuration.
And we can also thinkabout going back to
atomic size for a second.
What the relationship is betweenthese ions and their
parent atoms. So, for example,if we think of the fluorine
minus case, would you expectfluorine minus to be larger or
smaller than neutral fluorine?
Okay.
I heard mostly larger, but alittle bit of a mix in there,
and it turns out thatlarger is correct.
And we can think about why --essentially we have fluorine
and now we're addinganother electron.
So you can picture that fluorineis going to get
larger in this case.
And that would be truefor all of the
negatively charged ions.
So, by the same logic, thatmeans that all of our
positively charged ions are, infact, going to be smaller
in terms of radius, comparedto their neutral parents.
Not only are we taking away anelectron here, but we're also
going to decrease shielding,so the electrons that are
already in there are going tofeel a higher z effective and
will be pulling and the atomwill be getting smaller.
And this is just a pictureshowing some of these sizes
with their parent.
So, for example, a lithium here,you can see how lithium
plus is smaller than the actuallithium atom in its
neutral state.
Whereas for fluorine, fluorineis smaller than f minus is the
one that's the outershell shown here.
So, let's do a clicker questionon isoelectronic
atoms. And now we're asking youto look at krypton, so the
atomic mass is 36.
You can actually just grabthat handout, the second
handout on the exam and look atthe periodic table there.
So, which of the following ionslisted is isoelectronic
with krypton?
OK, let's take 10seconds on that.
OK, good.
This might be our all-timehigh, 89% got this right.
This is great.
So, selenium 2 minus is what'sgoing to be isoelectronic,
because if you add two electronsto selenium, you'll
get the same electronconfiguration that you have
for krypton here.
OK, I think we can safelygo back to notes.
So, I said I would announceit, that's the
end of exam 1 material.
So, if you compartmentalizethings in your brain in
certain ways, put that off intothe end of the exam 1
part of your brain, andnow we're going to
move on to exam 2.
Remember, for exam 2, youstill need to know and
understand everything youlearned in exam 1, but you can
put off learning it completelyuntil we get through, at
least, next Wednesday before westart maybe spending time
on these concepts outsideof class.
So, we're going to start withtalking about bonding, and any
time we have a chemical bond,basically what we're talking
about is having two atoms wherethe arrangement of their
nuclei and they're electrons aresuch that the bonded atoms
results in a lower energy thanfor the separate atoms. So we
know we always want to haveour systems in as low an
energy as possible, so it makessense that a bond would
happen any time we got a lowerenergy when we combine two
atoms, versus when wekeep them separate.
So specifically, todaywe're going to talk
about covalent bonds.
A covalent bond is any time wehave a pair of electrons that
is shared between two differentatoms. And the key
word for covalent bonds isthe idea of being shared.
The two electrons, for example,we see in the h 2
molecule, they don't belong toone or the other atom, they're
actually shared.
And what we'll see later, isthat the sharing is not always
equal -- in the caseof h 2, it is
completely equal sharing.
In some cases, because of thingslike electronegativity,
one atom will take away more ofthe electron density than
the other atom, but they'restill shared, even if they're
not always evenly shared.
So, in talking about covalentbonds, we should be able to
still apply a more generaldefinition of a chemical bond,
which should tell us that theh 2 molecule is going to be
lower in energy than if welooked at 2 separate hydrogen
atom molecules.
So, let's see if that'sactually the case.
So if I tell you that the energyfor single hydrogen
atom is negative 13 12kilojoules per mole.
If we want to talk about twohydrogen atoms, then we just
need to double that, so that'sgoing to be negative 2 6 2 4
kilojoules per mole that we'retalking about in terms of a
single hydrogen atom.
So, let's compare this to theenergy of the h 2 molecule,
and we find that that'snegative 3,048
kilojoules per mole.
So, in fact, yes, we did confirmthat these covalent
bond, at least in the case ofhydrogen, we have confirmed by
the numbers that we are at alower energy state when we
talk about the bonded atomversus the individual atom.
And when we talk about covalentbonds, there's 2
properties that we'll mostlyfocus on, and that's going to
be thinking about the bondstrength or the energy by
which it stabilizedwhen it bonds.
And we can also talk about thebond length, so we might be
interested in what the bondlength is, what the distance
between these two nuclei are.
And we can actually bettervisualize this if we plot how
that energy changesas a function of
internuclear distance.
And when I say internucleardistance, we actually call
this r here.
It's kind of ironic that we putthis in the same lecture
as we talk about atomic radii,which we also call r, but
they're two different r's,so you need to keep them
separated in terms of whatyou're talking about.
When we're talking about r forinternuclear distance, we're
talking about the distancebetween two different nuclei
in a bond, in a covalent bond.
So, if we look at this graphwhere what we're charting is
the internuclear distance, sothe distance between these two
hydrogen atoms, as a functionof energy, what we are going
to see is a curve that lookslike this -- this is the
general curve that you'll seefor any covalent bond, and
we'll explain where thatcomes from in a minute.
I want to point out that thezero energy is defined as when
you have a naked proton wherethe electron has popped out --
that's what we've defined aszero energy up to this point
when we're talking about singleatoms. So, for starters
we'll keep that as our zeroenergy, we're going to change
it soon to make something thatmakes more sense in terms of
bonding, but we'll keepthat as zero for now.
So, we see that the two h atomsseparate have a certain
energy that's lower thanwhen the electron's
not with the atom.
And then even lowerdown, we have our
bonded hydrogen molecule.
So, we can think about thedifferent kinds of
interactions that aretaking place.
I said what hold the bondstogether, what holds two atoms
together is the attractive forcewe have between each
electron and theother nucleus.
That's the huge force that we'retalking about in terms
of making a bond stable, butthere are also repulsive
forces, so you can imaginewe're going to have
electron-electron repulsionbetween the two electrons if
we're bringing themcloser together.
And the real killer is if we gettoo close we're even going
to have nuclear-nuclearrepulsion between the nuclei
of the two atoms.
So, this makes this chart shownin pink make a lot more
sense, because if we're wayout at very far distances,
essentially what we have hereis we're talking about two
separate atoms. They're notinteracting at all so that's
why the energy is the same asthat for two individual atoms,
that's what we'redealing with.
As we get closer together,we start get lower
and lower in energy.
The reason is because thepredominant force at this
point is going to be theattraction that's being felt
between the nuclei and theelectrons in each of the
atoms. At some point you'regoing to hit a well here,
which is the point where it'smost stabilized or at it's
lowest energy.
So, when we think about a bondlength, this is going to be
the length of our bond here,that makes sense because it's
going to want to be atthat distance that
minimizes the energy.
But as we keep getting closer,even though as we get closer,
the attraction is going to getstronger between the two
nuclei and the electrons.
We're also going to start tohave the repulsive forces
become more prominent here, and,in fact, they take over
at some point, becoming the moreprevalent of the forces,
so as you get closer, theelectron-electron repulsions,
and eventually thenucleus-nucleus repulsion is
going to mean that your energyis just absolutely
skyrocketing, so it just keepsgoing up and up as you get
closer to zero here.
So, when we want to talk aboutthe information that we can
get out of looking at a chartlike this, well, the first
thing I did tell you was thatthis is going to be the bond
length, so the distance r wherethe energy is lowest,
but we can also talk aboutsomething called dissociation
energy, that's going to be thisdistance right here or
the energy that is this value.
And the dissociation energy isvery intuitive in terms of
what it means, it means how muchenergy you need to put
into the molecule in order todisassociate it into its
individual atoms. And so we canactually think about how
do we calculate what thedissociation energy should be
for h 2, so let's goahead and do this.
So, if we talk aboutdissociating h 2, we're going
from the h 2 molecule, andbreaking this bond right in
half, so we now havetwo individual
hydrogen atoms here.
So we need to take the energyfor the two atoms, which we
know is -- so let's take ourdissociation energy is going
to be equal to negative 2 6 2 4kilojoules per mole, and we
want to subtract the energy ofthe hydrogen molecule itself,
so that's going to be negative3 0 4 8 kilojoules per mole.
So, what we get for thedisassociation energy for a
hydrogen atom is 424 kilojoulesper mole.
So what that means is that's howmuch energy we would have
to put in to a hydrogen moleculein order to get it to
split apart intoits two atoms.
So, another way to talk aboutdissociation energy is simply
to call it bond strength, it'sthe same thing, they're equal
to each other.
If we know that this is it thedissociation energy for a
hydrogen atom, we can also saythe bond strength for hydrogen
molecule is 424.
So, there's actually another wayto graph it where we can
directly graph the dissociationenergy or the
bond strengths.
So I said before when we weretalking about single atoms, we
always define the zero energyas when an electron was
actually ejected, but now, whenwe talk about chemical
reactions taking place, it'svery, very rare that we're
actually going to be talkingabout anything that gets to
this point here.
It's much more relevant to setour zero point energy as the
separation of a bond in terms oftalking about the reactions
that we'll usually bedealing with here.
So, let's change our graph wherewe now have this zero
point set as the two individualshydrogen atoms,
and then we see that our h 2molecule is at the negative of
the dissociation energy, or thenegative what that bond
strength is.
So we know what that numberwould be, it would be negative
424 kilojoules per molethat we see here.
So, what this let's us do nowis directly compare, for
example, the strength of a bondin terms of a hydrogen
atom and hydrogen molecule,compared to any kind of
molecule that we want tograph on top of it.
So, let's, for example,look at nitrogen.
So n 2, we can do the charthere in green, so it's the
green dotted line, and whatwe see is that we have now
defined this energyas where the 2
nitrogen atoms are separated.
So what we can actually directlycompare is the
dissociation energy or thebond strength of nitrogen
versus hydrogen.
So, if we think about this,which would you say has a
stronger bond?
Is it going to be hydrogenor nitrogen?
Yup, it's going tobe nitrogen.
And the reason we can see thatby looking at this graph is
that we see that nitrogen whenit's bonded is in an even
lower well than wesaw for hydrogen.
It's going to be a strongerbond because it's more
stabilized when it when it comestogether as a molecule.
We can also think about thedistance, the bond distance.
So, which would yousay is going to be
shorter in this case?
Is a hydrogen bond shorter, oris a nitrogen-nitrogen triple
bond going to be shorter?
Um-hmm, again, we canget this information
directly from our graph.
We see that the radius isshorter, so that means that
the nitrogen-nitrogen bondis going to be shorter.
We can know this informationeven if we just knew that the
bond was stronger, we wouldn'tneed to look at a graph here,
because it turns out that if youhave a stronger bond, that
also means that you have ashorter bond -- those ywo are
correlated.
And something that we'll seelater on is that triple bonds,
for example, are going to bestronger than a corresponding
double bond or a correspondingsingle bond.
So, if we talked about anitrogen-nitrogen single
versus double versus triplebond, the triple bond will be
the shortest and it willbe the strongest.
So, that's basically the ideaof how we are going to be
thinking about covalent bonds.
It's also important, once westart talking about molecules,
to have a way to represent them,and also to be able to
look at a shorthand notationfor a certain molecule and
understand what the bond is.
So, for example, down here Iwrote that it was n 2 and that
it was h 2, but when I re-wrotethe molecules up
here, you saw that it's an hh single bond where it's a
nitrogen-nitrogen triple bond.
So any chemist should be ableto just look at n 2 and know
that it's a triple bond, butthat's not something that
we've learned how did to doyet, so let's go ahead and
start a new topic that's goingto allow us to have some sort
of sense of what the valenceelectron configuration, which
includes whether something's asingle or double or a triple
bond can be figured out forany given molecule.
So, to do this, what I'm goingto do is introduce the topic
of Lewis structures.
We're going to really get intothis next class, but I just
want to introduce it to you togive us a start, and many of
you have used Lewis structuresin high school, but we'll be
doing some much more challengingLewis structures,
I can assure you, inthis class here.
So, a Lewis structure isbasically an organizing
property of bonding, ofmolecules, which is the idea
that when we're thinking aboutbonding, the key is to achieve
a full valence shell in each ofthe individual atoms. So we
want to have in an h h bond, forexample, a full shell for
each of the hydrogen atoms.And G.N. Lewis is the
scientist that is credited, andwho did, in fact, come up
with this idea for the way torepresent this, so the other
parts of this idea, another wayto phrase it is that the
electrons are going to bedistributed in such a way that
we have what are called fulloctets for each of the atoms,
and basically that's the samething as saying we have a full
valence shell, and this issomething that Lewis was able
to recognize very, very early,way before we had quantum
mechanics to describe what theseorbitals were, but it
makes sense a full valence shellmeans for most atoms
that we have a full s orbitalplus a full p orbital, so
we're going to have a total offour orbitals that are each
filled with eight electrons, sothat's why we see that we
need an octet here.
And the idea is that when you dothese Lewis dot structures,
we're representing electronswith dots, which we'll see in
a minute, and eachdot is going to
represent a valence electron.
So, hopefully, you rememberwhat we mean by valence
electrons versuscore electrons.
Core electrons are all thoseelectrons held in really tight
with the nucleus in the innershells, whereas the valence
electrons are only thoseelectrons that are in the
outer-most shell, or at yourhighest value of n of the
principal quantum number.
So, Lewis structures are reallya model for a way to
think about what the valenceelectron configuration is, and
as I said, it's not based onquantum mechanics, it's
something that Lewis observedfar, far before quantum
mechanics were discovered.
So he came up with the ideasthat led to the idea of Lewis
structures in the veryearly 1900's.
So you might ask well, why arewe using this model if it
clearly doesn't take intoaccount quantum mechanics?
And the reason that we use itis that it is incredibly
accurate, and allows us to very,very quickly predict and
to predict accurately, in mostcases, what the electron
configuration of moleculesare going to be.
So this is really useful.
We don't always want to goand solve the Schrodinger
equation, and in fact, once westart talking about molecules,
I can imagine none of you, asmuch as you love math or
physics, want to be tryingto solve this Schrodinger
equation in that case either.
So, what Lewis structures allowus to do is over 90% of
the time be correct in termsof figuring out what the
electron configuration is.
And we won't just usethem in this class.
If you actually go to any of thechemistry labs at MIT, if
you go over to building 18 andlook in the organic labs where
they're synthesizing newmolecules or making up new
reactions, what you'll see ifyou open anyone's notebook,
their lab notebook, assumingthey keep a nice lab notebook,
is that they will have Lewisstructures drawn in there that
explain the reactions thatthey're going to be
doing for that day.
And I mean this means way pastall the chemistry they've
taken, they're now graduatestudents or they're now
professors, and they're stillwriting out Lewis structures.
Now they're writing a moreabbreviated form, which you'll
probably get to if you takeorganic chemistry, but really
it's the exact same idea.
And this goes all theway back to 1902.
In fact, Lewis was an Americanscientist, so he was trained
in America, and he actually wasa professor here at MIT
from 1905 all the way to about1911 or 1912, and these are
some notes from 1902, and youcan't see them very well, but
this was essentially an earlyform of Lewis structures, and
this was called thecubicle atom.
So, basically what he's showingin these cubes is that
there are eight spaces thatneed to be filled up
to have a full cube.
So in order to fill them, hewould have to have eight
electrons or an octetaround the cubes.
So what we're seeing is thisis notes from 1902 -- he
actually didn't publish any ofthis work or these ideas that
led to Lewis structures until1916, but his early class
notes were used as evidenceabout how long ago he actually
came up with the idea of it.
So it's really neat to thinkthat your counterparts 100
years ago right here at MITcould have been sitting in a
class where they had Lewis astheir lecturer, and he's
putting forth these ideas --these are actually his lecture
notes, even though it wasn'teven published yet, and giving
this idea of Lewis structure,which is exactly what we keep
using today in order to makea lot of these predictions.
So, let's see how some of thisworks, and hopefully your
counterparts from 100 yearsago would also be able to
think about how this works, evenif they don't have the
quantum mechanics behindthe individual electron
configurations for atoms. SoI said that we want to be
talking about valence electronshere, so that means
if we're talking about, forexample, the octet rule for an
f f molecule where we have twofluorine atoms, we need to
write the valence electronsas dots around them.
So let's do a quick clickerquestion, and you tell me how
many valence electronsdoes fluorine have?
Remember, valence electronsare different from core,
they're only the outer-mostelectrons in
the outer-most shell.
So, 10 seconds on this,this should
be fast. OK, great.
Good job on the clickerquestions today.
So we have seven valenceelectrons.
So, let's go back to the notes,and let's fill these
in, seven electrons.
Another way you could haveknown them was to look at
Lewis' notes here, where if lookat this box carefully you
see there are seven dots aroundthe cube, so there are
his seven valence electrons.
So, we see is when we use theoctet rule to look at fluorine
molecule, we're combining twofluorine atoms, and what we
end up with is an f f moleculewhere they're sharing two
electrons, so makingthat covalent bond.
But that each individualfluorine atom has eight
electrons, or fulloctet around it.
We can think about where thoseelectrons came from, so we got
seven from the blue electronshere, seven as shown in green
here, but each individualfluorine atom has eight, even
though two of those are beingshared between both of them.
So, the octet rule is a generalrule that you'll for
all of the atoms. There are someexceptions, which we'll
get to later, but the only abig exception here is with
hydrogen, which has a specialstability that's associated
with two electrons.
This should make a lot of sense,because we know that a
hydrogen has 1 s as it'souter-most or valence orbital,
so it can be filled up justwith two 1 s electrons.
And we give different names,depending on what kind of
electrons we're dealing with,so, for example, with h c l
here, we can talk abouthaving bonded
versus lone pair electrons.
So, in terms of the c l atom,we need to talk about each
atom individually.
How many bonding electronsdoes c l have?
All right.
Let's see, we've got a mixedresponse here, it turns out it
has two bonding electrons.
I heard some people say one,and that's a good guess,
remember they're actuallysharing.
So these two electrons, theybelong to chlorine, they also
belong to hydrogen, but theydo, in fact, belong to
chlorine as well.
There's no one person owningthem, so they both have two
electrons here thatare bonding.
So how many lone pair electronsdo we have?
OK.
I hear six and three, so bothare sort of right, we have 6
lone pair electrons,which means that we
have three lone pairs.
So, in terms of thinking abouthow to draw a Lewis structure,
I won't go through this todayor any day in terms of just
reading through the rules, youcan read that yourself.
But what we'll do is go througheach of these rules in
terms of an example.
So, what will start with onMonday is doing the most
simple example of methaneusing these
Lewis structure rules.
So, don't forget to study thisweekend and get those extra
practice problems fromthe course website.12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499align:start position:0% so connectivity is more than just an All
align:start position:0%so connectivity is more than just an All
align:start position:0%so connectivity is more than just an Allor Nothing Affair we can talk about how
align:start position:0%or Nothing Affair we can talk about how
align:start position:0%or Nothing Affair we can talk about howconnected a graph is so let's begin with
align:start position:0%connected a graph is so let's begin with
align:start position:0%connected a graph is so let's begin withtwo vertices two vertices are said to be
align:start position:0%two vertices two vertices are said to be
align:start position:0%two vertices two vertices are said to beK Edge connected if they remain
align:start position:0%K Edge connected if they remain
align:start position:0%K Edge connected if they remainconnected if you remove fewer than K
align:start position:0%connected if you remove fewer than K
align:start position:0%connected if you remove fewer than Kedges from the
align:start position:0%edges from the
align:start position:0%edges from thegraph let's look at an example so here's
align:start position:0%graph let's look at an example so here's
align:start position:0%graph let's look at an example so here'sa graph and let's focus on those two
align:start position:0%a graph and let's focus on those two
align:start position:0%a graph and let's focus on those twovertices that I've highlighted in
align:start position:0%vertices that I've highlighted in
align:start position:0%vertices that I've highlighted inmagenta they are one EDG connected
align:start position:0%magenta they are one EDG connected
align:start position:0%magenta they are one EDG connectedbecause they're connected and if you
align:start position:0%because they're connected and if you
align:start position:0%because they're connected and if youremove one Edge they become disconnected
align:start position:0%remove one Edge they become disconnected
align:start position:0%remove one Edge they become disconnectedso they're one Edge connected but
align:start position:0%so they're one Edge connected but
align:start position:0%so they're one Edge connected butthey're not two Edge connected if in
align:start position:0%they're not two Edge connected if in
align:start position:0%they're not two Edge connected if inparticular if I delete that edge um then
align:start position:0%particular if I delete that edge um then
align:start position:0%particular if I delete that edge um thenthey no longer is a path between the two
align:start position:0%they no longer is a path between the two
align:start position:0%they no longer is a path between the twomagenta
align:start position:0%magenta
align:start position:0%magentavertices um here's an example of two
align:start position:0%vertices um here's an example of two
align:start position:0%vertices um here's an example of twovertices these two green vertices that
align:start position:0%vertices these two green vertices that
align:start position:0%vertices these two green vertices thatare two Edge connected that means that I
align:start position:0%are two Edge connected that means that I
align:start position:0%are two Edge connected that means that Ican remove any number of edges less than
align:start position:0%can remove any number of edges less than
align:start position:0%can remove any number of edges less thantwo which is to say one Edge and they'll
align:start position:0%two which is to say one Edge and they'll
align:start position:0%two which is to say one Edge and they'llstay connected so I could try but if if
align:start position:0%stay connected so I could try but if if
align:start position:0%stay connected so I could try but if ifI do remove two vertices they become
align:start position:0%I do remove two vertices they become
align:start position:0%I do remove two vertices they becomedisconnected so with those two vertices
align:start position:0%disconnected so with those two vertices
align:start position:0%disconnected so with those two verticesnow I uh those two edges judiciously
align:start position:0%now I uh those two edges judiciously
align:start position:0%now I uh those two edges judiciouslyselected there will no longer be a path
align:start position:0%selected there will no longer be a path
align:start position:0%selected there will no longer be a pathbetween the two green
align:start position:0%
align:start position:0% vertices uh for a three-edge connected
align:start position:0%vertices uh for a three-edge connected
align:start position:0%vertices uh for a three-edge connectedexample we can look at these two uh
align:start position:0%example we can look at these two uh
align:start position:0%example we can look at these two uhvertices highlighted in purple and
align:start position:0%vertices highlighted in purple and
align:start position:0%vertices highlighted in purple anddiscover that we can remove any two
align:start position:0%discover that we can remove any two
align:start position:0%discover that we can remove any twoedges and they're still going to be
align:start position:0%edges and they're still going to be
align:start position:0%edges and they're still going to bestuck together you can kind of see that
align:start position:0%stuck together you can kind of see that
align:start position:0%stuck together you can kind of see thatbecause they're in a cycle here and in a
align:start position:0%because they're in a cycle here and in a
align:start position:0%because they're in a cycle here and in acycle there and in order to break them
align:start position:0%cycle there and in order to break them
align:start position:0%cycle there and in order to break themyou're going to have to break both
align:start position:0%you're going to have to break both
align:start position:0%you're going to have to break bothCycles um which means uh breaking uh two
align:start position:0%Cycles um which means uh breaking uh two
align:start position:0%Cycles um which means uh breaking uh twoedges to break two
align:start position:0%edges to break two
align:start position:0%edges to break twocycles
align:start position:0%cycles
align:start position:0%cyclesand uh if you remove three on the other
align:start position:0%and uh if you remove three on the other
align:start position:0%and uh if you remove three on the otherhand you can't separate them so if I cut
align:start position:0%hand you can't separate them so if I cut
align:start position:0%hand you can't separate them so if I cutthese three
align:start position:0%these three
align:start position:0%these threeedges um I might have been more obvious
align:start position:0%edges um I might have been more obvious
align:start position:0%edges um I might have been more obviousto cut that one but I'm doing it this
align:start position:0%to cut that one but I'm doing it this
align:start position:0%to cut that one but I'm doing it thisway to make it interesting if I cut
align:start position:0%way to make it interesting if I cut
align:start position:0%way to make it interesting if I cutthese three edges then in fact I wind up
align:start position:0%these three edges then in fact I wind up
align:start position:0%these three edges then in fact I wind upwith no path between those two vertices
align:start position:0%with no path between those two vertices
align:start position:0%with no path between those two verticesso they are two Edge connected um uh
align:start position:0%so they are two Edge connected um uh
align:start position:0%so they are two Edge connected um uhthey are three Edge connected but not
align:start position:0%they are three Edge connected but not
align:start position:0%they are three Edge connected but notfour Edge connected meaning you can
align:start position:0%four Edge connected meaning you can
align:start position:0%four Edge connected meaning you canremove two but you can't remove three
align:start position:0%remove two but you can't remove three
align:start position:0%remove two but you can't remove threeand keep them connected for a whole
align:start position:0%and keep them connected for a whole
align:start position:0%and keep them connected for a wholegraph um a whole graph is kedge
align:start position:0%graph um a whole graph is kedge
align:start position:0%graph um a whole graph is kedgeconnected if every two vertices are
align:start position:0%connected if every two vertices are
align:start position:0%connected if every two vertices arekedge connected um uh and the point of
align:start position:0%kedge connected um uh and the point of
align:start position:0%kedge connected um uh and the point ofthis degree of connectivity is to
align:start position:0%this degree of connectivity is to
align:start position:0%this degree of connectivity is tomeasure one one motivation of it is it
align:start position:0%measure one one motivation of it is it
align:start position:0%measure one one motivation of it is itif you think of this graph as indicating
align:start position:0%if you think of this graph as indicating
align:start position:0%if you think of this graph as indicatinguh a communication Network where
align:start position:0%uh a communication Network where
align:start position:0%uh a communication Network wherevertices are centers that are sending
align:start position:0%vertices are centers that are sending
align:start position:0%vertices are centers that are sendingand receiving data and an edge
align:start position:0%and receiving data and an edge
align:start position:0%and receiving data and an edgecorresponds to having some kind of a
align:start position:0%corresponds to having some kind of a
align:start position:0%corresponds to having some kind of aChannel or cable between uh adjacent
align:start position:0%Channel or cable between uh adjacent
align:start position:0%Channel or cable between uh adjacentcenters then connectivity is a measure
align:start position:0%centers then connectivity is a measure
align:start position:0%centers then connectivity is a measureof how many of your channels or cables
align:start position:0%of how many of your channels or cables
align:start position:0%of how many of your channels or cablescan go down and still have the property
align:start position:0%can go down and still have the property
align:start position:0%can go down and still have the propertythat every Center of information can
align:start position:0%that every Center of information can
align:start position:0%that every Center of information cancommunicate with every other Center of
align:start position:0%communicate with every other Center of
align:start position:0%communicate with every other Center ofinformation so how many connections can
align:start position:0%information so how many connections can
align:start position:0%information so how many connections canfail without cutting off
align:start position:0%fail without cutting off
align:start position:0%fail without cutting offcommunication here's an example of a
align:start position:0%communication here's an example of a
align:start position:0%communication here's an example of agraph that globally this is was the
align:start position:0%graph that globally this is was the
align:start position:0%graph that globally this is was thegraph that we saw before that has some
align:start position:0%graph that we saw before that has some
align:start position:0%graph that we saw before that has somevertices that are one Edge connected
align:start position:0%vertices that are one Edge connected
align:start position:0%vertices that are one Edge connectedothers that are two other others that
align:start position:0%others that are two other others that
align:start position:0%others that are two other others thatare three but the graph as a whole is
align:start position:0%are three but the graph as a whole is
align:start position:0%are three but the graph as a whole isonly one Edge connected because there's
align:start position:0%only one Edge connected because there's
align:start position:0%only one Edge connected because there'sthis one Edge that can be removed that
align:start position:0%this one Edge that can be removed that
align:start position:0%this one Edge that can be removed thatsplits it in
align:start position:0%splits it in
align:start position:0%splits it intwo this graph on the other hand a
align:start position:0%two this graph on the other hand a
align:start position:0%two this graph on the other hand amodification of it is two Edge connected
align:start position:0%modification of it is two Edge connected
align:start position:0%modification of it is two Edge connectednow I can remove any one Edge and no
align:start position:0%now I can remove any one Edge and no
align:start position:0%now I can remove any one Edge and nomatter what single edge I remove this
align:start position:0%matter what single edge I remove this
align:start position:0%matter what single edge I remove thiswill remain a connected graph which
align:start position:0%will remain a connected graph which
align:start position:0%will remain a connected graph whichmakes it two Edge connected now there's
align:start position:0%makes it two Edge connected now there's
align:start position:0%makes it two Edge connected now there'sa corresponding definition of vertex
align:start position:0%a corresponding definition of vertex
align:start position:0%a corresponding definition of vertexconnected uh meaning it's K vertex
align:start position:0%connected uh meaning it's K vertex
align:start position:0%connected uh meaning it's K vertexconnected if you can remove any number
align:start position:0%connected if you can remove any number
align:start position:0%connected if you can remove any numberof vertices up to uh K and it will stay
align:start position:0%of vertices up to uh K and it will stay
align:start position:0%of vertices up to uh K and it will stayconnected if it's K vertex connected
align:start position:0%connected if it's K vertex connected
align:start position:0%connected if it's K vertex connectedit's certainly K Edge connected but not
align:start position:0%it's certainly K Edge connected but not
align:start position:0%it's certainly K Edge connected but notconversely um if here's a graph that is
align:start position:0%conversely um if here's a graph that is
align:start position:0%conversely um if here's a graph that istwo uh Edge vertex connected but one
align:start position:0%two uh Edge vertex connected but one
align:start position:0%two uh Edge vertex connected but onevertex connected if you remove uh one
align:start position:0%vertex connected if you remove uh one
align:start position:0%vertex connected if you remove uh onevertex it breaks if you remove that
align:start position:0%vertex it breaks if you remove that
align:start position:0%vertex it breaks if you remove thatvertex it breaks but on the other hand
align:start position:0%vertex it breaks but on the other hand
align:start position:0%vertex it breaks but on the other handit needs two edges to be cut in order to
align:start position:0%it needs two edges to be cut in order to
align:start position:0%it needs two edges to be cut in order touh split the graph in
align:start position:0%uh split the graph in
align:start position:0%uh split the graph intwo the complete graph on N vertices um
align:start position:0%two the complete graph on N vertices um
align:start position:0%two the complete graph on N vertices umis uh uh to cut it up it
align:start position:0%is uh uh to cut it up it
align:start position:0%is uh uh to cut it up itrequires cutting uh n minus one edges
align:start position:0%requires cutting uh n minus one edges
align:start position:0%requires cutting uh n minus one edgesand in fact n minus one vertices to
align:start position:0%and in fact n minus one vertices to
align:start position:0%and in fact n minus one vertices tobreak it up because everything is
align:start position:0%break it up because everything is
align:start position:0%break it up because everything isconnected to everything else so knen is
align:start position:0%connected to everything else so knen is
align:start position:0%connected to everything else so knen isas a connected a graph on N vertices as
align:start position:0%as a connected a graph on N vertices as
align:start position:0%as a connected a graph on N vertices asyou can possibly have but of course it's
align:start position:0%you can possibly have but of course it's
align:start position:0%you can possibly have but of course it'sgot a lot of edges it's got n choose two
align:start position:0%got a lot of edges it's got n choose two
align:start position:0%got a lot of edges it's got n choose twoedges or about n * n minus one over two
align:start position:0%edges or about n * n minus one over two
align:start position:0%edges or about n * n minus one over twoedges another interesting structure is
align:start position:0%edges another interesting structure is
align:start position:0%edges another interesting structure isthe n-dimensional hyper Cube so the
align:start position:0%the n-dimensional hyper Cube so the
align:start position:0%the n-dimensional hyper Cube so thesquare is a two-dimensional and the cube
align:start position:0%square is a two-dimensional and the cube
align:start position:0%square is a two-dimensional and the cubethe the ordinary cube is the H3 has uh
align:start position:0%the the ordinary cube is the H3 has uh
align:start position:0%the the ordinary cube is the H3 has uhhas eight vertices and looks like a cube
align:start position:0%has eight vertices and looks like a cube
align:start position:0%has eight vertices and looks like a cubeuh and in enal the way we Define hn is
align:start position:0%uh and in enal the way we Define hn is
align:start position:0%uh and in enal the way we Define hn isthat its vertices are the binary strings
align:start position:0%that its vertices are the binary strings
align:start position:0%that its vertices are the binary stringsof length n and two vertices are
align:start position:0%of length n and two vertices are
align:start position:0%of length n and two vertices areadjacent if they differ in one bit
align:start position:0%adjacent if they differ in one bit
align:start position:0%adjacent if they differ in one bitthey're the same except that in one
align:start position:0%they're the same except that in one
align:start position:0%they're the same except that in onecoordinate one of them has a one and the
align:start position:0%coordinate one of them has a one and the
align:start position:0%coordinate one of them has a one and theother has a zero in that case you can
align:start position:0%other has a zero in that case you can
align:start position:0%other has a zero in that case you canmake the edges
align:start position:0%make the edges
align:start position:0%make the edgesadjacent um it turns out that the uh the
align:start position:0%adjacent um it turns out that the uh the
align:start position:0%adjacent um it turns out that the uh then-dimensional hypergraph is n vertex
align:start position:0%n-dimensional hypergraph is n vertex
align:start position:0%n-dimensional hypergraph is n vertexconnected and this is worked out in a
align:start position:0%connected and this is worked out in a
align:start position:0%connected and this is worked out in ahomework or class problem so to
align:start position:0%homework or class problem so to
align:start position:0%homework or class problem so tosummarize um well actually before we
align:start position:0%summarize um well actually before we
align:start position:0%summarize um well actually before wesummarize there's a basic theorem that
align:start position:0%summarize there's a basic theorem that
align:start position:0%summarize there's a basic theorem thatwe're not going to prove it's just a
align:start position:0%we're not going to prove it's just a
align:start position:0%we're not going to prove it's just alittle bit too much of a challenge for
align:start position:0%little bit too much of a challenge for
align:start position:0%little bit too much of a challenge forus to get into uh would take maybe a
align:start position:0%us to get into uh would take maybe a
align:start position:0%us to get into uh would take maybe acouple of lectures is to prove manger
align:start position:0%couple of lectures is to prove manger
align:start position:0%couple of lectures is to prove mangertheorem uh which says that um a graph is
align:start position:0%theorem uh which says that um a graph is
align:start position:0%theorem uh which says that um a graph isK uh vertex
align:start position:0%K uh vertex
align:start position:0%K uh vertexconnected uh if and only if uh you can
align:start position:0%connected uh if and only if uh you can
align:start position:0%connected uh if and only if uh you canconnect any two vertices with completely
align:start position:0%connect any two vertices with completely
align:start position:0%connect any two vertices with completelynonoverlapping different paths K of them
align:start position:0%nonoverlapping different paths K of them
align:start position:0%nonoverlapping different paths K of themso um if two vertices are K connected
align:start position:0%so um if two vertices are K connected
align:start position:0%so um if two vertices are K connectedthen they're are uh completely separate
align:start position:0%then they're are uh completely separate
align:start position:0%then they're are uh completely separateK separate paths connecting them which
align:start position:0%K separate paths connecting them which
align:start position:0%K separate paths connecting them whichmeans of course that you have to cut
align:start position:0%means of course that you have to cut
align:start position:0%means of course that you have to cuteach of the paths in order to separate
align:start position:0%each of the paths in order to separate
align:start position:0%each of the paths in order to separatethem and a similar theorem goes for Edge
align:start position:0%them and a similar theorem goes for Edge
align:start position:0%them and a similar theorem goes for Edgeconnected so to summarize uh about some
align:start position:0%connected so to summarize uh about some
align:start position:0%connected so to summarize uh about somegraphs that we know about uh if given
align:start position:0%graphs that we know about uh if given
align:start position:0%graphs that we know about uh if giventhat connectivity measures fa tolerance
align:start position:0%that connectivity measures fa tolerance
align:start position:0%that connectivity measures fa tolerancein a network we're interested in well
align:start position:0%in a network we're interested in well
align:start position:0%in a network we're interested in wellhow many edges did it take to a achieve
align:start position:0%how many edges did it take to a achieve
align:start position:0%how many edges did it take to a achievethis level of connectivity so the number
align:start position:0%this level of connectivity so the number
align:start position:0%this level of connectivity so the numberof edges is kind of a measure of the
align:start position:0%of edges is kind of a measure of the
align:start position:0%of edges is kind of a measure of thecost and the complete graph on N
align:start position:0%cost and the complete graph on N
align:start position:0%cost and the complete graph on Nvertices is n minus one connected but it
align:start position:0%vertices is n minus one connected but it
align:start position:0%vertices is n minus one connected but ithas about n^2 over two edges the hyper
align:start position:0%has about n^2 over two edges the hyper
align:start position:0%has about n^2 over two edges the hyperCube now if we're going to be talking
align:start position:0%Cube now if we're going to be talking
align:start position:0%Cube now if we're going to be talkingabout graphs of size n to be uniform the
align:start position:0%about graphs of size n to be uniform the
align:start position:0%about graphs of size n to be uniform thehyper Cube on hn has two to the N
align:start position:0%hyper Cube on hn has two to the N
align:start position:0%hyper Cube on hn has two to the Nvertices so if we want an N vertex
align:start position:0%vertices so if we want an N vertex
align:start position:0%vertices so if we want an N vertexversion we're talking about H sub log n
align:start position:0%version we're talking about H sub log n
align:start position:0%version we're talking about H sub log nwhich has n vertices uh and then it has
align:start position:0%which has n vertices uh and then it has
align:start position:0%which has n vertices uh and then it hasabout n log n over two edges so it's got
align:start position:0%about n log n over two edges so it's got
align:start position:0%about n log n over two edges so it's gotfewer edges than the complete graph but
align:start position:0%fewer edges than the complete graph but
align:start position:0%fewer edges than the complete graph butuh a significantly less um exponentially
align:start position:0%uh a significantly less um exponentially
align:start position:0%uh a significantly less um exponentiallyless
align:start position:0%less
align:start position:0%lessconnectivity the grid is simply um uh
align:start position:0%connectivity the grid is simply um uh
align:start position:0%connectivity the grid is simply um uhlike the XY uh axis uh or the XY plane
align:start position:0%like the XY uh axis uh or the XY plane
align:start position:0%like the XY uh axis uh or the XY planewith points at integers so that every
align:start position:0%with points at integers so that every
align:start position:0%with points at integers so that everynode is connected to every uh to four
align:start position:0%node is connected to every uh to four
align:start position:0%node is connected to every uh to fouradjacent nodes to one up one down one
align:start position:0%adjacent nodes to one up one down one
align:start position:0%adjacent nodes to one up one down oneright and one left now of course when
align:start position:0%right and one left now of course when
align:start position:0%right and one left now of course whenyou get to the the edge of it if you
align:start position:0%you get to the the edge of it if you
align:start position:0%you get to the the edge of it if youmake it finite the ones on the edge are
align:start position:0%make it finite the ones on the edge are
align:start position:0%make it finite the ones on the edge areonly going to be two connected so you
align:start position:0%only going to be two connected so you
align:start position:0%only going to be two connected so youhave to wrap it around in the shape of a
align:start position:0%have to wrap it around in the shape of a
align:start position:0%have to wrap it around in the shape of adonut to really make it work with a
align:start position:0%donut to really make it work with a
align:start position:0%donut to really make it work with afinite graph but if you do that then the
align:start position:0%finite graph but if you do that then the
align:start position:0%finite graph but if you do that then thething is four connected um four uh Edge
align:start position:0%thing is four connected um four uh Edge
align:start position:0%thing is four connected um four uh Edgeconnected but and only has two n edges
align:start position:0%connected but and only has two n edges
align:start position:0%connected but and only has two n edgesand then a cycle is two connected a
align:start position:0%and then a cycle is two connected a
align:start position:0%and then a cycle is two connected acycle of size n is two connected with n
align:start position:0%cycle of size n is two connected with n
align:start position:0%cycle of size n is two connected with nvertices and finally trees which we'll
align:start position:0%vertices and finally trees which we'll
align:start position:0%vertices and finally trees which we'lltalk about next time um are the smallest
align:start position:0%talk about next time um are the smallest
align:start position:0%talk about next time um are the smallestpossible connected graphs they are one
align:start position:0%possible connected graphs they are one
align:start position:0%possible connected graphs they are oneconnected indeed everything is in a tree
align:start position:0%connected indeed everything is in a tree
align:start position:0%connected indeed everything is in a treeis connected um and they only have n
align:start position:0%is connected um and they only have n
align:start position:0%is connected um and they only have nminus one edges but if you remove one
align:start position:0%minus one edges but if you remove one
align:start position:0%minus one edges but if you remove oneEdge it splits and that's sort of the
align:start position:0%Edge it splits and that's sort of the
align:start position:0%Edge it splits and that's sort of thesummary of the K connectivity story1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061The followingcontent is provided
under a CreativeCommons license.
Your support will help MITOpenCourseWare continue
to offer high qualityeducational resources for free.
To make a donation orview additional materials
from hundreds of MIT courses,visit MIT OpenCourseWare
at ocw.mit.edu.
OK, let's start.
So let's go back toour starting point
for the past couple of weeks.
The square lattice, let'ssay, where each side
we assign a binary variablesigma, which is minus 1.
And a weight that tendsto make subsequent nearest
neighbors [? things ?] tobe parallel to each other.
So into the plus k,they are parallel.
Penalized into the minus kif they are anti-parallel.
And of course, over allpairs of nearest neighbors.
And the partition function thatis obtained by summing over 2
to the n configurations.
Let's make this upto give us a function
of the rate of thiscoupling, which
is some energy providedby temperature.
And we expect this-- at least,in two and higher dimensions--
to capture a phase transition.
And the way that we havebeen proceeding with this
to derive this factor asthe hyperbolic cosine of k.
1 plus r variable t, which isthe hyperbolic [? sine ?] of k.
Sigma i, sigma j.
And then this becomesa cos k to the number
of bonds, which is 2non the square lattice.
And then expandingthese factors,
we saw that we could getthings that are either
1 from each bondor a factor that
was something liket sigma sigma.
And then summing overthe two values of sigma
would give us 0 unless weadded another factor of sigma
through another bond.
And going forth, we had todraw these kinds of diagrams
where at each site, I have aneven number of 1's selected.
Then summing over the sigmaswould give me a factor of 2
to the n.
And so then I have a sum over awhole bunch of configurations.
[? There are ?][? certainly ?] one.
There are configurationsthat are composed
of one way of drawingan object on the lattice
such as this one,or objects that
correspond to doing two ofthese loops, and so forth.
So that's the expressionfor the partition function.
And what we arereally interested
is the log of the partitionfunction, which gives us
the free energy in termsof thermodynamic quantities
that potentially will tellus about phase transition.
So here we will geta log 2 to the n.
Well actually, you wantto divide everything by n
so that we get theintensive part.
So here we get log 2hyperbolic cosine squared of k.
And then I have to take thelog of this expression that
includes thingsthat are one loop,
disjointed loop, et cetera.
And we've seen thatthe particular loop
I can slide all over the place--so if you have a factor of n--
whereas things thatare multiple loops
have factors of nsquared, et cetera,
which are incompatiblewith this.
So it was very tempting forus to do the usual thing
and say that thelog of a sum that
includes these multipleoccurrences of the loops
is the same thing as sumover the configurations
that involve a single loop.
And then we have to sum overall shapes of these loops.
And each loop willget a factor of t
per the number of bondsthat are occurring in that.
Of course, what we said wasthat this equality does not
hold because if Iexponentiate this term,
I will generate things wherethe different loops will
coincide with eachother, and therefore
create types of terms that arenot created in the original sum
that we had over there.
So this sum over phantomloops neglected the condition
that these loops, in some sense,have some material to them
and don't want tointersect with each other.
Nonetheless, it wasuseful, and we followed up
this calculation.
So that's repeat what the resultof this incorrect calculation
is.
So we have log of 2 hyperboliccosine squared k, 1 over n.
Then we said theparticular way to organize
the sum over theloops is to sum over
there the length of the loop.
So I sum over thelength of the loop
and count the number ofloops that have length l.
All of them will begiving me a contribution
that is t to the l.
So then I said, well,let's, for example,
pick a particularpoint on the lattice.
Let's call it r.
And I count the number ofways that I can start at r,
do a walk of l steps,and end at r again.
We saw that forthese phantom loops,
this w had a verynice structure.
It was simply whatwas telling me
about one step raised to the l.
This was the Markovian property.
There was, of course,an important thing here
which said that I could haveset the origin of this loop
at any point along the loop.
So there is an over-countingby a factor of l
because the same loopwould have been constructed
with different pointsindicated as the origin.
And actually, I can go the loopclockwise or anti-clockwise,
so there was a factor of 2because of this degeneracy
of going clockwise oranti-clockwise when
I perform a walk.
And then over here, there'salso an implicit sum
over this startingpoint and endpoint.
If I always start andend at the origin,
then I will get ridof the factor of n.
But it is useful toexplicitly include
this sum over r becausethen you can explicitly
see that sum overr of this object
is the trace of that matrix.
And I can actually[INAUDIBLE] the order,
the trace, and thesummation over l.
And when that happens, I getlog 2 cos squared k exactly
as before.
And then I have 1 over n.
I have sum over r replacedby the trace operation.
And then sum over l-- t, Traised to the l divided by
l-- is the expansion forminus log of 1 minus t T.
And there's thefactor of 2 over there
that I have to put over here.
So note that thisplus became minus
because of the expansionfor log of 1 minus
x is minus x minusx squared over 2
minus x cubed over 3, et cetera.
And the final stepthat we did was
to note that the trace Ican calculate in any basis.
And in particular, thismatrix t is diagonalized
by going to Fourierrepresentation.
In the Fourier representation,the trace operation
becomes sum over all q values.
Sum over all q values,I go to the continuum
and write as n integralover q, so the n's cancel.
I will get 2 integration over q.
These are essentially eachone of them, qz and qz,
in the interval.
Let's say 0 to 2 pi or minuspi to 2 pi, doesn't matter.
Interval of size of 2pi.
So that's the trace operation.
Log of 1 minus t.
Then the matrix that representswalking along the lattice
represented in Fourier.
And so basically atthe particular site,
we can step to theright or to the left.
So that's e to the i qx, e tothe minus i qx, e to the i qy,
e to the minus i qy.
Adding all of those up,you get 2 cosine of qz
plus cosine of qy.
So that was our expression.
And then we realized,interestingly,
that whereas this finalexpression certainly
was not the Ising partitionfunction that we were after,
that it was, infact, the partition
function of a Gaussianmodel where at each site
I had a variablewhose variance was 1,
and then I had thiskind of coupling
rather than withthe sigma variable,
with these Gaussianvariables that
will go from minus to infinity.
But then we said, OK, wecan do better than that.
And we said that logz over n actually
does equal a very similar sum.
It is log 2 hyperboliccosine squared k,
and then I have 1 over n.
Sum over all kindsof loops where
I have a similar diagram thatI draw, but I put a star.
And this starimplied two things--
that just like before, I drawall kinds of individual loops,
but I make surethat my loops never
have a step that goesforward and backward.
So there was no U-turn.
And importantly, therewas a factor of minus 1
to the number of times thatthe walk crossed itself.
And we showed thatwhen we incorporate
both of these conditions,the can indeed
exponentiate this expression andget exactly the same diagrams
as we had on thefirst line, all coming
with the correctweights, and none
of the diagrams that hadmultiple occurrences of a bond
would occur.
So then the questionwas, how do you
calculate thisgiven that we have
this dependence on the numberof crossings, which offhand may
look as if it is somethingthat requires memory?
And then we saw that, indeed,just like the previous case,
we could write theresult as a sum over
walks that have aparticular length l.
Right here, we have thefactor of t to the l.
Those walks could start andend at the particular point r.
But we also specifiedthe direction mu
along which you started.
So previously I onlyspecified the origin.
Now I have to specify thestarting point as well
as the direction.
I have to end at the same pointand along the same direction
to complete the loop.
And these were accomplished byhaving these factors of walks
that are length l.
So to do that, we can certainlyincorporate this condition
of no U-turn in the descriptionof the steps that I take.
So for each step, Iknow where I came from.
I just make sure I don'tstep back, so that's easy.
And we found that thisminus 1 to the power of nc
can be incorporatedthrough a factor of e
to the i sum over the changes ofthe orientation of the walker--
as I step through the lattice--provided that I included also
an additional factor of minus.
So that factor of minus Icould actually put out front.
It's an important factor.
And then there'sthe over-counting,
but as before, the walk can goin either one of two directions
and can have l starting points.
OK, so now we canproceed just as before.
log 2 hyperboliccosine squared k,
and then we havea sum over l here,
which we can, again, representas the log of 1 minus
t-- this 4 by 4 matrix t star.
Going through the logoperation will change this sign
from minus to plus.
I have the 1 over 2n as before.
And I have to sum over r andmu, which are the elements that
characterize this4n by 4n matrix.
So this amounts to doingthe trace log operation.
And then taking advantage ofthe fact that, just as before,
Fourier transforms canat least partially block
diagonalize this4n by 4n matrix.
I go to that basis,and the trace
becomes an integral over q.
And then I would have to dothe trace of a log of a 4
by 4 matrix.
And for that, I use theidentity that a trace
of log of any matrix isthe log of the determinant
of that same matrix.
And so the thing thatI have to integrate
is the log of thedeterminant of a 4
by 4 matrix thatcaptures these steps
that I take on thesquare lattice.
And we saw that,for example, going
in the horizontal directionwould give me a factor of t
e to the minus i qx.
Going in the verticaldirection-- up-- y qy.
Going in the horizontaldirection-- down.
These are the diagonal elements.
And then there wereoff-diagonal elements,
so the next turn here wasto go and then bend upward.
So that gave me in additionto e to the minus i qx,
which is the sameforward step here.
A factor of, let'scall it omega so I
don't have to writeit all over the place.
Omega is e to the pi pi over 4.
And the next one was a U-turn.
The next one was minus te minus i qx omega star.
And we could fill out similarlyall of the other places
in this 4 by 4 matrix.
And then the whole problem comesdown to having to evaluate a 4
by 4 determinant,which you can do
by hand with a couple of sheetsof paper to do your algebra.
And I wrote for youthe final answer,
is 1/2 2 integralsfrom minus pi 2 pi
over qx and qy dividedby 2 pi squared.
And then the result ofthis, which is log of 1
plus t squared squared minus 2t1 minus t squared cosine of qx
plus cosine of qy.
This was the expressionfor the partition function.
OK, so this is wherewe ended up last time.
Now the question is wehave here on the board
two expressions, the projectone and the incorrect one--
the Gaussian model and the2-dimensionalizing one.
They look surprisinglysimilar, and that
should start to worry uspotentially because we expect
that many when wehave some functional
form, that functionalform carries
within it certain singularities.
And you say, well, thesetwo functions, both of them
are a double integralof log of something
minus somethingcosine plus cosine.
So after all ofthis work, did we
end up with an expressionthat has the same singular
behavior as the Gaussian model?
OK, so let's go and lookat things more carefully.
So in both cases, what I needto do is to integrate A function
a that appears inside the log.
There is an A for theGaussian, and then there
is this object--let's call it A star--
for the correct solution.
So the thing that I have tointegrate is, of course, q.
So this is a functionof the vector q,
as well as the parameter thatis a function of which I expect
to have a phasetransition, which is t.
Now where could I potentiallyget some kind of a singularity?
The only place that Ican get a singularity
is if the argument of the loggoes to 0 because log of 0
is something that's derivativesof singularities, et cetera.
So you may say, OK, that'swhere I should be looking at.
So where is it thismost likely to happen
when I'm integrating over q?
So basically, I'mintegrating over qx and qy
over a [INAUDIBLE][? zone ?] that
goes from minus pi topi in both directions.
And potentially somewhere inthis I encounter a singularity.
Let's come from the siteof high temperatures
where t is close to 0.
Then I have logof 1, no problem.
As I go to lower andlower temperatures,
the t becomes larger.
Then from the 1, I startto subtract more and more
with these cosines.
And clearly the placethat I'm subtracting
most is right at thecenter of q equals to 0.
So let's expand thisin the vicinity of q
goes to 0 in thevicinity of this place.
And there what I seeis it is 1 minus.
Cosines are approximately1 minus q squared over 2.
So I have 1 minus4t, and then I have
plus t qx squared plus qysquared, which is essentially
the net q squared.
And then I have order ofhigher power z, qx and qy.
Fine.
So this part ispositive, no problem.
I see that thispart goes through 0
when I hit tc, which is 1/4.
And this we had alreadyseen, that basically this
is the place where theexponentially increasing
number of walks-- as 4to the number of steps--
overcomes theexponentially decreasing
fidelity of information carriedthrough each walk, which
was t to the l.
So 4dt being 1, tcis of the order 1/4.
We are interestedin the singularities
in the vicinity ofthis phase transition,
so we additionallygo and look at what
happens when t approachestc, but from this side above,
because clearly if I go tot that is larger than 1/4,
it doesn't make any sense.
So t has to be less than 1/4.
And so then what I have here isthat I can write this as 4tc,
so this is 4 times tc minus t.
And this to the lowest orderI can replace as tc-- q
squared plus higher orders.
This 4 I can write as 1 over tc.
So the whole thingI can write as q
squared plus delta t divided bytc, and there's a factor of 4.
And delta t I havedefined to be tc minus 10.
How close I am to the locationwhere this singularity takes
places.
So what I'm interestedis not in the whole form
of this function, butonly the singularities
that it expresses.
So I focus on the singular partof this Gaussian expression.
I don't have to worryabout that term.
So I have minus 1/2.
I have double integral.
The argument ofthe log, I expanded
in the vicinity ofthe point that I
see a singularity to take place.
And I'll write the answer as qsquared plus 4 delta t over tc.
If I am sufficiently close inmy integration to the origin
so that the expansionin q is acceptable,
there is an additionalfactor of tc.
But if I take a log oftc, it's just a constant.
I can integrate that out.
It's going to not contributeto the singular part, just
an additional regular component.
Now if I am in thevicinity of q equals to 0
where all of the action is,at this order, the thing
that I'm integratinghas circular symmetry so
that 2-dimensional integration.
I can write whetheror not it's d qx, d qy
as 2 pi q dq dividedby 2 pi squared,
which was the density of state.
And this approximationof a thing being
isotropic andcircular only holds
when I'm sufficientlyclose to the origin,
let's say up to some valuethat I will call lambda.
So I will imposesome cut-off here,
lambda, which iscertainly less than one
of the order of pi--let's say pi over 10.
It doesn't matter what it is.
As we will see,the singular part,
it ultimately does notmatter what I put for lambda.
But the rest of the integrationthat I haven't exclusively
written down fromall of this-- again,
in analogy to what we had seenbefore for the Landau-Ginzburg
calculation willgive me something
that is perfectly analytic.
So I have extracted from thisexpression the singular part.
OK, now let's do thisintegral carefully.
So what do I have?
I have 1 over 2 pi withminus 1/2, so I have minus 1
over 4 pi.
If I call this wholeobject here x-- so x is q
squared plus thissomething-- then
we can see that dx is 2 q dq.
So what I have to do isthe integral of dx log x,
which is x log x minus x.
So essentially, let's keep the2 up there and make this 8 pi.
And then what I have isx log x minus x itself,
which I can write as log of e.
And then this whole thing hasto be evaluated between the two
limits of integration,lambda and [INAUDIBLE].
Now you explicitly seethat if I substitute
in this expression for qthe upper part of lambda,
it will give mesomething like lambda
squared plus deltat-- an expandable
and analytical function.
Log of a constant plus delta tthat I can start analytically
expanding.
So anything that I getfrom the other cut-off
of the integration isperfectly analytic.
I don't have to worry about it.
If I'm interested inthe singular part,
I basically need to evaluatethis as it's lower cut-off.
So I evaluate itat q equals to 0.
Well first off all, Iwill get a sign change
because I'm atthe lower cut-off.
I will get from here4 delta t over tc.
And from here, I will getlog of a bunch of constants.
It doesn't really matter.
4 over e delta t over tc.
What is the leading singularity?
Is delta t log t-- log delta t?
And so again, theleading singularity
is delta t log of delta t.
There's an overall factor of 1over pi. [? Doesn't match. ?]
You take two derivatives.
You find that theheat capacity, let's
say that is proportionto two derivatives of log
z by delta t squared.
You take one derivative,it goes like the log.
You take anotherderivative of the log,
you find that the singularityis 1 over delta t.
That corresponds to aheat capacity divergence
with an exponentof unity, which is
quite consistent with thegenerally Gaussian formula
that we had in d dimensions,which was 2 minus t over 2.
So that's the Gaussian.
And of course, thiswhole theory breaks down
for t that is greater than tc.
Once I go beyondtc, my expressions
just don't make sense.
I can't integrate a lotof a negative number.
And we understand why that is.
That's because we are includingall of these loops that
can go over eachother multiple times.
The whole theorydoes not make sense.
So we did this one to death.
Will the exact resultbe any different?
So let's carry out thecorresponding procedure--
for A star that is afunction of q and t.
And again, singularitiesshould come from the place
where this is mostlikely to go to 0.
You can see it's 1something minus something.
And clearly when theq's are close to 0
is when you subtractmost, and you're
likely to become negative.
So let's expand it around 0.
This as q goes to 0 is 1plus t squared squared.
And then I have minus.
Each one of the cosinesstarts at unity,
so I will have 4t1 minus t squared.
And then from the qx squaredover 2 qy squared over 2,
I will get a plust 1 minus t squared
q squared-- qx squared plusqy squared-- plus order of q
to the fourth.
So the way that we identifiedthe location of the singular
part before was to focuson exactly q equals to 0.
And what we find is thatA star at q equals to 0
is essentially this part.
This part I'm going to rewritethe first end slightly.
1 plus t squared squaredis the same thing
as 1 minus t squaredsquared plus 4t squared.
The differencebetween the expansion
of each one ofthese two terms is
that this has plus 2t squared,this has minus 2t squared,
which I have added here.
And then minus 4t1 minus t squared.
And the reasonthat I did that is
that you can now seethat this term is twice
this times this whenI take the square.
So the whole thing is the samething as 1 minus t squared
minus 2t squared.
So the first thing that givesus reassurance happens now,
whereas previously for theGaussian model 1 minus 4t could
be both positive andnegative, this you can see
is always positive.
So there is noproblem with me not
being able to go from oneside of the phase transition
to another side ofthe phase transition.
This expression willencounter no difficulties.
But there is a specialpoint when this thing is 0.
So there is a point when 1minus 2t c plus tc squared
is equal to 0.
The whole thing goes to 0.
And you can figureout where that is.
tc is 1.
It's a quadratic form.
It has two solutions-- 1minus plus square root of 2.
A negative solutionis not acceptable.
Minus.
I have to recast this slightly.
Knowing the answer sometimesmakes you go too fast.
tc squared plus 2tcminus 1 equals to 0.
tc is minus 1 plus orminus square root of 2.
The minus solutionis not acceptable.
The plus solution wouldgive me root 2 minus 1.
Just to remind you,we calculated a value
for the critical pointbased on duality.
So let's just recapthat duality argument.
We saw that the seriesthat we had calculated,
which was an expansion inhigh temperatures times k,
reproduced the expansion thatwe had for 0 temperature,
including islands ofminus in a sea of plus,
where the contribution of eachbond was going from e to the k
to e to the minus k.
So there was a correspondencebetween a dual coupling.
And the actual coupling,that was like this.
At a critical point,we said the two of them
have to be the same.
And what we hadcalculated based on that,
since the hyperbolictang I can write in terms
of the exponentials was thatthe value of e to the minus
e to the plus 2kc was, infact, square root of 2 plus 1.
And the inverse of this willbe square root of 2 minus 1,
and that's the same as the tang.
That's the samething as the things
that we have already written.
So the calculationthat we had done
before-- obtain thiscritical temperature based
on this Kramers-Wannierduality--
gave us a critical point here,which is precisely the place
that we can identify as theorigin of the singularity
in this expression.
So what did we do next?
The next thing that we didwas having identified up there
where the critical pointwas-- which was at 14--
was to expand ourA, the integrand,
inside the log in thevicinity of that point.
So what I want to dois similarly expand
a star of q for t thatgoes into vicinity of tc.
And what do I have to do?
So what I can do, let's writeit as t is tc plus delta t
and make an expansionfor delta t small.
So I have to make an expansionor delta t small, first
of all, of this quantity.
So if I make asmall change in t,
I'll have to take aderivative inside here.
So I have minus 2t minus2, evaluate it at tc,
times the change in delta t.
So that's the changeof this expression
if I go slightly away fromthe point where it is 0.
Yes?
AUDIENCE: I have a question.
T here is [? tangent ?]of k where we calculated
the [INAUDIBLE] to[? be as ?] temperature.
PROFESSOR: Now allof these things
are analyticalfunctions of each other.
So the k is, in fact, someunit of energy divided by kt.
So Really, thetemperature is here.
And my t is tang ofthe above objects,
so it's tang of j divided by kt.
So the point isthat whenever I look
at the delta intemperature, I can translate
that delta in temperature toa delta int times the value
of the derivative atthe location of this,
which is some finite number.
Of basically upto some constant,
taking derivatives withrespect to temperature,
with respect to k,with respect to tang k,
with respect to beta.
Evaluate it at thefinite temperature,
which is the locationof the critical point.
They're all the same up toproportionality constants,
and that's why I wrote"proportionality" there.
One thing that youhave to make sure--
and I spent actually half anhour this morning checking--
is that the signs work out fine.
So I didn't want to writean expression for the heat
capacity that was negative.
So proportionalitiesaside, that's
the one thing thatI better have,
is that the sign of the heatcapacity, that is positive.
So that's the expansion ofthe term that corresponds to q
equals to 0.
The term that wasproportional to q squared,
look at what we did inthe above expression
for the Gaussian model.
Since it was lowerorder, it was already
proportional to q squared.
We evaluated it atexactly t equals to tc.
So I will put here tc 1minus tc squared q squared,
and then I willhave high orders.
Now fortunately, wehave a value for tc
that we can substitute ina couple of places here.
You can see that this is,in fact, twice tc plus 1,
and tc plus 1 is root 2.
So this is minus 2 root 2.
I square that, andthis whole thing
becomes 8 delta t squared.
This object here, 1minus tc squared--
you can see if I put the 2 tcon the other side-- 1 minus tc
squared' is thesame thing as 2 tc.
So I can write the whole thinghere as 2 tc squared q squared.
And the reason Ido that is, like
before, there'san overall factor
that I can take outof this parentheses.
And the answer willbe q squared now
plus 4 delta t over tc squared.
It's very similar towhat we had before,
except that when we had qsquared plus 4 delta t over tc,
we have q squared plus 4delta t over tc squared.
Now this square was veryimportant for allowing
us to go for bothpositive and negative,
but let's see its consequenceon the singularity.
So now log z of the correctform divided by n-- the singular
part-- and we calculateit just as before.
First of all, rather thanminus 1/2 I have a plus 1/2.
I have the same integral, whichin the vicinity of the origin
is symmetric, so I willwrite it as 2 pi qd
q divided by 4 pi squared.
And then I have log.
I will forget about thisfactor for consideration
of singularities 4delta t over tc squared.
And now again, it isexactly the same structure
as x dx that I had before.
So it's the same integral.
And what you will find is that Ievaluate it as 1/8 pi integral,
essentially q squared plus4 delta t over tc squared,
log of q squared plus 4delta t over tc squared
over e evaluatedbetween 0 and lambda.
And the only singularitycomes from the evaluation
that we have at the origin.
And so that I willget a factor of minus.
So I will get 1/8 pi.
Actually then, Isubstitute this factor.
The 4 and the 8 will give me 2.
And then I evaluate thelog of delta t squared,
so that's another factor of 2.
So actually, only onefactor of pi survives.
I will have delta t over tcsquared log of, let's say,
absolute value ofdelta t over tc.
So the only thing thatchanged was that whereas I
had the linear term sittingin front of the log, now
have a quadratic term.
But now when I take twoderivatives, and now
we are sure that takingderivatives does not really
matter whether I'm doing it withrespect to temperature or delta
t or any other variable.
You can see thatthe leading behavior
will come taking twoderivatives out here
and will beproportional to the log.
So I will get minus 1 overpi log of delta t over tc.
So that if I were to plug theheat capacity of the system,
as a function of, let'ssay, this parameter t--
which is also something thatstands for temperature-- but t
goes between, say, 0 and 1.
It's a hyperbolic tangent.
There's a location which is thistc, which is root 2 minus 1.
And the singular partof the heat capacity--
there will be some otherpart of the heat capacity
that is regular-- butthe singular part we see
has a [INAUDIBLE] divergence.
And furthermore, you cansee that the amplitudes-- so
essentially thisgoes approaching
from different sides of thetransition, A plus or A minus
log of absolutevalue of delta a.
And the ratio of theamplitudes, which we have also
said is universal,is equal to 1.
And you hadanticipated that based
on [? duality ?] [INAUDIBLE].
All right, so indeed, thereis a different behavior
between the two models.
The exact solution allowsus to go both above
and below, has thislogarithmic singularity.
And this expression wasfirst written down-- well,
first published Onsager in 1944.
Even couple ofyears before that,
he had written the expression onboards of various conferences,
saying that this isthe answer, but he
didn't publish the paper.
The way that he did it is basedon the transfer matrix network,
as we said.
Basically, we canimagine that we
have a lattice that is,let's say, I parallel
in one direction,l perpendicular
in the other direction.
And then for the problemsthat you had to do,
the transform matrix forone dimensional model,
we can easy to do itfor a [? ladder ?].
It's a 4 by 4.
For this, it becomes a 2 tothe l by 2 to the l matrix.
And of course, you areinterested in the limit where
l goes to infinity so thatyou can come 2-dimensional.
And so he was able to sortof look at this structure
of this matrix, recognize thatthe elements of this matrix
could be represented interms of other matrices
that had someinteresting algebra.
And then he arguablycould figure out
what the diagonalization lookedlike in general for arbitrary
l, and then calculatelog z in terms
of the log of thelargest eigenvalue.
I guess we have tomultiply by l parallel.
And showed that, indeed,it corresponds to this
and has this phase transition.
And before this solution,people were not even sure
that when you sum an expressionsuch as that for partition
function if you ever geta singularity because,
again, on the faceof it, it's basically
a sum of exponential functions.
Each one of them isperfectly analytic,
sums of analytical functions.
It's supposed to be analytical.
The whole key lies in the limitof taking, say, l to infinity
and n to infinity,and then you'll
be able to see thesekinds of singularities.
And then again,some people thought
that the only typeof singularities
that you will be able toget are the kinds of things
that we saw [INAUDIBLE] point.
So to see a differenttype of singularity
with a heat capacity that wasactually divergent and could
explicitly be shownthrough mathematics
was quite aninteresting revelation.
So the kind ofrelative importance
of that is thatafter the war-- you
can see this is all around thetime of World War II-- Casimir
wrote to Pauli saying that Ihave been away from thinking
about physics the past few yearswith the war and all of that.
Anything interesting happeningin theoretical physics?
And Pauli responded, well,not much except that Onsager
solved the2-dimensionalizing model.
Of course, the solution thathe has is quite obscure.
And I don't think manypeople understand that.
Then before, the form thatpeople refer to was presented
is actually kind of interesting,because this paper has
something aboutcrystal statistics,
and then there's the followingpaper by a different author--
Bruria Kaufman, 1949--has this same title
except it goes fromnumber two or something.
So they were clearlytalking to each other,
but what she was ableto show, Bruria Kaufman,
was that the structureof these matrices
can be simplifiedmuch further and can
be made to looklike spinners that
are familiar from otherbranches of physics.
And so this kindof 50-page paper
was kind of reduced tosomething like a 20-page paper.
And that's the solution thatis reproduced in Wong's book.
Chapter 15 of Wong hasessentially a reproduction
of this.
I was looking at thisbecause there aren't really
that many womenmathematical physicists,
so I was kind oflooking at her history,
and she's quitean unusual person.
So it turns outthat for a while,
she was mathematicalassistant to Albert Einstein.
She was first married to one ofthe most well known linguists
of the 20th century.
And for a while, they wereboth in Israel in a kibbutz
where this important linguistwas acting as a chauffeur
and driving people around.
And then later in life,she married briefly
Willis Lamb, of Lamb shift.
He turned out the term, 1949.
She had done some calculationthat if Lamb had paid attention
to, he would havealso potentially won
a Nobel Prize forMossbauer effect,
but at that timedidn't pay attention
to it so somebodyelse got there first.
So very interesting person.
So to my mind, a goodproject for somebody
is to write a biographyfor this person.
It doesn't seem to exist.
OK, so then both of these arebased on this transfer matrix
method.
The method thatI have given you,
which is the graphicalsolution, was first
presented by Kacand Ward in 1952.
And it is reproducedin Feynman's book.
So Feynman apparently alsohad one of these crucial steps
of the conjecture withhis factor of minus 1
to the power of thenumber of crossings,
giving you the correctfactor to do the counting.
Now it turns out that I alsodid not prove that statement,
so there is a missingmathematical link
to make my proof of thisexpression complete.
And that was provided by amathematician called Sherman,
1960, that essentiallyshows very rigorously
that these factors of minus1 to the number of crossings
will work out and magicallymake everything happen.
Now the question toask is the following.
We expect things tobe exactly solvable
when they are trivialin some sense.
Gaussian model isexactly solvable
because there is nointeraction among the modes.
So why is it that the2-dimensionalizing model
is solvable?
And one of the keys tothat is a realization
of another way of lookingat the problem that
appeared by Lieb, Mattis,and Schultz in 1964.
And so basically whatthey said is let's
take a look at thesepictures that I
have been drawingfor the graphs.
And so I have graphsthat basically
on a kind of coarse level, theylook something like this maybe.
And what they said was thatif we look at the transfer
matrix-- the one thatOnsager and Bruria
Kaufman were looking at.
And the reason it wassolvable, it looked very much
like you had asystem of fermions.
And then the insight is thatif we look at these pictures,
you can regard this asa 1-dimensional system
of fermions that isevolving in time.
And what you are looking atthese borderline histories
of two particlesthat are propagating.
Here they annihilate each other.
Here they annihilate each other.
Another pair getscreated, et cetera.
But in one dimensions, fermionsyou can regard two ways--
either they cannot occupy thesame site or you can say, well,
let them occupy in same site,but then I introduce these
factors of minus 1 forthe exchange of fermions.
So when two fermions crosseach other in one dimension,
their positionhas been exchanged
so you have to put aminus 1 for crossing.
And then when you sum over allhistories for every crossing,
there will be one thattouches and goes away.
And the sum total ofthe two of them is 0.
So the point is thatat the end of the day,
this theory is a theoryof three fermions.
So we have not solved,in fact, an interacting
complicated problem.
It is.
But in the rightperspective, it looks
like a bunch of fermions thatcompletely non-interacting pass
through each otheras long as we're
willing to put the minus 1 phasethat you have for crossings.
One last aspect tothink about that you
learn from thisfermionic perspective.
Look at this expression.
Why did I say that thisis a Gaussian model?
We saw that we couldget this, z Gaussian,
by doing an integralessentially over weights
that were continuous by i.
And the weight I could clickhere as kij phi i phi j.
Because in principle, if Ionly count an interaction once,
let's say I count it twice.
I could put a factor of 1/2if I allow i and j to be some.
Especially I said the weightthat I have to put here
is something likephi i squared over 2.
So this essentially youcan see z of the Gaussian
ultimately alwaysbecomes something like z
of the Gaussian is going tobe 1 over the square root
of a determinant of whateverthe quadratic form is up there.
And when you take the logof the partition function,
the square root of thedeterminant becomes minus 1/2
of the log of thedeterminant, which
is what we've been calculating.
So that's obvious.
You say this objectover here that you
write as an answer is alsolog of some determinant.
So can I think of these assome kind of a rock that
is prescribed according tothese rules on a lattice,
give weights to jumpaccording to what I have,
then do a kind ofGaussian integration
and get the same answer?
Well, the difficultyis precisely
this 1/2 versus minus1/2, because when
you do the Gaussianintegration, you
get the determinantin the denominator.
So is there a trick to get thedeterminant in the numerator?
And the answer isthat people who
do have integral formulationsfor fermionic systems
rely on coherentstates that involve
anti-commuting variables,called Grassmann variables.
And the very interesting thingabout Grassmann variables
is that if I do the analogof the Gaussian integration,
the answer-- rather thanbeing in the determinant,
in the denominator--goes into the numerator.
And so one can, in fact,rewrite this partition function,
sort of workingbackward, in terms
of an integration overGaussian distributed
Grassmannian variableson the lattice,
which is also equivalentto another way of thinking
about fermions.
Let's see.
What else is knownabout this model?
So I said that the specificheat singularity is known,
so we have thisalpha which is 0 log.
Given that thestructure that we have
involves inside the logsomething that is like this,
you won't be surprised that if Ithink in terms of a correlation
length-- so typically q'swould be an inverse correlation
length, some kind of a qat which I will be reaching
appropriate saturation fora delta t-- I will arrive
at a correlation rangethat diverge as delta t
to the minus 1.
Again, I can write itmore precisely as b plus b
minus to the minus mu minus.
The ratio of the b'sthis is 1, and the mus
are the same and equal to 1.
So the correlation lengthdiverges with an exponent 1,
and one can [INAUDIBLE]this exactly.
One can then also calculateactual correlations
at criticality and show thatthat criticality correlations
decay with separationbetween the points
that you are looking atas 1 over r to the 1/4.
So the exponent that we callmu is 1/4 in 2 dimensions.
Once you havecorrelations, you certainly
know that you can calculatethe susceptibility
as an integral of thecorrelation function.
And so it's going to be anintegral b 2r over r to the 1/4
that is cut off at thecorrelation length.
So that's going to give me cto the power of 2 minus 1/4,
which is 7/4.
So that's going to diverge asdelta t 2 to the minus gamma.
Gamma is, again, 7/4.
So these things--correlations-- can
be calculated likeyou saw already
for the case ofthe Gaussian model
with a appropriate modification.
That is, I have tolook at walks that
don't come back andclose on themselves,
but walks that go from onepoint to another point.
So the same types of techniquesthat is described here
will allow you to get toall of these other results.
AUDIENCE: Question?
PROFESSOR: Yes?
AUDIENCE: Do people try toexperiment on the builds
as things that should be[INAUDIBLE] to the Ising model?
PROFESSOR: There are by nowmany experimental realizations
of [INAUDIBLE] Ising modelin which these exponents--
actually, the nextone that I will
tell you have beenconfirmed very nicely.
So there are a number of2-dimensional absorb, systems,
a number of systems ofmixtures in 2 dimensions
that phase separate.
So there's a huge number ofexperimental realizations.
At that time, no, becausewe're talking about 70 years.
So the last thingthat I want to mention
is, of course, whenyou go below tc,
we expect that-- let'scall it temperate--
when I go below temperature,there will be a magnetization.
That has always been oursignature of symmetry breaking.
And so the question is,what is the magnetization?
And then this is anotherinteresting story,
that around 1950s in acouple of conferences,
at the end of somebody's talk,Onsager went to the board
and said that heand Bruria Kaufman
have found this expression forthe magnetization of the system
at low temperature as afunction of temperature
or the coupling constant.
But they never wrote thesolution down until in 1952,
actually CN Yangpublished a paper
that has derived this result.
And since this goes to 1at the critical point-- why
duality [INAUDIBLE]2k [INAUDIBLE] 2k--
[? dual ?] plus 1.
This vanishes withan exponent beta,
which is 1/8, which is theother exponent in this series.
So as I said, thereare many people
who since the '50s and'60s devoted their life
to looking at variousgeneralizations, extensions
of the Ising model.
There are many peoplewho try to solve it
with a finite in 2 dimensions,a finite magnetic field.
You can't do that.
This magnetizationis obtained only
at the limit of[INAUDIBLE] going to 0.
And clearly, peoplehave thought a lot
about doing things in 3dimensions or higher dimensions
without much success.
So this is basicallythe end of the portion
that I had to give withdiscrete models and lattices.
And as of next lecture, wewill change our perspective
one more time.
We'll go back tothe continuum and we
will look at n componentmodels in the low temperature
expansion and see whathappens over there.
Are there any questions?
OK, I will give youa preview of what
I will be doing inthe next few minutes.
So we have been looking at theselattice models in the high t
limit where expansionwas graphical,
such as the one thatI have over there.
But the partitionfunction turned out
to be something oftwo constants, as 1
plus something that involvesloops and things that
involve multipleloops, et cetera.
This was for the Ising model.
It turns out that if Igo from the Ising model
to n component space.
So at each sideof the lattice, I
put something thathas n components
subject to the conditionthat it's a unit vector.
And I try to calculatethe partition function
by integrating over allof these unit vectors
in n dimension of aweight that is just
a generalization of the Ising,except that I would have
the dot product of these things.
And I start making appropriatehigh temperature expansions
for these models.
I will generate avery similar series,
except that wheneverI see a loop,
I have to put afactor of n where
n is the number of components.
And this we alreadysaw when we were
doing Landau-Ginzburgexpansions.
We saw that the expansionsthat we had over here
could be graphicallyinterpreted as representations
of the various terms that wehad in the Landau-Ginzburg
expansion.
And essentially, this factorof n is the one difficulty.
You can use the same methodsfor numerical expansions
for all n models that arethese n component models.
You can't do anythingexactly with them.
Now the low temperatureexpansion for Ising
like models we saw involvedstarting with some ground
state-- for example, all up--and then including excitations
that were islands ofminus in a sea of plus.
And so then there higherorder in this series.
Now for other discrete models,such as the Potts model,
you can use the same procedure.
And again, you see thatin some of the problems
that you've had to solve.
But this will not work when wecome to these continuous spin
markets, because forcontinuous spin models,
the ground state would be wheneverybody is pointing in one
direction, but the excitationson this ground state
are not islands thatare flipped over.
They are these longwavelength Goldstone modes,
which we describedearlier in class.
So if we want tomake an expansion
to look at the low temperature[INAUDIBLE] for systems with n
greater than 1, we have tomake an expansion involving
Goldstone modesand, as we will see,
interactions amongGoldstone modes.
So you can no longer regardat that appropriate level
of sophistication as theGoldstone modes maintain
independence from each other.
And very roughly, the maindifference between discrete
and these continuous symmetrymodels is captured as follows.
Suppose I have a hugesystem that is L by L
and I impose boundary conditionson one side where all of this
spins in onedirection, and ask what
happens if I impose a differentcondition on the other side.
Well, what would happen is youwould have a domain boundary.
And the cost ofthat domain boundary
will be proportional tothe area of the boundary
in d dimensions.
So the cost isproportional to some energy
per bond times Lto the d minus 1.
Whereas if I try to do the samething for a continuous spin
system, if I align one side likethis, the other side like this,
but in-between I can graduallychange from one direction
to another direction.
And the cost wouldbe the gradient,
which is 1 over Lsquared times integrated
over the entire system.
So the energy costof this excitation
will be some parameterj, 1 over L-- which
is the shift-- squared-- whichis the [? strain ?] squared--
integrated overthe entire volume,
so it goes L to the d minus 2.
So we can see that thesesystems are much softer
than discrete systems.
For discrete systems,thermal fluctuations
are sufficient to destroyorder at low temperature
as soon as this cost is of theorder of kt, which for large L
can only happen in d[INAUDIBLE] 1 and lower.
Whereas for these systems, ithappens in d of 2 and lower.
So the lower criticaldimension for these models.
With continuous symmetry,we already saw it's 2.
For these models, it is 1.
Now we are going to beinterested in this class
of models.
I have told you thatin 2 dimensions,
they should not order.
So presumably, the criticaltemperature-- if I continuously
regard it as afunction of dimension,
will go to 0 as a functionof dimension as d minus 2.
So the insight ofPolyakov was that maybe we
can look at the interactionsof these old Goldstone modes
and do a systematic lowtemperature expansion that
reaches the phase transition ofa critical point systematically
ind minus 2.
And that's what we willattempt in the future.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977The following content isprovided under a Creative
Commons license.
Your support will help MITOpenCourseWare continue to
offer high-quality educationalresources for free.
To make a donation or viewadditional materials from
hundreds of MIT courses, visitMIT OpenCourseWare at
ocw.mit.edu.
PROFESSOR NELSON: Well, so lasttime we did a little bit
more work on thermodynamiccycles, and basically went
around a cycle and looked atsome state functions, delta u
and delta H. Saw that arounda closed cycle those zero
because they're statefunctions.
So if you start and end at thesame place, they've got end at
the same place thatthey started.
There's no change in them, andthen we also looked at some at
non-state functions, work andheat, and saw that those
aren't zero goingaround a cycle.
Of course you can do work in acyclic process, and heat can
be exchanged with theenvironment at the same time.
So we calculated thosevalues too.
And we also looked at this otherfunny function that's
our special function.
We looked at this integral dqover T. It's so special that
we called this derivative dS,and saw that at least for the
cycle we looked at, italso behaved as a
state function behaves.
That is, going around the cycle,it had no net change,
and we'll see this comeback later on.
Then we went on to look atthermochemistry, and that's
what I want to continue today.
So really, the main result thatwe saw last time is that
we can describe the enthalpyof reaction, so if we have
reactants going to products, andwe'd like to know our heat
of reaction or enthalpy ofreaction, remember it's a
constant pressure as we'reconsidering it, so it's
equivalent to heat of reaction,than the way we can
do this is construct a cyclewhere we're going to express
these in terms of theirconstituent elements.
We're going to all the wayback to the atoms.
Right, so if we have theelements in their standard
states, that is their moststable forms at room
temperature and pressure, thenwhat we're really doing is
we're saying let's take thereactants and let's pull them
all apart into theirseparate elements,
they're separate atoms.
And then put them back togetherthis way, and we'll
calculate the enthalpyof this process, the
enthalpy of this process.
It's a cycle, so that'llgive us the enthalpy of
reaction, all right?
So this delta H is our sum fordelta H of formation for the
reactants, right.
And this is our sum ofthe quantity for
the products, right.
And in this way, then we canexpress our delta H of
reaction is just going to begiven a sum of the heats of
formation or the differencebetween the heats of formation
of the products and thereactants, right?
Now, of course, we have toweight this by the number of
moles of each reactantto each product
involved in the reaction.
So to write this a little morecarefully, it's, you want to
write the sum over i of nu idelta H naught of formation of
i summed over the products.
This is per mole minus sum overi, nu i here over the
reactants in thesame quantity.
Delta H per mole f i, right?
So in other words, were takingeach of the products and we're
going to weight them by theirstoichiomeric coefficients,
and we're going to have in thisdelta H of reaction their
heats of formation, and thenwe're going to have the
negative heats of formation ofthe reactants, because that's
being subtracted, okay?
So, just to go through a basicexample, let's just look at
the burning of methane.
So we've got methane gas,combining with oxygen gas, so
you have carbon dioxide gas andliquid water, and we'll
consider the whole thingat room temperature
and pressure, right.
So let's just undertakethis set of processes.
Let's decompose theseto the elements.
So in other words, our methanegas, we're going to write the
chemical equilibrium betweenthis and the solid carbon.
That is to say let's specifygraphite, it's not diamond,
right, graphite is the stableform of carbon at room
temperature and pressure.
And then, hydrogen gas twomoles of hydrogen gas and
we're going to have a deltaH of formation.
This is for CH4 in thegas phase, right?
And then over here, we have ouroxygen but 2 O2 gas going
to, well 2 O2 gas -- the pointis oxygen already is in it's
stable form at room temperature
and pressure, right?
That is the elemental form ofoxygen, of course, is as
oxygen molecules in the gas sothere's no delta H formation
for oxygen.
The gas is zero, right.
And then second phase of this,now we're going to take the
elements that we've produced,and we're going to put them
back to make products, right?
So there we've got carbon asgraphite, and a solid plus an
oxygen gas goes to makeCO2 gas, right.
And we've got our positivedelta H of formation
associated with that.
And finally we've got hydrogengas plus oxygen gas giving us
two water molecules and thisis in the liquid phase, and
there's some delta heat offormation associated with
that, okay.
So there is our set ofindividual processes that's
going to constituteour cycle, right.
If we take the combination ofall those, which is to say we
just take both steps in thiscycle, then we'll have our net
reaction, which is to saywe'll have this, right.
So what that says is our heatof reaction is our heat of
formation per mole ofCO2 gas, right.
Plus 2 times the heat ofreaction or heat of formation
per mole of liquid water minusheat of formation per mole of
methane, right.
And things we caneasily look up.
So in a simple way, we candetermine, we can calculate
what the heat ofreaction is for
something like this, right.
And you'll see in the backof your book, you'll see
moderately extensive tables ofheats of formation, and if you
go online you'll see, you canfind extremely extensive
tabulated values of heats offormation, that have been
measured for an enormousnumber of compounds.
And from that, then you can lookat enthalpies of reaction
for countless numbersof reactions, right.
So by using the tabulated data,we can really determined
heats of formation for mostreactions that you might
contemplate, OK?
Of course, the cyclic steps thatwe've taken to do this
apply not just for breakingdown reactants and product
into the elements in theirstandards states, but of
course we could also look atwhole sets of reactions and
write cycles as well, right.
So for example, if we wantedto look at the reaction of
something like carbon graphiteplus oxygen gas to make carbon
monoxide gas, well normallythis isn't the way the
reaction would work.
Normally if you just tried tomake this happen what you
would wind up with theCO2, not CO, right.
But one way to approach thisis you could look at the
individual reactions of going,you could go to CO2 and then
you can go with CO2 and oxygenand combine, or combine CO and
oxygen to get CO2, right?
So normally, CO2 is formed, butyou could calculate the
heat of reaction.
Of course you could go back tothe elements, but you can also
say well, let's just take aknown heat of reaction for, or
heat of formation for CO2, andthen also combine that with
the heat of reaction for CO plusoxygen forming CO2 and
determine this that way, allright, OK, so once you have
done this, once we've got theheat of reaction then there
are a few simple resultsthat are useful.
One is we know immediatelywhether when we run a reaction
heat is going to be releasedin the process out to the
environment, or whetherheat is going to
be taken in, right.
So, and of course if you everused a hot pack or a chemical
hot pack or cold pack, you'veseen examples of the two of
those, where the constituentsare selected to give you
either heat released orheat taken up, right.
So in particular delta H ofreaction less than zero, that
means a negative amount of heat,which means that heat is
released, right.
Yes, that is it's exothermic.
Positive enthalpy of reaction,which is to say a heat of
reaction is positive.
Remember the way we define heatis positive it means that
there is heat that is comingfrom the environment into the
system, right.
In other words heat is absorbedor taken up by the
reacting system.
That's endothermic, okay.
All right, one more importantaspect of this that we need to
be able to deal with, and thatis the heats of formation that
you'll find tabulated typicallyare going to be
given for room temperatureand pressure.
And it's very common that youmight want to know the
thermodynamic condition forreactions, especially at other
temperatures, very common,of course.
And it's not hard to see how theheat of reaction at room
temperature can be related tothey heat of reaction at other
temperatures.
So let's just look at that.
So remember your fundamentalrelation, dH, if you write
that as a function oftemperature and pressure,
partial of H with respect to T,constant pressure, dT, plus
partial of H with respect to pat constant temperature, dp.
But if we're workingat constant
pressure then dp is zero.
So we just got the derivativewith respect to temperature.
That's our heat capacity,right, Cp.
And we may have tabulated valuesof Cp for an enormous
number of materials.
So now, if we look at thetemperature dependence of
delta H for reaction, reallywhat we're going to need to do
is look at how that heatcapacity changes going from
reactants to products, right?
So in other words, d delta H ofreaction, with respect to
temperature.
That's what we want tofind out, right?
So how does delta H change ifwe change the temperature?
Well, it's just given by Cp dTfor the reactants and the
products, right?
For the products minus thereaction, that is it's delta
Cp, we need the sumover the products.
Nu i, Cp i minus samesum over reactants,
i, nu i Cp i, right.
Similar to what we saw before.
Now we need to integrate,right.
So if we integrate between somepair of temperatures, T1
and T2, we do this and we havethis quantity, d delta H of
reaction with respect totemperature, dT, all this is
at constant pressure, right.
Let's just be carefulto specify that.
Well, so of course, this is thenjust delta H of reaction
at T2 minus delta Hof reaction at T1.
This is looking good.
This is what we want to get,is our heat of reaction at
some new temperature T2.
If we already know it at someinitial temperature, usually
room temperature, T1.
And it's just given by theintegral from T1 to T2 of
delta Cp dT.
Now in general, this is as faras we can go, but at least if
the temperature change isn'ttoo big, for most materials
that heat capacities doesn'tdepend very strongly on
temperature, right.
If you take some material, andyou measure its heat capacity,
right, how much heat do I haveto put into it in order to
change its temperatureby a degree, right.
And I make that measurementat room temperature.
And then maybe I raise thetemperature to whatever, room
temperature, maybe 20 degreeshotter than room temperature.
And I again say OK, now how muchheat do I need to raise
this thing's temperatureby 1 degree?
The amount of heat I need to putin to do that is not very
different from what it was atroom temperature right.
In other words theheat capacity
didn't change very much.
So, the result of that isthat at least for modest
temperature excursions, it maybe the case that we can
simplify this and simply sayit's just the difference in
heat capacities times thetemperature change.
Again, we can't always beassured of that, but it's
often the case.
Any questions on anyof this so far?
OK, now what I want to do isjust describe a little bit of
how do you measure allthis stuff, right?
So what we've done so far isjust lay out in principle how
we should describe heats ofreaction, and of course
assuming that we've goteverything in tables we can
always look them up, butsometimes you want to make new
compounds, right.
Sometimes you'd like to knowwhat the energetics are
involved there, right, and soit's useful to be able to
actually measure something.
So how do we do It?
This is what's calledcalorimetry.
So we're going to makemeasurements to determine heat
of reaction values.
Actually, calorimetry is usedfor all sorts of things.
It can be used to determine, forexample, the energetics of
phase transitions.
Maybe you're not looking at areaction, but you've got some
new compound, and you're lookingat it go from liquid
to solid or to gas.
And you can see what the heatinvolved in a process like
that is as well.
So what happens?
Well, the objective in the caseof a reaction, we have
reactants at some temperaturegoing to products at that
temperature, and that is ourheat of reaction at that
temperature.
That's how it's defined,right, at constant
temperature.
OK?
What do we actually measure?
Well, what we can really do iswe can put the reactants in
some container, put the wholething in an insulated place,
you know, hold things ina big insulated box.
Run the reaction.
Maybe it produces heat.
If it does, then the whole thingwill heat up, right?
The stuff that's inside thereacting volume, and
whatever's right around it thereinside the big box, it's
all going to heat up.
So I'll start at some initialtemperature, T1.
I won't end up at thesame temperature.
It'll be hotter.
How much hotter?
Well, that depends on howmuch heat was produced.
So in principle, if I measurehow much hotter, I can
determine how much heat wasproduced, and from that, I
should be able to calculatedelta H at T1.
So let's think about howthat's really working.
I've really got reactants at T1,plus a calorimeter at T1,
and I'm going to end up withproducts -- well let's let me
just write that's over.
In fact, let's start by justputting a little sketch of the
whole thing up.
So here's my reacting stuff,maybe it's a liquid.
It's going to takeplace in there.
It's going to be a constantpressure, it might be open to
the air, or even if it isn't,there might be plenty of room,
and it's a liquid anyway, sothe pressure isn't going to
change significantly.
I want to measurethe temperature.
And the whole thing isinsulated right.
I don't want to have to dealwith heat escaping to the
outside environment in a waythat might be difficult or
complicated to measureor calculate.
OK, so this, what I've sketchedhere would be a
constant pressure calorimeter.
There's a reaction.
Normally this is used for areaction in the condensed
phases and liquid usually.
So this is a constant pressurecalorimeter.
It's set up to be
well-insulated so it's adiabatic.
That's the set up.
We're going to run thereactants, the reaction.
The reactants are goingto turn into products.
Let's look at what happens.
So what happens is myreactants at T1 plus
calorimeter at T1 turn intoproducts at T2 plus my
calorimeter at T2, right.
That's my process.
That's what really happens.
Now that, the enthalpy of thatprocess isn't what I want,
right, because the temperaturehas changed, also the
calorimeter is heated up.
So I need to relate thisto what I do want.
Let's label this one.
It is adiabatic.
It is taking place inside thisthing, and it's a constant
pressure, and we'll doit reversibly, right.
So that's what we've got.
Now, we can always take thesethings the products and the
calorimeter at temperature T2and cool them or warm them to
get to products plus calorimeterat T1, right.
Let's label that two.
It's still at constantpressure.
It's reversible.
It's a temperature change.
Now to make that happen, it'snot adiabatic, right.
If I wanted to do that, I'dneed a heating element or
something to cool, so I couldmake that temperature change
happen, right.
Well, so now I can completethe cycle.
I've got reactants andcalorimeter at T1.
Fewer products and calorimeterat T1, right.
Calorimeter doesn't changein this process.
So here I've got some delta Hassociated with changing the
temperature.
This delta H though, thisis what I want.
This is delta H of reactionat T1, right?
It's isothermal, constantpressure, reversible.
Just what I want.
That's how I've defineddelta H of reaction.
This is what I'm after.
All right, so now let's see howwe execute it, and do the
calculations that allowus to calculate this.
So, one, what's deltaH in step one?
Yes, exactly, it's adiabatic,right constant pressure.
it's zero.
Delta H1 is zero, right.
What we're really going to do inpractice is we're going to
measure, we're going to use ourthermometer and say great,
how much did the temperaturechange, right.
So now, then we're going to usewhat we're going to learn
from step two in order tocalculate this part, what we
could call step three.
OK, so two, that'sthe crucial part.
It's constant pressure.
It's just given by thecorresponding heat, and it's
just a temperaturechange, right.
So we know how to do this,integral from well it's T1 to
T2, depending on which waywe go of Cp for the
whole system dT.
OK?
It's just how much heat isinvolved when we change the
temperature.
Now, the products have some heatcapacity associated with
them right, it takes a certainamount of heat if we make
their temperature change, toeither put it in or take it
away, depending on whichdirection the
temperature is changing.
Same with the calorimeter, OK.
In actual practice though, thecalorimeter, is going to be
this big hunk of metal, andreally what's going to,
there's going to be some stuffin here, right, they'll be a
fluid, it will usuallybe some sort of oil.
There's a pretty bigthermal mass.
Now we run the reactionand it produces heat.
Most of the heat is going towarm up or cool off all that
oil and stuff.
There's a moderate amountof material
in the actual reaction.
You want to design thecalorimeter to fulfill that
condition,
Of course, you can't make itso enormous that even for,
that for any ordinary reactionthere's not even a measurable
temperature change, right,because if you have your
enough oil to fill up this room,it would take a huge
amount of heat to change it byeven a tiny, it's temperature
but even a tiny amount.
So the calorimeter is designedsort of to scale to match the
maybe the ordinary volume ofreactants that you'll put in
there, such that, pretty muchall the heat's just going to
heat up the calorimeter, andthere's only a small amount
that's going toward heatingup the products, right.
So in general, or at leastusually it'll be the case,
that this is approximately equalto integral from T1 to
T2 Cp of just thecalorimeter dT.
And that generally is just givenby the heat capacity the
calorimeter timesdelta T, right..
Because the heat capacity of thecalorimeter just like this
thing is not stronglytemperature dependent, OK.
So the point is we can calculatedelta H associated
with this process prettyreadily, OK.
That leaves three, right.
But delta H for step three mustjust be the opposite of
this delta H because this waszero and we know that were
going around a cycle, right.
And that's our heatof reaction.
So we're going to be ableto do this, right?
OK, now this is one way todo calorimetry, and it's
practical as long as all thematerials are in condensed
phases, solids and liquids.
If gases are involved it canwork, but it can be tricky to
keep the pressure constant,right, because that means that
now the moles of gas might bechanging, and that means in
some way the volume hasto be adjustable.
You'd need some sort of balloonor membrane that will
allow that to happen.
Could be done, but easier is tojust do the whole thing at
constant volume, right, and justrun the reaction that way
and redo the calculation to bea constant volume rather than
constant pressure calorimeter,right.
And it's not hard to do that.
So let's just look at whathappens in that case.
It's almost the same.
So let's see, just to finish thejob here though, all this
says is delta H of reaction isjust negative Cp for the
calorimeter times delta T, allright. so that's what we think
we know in constant pressurecalorimetry.
Yes, and if we have gasesinvolved, it's pretty similar,
but now what will have issomething like this.
We'll have a reaction vesselthat's sealed,
it's constant volume.
That'll be insideour calorimeter.
It's insulated, and there'sstill a thermometer, so we can
measure the temperature.
So this is still adiabatic.
It's insulated, but now it'sconstant volume, OK.
Now, you know with constantvolume, now it's not going to
be delta H that'sstraightforward to measure,
it's going to be dealtu, all right.
But it's going to be almostthe same, right?
So let's just think aboutwhat happens here.
Now it's the cycle thatwe've got will still
basically look the same.
That is its reactants at T1 pluscalorimeter at T1, going
to products at T2 pluscalorimeter at T2, right?
And it's still adiabatic, butnow it's constant volume.
And it's also reversal right.
So this is our process one.
Now, process two, we're goingto end up here with our
products, again at T1 plus ourcalorimeter at T1, right.
So now we have aconstant volume
reversible temperature change.
And so this part now isn'texactly what we want to
determine delta H, because it'sa isothermal constant
volume, reversible products orreversible process that takes
a reactant to T1 toa product of T1.
What these are going to giveus are delta u values.
This'll give us delta u ofreaction, right, T1, right.
It's a constant volume.
All right, so in the end, we'regoing to determine delta
u here, and then in the end,we're going to have to relate
that to delta H, but that'sstraight forward enough to do.
So let's look at how we'llanalyze what happens.
So one adiabatic, constantvolume process, right.
What's zero in that case?
In this case deltaH was zero in the
constant pressure example.
Now we've got a constantvolume process.
What's zero?
It's u, because u is to q plusw right, heat and work, but
it's adiabatic.
So there's no heat, exchangewith the environment, and it's
constant volume, so there'sno p dV work, right.
So q is zero adiabatic.
Work is zero.
Delta u1 is zero.
And again just in the constantpressure case, what happens
that we're going to measure instep one, which is to say in
actually running thereaction is the
temperature's going to change.
Right?
The whole thing's going to cometo some new equilibrium
temperature between the productsand the oil or
whatever's around it, and we'regoing to measure that.
OK, two, now it's a temperaturechange, right?
We know how to calculate deltau for a temperature change.
It's very similar here, butwhat's going to be different
from the case with constantpressure?
There's a real important detailthat's different if you
want to calculate what happensat constant pressure when you
change the temperature?
What happens at constantvolume?
Looking at this expression,what's got to be different?
Cv, right.
We're not going to have theconstant pressure heat
capacity, we're going to havethe constant volume heat
capacity, right.
So delta u for step two, that'sour q under constant
volume conditions, integralfrom T1 to T2 Cv for our
whole system dT.
Integral from T2 to T2, and nowI can separate again the
calorimeter from the product,and at least approximately,
again, it'll be Cv for thecalorimeter dT, which is to
say then it's Cv ofthe calorimeter
times delta T. Great.
Three, well delta u1 was zero.
Delta u2 was there Cv delta T,so now all we need since the
whole thing is going around ina cycle, Since we know delta
u3 must be negative delta u2,and that is our delta u of
reaction, right?
So delta u of reaction isapproximately equal to
negative Cv for the calorimetertimes delta T. So,
this is what we're going tomeasure, and this is what
we're going to determine.
And now we're almost done,except what we really want is
delta H and not deltaV, right.
So now we're going to use thefact that H is u plus pV.
Delta H is delta u plus deltapV, and now this is all at
constant temperaturein the end, right?
We've determined delta u forsome temperature T1, right.
So what happens thenwe're going to use
the ideal gas law.
So it's approximately deltau plus delta nRT.
That's a constant.
That's a constant.
So it's delta u plus RT, we cansay T1 is the temperature
we've used here, deltan of the gas.
In other words, what mattershere in changing the pressure
volume product?
What matters is we turned somereactants into some products.
How many moles of gas arethere in each case, in
reactants and products?
If that changes, of course youknow that the pressure in
there is going to change atconstant volume if the amount
of gas in there is changing.
And nothing else is goingto make a significant
contribution to it, OK?
So finally, then delta H ofreaction for our temperature
T1 is approximately minus Cv ofthe calorimeter times delta
T plus R T1 delta n of gas.
Change of the number ofmoles of gas, right.
We're going to measure that,and now we're going to
determine this.
In practice, we'll already knowthe heat capacity of our
calorimeter, when webuy it, right?
So we don't really need to putin a certain amount of heat
and change the temperatureof the products and the
calorimeter and so on.
What we need to do is justmeasure how much the
temperature changed, OK.
It's worth getting just sort ofroughly calibrated how big
is this compared to therest of this stuff.
That is, how differentis delta u from
delta H, all right.
And of course it'sstraightforward to do this,
and I've written this out in thenotes, so I won't re-write
the numbers here.
But I gave an examplelooking at combining
HCl and oxygen right.
So 4 HCl plus oxygen gas.
This two in the gas going towater and the liquid, plus
chlorine gas at roomtemperature.
Well, what you find out is deltau of reaction is minus
195 kilojoules for thereaction as written.
And it turns out, as written, ifyou say OK, how much, what
changed for the pV product?
Well here we've got four molesof gas, five moles of gas.
Here just two, so we changedthe number of
moles of gas by three.
All right, how much didit matter, right?
Well it matters.
It's measurable.
So now delta H of reactionturns out to be minus 202
kilojoules.
So, you know, seven out of acouple of a hundred, right, a
few percent, kind of typical.
In other words, if you lookat energetics of ordinary
reactions where you're, youknow, you're making and
breaking covalent bonds, there'sa fair amount of
energy stored in those, right?
The additional change due tochanging pressure volume is
certainly measurable.
You don't want to just ignoreit, but in cases like that,
it's usually a small fractionof the total.
A few percent istypical, okay.
All right, let me just gothrough one numerical example
of a calorimetry calculation,OK.
I won't put all the numbers upon the board because our time
is running short, but I justwant to outline it.
All I really want to do iscalibrate you a little bit for
what happens with ordinarycalorimeter heat capacities
that makes the calculationturn out to be relatively
easy, right.
So let's just write it out.
Let's take iron sulfide as asolid, plus 11 halves oxygen
gas to make iron oxide,also a solid, plus
sulphur dioxide gas.
All right.
We'll start at T1is 298 Kelvin.
T2, maybe we don't knowit yet, right.
OK, so we know how to calculatewhat's going to
happen, delta H and delta u,because we can look up the
heats of formation andso forth of all
the compounds, right.
So if we do that, what wediscover is that delta H of
formation whoops, something'swrong here.
This is sulphur -- what am Idoing, boy, S and it's a two,
sorry, and the heat of formationis minus 180
kilojoules per mole, that'soxygen, it's zero.
Boy, I'm, I don't know what isabout this reaction that's
vexing me but it's notthat complicated.
Here it's minus 824 kilojoulesper mole minus 297 kilojoules
per mole, right.
So that's our inputthermodynamic data.
So first of all, let's justdo a heat of reaction
calculation, right.
Taking the product minusthe reaction, right.
So it's minus 824 plus 4times minus 297 minus
2 times minus 180.
Right?
In other words I've got thestoichiometric coefficients in
there and the values, and I'msubtracting the reactants from
products wind up with minus1652 kilojoules per mole.
Well, it depends on what wewrite, what we consider mole,
right, maybe I should just writekilojoules as written.
OK, I'm going to skip the deltaand get the change in
moles of gas calculation.
It's straightforward to do.
What I really want to do is justgive an example of what
happens when you throw thething, the material into a
calorimeter and see how muchthe temperature changes.
So let's imagine we start with0.1 moles of our iron sulfide,
and then we have astoichiometric amount of
oxygen, and the whole thing isdone in a constant volume
calorimeter, and wesee what happens.
Now the crucial element is whatis the heat capacity of
the calorimeter, right?
And it's, again it's amacroscopic pretty big thing,
so typical might be 10kilojoules per Kelvin, and
that's pretty big, right?
Noticed that's notper mole, right.
I mean the calorimeter is a bigthing filled the little
oil or whatever isinside it, right?
And it's for that wholeunit that you've
got some heat capacity.
How much heat does it take thewarm the entire thing up or
the insides of the thingup by a degree?
It's that number right.
Ordinary heat capacities arein Joule's per Kelvin mole,
not kilojoules, right.
And what that's telling you isprobably your reactants and
products, so the amount ofheat that's involved in
changing the air temperatureis going to be negligible
compared to what happens tothe whole calorimeter.
OK?
So now if we say, OK, we we'vedone this calculation starting
with 2 moles of this, but nowwe're going to be at 0.1 mole,
so we're going to need todivide by 20, right.
So instead of minus 1652, it'sgoing to turn out delta u is
minus 1648 kilojoules, so, andthen divide by twenty, we end
up with minus 82.4 kilojoules,that is, that's the delta u of
reaction for what happens ifyou'd put in not two moles of
this, but 0.1 moleof this, right.
Practical amounts is the reasonI'm using numbers like
this, right.
So now, what's delta T?
Well here's Cv, right, so deltaT is just our minus 10
kilojoules per degree oh sorry,it's our minus 82.4
kilojoules.
That's the heat released,divided by minus 10 or 10
kilojoules per Kelvin, right.
It's 8.2 Kelvin.
In other words, how much doesthe temperature of the whole
thing change when you put anordinary amount of material in
there and run a reaction,right.
Well, what do you do?
You calculate how much heat isreleased in the reaction.
And then what's going to matteris what's the heat
capacity of the whole,of the calorimeter?
I didn't even need to knowthat heat capacity of the
product, right.
Because it's effect the thermalmass of the product is
negligible compared to thethermal mass of the
calorimeter.
Now in real practice, I'll dothe calculation in reverse.
I'll measure how much thetemperature changed in the
calorimeter, right.
I'll know the heat capacity,and what I'll really be
calculating is OK, how much heatmust have been released
in the reaction to make thattemperature change happen?
And that in the case of constantvolume, in this case
that's my delta u, and thenI'll add my little delta n
term to get delta H.
Any questions on calorimetry?
OK.
See you Friday.
We'll finish on calorimetry andthermochemistry and then
we'll start in on one of thereally most difficult topics
that we'll deal with allsemester, which is a second
law and our special functionthat we've seen just a little
bit so far.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659align:start position:0% there's one more property of this thing
align:start position:0%there's one more property of this thing
align:start position:0%there's one more property of this thingthat is important and it's something
align:start position:0%that is important and it's something
align:start position:0%that is important and it's somethingcalled the correspondence principle
align:start position:0%called the correspondence principle
align:start position:0%called the correspondence principlewhich is another classical intuition and
align:start position:0%which is another classical intuition and
align:start position:0%which is another classical intuition andit says that the wave function and it
align:start position:0%it says that the wave function and it
align:start position:0%it says that the wave function and itaddresses the question of what happens
align:start position:0%addresses the question of what happens
align:start position:0%addresses the question of what happensto the amplitude of the wave function it
align:start position:0%to the amplitude of the wave function it
align:start position:0%to the amplitude of the wave function itsays that the wave function should be
align:start position:0%says that the wave function should be
align:start position:0%says that the wave function should belarger in the regions where the particle
align:start position:0%larger in the regions where the particle
align:start position:0%larger in the regions where the particlespends more time so in this problem you
align:start position:0%spends more time so in this problem you
align:start position:0%spends more time so in this problem youhave the particle going here it's
align:start position:0%have the particle going here it's
align:start position:0%have the particle going here it'sbouncing and it's going slowly here it's
align:start position:0%bouncing and it's going slowly here it's
align:start position:0%bouncing and it's going slowly here it'sgoing very fast here so it's very small
align:start position:0%going very fast here so it's very small
align:start position:0%going very fast here so it's very smalltime here spent a lot of time here
align:start position:0%time here spent a lot of time here
align:start position:0%time here spent a lot of time herespends a lot of time here so it should
align:start position:0%spends a lot of time here so it should
align:start position:0%spends a lot of time here so it shouldbe bigger in this region and smaller in
align:start position:0%be bigger in this region and smaller in
align:start position:0%be bigger in this region and smaller inthe regions that spends little time so
align:start position:0%the regions that spends little time so
align:start position:0%the regions that spends little time sothis was folded correspondence principle
align:start position:0%this was folded correspondence principle
align:start position:0%this was folded correspondence principlewhich is a big name for a somewhat vague
align:start position:0%which is a big name for a somewhat vague
align:start position:0%which is a big name for a somewhat vagueidea and but nevertheless is a
align:start position:0%idea and but nevertheless is a
align:start position:0%idea and but nevertheless is ainteresting thing and it's true as well
align:start position:0%interesting thing and it's true as well
align:start position:0%interesting thing and it's true as wellso let me explain this a little more and
align:start position:0%so let me explain this a little more and
align:start position:0%so let me explain this a little more andget the key point about this so we say
align:start position:0%get the key point about this so we say
align:start position:0%get the key point about this so we sayif you have a potential of X and X plus
align:start position:0%if you have a potential of X and X plus
align:start position:0%if you have a potential of X and X plusB X this is the X the probability to be
align:start position:0%B X this is the X the probability to be
align:start position:0%B X this is the X the probability to befound in the X is equal to Y square DX
align:start position:0%found in the X is equal to Y square DX
align:start position:0%found in the X is equal to Y square DXand it's proportional to the darling
align:start position:0%and it's proportional to the darling
align:start position:0%and it's proportional to the darlingspent there so we'll say that it's will
align:start position:0%spent there so we'll say that it's will
align:start position:0%spent there so we'll say that it's willwrite it in the following way it's
align:start position:0%write it in the following way it's
align:start position:0%write it in the following way it'sproportional to the fraction of time
align:start position:0%proportional to the fraction of time
align:start position:0%proportional to the fraction of timespent in DX and that we will call the
align:start position:0%spent in DX and that we will call the
align:start position:0%spent in DX and that we will call thelittle T over the period of the motion
align:start position:0%little T over the period of the motion
align:start position:0%little T over the period of the motionin this oscillation the classical
align:start position:0%in this oscillation the classical
align:start position:0%in this oscillation the classicalparticle is doing that's a fraction of
align:start position:0%particle is doing that's a fraction of
align:start position:0%particle is doing that's a fraction oftime it spends there up to factors of
align:start position:0%time it spends there up to factors of
align:start position:0%time it spends there up to factors oftwo maybe because spends more in there
align:start position:0%two maybe because spends more in there
align:start position:0%two maybe because spends more in thereand therefore o period doesn't matter
align:start position:0%and therefore o period doesn't matter
align:start position:0%and therefore o period doesn't matteranyway approximate it's a classical
align:start position:0%anyway approximate it's a classical
align:start position:0%anyway approximate it's a classicalintuition expressed with the
align:start position:0%intuition expressed with the
align:start position:0%intuition expressed with thecorrespondence principle so this is
align:start position:0%correspondence principle so this is
align:start position:0%correspondence principle so this isequal to DX over V over the velocity the
align:start position:0%equal to DX over V over the velocity the
align:start position:0%equal to DX over V over the velocity theposition dependent velocity T and this
align:start position:0%position dependent velocity T and this
align:start position:0%position dependent velocity T and thisis therefore VX and the velocity is P
align:start position:0%is therefore VX and the velocity is P
align:start position:0%is therefore VX and the velocity is Pover N so the mass over period and the
align:start position:0%over N so the mass over period and the
align:start position:0%over N so the mass over period and themomentum so here we go here is the
align:start position:0%momentum so here we go here is the
align:start position:0%momentum so here we go here is theinteresting thing we found that the
align:start position:0%interesting thing we found that the
align:start position:0%interesting thing we found that themagnitude of the wave function should be
align:start position:0%magnitude of the wave function should be
align:start position:0%magnitude of the wave function should beproportional to 1 over P of X or lambda
align:start position:0%proportional to 1 over P of X or lambda
align:start position:0%proportional to 1 over P of X or lambdaover H bar so then the key result is the
align:start position:0%over H bar so then the key result is the
align:start position:0%over H bar so then the key result is themagnitude of the wave function goes like
align:start position:0%magnitude of the wave function goes like
align:start position:0%magnitude of the wave function goes likethe square root of the position
align:start position:0%the square root of the position
align:start position:0%the square root of the positiondependent the Broglie wavelength so if
align:start position:0%dependent the Broglie wavelength so if
align:start position:0%dependent the Broglie wavelength so ifhere
align:start position:0%
align:start position:0% then the broadly away from is becoming
align:start position:0%then the broadly away from is becoming
align:start position:0%then the broadly away from is becomingbigger because the momentum is becoming
align:start position:0%bigger because the momentum is becoming
align:start position:0%bigger because the momentum is becomingsmaller the logic here says that yes
align:start position:0%smaller the logic here says that yes
align:start position:0%smaller the logic here says that yesindeed in here the particle is spending
align:start position:0%indeed in here the particle is spending
align:start position:0%indeed in here the particle is spendingmore time here so actually I should be
align:start position:0%more time here so actually I should be
align:start position:0%more time here so actually I should bedrawing it a little bigger so when I try
align:start position:0%drawing it a little bigger so when I try
align:start position:0%drawing it a little bigger so when I tryto sketch a wave function in a potential
align:start position:0%to sketch a wave function in a potential
align:start position:0%to sketch a wave function in a potentialthis is my best guess of how it would be
align:start position:0%this is my best guess of how it would be
align:start position:0%this is my best guess of how it would beand you will be doing a lot of numerical
align:start position:0%and you will be doing a lot of numerical
align:start position:0%and you will be doing a lot of numericalexperimentation with Mathematica and get
align:start position:0%experimentation with Mathematica and get
align:start position:0%experimentation with Mathematica and getthat kind of insight they pose position
align:start position:0%that kind of insight they pose position
align:start position:0%that kind of insight they pose positiondependent the broad new wave length as
align:start position:0%dependent the broad new wave length as
align:start position:0%dependent the broad new wave length asyou have it is is a function of the
align:start position:0%you have it is is a function of the
align:start position:0%you have it is is a function of thecanary the local kinetic energy and
align:start position:0%canary the local kinetic energy and
align:start position:0%canary the local kinetic energy andthat's what it gives for you okay so
align:start position:0%that's what it gives for you okay so
align:start position:0%that's what it gives for you okay sothat is one key insight into the plot of
align:start position:0%that is one key insight into the plot of
align:start position:0%that is one key insight into the plot ofthe wave function without solving
align:start position:0%the wave function without solving
align:start position:0%the wave function without solvinganything you can estimate how the wave
align:start position:0%anything you can estimate how the wave
align:start position:0%anything you can estimate how the wavelength goes and probably to what degree
align:start position:0%length goes and probably to what degree
align:start position:0%length goes and probably to what degreethe amplitude goes what else do you know
align:start position:0%the amplitude goes what else do you know
align:start position:0%the amplitude goes what else do you knowthere's a node theorem that we mentioned
align:start position:0%there's a node theorem that we mentioned
align:start position:0%there's a node theorem that we mentionedagain in the case of the square well the
align:start position:0%again in the case of the square well the
align:start position:0%again in the case of the square well theground state the bound state the ground
align:start position:0%ground state the bound state the ground
align:start position:0%ground state the bound state the groundstate bound state is a state without a
align:start position:0%state bound state is a state without a
align:start position:0%state bound state is a state without anode the first excited state has one now
align:start position:0%node the first excited state has one now
align:start position:0%node the first excited state has one nowthat makes excited state has two nodes
align:start position:0%that makes excited state has two nodes
align:start position:0%that makes excited state has two nodesand that's three nodes and the number of
align:start position:0%and that's three nodes and the number of
align:start position:0%and that's three nodes and the number ofnodes increase with that information it
align:start position:0%nodes increase with that information it
align:start position:0%nodes increase with that information italready becomes kind of plausible that
align:start position:0%already becomes kind of plausible that
align:start position:0%already becomes kind of plausible thatyou can sketch a general wave function123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891align:start position:0% So Andrew, before the show, we asked you
align:start position:0%So Andrew, before the show, we asked you
align:start position:0%So Andrew, before the show, we asked youto respond to a question which we'll we
align:start position:0%to respond to a question which we'll we
align:start position:0%to respond to a question which we'll wewill now reveal the answer to. So the
align:start position:0%will now reveal the answer to. So the
align:start position:0%will now reveal the answer to. So thequestion was, should I Sarah Hansen use
align:start position:0%question was, should I Sarah Hansen use
align:start position:0%question was, should I Sarah Hansen usechat GPT right now to plan my
align:start position:0%chat GPT right now to plan my
align:start position:0%chat GPT right now to plan myretirement? What's our answer?
align:start position:0%retirement? What's our answer?
align:start position:0%retirement? What's our answer?Not yet. Okay, please explain. Not yet.
align:start position:0%Not yet. Okay, please explain. Not yet.
align:start position:0%Not yet. Okay, please explain. Not yet.Because large language models are not
align:start position:0%Because large language models are not
align:start position:0%Because large language models are notyet ready to be able to do delegated
align:start position:0%yet ready to be able to do delegated
align:start position:0%yet ready to be able to do delegatedfinancial decision-m for us. M turns out
align:start position:0%financial decision-m for us. M turns out
align:start position:0%financial decision-m for us. M turns outthat saving for retirement is one set of
align:start position:0%that saving for retirement is one set of
align:start position:0%that saving for retirement is one set ofactivities but then spending while in
align:start position:0%activities but then spending while in
align:start position:0%activities but then spending while inretirement that's a whole different set
align:start position:0%retirement that's a whole different set
align:start position:0%retirement that's a whole different setof activities and many of us have become
align:start position:0%of activities and many of us have become
align:start position:0%of activities and many of us have becomegood at saving but you know we've been
align:start position:0%good at saving but you know we've been
align:start position:0%good at saving but you know we've beensuch good savers that we forget that at
align:start position:0%such good savers that we forget that at
align:start position:0%such good savers that we forget that atsome point we need to spend and and we
align:start position:0%some point we need to spend and and we
align:start position:0%some point we need to spend and and wehave to spend at the right rate for the
align:start position:0%have to spend at the right rate for the
align:start position:0%have to spend at the right rate for theright things at the right times. So what
align:start position:0%right things at the right times. So what
align:start position:0%right things at the right times. So whatmy colleagues and I are trying to
align:start position:0%my colleagues and I are trying to
align:start position:0%my colleagues and I are trying tounderstand now is not only what those
align:start position:0%understand now is not only what those
align:start position:0%understand now is not only what thoseoptimal decisions are. I think we now
align:start position:0%optimal decisions are. I think we now
align:start position:0%optimal decisions are. I think we nowhave a lot of information about that.
align:start position:0%have a lot of information about that.
align:start position:0%have a lot of information about that.There's been a lot of research done on
align:start position:0%There's been a lot of research done on
align:start position:0%There's been a lot of research done onthat. But the more challenging issue is
align:start position:0%that. But the more challenging issue is
align:start position:0%that. But the more challenging issue ishow do we communicate that to people who
align:start position:0%how do we communicate that to people who
align:start position:0%how do we communicate that to people whodon't have any finance background and
align:start position:0%don't have any finance background and
align:start position:0%don't have any finance background andand moreover can't afford to hire the
align:start position:0%and moreover can't afford to hire the
align:start position:0%and moreover can't afford to hire thefinancial adviserss that some of the
align:start position:0%financial adviserss that some of the
align:start position:0%financial adviserss that some of thehigher net worth individuals have access
align:start position:0%higher net worth individuals have access
align:start position:0%higher net worth individuals have accessto. So we're working on an AI solution
align:start position:0%to. So we're working on an AI solution
align:start position:0%to. So we're working on an AI solutionuh an AI financial adviser that can
align:start position:0%uh an AI financial adviser that can
align:start position:0%uh an AI financial adviser that cansatisfy the most important criterion of
align:start position:0%satisfy the most important criterion of
align:start position:0%satisfy the most important criterion offinancial advice that regulators impose
align:start position:0%financial advice that regulators impose
align:start position:0%financial advice that regulators imposewhich is something called fiduciary
align:start position:0%which is something called fiduciary
align:start position:0%which is something called fiduciaryduty. A fiduciary is somebody who is
align:start position:0%duty. A fiduciary is somebody who is
align:start position:0%duty. A fiduciary is somebody who isappointed to help you further your
align:start position:0%appointed to help you further your
align:start position:0%appointed to help you further yourgoals, will look out for your best
align:start position:0%goals, will look out for your best
align:start position:0%goals, will look out for your bestinterests uh above and beyond their own.
align:start position:0%interests uh above and beyond their own.
align:start position:0%interests uh above and beyond their own.And so very often people get a little
align:start position:0%And so very often people get a little
align:start position:0%And so very often people get a littlebit concerned about you know financial
align:start position:0%bit concerned about you know financial
align:start position:0%bit concerned about you know financialplanners and other people in the
align:start position:0%planners and other people in the
align:start position:0%planners and other people in thefinancial industry because they don't
align:start position:0%financial industry because they don't
align:start position:0%financial industry because they don'twant to be taken advantage of. And you
align:start position:0%want to be taken advantage of. And you
align:start position:0%want to be taken advantage of. And youknow there are many good financial
align:start position:0%know there are many good financial
align:start position:0%know there are many good financialplanners out there but not everybody can
align:start position:0%planners out there but not everybody can
align:start position:0%planners out there but not everybody canafford one. So the question is can you
align:start position:0%afford one. So the question is can you
align:start position:0%afford one. So the question is can youfor those people who can't afford
align:start position:0%for those people who can't afford
align:start position:0%for those people who can't affordfinancial planning and for the financial
align:start position:0%financial planning and for the financial
align:start position:0%financial planning and for the financialinstitutions that don't want to spend
align:start position:0%institutions that don't want to spend
align:start position:0%institutions that don't want to spendtheir resources of financial advice to
align:start position:0%their resources of financial advice to
align:start position:0%their resources of financial advice tothose who aren't going to generate
align:start position:0%those who aren't going to generate
align:start position:0%those who aren't going to generateenough commissions for them for these
align:start position:0%enough commissions for them for these
align:start position:0%enough commissions for them for thesepeople can we come up with uh financial
align:start position:0%people can we come up with uh financial
align:start position:0%people can we come up with uh financialadvice from an AI platform that
align:start position:0%advice from an AI platform that
align:start position:0%advice from an AI platform thatsatisfies a definition of a fiduciary
align:start position:0%satisfies a definition of a fiduciary
align:start position:0%satisfies a definition of a fiduciarysome some program that you can trust to
align:start position:0%some some program that you can trust to
align:start position:0%some some program that you can trust tolook out for your best interest. We're
align:start position:0%look out for your best interest. We're
align:start position:0%look out for your best interest. We'renot there yet. However, I believe that
align:start position:0%not there yet. However, I believe that
align:start position:0%not there yet. However, I believe thateverybody should use large language
align:start position:0%everybody should use large language
align:start position:0%everybody should use large languagemodels to help them think through
align:start position:0%models to help them think through
align:start position:0%models to help them think throughretirement issues more seriously. For
align:start position:0%retirement issues more seriously. For
align:start position:0%retirement issues more seriously. Forexample, ask JBT, "What are the biggest
align:start position:0%example, ask JBT, "What are the biggest
align:start position:0%example, ask JBT, "What are the biggestissues that I need to focus on for my
align:start position:0%issues that I need to focus on for my
align:start position:0%issues that I need to focus on for myretirement? How much time do I have?
align:start position:0%retirement? How much time do I have?
align:start position:0%retirement? How much time do I have?What kind of ideas and products and
align:start position:0%What kind of ideas and products and
align:start position:0%What kind of ideas and products andservices should I make use of? How do I
align:start position:0%services should I make use of? How do I
align:start position:0%services should I make use of? How do Iget better financial information? How do
align:start position:0%get better financial information? How do
align:start position:0%get better financial information? How doI learn more about these problems?" All
align:start position:0%I learn more about these problems?" All
align:start position:0%I learn more about these problems?" Allof those things I think ChatBT can do a
align:start position:0%of those things I think ChatBT can do a
align:start position:0%of those things I think ChatBT can do apretty good job at, but I wouldn't let
align:start position:0%pretty good job at, but I wouldn't let
align:start position:0%pretty good job at, but I wouldn't letit make your decisions for you. Real
align:start position:0%it make your decisions for you. Real
align:start position:0%it make your decisions for you. Realquestion for you. I know a lot of times
align:start position:0%question for you. I know a lot of times
align:start position:0%question for you. I know a lot of timeswhen I put in a prompt that's um within
align:start position:0%when I put in a prompt that's um within
align:start position:0%when I put in a prompt that's um withinmy domain of expertise, some of it will
align:start position:0%my domain of expertise, some of it will
align:start position:0%my domain of expertise, some of it willbe good, but some of it's kind of
align:start position:0%be good, but some of it's kind of
align:start position:0%be good, but some of it's kind ofgarbage and not all that accurate. So,
align:start position:0%garbage and not all that accurate. So,
align:start position:0%garbage and not all that accurate. So,as a person who doesn't know finance,
align:start position:0%as a person who doesn't know finance,
align:start position:0%as a person who doesn't know finance,how do I know I can trust the answers
align:start position:0%how do I know I can trust the answers
align:start position:0%how do I know I can trust the answersthat are coming back even about those
align:start position:0%that are coming back even about those
align:start position:0%that are coming back even about thosegeneral type of questions? Well, so
align:start position:0%general type of questions? Well, so
align:start position:0%general type of questions? Well, sothat's really why you need to have
align:start position:0%that's really why you need to have
align:start position:0%that's really why you need to haveadditional time and effort employed in
align:start position:0%additional time and effort employed in
align:start position:0%additional time and effort employed inthinking through these issues, not just
align:start position:0%thinking through these issues, not just
align:start position:0%thinking through these issues, not justby yourself, but with friends and
align:start position:0%by yourself, but with friends and
align:start position:0%by yourself, but with friends andfamily. Yeah. So we need human support
align:start position:0%family. Yeah. So we need human support
align:start position:0%family. Yeah. So we need human supportfor thinking about how large language
align:start position:0%for thinking about how large language
align:start position:0%for thinking about how large languagemodels can work either well or in some
align:start position:0%models can work either well or in some
align:start position:0%models can work either well or in somecases not so well. And in any case, if
align:start position:0%cases not so well. And in any case, if
align:start position:0%cases not so well. And in any case, ifyou are planning for your retirement, at
align:start position:0%you are planning for your retirement, at
align:start position:0%you are planning for your retirement, atsome point or another, you're going to
align:start position:0%some point or another, you're going to
align:start position:0%some point or another, you're going tohave to engage with people from the
align:start position:0%have to engage with people from the
align:start position:0%have to engage with people from thefinancial institutions. Yeah. They will
align:start position:0%financial institutions. Yeah. They will
align:start position:0%financial institutions. Yeah. They willbe able to help deal with some of the
align:start position:0%be able to help deal with some of the
align:start position:0%be able to help deal with some of theso-called hallucination problems with
align:start position:0%so-called hallucination problems with
align:start position:0%so-called hallucination problems withthese large language models. But the
align:start position:0%these large language models. But the
align:start position:0%these large language models. But theanswer is like anything else that we do.
align:start position:0%answer is like anything else that we do.
align:start position:0%answer is like anything else that we do.You know, how do you know that your
align:start position:0%You know, how do you know that your
align:start position:0%You know, how do you know that yourdoctor is always giving you the best
align:start position:0%doctor is always giving you the best
align:start position:0%doctor is always giving you the bestinformation? Doctors are very highly
align:start position:0%information? Doctors are very highly
align:start position:0%information? Doctors are very highlytrained, but they do make mistakes. So
align:start position:0%trained, but they do make mistakes. So
align:start position:0%trained, but they do make mistakes. Soget a second opinion, get a third
align:start position:0%get a second opinion, get a third
align:start position:0%get a second opinion, get a thirdopinion, talk to your family members.
align:start position:0%opinion, talk to your family members.
align:start position:0%opinion, talk to your family members.Ultimately, you're going to be
align:start position:0%Ultimately, you're going to be
align:start position:0%Ultimately, you're going to beresponsible for your own decisions. But
align:start position:0%responsible for your own decisions. But
align:start position:0%responsible for your own decisions. Butthe more informed you can be and the
align:start position:0%the more informed you can be and the
align:start position:0%the more informed you can be and themore you can check the uh accuracy of
align:start position:0%more you can check the uh accuracy of
align:start position:0%more you can check the uh accuracy ofthe information and that information
align:start position:0%the information and that information
align:start position:0%the information and that informationcome from humans or from chat bots, I
align:start position:0%come from humans or from chat bots, I
align:start position:0%come from humans or from chat bots, Ithink those are the ways that we've
align:start position:0%think those are the ways that we've
align:start position:0%think those are the ways that we'vedeveloped for making sure that we make
align:start position:0%developed for making sure that we make
align:start position:0%developed for making sure that we makethe best decisions possible.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293The followingcontent is provided
under a CreativeCommons License.
Your support will help MITOpenCourseWare continue
to offer high qualityeducational resources for free.
To make a donation orview additional materials
from hundreds of MIT courses,visit MIT OpenCourseWare
at ocw.mit.edu.
SPEAKER 1: Welcome tothis Vensim tutorial.
As a group of students engagedin the system dynamics seminar
at MIT Sloan, wewill present how
to estimate model parametersand the confidence interval
in a dynamic model using MaximumLikelihood Estimation, MLE,
Likelihood Ratio, LR method.
First, the basics of MLEare described, as well as
the advantages andunderlying assumptions.
Next, the different methodsavailable for finding
confidence intervals ofthe estimated parameters
are discussed.
Then, a step-by-step guideto a parameter estimation
using MLE-- an assessmentof the uncertainty
around parameter estimates usingUnivariant Likelihood Ratio
Method in Vensim-- is provided.
This video is presented to youby William, George, Sergey,
and Jim under the guidance ofProfessor Hazhir Rahmandad.
The literature, Struben,Sterman, and Keith,
highlight that estimating modelparameters and the uncertainty
of these parameters are centralto good dynamic modeling
practice.
Models must be groundedin data if modelers
are to provide reliableadvice to policymakers.
Ideally, one shouldestimate model parameters
using data that are independentof the model behavior.
Often, however, suchdirect estimation
from independentdata is not possible.
In practice, modelersmust frequently
estimate at leastsome model parameters
using historical data itself,finding the set of parameters
that minimize the differencebetween the historical and
simulated time series.
Only then can estimationsof model parameters
and uncertaintiesof these estimations
serve to test modelhypotheses and quantify
important uncertainties, whichare crucial for decision-making
based on modeling outcome.
Therefore, when modelinga system in Vensim,
if the purpose of this modelinvolves numerical testing
or projection, robuststatistical parameter
estimation is necessary.
Confidence intervals alsoserve as an important tool
for decision-making basedon modeling outcomes.
Various approaches areavailable to estimate parameters
in confidence intervals indynamic model, including,
for estimation, thegeneralized methods of moments
in maximum likelihood, andfor confidence intervals,
likelihood-based methodsand bootstrapping.
Maximum Likelihood Estimationis becoming increasingly
important fornonlinear models when
estimating nonlinearparameters that
consist of non-normal,autocorrelated errors,
and heteroscedasticity.
It is simpler to understandthe construct, yet
at the same time,requires relatively little
computational power.
MLE is best suitable forusing historical data
to generate parameterestimation and confidence
intervals as long aserrors of estimation
are independent andidentically distributed.
When using MLE incomplex systems
where these assumptionsare violated,
and/or the analyticallikelihood function
might be difficultto find, one should
use more advanced methods.
This tutorial will notaddress these cases.
As the demonstration willshow, the average laptop
in use in 2014 is capableof running the analysis
in a few minutes or less.
This tutorial is based on thefollowing four references--
"Bootstrapping for confidenceinterval estimation
and hypothesis testing forparameters of system dynamics
models" by Dogan, "A behavioralapproach to feedback loop
dominance analysis" byFord, "Modeling Managerial
Behavior," also known as"The Beer Game" by Sterman,
and a soon-to-be published textby Struben, Sterman, and Keith,
"Parameter and ConfidenceInterval Estimation in Dynamic
Models-- Maximum Likelihoodand Bootstrapping Methods."
More background and explanationon the theory of MLE
can be found in these works.
This tutorial will focus on theapplication of MLE in Vensim.
The literature, Struben,Sterman, and Keith,
stresses thatmodelers must not only
estimate parameter values,but also the uncertainty
in the estimates so theyand others can determine
how much confidence toplace in the estimates
and select appropriate rangesfor sensitivity analysis
in order to assess therobustness of the conclusions.
Estimating confidenceintervals can
be thought of asfinding the shape
of the inverted bowl, Figure 2.
If for a given data set,the likelihood function
for a set of parametersfalls off very steeply
for even small departuresfrom the best estimate,
then one can have confidencethat the true parameters
are close to theestimated value.
As always, assuming themodel is correctly specified,
another maintainedhypothesis are satisfied.
If the likelihoodfalls off only slowly,
other values of the parametersare nearly as likely
as the best estimates and onecannot have much confidence
in the estimated values.
MLE methods providestwo major approaches
to constructing confidenceintervals or confidence
regions.
The first is theasymptotic method, AM,
which assumes that thelikelihood function can
be approximated by a parabolaaround the estimated parameter.
An assumption that is validfor a very large sample.
The second is thelikelihood ratio, LR method.
The LR is the ratio ofthe likelihood for a given
set of parameter values to thelikelihood for the MLE values.
The LR method involves searchingthe actual likelihood surface
to find values of thelikelihood function
that yield a particularvalue for the LR.
That value is derived forthe probability distribution
of the LR and theconfidence level
desired, such as 95% chance thatthe true parameter value lies
within the confidence interval.
This tutorial will use theUnivariate Likelihood Ratio
for determining the MLEcompetence interval in Vensim.
The estimated parameterand competence interval
mean that for a specificpercentage of probability--
usually 95 or 99% thatthe real parameter falls
within the confidence intervalwith the designated percent
possibility.
This is consistent withgeneral applications
of statistics and probability.
The LR our method ofconfidence interval
estimation compared to thelikelihood for the estimated
parameter, theta hat, withthat of an alternative set,
theta star.
The likelihood ratio isdetermined in equation one
as R equals L theta hatdivided by L theta star.
Asymptotically, thelikelihood ratio
falls at chi squaredistribution, equation two.
This is valuable, because theunivariate method requires
no new optimizations oncethe MLE has been found.
The critical parametervalue for all parameters
is then simply usingequation three.
A disadvantage of univariateconfidence interval estimates,
however, is that the parameterspace is not fully explored.
Hence, the effect of interactionbetween the parameters on LL
is ignored,
The tutorial now switchesto a real simulation
using Vensim 6.1.
It will show how thetheory just described
can be applied to estimatingparameters of decision-making
in the Beer Distribution Game.
SPEAKER 2: Hello.
This tutorial is now goingto explore analytics,
by estimating the parametersfor a well-analyzed model
of decision-making used inthe Beer Distribution Game.
The model is described in thepaper, "Modeling Managerial
Behavior-- Misperceptionof Feedback in a Dynamic
Decision-Making Experiment" byProfessor Sterman from 1989.
Participants in the beergame choose how much beer
to order each period ina simulated supply chain.
The challenge is to estimatethe parameters of a proposed
decision rule forparticipant orders.
The screen showsthe simple model
of beer game decision-making.
The ordering decision ruleproposed by Professor Sterman
is the following.
The orders placed every weekare given by the maximum of zero
and the sum of expectedcustomer orders-- the orders
that participantsexpect to receive
next period from theirimmediate customer and inventory
discrepancy.
The inventory discrepancyis the difference
between total desiredinventory and some
of actual on-handinventory and supply
line of on-order inventory.
There are fourparameters that are
used in the model-- [INAUDIBLE],the weight on incoming orders
in demand forecasting,S prime, the desired
on-hand and on-orderinventory, the fraction
of the gap between desired andactual on-hand and on-order
inventory ordered eachweek, and the fraction
of the supply line thesubject accounts for.
As modelers, we don'tknow what the parameters
of the actual game are.
But we have the data for actualorders placed by participants.
And this data is readfrom the Excel spreadsheet
into the variable,actual orders.
Let's start fromsome guesstimates
and assign the following values.
[INAUDIBLE], fractionof discrepancy
between desired andactual inventory,
and supply line fractionare all equal to 0.5.
S prime, the total desiredinventory, is 20 cases of beer.
With these parameters, themodel runs and generates
some alias of theorder placed, which
can be seem on this graph.
Let's compare themagainst the actual orders
observed in the beer game.
We can see that althoughthe trend is generally
correct at the high level, theshape is totally different.
This necessitates the question,how can we effectively measure
the fit of the data?
The typical way is to calculatethe sum of squared errors,
which are differences betweensimulated and actual data
points.
Square, to makesure negative values
don't reduce the total sum.
The basic statisticsof any variable
can be found byusing statistics to
from either objectoutput or bench tool.
For this tutorial, Ihave already defined it.
And in this case, we can see[INAUDIBLE] of sum of squares
of residuals is 1700,with a mean of about 35.
This is pretty farfrom a good fit,
and we can confirmit officially.
Now let's see how torun the optimization
to find the parameters thatwill bring the values of orders
placed as close to theactual orders as possible.
The optimizationcontrol panel is
invoked by using optimizedtool on the toolbar.
When you first open, you haveto specify the file name here.
Also, it is necessary to specifywhat type of optimization
you're going to do.
There are two typesthat can be used.
They differ in the way theyinterpret and calculate
the payoff value.
A payoff is a single numberthat summarize the simulation.
In the case ofthe simulation, it
will be a measureof fit, which can
be a sum of squarederrors between the actual
and the simulatedvalues, or it can
be a true electrical function.
If you are only interestedin finding the best
fit without worrying aboutconfidence intervals,
you can use thecalibration mode.
For calibration, it isnot necessary to define
the payoff functional mode.
Instead, choose the modelvariable and the data variable
with which the modelvariable will be compared.
In Vensim, thenat each time step,
the difference between thedata and the model variable
is multiplied by theweight specified.
And this productis then squared.
This number, whichis always positive,
is then subtractedfrom the payoff,
so that the payoffis always negative.
Maximizing thepayoff means getting
it to be as closeto zero as possible.
However, this is not a truelog-likelihood function,
so the results cannot be used tofind the confidence intervals,
which we need.
Therefore, we're goingto use the policy mode.
For policy mode,the payoff function
must be specified explicitly.
At each time step, thevalue of the variable
or presenting a payoff functionis multiplied by the weight.
Then it is multiplied by timestep and added to the payoff.
The optimizer is designedto maximize the payoff.
So variables, forwhich more is better,
should be givenpositive weights,
and those, for whichless is better,
should be givennegative weights.
Here, [INAUDIBLE] are specifiedin the sum of squared errors.
Residuals are calculated asthe difference between orders
placed and actual ordersat each time step.
This squared valueis then accumulated
in the stock sumof residual square.
The tricky part is the variable,total sum of residual square.
Please note that becauseVensim, in the policy mode,
multiplies the valuesof the payoff function
by the time step,the payoff value
is the weighted combinationof the different payoff
elements integratedover the simulation.
This is not whatwe're looking for.
We are interested in the finalvalue of a variable instead
of the integrated value, becausethe final value is exactly
the total sum of squarederrors the way we defined it.
Here's an example toillustrate the concept.
In this line is astock variable level.
It can be seen that, if wejust use the stock of sum
of residual squared inthe payoff function,
we get the value, which is equalto the area under the curve,
instead of the finalvalue that we need.
[INAUDIBLE] look atonly the final value.
In a model, it is necessaryto introduce new variable
for the payoff function anduse the following equation that
makes its value to bezero at each time step,
except for the final step.
Add the current value of theresidual squared to the stock
level to account for the valueof the current time step.
This effectually ignoresall the intermediate values
and looks only atthe final value.
So far, this isnothing different
from what Vensim was doingin the calibration mode.
We simply replicated what itwould be doing automatically.
In order to get the truelikelihood function-- assuming
normal distributionof errors-- we
need to divide thesum of squared errors
by two variances.
This is what you can see in thetrue low likelihood function
variable.
So far, in thisdemonstration, we
don't know what thestandard deviation of errors
is going to be, because wehaven't optimized anything yet,
so we're going to leavethis variable as 1.
We are going to changeit to the actual value
of the standard deviation oferrors later by the confidence
interval.
Now let's change therun name and go back
to Optimization Setup.
And let's use our log-likelihoodfunction as the payoff element.
Because this ispolicy mode, we don't
need to specify anythingin Compare To field.
For the weight, becausethis is policy mode,
it is necessary toassign a negative value.
This tells Vensimthat we're looking
to minimize the payoff function.
If there are multiplepayoff functions,
the weight value wouldhave been important.
For one function,it doesn't matter.
But we don't wantto change the values
of the log-likelihood functionto calculate true confidence
internal values.
Therefore, the log-likelihoodfunction will not be scaled,
and the weight isgoing to be minus 1.
Next screen, theOptimization Control Panel,
we have to specifythe file name again.
Then, make sure touse multiple starts.
This means theanalysis is less likely
going to be stuckat a local optimum
if the surface is not complete.
If multiple starts israndom, starting points
for any optimizations arepicked randomly and uniformly
over the range ofeach parameter.
Next field, optimizer, tellsVensim to use probable method
to find local minimumfunction at each start.
Technically, you couldignore this parameter
and just rely onrandom starts to find
the values of a payoff function.
However, using multiplestarts together
with optimizationof each time step
produces better andfaster convergence.
The other values are leftat the default levels.
You can read more about theseparameter in Vensim help,
but generally, theycontrol the optimization
and are important forcomplicated models
where simulationtime is significant.
Let's add now the parametersthat Vensim will vary in order
to minimize the payoff function.
Next, make sure Payoff Reportis selected and hit Finish.
For random or other randomvalues of multiple start,
the optimizer willnever stop unless you
click on the Stopbutton to interrupt it.
If you don't choosemultiple starts,
the next few stepsare not necessary
as Vensim would be ableto complete optimization
and sensitivity analysis,which is performed
in the final stepof optimization.
However, as I mentioned,the optimization
can be stuck at alocal optimum, thus
producing some optimal results.
So it is recommended that youuse multiple starts unless you
know the shape ofthe payoff function
and are sure that local optimumis equal to the global optimum.
So having chosenrandom multiple starts,
the question is, when tostop the optimization.
This requires someexperiments and depends
on the shape of yourpayoff function.
In this case, thevalues of the payoff
have been changing quitefast in the beginning
and are now at the samelevel for quite some time.
So it's a good time to attemptto interrupt the optimization
and see if you like the results.
As you can see, the shapeof the orders placed
is much closer to theactual order values.
The statistics showsa much better fit,
with the total sum of squarederror significantly lower
at the level of just 279,with a mean of 5.813.
The values of the rest ofthe optimized parameter
can be looked up in thefile with the same name
as the run name andthe extension out.
We can open this file fromVensim using the Edit File
command from File menu.
So far, we only know theoptimal values, but not
the confidence intervals.
We need now to tell Vensim touse the optimal values found
and calculate the confidenceintervals around them.
We are going to do it by usingthe output of the optimization
and changingoptimization parameters.
To do this, first, we have tomodify the optimization control
parameters and turnof multiple starts,
and optimize them, and saveit as the optimization control
type file, BOC.
Also, we need to change thevalue of standard deviation
to the actual valueto make sure we're
looking at the true values ofthe log-likelihood function.
This value can be found in thestatistics [INAUDIBLE] again.
We use it to change thevariable in the model.
Open the OptimizationControl Panel again,
and leave the payofffunction as it is.
But on the OptimizationControl Screen,
open the file thatwas just created
and check that multiple startsand optimizer are turned off.
In addition, specify [INAUDIBLE]by choosing payoff value
and entering the value bywhich Vensim will change
the optimal likelihood functionin order to find the constants
controls.
Because for likelihoodratio method,
the likelihood ratiois approximated
by the chi-squaredistribution, it
is necessary to find the valueof chi-square distribution
[INAUDIBLE] for 95th percentilefor one degree of freedom,
because we are doingthe univariate analysis.
A disadvantage of univariateconfidence interval estimation
is that the parameter spaceis not fully explored.
Hence, the effect ofinteraction between parameters
and log-likelihoodfunction is ignored.
The value of chi-squared,in this case,
is approximately3.84146, which we're
going to use in thesensitivity field.
Now, the [INAUDIBLE] button.
And as you see,this time, we don't
have to wait as Vensimdoesn't do any optimization.
The results,allocated in the file
that has the name ofthe run-- and the word
sensitive withthe extension tab.
Let's open this file andsee our estimated parameters
and the confidence intervals.
Since we are using too muchmore likelihood function,
the confidence bounds arenot necessarily symmetric.
This is a very simple tutorial.
I hope you are now more familiarwith [INAUDIBLE] for estimating
parameters and confidenceintervals for your models.
Thank you.
SPEAKER 3: A summary of theseven key steps involved
in determining the MLE in Vensimis contained on the slide.
It can be printed andserve as a useful reference
and check for thosewishing to use the method.
MLE has its advantagesand disadvantages
in estimating parameters andtheir confidence intervals
when performingdynamic modeling.
In conclusion,when the condition
of errors being independentand identically distributed
are met, then MLE is a simpleand straightforward method
for estimatingparameters in determining
their statistical fit in systemdynamics models developed
in Vensim.12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538The following content isprovided under a Creative
Commons license.
Your support will help MITOpenCourseWare continue to
offer high quality educationalresources for free.
To make a donation or viewadditional materials from
hundreds of MIT courses, visitMIT OpenCourseWare at
ocw.mit.edu.
PROFESSOR: Hi everyone.
So I am Esther Duflo.
I am the other person whoteaches this class.
You had Abhijit forthe first class.
I am going to start by doinga bit of housekeeping.
Keeping in mind that maybesome people are going to
arrive, so it is yourresponsibility to inform
everybody else of whatI said today.
I got some requests ofclarifying what was the
requirements for thisclass, so I'll just
go through it once.
So we are going to postessay topics.
For 10 topics.
And we are going to givethree or four choices.
You can also makeyour own essays.
Whatever it is.
You do have a chance towrite up to 10 essays.
But you don't need towrite that many.
You are going to be gradedout of the best five.
So you can write any betweenone and ten.
And if you have one you're notgoing to have a very high
grade but--
Any between five and ten andthen we'll just take
the best five, OK?
I think the syllabus said sevenand Abhijit said five,
so I went for theeasier thing.
So that's one thing.
The syllabus also said that wemight not grade all of them
but, actually, we are goingto grade all of them.
So I would suggest that you dothe first one so that you get
used to it.
Traditionally, it has been thecase that when students can
decide how to arrange theirdeadlines, they think that
it's efficient to set all the
deadlines late in the semester.
I can tell you by experiencethat it's actually exposed not
to be such a good idea.
So if I were you, I wouldarrange things to do as many
of them early as possibleso you don't get
panicked by the end.
So that's one.
The other component of therequirement for this class is
to do the readings.
And so to be prepared todiscuss in the class.
One way in which we're goingto ensure that you're doing
the reading is a very,very short pop-quizes
every once in awhile.
It also means you haveto come to class.
It's not a class that'svery difficult.
But one thing that it requiresis that you actually come.
And so we're going to have thoseat any random times.
Very simple.
2, 3, 4 questions just to checkthat you've actually
read the thing.
And today the questions for thefirst topic were already
posted on Stellar.
So you already have access tothem as well as the deadline
for the first thing.
And that's it.
Other than that, I think I gavea version of this spiel
in 14.74 yesterday.
There are two developmentclasses.
If you're wondering which oneyou should be in, this one is
going to be more basedon the readings and
discussion and lectures.
And the other one's going to gomore in the detail of the
techniques of papers andsolving the models and
replicating empiricalpapers, et cetera.
So this one's a betterintroduction and the other one
is better if you already have afair amount of economics and
econometrics.
So that's the trade off.
Other than that, obviously, thethemes that are going to
be covered are going tobe pretty similar.
So my sense is, probably, thatyou don't want to take both at
the same time.
Although you could think oftaking them both in sequence.
Then you would do 73first, 74 second.
I don't recognize any 74students, but you shouldn't
want to take 74 and then 73.
That would be a bit boring.
So you're welcome to shop alittle bit for some time and
then decide what'smore appropriate.
You're welcome to take both butI would have warned you
that there will be some overlapbetween the two.
That's it for housekeeping so ifyou have questions, that's
a good time.
I'm happy to answer questions byemail also but chances are
that if you have a question onthe logistics, a lot of people
share it as well.
Any questions?
No.
The class is being recorded,that's for OpenCourseWare.
But don't worry about sayinganything embarrassing.
That would be edited out.
I'm the only one--
and Abhijit--
is going to be the only ones whoare being recorded on tape
saying things embarrassing.
I'm assuming if you saysomething extremely smart we
can keep it though.
AUDIENCE: [LAUGHTER]
PROFESSOR: So thereis no danger.
Feel free.
Just ignore them.
And hopefully, the idea is thatif it works well, it will
be one of these classes thatpeople can take on their own
down the line.
Anything else?
Any questions?
No questions?
When you speak, at thebeginning, if you at least
would state your name sothat I can possibly
get to know who are.
I can address youby your name.
That would be nice.
And otherwise, we'reready to roll.
Shall we dive in?
Let's dive in.
So, in the video that you sawlast time, you saw quite a few
people who were maybe trapped insome kind of poverty trap.
So for example, there was thisfarmer who, before he was
given fertilizer, hadvery low yield.
And because he hadvery low yield he
didn't have much money.
Because he didn't have muchmoney, he couldn't buy
fertilizer and, therefore,he continued to
have very low yield.
And what the Millennium VillageProject did is to give
him the fertilizer.
And the hope was, that with thisfirst gift of fertilizer,
his yield would increase by asufficient amount that, down
the line, he would be able tobuy his own fertilizer.
And grow more and more maize.
And then, progressively, maybestart feeding his children
better and buying them booksand all of those things you
want to think about.
So in that video, the Sachs andJolie video that you saw
last time, this argument thatthere might be these poverty
traps keep coming overand over again.
So for example, in the Kennedystory with the farmers, you
see it in the schools.
The schools don't have computersso the kids cannot
really learn well.
You start putting computersand kids can learn better.
They will then makemore money.
They will then be able to buycomputers for their schools,
et cetera, et cetera.
So one of the things that weare going to do a lot of in
this class is to try tounderstand when there are such
poverty traps andwhen, in fact,
maybe it's not so obvious.
And for that, we have tounderstand what creates the
conditions for such povertytraps to emerge.
So what I want to do today--
we are going to delve in on oneexample of one particular
poverty trap and howthat could work.
Which is going to be the factthat we are physical,
biological bodies.
But what we're going to goover as a mechanism, it's
going to carry us duringthe entire class.
We are going to have to belooking for the same type of
conditions.
So I want to start witha story of someone
that actually I met.
I met some guy calledPak Solhin.
Pak means mister.
Mister Solhin.
So people in Indonesia don'treally have a first
name and last name.
They just have a name.
And so, for example, Mrs.So-and-so is Ebu--
I would be Ebu Esther,for example.
So this guy is Pak Solhin.
And I met him in a villagein Indonesia--
in Java, which is one of therichest parts of Indonesia.
This is the main island, mostdensely populated--
in the summer of 2008.
In the summer of 2008, I was--
probably for you it's alreadyancient history, it's before
the great collapse of theworld economy and stuff.
--One of the key events at thetime, for the developing
countries in particular,was that the food
prices were very high.
Basically since 2005, foodprices have increased
enormously in the world forreasons that are not fully
understood.
And then they collapsedagain when the whole
economy went berserk.
The world economy went away,the food prices also
collapsed, and they have startedto increase again.
Part of the hunger thatyou see now--
in Egypt, Tunisia, et cetera,all over the Middle East--
part of it is fueled by are-increase in the food prices
which are almost reachingthe 2008 level.
For people in urban areas,this has, of course,
immediately threatenedtheir livelihood.
Because they don'tproduce food.
They buy food.
So as soon as the food pricesincrease, that immediately
affects them.
So the beginning of 2008,2007 you observed this
kind of food riots--
nothing like we are seeingnow in Egypt--
but dis-content in variousurban areas.
And generally, people werewondering what was happening
to food prices.
What people have been thinkingis that there are several
factors that are responsiblefor the
increase of the food prices.
One is there are many morepeople in China and India
making more money.
And as they are making moremoney, not only they eat more
but, more that that,they eat more meat.
And it turns out that to produce1,000 calories of
meat, you need much moregrain than to produce
1,000 calories of grain.
That may sound strange, but itturns out that the cow is not
a very efficient way totransform the calories from
grain into caloriesthat we eat.
The cow has started by usinga lot of it, et cetera.
So to produce 1,000 caloriesof cows, you need much more
than 1,000 caloriesworth of grain.
So as China and India isbecoming richer and eating
more meat, then there is ademand for more grains.
That's one.
The second thing that ishappening is bio-fuels.
With the increase in the worldprices of fuel there is more
and more demand for bio-fuels,so entire strips of Brazil
have been covered intomaize that is being
used to make ethanol.
A third thing is oil is actuallyan input into the
production of food.
Because oil is a very importantinput into the
production of fertilizer.
So as the price of oil increase,the price of
fertilizer increase,and therefore the
price of food increases.
So all of these factors arefundamental forces which
explains why, after the shortdip right after the crisis,
the food prices againstarted to increase.
So that's the backdropof my visit to
this village in Indonesia.
And I met this guy.
And he was all alone.
He has a small, dingy,little house.
And he was a bit depressed,or very depressed.
And why was he depressed?
Well he was depressed becausehe was all alone at home.
And he was all alone at homebecause his wife had gone to
the city to start workingas a maid.
His oldest son had also gone tothe city to start working
as an apprentice on aconstruction site.
And the two young kids werewith the grandparents.
So he was all alone, he didn'thave anything in his house, he
didn't do all that much,and he wasn't happy.
So the question is, whydid that happen?
Why was he not working?
And what he explained to meis that he was not working
because he didn't have a job.
And he didn't have a job becausewhen the fertilizer
prices increased, the farmersthat used to employ him
decided that they had to dosomething to cut costs.
They weren't very sure whetherthey were going to be able to
sell their outputs and they werefacing those increases in
expenditure.
So they decided theyhad to cut costs.
And so they could have doneone of two things.
What could they have done?
Yeah?
AUDIENCE: They could have cutwages or cut the number of
people employed.
PROFESSOR: Right.
They could have cut wages orthey could have cut the number
of people who worked for them.
So of course, if they hadcut wages, he still
would have a job.
But instead, theycut employment.
And why did they cut employment
rather than cut wages?
Well his theory was that if theyhad cut wages, his wages
would've been so low that hewould not have been able to
buy enough food--
especially as the food priceswere rising at the same time--
with the equivalent of one dayof wage that would have been
too little to sustain himselfto be strong enough to
actually work for a whole day.
So seeing that, the employer,instead of cutting the wage
and therefore making him unableto work, then you give
a wage of someone, let'ssay, 1,000 rupiahs--
1,000 rupiahs is not enough toget yourself energetic for a
full day of work.
So you've spent your 1,000rupiahs but the person can't
feed himself fora day of work.
You get nothing out of him,so there's no point.
Yes?
AUDIENCE: The question that cameto my mind was, is there
any truth to his theory?
Did you find any other examplesthat would back up
that that's the reason why thefarmer, that he used to work
on his land, decided to cutjobs instead of wages?
PROFESSOR: Right.
What you're askingis whether--
that's fine-- whether maybeit's a plausible theory.
But is there any truth to it?
We're going to spend a fairamount of time on this very
question, not on Tuesday,but starting Thursday.
In terms of the empirical truthof his theory, in terms
of the biological soundnessof it, it
sounds plausible a priori.
That you need to start with acertain number of calories
just to get going, right?
Your body needs maybe 1,000calories just to survive.
So the first thousand caloriesthat you're consuming are not
very useful to you to help youto actually start exercising.
Then, once you are alive,the next calories
will start being useful.
So a priori, maybethere was some
plausibility to this theory.
That's only one theory.
So that means that helost his job so he
couldn't do much of anything.
He was not doing nothing,otherwise I would
not have met him.
He would be dead.
But he was doing things thatwas not taking too
much effort for him.
For example, he was sitting nextto the bank of a lake and
he was fishing.
He was getting a littlebit of rice from
the government program.
He was getting a little bitof meals from his brother.
But he was not reallyliving a full life.
He was sort of surviving.
So at the heart ofhis theory--
and I think your question ofwhether this is true or not is
a very interesting questionwhich certainly came to my
mind when I was talkingto him--
but at the heart of thistheory was this purely
biological mechanism.
And then on top of thisbiological mechanism, other
things crept up.
One is the fact that he was notdoing anything, and that
his kids were gone.
That made him depressed sothen it gave him very low
energy to actuallyyou do anything.
So even if his theory waswrong, he sort of became
trapped in a poverty trap thatmay have been more of a
psychological one.
Because he was there, sittingall alone in his hut, unable
to do anything, thinking thathe was worthless, therefore,
in some sense, becomingworthless.
There are other parts of hisstories where we start seeing
other bits of poverty trap.
For example, what happenedwith his kid.
So the kid who had to drop outof school to start working as
a construction worker wasactually a bright kid.
So that's another placewhere you see now an
inter-generationalpoverty trap.
Where because the parents arepoor, the kid has to drop out
of school because he has to goto work and therefore himself
will probably make lessmoney down the line.
And that's another thing wherewe have to ask exactly the
same question you wereasking before.
Is it an isolated example?
Or is it something thatis generalized.
That it's actually somethinglike the inability to work for
the parents, or the lack ofincome, that forces kids to
stay out of school thatcould have otherwise
have gotten an education.
That's another place where wecan find, potentially, a
poverty trap.
Where the kid gotsome schools.
He got a few years of school butmaybe not enough for it to
be sufficient for him toactually get a good
job down the line.
And for himself, he couldn'twork as a construction worker
because he was too weak for thebasic jobs which require
some strength, and too unskilledfor the better jobs,
and too old to be an apprenticelike his kid.
He was kind of trapped.
So what is happening in thisstory that you would think--
even if we accept the biologicalmechanism, which I
want to go back into indetail in a moment--
something else couldhave happened.
So for example--
if we're thinking that hisbeing out of a job is a
temporary phenomenon--
maybe he could have gotten aloan to sustain his family so
that the kid could at least stayin school until the time
for him to graduate.
Then at least you wouldn'thave that
inter-generational trap.
So at the heart of it, we havethis biological phenomenon and
then other things sort of creepin that maintain him in
this position that createsthe poverty trap.
So what I want to do nowis go through the
biological story in detail.
And then we're going to see howthe other things add up,
creep in, and createthat trap.
So let's go through thebiological poverty trap.
I should say that it'sone of the most
ancient ideas in economics.
A very old idea .
It dates at leastfrom the 1950s.
And this is an oldidea exactly in
this form of the biology.
So the idea is that the firstfew calories that you get to
consume are used by yourbody just to survive.
So they don't make you strong.
And then, when you start eatingenough to survive, the
next calories start givingyou strength.
So that's when you can startworking out or you can work.
So someone who is very poor,like Pak Solhin, may not have
enough to eat to be veryproductive but if he could eat
more, then he wouldbecome productive.
So at the heart of this is thisidea of what they call a
capacity curve.
And a capacity curve hassomething like this shape.
It relates how much effort youcan exercise to how much
income you have, and, of course,how much income you
have is supposed to be relatedto how much you consume.
So what is the assumption thatis underlying the fact I have
put income here on the x-axis?
Yep?
AUDIENCE: The more money youhave the more you eat.
PROFESSOR: Right.
The more money you havethe more you eat.
So for example, the simplestcase would be, all
you have, you eat.
Of course, we know that it's nottrue because you also need
to take care of yourbasic needs.
You need to clothe yourself.
You need to pay your children'sschool fee.
Maybe you need somethingfor your housing.
So maybe you will only consumea part of your income.
But maybe some fractionof what you have,
you're going to eat.
So that creates a relationshipbetween the income you have
today and how muchyou get to eat.
So instead of income here, wecould have calories consumed.
And one first big question thatwe'll have to answer next
time is, how steep is thisrelationship between how much
income people have and howmuch they are eating.
Here we are assuming that thereis some relationship and
it's formidably steep enough.
So whenever you have income,you start eating.
And what we have here on theleft, on the x-axis is the
work capacity.
So how many bushels of wheatare you able to harvest or
something like that.
How many trenches can you dig.
So the work capacity,you think of
it as physical output.
But of course, there could bea relationship between this
physical output and yourincome tomorrow.
Because, for example, you couldbe paid by the piece.
So if you're paid by the piece,however many bushel of
wheat you harvest, youget that much income.
That creates the work capacityand your income tomorrow are
related one for one.
Right?
So here we have incometoday, work capacity.
And instead, we couldhave income
today and income tomorrow.
OK?
Now why is this shapedthe way it is?
What does the shape represent?
AUDIENCE: The left part is thepart where your body is just
able to survive.
And then afterwards he gets achance to actually make more
money tomorrow because[INAUDIBLE].
PROFESSOR: Exactly.
So the left part is the firstpart where you're just getting
enough to survive.
You are just eatingenough to survive.
So the first few calories aregood because they keep you
alive so you can actuallymove about.
But after that it just keeps youat this kind of low level.
Right?
And then you start having, maybe1,200, 1,500 calories.
And then suddenly, it's a goodbreakfast you're eating before
going out for your run.
It shoots up and then, why doesit flatten out again?
Yeah?
AUDIENCE: Because after a whileyou're satisfied and it
levels out once [INAUDIBLE].
PROFESSOR: Right.
After a while it satisfyand it levels out.
And if we had continued thecurve, what would happen?
It would really go down.
Just think of post-Thanksgivingslump and
she probably gets a deepdown going line.
So that creates this kind offunny shape between you're
income today and your workcapacity and, therefore,
between your income today andyour income tomorrow.
Or it could be within a week orsomething like that, right?
Which seems to have a reasonablebiological sense.
Now what happened when theprice of food went up?
What does it do to thework capacity?
Yeah?
AUDIENCE: I suppose it goes downbecause those people have
to spend more of theirincome on food and
then buy less food.
PROFESSOR: Exactly.
So what happens when the priceof food goes up is that, in
terms of bushels of wheat,that's the same thing.
But in terms of actual incomethat the bushel of wheat
transform into-- howmuch income-- that
creates a jump down.
Because to go from income towork capacity, to create from
income today to calorie,that's more expensive.
So the curve shifts down becausefor every dollar that
you spend, or rupiah that youspend on food, that's fewer
calories and, therefore, thatshifts down whatever you are
able to achieve in termsof capacity, right?
So if we have it in the formof income to work capacity,
the prices of food going upmakes the curve going down.
Yeah?
AUDIENCE: Could you also, ifyou were talking about
students, instead of saying theword capacity, I'd put the
way you pay attention?
Would they pay more attentionif they ate more?
Or is it just physical spendingthat [INAUDIBLE]
PROFESSOR: Right.
Here, if we're thinking of PakSolhin, we are thinking about
physical [INAUDIBLE].
But if we're thinking aboutPak Solhin's children, for
example, it could well be their
capacity to focus in class.
And it could easily havethe same shape.
In fact, there are other thingthat competes also for
calories for children.
For example, whether or not theyhave intestinal worms.
And the intestinal worms alsoshift your work capacity, your
attention capacity,down because they
are eating your food.
Therefore, that tends to makethe kids anemic and less
likely to be listening.
That's exactly right.
Yeah?
AUDIENCE: And so increase infood prices, does that cause a
shift or a stretch?
PROFESSOR: It specificallycauses shift and a--
how would you call it,west-southwest, right?--
It is both a shiftand a stretch.
Which is, it will take more ofyour income today to have you
switch to the--
think of it going this way.
And alternatively,what happens when
the wages go down?
That's another thingwe can look at.
What happens to thework capacity?
Not to the work capacity, but ifwe put income on the y-axis
now and the wages go down?
AUDIENCE: It shifts lower.
PROFESSOR: It again will do thesame thing because now the
same work capacity willtranslate into less income.
So what was happening inIndonesia in 2008 was, on the
one hand, food priceswere going up.
On the other hand, farmers werestressed out because the
input prices were going up.
So at the same time they wantedto reduce the wages
when the prices wereincreased.
And both of these phenomenoncreate this southwest shift in
the capacity curve.
Yeah?
AUDIENCE: Why didn't the farmersjust increase the
prices they were selling thecrops at [INAUDIBLE]?
PROFESSOR: That's an excellentquestion, so why didn't the
farmer just increasethe prices?
The thing is that with theagricultural cycle, you
produce and then-- so you putyour fertilizer in the ground,
then you put your cropin the ground and
then you wait around.
Then the crop comes andyou try to sell it.
And you're exactly right, thefact that the input prices
have gone up while the demand,in principal, would
not have gone up.
It would have meant that thefood prices sold by the farmer
would probably go up.
But what happened is that theyweren't very sure whether or
not the food prices were goingto go up by the time they sold
their food in proportionto the input prices.
So the situation that prevailedin 2008 is a lot of
volatility.
The prices were high but theywere also increasing.
And that was true for the inputprices and that was true
for the output prices.
And when you were talking tothe farmer, everybody felt
that they were holding theshort end of the stick.
The farmers were saying,well, yes, the
food prices will increase.
But we don't know whether itwill increase enough to cover
our input prices.
Moreover, the farmers foundit difficult to
get loans, for example.
So even if they know that theprices are going to go up for
that input in the future, in themeantime, they still have
to buy the fertilizer.
So they sort of hadto cut costs now.
So this is a little bitwhat was happening.
It's a mismatch between theprice you have to pay for the
fertilizer today.
And you're going to realizethe output in the future.
So that creates this uncertaintyplus the fact that
you need to finance itone way or the other.
Which is why, at that time,there were two things going on
which were both againstthe poor guy.
So this is what we have withthe capacity curve.
So we've had this reasoning forfood but let's think a bit
about other reasons--
forget that we are talking aboutphysical work capacity.
Think about other reasons whythere might be a relationship
between your income todayand an income at some
point in the future.
Think of the next generation,think of next month, or
anything like that.
Can you think of other reasonswhy this kind of funnily
shaped curve might appear?
So food might be one.
What would be other reasons whythis funnily shaped curve
might appear?
Yeah?
AUDIENCE: Over the longterm, maybe education.
PROFESSOR: So let's go throughthe education one.
Why do you think--
AUDIENCE: Before, the less longyou can afford to keep
you're children in school.
And so their income capacityisn't as low as yours was.
But the richer you are, the moreschooling you can get and
the higher income youcan [INAUDIBLE].
PROFESSOR: So this is right.
That there is probably arelationship between how long
you can keep thekid in school--
because if there are school feesyou might or might not be
able to afford them.
Or there might also be anopportunity cost for the child
to be in school.
Like Pak Solhin's son couldn'tafford to be in school because
he had to work.
So I think it's not verycontroversial to say there
might be a relationship betweenyour income today and
how long your kid willstay in school.
And then, there is probably arelationship between how long
your kids can stay in schooland their income.
Which will create a relationshipbetween your
income today and the incomeof the child.
So that creates a relationshipof some form or another.
But what would be necessary forthis relationship to have
this S-shape?
So what you have explained, Ithink and I think most people
would agree--
we can ask around-- but I thinkwhat you have explained
clearly is that we might expectthrough education--
a relationship betweenincome today and
income of the children.
Now what else do you need forthat relationship to have this
funny shape?
AUDIENCE: At the start, youneed to invest more.
So like if they just learn tofifth grade, or if they just
learn to second grade, it isn'tgoing to make that much
of a difference.
But as they finish middle schooland high school, it's a
much steeper curve.
But then, going to collegeversus Ph.D. levels off.
PROFESSOR: Yeah.
Sadly, going to a Ph.D usuallyleads to a drop in income
compared to having goneto a Master's.
Especially if you choosethe Master's properly.
But this is exactlythat, which is we
need one more thing.
What you're sayingis exactly right.
What's your name?
AUDIENCE: Yousef.
PROFESSOR: Yousef.
But what she told us is youneed one more thing.
You also need for the benefitsof the first few years of
education to be relativelylow.
And that's an empirical questionthat goes back to the
plausibility question thatyou were asking earlier.
Is it the case that the firstfew years of education are
useless, or not very useful?
Or is it the case that everyyear of education
is a year of education.
And there will be an S-shapedbased on education if the
first few years of educationare not that useful.
And [INAUDIBLE], if in fact,even the first few years of
education are that useful.
I'm not going to answerthis question now.
But we are going to answer it indue course, whether or not
this is the case.
You see that this is notsomething that we can just
think of in the abstract.
We have to find out.
There could be reasonsthe other way.
You could feel, for example,that the first years of
education are amazingly usefulbecause this is when
you learn to read.
And once you know how to read,who cares about all of these
things that I'm trying to teachyou because you can
teach yourself everythingyou need to know.
Or you could think thateducation is not useful unless
you have a secondary degree.
Because that's what opensthe door to you for
various formal jobs.
Right?
It could easily cut oneway or the other.
I don't know if you guyshave an insight.
For example, whatis your view?
Do you think that this is likelythat the first few
years of education arenot so useful or--
AUDIENCE: I think the firstfew years are very useful
because some peoplelearn to develop,
like, love for reading.
And actually realize that theycan learn things by reading
[INAUDIBLE].
PROFESSOR: So for example, youthink that, the first few
years of educationare very useful.
So there would be a relationshipbetween income
today and incomeof my children.
But it wouldn't have this shapeif that is the case.
In fact, it might have acompletely opposite shape
where it's more like an invertedL as opposed to an S.
So education would be one.
What would be anotherpossibility for this funnily
looking shape to appear betweenincome today and
income at some pointin the future?
Is it on my income in the futureor the income of my
children or my incomenext year?
What would be other sourcesof such shapes?
Yeah?
AUDIENCE: Access in knowledgeof, like, the job market.
In the sense that if you wereraised in a family that's a
higher income and so, therefore,your parents would
teach you more from a youngerage and would allow you to
have a higher income.
PROFESSOR: Right.
So for example, for accessto the job market, it is
possible-- if I can rephrasewhat you are saying-- that
people who live in a village,their horizon is the village.
Where they are growingwhatever.
They are growing stuff and theyare making some income.
But they don't have theperspective in mind that they
could go to the city wherethere a number
of other jobs available.
So in that case, for people whohave very little money and
live in the village, well, theirchildren will again also
live in the village and havevery little money.
If suddenly something opens thepossibility to go to the
city-- for example, someonecomes into some money, gets
the option to buy a trainticket, goes to the city and
figures out the options there.
Then suddenly you have accessto a number of other
opportunities, potentiallymuch more rewarding, that
would potentially createthis S-shape.
Where the fact of being poormeans that you live in a
relatively restrictedenvironment.
You stay there.
And then when you become just abit richer, that opens this
opportunity that helps youyou become much richer.
That's a very nice example.
Yeah?
AUDIENCE: Another option issavings which depends on how
much income you have.
Because the more you save, themore you invest and the higher
income producing activities.
So the poor people haveno money to save so
they're stuck there.
But as they get more income youcan afford to save more
and invest more and it pushesyour future earnings.
PROFESSOR: Right.
So saving is a very interestingexample.
Again you could say-- well,suppose for example, that
people saved some fixed fractionof their income.
Then if I have more incometoday I will save more.
Therefore, I will invest more,therefore, I will be richer in
the future.
Now if it was a fixed fractionof my income, again, I would
definitely see a relationshipbetween income today and
income tomorrow just becauseI save more.
But if it's a fixed fraction ofmy income, what else do I
need for this S-shape to come?
Yes?
AUDIENCE: You need for poorpeople to not be able to save
this fraction.
Because they, for instance,spend their money on food or
things that they needto buy today.
And so are either a fractionof [INAUDIBLE]
income or it's just lowerfor poor people.
PROFESSOR: Right.
So the first possibility foran S-shape to appear due to
savings is that actually peopledo not save a fixed
fraction of their income.
Is that for some reason, thepoor save less than the rich.
So if that's the case-- andlet's talk through whether we
have reasons to think thatthe poor would save
less than the rich--
but let's first take it as givenfor a moment, and let's
assume the poor saveless than the rich.
And if that's the case--
assume the poor save nothing--
then if you're very poor, youhave no income tomorrow coming
out of investments.
And then if you start savingwhen you become a little
richer and that money isinvested, that starts creating
some return for that money andyou get into this steeper part
of the S-shape.
So that's a first mechanismthrough which savings could
create a relationship betweenyour income today and your
income tomorrow that wouldhave this S-shape.
Now what we do have to explainis why is it the case that the
poor would be able to saveless than the rich?
And that is something that, Ithink, we all have in mind.
Say, yes, of course, thepoor don't save because
they have no money.
But one thing I want you to keepin mind is that the poor
have no money but theyhave a present
and they have a future.
So unless they think that theywill have more money tomorrow
or unless, for some reason, theyare extremely impatient,
then the poor should wantto save as well.
Because, of course, todaythey have very
little money for food.
But tomorrow they'll have verylittle for food as well.
So we need to go a littlefurther than to say, well, of
course the poor save becausethey have no money.
Right?
Again, let's not go intothe details of that.
I think there are good reasonsto think that the poor would
be less able to savethan the rich.
And we're going to havea whole set of
lectures about that.
But just keep in mind that it'snot so obvious that the
poor would be lesslikely to save.
Another--
sorry, you wanted to talk.
AUDIENCE: [INAUDIBLE]
access to healthcareand medicine.
PROFESSOR: Right.
So let's go to health.
Let's finish savingand then I'll go
back to you for health.
Another reason why there mightbe a relationship between
income today and incometomorrow of
this form due to savings.
Suppose that the poor and therich saved both a proportion
of their income.
There could still be arelationship like that.
Yeah?
AUDIENCE: The rich could be ableto invest their savings
more effectively.
PROFESSOR: Exactly.
It could be that the rich haveaccess to better investment
opportunity.
For example, it could be thatthe bank is just not
interested in very smallsaving accounts.
And in fact, it's the casethat the banks are not
interested in very smallsaving accounts.
Because as soon as you're a bankand you take the saving
of someone, the government is onyour back to make sure that
you don't run awaywith the saving--
which is a good idea--but that costs money.
So maintaining a saving accountfor someone costs some
amount of money.
And regardless of the size ofthe account, it still costs
the same money because you needto do all the paperwork.
So as a result, if you come to abank with your five rupiahs,
the bank is going to say, thankyou, but I don't want
your five rupiahs.
Whereas, if you come with your5,000 rupiahs they're, sure,
I'm going to put it in this verynice account for you with
a nice return.
So that's one reasonright there.
That the poor might have to saveunder the mattress where
the money might disappear.
Where it might be stolen.
And so the return onsaving for the poor
might be very low.
It might even be negative.
Whereas, the return for the richmight be higher, either
because they have access to thissavings account or they
can, for example, starta small business.
For example, when you want tostart a small business, is it
worthwhile starting a tinybusiness with almost nothing?
Maybe not.
Maybe it needs to be largeenough for it to be
worthwhile.
So even if the poor and therich were to save the same
amount proportionally, theremight still be something
related, not to how much theysave, but what's the
productivity of those savings.
You were talking abouthealth care.
Why don't you tell us whatyou're thinking about
healthcare.
AUDIENCE: So at lower incomesyou can't really
buy a lot of medicine.
And maybe you can reach a pointwhere you can start
buying medicines orbuying healthcare.
And maybe towards the end whenyou have higher income, it
levels off because you don'tencounter the health problems
that you might at low incomesin the first place.
PROFESSOR: Right.
So healthcare might be anothersource of that.
For example, if you're verypoor, you might not be able to
purchase very simple, relativelycheap technologies
that prevent you fromgetting sick.
It could be a coveringfor your water.
It could be a water filter.
It could be a bed net to put ontop of your kids when they
sleep so that they don'tget malaria.
So all of these things mightall be like some fixed
investment that, if youcan't afford them, you
can't afford them.
And then you are getting sickmore, therefore you are less
productive, therefore you makeless money, et cetera.
So that's another source wherewe would have this S-shape.
Then we again have to thinkabout these goods as things
that are a little bit lumpy.
Like a bed net, for example.
Or a water filter.
That you can either affordor not afford.
So if you have enough money youafford it and then you can
be generally healthier.
You don't lose all your caloriesto diarrhea and other
nice things like that.
And if you're poor you wouldbe sick all the time.
Or paying for the doctors,for example.
So for example, if someone issick and very poor they might
not be able to payfor the doctor.
Then they'll stay sick sothey can't earn money.
And again, a doctor visit is onebig lump investment which
you may or may not beable to afford.
That would be another sourceof an S-shape like that.
So the reason why I went throughall of these examples
is that we are going to have alot to say about the exact
story that Pak Solhin toldme about the food.
Whether this was a real storyin this case or whether it's
some stuff that he was tellinghimself to explain the
situation he was in but, really,there was something
else behind his problemslike depression or
something like that.
But the first time it wasformalized was in this context
of nutrition.
And it's very natural to thinkof it in the context of
nutrition but it could apply.
And a very important part of thediscussion that I want you
to keep in mind is that it's notenough for there to be a
relationship between incometoday and income tomorrow.
To create a povertytrap it needs to
have this funny shape.
And I want to discuss why.
So the way that we are going tothink of it is we are going
to think about whatis the dynamic of
someone's income over time.
So let's start with this picturewhich brings inherited
income on the x-axis--
so think of it asincome today--
and income from work.
What I have plotted hereis this S-shaped curve.
Think of it, for example, ascoming from nutrition.
But any of the examples that youtalked about if you don't
like the nutrition one.
And the line that goes throughthe diagonal is
the 45-degree line.
So why is the 45-degree linerelevant and interesting here
is that, , on the 45-degreeline, income today is the same
as income tomorrow.
Right, so we're goingto make use of it.
Now I want to try and look atthe dynamic of someone's
income over time.
So suppose someone got thislittle income, y prime 0.
Where do I read their incomein period one?
Yep?
AUDIENCE: It would be goingfrom curvy line to the
45-degree line horizontally.
PROFESSOR: Exactly.
So to go from income y prime 0to y1, I go on the vertical
line up to the curve.
That tells me this is whatsomeone who starts his life
with some income, yi0, can makehis decision about how
much to eat, creates somecalories, creates some work
capacity, goes to work,generates an income that he
takes home.
That's the income that wehave on the curvy line.
And then I want to say, well,that becomes y1, right?
And then y1 is going to becomethe y0 of tomorrow.
So to find it, I'm doing exactlywhat you're saying
which is I'm goinghorizontally to
the 45-degree line.
And I could go down again.
So from y0, I go to y1.
Then horizontallyon the 45-degree
line gives me y1 again.
And then how do I find y2?
I go vertical again,that gives me y2.
I go horizontal again tothe degree line and I
continue like that.
And where will I end up?
AUDIENCE: Where the twocurves intersect.
PROFESSOR: I will end up atthe intersection of the
45-degree line and theS-shape curve, right?
At the first intersection.
Now what if I start witha higher income.
If I start with the incomey 0 double prime.
I go vertical to the curve.
That gives me y1 double prime.
I have to go horizontallyto find it when it
becomes income tomorrow.
Again vertically, et cetera.
And I again end up at theintersection of the 45-degree
line and the S-shape curvebut now it's a higher
intersection.
Now what happens if I start atthe sixth point in the middle
over there?
Which way will that go?
AUDIENCE: That will go down.
PROFESSOR: That will go down.
If I go to the sixth point,I go vertical
then left then down.
So what is the key point afterwhich I will start going to
the high point?
Yeah?
AUDIENCE: Where it intersectsthe 45-degree line again.
PROFESSOR: So the intersectionfrom below.
So at this point P where thecapacity curve intersects the
45-degree line from below.
Anything to the right goesto the high steady state.
Anything to the left goesto the low steady state.
So this possibility that thereare two steady states
depending on where you startfrom is the formalization of
the poverty curve.
Which is anybody who is poorerthan the unstable equilibrium
over there--
if someone starts with exactlythis income, where do they go?
If someone starts with exactlythe intersection of the
45-degree line and the S-shapecurve, do they go down or do
they go up?
They just stay there.
So it is also a steady state butit's a very unstable one.
If anything happens, anysmall perturbation.
If they go slightlyto the left, they
go all the way down.
If they go slightly to theright, they go all the way up.
So we call that an unstablestatistic.
So there is one unstablestatistic and two stable ones.
And those two stable ones iswhat we're talking about.
They could be a poverty trap.
Yes?
AUDIENCE: Why are they movingtoward that 45-degree line?
PROFESSOR: Can someoneexplain that?
You want to know why we aregoing horizontal to the
45-degree line?
Yeah.
Can someone explain that once?
And then I'll re-explainit as well.
AUDIENCE: Because yesterday'sincome is going to be your
today's income.
And your today's incomeis going to be
your tomorrow's income.
So if we start with a valuezero, so that value
can come from work.
It's going to be tomorrow's[INAUDIBLE].
So if you get the income fromwork, the y-value of that will
be your incurred incometomorrow.
So you have to go tothe 45-degree line.
PROFESSOR: Exactly.
The reason why we are using thehorizontal line is that--
so from y0, I knowthat I go to y1.
And then I want to know,from y1 where do I go?
For that I need to puty1 on the x-axis.
And the 45-degree line allowsme to do that because the
45-degree line is where thevertical is equal to the
horizontal.
So I'm going right to find y1on the horizontal line which
helps me to find iton the x-axis.
And then I know that fromy1, I go to y2.
And then again horizontal, andthen again vertical, and then
again horizontal.
That makes sense?
Is it clear for everybody?
It would be better if we wereall on the same page.
That we have that here.
This is not obvious.
It's not meant to be obvious.
Yeah?
AUDIENCE: [INAUDIBLE]
y0 or y1--
PROFESSOR: So, the firstone you mean?
AUDIENCE: Oh, is thatbecause that's the--
PROFESSOR: That's thecapacity curve.
Exactly.
Your y0 is what youstart from.
And then the curve gives uswhat is the relationship
between income today andincome tomorrow.
So think of it withthe food example.
You start with some income.
You decide how much to eat--let's say you eat
80 percent of it--
you eat it.
That gives you some strength.
You go work.
That gives you some wage.
That's your income from work.
AUDIENCE: And then, when we'redetermining the distance
between y0 and y1, is thatdetermined just by the
distance from the curveto the 45-degree line?
PROFESSOR: Exactly.
So y0 goes to y1.
Do you understand the firstvertical step here right?
y0 goes to y1 for thefirst vertical step.
And then we're looking for y1 onthe vertical axis, but now
we need to find a wayto put it back on
the horizontal axis.
And the 45-degree line helps usto do that because on the
45-degree line the verticaldistance is the same as the
horizontal distance.
So the horizontal line is justa trick to help us find where
is y1 on the horizontal axis,which helps us go to y2.
That make sense?
So from y0, I go toy1 vertically --
that's just a capacity curve.
Then the horizontal lineis just to the left.
Now what is the new y0?
The new y0 is y1.
And then again, we govertically to y2.
Horizontally to find it onthe horizontal axis,
vertically, et cetera.
Yeah?
AUDIENCE: What's theunit of time--
PROFESSOR: The unit of time iswhatever we think is the right
unit of time depending on theproblem we're looking at.
So, for example, if it is food,that might be the date.
If it's the income of yourchildren, that may be a
generation.
In some sense, once we havedecided what problem we are
looking at, the unit of timedoesn't really matter.
We adjust to it.
Yeah?
AUDIENCE: How did you determinewhich states were
stable and which oneswere not stable?
PROFESSOR: Well, look at it,and for any point, you're
figuring out whether or notyou're going to stay here.
Whether things tend to bring youback here or things tend
to pull you away from it.
Think of it, for example,as magnets.
Either they cling together orthey are trying to go away.
Or think of it as a stick.
Does it stay vertical ordoes it fall down?
Suppose that we start withincome and the first income we
are getting is y3.
That's going to pull you.
You're going to go verticala little bit, horizontal a
little bit, et cetera.
That's going to pullyou exactly
at that first statistic.
Right?
So now, if you start from thefirst statistic and something
slightly pushes you away fromit, it is going to bring you
back to it.
If you are a little bit richerthan the first statistic,
you're going to, again, go backto the first statistic.
If you're slightly richer,it's pulling you down.
If you're slightly poorer,it's pulling you up.
Now, if you're looking at theone that's here on top, that's
the same thing.
At the very top, if you'reslightly poorer, it's pulling
you up towards it.
If you're slightly richer,it's pulling you
down towards it.
Now if you look at the one wherethe line intersects from
below, if you're exactlyat it, you stay at it.
But if you're slightly poorer,where do you go?
All the way down.
If you're slightly richer,all the way up.
So that one is not stable.
So basically, you follow yourarrows wherever they are going
to take you.
OK?
Any more question?
Yeah?
AUDIENCE: What are theaxis labels for it?
Like income from work.
I thought we were trying toconnect on a time scale--
PROFESSOR: Right, so itdoesn't really matter.
Think of it as income todayversus income tomorrow.
Or income that you inheritedversus income
that you create yourself.
Whatever scales we aretalking about.
So in the food example, it wouldbe the income you had at
the end of today.
And then, that would beinherited income you inherited
from yesterday.
And then the income from workwould be the income of the end
of the day.
So here the scale wouldbe one day.
In the education example, youwould go from your income to
what your children will make.
That's a whole generation.
So the time scale, it dependson the problem.
I think in the food example,it's useful to think of a day.
In the health exampleit might be a month.
AUDIENCE: Why is there atendency to move to the
intersections?
PROFESSOR: Well, that's wherethe arrows are pulling you,
aren't they?
Because the closer ofthe intersection
is where you are--
first, you go from whereveryou start to the curve.
And then the curve istrying to go back to
the 45-degree line.
So the closer you areto the intersection,
the less you move.
Which is why thisis, everything
pulls you back there.
--Not all the intersections.
No, it's the stable ones.
The one to the left and theone to the right, not the
middle one.
Which you have a tendencyto go away from.
Any other questionson how this works?
Yeah?
AUDIENCE: How do you guysactually gather the data to
[INAUDIBLE]?
PROFESSOR: So that's anexcellent question.
Right now, I've justasserted that it's
the form of the curve.
And then we have to go back tothe question that a neighbor--
whose name I don't know-- askedearlier, which is what
is, actually, the shapeof the curve?
And that's a key question.
That's going back to thequestions we were asking in
the case of education,for example.
Is the relationship betweenincome today and income
tomorrow due to education?
Is it really of this shape oris it of another shape?
That's what we have toassert empirically.
And it's going to haveto be gathered on a
case-by-case example.
So for example, for food.
To create this shape, to knowwhat is the form of the shape,
we are going to needto know two things.
We need to know what is therelationship between how much
income you have and how manycalories you consume.
And what is the relationshipbetween the calories you
consume and yourwork capacity?
And the product of the twowill be that curve.
And the shape it has--
God knows, I mean, actually evenwe know, but we're going
to cover that next time.
So this is assuming thatthe capacity curve
indeed has this shape.
Then we can see how the povertytrap can emerge.
Now, if instead, the capacitycurve had this shape--
think of your exampleof education.
And think that, in fact, thefirst few years of education
are very valuable and the nextyears you guys are kind of
wasting your time-- not to speakof me-- and the next
years of education arenot so valuable.
What is really important isto learn how to read.
Imagine that's the case.
Then it means that therelationship between income
today and income tomorrowis not as steep anymore.
It starts very high andthen it tapers off.
And so we can play the samegame again that we were
playing before.
We can say, well, let's drawthe diagonal line.
Let's start with someincome, a1.
To find out income tomorrowwhat do we do?
We go vertical.
We find income, a2.
Then we have to go horizontal tothe 45-degree line to find
it on the horizontal line.
We go vertical again tofind it on the curve.
Horizontal again,vertical again.
Where do we end up?
q.
Now suppose we had startedabove q, where
would we end up?
q.
Suppose we had started anywherein between, where
would we end up?
q.
So there is no povertytrap, in this case.
If there is only oneintersection because the
returns are first high and thenlow, then there won't be
a poverty trap.
It doesn't mean that there is norelationship between income
today and income tomorrow.
There is one.
But the point is, thatrelationship is first steep
and then tapers off.
So for example, imagine thatthe only type of businesses
that you can run are businesses
that you can run yourself.
That for some reason, you are ina business where you can't
really have employees.
Imagine.
So in that case, your firstinvestment will be quite
valuable, right?
But then, eventually, you can'treally add much more
because you won't haveenough time to sell
all of these things.
So your first dollars investedwill have a very high return.
And then less and lessand less and less.
And so in that case, everybodywill end up at the same place.
An example that could make itclear, is going back to our
Kenyan farmer from the MTVvideo, Kennedy fertilizer.
If you put fertilizeron your crop--
well when you put justa little bit, the
effects are very high.
But when you start putting more,eventually, the soil
can't absorb it so theeffects are less and
less and less high.
So even if you don't have enoughto put on your entire
field to start with, you couldimagine that you would first
put it in the most productivepart of your field.
Because the first unit offertilizer you are putting is
very high return.
The second, you need lessbecause you're going to the
place of your field that isless productive anyway.
At the third, youneed even less.
The fourth is really not thatproductive because, now, you
end up putting more whereyou started from
in the first place.
So that's not reallyhelpful anymore.
So in that case, the returnsdon't have this S-shape.
They have this invertedL-shape.
So in that case, thereis no poverty trap.
And so that is where thequestion that you were asking
is essential.
Which is, how do we know whatthe shape of this curve?
Because the shape of this curveis going to crucially
determine whether ornot we have a trap.
And what I want you to rememberis that that's more
than a relationshipbetween income
today and income tomorrow.
It has to be this relationshipof this shape.
So that's the first thing, whichis if the relationship
is inverted--
L-shaped like that, whichis the canonical case in
economics, most of oureconomics model--
what you learn in 14.01--
has production functionof this form.
Where this production function,which we called,
have decreasing returns.
Where the first unit invested isvery profitable and then it
becomes less and lessprofitable.
We've already discussed a numberof reasons why the
returns might not wouldalways be decreasing.
For example, we discussed thecase of calories where there
might be an increasing zone andthen a decreasing zone.
We discussed education mightor might not be that way.
We got an interesting exampleabout businesses where you
might not have a very profitableopportunity for
your business if you don'thave enough money.
We discussed savings, which mayor may not have this form.
Where nobody wants yoursmall savings.
So there are reasonswhy it may not
always be inverted L-shaped.
But if it is inverted L-shapedthere won't be a poverty trap.
--You might be very bored withme repeating the same thing
for the fifth time now, butthe reason why I insist is
that this is a confusion thatwe hear over and over again
among policy makers.
In the policy discourse,whenever they're thinking of a
double feedback loop--
for example, kids who haveless education, make less
money, and parents who haveless money send their kids
less to school.
Immediately, people think, ha!
If there is a double feedbackloop like that, that creates a
poverty trap.
And the point is, that that'snot sufficient.
That's necessary but that'snot sufficient.
Because if the double feedbackloop gives you a nice inverted
L-shape, eventually, everybodywill end up
nicely in the same place.
OK?
So there is more, which is, hereis another case where we
have an S-shaped curve.
But the S-shaped curve is alittle different, it's a
little higher.
So why would it be a littlehigher, for example?
Why has it moved up comparedto what we had before?
Why could it have moved up?
Go back to the food example.
Sorry?
AUDIENCE: Lower food prices.
PROFESSOR: Lower food prices.
So for example, the productivityof the land might
have gone up.
Maybe the government came andbuilt some irrigation dams and
the productivity ofland has gone up.
So to produce the same amount offood you need less effort.
So the work capacity translatesinto a higher
income for moi.
So for whatever reason,the curve shifts up.
So then what happened--
we gave some personsome income, y0.
We find y1 by going vertical.
We find it again on thehorizontal line, y1.
Going back to y2, horizontalagain.
Et cetera, et cetera.
Where do we end up?
At the intersection.
And now there's onlyone intersection.
So wherever we start, we aregoing to end up at the same
intersection.
In that case, is there goingto be a poverty trap?
No.
In that case there is no povertytrap because, again,
there is one statistic.
So an S-shape is not even asufficient condition for a
poverty trap.
It is necessary but it'snot sufficient.
Let's find another example,which is this one.
Where in fact, now it'sthe opposite.
There was some floodand the land is now
completely washed out.
So people are veryunproductive.
They have to work very hardto produce very little.
So what happened tomy poor S-shape?
It's shifted to thesouthwest, right?
So now if I start from y0--
quite high-- where do I go?
So I go up, but thenit's not enough.
The 45-degree lineis to the left.
I have to go left, downagain, down again,
down again, and again.
I'm going to end up at thesingle intersection where I'm
always pulled up, whichis a very low income.
So in a sense, there is nopoverty trap here either.
Because it's not that if you'repoor, you'll stay poor,
and if you're rich,you'll stay rich.
Regardless, you'regoing to be poor.
AUDIENCE: [LAUGHTER]
PROFESSOR: So you could thinkit's a universal poverty trap
or you can think that'sjust the way is.
Because if you ignore the rightside, we almost are in
the inverted L-shape exceptthere are stuff that are a
little bit irrelevantto the right.
The reason why they areirrelevant is that,
eventually, everybody'sbecoming poor anyway.
So again, we don't havea poverty trap.
So let's look at thosethree examples.
That's an example witha poverty trap.
That's an example thatdoesn't have one.
That's another example thatdoesn't have one.
What is different between theone example with the poverty
trap and the one whichdoesn't have one--
or two?
Yes.
Can you tell me your name?
AUDIENCE: Zachary--
PROFESSOR: Zachary.
AUDIENCE: --it crosses the45-degree line twice.
PROFESSOR: Exactly.
Well, twice or--
AUDIENCE: Three times.
PROFESSOR: Three times.
It crosses the 45-degreeline once from below.
So the rule is that you're goingto have a poverty trap
if the capacity curve--
or whatever is the curve betweenthe income from work
and the inherited income--
crosses the 45-degree line,at least once, from below.
That is, there is at least oneunstable equilibrium where
you're crossing from below.
And that is necessary forhaving a poverty trap.
So what you need, in otherwords, is to have a zone where
income is accelerating.
And this zone must to be at aplace where the income was
relatively low to start with.
And it needs to accelerateenough that it's becoming high
to start with.
In other words, it needs to bea zone where, if you're below
the zone, you're makingless tomorrow than you
started from today.
And when you're on the rightof the zone, you're making
more tomorrow than youstarted from today.
And you need to havethis point.
Otherwise, there isno poverty trap.
All right?
So that's the mathematicalexpression of it.
And now, in a sense, the gamethat we're going to play all
around this class isto be looking for--
are we in this situation wherewhatever is the relationship
between income today and incometomorrow crosses the
45-degree line from below.
Or are we not inthis situation.
And now we are in a much betterposition to ask the
question that Zach asked at thebeginning of the question
which is, are we reallybelieving that there could be
a poverty trap based on food?
I didn't want to answer hisquestion to start with because
I needed some time to specifythe question in a much more
precise way.
Now we can re-ask the questionand say, is it really possible
that the relationship betweenthe calories I consume and my
strength has this specific formwhere it intersects the
45-degree line from below?
And how does that intersect withthe fact that I choose
how much to consume?
Because, of course, if thereis indeed a strong
relationship between thecalories consumed and the work
capacity, then people shouldtry and get out of it by
eating as much as possiblewhen they are very poor.
So to the extent that peoplecan choose how much to
consume, how much food to eat,they should eat more when they
are very poor in order to tryand pull themselves to the
right of this point.
And when they are richer thenit wouldn't really matter.
So they would eat less.
So that would create a forcethat goes against an S-shape
for the capacity curve.
So we have to see--
and that goes back toyour question, where
do you get it from?
Well, we get it from looking atthe data and looking at--
to what extent people who havemore money eat so much more,
and to what extent people whoeat so much more are so much
more productive.
And that's what weare going to do.
We are going to doit for food.
But now that we understand theprinciple for food, we are
going to do it for education.
We are going to do it forhealth, we are going to do it
for savings, for businesses,et cetera.
Yeah?
AUDIENCE: To go back to theexample with the start of the
class, would you say that--
I forgot his name but-- thatthe man was at an unstable
equilibrium since as soon as helost his job, he seemed to
go down and not be ableto eat enough to get
another job, et cetera?
PROFESSOR: Right.
So that's a verygood question.
What we can try now is tore-interpret Mister Solhin's
story in the context of this.
And you could say, well perhaps,it was exactly
something like that.
So what would havehappened to him?
Let's see, I want to--
oops.
What would have happenedto him?
So we discussed that one thingthat might have happened to
him is that something happenedto the capacity curve, right?
We were saying that coincidentdecrease in the wage and
increase in the food pricesmeans that the capacity curve
tends to move tothe southwest.
So assume that Pak Solhinwas at the high
equilibrium up there.
Right?
But right there.
And then the curve movesslightly to the right.
Then, with the same income, hesuddenly is now below what
would correspond to the newequilibrium and it would start
falling down, down,down, down.
And once he starts going down,there is no going up again.
It could also haveeliminated--
we might also be in a situationwhere, at the
beginning there was justone equilibrium--
so we were, for examplein this situation--
and then once the curve movesdown, they are now two
equilibria, includingthe unstable one.
So we may have started, in theformer situation, where people
were productive enough that theywere always moving up.
And then, with the increase infood prices and the decrease
in wages, that curve shifts downand now it creates two
equilibria.
So some people get trappedlike he was.
What was interesting in PakSolhin's villages is that, in
the same villages, Imet people who were
happily eating enough.
So it seemed that there was bothkinds, which makes you
think that these two thingswere coexisting.
So maybe what happened with himis that we started from a
situation like that, and thenwe moved left and we end up
with this double situation.
That's possible
So what we had in theSachs-Jolie video is--
we said when we juststarted the class--
lots of examples ofpoverty traps.
And in each case, we could tryand think, well, what makes us
think that there is indeed apoverty trap in this case?
Or what makes us think thatmaybe there is no poverty trap
in this case?
So one example is whathappened with the
farmer that they meet.
So they claim that therewas a poverty trap.
So what is the implicit argumentthat they had in mind
that would help us think that,for a farmer, the decision to
use fertilizer correspondsto that
problem versus that problem?
What do we need to know aboutfertilizer and fertilizer use
to try and sort out whether weare in the situation that they
talk about or in theother situation.
Yeah?
You go ahead, I havea problem.
AUDIENCE: You need to know ifthere is some minimum of
fertilizer used that becomesuseful for the farmer.
PROFESSOR: Right.
So there could be that, minimumfertilizer used.
But why would there be a minimumfertilizer used?
Yeah?
AUDIENCE: Maybe it's superdifficult to acquire small
quantities of fertilizer.
PROFESSOR: So for example,it might be sold by
the bag or 50 kg.
So in that case, what we haveis not so much S-shaped but
something which is a degeneratedS where you get
nothing if you can't investenough and then you get the
return which are, potentially,very steep at the beginning.
So instead of a nice littlecurvy S, we have a flat part
and then an inverted L.
But if we have a flat part andthen the inverted L, it would
still work like an S. Becausethere would still be an
intersection where the curveintersects from above on the
flat part, an intersection whereit intersects from below
at the beginning of theL-shape, and another
intersection where it intersectsfrom above at the
end of the L-shape.
So the S doesn't have to be aproper S. It could be a flat
part and then an inverted L. Sothis example could be one,
which is you can only buyfertilizer by the 50 kg.
What other situationcould we find?
Yeah?
AUDIENCE: The percentage ofchance for success in using
fertilizer.
So if you only had [INAUDIBLE]over a small plot of land, it
is, like, 20% chanceof actually
improving your crop yield.
You would have to use a largerquantity to actually get an
improved crop yield.
PROFESSOR: So that could be apossibility if the chance of
success depends onhow much you use.
I think it's not very likelythat it would be a purely
physical thing becausefertilizer is quite scalable.
But one way in which we couldhave your story is if, to use
fertilizer it requiressome learning.
And there's no point doingall that learning--
and asking all of your neighborshow they do it, and
try to understandhow they do it.
Maybe experiment a little bit,maybe it won't work first.
--Maybe there is no point togo through all of this
learning if, at the end of theday, you know that, no matter
what, you will always be ableto use just a little bit.
So that would be one wayin which you would,
again, create this.
You're not going to use anyfertilizer if you know that
you, eventually, would be ableto use it on the substantial
part of your field.
Yeah?
AUDIENCE: I think that the mainpoint they made in the
video is that there neededto be an initial push.
So they needed a lot offertilizer and you needed to
put it on all of the crops forit to make a big impact.
And the fact is, if you have alittle bit of fertilizer-- the
point was why couldn'tthey invest?
So save would be paying for alittle bit of fertilizer.
And then buy more fertilizer andthen continue to grow it
until [INAUDIBLE].
You know, if you started offwith a small amount, you
couldn't really investand grow your yield
to make more money.
PROFESSOR: Right.
Then the third possibility isthat if you invest just a
little bit--
let's say fertilizer scalesnicely, so you can invest just
a little bit andyou can do it.
But then, you're going to makejust a little bit more money.
And then we need some othermechanism which means that
saving a little bit more moneyis not feasible, or people are
not going to do it.
So then we need to bring insomething else which is along
the line of what wewere discussing
earlier in the class.
We need to bring in somethingelse which is, the banks are
not going to take your smallamount of money.
Or if you have a small amountof money, you are
going to waste it.
But if you have a lot, nowthat's enough money to be
worthwhile and you'regoing to keep it.
All right.
So we are going to endhere for today.
So make sure you understand thisbecause we are not ready
to go back to it formally a lot,but this is going to be
with us all the time.
And on Tuesday, we are goingto go through experiments.1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950The following content isprovided under a Creative
Commons license.
Your support will helpMIT OpenCourseWare
continue to offer high qualityeducational resources for free.
To make a donation or toview additional materials
from hundreds of MIT courses,visit MIT OpenCourseWare
at ocw.mit.edu.
PROFESSOR: Well let's seeif we can't get started.
Everyone I trust canhear me adequately.
Welcome back.
It's Tuesday.
For those of you who are notin my recitation section,
I'm Dave Gossard, and I'llbe your lecturer for the day.
Professor Vandiveris out of town.
It looks like some ofyou may be as well.
We probably could have held thisat the gate at Logan Airport
and done a little better.
But be that as itmay, glad you came.
This should be fun.
Today we have a new topicand a demonstration,
a real physical system.
So unless there are anyoutstanding questions?
Anybody have anyquestions or complaints
to address to Vicente?
No.
All right, hearing none let'sgo ahead and get started then.
Today the topic is multipledegree of freedom systems.
Now to date, with acouple of exceptions,
all of the systemsthat you've dealt with
had a single degree of freedom,either a linear displacement
x or an angulardisplacement theta.
You know the conceptof equations of motion,
or I should say theequation of motion
and the notion of undampednatural frequency.
Well, today we're going togeneralize, if you will,
to systems that have not onebut multiple degrees of freedom
and see how thosenotions generalize.
In particular, asyou might expect,
the system that hasmultiple degrees of freedom
has multiple naturalfrequencies, also
known as eigenvalues as wewill explain here shortly.
Multiple degreesof freedom systems
have a new property,a new characteristic
you haven't seen before.
And that's what thislecture is all about,
is to illustrate that toyou and demonstrate it.
It's the notionof natural modes,
also called eigenvectors.
And then the general responseto initial conditions.
So that is the plan for the day.
And we'll start with this.
This is kind of aclassic textbook
case, two springs, two masses.
A straightforward extrapolationof what you've done before.
You've got a spring K1,mass M1, spring K2, mass M2.
And the displacementsare indicated
as shown there, X1 and X2.
I want to hasten to point outthat the displacements we speak
of here are defined with respectto the static equilibrium
position.
This is a notion that ProfessorVandiver went over at least
once.
And for those of you who'veforgotten it or weren't there
that day, I have for you areference, essentially reprised
that notion over there.
So in the meantime,let me press on.
If you have any questions, wecan go back and cover that.
But assuming you agree, letme simply say you've got
two springs, two masses.
The typical way we'vetaught you to do
it is if you'regoing to generate
the equations of motionby the direct method,
you generate two freebody diagrams, the sum
forces in the x directionfor each of the masses,
get f equals MA andyou'd get these.
Conversely, you couldalso do it by Legrange.
You could generatethe expression
for the kinetic energy,for the potential energy,
for the Legrangian, do thisLagrange equation business,
and you'd get the same thing.
But either way you do it,what comes out the other side
looks like this.
And it's not a bad exercisefor you to offline convince
yourself that this is right.
Not right now, but inthe comfort and leisure
of another time.
So there you have it.
That's what the two equationsof motion would look like.
Again, either by the directmethod or by Legrange,
you end up in the sameplace, so to speak.
And now for today, we haven'tasked you to do this much,
but let me simply saythe weapon of choice
for multiple degreesof freedom system,
because there's a certainrepetitive quality to it,
matrix notation is preferred.
In these equations overhere, written in matrix form
would look like this.
And that looks like this.
There's two matrices,and let me hasten
to point out that this isexactly this and nothing more.
There's no magic, noadditional derivation.
This is simply a restructuring,and reorganization
of these equations.
And this may seemforeign to those
of you who have not had anyor very much linear algebra.
Do not be dismayed.
It is not a difficultthing to learn.
As you probably know, a matrixmultiplies by a vector--
or multiplying avector by a matrix--
is done with two hands.
The first item for exampleis M1 X1 dot plus 0.
That gives you thisterm right here.
Over here you getX1 times K1 plus K2.
That's this one.
And here you have minusK2 X2, that's that term.
So matrix notation,this becomes that.
No problem.
It's like a model train set.
It's great.
Everyone shouldhave one of these.
All right, so what I wouldlike to do for our example here
is because we're goingto be doing some algebra,
for the express purpose ofsimplifying the algebra let
me consider a special casewhere the masses are identical.
And we can simply callthem M. And similarly,
the springs are identical,and we'll simply call them K.
At that point, theseequations become simplified.
That's just M, that'sjust M. So this
is the problem we'regoing to-- we're
going to tackle this problemfirst, because as I say,
it simplifies the algebra.
Now here is-- thisis not an assumption.
This is a-- I would callthis more a mechanism
to get this job done here.
Harmonic motion isone where we assume
that the masses oscillateat the same frequency.
So what this looks like is this.
What we're basically sayingis that X1 is actually
equal-- X1 hasamplitude A-- whoa.
I'm being attacked hereby the second board.
Basically, the situationhere is that we're
assuming that bothof these masses
move-- I wouldn't callit exactly together.
They're not incomplete synchrony,
as you'll see here in a moment.
But what they areis they're going
through a sinusoidal motion.
And it is an oscillationat the same frequency.
Both of them are oscillatingat the same frequency.
However, they differin their magnitudes.
They are not the same magnitude.
But that assumption rightthere allows us to say this.
If we differentiate thosetwice, we get the following.
That comes back out.
Douglas, where'sthat minus sign come?
Can you-- first of all,can everybody read that?
Can you guys read thatin the back row here?
For example, this says that X1double dot, if x1 is A1 cosine,
then X1 double dotis A1 cosine preceded
by a minus omega squared.
Where does that come from?
AUDIENCE: The minus sign camefrom when you differentiated
the cosine in the first one.
PROFESSOR: Exactly.
And the cosine returns.
And that's what you get.
Well, here is, shall we say,the heart of the matter.
When you substitutethis into this--
let me call this-- I'll try notto get too obsessive over this.
But these are ourequations of motion.
So when we-- youget this, equals 0.
Excuse me.
Many people, I think,simply put a big 0 there,
but I'll do it properly.
It's two zeros, if you will.
And forgive me forwriting this out,
but I would like youto be able to do this
by yourself, to recreatethis after the fact.
This becomes-- dividingand collecting terms.
OK, anybody unclear abouthow this is obtained?
Yes, ma'am.
Emma.
AUDIENCE: I have a questionabout the previous one.
PROFESSOR: Yeah?
AUDIENCE: If the secondterm on the left hand side,
should it also bemultiplied by A1 A2?
PROFESSOR: Yes it should.
Thank you very much.
Oh, hang on.
Yes, thank you,that's exactly right.
AUDIENCE: [INAUDIBLE].
PROFESSOR: Hang on a second.
We're fighting the boards here.
Let's see, one thing at a time.
We've got A1, A2 cosine[INAUDIBLE] minus phi equals.
Now Emma, does thattake care of you?
Yeah?
And you said, Vicente?
AUDIENCE: Diagonal terms--shouldn't there be a minus?
PROFESSOR: I'm sorry,that's absolutely correct.
Wonderful.
So there we have it.
Any other questions?
I hope I got it right.
Yes sir.
AUDIENCE: Are they plus K?
PROFESSOR: I'm sorry?
AUDIENCE: Are they plus K?
PROFESSOR: Plus K?
No.
They're minus.
Yeah, why is that?
Everybody see that?
This is a straight-- there'sless here than meets the eye.
There's a straight segregationcollecting of terms.
The minus got added to theelements of the mass matrix,
but not to the K metrics.
The K metrics goesshows through as is.
Now, the question on thefloor is what we do with this?
Can everybody appreciatethat-- get out
of the spring massbusiness and look at this
from a math point of view?
Does everyoneappreciate that this
is a set of linear equations?
There's the old AXequal B kind of thing.
And if you recall, to solve,what we're basically going
to do is solve for A1 and A2.
That's the gamewe're playing here.
And if you recall from your mathcourse, the determinant of this
has got to equal 0.
So let me simply repeat it here.
The determinant ofhas got to equal 0.
And you recall, the determinantis for at least the two
by two you can do itby hand more or less.
It's the cross productswith appropriate sign.
And I'm sparing yousome algebra here,
but trust me when you dothis, this is what you get.
M squared omega 4 minus3KM omega squared, plus K2.
That's it right here.
This little guy-- oh, all right.
I can't do that anymore.
I know, it's this one.
That is called thecharacteristic equation.
So here's the first answer.
AUDIENCE: [INAUDIBLE]should that be K squared?
PROFESSOR: I'm sorry.
That's a typo.
That's simply K.
AUDIENCE: [INAUDIBLE] K squared?
PROFESSOR: Or it'sK squared, rather.
Sorry.
Thank you.
AUDIENCE: I thinkin the above line,
the determinant-- the upperleft-- should had a 2K.
PROFESSOR: Oh, thisis 2K, absolutely.
All right, 2K.
Good enough?
All right, thank you.
So let's send this to the top.
So the roots ofthe characteristic
are the natural frequencies.
Let's do this this way.
Did I do that right?
Yeah, plus or minus.
So the situation is that whenyou apply the quadratic formula
to that characteristic equationto find the values of omega
for which thatequation is satisfied,
those omegas that come outare the natural frequencies.
They are the quantities we seek.
And what that yields, as youcan see from the plus or minus
here, there are two of them.
I'll write the wholething out here.
And these are numerically.
OK, everybody see that?
So here are our twonatural frequencies.
Here's the first one-- excuseme, that's not right either.
That's the square.
OK So these are our naturalfrequencies, once again
for this special casewhere the masses are equal
and the springs are equal.
Anybody recognizethat number, 0.618,
for all you fuss budgets?
Ring any bells?
Any number freaks here?
No?
I heard it.
That's it.
Exactly, nice job.
The golden mean,the golden ratio.
Also, let me simplysay if there are--
as far as the numberof things-- if there
are n degrees of freedom.
There are n natural frequencies.
What else?
So that's that.
So now it's time to get to thisnotion of the natural modes.
Let me say, we've gotto go all the way back
to this set over here.
If you take the first rowof this matrix equation--
that's the first of theequations of motion--
and you make that assumption ofthe harmonic motion in there.
Does everybody see that?
What we've done is we'vetaken basically the first row
of that expressionright up there
and formed the amplituderatio A1 over A2.
What we're doing iswe've found the omegas.
You remember, justreview the bidding.
Our originalassumption was harmonic
motion, that is to sayall the displacements are
moving in synchrony as it were.
The same sinusoidalfrequency, we've
just found whatfrequencies those are.
There are two of them,and they're right there.
Now we're after these guys.
Now we're after therelative magnitudes
or the relativeamplitudes of A1 and A2.
And we from one of theequations isolated one of those.
And let me just say, ifyou plug these back in,
plug in the first one, you'llget oddly enough 1.618,
These amplitude ratios.
Are the so-called natural modes.
And I think you can appreciatethat this is the first one,
and this is the second one.
Any questions so far?
Wonderful.
Hearing none.
Yes ma'am, Sara?
AUDIENCE: [INAUDIBLE]
PROFESSOR: You seethis amplitude ratio.
You saw how we got that.
You see that the right hand sidehas got system parameter, Ks
and Ms, and stuff like that.
But this is the ringer, omega.
This amplitude ratiois expressed in part
in terms of omega.
So what omega-- there's noambiguity as to Ks and Ms,
but what omega?
Well the answer is, whenwe plug in this one,
you get this answer.
When you plug-in thisone, you get this answer.
So while we're at it-- Sara,want to hazard a guess?
How many natural modedo you think we've got?
Yeah, exactly.
So you're going tohave one of these
for each degree of freedom.
Let me just point out acouple of elements here,
and then I'll show you ademonstration because we
have to have some fun today.
These are point of informations.
They're ratios, notabsolute magnitudes.
That's number one.
The second is-- I already toldyou, they got the same number.
OK, each naturalmode is associated
with a particularnatural frequency.
This one goes with that one.
And once again, they'reassociated with-- yeah,
let me say that.
I need another board.
Let's just go over here.
So in a sense--this is decouple.
Decouple essentially intoindependent subsystems.
So in general, what the system'sresponse looks like is--
I'm talking about theone in front of us here.
This special case, where themasses and springs are equal.
I think there's aminus sign in here.
Does this come up?
Wonderful.
That's it.
Does everybody see that?
Yes, sir.
AUDIENCE: [INAUDIBLE].
PROFESSOR: I'm sorry?
AUDIENCE: What does it sayunder that first bullet point?
PROFESSOR: Here?
AUDIENCE: Thesedescribe the situation.
PROFESSOR: Thesedescribe the situation
in which the entiresystem is oscillating at.
It's the second bullet here.
Thank you.
AUDIENCE: At what?
PROFESSOR: At one frequency.
Sorry, I'm just getting alittle tired of writing.
So, any other questions,problems, complaints?
All right.
AUDIENCE: I have a question.
PROFESSOR: Yes, sir.
AUDIENCE: [INAUDIBLE]
PROFESSOR: That's correct.
Then, let's see.
Then there's amistake right here.
Thank you.
Yeah, because that'sthe way it came out.
When you plug omega 2having this value into here,
the amplitude ratiocomes out minus.
Fair enough?
It threw me there for a minute.
I thought you were going to say,why is the minus sign is there,
rather than you could havehad minus 1.618 and plus 1.
And the answer is no reason,because these are ratios.
Yeah, Kaitlin?
AUDIENCE: But shouldn't-- whenwe go back and look at what you
wrote down, it's [INAUDIBLE].
I don't understandhow that [INAUDIBLE].
PROFESSOR: I'm sorry, say again?
AUDIENCE: Never mind.
PROFESSOR: Find it?
Yeah, they're ratios, It'sjust as simple as that.
So you multiply them by anynumber and it still works.
I'll actually showyou here in a second.
At least, I believethat's the case.
We'll just see here in a second.
OK, questions?
Comments?
All right.
Now is the time.
Could I bring upthe side board here?
Let me show you--anybody here taken 2086?
Wonderful.
I've got one person?
Great.
Anyway, I believe in 2086,don't they teach you MATLAB?
Isn't that the weapon of choice?
OK, that's the programI'm using here, MATLAB.
For those of you whohaven't seen it yet,
it is definitely a mixed bag.
I don't know howyou feel about it.
It's very-- yeah--it's very powerful.
It stands for Matrix Laboratory.
It was written, I don'tknow, 20, 30 years ago here,
I believe, at MIT by people whowere into matrices, into matrix
algebra.
And it's kind ofcommand line oriented.
The good news,it's very powerful.
Whatever you want to do,you can do in MATLAB.
The bad news is, theuser interface stinks.
The language is verydifficult to learn.
It's even harder to remember.
So with thatrousing endorsement,
let me show youwhat we've got here.
This is a program I've-- isthat font readable by you guys?
No?
AUDIENCE: [INAUDIBLE].
PROFESSOR: I'm sorry?
AUDIENCE: [INAUDIBLE].
PROFESSOR: Yes.
Well, I believe I can--here we go, fonts.
Upping the fonts iskind of a mixed bag,
because you get biggerletters but they're.
OK, how's that?
So here's the situation.
This is a MATLAB program.
And I'll explain to youwhat it does as we go.
Let me see if my littlecursor-- my cursor's here,
but I can't see it.
All right, here's thesystem parameters.
Once again, we're doinga simple spring mass--
this simplified spring masssystem, exactly the one
we've done here.
When I wrote it, you'll see Igeneralized it to do this guy.
So we got M1 and M2, K1 and K2.
But if you'll notice, you seehere their values are equal.
We've got the massat one kilogram each.
And we've got 10 newtons permeter on each of the springs.
Everybody appreciate thatthis system's numbers
that we're putting in herematch our case here, K over M?
OK.
And you can seehere, we've defined--
and again, let mejust say I'm not
trying to sell you on MATLAB.
I don't want to leaveyou with the impression
that we expect you to beable to instantly become
a user of MATLAB.
This is simply to illustratethe point of the lecture here.
Here is the M,the system matrix.
There's the K matrix.
And I'll show you the eigenvalueand eigenvector thing later.
But let me-- takemy word for it.
See this here?
Ode45 is a cryptic allusionto the Runge-Kutta algorithm,
fourth order Runge-Kutta thatis the workhorse for integrating
differential equations.
And so let me just run this.
And what I've got hereis, here's the point
I wanted you to gethere, because I'll
bet you can't seethat cursor either.
Yes, anyway, seethis right here?
tspan is the time scale andthe time step, defined up here.
But these are basicallythe initial conditions.
See it here?
X1, X1 dot, X2, X2 dot.
So here's the first one.
This is a 0.618 is for the X1.
And 1 is for X2.
Everybody appreciate that?
Got it?
OK.
If these are the initialconditions, what I've done,
I have artfully chosenthe initial conditions
to have the same ratio.
What do you expectis going to happen?
When I turn this thing--I've got a simulation here.
I'm going to run this,and you're actually
going to see it.
What do you thinkyou're going to see?
It's a two spring,two mass system.
What I've done is I'vedisplaced the two masses.
AUDIENCE: [INAUDIBLE]
PROFESSOR: They'll certainlyhave an amplitude, because I'm
putting it in there.
That's the initial condition.
The question is, what frequencyyou think they'll oscillate at?
AUDIENCE: [INAUDIBLE]
PROFESSOR: Pardon?
AUDIENCE: [INAUDIBLE]
PROFESSOR: Each ofthem will oscillate
with the same frequency,for sure, but what
do you think it's going to be?
AUDIENCE: That one.
PROFESSOR: It'sgoing to be that one.
So off we go.
So let us hope that yourstruly's program worked.
Here we go.
Oh, look at that.
[INAUDIBLE], pleaseinterpret that for me.
What do you see there?
Hang on a second.
Let me blow it upso you can see it.
Ooh, isn't that pretty?
And I believe the blue isX1 and the green is X2.
See?
Everybody agree?
Everyone appreciatewhat's going on?
You pull them both atslightly different--
you basically usedthe first natural mode
as the initial condition.
And sure enough, theyoscillate together.
They oscillate atthe same frequency.
They oscillate atthat frequency.
Let me just see--I just want to make
sure we get the fullvalue out of this thing.
Well, of course youcan't see it anymore
because our numbers are so big.
Well, that's great.
Anyway, take my word forit at-- oh, here it is.
The period for the firstnatural frequency-- or I
guess it's the second--it should be like 1.2.
Or is it 3?
Yeah, I'm sorry,the period is 3.2.
And sure enough, there it is.
It's about 3.
3.2.
Fabulous.
Everybody got it?
OK, now watch closely.
Let me see if I can do this.
This requires a littledexterity, which
is always a short supply here.
I have to hit this and this.
Make sense?
That's what itactually looks like.
They're both oscillating atthe same natural frequency,
going up and down together.
But they havedifferent amplitudes.
So one's bigger than the other.
So that's what it looks like.
Questions?
Christina, you good?
Clear enough?
Wonderful.
So let's go to our program.
And instead of that setof initial conditions,
we'll do the other.
Read them to us here.
What are the initialconditions here?
AUDIENCE: It's 1.618.
PROFESSOR: That'sright, it's this guy.
AUDIENCE: That guy.
PROFESSOR: It's this guy.
It's this ratio.
So I basicallyarbitrarily chose, is it
the negative first?
No.
I chose that oneover there, 1.618.
And then a minus 1for the second one.
Fair enough?
OK, there it goes.
We've got to save itand make sure we got it.
So again, you got a cluewhat's going to happen here?
Here we go.
Boom.
Look at that.
What's going on there?
Yikes.
Explain me.
Is that good, bad, indifferent?
Is it right?
Wrong?
AUDIENCE: The waythe system acts,
it has a higher frequency.
PROFESSOR: Yeah, exactly.
Two things.
One is, they're out of phase.
They're doing this.
One's going thisway, and the other's
going the other atdifferent amplitudes
but the same frequency.
But the frequency in questionis higher than the previous.
AUDIENCE: Why arethey out of phase?
PROFESSOR: I'm sorry?
AUDIENCE: Why are theyopposite of each other?
PROFESSOR: [INAUDIBLE], whyare they opposite each other?
Because we made them that way.
We said, that's theinitial condition.
Does that make sense?
That minus sign does.
One starts out,and one starts in.
And they do that.
Clear enough?
Now what's going to happenif we plain just choose
any old initial condition?
These were special.
We worked like a dogto compute these,
so that the system woulddecouple in that way.
So what if we-- nowlet me put that back.
Now look at this one.
All right, look at that.
Read that to me.
AUDIENCE: [INAUDIBLE]
PROFESSOR: Yeah.
So that says the initialcondition for the first mass
is 1 and whatever that is.
One whatever that is.
The second masses'initial condition is half
that in the same direction.
Both positive.
So Christina, they'regoing to go together.
But [INAUDIBLE],at what frequency?
Any idea what it'sgoing to look like?
If you do, you're abetter man than I,
because what you're goingto see here is that.
It's this thing right here.
It's that expressionright there.
And here's what it looks like.
Did I stop the--oh, wait a minute.
Did I ever show you that before?
I think I forgot toshow you the other.
Anyway, not to worry.
Hang on a second.
I've got to stop this guy.
First I have to find my finger.
There it goes.
That's the previous case.
When they're out of phase,different magnitudes,
going in opposite directions.
And you can see, they'regoing at a higher frequency
than before.
Make sense?
So now we are-- just torefresh your memory--
now we're going for thethird case, in which there's
nothing special.
We just picked a coupleof initial conditions
out of a hat.
And here we go.
Oops, I think not.
I think that'sthe previous case.
So let's go here.
This is another wonderfulthing about MATLAB
is nothing happensuntil you save it.
So we were just runningthe previous case.
Nasty.
Look at this.
All right, caneverybody see that?
If you can interpret this,you're smarter than I am.
But what this is, this is simplythis expression over here.
It's this expressionfor just some arbitrary
initial condition.
Do you see that thatbehavior though?
Each of them, they'regoing together kind of,
but they-- anyway, watch this.
Here's what the simulationof that looks like.
What the heck is that?
Well anyway, thepoint of the story
is that multipledegrees of freedom
system in general's responsecan be arbitrarily complicated.
It's not arbitrarilycomplicated,
but pretty complicated.
You'll get, in general if it'san nth order system, if you
don't know anythingabout the worst case,
you'll see fourfrequencies in there.
And they're all mixed togetherin some mystical way that's
unknown to you.
Fair enough?
And it's only when you reach thenatural modes that you actually
find out what is going on here.
Well now I have to turnyour attention to this guy.
This is made by ProfessorVandiver's machinist,
a perfect example ofa second order system.
And I bring it toyour attention here
for two-- at the end of theday what we're going to do
is I'm going to demonstrateexactly what I just
did for the textbookcase, the textbook system.
I want to demonstrate exactlythe same thing for this guy,
only this is a real system.
Very nice.
We have a steel rod.
It must be a halfinch in diameter.
The whole thingweighs several pounds.
These sliding masses are rightcircular cylinders with a hole
drilled through them.
It's ever so slightlylarger than these here.
They're of different lengths.
They're made of brass.
They're serious masses.
And the springs,which extend from here
to here, and from here tohere are wound on a lathe,
and attached, and so forth.
Pretty, no?
Now look right off the bat.
Did you see howthat thing operates?
Would you agree you have somecomplicated behavior here?
Now also would you agreethat this is it like that?
Everybody see that?
Before we go too far, thisis a mixed message here.
[INAUDIBLE], is thisexactly like that?
In what way is itsimilar to that?
AUDIENCE: [INAUDIBLE]
PROFESSOR: Well, what is clearis that you've got two springs
and you've got two masses.
About that there isvery little argument.
AUDIENCE: It's damped.
PROFESSOR: It's damped.
Can everybody see that?
How does [INAUDIBLE]know that it's damped?
How's he know it's damped?
I mean, that's just a wildguess on his part, but.
AUDIENCE: You can hearit, and it slows down.
And it slows down.
This is the most importantpart is that it stops.
Eventually if you come backin a minute or two, it's done.
PROFESSOR: Allright, [INAUDIBLE].
You're on a roll.
There's definitelydamping there.
What kind of damping?
AUDIENCE: Friction.
PROFESSOR: Friction, yeah.
Does that have anothername that you can think of?
It's definitely friction.
What it's not isviscous friction.
What it is not is a damper ora dashpot which we've shown you
before with the ideal expressionthat generate a force that
opposes the-- generation of anopposing force that's linearly
proportional to the velocity.
What's going onhere, do you think?
What kind of dampingdo you think?
It's called Coulomb.
This is called Coulomb damping.
And this is a digression.
Now we're on the part where thisis really-- everything that's
on the board is what Iwanted you to really come
away from today with.
So now we're outkind of in the, I
would call it thewinging it area
right here, because thisis the part where I simply
had fun with the demo.
This is viscous.
And this has got thesymbol-- well anyway,
this is what it looks like.
And this is theforce of the damper.
We'll call it B.
And this is the velocity.
And this is for constantof proportionality B.
And it has this littlesymbol, like that.
And when equations of motionare solved that contain that,
the response looks like this.
What we're talking abouthere, the force put out
is a constant.
That just comesfrom the sliding.
And what it generates aredistinctly non-linear equations
of motion.
And what you get here is youget this kind of behavior.
If you really lookedat it, what you'll see
is there's definitelydamping for large motions
when the inertial forces andso forth are large compared
to the friction forces.
It'll look a lot likeconventional viscous damping.
It's just that whenmotions get really small,
and the forces get down thereto on the order of this,
all a sudden you'll see onone cycle it'll just stop.
And were you up herewhere you could see,
or if we had a closeup of this--you can't see it, but just
watch this thing stop.
Right there.
Do you see that?
That's a little hard for youto see from there, but watch.
Anyway, were you uphere, you'd see this.
That's what we're looking at.
Well here we go.
I need some help here.
Who's in a volunteeringframe of mind?
Amy, all right.
I appreciate the help here.
Here's what I want to do.
We just blew out somewonderful theory.
All this is justsolid as a rock.
Yes, sir.
AUDIENCE: For the Coulombfriction, is that a linear
[INAUDIBLE]?
Or is it still exponential?
PROFESSOR: I'm sorry?
Oh, no.
If I'm not mistaken, Ididn't really look this up,
but I believe it's linear.
I'd have to-- take thatwith a grain of salt,
but I believe it's linear.
Yes, Amy, here's the situation.
We have all thismarvelous theory.
My goal is to-- and we have thisfabulous demo apparatus, though
inherited.
And what I'd like to do-- oh,and we have computational means
to.
And in fact, we just wentthrough the exercise.
We already know thosesame equations that
work for this work for this.
Those are general.
However, it's not mypiece of apparatus.
And well, here's the deal,what are the Ms and Ks.
What are the values of-- I needM1, K1, M2, K2 to put into the.
AUDIENCE: [INAUDIBLE].
PROFESSOR: Yeah, Yeah.
That's what I'd liketo do is I'd like to.
AUDIENCE: Do I haveto just determine
the it by looking at it?
PROFESSOR: Oh no, no, no.
No, no.
AUDIENCE: I'm not that good.
PROFESSOR: You're my assistant.
I guess the questionis, how would
you-- and I've gotto tell you, that's
the math part of a program.
Now we're in the engineeringpart of the program,
because somebody gave youa real live demo apparatus.
Works like crazy, or appears to.
And I'd love to takeadvantage of it,
but I don't knowany of the numbers.
AUDIENCE: [INAUDIBLE]
PROFESSOR: No.
That's the constraintI'm operating on.
It doesn't belong to me.
I mean, I could take it apart.
That's an absolutelyappropriate thing to do.
I would have liked to.
It would be easier if you could.
You just go, take ascrewdriver to it.
Here, put this on thereand pull this out.
I didn't have the luxuryof any of that, so what's
your next best suggestion?
Nice suggestion, but no cigar.
I'm sorry?
AUDIENCE: Take it apartanyway, put it back together
before the person notices.
PROFESSOR: Well yeah.
Yeah, no.
That's fudging.
Yeah, they notice.
Have you ever takenapart anything made
in modern manufacturing method?
Oh, it's good because youcan't put them back together.
They're assembled by machine.
And once upon a time youcould disassemble one
and reassemble thingswithout detection.
But anymore, onceyou take them apart,
it's wicked hard toget them back together.
OK, the floor is open.
I need another suggestion.
What are you going to do?
AUDIENCE: Do you need toknow the exact K and M,
or do you just[INAUDIBLE] another ratio?
PROFESSOR: I thoughtyou were going
to-- I need to know M orK. I need to know them all.
AUDIENCE: Do you knowthe density of the--
PROFESSOR: I was goingto say, but I don't
need to know anything exactly.
All I need to know is as good aguess as you can come up with.
It's all an estimate.
AUDIENCE: If you know thedensity of the material,
you can easily workup [INAUDIBLE].
I'm assuming you'reabout [INAUDIBLE].
PROFESSOR: Ohabsolutely, absolutely.
AUDIENCE: [INAUDIBLE].
PROFESSOR: Wonderful.
Absolutely.
She hit the jackpot,rang the magic buzzer.
That's exactly what I did.
Here's a little crummy sketch.
Oh wait, you can't see that.
Anyway, these are right circularcylinders with holes in them.
And they've gotmeasurements beside them.
I can tell you, thisis 75 millimeters.
This is 35 millimeters.
This one is 37 millimeters long.
So I did that.
That's great.
That's an excellent suggestion.
And after I did exactly that,I won't write out the formula.
You know area, andvolume, and all of that.
Let me get you theright order here.
M1 is 0.2929, and M2 is 0.5938.
Everybody got that?
This was obtained by takinga ruler to these things,
taking diameters, lengths,and diameters of holes,
multiply them times the densityof brass taken out of the book.
Do you believe that?
Do you believe that number?
Well, you're a trusting soul.
I don't.
To me, I believe that number.
This was done with a ruler.
The little millimeter thingies.
So I just say, don't fall inthe trap of false precision.
OK Amy, you're on a roll.
We've got the masses.
What now?
AUDIENCE: Free body diagram.
PROFESSOR: Yeah,we got all that.
AUDIENCE: Yeah, you've got that.
But then what you cando for the spring,
the forces of thespring when static.
Don't move it.
So take the top mast.
It's not moving,which means that you
know that the force goingupwards-- which is the spring--
is equal to the force goingdownward, which is [INAUDIBLE].
So you can measurethe displacement
from the start of the springto the bottom of the spring.
Do you know the naturallength of the spring?
PROFESSOR: No Anyway,what I was going to say
is, excellent idea.
Can't do it.
But what Amy wasbasically saying is,
you know the masses now.
Why not simply takefrom that expression
right there, MH over K, right?
What's the problem with that?
How about it?
Devin, how come I can't do that?
AUDIENCE: [INAUDIBLE].
PROFESSOR: Yeah, I really don'tknow the no load position.
Is that it, Amy?
Right there?
Maybe.
Devin, you're the onethat suggested it.
Are those the no loadpositions of the masses?
And if not, why not?
I did mean to giveyou a clue there.
Yeah, Nick?
AUDIENCE: It can't be becausethere's static friction.
PROFESSOR: Exactly.
So Nick, you brought it up.
What's that number?
You don't know that either.
No.
Like I said, Amy, nice idea.
No cigar.
What else?
We're running out of time?
Here we go, Douglas.
AUDIENCE: Could youdisplace each mast a certain
[INAUDIBLE], andthen measure the time
it takes for them to stopand get the damping ratio?
PROFESSOR: Hitthe damping ratio.
Well, I'll tell you what--you want to say that again?
He said displace one orboth count oscillations
and get the damping ratio.
Nick?
AUDIENCE: Do we have anythinglike a force gauge or a spring
scale?
PROFESSOR: No.
This is my living roomI'm talking-- or my study.
Anyway, Douglas said-- Iforgot what you said now.
He said-- oh, I know.
You said, displace it andcount the oscillations.
Get the damping ratio.
First off, the damping ratio isno help, even if we did get it.
And the only formula forwhich we've ever given you--
the only formulawe've ever given
you to do that with pertainsto this kind of friction, which
is not present.
No cigar.
Nick says, howabout force gauge?
Now, don't have it.
AUDIENCE: [INAUDIBLE].
PROFESSOR: Yeah, we are.
AUDIENCE: [INAUDIBLE]displace the other one
and then find the frequency.
PROFESSOR: Oh, what's your name?
Sean?
Or John?
AUDIENCE: Sean.
PROFESSOR: Say that out loud.
Say it loud enough thatDevin can hear you.
AUDIENCE: You holdthe first mass,
and then you displacethe second one.
PROFESSOR: Hang on.
He says, hold the first masslike this set screw right here.
And?
AUDIENCE: And then displacethe other one then.
PROFESSOR: Like that?
AUDIENCE: [INAUDIBLE].
PROFESSOR: Actually,to answer your question
Nick, the only instrumentI have is a clock.
Hang on a second.
Here it is.
Of course, this is thebig task is finding it.
AUDIENCE: [INAUDIBLE].
PROFESSOR: Count to 10,remember like Vandiver told you.
Skip 1, 1, 2, 3, count to 10.
Stop.
Excellent, excellent, excellent.
When you do that,that's the second one.
I did that and righthere, right here it's TP.
The period of 10 of them--and then I divide to get 1--
is 0.83 seconds.
What does that tell you, Sean?
AUDIENCE: [INAUDIBLE].
PROFESSOR: Wellactually, these two--
you can get the frequency.
But what this does, becausethis gives you the frequency,
you know in generalthat-- in particular, you
know that this second naturalfrequency, which is just
associated with this singlespring and a mass here.
It's just this guy.
It's not both of them.
Anyway, this turns outto-- I didn't graph that.
That's square root ofK over M. Trust me,
you can put those twotogether, and you get
K2 is equal to-- newton meters.
This is exactly what you said.
Freeze the first mass.
Displace the second.
Measure the period.
You get the natural frequencyfor basically K2 over M2.
So you got K2 out of it.
Yeah, Douglas?
AUDIENCE: So how come it givesyou just the natural frequency
and a damp natural frequency?
PROFESSOR: Oh no.
It absolutely is.
It's all damped, noquestion about it.
But again, whatwe're doing is we're
going close enough, right?
Because I have nothing.
So even the dampednatural frequency
is better than nothing.
All right, so Amy back to you.
You're back in business.
What now?
So now we've got M2 and K2.
AUDIENCE: You just need K1.
PROFESSOR: Yeah.
Now we need K1.
What do we do now?
AUDIENCE: We want to dothe same thing that we just
did for K2. [INAUDIBLE].
PROFESSOR: Exactly.
Well, not quite.
Let's see, now I'm goingto turn loose-- now we're
back to our original system.
It doesn't hurt anything.
It's just ugly to look at.
Now what?
Sean, do that trick again.
AUDIENCE: [INAUDIBLE].
PROFESSOR: Push this one up?
AUDIENCE: [INAUDIBLE]
PROFESSOR: I don't think so.
Yeah, Nick.
AUDIENCE: So justfix the second mass.
PROFESSOR: Fix the second mass.
AUDIENCE: [INAUDIBLE]
PROFESSOR: Yeah, yousee this frequency here?
I'm going to overrule Chandler.
I'm going to say, this is thenatural frequency of that's
mass and these two springs.
Do that same trick again.
You get the equivalentspring rate,
subtract the second from it,and you get the other one.
Devin, is that whatyou were going to say?
Wonderful.
That is exactly what I did.
And you get outof it, you get K1
is equal to 50.45newton per meter.
In the interest of time, I'mgoing to short circuit this.
I took exactlythese parameters, I
put them into that samecomputer program we had before,
and what came out-- I haveto have a place to put it.
Ah, wonderful.
And now I have to find it.
Here we go.
Here are the two modes.
Actually, let meput it right here.
For this system, becausehere's the first one.
And here's the second one.
0.9760 and minus 0.2177.
Everybody appreciate that?
This is by the samecomputational procedure
we spoke of earlier.
And sparing no expense,we have here a, made fresh
from my basement, a custommade initial condition setting
device, which I can hopefullyavoid killing myself with.
OK here's what we have.
So I guess I didn'tshow you this first.
If you can see it,what we have marked
is the reference position.
That's the rest positionthat we couldn't
find by laying it down.
Or excuse me, this is thestatic equilibrium position
of mass number one,static equilibrium
position of mass number two.
Mode one or there.
What they said over there, 0.4.
And .97 is down here.
Mode two is over here.
So Devin, while I'mdoing this, tell me
how am I going toknow if this is right
or if this is all just bogus?
What observable's going totell me that I got it right?
AUDIENCE: [INAUDIBLE]
PROFESSOR: I'm sorry, speak up.
AUDIENCE: [INAUDIBLE]
PROFESSOR: How about it, Nick?
AUDIENCE: [INAUDIBLE]
PROFESSOR: Exactly.
And you ought to be able tosee it from where you are.
Can you appreciate thatthey're not at the moment?
All right, now hang on.
Here comes mode number one.
This takes two hands to do it.
All right, you ready?
This is mode number one.
Again, it's a those numbers.
How about it?
Can you see it?
Very good.
How about the other?
And so here, this is number two.
And this is a littlemore complicated,
because the other one hasto be done from the bottom.
Hang on a second.
Now this one we're doingis we're deflecting--
this one is positive downward.
So X1 is down, butX2 is negative.
So it's displaced upward a bit.
Are you ready?
Nick, what do youexpect to see this time?
AUDIENCE: The frequencyshould be higher
and they'll move inopposite directions.
PROFESSOR: That's the key.
Once again, they're going tomove with the same frequency,
albeit in different directions.
But that new frequency isgoing to be higher than before.
And sure enough, stand back.
So there you go.
What did that tell us?
That told us thatthe first order
we got the system parametersidentified correctly
and the theory holds up.
Questions?
Comments?
Complaints?
Devin?
AUDIENCE: [INAUDIBLE]
PROFESSOR: I'm sorry?
AUDIENCE: What was thesecond set of conditions?
PROFESSOR: The secondset of initial conditions
were right here.
This is the second mode,X1, 0.97, X2, minus 0.2.
OK, have a greatThanksgiving holiday.12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603align:start position:0% okay the generate perturbation theory
align:start position:0%okay the generate perturbation theory
align:start position:0%okay the generate perturbation theoryokay we've done nicely our non
align:start position:0%okay we've done nicely our non
align:start position:0%okay we've done nicely our nondegenerate case so we'll get none
align:start position:0%degenerate case so we'll get none
align:start position:0%degenerate case so we'll get nonedegenerate
align:start position:0%degenerate
align:start position:0%degeneratedegenerate done in a very clear way I
align:start position:0%degenerate done in a very clear way I
align:start position:0%degenerate done in a very clear way Ithink so the first thing I want to say
align:start position:0%think so the first thing I want to say
align:start position:0%think so the first thing I want to sayabout the generate perturbation theories
align:start position:0%about the generate perturbation theories
align:start position:0%about the generate perturbation theorieswhen it fails and why it fails and what
align:start position:0%when it fails and why it fails and what
align:start position:0%when it fails and why it fails and whatgoes wrong so so the generate
align:start position:0%goes wrong so so the generate
align:start position:0%goes wrong so so the generateperturbation theory
align:start position:0%
align:start position:0% trivial example to begin with why not H
align:start position:0%trivial example to begin with why not H
align:start position:0%trivial example to begin with why not Hof lambda again is equal to H 0 plus
align:start position:0%of lambda again is equal to H 0 plus
align:start position:0%of lambda again is equal to H 0 pluslambda Delta H and for H 0 will take
align:start position:0%lambda Delta H and for H 0 will take
align:start position:0%lambda Delta H and for H 0 will takeoriginal Hamiltonian with energies 1 and
align:start position:0%original Hamiltonian with energies 1 and
align:start position:0%original Hamiltonian with energies 1 and1 and for Delta H I'll take off diagonal
align:start position:0%1 and for Delta H I'll take off diagonal
align:start position:0%1 and for Delta H I'll take off diagonalHamiltonian a poly matrix and that's our
align:start position:0%Hamiltonian a poly matrix and that's our
align:start position:0%Hamiltonian a poly matrix and that's ourDelta H and we say ok blindly not
align:start position:0%Delta H and we say ok blindly not
align:start position:0%Delta H and we say ok blindly notworried about this degeneracy and use
align:start position:0%worried about this degeneracy and use
align:start position:0%worried about this degeneracy and usethe formulas that we had for non
align:start position:0%the formulas that we had for non
align:start position:0%the formulas that we had for nondegenerate States and we would say well
align:start position:0%degenerate States and we would say well
align:start position:0%degenerate States and we would say wellfor the first date and the second state
align:start position:0%for the first date and the second state
align:start position:0%for the first date and the second statewhat do we have
align:start position:0%what do we have
align:start position:0%what do we havee I'll call them 1 and 2 not 0 and 1 so
align:start position:0%e I'll call them 1 and 2 not 0 and 1 so
align:start position:0%e I'll call them 1 and 2 not 0 and 1 solet's call them 1 of lambda will be
align:start position:0%let's call them 1 of lambda will be
align:start position:0%let's call them 1 of lambda will beequal to the first value 1 plus if the
align:start position:0%equal to the first value 1 plus if the
align:start position:0%equal to the first value 1 plus if theformula is Right Delta H times lambda 1
align:start position:0%formula is Right Delta H times lambda 1
align:start position:0%formula is Right Delta H times lambda 11 the matrix element of the perturbation
align:start position:0%1 the matrix element of the perturbation
align:start position:0%1 the matrix element of the perturbationin the 1 1 state similarly e to the
align:start position:0%in the 1 1 state similarly e to the
align:start position:0%in the 1 1 state similarly e to theother eigenvalue should be 1 because the
align:start position:0%other eigenvalue should be 1 because the
align:start position:0%other eigenvalue should be 1 because thesecond eigenvalue plus lambda delta h 2
align:start position:0%second eigenvalue plus lambda delta h 2
align:start position:0%second eigenvalue plus lambda delta h 22 that's what the formula would say but
align:start position:0%2 that's what the formula would say but
align:start position:0%2 that's what the formula would say butthis is completely incorrect why because
align:start position:0%this is completely incorrect why because
align:start position:0%this is completely incorrect why becauseDelta H 1 1 is the 1 1 element of Delta
align:start position:0%Delta H 1 1 is the 1 1 element of Delta
align:start position:0%Delta H 1 1 is the 1 1 element of DeltaH and it's 0 and the 2 2 element of
align:start position:0%H and it's 0 and the 2 2 element of
align:start position:0%H and it's 0 and the 2 2 element ofDelta H is all
align:start position:0%Delta H is all
align:start position:0%Delta H is allzero and therefore this says one and one
align:start position:0%zero and therefore this says one and one
align:start position:0%zero and therefore this says one and onethat the eigenvalues haven't changed on
align:start position:0%that the eigenvalues haven't changed on
align:start position:0%that the eigenvalues haven't changed onthe other hand we know that the matrix
align:start position:0%the other hand we know that the matrix
align:start position:0%the other hand we know that the matrixthe total matrix which is one lambda
align:start position:0%the total matrix which is one lambda
align:start position:0%the total matrix which is one lambdalambda 1 has eigenvectors 1 over square
align:start position:0%lambda 1 has eigenvectors 1 over square
align:start position:0%lambda 1 has eigenvectors 1 over squareroot of 2 1 1 and 1 over square root of
align:start position:0%root of 2 1 1 and 1 over square root of
align:start position:0%root of 2 1 1 and 1 over square root of2 1 minus 1 with eigenvalues this is our
align:start position:0%2 1 minus 1 with eigenvalues this is our
align:start position:0%2 1 minus 1 with eigenvalues this is oureigenvectors and eigenvalues 1 plus
align:start position:0%eigenvectors and eigenvalues 1 plus
align:start position:0%eigenvectors and eigenvalues 1 pluslambda and 1 minus lambda so the
align:start position:0%lambda and 1 minus lambda so the
align:start position:0%lambda and 1 minus lambda so theeigenvalues of the matrix are 1 plus
align:start position:0%eigenvalues of the matrix are 1 plus
align:start position:0%eigenvalues of the matrix are 1 pluslambda 1 minus lambda and this formula
align:start position:0%lambda 1 minus lambda and this formula
align:start position:0%lambda 1 minus lambda and this formulato first order in lambda gave us nothing
align:start position:0%to first order in lambda gave us nothing
align:start position:0%to first order in lambda gave us nothingit failed badly it's a disaster so you
align:start position:0%it failed badly it's a disaster so you
align:start position:0%it failed badly it's a disaster so youcan say well what what happened and
align:start position:0%can say well what what happened and
align:start position:0%can say well what what happened andmaybe a clue is on the fact of the
align:start position:0%maybe a clue is on the fact of the
align:start position:0%maybe a clue is on the fact of theeigenvectors eigenvectors
align:start position:0%
align:start position:0% these are the eigenvectors of the total
align:start position:0%these are the eigenvectors of the total
align:start position:0%these are the eigenvectors of the totalmatrix these are in fact also the
align:start position:0%matrix these are in fact also the
align:start position:0%matrix these are in fact also theeigenvectors of the perturbation on the
align:start position:0%eigenvectors of the perturbation on the
align:start position:0%eigenvectors of the perturbation on theother hand when we said okay this is the
align:start position:0%other hand when we said okay this is the
align:start position:0%other hand when we said okay this is thefirst state the first eigenvector we
align:start position:0%first state the first eigenvector we
align:start position:0%first state the first eigenvector wethought of it as 1 0 and the hamiltonian
align:start position:0%thought of it as 1 0 and the hamiltonian
align:start position:0%thought of it as 1 0 and the hamiltonianon that eigenvector gave you the energy
align:start position:0%on that eigenvector gave you the energy
align:start position:0%on that eigenvector gave you the energy1 the second energy corresponds to the
align:start position:0%1 the second energy corresponds to the
align:start position:0%1 the second energy corresponds to theeigen vector 0 1 that's what we usually
align:start position:0%eigen vector 0 1 that's what we usually
align:start position:0%eigen vector 0 1 that's what we usuallyuse for our matrices so here is the
align:start position:0%use for our matrices so here is the
align:start position:0%use for our matrices so here is thestrange thing that seems to have
align:start position:0%strange thing that seems to have
align:start position:0%strange thing that seems to havehappened for the original Hamiltonian
align:start position:0%happened for the original Hamiltonian
align:start position:0%happened for the original Hamiltoniandid I ever a matrix we had this
align:start position:0%did I ever a matrix we had this
align:start position:0%did I ever a matrix we had thiseigenvector and this eigenvector and
align:start position:0%eigenvector and this eigenvector and
align:start position:0%eigenvector and this eigenvector andthen suddenly
align:start position:0%then suddenly
align:start position:0%then suddenlyyou turn on the perturbation and lambda
align:start position:0%you turn on the perturbation and lambda
align:start position:0%you turn on the perturbation and lambdacan be 10 to the minus a thousand and
align:start position:0%can be 10 to the minus a thousand and
align:start position:0%can be 10 to the minus a thousand andalready the eigenvectors jump and become
align:start position:0%already the eigenvectors jump and become
align:start position:0%already the eigenvectors jump and becomethis ones we go from this ones to that
align:start position:0%this ones we go from this ones to that
align:start position:0%this ones we go from this ones to thatone you just add a perturbation that you
align:start position:0%one you just add a perturbation that you
align:start position:0%one you just add a perturbation that youeven kind of measure in the eigenvectors
align:start position:0%even kind of measure in the eigenvectors
align:start position:0%even kind of measure in the eigenvectorschange that's crazy
align:start position:0%
align:start position:0% the explanation is this thing that we
align:start position:0%the explanation is this thing that we
align:start position:0%the explanation is this thing that weusually sometimes forget to say in a
align:start position:0%usually sometimes forget to say in a
align:start position:0%usually sometimes forget to say in amathematically precise way these are not
align:start position:0%mathematically precise way these are not
align:start position:0%mathematically precise way these are notthe eigenvectors of the original matrix
align:start position:0%the eigenvectors of the original matrix
align:start position:0%the eigenvectors of the original matrixsince the original matrix is degenerate
align:start position:0%since the original matrix is degenerate
align:start position:0%since the original matrix is degeneratethis is one possible choice of
align:start position:0%this is one possible choice of
align:start position:0%this is one possible choice ofeigenvectors any linear combination of
align:start position:0%eigenvectors any linear combination of
align:start position:0%eigenvectors any linear combination ofthem is an eigenvector so this space of
align:start position:0%them is an eigenvector so this space of
align:start position:0%them is an eigenvector so this space ofeigenvectors of this matrix is the span
align:start position:0%eigenvectors of this matrix is the span
align:start position:0%eigenvectors of this matrix is the spanof these things so there was no reason
align:start position:0%of these things so there was no reason
align:start position:0%of these things so there was no reasonto say all this where the eigenvectors
align:start position:0%to say all this where the eigenvectors
align:start position:0%to say all this where the eigenvectorsbefore and now they've change there are
align:start position:0%before and now they've change there are
align:start position:0%before and now they've change there arethis no before you don't know what are
align:start position:0%this no before you don't know what are
align:start position:0%this no before you don't know what arethe eigenvectors are ambiguous there's
align:start position:0%the eigenvectors are ambiguous there's
align:start position:0%the eigenvectors are ambiguous there'sno way to decide who they are these days
align:start position:0%no way to decide who they are these days
align:start position:0%no way to decide who they are these daysor any linear combination remember when
align:start position:0%or any linear combination remember when
align:start position:0%or any linear combination remember whenyou have a degenerate eigen state any
align:start position:0%you have a degenerate eigen state any
align:start position:0%you have a degenerate eigen state anysuperposition of them is at the general
align:start position:0%superposition of them is at the general
align:start position:0%superposition of them is at the generaldie again say so so the explanation is
align:start position:0%die again say so so the explanation is
align:start position:0%die again say so so the explanation isthat in some sense these eigenvectors of
align:start position:0%that in some sense these eigenvectors of
align:start position:0%that in some sense these eigenvectors ofthe perturb hamiltonian is one of the
align:start position:0%the perturb hamiltonian is one of the
align:start position:0%the perturb hamiltonian is one of thepossible choices of a basis of
align:start position:0%possible choices of a basis of
align:start position:0%possible choices of a basis ofeigenvectors for the original space and
align:start position:0%eigenvectors for the original space and
align:start position:0%eigenvectors for the original space andwhat the perturbation does is break the
align:start position:0%what the perturbation does is break the
align:start position:0%what the perturbation does is break thedegeneracy all those equivalent
align:start position:0%degeneracy all those equivalent
align:start position:0%degeneracy all those equivalenteigenvectors suddenly are not all
align:start position:0%eigenvectors suddenly are not all
align:start position:0%eigenvectors suddenly are not allequivalent and there's some preferred
align:start position:0%equivalent and there's some preferred
align:start position:0%equivalent and there's some preferredones so this is going to be so the fact
align:start position:0%ones so this is going to be so the fact
align:start position:0%ones so this is going to be so the factis that the formulas are not working
align:start position:0%is that the formulas are not working
align:start position:0%is that the formulas are not workingright and we have to do this again
align:start position:0%right and we have to do this again
align:start position:0%right and we have to do this againso here's what we're gonna do we're
align:start position:0%so here's what we're gonna do we're
align:start position:0%so here's what we're gonna do we'regonna set this up for a systematic
align:start position:0%gonna set this up for a systematic
align:start position:0%gonna set this up for a systematicanalysis to get this right so systematic
align:start position:0%analysis to get this right so systematic
align:start position:0%analysis to get this right so systematicanalysis so again we say h0 is known and
align:start position:0%analysis so again we say h0 is known and
align:start position:0%analysis so again we say h0 is known andit will have an e of say 1 0 and e 2 0
align:start position:0%it will have an e of say 1 0 and e 2 0
align:start position:0%it will have an e of say 1 0 and e 2 0like that until you encounter an e n 0
align:start position:0%like that until you encounter an e n 0
align:start position:0%like that until you encounter an e n 0that happens to be equal to the next one
align:start position:0%that happens to be equal to the next one
align:start position:0%that happens to be equal to the next onee n plus 1 0 and happens to be equal to
align:start position:0%e n plus 1 0 and happens to be equal to
align:start position:0%e n plus 1 0 and happens to be equal tothe next one all the way to an e n plus
align:start position:0%the next one all the way to an e n plus
align:start position:0%the next one all the way to an e n pluscapital n minus 1 0 which is then
align:start position:0%capital n minus 1 0 which is then
align:start position:0%capital n minus 1 0 which is thensmaller than the next one which is e n
align:start position:0%smaller than the next one which is e n
align:start position:0%smaller than the next one which is e nplus N and then again so I'm saying in
align:start position:0%plus N and then again so I'm saying in
align:start position:0%plus N and then again so I'm saying infunny ways the fact that yes you had
align:start position:0%funny ways the fact that yes you had
align:start position:0%funny ways the fact that yes you hadsome states and suddenly you hit a
align:start position:0%some states and suddenly you hit a
align:start position:0%some states and suddenly you hit acollection of capital n energy
align:start position:0%collection of capital n energy
align:start position:0%collection of capital n energyeigenvalues that are identical they're
align:start position:0%eigenvalues that are identical they're
align:start position:0%eigenvalues that are identical they'reall equal to en 0 all n states have
align:start position:0%all equal to en 0 all n states have
align:start position:0%all equal to en 0 all n states haveenergy e n 0 so it is as if you have
align:start position:0%energy e n 0 so it is as if you have
align:start position:0%energy e n 0 so it is as if you havethis matrix H 0 and there are all kinds
align:start position:0%this matrix H 0 and there are all kinds
align:start position:0%this matrix H 0 and there are all kindsof numbers and then there's a whole
align:start position:0%of numbers and then there's a whole
align:start position:0%of numbers and then there's a wholeblock where all the entries of size n by
align:start position:0%block where all the entries of size n by
align:start position:0%block where all the entries of size n byn where all the entries are the same so
align:start position:0%n where all the entries are the same so
align:start position:0%n where all the entries are the same son n plus 1 n plus 2 up to n n capital n
align:start position:0%n n plus 1 n plus 2 up to n n capital n
align:start position:0%n n plus 1 n plus 2 up to n n capital nminus 1 is n entries and they all have
align:start position:0%minus 1 is n entries and they all have
align:start position:0%minus 1 is n entries and they all havethe same energy
align:start position:0%
align:start position:0% and the corresponding eigen states are
align:start position:0%and the corresponding eigen states are
align:start position:0%and the corresponding eigen states aregonna be called and we're gonna use the
align:start position:0%gonna be called and we're gonna use the
align:start position:0%gonna be called and we're gonna use thelabel and for all of them even though
align:start position:0%label and for all of them even though
align:start position:0%label and for all of them even thoughthey the energies are all the same so
align:start position:0%they the energies are all the same so
align:start position:0%they the energies are all the same sothere's just an e/m energy so we have
align:start position:0%there's just an e/m energy so we have
align:start position:0%there's just an e/m energy so we havecapital and state so there will be an N
align:start position:0%capital and state so there will be an N
align:start position:0%capital and state so there will be an N1 and n 2 up to an n capital n all those
align:start position:0%1 and n 2 up to an n capital n all those
align:start position:0%1 and n 2 up to an n capital n all thosestates are gonna form an orthonormal
align:start position:0%
align:start position:0% basis for a space that we're gonna call
align:start position:0%basis for a space that we're gonna call
align:start position:0%basis for a space that we're gonna callVM so the space spanned by this states
align:start position:0%VM so the space spanned by this states
align:start position:0%VM so the space spanned by this stateswe're going to call VN with the n
align:start position:0%we're going to call VN with the n
align:start position:0%we're going to call VN with the nreminding you it has to do with it n
align:start position:0%reminding you it has to do with it n
align:start position:0%reminding you it has to do with it nstates little and states with energy
align:start position:0%states little and states with energy
align:start position:0%states little and states with energydescribed by the label n so this is the
align:start position:0%described by the label n so this is the
align:start position:0%described by the label n so this is thedegenerate subspace this is the space of
align:start position:0%degenerate subspace this is the space of
align:start position:0%degenerate subspace this is the space ofall those states that have energy E and
align:start position:0%all those states that have energy E and
align:start position:0%all those states that have energy E and0 so I'll state that here so it's quite
align:start position:0%0 so I'll state that here so it's quite
align:start position:0%0 so I'll state that here so it's quiteimportant to get our notation right here
align:start position:0%
align:start position:0% otherwise we don't understand what's
align:start position:0%otherwise we don't understand what's
align:start position:0%otherwise we don't understand what'sgoing on so H 0 and 0 K they all have
align:start position:0%going on so H 0 and 0 K they all have
align:start position:0%going on so H 0 and 0 K they all haveenergy e and 0 and 0 ok ok and this is
align:start position:0%energy e and 0 and 0 ok ok and this is
align:start position:0%energy e and 0 and 0 ok ok and this isfor K equals 1 up to capital n now okay
align:start position:0%for K equals 1 up to capital n now okay
align:start position:0%for K equals 1 up to capital n now okaythis is your degenerate subspace all
align:start position:0%this is your degenerate subspace all
align:start position:0%this is your degenerate subspace allthese are all the states and we now want
align:start position:0%these are all the states and we now want
align:start position:0%these are all the states and we now wantto know what happens to this space to
align:start position:0%to know what happens to this space to
align:start position:0%to know what happens to this space toall these states when the energy turns
align:start position:0%all these states when the energy turns
align:start position:0%all these states when the energy turnsthis is not just a theoretical construct
align:start position:0%this is not just a theoretical construct
align:start position:0%this is not just a theoretical constructwhen you start asking what happens to
align:start position:0%when you start asking what happens to
align:start position:0%when you start asking what happens tothe first excited states in the hydrogen
align:start position:0%the first excited states in the hydrogen
align:start position:0%the first excited states in the hydrogenatom you already have four states there
align:start position:0%atom you already have four states there
align:start position:0%atom you already have four states thereL equal 1 l equals 0 States at n equal 2
align:start position:0%L equal 1 l equals 0 States at n equal 2
align:start position:0%L equal 1 l equals 0 States at n equal 2and half degenerate States and
align:start position:0%and half degenerate States and
align:start position:0%and half degenerate States andimmediately you're stuck in this
align:start position:0%immediately you're stuck in this
align:start position:0%immediately you're stuck in thissituation so I will also use the
align:start position:0%situation so I will also use the
align:start position:0%situation so I will also use thenotation that the total space space a
align:start position:0%
align:start position:0% curly H is the sum of V and plus a V hot
align:start position:0%curly H is the sum of V and plus a V hot
align:start position:0%curly H is the sum of V and plus a V hotthis is called the direct sum at this
align:start position:0%this is called the direct sum at this
align:start position:0%this is called the direct sum at thispoint it just doesn't matter too much
align:start position:0%point it just doesn't matter too much
align:start position:0%point it just doesn't matter too muchthese are linearly independent subspaces
align:start position:0%these are linearly independent subspaces
align:start position:0%these are linearly independent subspacesbe and be hot and basically you think
align:start position:0%be and be hot and basically you think
align:start position:0%be and be hot and basically you thinkdoes V hot as all the other states yes
align:start position:0%does V hot as all the other states yes
align:start position:0%does V hot as all the other states yesthere were this degenerate subspace and
align:start position:0%there were this degenerate subspace and
align:start position:0%there were this degenerate subspace andall the other states are we had so we
align:start position:0%all the other states are we had so we
align:start position:0%all the other states are we had so wehad is the span of all other states and
align:start position:0%had is the span of all other states and
align:start position:0%had is the span of all other states andwe'll call them p 0 or what letter are p
align:start position:0%we'll call them p 0 or what letter are p
align:start position:0%we'll call them p 0 or what letter are p0 with P equals some numbers so this is
align:start position:0%0 with P equals some numbers so this is
align:start position:0%0 with P equals some numbers so this isa good notation it allows you to
align:start position:0%a good notation it allows you to
align:start position:0%a good notation it allows you todistinguish the degenerate States use
align:start position:0%distinguish the degenerate States use
align:start position:0%distinguish the degenerate States usetwo labels maybe you only need at one
align:start position:0%two labels maybe you only need at one
align:start position:0%two labels maybe you only need at onelabel but you would get confused with
align:start position:0%label but you would get confused with
align:start position:0%label but you would get confused withthe notation if you just use one labor
align:start position:0%the notation if you just use one labor
align:start position:0%the notation if you just use one laborso if that's the case the generate state
align:start position:0%so if that's the case the generate state
align:start position:0%so if that's the case the generate statebut by putting the end here you now know
align:start position:0%but by putting the end here you now know
align:start position:0%but by putting the end here you now knowyou're talking at the generate state
align:start position:0%you're talking at the generate state
align:start position:0%you're talking at the generate statewhen you have a single label you're
align:start position:0%when you have a single label you're
align:start position:0%when you have a single label you'retalking about the other states in the
align:start position:0%talking about the other states in the
align:start position:0%talking about the other states in thespace so it's very good when your
align:start position:0%space so it's very good when your
align:start position:0%space so it's very good when yournotation
align:start position:0%notation
align:start position:0%notationmakes it easy to think and recognize the
align:start position:0%makes it easy to think and recognize the
align:start position:0%makes it easy to think and recognize theequations that you have and V Hart and
align:start position:0%equations that you have and V Hart and
align:start position:0%equations that you have and V Hart andthis are orthogonal spaces we've had is
align:start position:0%this are orthogonal spaces we've had is
align:start position:0%this are orthogonal spaces we've had isperpendicular to V n the inner product
align:start position:0%perpendicular to V n the inner product
align:start position:0%perpendicular to V n the inner productof any state outside the generate space
align:start position:0%of any state outside the generate space
align:start position:0%of any state outside the generate spacewith a state in the degenerate space is
align:start position:0%with a state in the degenerate space is
align:start position:0%with a state in the degenerate space iszero okay so let's up now do the
align:start position:0%zero okay so let's up now do the
align:start position:0%zero okay so let's up now do theimportant thing should I can do it here
align:start position:0%important thing should I can do it here
align:start position:0%important thing should I can do it hereI think I'll do it here so what do we
align:start position:0%I think I'll do it here so what do we
align:start position:0%I think I'll do it here so what do wewant to do what is the question here the
align:start position:0%want to do what is the question here the
align:start position:0%want to do what is the question here thequestion is the following we have a
align:start position:0%question is the following we have a
align:start position:0%question is the following we have astate and zero K we have capital n of
align:start position:0%state and zero K we have capital n of
align:start position:0%state and zero K we have capital n ofthose states and we want to figure out
align:start position:0%those states and we want to figure out
align:start position:0%those states and we want to figure outwhat they become as you turn on the
align:start position:0%what they become as you turn on the
align:start position:0%what they become as you turn on theperturbation so what using the old
align:start position:0%perturbation so what using the old
align:start position:0%perturbation so what using the oldnotation we'll say they become this and
align:start position:0%notation we'll say they become this and
align:start position:0%notation we'll say they become this andwhat is that gonna be it's gonna be M 0
align:start position:0%what is that gonna be it's gonna be M 0
align:start position:0%what is that gonna be it's gonna be M 0K the original state what it was plus
align:start position:0%K the original state what it was plus
align:start position:0%K the original state what it was plusorder lambda the first correction so and
align:start position:0%order lambda the first correction so and
align:start position:0%order lambda the first correction so andone for this case state plus dot o dot
align:start position:0%one for this case state plus dot o dot
align:start position:0%one for this case state plus dot o dotfor the energies we had em0 that was the
align:start position:0%for the energies we had em0 that was the
align:start position:0%for the energies we had em0 that was theenergy of every state in the degenerate
align:start position:0%energy of every state in the degenerate
align:start position:0%energy of every state in the degeneratesubspace now it's gonna become T and
align:start position:0%subspace now it's gonna become T and
align:start position:0%subspace now it's gonna become T andlambda P and lambda
align:start position:0%lambda P and lambda
align:start position:0%lambda P and lambdabut if I say en and I'm already making a
align:start position:0%but if I say en and I'm already making a
align:start position:0%but if I say en and I'm already making amistake
align:start position:0%mistake
align:start position:0%mistakebecause I'm looking at the fixed K and a
align:start position:0%because I'm looking at the fixed K and a
align:start position:0%because I'm looking at the fixed K and afixed K means we chose one of the state
align:start position:0%fixed K means we chose one of the state
align:start position:0%fixed K means we chose one of the stateand any single one of the state the
align:start position:0%and any single one of the state the
align:start position:0%and any single one of the state theenergy can grow in a different way
align:start position:0%energy can grow in a different way
align:start position:0%energy can grow in a different wayso I should call this emk because we're
align:start position:0%so I should call this emk because we're
align:start position:0%so I should call this emk because we'retalking about this state will be equal
align:start position:0%talking about this state will be equal
align:start position:0%talking about this state will be equalto e and zero yes they all have the same
align:start position:0%to e and zero yes they all have the same
align:start position:0%to e and zero yes they all have the samefirst
align:start position:0%first
align:start position:0%firstzeroth-order energy but then e MK 1 plus
align:start position:0%zeroth-order energy but then e MK 1 plus
align:start position:0%zeroth-order energy but then e MK 1 pluslambda squared e MK 2 and so on so this
align:start position:0%lambda squared e MK 2 and so on so this
align:start position:0%lambda squared e MK 2 and so on so thisis the fate of the cave State and the
align:start position:0%is the fate of the cave State and the
align:start position:0%is the fate of the cave State and thedegeneracy will be broken to first order
align:start position:0%degeneracy will be broken to first order
align:start position:0%degeneracy will be broken to first orderif this e n case become different
align:start position:0%if this e n case become different
align:start position:0%if this e n case become differentnumbers because if they become different
align:start position:0%numbers because if they become different
align:start position:0%numbers because if they become differentnumbers in lambda they're going to start
align:start position:0%numbers in lambda they're going to start
align:start position:0%numbers in lambda they're going to startsplitting the states remember this
align:start position:0%splitting the states remember this
align:start position:0%splitting the states remember thispicture we had last time of several
align:start position:0%picture we had last time of several
align:start position:0%picture we had last time of severalstates at one point if the order lambda
align:start position:0%states at one point if the order lambda
align:start position:0%states at one point if the order lambdaCorrections are different the state
align:start position:0%Corrections are different the state
align:start position:0%Corrections are different the statesplit the degeneracy is resolved and we
align:start position:0%split the degeneracy is resolved and we
align:start position:0%split the degeneracy is resolved and wecan calculate things more easily if it's
align:start position:0%can calculate things more easily if it's
align:start position:0%can calculate things more easily if it'snot resolved to first order it's harder
align:start position:0%not resolved to first order it's harder
align:start position:0%not resolved to first order it's harderit will be all of next lecture to figure
align:start position:0%it will be all of next lecture to figure
align:start position:0%it will be all of next lecture to figureout what happens in that case we
align:start position:0%out what happens in that case we
align:start position:0%out what happens in that case wediscussed last time that the N one
align:start position:0%discussed last time that the N one
align:start position:0%discussed last time that the N onecorrection didn't have any component
align:start position:0%correction didn't have any component
align:start position:0%correction didn't have any componentalong the n zero vector we could always
align:start position:0%along the n zero vector we could always
align:start position:0%along the n zero vector we could alwaysarrange that to happen here we can
align:start position:0%arrange that to happen here we can
align:start position:0%arrange that to happen here we canarrange something similar to happen so
align:start position:0%arrange something similar to happen so
align:start position:0%arrange something similar to happen sowe will still assume assume and we can
align:start position:0%we will still assume assume and we can
align:start position:0%we will still assume assume and we cancheck that's always possible that the N
align:start position:0%check that's always possible that the N
align:start position:0%check that's always possible that the NP corrections to the state K at order P
align:start position:0%
align:start position:0% for P equals 1 2 3 because it's not 0
align:start position:0%for P equals 1 2 3 because it's not 0
align:start position:0%for P equals 1 2 3 because it's not 0are orthogonal to n 0 K so this state
align:start position:0%are orthogonal to n 0 K so this state
align:start position:0%are orthogonal to n 0 K so this statedoesn't have any component along n 0 K
align:start position:0%doesn't have any component along n 0 K
align:start position:0%doesn't have any component along n 0 Kand this state doesn't have any company
align:start position:0%and this state doesn't have any company
align:start position:0%and this state doesn't have any companyalong the original one it's always
align:start position:0%along the original one it's always
align:start position:0%along the original one it's alwayspossible to do that just like we did it
align:start position:0%possible to do that just like we did it
align:start position:0%possible to do that just like we did itin the degenerate non degenerate case
align:start position:0%
align:start position:0% moreover but here is this is something I
align:start position:0%moreover but here is this is something I
align:start position:0%moreover but here is this is something Iwant you to notice we're saying that the
align:start position:0%want you to notice we're saying that the
align:start position:0%want you to notice we're saying that thestate and one doesn't have any component
align:start position:0%state and one doesn't have any component
align:start position:0%state and one doesn't have any componentalong the state and 0 for a given K but
align:start position:0%along the state and 0 for a given K but
align:start position:0%along the state and 0 for a given K butthe state and one can have components
align:start position:0%the state and one can have components
align:start position:0%the state and one can have componentsalong and 0 for a different K so while
align:start position:0%along and 0 for a different K so while
align:start position:0%along and 0 for a different K so whilethe answer or a piece order correction
align:start position:0%the answer or a piece order correction
align:start position:0%the answer or a piece order correctiondoesn't have component along this it can
align:start position:0%doesn't have component along this it can
align:start position:0%doesn't have component along this it canhave component for K for an L here where
align:start position:0%have component for K for an L here where
align:start position:0%have component for K for an L here whereL is different from k so it means that n
align:start position:0%L is different from k so it means that n
align:start position:0%L is different from k so it means that nP K still can have a component in VN
align:start position:0%P K still can have a component in VN
align:start position:0%P K still can have a component in VNremember V n is this whole thing so if
align:start position:0%remember V n is this whole thing so if
align:start position:0%remember V n is this whole thing so ifyou're doing the case one well n 1k
align:start position:0%you're doing the case one well n 1k
align:start position:0%you're doing the case one well n 1kdoesn't have a number along that one but
align:start position:0%doesn't have a number along that one but
align:start position:0%doesn't have a number along that one butit may have a component along all the
align:start position:0%it may have a component along all the
align:start position:0%it may have a component along all theothers so it may still have a component
align:start position:0%others so it may still have a component
align:start position:0%others so it may still have a componentthat correction in VN in fact that's
align:start position:0%that correction in VN in fact that's
align:start position:0%that correction in VN in fact that'swhat will make the problem a little hard
align:start position:0%what will make the problem a little hard
align:start position:0%what will make the problem a little hardto do but it's a good thing to try to
align:start position:0%to do but it's a good thing to try to
align:start position:0%to do but it's a good thing to try tofigure out this thing so what is the
align:start position:0%figure out this thing so what is the
align:start position:0%figure out this thing so what is theequation we want to solve the usual
align:start position:0%equation we want to solve the usual
align:start position:0%equation we want to solve the usualequation H of lambda on MK lambda is
align:start position:0%equation H of lambda on MK lambda is
align:start position:0%equation H of lambda on MK lambda isequal to
align:start position:0%equal to
align:start position:0%equal tom'kay of lambda and K so we produce the
align:start position:0%m'kay of lambda and K so we produce the
align:start position:0%m'kay of lambda and K so we produce thegeneral state that's its energy for the
align:start position:0%general state that's its energy for the
align:start position:0%general state that's its energy for thefull final tone Ian that's our
align:start position:0%full final tone Ian that's our
align:start position:0%full final tone Ian that's ourSchrodinger equation so what do we have
align:start position:0%Schrodinger equation so what do we have
align:start position:0%Schrodinger equation so what do we haveto do we have to do exactly what we did
align:start position:0%to do we have to do exactly what we did
align:start position:0%to do we have to do exactly what we didbefore plugging that series separate the
align:start position:0%before plugging that series separate the
align:start position:0%before plugging that series separate theterms with various lambdas and see what
align:start position:0%terms with various lambdas and see what
align:start position:0%terms with various lambdas and see whatwe get so here is what we get to order
align:start position:0%we get so here is what we get to order
align:start position:0%we get so here is what we get to orderlambda to the 0 you get H 0 minus M 0 on
align:start position:0%lambda to the 0 you get H 0 minus M 0 on
align:start position:0%lambda to the 0 you get H 0 minus M 0 onn 0 k equals 0 and that equation as it
align:start position:0%n 0 k equals 0 and that equation as it
align:start position:0%n 0 k equals 0 and that equation as itwas the case for the non degenerate case
align:start position:0%was the case for the non degenerate case
align:start position:0%was the case for the non degenerate casesorry for the redundancy it's trivially
align:start position:0%sorry for the redundancy it's trivially
align:start position:0%sorry for the redundancy it's triviallysatisfied we've stated that those are
align:start position:0%satisfied we've stated that those are
align:start position:0%satisfied we've stated that those arethe energies in the top equation on that
align:start position:0%the energies in the top equation on that
align:start position:0%the energies in the top equation on thatblackboard so this equation we don't
align:start position:0%blackboard so this equation we don't
align:start position:0%blackboard so this equation we don'tneed to worry about that's not too
align:start position:0%need to worry about that's not too
align:start position:0%need to worry about that's not toodifficult lambda 1 H 0 minus e + 0 + 1 K
align:start position:0%difficult lambda 1 H 0 minus e + 0 + 1 K
align:start position:0%difficult lambda 1 H 0 minus e + 0 + 1 Kwill be equal to e MK 1 minus Delta H +
align:start position:0%will be equal to e MK 1 minus Delta H +
align:start position:0%will be equal to e MK 1 minus Delta H +0 K
align:start position:0%
align:start position:0% last equation starting to get lazy to
align:start position:0%last equation starting to get lazy to
align:start position:0%last equation starting to get lazy towrite them out but we must and to K is
align:start position:0%write them out but we must and to K is
align:start position:0%write them out but we must and to K isequal to M e MK 1 minus Delta H and 1 k
align:start position:0%equal to M e MK 1 minus Delta H and 1 k
align:start position:0%equal to M e MK 1 minus Delta H and 1 kplus e MK 2 and 0 k ok and these
align:start position:0%plus e MK 2 and 0 k ok and these
align:start position:0%plus e MK 2 and 0 k ok and theseequations are equations for K fixed but
align:start position:0%equations are equations for K fixed but
align:start position:0%equations are equations for K fixed butthis every term in the equation has the
align:start position:0%this every term in the equation has the
align:start position:0%this every term in the equation has thesame K but K then can run from 1 up to n
align:start position:0%same K but K then can run from 1 up to n
align:start position:0%same K but K then can run from 1 up to nso three equations terms n times there
align:start position:0%so three equations terms n times there
align:start position:0%so three equations terms n times therewe go okay these are our equations this
align:start position:0%we go okay these are our equations this
align:start position:0%we go okay these are our equations thistime and we need to understand them in
align:start position:0%time and we need to understand them in
align:start position:0%time and we need to understand them infact we need to solve them what with
align:start position:0%fact we need to solve them what with
align:start position:0%fact we need to solve them what withgetting experience with the non
align:start position:0%getting experience with the non
align:start position:0%getting experience with the nondegenerate case is going to come very
align:start position:0%degenerate case is going to come very
align:start position:0%degenerate case is going to come veryuseful here although some things are not
align:start position:0%useful here although some things are not
align:start position:0%useful here although some things are notgoing to be exactly the same we're going
align:start position:0%going to be exactly the same we're going
align:start position:0%going to be exactly the same we're goingto try to find the energy Corrections
align:start position:0%to try to find the energy Corrections
align:start position:0%to try to find the energy Correctionshere but calculating the state and one
align:start position:0%here but calculating the state and one
align:start position:0%here but calculating the state and oneis going to be a little harder we won't
align:start position:0%is going to be a little harder we won't
align:start position:0%is going to be a little harder we won'tfinish today we'll have much time left
align:start position:0%finish today we'll have much time left
align:start position:0%finish today we'll have much time leftbut what's going to happen is that you
align:start position:0%but what's going to happen is that you
align:start position:0%but what's going to happen is that youcan calculate the state and one the part
align:start position:0%can calculate the state and one the part
align:start position:0%can calculate the state and one the partin the space we had but the part in the
align:start position:0%in the space we had but the part in the
align:start position:0%in the space we had but the part in thedegenerate subspace where I said that n
align:start position:0%degenerate subspace where I said that n
align:start position:0%degenerate subspace where I said that nPK still can have a component in the
align:start position:0%PK still can have a component in the
align:start position:0%PK still can have a component in thedegenerate subspace cannot be calculated
align:start position:0%degenerate subspace cannot be calculated
align:start position:0%degenerate subspace cannot be calculatedfrom this equation so even when we
align:start position:0%from this equation so even when we
align:start position:0%from this equation so even when wefinish doing this first equation
align:start position:0%finish doing this first equation
align:start position:0%finish doing this first equationyou're gonna find the situation you
align:start position:0%you're gonna find the situation you
align:start position:0%you're gonna find the situation youstill have not calculated all of the
align:start position:0%still have not calculated all of the
align:start position:0%still have not calculated all of thesteps and one you're gonna have to go to
align:start position:0%steps and one you're gonna have to go to
align:start position:0%steps and one you're gonna have to go tothe second equation to find the missing
align:start position:0%the second equation to find the missing
align:start position:0%the second equation to find the missingpart of the state and one so it's gonna
align:start position:0%part of the state and one so it's gonna
align:start position:0%part of the state and one so it's gonnabe pretty interesting1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497The followingcontent is provided
under a CreativeCommons license.
Your support will help MITOpenCourseWare continue
to offer high qualityeducational resources for free.
To make a donation orview additional materials
from hundreds of MIT courses,visit MIT OpenCourseWare
at ocw.mit.edu.
PROFESSOR: Today's lectureis about a brand new data
structure that you'veprobably seen before,
and we've mentionedearlier in double 06,
called a binary search tree.
We've talked aboutbinary search.
It's a fundamental divideand conquer paradigm.
There's a data structureassociated with it,
called the BST, abinary search tree.
And what I want to do ismotivate this data structure
using a problem.
It's a bit of a toy problem,but certainly a problem
that you could imagineexists in all sorts
of scheduling problems.
It's a part of a runwayreservation system
that you can imagine building.
And what I'll do isdefine this problem
and talk about how we couldpossibly solve it with the data
structures you've already seen--so lists and arrays, heaps
as well as, whichwe saw last time--
and hopefully motivate you intothe reason behind the existence
of binary searchtrees, because they
are kind of theperfect data structure
for this particular problem.
So let's dive into what therunway reservation system looks
like.
And it's your basicscheduling problem.
We'll assume an airportwith a single runway.
Now Logan has six runways.
But the moment there's any sortof weather you're down to one.
And of course, there's lots ofairports with a single runway.
And we can imagine thatthis runway is pretty busy.
There's obviously safety issuesassociated with landing planes,
and planes taking off.
And so there areconstraints associated
with the system, thathave to be obeyed.
And you have to build theseconstraints in-- and the checks
for these constraints--into your data structure.
That's sort of thesummary of the context.
So reservationsfor future landings
is really what thissystem is built for.
There's a notion of time.
We'll assume thattime is continuous.
So it could be representedby a real variable,
or a real quantity.
And what we'd like to do isreserve requests for landings.
And these are going tospecify landing time.
Each of them is going tospecify a landing time.
We call it t.
And in particular,we're going to add t
to the set R of landing times ifno other landings are scheduled
within k minutes.
And k is a parameterthat could vary.
I mean, it could be staticallyset to 3 minutes, or maybe 4.
You can imagine itvarying it dynamically
depending on weatherconditions, things like that.
For the most of the exampleswe'll talk about today,
we'll assume k is 3 minutes,or something like that.
So this is about addingto the data structure.
And so an insertoperation, if you will,
that has a constraint associatedwith it that you need to check.
And so you wouldn't insert ifthe constraint was violated.
You would if theconstraint was satisfied.
And time, as Isaid, is something
that is part of the system.
It needs to be modeled.
You have the currentnotion of time.
And every time you have aplane that's already landed,
which means thatyou can essentially
take this particularlanding time away
from the set R. So thisremoval, or delete-- we remove
from set R, which isthe set of landing times
after the plane lands.
So every once in awhile,as time increments,
you're going to be checkingthe data structure.
And you can do this, maybe,every minute, every 30 seconds.
That isn't really important.
But you have to be ableto remove from this data
structure.
So fairly straightforwarddata structure.
It's a set, R. We don't quiteknow how to implement it yet.
But we'd like to do all of theseoperations in order log n time,
where n is the size of the set.
All right?
So any questions about that?
Any questions aboutthe definition
of the problembefore we move on?
Are we good on?
OK.
So let's look at a realstraightforward example,
and put this up here so youget a better sense of this.
Let's say that, rightnow, we are at time 37.
And the set R has41.2, 49, and 53 in it.
And that's time.
Now you may get a requestfor landing time 53.
And-- I'm sorry.
I want to call this56.3-- 41.2, 49, and 56.3.
You may get a requestfor landing time 53.
And right now the time is 37.
It's in the future, andyou say OK because you've
done the check.
And let's assumethat k equals 3.
And 53 is four ahead of 49, and3.3 before 56.3, so you're OK.
44 is not allowed.
It's too close to 41.2.
And 20, just forcompleteness, is not
allowed because it's passed.
Can't schedule in the past.
I mean, it couldbe the next day.
But then youwouldn't call it 20.
Let's assume that time isa monotonically increasing
function.
You have a 64-bit number.
It can go to the endof the world, or 2012,
or wherever you want.
So you can keep thenumber a bit smaller,
and do a little constantfactor optimization, I guess.
So that's sort of the set up.
And hopefully you get a senseof what the requirements.
And you guys know about a bunchof data structures already.
And what I want to do islist each one of them,
and essentially shootthem down with respect
to not being able to makethis efficiency requirement.
And I'd like you guys tohelp me shoot them down.
So let's talk aboutan easy one first.
Let's say you have an unsortedlist or an array corresponding
to R. That's all you have.
What's wrong withthis data structure
from an efficiency standpoint?
Yeah.
AUDIENCE: Pretty much everythingyou want to do to it is linear.
PROFESSOR: That's exactly right.
Pretty much everything youwant to do to it is linear.
And so you want to checkthe k minute check.
You can certainly insertinto it, and just add to it.
So that part is not linear,that's constant time.
But certainly,anything where you
want to go check againstother elements of the array,
it's unsorted.
You have no idea of whereto find these elements.
You have to scanthrough the entire array
to check to see whetherthere's a landing time that's
within k of the current timet that you're asking for.
And that's going totake order n time.
So you can insert inorder 1 without a check.
But sadly, the checktakes order n time.
All right?
Let's do something that isa little more plausible.
Let's talk about a sorted array.
So this is a littlemore subtle question.
Let's talk about a sorted array.
What happens witha sorted array?
Someone?
What can you dowith a sorted array?
Yeah.
AUDIENCE: Do a binary searchto find the [INAUDIBLE].
PROFESSOR: Binary searchwould find a bad insert.
OK, good.
So that's good.
So if you have a sorted array,and just for argument's sake,
it looks like 4, 20, 32, 37, 45.
And it's increasing order.
And if you get a particular timet, you can use binary search.
And let's say, in particular,the time is, for example, 34.
Then what you do is you goto the midpoint of the array,
and maybe you just look at that.
And you say oh, 34is greater than 32.
So I'm going to gocheck and figure out
if I need to move tothe left or the right.
And since it's greater I'mgoing to move to the right.
And within logarithmictime, you'll
find what we call the insertionpoint of the sorted array,
where this 34 issupposed to sit.
And you don't necessarilyget to insert there.
You need to look, once you'vefound the insertion point,
to your left and to your right.
And do the k minute check.
So finish up theanswer to the question,
tell me how long it's going totake me to find the insertion
point, how long it's goingto take me to do the check,
and how long it's goingto take me to actually do
the insertion.
AUDIENCE: Log n in the search--
PROFESSOR: Log n for thesearch, to find the point.
AUDIENCE: Constantfor the comparison?
PROFESSOR: Constantto the comparison.
And then the last step?
AUDIENCE: Do theresearch [INAUDIBLE].
PROFESSOR: Sorry, little louder.
Sorry.
AUDIENCE: Theinsertion is constant.
PROFESSOR: Insertionis constant?
Is that right?
Do you people agree with him,that insertion is constant?
AUDIENCE: You've got amaximum size up there, right?
There must be a maximum.
[INAUDIBLE]
PROFESSOR: No, the indices--so right now the array
has indices i.
And if you start with 1, it's1, 2, 3, 4, 5, et cetera.
So what do youmean by insertion?
Someone explain to mewhat-- yeah, go ahead.
AUDIENCE: When youput something in you
have to shiftevery element over.
PROFESSOR: That's exactly right.
That's exactly right.
Ok, good, that's great.
I guess I should giveyou half a cushion.
But I'll do the full one, right?
And you get one, too.
So the point here isthis is pretty close.
It's almost what we want.
It's almost what we want.
There's a little bitof a glitch here.
We know about binary search.
The binary search isgoing to allow us,
if there's n elementshere, to find the place--
it's going to be ableto find-- and I'm
going to precise here-- thesmallest i such that R of i
is greater than or equalto t in order log n time.
It's going to beable to do that.
You're going to be able tocompare R of i and R of i
minus 1-- so the leftand the right-- against t
in order 1 time.
But sadly, the actual insertionis going to require shifting.
And that could take order ntime, because it's an array.
So that's the problem.
Now you could imagine thatyou had a sorted list.
And you could say, heyif I have a sorted list,
then the list lookslike this, and it's
got a bunch of pointers in it.
And if I've foundthe insertion point,
then-- the list is nice,because you can insert something
by moving pointersin constant time
once you've foundthe insertion point.
But what's theproblem with the list?
Yeah.
AUDIENCE: You can't dobinary search [INAUDIBLE].
PROFESSOR: Well you can'tdo binary search on a list.
There's no notion ofgoing to the n by 2 index
and doing random access ona conventional list, right?
So the list doesone thing right,
but doesn't do theother thing right.
The array does acouple things right,
but doesn't do theshifting right.
And so you see why we'veconstructed this toy problem.
It's to motivate thebinary search tree data
structure, obviously.
But you're close,but not quite there.
What about heaps?
We talked about heaps last time.
What's the basic problem withthe heap for this problem?
The heaps are dataarrays, but you
can visualize them as trees.
And obviously if we're talkingabout min heaps and max heaps.
So in particular, what goeswrong with a min heap or a max
heap for this problem?
What takes a long time?
Yeah.
AUDIENCE: You have to scan everyelement, which [INAUDIBLE].
PROFESSOR: That's right.
I mean, sadly, you know whenwe talk about min heaps or max
heaps, they actually havea fairly weak invariant.
It turns out that-- I'mpreviewing a bit here--
binary searchtrees are obviously
similar to heaps in thesense that you visualize
an array as a tree,in the case of a heap.
And binary searchtrees are trees.
But the invariant in amin heap or a max heap,
is this kind ofa week invariant.
It essentially says,look at the min element.
And the min elementhas to be the root,
so you can do that oneoperation pretty quickly.
But if you want to lookfor a k minute check,
you want to see if there'san element in the heap that
is less than or equal to k,or greater than or equal to k
from t, this is goingto take order n time.
OK?
Good.
And finally, we haven'ttalked about dictionaries,
but we will next week.
Eric will talk about hashtables and dictionaries.
And they have the same problem.
So it's not like dictionariesare going to solve the problem,
for those of you who know abouthash tables and dictionaries.
But you'll hear aboutthem in some detail.
They're very goodat other things.
So I don't want to say much moreabout that, because you're not
supposed to knowabout dictionaries.
Or at least wedon't want to assume
you do, though wehave talked about them
and alluded todictionaries earlier.
And so that's a story here.
Yeah, back there, question.
AUDIENCE: Yeah, can you explainwhy it's [INAUDIBLE] time?
PROFESSOR: So whatis a heap, right?
A heap essentially-- amin heap, for example,
or we talked aboutmax heaps last time,
has the property thatyou have an element k,
and you're going to lookat, let's say it's 21.
Let's do min heaps, so thishas to be less than what's
here, 23, and whatthere, maybe it's
30, and so on and so forth.
And you have arecursive definition.
And when you insert into a minheap, typically what happens
is suppose you wanted toinsert, for argument's sake,
I want to insert 25.
I want to insert 25 into this.
The insertion algorithmfor a min heap
typically adds to theend of the min heap.
So what you do is youwould add 25 to this.
And let's say that youhad something out here.
So you'd add to it.
And you'd start flipping things.
And you could work withjust this part of the array
to insert 25 in here.
And you'd be able to satisfythe invariant of the min heap.
And you'd get alegitimate min heap.
But you'd never check theleft part of it, which is 23.
So it's quite possible--and this is a good example--
that your basic insertionalgorithm, which is essentially
a version of max heapof i, or min heap of i,
would simply insertat the end, and keep
flipping until you getthe min heap property,
would be unable to checkfor the k minute check
during the insertion.
But what you'd have to dois to go look elsewhere.
That min heap of iwe'd never look at--
or the insert algorithm we'dnever look at-- and that
would require order n time.
All right?
AUDIENCE: Thank you.
PROFESSOR: So that's thestory for the min heap.
Thanks for the question.
And it's similar fordictionaries, as I said.
And so we're stuck.
We have no data structure yetthat can do all of the things
that I put up on the board tothe left, in order log n time.
And as you can see, thesorted array got pretty close.
And so if you couldjust solve this problem,
if you could do fast insertion--and by fast I mean order log n
time-- into a sortedarray, we'd be in business.
So that's what we'd like todo with binary search trees.
Binary search treesare, as you can imagine,
enable binary search.
But the sorted arraysdon't allow fast insertion,
but BSTs do.
So let me introduce BSTs.
As with any datastructure, there's
a nice invariantassociated with BSTs.
The invariant is strongerthan the heap invariant.
And actually, that makes thema different data structure, not
necessarily a betterdata structure.
And I'll say why, but different.
For this problem they're better.
So one example of a binarysearch tree looks like this.
And as a binary tree you havea node, and we call it x.
Each of the nodeshas a key of x.
So 30 is the key for this node,17 for that one, et cetera.
Unlike in a heap,your data structure
is a little more complicated.
The heap is simplyan array, and you
happen to visualizeit as a tree.
The binary searchtree is actually
a tree that haspointers, unlike a heap.
So it's a more complicateddata structure.
You need a few more bytes forevery node of the binary search
tree, as opposedto the heap, which
is simply an array element.
And the pointersare parent of x.
I haven't botheredshowing the arrows here,
because you could be goingupwards or backwards.
And you could imaginethat you actually
have a parent pointerthat goes up this way,
and you have a childpointer that goes this way.
So there's really,potentially, three pointers
for each node, theparent, the left child,
and the right child.
So pretty straightforward.
That's the datastructure in terms
of what it needs to haveso you can operate on it.
And there's aninvariant for a BST.
What makes a BSTis that you have
an ordering of thekey values that
satisfy the invariant thatfor all nodes x if y is
in the left subtreeof x, we have--
if it's in the leftsubtree then key of y
is less than orequal to key of x.
And if y is in theright subtree we
have key of y is greaterthan or equal to key of x.
So if we're talkingabout trees here,
subtrees here,everything underneath--
and that's the stronger partof the invariant in the BST,
versus in the heap we were justtalking about the children.
And so you look atthis BST, it is a BST
because if I look tothe right, from the root
I only see values thatare greater than 30.
And if I look to the left,in the entire subtree,
all the way down I only seevalues that are less than 30.
And that has to be true for anyintermediate node in the tree.
And the only othernontrivial node here is 17.
And you see that 14 is less than17, and 20 is greater than 17.
OK?
So that's the BST.
That's the data structure.
This is the invariant.
So let's look at why BSTsare a possibility for solving
our runway reservation problem.
And what I'll do isI'll do the insert.
So let's start with thenil set of elements,
or null set of elements, R.And let's start inserting.
So I insert 49.
And all I do is make a nodethat has a key value of 49.
This one is easy.
Next insert, 79.
And what happens hereis I have to look at 49,
and I compare 79 to 49.
And because 79 is greaterthan 49 I go to the right
and I attach 79 tothe right child of 49.
Then I want to insert 46.
And when I want toinsert 46 I look at this,
I compare 49 and 46.
46 is less, so I go to the leftside and I put 46 in there.
Next, let's say Iwant to insert 41.
So far I haven't really talkedabout the k minute checks.
And you could imaginethat they're being done.
I'll show you exactly, ortalk about exactly how they're
done in a second.
It's not that hard.
But let me go aheadand do one more.
For 41, 41 is lessthan 49, so I go left.
41 is less than 46, soI go left and attach it
to the left child.
All right?
So that's what I have right now.
Now let's talk aboutthe k minute check.
It's good to talk aboutthe K minute check
when there'sactually a violation.
And let's assumethe k equals 3 here.
And so, same thing here.
You're essentially doingbinary search here.
And you're doing the checks asyou're doing the binary search.
So what you'regoing to be doing is
you're going to check that--you're going to compare 42
with 49, with thek minute check.
And you realize they're 7 apart.
So that's OK.
And 42 is less than49, so you go left.
And then you compare 42 with 46.
And again, it's less than 46,but it's k away, more than 3
away from 46.
So that's cool.
And you go left.
And then you get to 41.
And you compare 42 with 41.
In this case is greater.
But it's not k more than it.
And so that means that ifyou didn't have the check,
you would be putting 42 in here.
But because you havethe check, you fail.
And you say, look,I mean this violates
the safety property, violatesthe check I need to do.
And therefore I'mnot going to insert--
I'm not going to reservea request for you.
All right?
So what's happened here isit's basically a sorted array,
except that you addeda bunch of pointers
associated with the tree.
And so it's somewhere between asorted list and a sorted array.
And it does exactlythe right thing
with respect tobeing able to insert.
Once you've foundthe place to insert,
it's merely attachingthis particular new node
with it's appropriatekey to the pointer.
All right?
So what's happenedhere is that if h
is the height of thetree then insertion
with or without the checkis done in order h time.
And that's whatBSTs are good for.
People buy that?
Any questions about how theyk minute check proceeded?
Yeah, question.
AUDIENCE: So, what's it called?
The what check?
PROFESSOR: The k minute check.
Sorry, the k was 3 minutes k.
I had this thing overhere, add t to the set R
if no other landings arescheduled within k minutes.
So k was just a number.
I want it to be aparameter because it
doesn't matter what k is.
As long as you know what it iswhen you do the binary search,
you can add that in to anargument to your insert,
and do the check.
AUDIENCE: OK.
PROFESSOR: So in this case,I set k to be 3 out here.
And I was doing a checkto see that the invariant,
any elements in the BSTalready, on any nodes that
had keys that werewithin 3 minutes--
because I fixed k to be3-- to the actual time
that I was trying to insert.
All right?
AUDIENCE: So there'sno way [INAUDIBLE].
PROFESSOR: I'm sorry,there's no way?
AUDIENCE: There'sno way you could
insert the 42 intothe tree then?
PROFESSOR: Well, ifthe basic insertion
method into a binary search treedoesn't have any constraints.
But you can certainlyaugment the insertion method
without changing the efficiencyof the insertion method.
So let's say thatall you wanted to do
was insert into abinary search tree,
and it had nothing to dowith the runway reservation.
Then you would just insertthe way I described to you.
The beauty of thebinary search tree
is that while you'refinding the place to insert,
you can do these checks--the k minute checks.
Yeah, question back there.
AUDIENCE: What about 45?
PROFESSOR: What about 45?
So this is after-- wehaven't inserted 42
because it violated the check.
So when you do 45,then what happens
is you see that45 is less than 49
and you pass, because you'remore than 3 minutes away.
We'll stick with that example.
And then you gethere and then you
see that 45 is less than 46,and you'd fail right here.
You would fail right hereif you were doing the check,
because 45 is not3 away from 46.
All right?
So that's the story.
And so if you have h beingthe height of the tree,
as you can see you'rejust following a path.
And depending onwhat the height is
you're going to dothat many operations,
times some constant factor.
And so you can say thatthis is order h time.
All right?
Any other questions?
Yeah, question back there.
AUDIENCE: In a normalarray [INAUDIBLE].
PROFESSOR: Well, it's up to you.
In a conventional binary searchtree, or the vanilla binary
search tree, typicallywhat you're doing
is you're doingeither find or insert.
And so what that meansis that you would just
return the pointerassociated with that element.
So if you're looking for find46, for example, on the tree
that I have out there, typically46 is just the key value.
And there may be a recordassociated with it.
And you would get apointer to that record
because it's already in there.
At that point you cansay I want to override.
Or if you want, you couldhave duplicate values.
You could have this,what's called a multiset.
A multiset is a set thathas duplicate elements.
In that case, you would needa little more sophistication
to differentiate betweentwo elements that
have the same key values.
So you'd have tocall it 46a and 46b.
And you'd have to have someway of differentiating.
Any other questions?
Yeah.
AUDIENCE: Wouldn'tit be a problem
if the tree's not balanced?
PROFESSOR: Ah, great question.
Yes, stay tuned.
So I was careful, right?
I guess I kind ofalluded to the fact
that we'd solved therunway reservation system.
Did I actually say thatwe'd solved the problem?
Did I say we hadsolved the problem?
OK, so I did not lie.
I did not lie.
I said that the heightof the tree was h.
And I said that this wasaccomplished in order h time,
right?
Which is not quite what I want,which is really your question.
So we'll get to that.
So we're not quite done yet.
But before we dothat, it turns out
that today's lecture isreally part one of two.
You'll get a really goodsense of BST operations
in today's lecture.
But there's going to be a fewthings that-- we can't cover
all of double 6 inthe lecture, right?
We'd like to, and let youoff for the entire fall,
but that's not the wayit works, all right?
So it's a great question.
I'll answer it towards the end.
I just wanted youto say a little bit
about other operations.
There's many operations thatyou can do on a binary search
tree, that can bedone in order h time,
and some even in constant time.
And I'll put these in the notes.
Some of these arefairly straightforward.
Find min can be donein heap, in a min heap.
If you want to find the minimumvalue, it's constant time.
You just return the root.
In the case of a binary searchtree, how do you find the min?
Someone?
Worth a cushion.
Yep.
AUDIENCE: Keepgoing to the left?
PROFESSOR: Keepgoing to the left.
And how do you find the max?
AUDIENCE: [INAUDIBLE].
PROFESSOR: Keepgoing to the right.
All right great, thank you.
And finally, whatcomplexity is that?
I sort gave it away, but Iwant to hear it from you.
AUDIENCE: [INAUDIBLE].
PROFESSOR: Hm?
AUDIENCE: It's the height
PROFESSOR: It's theheight, order h.
All right, it'sorder h complexity.
Go to the left untilyou hit a leaf,
and until leaforder h complexity.
Same thing for max.
And then you can doa bunch of things.
I'll put these in the notes.
You can find thingslike next larger
x, which is the nextlargest value beyond x.
And you look at the key forx and you say, for example,
if you put 46 in there, what'sthe next thing that's larger
and that?
In this tree here, it's 49.
But that's something which wastrivially done in this example.
But in general you can dothis in order h time as well.
And you can see the pseudocode.
And we'll probably coverthat in section tomorrow.
What I want to do today, for therest of the time I have left,
is actually talk about augmentedbinary search trees, which
are things that can do moreand have more data in them
than just these pointers.
And that's actuallysomething which
should give you a sense of therichness of the binary search
tree structure, thisnotion of augmentation.
And those of you, again,who have taken double 05,
you know aboutdesign amendments.
And so specificationsnever stay the same.
I mean, you'reworking for someone,
and they never reallytell you what they want.
They might, but theychange their mind.
So in this case, we'regoing to change our mind.
And so we've donethis to the extent
that we can cover all ofthese in order h time.
And let's say that nowthe problem specification
changed on us.
There's an additionalrequirement
that we're asked to solve.
And so you sort ofcommitted to BST structures.
But now we have anadditional requirement.
And the new requirement is thatwe be able to compute rank t.
And rank t is howmany planes are
scheduled to land at timesless than or equal to t.
So perfectlyreasonable question.
It wasn't part ofthe original spec.
You now have built yourBST data structure,
you thought you were done.
Sorry, you aren't.
You've got to dothis extra stuff.
So that's the notionof augmentation,
which we're going to use thisis an example of how we're
going to augmentthe BST structure.
And oh, by the way,I don't want you
to change thecomplexity from order h.
And we eventually willget to order log n,
but don't go change somethingthat was logarithmic to linear.
That would be bad.
So let's talk abouthow you do this.
And I don't think weneed this anymore.
So the first thing we need todo is add a little bit more
information to thenode structure.
And what we're going to dois augment the BST structure.
And we're going to add onelittle number associated
with each node, that looks atthe number of nodes below it.
So in particular,let's say that I
have 49, 46, let's justsay 49, 46 for now.
And over here Ihave 79, 64, and 83.
I'm going to modify--I'm going to have
an extra number associatedwith each of these nodes.
And I'm just goingto write that number
on the outside of the node.
And you can just imaginethat now the key value has
two numbers associatedwith it-- the thing
that I write inside the node,and what I write outside of it.
So in particular, whenI do insert or delete
I'm going to bemodifying these numbers.
And these are size numbers.
And what do I mean by that?
Well these numberscorrespond to subtree sizes.
So the subtree sizehere is 1, 1, 1.
So as I'm buildingthis tree up I'm
going to create anaugmented BST structure,
and I've modifiedinsert and delete
so they do some extra work.
So let's say, forargument's sake,
that I've added this insort of a bottom up fashion.
And what I have are theseparticular subtree sizes.
All of these should make sense.
This has just a singlenode, same thing here.
So this subtree sizes associatedwith these nodes are all 1.
The subtree sizeassociated with 79
is 3, because you'recounting 79 and 64 and 83.
And the subtree sizeassociated with 49
is 5, because you're countingeverything underneath it.
How did we get these numbers?
Well you want tothink about this
as you startedwith an empty set,
and you kept inserting into it.
And you were doing a sequenceof insert and delete operations.
And if I explain to you howan insert operation modifies
these numbers, that ispretty much all you need.
And of course, analogously,for a delete operation.
So what would happen for, let'ssay you wanted to insert 43?
You would insert43 at this point.
And what you'd do is youfollow the insertion path
just like you did before.
But when you'refollowing that path
you're going to increment thenodes that you're seeing by 1.
So you're goingto add 43 to this.
And you'd add 5 plus1, because you see 49.
And then you would godown and you'd see 46.
And so you'd add 1 to that.
And then finally,you add 43 and you
assign-- sinceit's a leaf-- you'd
assign to value correspondingto the subtree size
of this new node that youput in there, to be 1.
It guess a little, teensybit more complicated
when you want to dothe k minute check.
But from a complexitystandpoint,
if you're not worriedabout constant factors,
you can just say, you know what?
I'm going to first runthe regular insert,
ignoring the subtree sizes.
And if it fails, I'm done.
Because I'm not going tomodify the BST, and I'm done.
I'm not going to have tomodify the subtree sizes.
If it succeeds, thenI'm going to go in,
and I know now that I canincrement each of these nodes,
because I know I'mgoing to be successful.
So that's sort of a trivialway of solving this problem,
that from an asymptoticcomplexity standpoint
gives you your orderh augmented insert.
That make sense?
Now you could do somethingbetter than that.
I mean, I would urge you,if you had wrote something
that-- we asked you towrite something like this,
to create a single procedurethat essentially uses
a recursion appropriately todo the right thing in one pass
through the BST.
And we'll talk aboutthings like that
as we go along in sections,and possibly in lectures.
So that's the subtreeinsert delete.
Everyone buy that?
Yeah, question back there.
AUDIENCE: If I wanted to deletea number, like let's say 79--
PROFESSOR: Yep?
AUDIENCE: --would wehave to take it out
and then rewrite the entire BST?
PROFESSOR: What you'd have todo is a bubble up pointers.
So you'd have to actuallyhave 64 connected to-- what
will happen is 83would actually come up,
and you would essentiallyhave some thing-- this
is not quite how it works--but 83 would move up
and you'd have 64 to the left.
That's what would happenedfor delete in this case.
So you would have to movepointers in the case of delete.
And we're not done withbinary search tree operations
from a standpoint ofteaching you about them.
We'll talk about them notjust in today's lecture,
but later as well.
So there's onething missing here,
though, which is I haven'tquite figured out--
I've told you how thesesubtree sizes work.
But it's notcompletely clear, this
is the last thing we haveto do, is how are you
going to compute rank tfrom the subtree sizes?
So everyone understandsubtree sizes?
It's just the number of nodesthat are underneath you.
And you remember to countyourself, all right?
Now what is rank t?
Rank t is how manyplanes are scheduled
to land at times lessthan or equal to t.
So now I have a BST structurethat looks like the one
and I just ended up with.
So I've added this 43.
And so let me drawthat out here,
and see if we cananswer this question.
This is a subtle question.
So I got 49, and thatsubtree size is 6.
I got 46, subtree size is 2.
43, 79, 64.
and 83.
So what I want iswhat lands before t?
And how do I do that?
Give me an algorithmthat would allow
me to compute in order h time.
I want to do thisin order h time.
What lands before t?
Someone?
Yeah.
AUDIENCE: So firstyou would have
to find where to insertit, like we did before.
PROFESSOR: Right, right.
AUDIENCE: And then because wehave the order of whatever it
was before-- notthe order, the--
PROFESSOR: The sizes?
The sizes?
Yeah.
AUDIENCE: And then we canlook what's more than it
on the right, we cansubtract it and we get--
PROFESSOR: What is morethan it on the right.
Do you want to say--
AUDIENCE: Because, like--
PROFESSOR: OK.
AUDIENCE: --on the right--
PROFESSOR: Right.
AUDIENCE: --and then wecan take this minus this
and we get what's left.
PROFESSOR: That'sgreat, that's excellent.
Excellent.
So I'm going to do it a littlebit differently from what
you described.
I'm going toactually do it in a,
sort of, a more positiveway, no offense intended.
What we're going todo is we're going
to add up the thingsthat we want to add up.
And what you haveto do is walk--
your first step was right on.
I mean, your answer is correct.
I'm just going to do ita little bit differently.
You walk down the treeto find the desired time.
This is just your search.
We know how to do that.
As you walk down youadd in the nodes that
is the subtree sizes-- you'rejust adding in the notes here.
So if you see-- dependingon the number of nodes
that you see as you'regoing deeper in,
you want to add in the nodes.
And you're going to addone to that, corresponding
to the nodes that are smaller.
And we're going to add in thesubtree sizes to the left,
as opposed to subtracting.
That may not makea lot of sense.
But I guarantee you itwill once we do an example.
So what's going on here?
I want to find aplace to insert.
I'm not actually goingto do the insert.
Think of it is doing a lookup.
And along the way,I need to figure out
the less than operator.
I want to find allof the things that
are less than thisvalue I'm searching for.
And so I have to doa bit of arithmetic.
So let's say that I'mlooking for what's
less than or equal to 79.
So t equals 79.
So I'm going to look at 49.
I'm going to walk down,I'm going to look at 49.
And because I say I'mlooking at 49-- and 49
is clearly less than 79.
So I'm going to add 1.
And that's this check over here.
I move on and what I need todo now is move to the right,
because 79 is greater than 49.
That's how my search would work.
But because I'vemoved to the right,
I'm going to add the subtreesizes that were to the left.
Because I know that allof the things to the left
are clearly less than 79.
So I'm going to add 2,corresponding to a subtree 46.
So I'm not actuallylooking there.
But I'm going to addall of that stuff in.
I'm going to move to the right,and now I'm going to see 79.
At this point 79 is lessthan or equal to 79.
So I'm going to see 79and I'm going to add 1.
And because I've added 79,just like I did with 49,
I have to add the subtreesize to the left of 79.
So the final additionis I add 1 corresponding
to the subtree 64.
And at this pointI've discovered
where I have to insert, I'veessentially found the location,
it matches 79.
And there was no modificationrequired in this algorithm.
So if that was 78 you'dessentially do the same things.
But you're done because youfound the value, or the place
that you want to insert.
And you've done abunch of additions.
And you go look at add 1, add2, add 1, add 1, and you have 5.
And that's thecorrect answer, as you
can see from this example.
So what's the bad news?
The bad news was whatthis lady said up
front, which was we haven'tquite solved the problem.
Because sadly, I couldeasily set things
up such that the height h isorder n, h could be order n.
And if, for example, Igave you a sorted list,
and I said insert intobinary search tree
that's originally null 43,and you put 43 in there.
Then I say insert 46.
And then I say instead of 48.
And then I sayinsert 49, et cetera.
And, you know, thesecould be any numbers.
Then you see that whatdoes this look like?
Does it look like a tree?
It looks like a list.
That's the bad news.
And I'll let Eric giveyou good news next week.
We need to have this notion ofbalanced binary search trees.
So everything I've said is true.
I did not lie.
But the one extrathing is we need
to make sure these trees arebalanced so h is order log n.
And then everythingI said works.
All right?
See you next time.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307align:start position:0% so ours is a little different
align:start position:0%so ours is a little different
align:start position:0%so ours is a little differentwell it was actually very different from
align:start position:0%well it was actually very different from
align:start position:0%well it was actually very different fromeveryone else because ours is in 2d and
align:start position:0%everyone else because ours is in 2d and
align:start position:0%everyone else because ours is in 2d andeveryone else's is in 3d but so all we
align:start position:0%everyone else's is in 3d but so all we
align:start position:0%everyone else's is in 3d but so all wehave basically is like a background and
align:start position:0%have basically is like a background and
align:start position:0%have basically is like a background andthen you have like a canvas and and then
align:start position:0%then you have like a canvas and and then
align:start position:0%then you have like a canvas and and thenwhat you can do is if I can find the
align:start position:0%what you can do is if I can find the
align:start position:0%what you can do is if I can find themouse you can like paint on here for
align:start position:0%mouse you can like paint on here for
align:start position:0%mouse you can like paint on here forexample and then if you click on eraser
align:start position:0%example and then if you click on eraser
align:start position:0%example and then if you click on eraserand then go over that you can erase it
align:start position:0%and then go over that you can erase it
align:start position:0%and then go over that you can erase itso the main part of this was supposed to
align:start position:0%so the main part of this was supposed to
align:start position:0%so the main part of this was supposed tobe that it's supposed to be able to
align:start position:0%be that it's supposed to be able to
align:start position:0%be that it's supposed to be able toconnect with the Kinect and if you for
align:start position:0%connect with the Kinect and if you for
align:start position:0%connect with the Kinect and if you forexample you use your but your right hand
align:start position:0%example you use your but your right hand
align:start position:0%example you use your but your right handto move the mouse and like they did and
align:start position:0%to move the mouse and like they did and
align:start position:0%to move the mouse and like they did andthen put like if your left hand goes up
align:start position:0%then put like if your left hand goes up
align:start position:0%then put like if your left hand goes upit clicks and then it supposed to draw
align:start position:0%it clicks and then it supposed to draw
align:start position:0%it clicks and then it supposed to drawbut the Kinect would just not connect
align:start position:0%but the Kinect would just not connect
align:start position:0%but the Kinect would just not connectwith the thing at all for some reason so
align:start position:0%with the thing at all for some reason so
align:start position:0%with the thing at all for some reason sowe couldn't it wouldn't detect motion so
align:start position:0%we couldn't it wouldn't detect motion so
align:start position:0%we couldn't it wouldn't detect motion sowe couldn't get it to work but
align:start position:0%we couldn't get it to work but
align:start position:0%we couldn't get it to work butessentially what it does is if you were
align:start position:0%essentially what it does is if you were
align:start position:0%essentially what it does is if you wereto see when it's just painting it's
align:start position:0%to see when it's just painting it's
align:start position:0%to see when it's just painting it'screating a dot right so what it's
align:start position:0%creating a dot right so what it's
align:start position:0%creating a dot right so what it'sbasically doing is every time you click
align:start position:0%basically doing is every time you click
align:start position:0%basically doing is every time you clickit creates a dot and then if you do it
align:start position:0%it creates a dot and then if you do it
align:start position:0%it creates a dot and then if you do itlike a fluid motion it creates a bunch
align:start position:0%like a fluid motion it creates a bunch
align:start position:0%like a fluid motion it creates a bunchof dots where for example if you were to
align:start position:0%of dots where for example if you were to
align:start position:0%of dots where for example if you were tolike you know draw a lot it's yeah you
align:start position:0%like you know draw a lot it's yeah you
align:start position:0%like you know draw a lot it's yeah yousee like the dots down here we were like
align:start position:0%see like the dots down here we were like
align:start position:0%see like the dots down here we were likegonna do colors but we couldn't get that
align:start position:0%gonna do colors but we couldn't get that
align:start position:0%gonna do colors but we couldn't get thatfar but that's like the recent project
align:start position:0%far but that's like the recent project
align:start position:0%far but that's like the recent projectwe were gonna have something where you
align:start position:0%we were gonna have something where you
align:start position:0%we were gonna have something where youcould like change the the canvas and
align:start position:0%could like change the the canvas and
align:start position:0%could like change the the canvas andthen you can change the background so it
align:start position:0%then you can change the background so it
align:start position:0%then you can change the background so itlooks like you're painting it like at
align:start position:0%looks like you're painting it like at
align:start position:0%looks like you're painting it like atthe beach or something like that and so
align:start position:0%the beach or something like that and so
align:start position:0%the beach or something like that and soyou know ascetically pleasing because
align:start position:0%you know ascetically pleasing because
align:start position:0%you know ascetically pleasing becausethis is as far as we could get for now123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915align:start position:0% the topic of this recitation is election
align:start position:0%the topic of this recitation is election
align:start position:0%the topic of this recitation is electionforecasting which is the art and science
align:start position:0%forecasting which is the art and science
align:start position:0%forecasting which is the art and scienceof predicting the winner of an election
align:start position:0%of predicting the winner of an election
align:start position:0%of predicting the winner of an electionbefore any votes are actually cast using
align:start position:0%before any votes are actually cast using
align:start position:0%before any votes are actually cast usingpolling data from likely voters in this
align:start position:0%polling data from likely voters in this
align:start position:0%polling data from likely voters in thisrecitation we are going to look at the
align:start position:0%recitation we are going to look at the
align:start position:0%recitation we are going to look at theUnited States presidential election in
align:start position:0%United States presidential election in
align:start position:0%United States presidential election inthe United States a president is elected
align:start position:0%the United States a president is elected
align:start position:0%the United States a president is electedevery four years and while there are a
align:start position:0%every four years and while there are a
align:start position:0%every four years and while there are anumber of different political parties in
align:start position:0%number of different political parties in
align:start position:0%number of different political parties inthe u.s. generally there are only two
align:start position:0%the u.s. generally there are only two
align:start position:0%the u.s. generally there are only twocompetitive candidates there's the
align:start position:0%competitive candidates there's the
align:start position:0%competitive candidates there's theRepublican candidate who tends to be
align:start position:0%Republican candidate who tends to be
align:start position:0%Republican candidate who tends to bemore conservative and the Democratic
align:start position:0%more conservative and the Democratic
align:start position:0%more conservative and the Democraticcandidate who's more liberal so for
align:start position:0%candidate who's more liberal so for
align:start position:0%candidate who's more liberal so forinstance a recent Republican president
align:start position:0%instance a recent Republican president
align:start position:0%instance a recent Republican presidentwas george w bush and a recent
align:start position:0%was george w bush and a recent
align:start position:0%was george w bush and a recentDemocratic president was Barack Obama
align:start position:0%Democratic president was Barack Obama
align:start position:0%Democratic president was Barack Obamanow while in many countries the leader
align:start position:0%now while in many countries the leader
align:start position:0%now while in many countries the leaderof the country is elected using you know
align:start position:0%of the country is elected using you know
align:start position:0%of the country is elected using you knowthe simple candidate who receives the
align:start position:0%the simple candidate who receives the
align:start position:0%the simple candidate who receives thelargest number of votes across the
align:start position:0%largest number of votes across the
align:start position:0%largest number of votes across theentire country is elected in the United
align:start position:0%entire country is elected in the United
align:start position:0%entire country is elected in the UnitedStates it's significantly more
align:start position:0%States it's significantly more
align:start position:0%States it's significantly morecomplicated there are 50 states in the
align:start position:0%complicated there are 50 states in the
align:start position:0%complicated there are 50 states in theUnited States and each is assigned a
align:start position:0%United States and each is assigned a
align:start position:0%United States and each is assigned anumber of electoral votes based on its
align:start position:0%number of electoral votes based on its
align:start position:0%number of electoral votes based on itspopulation so for instance the most
align:start position:0%population so for instance the most
align:start position:0%population so for instance the mostpopulous state California in 2012 had
align:start position:0%populous state California in 2012 had
align:start position:0%populous state California in 2012 hadnearly twenty times the number of
align:start position:0%nearly twenty times the number of
align:start position:0%nearly twenty times the number ofelectoral votes as the least populous
align:start position:0%electoral votes as the least populous
align:start position:0%electoral votes as the least populousstates and these number of electoral
align:start position:0%states and these number of electoral
align:start position:0%states and these number of electoralvotes are reassigned periodically based
align:start position:0%votes are reassigned periodically based
align:start position:0%votes are reassigned periodically basedon changes of populations between states
align:start position:0%on changes of populations between states
align:start position:0%on changes of populations between stateswithin a given state in general the
align:start position:0%within a given state in general the
align:start position:0%within a given state in general thesystem is winner-take-all in the sense
align:start position:0%system is winner-take-all in the sense
align:start position:0%system is winner-take-all in the sensethat the candidate who receives the most
align:start position:0%that the candidate who receives the most
align:start position:0%that the candidate who receives the mostvotes in the state gets all of its
align:start position:0%votes in the state gets all of its
align:start position:0%votes in the state gets all of itselectoral votes and then across the
align:start position:0%electoral votes and then across the
align:start position:0%electoral votes and then across theentire country the candidate who
align:start position:0%entire country the candidate who
align:start position:0%entire country the candidate whoreceives the most electoral votes wins
align:start position:0%receives the most electoral votes wins
align:start position:0%receives the most electoral votes winsthe entire presidential election now
align:start position:0%the entire presidential election now
align:start position:0%the entire presidential election nowwhile it seems like a somewhat subtle
align:start position:0%while it seems like a somewhat subtle
align:start position:0%while it seems like a somewhat subtledistinction the Electoral College versus
align:start position:0%distinction the Electoral College versus
align:start position:0%distinction the Electoral College versusthe the simple popular vote model it can
align:start position:0%the the simple popular vote model it can
align:start position:0%the the simple popular vote model it canhave very significant consequences on
align:start position:0%have very significant consequences on
align:start position:0%have very significant consequences onthe outcome of the election as an
align:start position:0%the outcome of the election as an
align:start position:0%the outcome of the election as anexample let's look at the 2000
align:start position:0%example let's look at the 2000
align:start position:0%example let's look at the 2000presidential election between George W
align:start position:0%presidential election between George W
align:start position:0%presidential election between George WBush and Al Gore as we can see on the
align:start position:0%Bush and Al Gore as we can see on the
align:start position:0%Bush and Al Gore as we can see on theright here Al Gore received more than
align:start position:0%right here Al Gore received more than
align:start position:0%right here Al Gore received more than500,000 more votes across the entire
align:start position:0%500,000 more votes across the entire
align:start position:0%500,000 more votes across the entirecountry than george w bush in terms of
align:start position:0%country than george w bush in terms of
align:start position:0%country than george w bush in terms ofthe popular vote but in terms of the
align:start position:0%the popular vote but in terms of the
align:start position:0%the popular vote but in terms of theelectoral vote because of how those
align:start position:0%electoral vote because of how those
align:start position:0%electoral vote because of how thosevotes were distributed George Bush
align:start position:0%votes were distributed George Bush
align:start position:0%votes were distributed George Bushactually won the election because he
align:start position:0%actually won the election because he
align:start position:0%actually won the election because hereceived five more elect
align:start position:0%received five more elect
align:start position:0%received five more electvotes than Al Gore so our goal will be
align:start position:0%votes than Al Gore so our goal will be
align:start position:0%votes than Al Gore so our goal will beto use polling data that's collected
align:start position:0%to use polling data that's collected
align:start position:0%to use polling data that's collectedfrom likely voters before the election
align:start position:0%from likely voters before the election
align:start position:0%from likely voters before the electionto predict the winner in each state and
align:start position:0%to predict the winner in each state and
align:start position:0%to predict the winner in each state andtherefore to enable us to predict the
align:start position:0%therefore to enable us to predict the
align:start position:0%therefore to enable us to predict thewinner of the entire election in the
align:start position:0%winner of the entire election in the
align:start position:0%winner of the entire election in theelectoral college system
align:start position:0%electoral college system
align:start position:0%electoral college systemwhy election prediction has long
align:start position:0%why election prediction has long
align:start position:0%why election prediction has longattracted some attention there's been a
align:start position:0%attracted some attention there's been a
align:start position:0%attracted some attention there's been aparticular interest in the problem for
align:start position:0%particular interest in the problem for
align:start position:0%particular interest in the problem forthe 2012 presidential election when then
align:start position:0%the 2012 presidential election when then
align:start position:0%the 2012 presidential election when thenNew York Times columnist Nate Silver
align:start position:0%New York Times columnist Nate Silver
align:start position:0%New York Times columnist Nate Silvertook on the task of predicting the
align:start position:0%took on the task of predicting the
align:start position:0%took on the task of predicting thewinner in each state to carry out this
align:start position:0%winner in each state to carry out this
align:start position:0%winner in each state to carry out thisprediction task we're gonna use some
align:start position:0%prediction task we're gonna use some
align:start position:0%prediction task we're gonna use somedata from Real Clear Politics calm that
align:start position:0%data from Real Clear Politics calm that
align:start position:0%data from Real Clear Politics calm thatbasically represents polling data that
align:start position:0%basically represents polling data that
align:start position:0%basically represents polling data thatwas collected in the months leading up
align:start position:0%was collected in the months leading up
align:start position:0%was collected in the months leading upto the 2004 2008 and 2012 US
align:start position:0%to the 2004 2008 and 2012 US
align:start position:0%to the 2004 2008 and 2012 USpresidential elections each row in the
align:start position:0%presidential elections each row in the
align:start position:0%presidential elections each row in thedataset represents a state in a
align:start position:0%dataset represents a state in a
align:start position:0%dataset represents a state in aparticular election year and the
align:start position:0%particular election year and the
align:start position:0%particular election year and thedependent variable which is called
align:start position:0%dependent variable which is called
align:start position:0%dependent variable which is calledRepublican is a binary outcome it's one
align:start position:0%Republican is a binary outcome it's one
align:start position:0%Republican is a binary outcome it's oneif the Republican won that state in that
align:start position:0%if the Republican won that state in that
align:start position:0%if the Republican won that state in thatparticular election year and is zero if
align:start position:0%particular election year and is zero if
align:start position:0%particular election year and is zero ifa Democrat won the independent variables
align:start position:0%a Democrat won the independent variables
align:start position:0%a Democrat won the independent variablesagain are related to polling data in
align:start position:0%again are related to polling data in
align:start position:0%again are related to polling data inthat state so for instance the Rasmussen
align:start position:0%that state so for instance the Rasmussen
align:start position:0%that state so for instance the Rasmussenand survey u-s-a variables are related
align:start position:0%and survey u-s-a variables are related
align:start position:0%and survey u-s-a variables are relatedto two major polls that are that are
align:start position:0%to two major polls that are that are
align:start position:0%to two major polls that are that areassigned across many different states in
align:start position:0%assigned across many different states in
align:start position:0%assigned across many different states inthe United States and it represents the
align:start position:0%the United States and it represents the
align:start position:0%the United States and it represents thepercentage of voters who said they were
align:start position:0%percentage of voters who said they were
align:start position:0%percentage of voters who said they werelikely to vote Republican - the
align:start position:0%likely to vote Republican - the
align:start position:0%likely to vote Republican - thepercentage who said they were likely to
align:start position:0%percentage who said they were likely to
align:start position:0%percentage who said they were likely tovote Democrats so for instance if the
align:start position:0%vote Democrats so for instance if the
align:start position:0%vote Democrats so for instance if thevariable survey u-s-a in our data set
align:start position:0%variable survey u-s-a in our data set
align:start position:0%variable survey u-s-a in our data sethas value negative six it means that six
align:start position:0%has value negative six it means that six
align:start position:0%has value negative six it means that sixpercent more voters said they were
align:start position:0%percent more voters said they were
align:start position:0%percent more voters said they werelikely to vote Democrat then said they
align:start position:0%likely to vote Democrat then said they
align:start position:0%likely to vote Democrat then said theywere likely to vote Republican in that
align:start position:0%were likely to vote Republican in that
align:start position:0%were likely to vote Republican in thatstate we have two additional variables
align:start position:0%state we have two additional variables
align:start position:0%state we have two additional variablesthat capture polling data from a wider
align:start position:0%that capture polling data from a wider
align:start position:0%that capture polling data from a widerrange of polls or as mucin and survey
align:start position:0%range of polls or as mucin and survey
align:start position:0%range of polls or as mucin and surveyu-s-a are definitely not the only polls
align:start position:0%u-s-a are definitely not the only polls
align:start position:0%u-s-a are definitely not the only pollsthat are run on a state-by-state basis
align:start position:0%that are run on a state-by-state basis
align:start position:0%that are run on a state-by-state basisdiff count counts the number of all the
align:start position:0%diff count counts the number of all the
align:start position:0%diff count counts the number of all thepolls leading up to the election that
align:start position:0%polls leading up to the election that
align:start position:0%polls leading up to the election thatpredicted a Republican winner in the
align:start position:0%predicted a Republican winner in the
align:start position:0%predicted a Republican winner in thestate - the number of poles that
align:start position:0%state - the number of poles that
align:start position:0%state - the number of poles thatpredicted a Democratic winner and prop R
align:start position:0%predicted a Democratic winner and prop R
align:start position:0%predicted a Democratic winner and prop Ror proportion Republican Perez the
align:start position:0%or proportion Republican Perez the
align:start position:0%or proportion Republican Perez theproportion of all those polls leading up
align:start position:0%proportion of all those polls leading up
align:start position:0%proportion of all those polls leading upto the election that predicted a
align:start position:0%to the election that predicted a
align:start position:0%to the election that predicted aRepublican winner
align:start position:0%
align:start position:0% you12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208Walt Guy's biography is on the website.
I hope you've had a chance to look at it.
I will just say briefly that I guess, of allthe lecturers coming, that Walt is the only
one who is still actually working activelyfor NASA.
He is head of the Automation, Robotics andSimulation Division, division chief at the
Johnson Space Center.
But that is not what he's talking about there.
He's talking about the job that he used todo for about 20 years which was head of environmental
thermal life support and crew systems.
And, of course, the crew system includes allthe space suits and the good stuff that I
was fortunate enough to get to use.
So I've got a personal debt of thanks to Walt.
Aaron, I think you wanted to say a coupleof things so I will pass the microphone to
you.
Yes, I would like to say a few words aboutWalt.
We've worked together for many years.
And Walt Guy has the very unique capabilityof being not only an outstanding engineer,
a technical person, but he also has a veryunique capability of being a great or outstanding
project manager, program manager.
No matter what task you gave Walt, he coulddeliver the product on performance, on schedule
and on time.
He has that unique capability.
And he's done that from the Apollo Programthrough the Shuttle Program.
And I think you're really in for a treat tohear Walt talk about the environmental control
systems.
He has a lot of information to offer you so,without further ado, let me turn it over to
Walt.
Thank you, Aaron.
As Aaron said, we worked together over severalprograms over a long period of time.
I was noticing the picture.
I'm sure that wasn't put there for me.
But my current responsibilities are the roboticarm you see there.
That is a shuttle arm.
Of course there are station arms also.
Grapple fixture over here on the left.
And the little jet pack on the tumbling crewmanthere is part of my current responsibilities.
The 20 years that Jeff mentioned, I was responsiblefor the development of the Shuttle spacesuit.
So it was like it was meant for me anyway.
What I'd like to do is talk about the design.
I know in the syllabus it said environmentalcontrol systems.
So where did all the rest of the stuff comefrom?
If you go back in perspective, the Mercury,Gemini, Apollo Program had the classical thing
that aerospace calls environmental controlsystems.
It was basically a cabin system.
It took care of the living quarters for thecrew.
But in the Shuttle era the responsibilityof that system expanded to include more than
just the cabin and, thus, the very long hardto say name.
These are the subsystem elements of the environmentalthermal control and life support system.
The first area I am going to -- These arethe areas, the subsystems.
The first area is the cabin atmospheric revitalizationsystem.
This is a long way of saying to take careof the atmosphere in the cabin.
Humans are pollutants and this is the systemthat takes care of that.
The cabin atmospheric pressure and composition,this is obviously to maintain the pressure
and enough oxygen for breathing.
The third is the cabin thermal control, andthat is the classical environmental control
system.
But, for Shuttle, we've added some functions.
One is the water and waste management subsystem.
There are some hygiene functions required,there are some recharge of the spacesuit's
backpack, management of the fuel cell watersystem, the fuel cells of the electrical power
supply and provide a lot of extra water.
Also, the vehicle at this point, has a dedicatedactive thermal control system that takes care
of all of the systems in the vehicle, notjust the cabin systems.
And then last is the airlock support subsystem.
This is the EVA crewman's portal to space.
And so the environmental thermal control andlife support system covers all these areas.
What I will do is go through each one of those.
The first is the cabin atmospheric revitalizationsystem.
Its functions are CO2 and trace gas removal,humidity control, environmental cooling and
atmospheric circulation and ventilation.
Again, I will talk each about these.
But I do want to mention that there is a uniquenessabout space and that there is no convection
so circulation is important.
Also, because of the fact that there is noconvection, getting rid of the body heat,
the latent heat requires a ventilation ofthe crew.
So each of these areas ended up as part ofthe system design.
This is an overview silhouette of the Orbiter.
I will use this throughout the presentation.
As you can see, part of the system we're talkingabout now, the atmospheric revitalization
system is located upfront where the crew is.
It is beneath the floor.
And we will be talking about the systems inthe remainder of the Orbiter as we go along.
This is a simplified schematic.
I would like to start at the cabin fans.
These are redundant.
Each fan will do the job.
The next in line is the CO2 scrubber followedby the cooler, the cabin heat exchanger.
There is a bypass around that for controlof the amount of cooling that is needed.
As you are aware, the Shuttle can fly withfew or many crewmen.
It turns out, as time has gone on, we flypretty much a full compliment.
But the original design was to fly a smallnumber of crewmen.
Also, this does give you temperature control.
The same heat exchanger provides the condensationof the water from the atmosphere.
Therefore, you get humidity control.
And then that is collected.
The gas continues on.
It is now chilled and is provided out to theflight deck and the middeck to the crew.
Then the gas from the cabin is then drawnback in through some flight deck avionics
and back through the fans.
So this is the basic systems schematic.
I might pause here a moment to sort of explainthe role of the government in the development
of the Shuttle.
As you know, the prime was Rockwell.
It was their job to build the vehicle.
But the government philosophy, managementphilosophy was to have ownership of the technical
aspects of the design.
So we had basically no excuse.
If it didn't work it wasn't because the contractordid something wrong.
We had to have ownership.
In fact, Aaron, as the project manager, wouldprobably look to us first as the reason for
a problem as opposed to Rockwell because wewere the conscience of the program so we should
have made sure they didn't do it wrong andprovided whatever technical insight to Aaron
to make sure he made the programmatic decisionsto make sure things were not done wrong.
Very early in the Shuttle Program, I was responsiblefor an engineering organization.
And that engineering organization wanted toown the design of the environmental thermal
control and life support system.
We acquired a chamber.
This is a near atmospheric chamber.
It is a square so it is obviously not shapedlike the Orbiter cabin, but the volume was
appropriate.
And it did allow a sealed environment fortesting.
It would take a couple of PSI delta Ps.
That's about all it would take.
We developed a -- [COMMENT FROM HOFFMAN],No, that was a different one.
OK.
We developed an environmental control systemor an atmospheric revitalization control system
and placed it inside to do early testing.
As you can see here, this is the fan package.
The CO2 scrubbers are here.
Heat exchange package over here.
And you can tell we're not current in termsof calendar-wise.
The CO2 and trace gas removal, the requirementswere to maintain less than 7.6 millimeters
of mercury.
This is certainly to provide a habitable environmentfor the crew.
This is higher than sea level but the medicsagreed that that was a completely adequate
level for CO2.
The CO2 absorption came from the humidifiedcabin gas so the system had to accommodate
that as a feed stream.
The absorbent selected was lithium hydroxide.
The equation was a lithium hydroxide reactedwith the CO2 to produce lithium carbonate,
water and heat.
And this was a single use system.
It turns out that the lithium hydroxide wasan old solution.
The previous spacecraft had used the samesolution, but pretty much their solution was
unique purchased production of lithium hydroxide.
When we entered the Shuttle era, we were hopingfor a long duration.
And the idea was to use the commercial productsto get away from special production.
And so we looked around.
And the Navy was producing a screened specialproduction run for their submarines.
So there was a lot of use there.
And so the production was reasonably upo.
We decided to use the Navy grade.
And so we brought it in and put it in thetest bed that I just showed you and did some
tests, and it didn't work worth a darn.
You notice the loops here show that our useof the canister was much more rapid that we
had hoped for.
The nice beautiful deep loops here are a processthat we developed to screen the Navy LiOH
so that we didn't have to create a new productioncapability but were able to test the LiOH
that came off their production line and geta LiOH that was much more humidity tolerant.
The key here turned out to be not the chemicalitself but its ability to produce good performance
over a wide humidity range.
So we were able to screen that and make thata viable non-special production run LiOH.
The lithium hydroxide, I said, was an oldsolution.
All previous spacecraft have been pretty shortmission.
And even the Shuttle was a short mission.
But the specification for Shuttle said thatit should have a capability of going 28 days,
and 28 days is not a short mission, at leastnot in Shuttle parlance.
The engineering part of the organization said,well, why don't we go with a regenerative
system?
SkyLab had just been successfully flown witha regenerative system, something that wouldn't
have all this expendables because 28 daysworth of lithium hydroxide for seven crewmen
fills everything up with lithium hydroxide.
There is no room for anything else.
So we began to look at a regenerative systemthat could be used.
Actually, it was proposed as part of the originalShuttle development.
But, at that point, the 28-day mission wasconsidered a special case and the design case
was the shorter missions.
And, in fact, there were even projected tobe a lot of short missions.
The idea that the Shuttle was a space truck.
It would take stuff up, dump it out and comehome.
And so the lithium hydroxide was a lightersystem than a regenerative system.
The lithium hydroxide was placed into thevehicle as a basic design.
But, when the Space Lab era came along, weneeded longer missions.
We flew about four or five times in this 13to 16 day range, and those missions did require
a lot of lithium hydroxide.
And so it was proposed to use an absorbentthat was regenerable, and the one that was
selected was a solid amine.
The absorbent is a polymerized ethyleneimine.
Its designation is RNH, and I don't reallyknow why.
The absorption actually comes in, in two steps.
First there is a reaction with water to createthe Freon.
And then that is then reactive with the CO2to give you another free ion, but the CO2
is now captured.
The desorption then with the heat and vacuumgives you back your original amine.
So if you pack this in a bed, and what weused was an expanded metal foam heat exchanger
that you could fill all the holes with thesolid amine and put the passages adjacent
to each other so that you could use the heatof absorption to do your desorption on your
other side.
And all you would need to do is expose itto vacuum.
It was a very simple system.
It worked fine for the three or four missions.
I'm not sure how many missions it was used.
But it was an adjunct.
It was added in, put onto the floor, and thenit was taken back out when it was no longer
needed because it was just wasted load.
Yes.
For the lithium hydroxide, the product LiCO3,is that a solid form or a gas form?
No, it's a solid lithium carbonate.
And that goes in the canisters that you remove?
Right.
When you remove the canister it's a big lump.
OK.
Finishing up the CO2 and trace removal, wego to the trace removal and use the simple
system of activated charcoal.
And, in fact, it is packed into the same canisterthat the lithium hydroxide is packed into.
It is a single use.
There is a configuration, I believe, now operationallywhere the entire canister is activated charcoal
so it can be used for cabin gas cleanup.
So, if you had an issue that you needed toclean the cabin up, you could do that with
a canister just of charcoal.
The next area is the environmental coolingand humidity control.
I mentioned on the schematic that we havea cabin heat exchanger.
The front part of the heat exchanger basicallyis your reduced cabin gas temperature.
The backend of the heat exchanger is wherethe condensing occurs because we get the gas
below the dew point and, therefore, the waterdrops out.
The heat exchanger has the characteristicthat, as the water collects at the outlet
of the heat exchanger, there were some holesdrilled, actually, in the thin passages so
the water can be sucked out.
And it has the nickname "slurper." So it slurpsthe water out.
It takes about 2% of the flow.
So, as the cabin fan produces the flow throughthe heat exchanger, about 2% is siphoned off
in the slurper.
And that carries the water to the centripetalwater gas separator.
This is a device that basically spins theairstream.
It's an airstream with water and trained.
It spins the airstream.
The water goes to the outside.
It is collected in a trough and there is apitot tube in the trough that the water impinges
on, and we get about a 40 PSI delta head withthat.
It's just a pump basically, a pitot pump.
The atmospheric circulation and ventilationis the next part of the system.
As you know, we're still in atmospheric revitalization.
There are the redundant fans that I mentioned.
Each fan will do the job.
There is also flight deck and mid deck ductsystem.
It looks very complicated but there are onlyseveral points I want to make here.
This is the atmospheric revitalization systemI mentioned before.
As you see, it is below the floor.
This is the mid deck here.
This is the flight deck.
So it's below the floor of the mid deck.
The gas exits the heat exchanger.
It goes up.
There is some aft mid deck ventilation exhaust.
It goes on up to the flight deck and exhaustson the flight deck.
Also there is a section that goes on the forwardside of the cabin through the forward control
console and blows in the face of the crew.
The return is back through some avionic areasto provide cooling, and then back down to
the system.
This is a complicated picture, but reallyit is a very simple flow system.
This becomes important later in our discussionbecause good mixing turned out to be a really
important parameter.
Not just cooling.
OK.
The second.
Remember we had six?
This is the second element.
This is the atmospheric pressure and compositioncontrol.
The first job is the 14.7.
The Shuttle selected sea level, the idea beingwe could not have a lot of special designed
equipment.
Shuttle was intended to be a less expensivespacecraft than the previous ones.
And so a sea level atmosphere gave us no questionsabout human survival and gave us a lot of
opportunity for using more standard equipmentand not specially designed equipment.
There was a requirement, though, for a PSIAtotal control, but this was only for an emergency
de-orbit.
The problem statement is that you got a holein your cabin.
Don't know how you got it but you have it.
And the idea is the system has to be ableto sustain the crew for a de-orbit.
And I don't know who made up the number but169 minutes is the number.
We have an emergency return, 169 minutes.
The system has to be able to accommodate thatkeeping the total pressure at or above 8 PSI.
So there has to be enough flow capability,enough consumables to do that.
The half-inch hole was a programmatic decision.
I cannot speak for where the number exactlycame from, but it probably had to do with
meteoroid debris kind of analysis that saidwhat type of hole you could expect.
Anyway, that was the design for the system.
The next aspect or element of the system isthe O2/N2 partial pressure control.
At the total pressure of 14.7, we wanted sealevel which is about 3.2 PSI oxygen.
At the 8 PSI, we wanted it to be survivablebut the oxygen could be less.
Obviously, people live in Denver so that works.
There are also crew breathing masks whichcan be used in conjunction with low oxygen
partial pressure.
The cabin had to have both positive and negativerelief.
It had to store the oxygen and nitrogen, andit had to provide pressurization for the water
management system.
Remember earlier I talked about the more pervasiverequirements?
The water and waste management system nowis placing requirements on the atmospheric
pressure and composition control.
This is a silhouette again where basicallyhere you see the oxygen tank, which is 3300
PSI oxygen tank.
There are nitrogen tanks on both sides.
These are high pressure tanks all 3300 PSI.
The relief valves are shown here.
And there is an O2/N2 supply panel which hasall of the valves and regulators and everything
on it.
This system, however, though, gets most ofits oxygen from the cryogenic tanks.
So that is only just shown as an inlet.
These tanks are basically part of the powercontrol system.
Electrical power is hydrogen and oxygen fuelcell.
We use a lot less oxygen than they do so thestorage was integrated.
And then we use the oxygen for most of theuses.
It comes from the main tanks.
This is a schematic.
I will start right there.
This is the cryogenic system.
This is the main cryogenic system.
This is not part of the tankage of the pressureand composition control system.
It goes through a restrictor.
This is stored in a super critical state sothe delivery is somewhat limited.
And so this goes through a restrictor so thatwe don't decrease the pressure too fast in
the cryogenic tank.
It comes on down through a regulator thatregulates down to 100 PSI.
And that comes on down to two regulators.
One is the normal regulator, the 14.7, andthe other is the 8 PSI regulator, both of
which are available depending on which cabinmode you're in.
If you go over this way you will see the nitrogen.
The nitrogen goes through its own regulator,and it is regulated at 200 PSI.
And that's important because that is contrastedto the 100 here.
Next the nitrogen goes through an on/off valve,a solenoid that is connected to partial pressure
sensors of oxygen.
And, if you're making up cabin gas, you haveto make a choice as to whether you want nitrogen
or oxygen.
And that choice is made by this system anda simple on/off valve.
There is no sophisticated control system.
This is a simple on/off valve.
If the cabin needs pressure but doesn't needoxygen then this valve is open and the 200
PSI basically backs down the oxygen system.
There is a check valve here, no oxygen flowbecause you get nitrogen.
At the point that you need oxygen, this valvecloses, then there is no 200 PSI anymore.
Therefore, the 100 PSI provides oxygen tothe regulators.
It is a very simple design.
Off the top of your head, what kind of failuresdid you have during qual test that really
bothered you?
The regulators were produced by Carlton, andthe regulators were derivatives of regulators
they had been building for years.
So the regulator functions really were prettygood.
But the early problem we had was the pressuretolerance wandered and didn't have as good
a pressure tolerance.
And they did make some mods to correct that.
But the more significant issues got into flowissues.
Their test capability was pretty limited.
And when you're talking about very high flowcases you have to do something with the gas
to make the regulator think that it is inan operational environment.
And so we did a lot of testing, and I willshow you that in just a second, for the high
flow cases.
Let's see.
There is a redundant system.
It is not shown in this schematic but thereare two of these, just like this.
This is the pressurization for the water andwaste management system you see here.
I would say there is a crossover to the redundantsystem so that you can do mix and match.
If you have a problem in both systems, youcan mix and match the capabilities.
Also, the oxygen system provides the emergencybreathing system.
It also provides oxygen to the air lock forrecharge of the backpack.
We will talk about that later.
And I believe that's it.
So, for normal pressure, we have 14.7.
And you have the automatic pressure regulator,basically on/off valve and the regulator.
The partial pressure is controlled by the3.2 PSI which is the solenoid that controls
that.
It is a very simple system.
The oxygen partial pressure does have anotherset point at the PSIA goes down to 2.45 PSI.
And I will show you that in a minute.
For cabin pressure relief, the problem statementreally is why do you need relief?
Well, what if one of those lines breaks?
You've got 3300 PSI tankage.
It is all plumed together.
The crew, God forbid, step on a line and breakit, and now you've got all this nitrogen rushing
in.
You don't want the cabin to explode, right?
So you need a relief valve.
And the relief valve was set at 16.2.
And, again, that is one of the high flow casesthat we ended up testing.
The system was designed with three reliefvalves.
Any tool will do the job.
That is just a redundancy philosophy.
Sometimes you will see two items where eitherone does the job.
In this case, this is a very critical issueso there is a double redundancy here.
For the negative pressure protection, thereis an 8 PSI delta relief valve.
In fact, there are three of those.
You don't need the two to operate, but thereare three.
This is for the return that I just showedyou.
If you come back with a hole in the cabin,the cabin is at 8 PSI, you cannot reverse
flow through that hole.
That is not going to work.
You don't want the cabin imploding on thecrew so you've got to make up, as you come
in the lower altitude, obviously the higherpressure, you've got to get that gas back
in the cabin.
So that's what that is for.
OK.
This is the other pressure vessel that wasused as a test site.
This was called the Environmental Test Article.
Rockwell gave it that name.
What they planned to do with this device,when they built it, was to do all the wiring
runs and the plumbing runs in there.
It was going to be a mockup.
It turned out they built a rather beefy tank.
In fact, maybe they got one very inexpensively.
I'm not sure how they ended up with it, butthey got it.
They did do all the secondary structure, soit had the right shape inside.
And so it turned out they didn't end up usingit.
They went onto other methods.
And so it ended up leftover in the program.
We convinced Aaron that he ought to give itto us, and he did.
This is what it looks like in cutaway.
You see here all the secondary structure,it was in boxes but we put it all in.
Foamed it in so that the volume was right,so the cabin volume was essentially perfect.
It had the flight deck.
It had the mid deck.
It had the lower deck for the environmentalcontrol system.
But we also asked Aaron to give us the certhardware, which he did.
So we had the cert hardware underneath thefloor.
And the pressure control system we're talkingabout, actually, is on this back wall.
That is a picture of it.
What we did is faithfully run the lines.
In fact, we even use the same line material,same fittings, same everything.
So we faithfully duplicated inside this testarticle the volume and the geometry and the
system.
All the ventilation ducts you saw, all thosewere in place.
We will come back to it later, but you'llnotice on the back wall of this test facility
there is an airlock hatch.
And later on I will tell you where that goes.
But this is the control panel and the nitrogen/oxygensystem.
This is test data.
We did some testing to see how the systemworked.
This was testing of basically the on/off oxygencontrol system.
Let me see if I can walk through this simply.
We're working total pressure here, oxygenpartial pressure here.
During this first interval the oxygen is on.
What we're doing here is we're breathing itdown.
And, when we hit the lower limit so that theregulator wants to do something, then the
oxygen partial pressure starts up becausethe regulator comes on.
Now, the total pressure is maintained becausethat is what the regulator is supposed to
do, maintain total pressure.
But as it maintains the total pressure itis doing it with oxygen and, therefore, the
partial pressure is going up.
When it is satisfied, that is enough partialpressure of oxygen, then the solenoid valve
opens and you see the nitrogen come on.
Now, you remember the nitrogen feed was at300 PSI versus 200 PSI.
So there is a little jump.
That is just a mechanical artifact of theregulator.
If you change the inlet pressure it regulatesslightly differently because it is a balance
system.
You see a little jump there.
And then, during this period, the pressureis maintained.
But we're breathing off the oxygen becausewe've got the oxygen fenced off now.
And then when the pressure is satisfied andthe solenoid goes back the other way then
we again start the oxygen again.
So the system worked quite well.
If you notice the tolerance band spec-wisewas pretty wide, the system operated on a
very narrow brand so we were very pleasedwith that.
Normally that is important.
Not only because it shows you that you dohave a good sensitive system, but you cannot
-- Mechanical hardware, electrical hardware,either one never operates down the middle
always.
There is drift.
You need a little tolerance in your band hereto have a decent system design.
Yes.
Does this change a lot when you have the crewperforming high metabolic activity?
The cabin is so large that it really doesn'tknow.
The cycles would be different, obviously,because you consume more oxygen, you would
need more oxygen.
So the on/off cycle would favor longer oxygencycles.
But, in the big picture, there is really nota lot of change.
What was this time period?
It looks like this was about three hours maybe.
That might go to two hours for a cycle.
I mean not really very much.
Sorry.
Does microgravity have much effect on circulation?
There is no circulation in microgravity.
It just lays there.
You push it or it doesn't go.
Diffusion is a driving force, so if you'rereally, really patient, even at zero G you
can wait, but you cannot stay alive that way.
But, yes, you do have to have ventilation.
Still in the atmospheric pressure and compositioncontrol.
This is the emergency breathing equipment.
We used plug-in face masks.
There are some uses for the mask that requirea carry on bottle to give portability, but
the vehicle does have plug-in capability.
The masks were purge-type masks.
You're probably not familiar much with masks,but there is a mask called a rebreather which
basically your lung power does all the workand you only purge enough to keep the CO2
down and you keep rebreathing.
And then the purge-type is every breath isa fresh breath, and you then exhale and the
gas goes out in the cabin.
And that's the type that this is because thecabin needs the oxygen.
I mean it's not going anywhere bad.
It is OK that it's not completely spent.
It's good.
That's like a scuba mask, right?
I don't scuba.
Sorry.
But I think the answer is yes.
With scuba, you take in the air and then youblow it all out.
I mean there are scuba rebreathing systems,but the typical scuba gear is not.
Rather than raising your hand, if you makea noise of some kind.
Sorry.
I don't mean to ignore you.
The mask can be used in a contaminated environmentand the mask can be used if the concentration
of O2 is low to give you a better oxygen level.
This is the PSIA test that we did.
Actually, a series of tests.
But this is data from one.
As you see, we started up in the 14.7 range.
We simulated the hole.
The pressure immediately starts down.
The partial pressure of oxygen we let degradeto about the 2.2 range.
This is a different set point.
Remember I told you on the oxygen sensorswe have two set points?
This is the second set point.
And so we have the lower oxygen partial pressure.
The system came down.
The PSIA regulator, which is always online,captured the pressure decay, caught it, and
the solenoid valve popped back and forth tokeep the oxygen OK because we're losing now.
We're going out this half-inch hole.
And the system worked just fine.
This did have the crew on the masks becausethat is livable, you can live there, but the
mask is a better environment.
This is a mask case.
This was a requirement that came on later.
The design is the design now.
The vehicle exists so we have to now operatethe vehicle with accommodations for operationally
what we want to do with it.
And a new requirement developed and was imposedon the vehicle.
And that requirement had to do with the spacesuit for the EVA operation.
The Shuttle spacesuits are basically 100%O2.
And the classical way of going EVA from asea level environment was a four hour prebreathe.
Actually, as much as six hours depending onhow conservative the medics were at the time,
that number varied around some, to preventbends.
But it was determined that if you accommodizedat 9 PSI for about 12 hours then you only
required a really short prebreathe.
And the suit-up time, which gave you 30 to40 minutes, actually gave you sort of a free
tune-up to your prebreathe as part of yoursuit-up operation.
And so that was viewed as a much better wayto do EVAs than the previous way.
The masks are useful but are not very comfortable.
So, if you have to keep them on for a longperiod of time, they're not very comfortable
at all.
Also the medics were very concerned aboutmask leakage, that if there was any nitrogen
inflow that that could break the prebreathe.
But our system isn't designed for 9.
We have a 14.7 and an eight, but we don'thave a 9, so we needed a manual procedure.
But before that could be accepted there weresome issues that had to be evaluated.
And we had to do testing on each of theseissues.
The first is the flow rate acceptability at9 PSI.
Obviously, the less dense gas you're not goingto get the same mask flow rate.
And we had to make sure that that ventilationwas going to be adequate.
And testing proved that it was.
The next is a thermal acceptability.
There are really two aspects to this.
One is the fan itself is cooled by the environment,so if the environment doesn't provide as much
cooling to fan itself it could overheat.
Also, the electronic equipment, some of whichis air cooled, the less dense gas could be
a problem there.
It turned out that could be controlled withload control.
That could off load power and make that acceptable.
The CO2 performance at 9 PSI, we needed tomake sure that was OK.
It turned out that, of course, the 9 PSI case,we don't care about the lithium hydroxide.
The purge flow is so great there is no CO2problem.
But at 9 PSI for 12 hours you have to getperformance out of the lithium hydroxide.
So we checked that and that worked out fine.
And the last item was the ventilation adequacy.
We do have a press and depress.
You've got to come down to 9 and you've gotto go back.
And both of those adjust the gas mixture.
And so we wanted to prove that that was OK.
And so we went to the facility that we weretalking about and ran this profile.
Now, this profile was created by our-- yes?
[AUDIENCE QUESTION]
Well, that's what I just said.
Yes, it does.
The air-cooled equipment is going to run hot.
If you want to cool that equipment, it willbecome a little clearer later, but the equipment
is in equipment bays.
And so, with the less dense gas, you needto have some of that equipment turned off
so that the cooling that is available is adequate.
So you do load control, get rid of some ofthe electronics.
And, therefore, the air that's left, the atmospherethat is left can cool the equipment.
And then when do you increase the pressureback to normal after the EVA?
After the 12 hours.
No, actually it's before the EVA.
Well, I'm not sure what they do now.
When you're all finished with your EVAs thenyou bring the cabin back.
Because, typically, you do multiple EVAs.
And so, from one day to the next, you justkeep the cabin at, actually, we use 10.2 now
rather than 9, but I think you have to certifyit for 9, right?
This was an early certification for 9.
Yes.
But wouldn't it have been easier to simplydesign the whole system for 9 from the beginning
if you had [OVERLAPPING VOICES]?
Well, this was not a Shuttle requirement.
This was an operational requirement that occurredafter the Shuttle specifications were set.
You're correct.
If we knew it ahead of time it would havebeen much easier to do it all for 9 PSIs,
exactly.
It would have just been a third condition.
But, as Jeff pointed out, we changed our mind.
The first was 9 and now we're at 10.2, sowe're not consistent.
As we learn, we change our mind.
And the 10.2 was selected later.
Our mission operations people that do thecrew time lining and all, they created this
procedure.
And so we tested it.
This has a simple depress cycle.
You come from 14.7.
You hesitate at about 11 and replenish theoxygen.
You do that twice.
You then do manual control down at the 9 psilevel.
You notice the oxygen partial pressure hereis always maintained by these adjustments,
and also during the manual period you selectwhat you want.
And then when you come back, the procedurewas to increase the nitrogen and then finish
the top off with oxygen.
That was thought to be completely acceptablebecause the oxygen level, at this point, is
completely viable.
And so doing the nitrogen first and toppingit off with oxygen was thought to be an acceptable
way to operate.
So we did the test and this is what happened.
We were all nice and comfortable with ouroxygen partial pressure.
And you see the area next to where we wererepressing.
We depleted the oxygen substantially.
And the mid deck and even the flight deck,we depleted the oxygen.
And I've only shown you half the data.
If you look at the rest of the data, you seewhere the oxygen went.
These equipment bays that I mentioned earlier,the avionics bays and other equipment bays
are basically isolated volumes from the cabin.
So, as the pressure comes up, what you'redoing is you're pressurizing these areas with
cabin gas, which is oxygen and nitrogen, you'repressurizing these areas with nitrogen only.
Basically, you are depleting the partial pressurehere.
You're increasing the partial pressure here.
You remember partial pressure.
You just count the molecules.
That's all you have to do.
Basically, we're putting more oxygen moleculeshere and we're taking them out of these areas.
And, therefore, they are going down.
This is just a picture of one of the bays.
You see all the empty space around the equipment.
That is where the gas is.
We came up with an alternate procedure whichis to simultaneously put the oxygen and nitrogen
in together.
And, of course, there is the 9 back to 14.7.
And you notice that solved the problem.
There is still some dip at the supply areabecause the mixture is lean.
We need from 9 to 14.7, 5.7 PSI total pressureincrease.
But we only need 2.5 up to 3.2 oxygen.
This is a mixture, but it's a lean mixture.
So there is still some slight loss, but theonly area that came under an issue is near
the inlet where the O2/N2 supply panel is.
And, of course, you can just avoid that area.
Well, I should say that that area happensto be right around the bathroom.
And so, before we repressurized the Shuttle,the commander would say anybody who has to
use the bathroom use it now because for aboutten, fifteen minutes, while we're depressurizing,
it's off limits.
OK.
Next item.
This is the water and waste management area.
This is one of the six items.
We have potable and waste water inventorymanagement.
We're continually producing potable water,as you know, and waste water.
We have to dump them, we have to use them,so that is part of the requirement of this
system.
We have to store water for drinking, foodprep and waste water storage.
It has to be dumped to space.
Commode and urinal for human waste collection.
And we provide water for an evaporative heatsink, which we will talk about later, called
the flash evaporator.
Yes.
This is an outstanding example of systemsengineers, this total system that Walt is
talking about.
We can really see the interaction betweenall the systems and the spacecraft.
This really is a systems engineering problem.
Potable water, we take all the fuel cell byproductwater and use it.
So it is basically in a fluent to the powersystem.
We do have a launch storage capability forwater and we do provide sterilization.
The sterilization is iodine.
We started out designing a silver ion system.
It turned out that we had manufacturing problemsand the company ended up going out of business,
so we reverted to iodine.
The Lunar Module used iodine.
Waste water, the condensate from the cabinhumidity control and urine and the urine pretreat.
Urine has to be pretreated to bind the urea.
If you don't, you get a lot of ammonia.
It uses a chemical called Oxzone.
It's an acid.
I'm not really sure what it is.
This is where the system is located.
This is one of the simpler schematics.
The water tanks are here.
The water comes from the fuel cell.
As I said, by the way, the delivery is about150 degrees and 60 psi.
So there is a lot of hydrogen dissolved inthe water.
The water is collected in the fuel cells onthe hydrogen side, so there is a lot of hydrogen.
There is a hydrogen separator here.
Otherwise, your tanks would end up full ofhydrogen which is what you don't want.
You will get water in the tanks.
The hydrogen separator is a silver palladiummetal.
It is catalyzed.
It is basically porous to hydrogen but notto water.
If you expose the backside to the vacuum itpulls the hydrogen off and the water goes
through just fine.
I will say that there still is a rather highgas content in the water that you drink.
And that gas, of course, evolves once it getsinside your stomach with predictable results.
[LAUGHTER]
Yes.
In fact, all sorts of systems that Jeff couldexplain.
They have slinger systems and all sorts ofsystems to get separation because it is not
really possible to get all the gas out ofthe water.
OK.
There is a dump system.
There is a potable waste dump to vacuum.
There is also a vacuum vent, which I willshow you what that is all about.
And then the flash evaporator that I mentioned,and I will mention more later, is in the back
of the vehicle and it has a redundant waterfeed system both sides.
This is a schematic.
Start at the same place.
Water from the fuel cells goes through thehydrogen separator and then into this bank
of tanks.
The tanks are pressurized.
They are yellow bellows tanks.
On the back side of the bellows is nitrogen.
On the forward side, of course, is the potablewater.
There is a hydrophobic filter on the downsideof each tank.
If a bellows were to leak, you don't wantwater into your nitrogen system.
So this is a filter to prevent that.
I mentioned the twin flash evaporator feeds.
There they are.
This is the dump nozzle here.
The potable water system provides water tothe crew so there is a regular water interface
and a chilled water interface here.
I believe that is it.
I remember there were more problems with Apollothan there were with Shuttle.
49:30 I don't have those sorted mentally.
I'm sorry.
I don't remember.
I'm not sure.
[AUDIENCE QUESTION]
Maybe that was on Apollo.
[AUDIENCE QUESTION]
Basically that means you put your water intoa plastic bag.
And now you can actually swing it around likeso.
And so the water will go to the outside andthe gas is in the inside.
So that actually separates them and you cansqueeze the gas out through a valve.
On-orbit trash storage, there is an overboardbleed for odor control.
It's a very small overboard bleed to vacuum.
And the human solid waste collection and storageis also vacuum dried and stabilized.
This is a waste management picture.
The subject we were just talking about isthe vacuum vent.
That vacuum vent does vent the commode areawhere the feces are.
That vent also provides a vent for the waterseparator.
It also provides a vent for airlock depressfor EVA.
So this is the vacuum system.
The urine is collected and trained in a liquid.
Well, let me say that different.
The urine, after it has been separated fromthe gas stream, is stored in a waste tank,
as is the humidity from the cabin atmosphericrevitalization system.
And then that is pressurized from the pressuredcomposition control system and is dumped overboard.
This waster is not used for anything.
It is basically dumped just to do inventorymanagement.
The next picture explains a little betterabout the commode and the urinals themselves.
The urinal originally had a unisex interfacecup.
It turned out that didn't work very well,and so later flights there was a custom male/female.
And later there were even some more customizingfor the crew, I believe, but I don't have
the details on that.
The urinal itself, obviously for urination,there needs to be some way to make the urine
go where you want it to go.
And those were done in fan separators.
So there is gas pulled in the cup.
And in training the urine, the urine thencomes down and goes through the separators.
This is also a centrifugal-type separator.
And then that is sent to the head that iscreated here.
Then puts that waste water urine in the wastesystem.
The EMU spacesuit, it also has a condensatedrain after each EVA, and it also goes through
this same system and into the waste tank.
The commode.
Basically there is a seat.
The seat has a small opening.
The commode itself is basically a cylinderor a tub.
And there is a slinger in the bottom.
So the slinger basically distributes the paperand the fecal matter on the outside wall in
a thin layer.
The vacuum then can dry that so that it deactivatesit so it does not end up either any odor or
creating any kind of bacteriological issues.
But the entrainment of the fecal materialso that it, in fact, hits the slinger, is
done with an air flow.
The air flow comes in around the seat itself.
That requires good contact with the seat.
It also requires positioning.
Positioning turned out to be an early issue,or reliable positioning, and so a trainer
was put together that had a camera here.
And the trainer, I might add, was discretelylocated in a non-observable place so that
it could be used in privacy, the comings andgoings, and also the use of the facility itself.
And they told us it was not hooked up to atape recorder.
[LAUGHTER]
Just to elaborate on that.
Basically, the problem is it really is a rathersmall opening.
And it just doesn't feel natural to know whereto put yourself down.
And it actually did lead to significant messeson orbit.
I won't go into any more detail.
But the idea is that you would position yourselfthe way you thought it should be, and then
you would turn on the lights.
And there is a TV screen in front of you.
I'm not making this up.
[LAUGHTER]
So that you could see how close you are tothe bull's-eye.
Enough said.
The cabin thermal control is another one ofthe subsystem elements.
It is a circulating liquid cooling system.
It provides the heat sink for the atmosphereitself.
It also provides the ability to reject thatheat to the spacecraft cooling system because
you've got to get rid of it out of the cabin.
It has some avionics cold plates, some aircool avionics, support the crew in the airlock
and a portable water chiller.
This is the location.
You will notice the avionics bays are listedhere with their little circulation systems.
The liquid system then services each of those,the chill or the condensing heat exchanger.
And this is the place that the cabin systemconnects to the spacecraft system, on the
aft bulkhead right here.
We will see the other half of this systemin a little bit.
This is a schematic that is very complicatedlooking but it is fairly simple.
Let me show you the air piece first.
Look at the black lines.
Those are twin fans.
It goes through the air-cooled avionics throughthe heat exchanger to get rid of the heat.
There are some cold plated avionics in eachbay, so you take care of the cold plated and
the air-cooled in this bay and in this bayand in this bay.
Now you've got all of the electronics takencare of.
I should have started this up at the pump.
Sorry about that.
Here is the pump and we will come down.
It also takes care of the forward and overheadwindow mounts around the window for thermal
control.
And the hatch is just a way to keep thosethermally stabilized.
Back in the early flights, we had somethingcalled DFI, development flight instrumentation.
It was a special instrumentation package.
It was also liquid cooled.
And then this is the heat exchanger to thespacecraft system.
It is a Freon system.
This is where the main heat is rejected righthere.
On the other side of this you've got coolliquid.
It turns out this is water.
We go through the liquid cooling garment whichis the spacesuit cooling garment, the water
chiller, go through the cabin heat exchangerto cool the cabin and condense the water out
and then back to the pump.
I failed to mention the IMU.
It has triply redundant fans.
It pulls air through it.
And that is also cooled by this gas stream.
Anyway, this is the cabin thermal controlsystem.
These functions, I just said each one of themso I won't repeat them.
Cabins circulating liquid cooling loop.
As I mentioned, water is the coolant.
Water is actually a very good coolant.
And, if you have any requirements that pushyou that way in your designing thermal control
systems, you like water.
Water is completely nontoxic so it can bearound the crew.
Leaks don't make any difference.
It has a very high CP.
It's a really good fluid.
The problem with water is freezing.
You don't want to freeze it and you don'twant to get it so hot that it turns into steam.
But if you can stay within the boundariesit is a good fluid.
And that is what this is.
Redundant pumps, I showed you that on theschematic.
The liquid gas heat exchanger, I showed youthat before.
Cold plates for electronic cooling and thewindow hatch mount.
The circulating gases that I mentioned forthe avionics, the cabin gas was used as a
coolant.
You saw the redundant fans and the doublyredundant fans.
I mentioned earlier, and someone commentedon it, that the promise early on was the Shuttle
could be a less expensive development activityif we used off the shelf avionics, the kind
that aircraft use.
And that's a good promise.
It turned out that that's not a very good,not as good a solution for thermal control
as liquid cooled.
Liquid cooled is a much more efficient wayof providing a heat sink to electrical equipment.
When you blow the cabin gas through it thenyou end up with the problems of if you change
the pressure in the cabin, which we talkedabout.
That can effect cooling.
Also you have to put out a lot more power.
You have to blow a lot more gas than you dopower to move the liquid around, so it's not
a very good thermal solution.
And actually the promise of less expensiveavionics I don't think was actually fulfilled,
although that's somebody else's topic andnot mine, because I think everything was pretty
well custom.
It did potentially complicate the thermalcontrol system for a good goal.
And how well that goal was met, somebody elsewill have to speak for it.
Another one of the subsystem elements of thespacecraft.
Well, we usually take a two minute break whenwe're about halfway through.
Certainly.
Why don't we take our two minutes now andthen we will pick it right back up?
[AUDIENCE QUESTION]
From an engineering standpoint, it is muchbetter to cool with liquid.
If you use cold plates, it is much more efficient.
You get a good reliable heat sink.
And you can then design your thermal conductionpaths so that out of the avionics box you
make sure the heat goes to the cold plate.
And you use a lot less power.
You can pump water a lot more efficientlyfor the cooling capability than you pump gas.
Is that what happens on the Shuttle now ordo you have a mixture?
[AUDIENCE QUESTION]
This is the air-cooled part of the loop andhere are the cold plates.
Let's get the class back.
Thank you very much.
I am sorry.
Did you see what I was pointing at here?
Yeah, you put both.
Yeah, and this is one bay.
And they have both cold plates and the air-cooledhere, here and here.
There they are.
Of course, when you go outside the vehiclethere is no more air so all the external equipment
is cold plated.
Was there another question?
What kind of design changes would you haveto make in order to go strictly to completely
liquid cooled electronics?
Well, if you're trying to use off-the-shelfand it is air-cooled already, there is a cabinet
right there full of it.
If it is air-cooled already then you haveto stay with that concept.
If you're custom designing then, from thevery beginning, you say I'm custom designing
this to be liquid cooled.
And then the internal design is such thatthere are conduction pads to the base plate
so that it can be cooled.
OK.
I guess previously to that all of our spacecraftwere liquid cooled.
Apollo was, wasn't it?
Yes.
Because you had to be able to take those spacecraftdown the back?
Right.
We evacuated the cabin both in the CommandModule and the Lunar Module.
And Gemini, too.
This is the spacecraft active thermal controlsystem.
This is the vehicle level.
So now, even though we're still under thisETCLSS, we are not talking the classical environmental
control anymore.
This is a bigger picture.
Also the reason the word active is stuck inhere was a left over from previous programs,
too.
For example, on Apollo we had several heatrejection systems.
Not a single one.
And we also did a lot of passive thermal controlon Apollo.
We had a mission mode called "barbeque" whichis basically you roll the vehicle very slowly
so you normalize the environment.
If you leave the same side toward the sunall the way to the moon that side gets really
hot.
This is the active system to get away fromheaters and/or vehicle level control.
There is an on-orbit.
We have a radiative heat sink.
We also have an evaporative heat sink on orbit.
During ascent and entry we have two heat sinks,both of which are evaporative.
We have a circulating liquid system.
We take heat from the cabin, from the fuelcells, hydraulics, all the cold plate avionics
and electronics, and payloads, we do coolingfor payloads.
All of these are the functions of the activethermal control system.
This, as you notice, is a lot busier thansome of the others have been.
You will notice the radiators here on theside wall.
This is the doors.
When closed up there are no radiators.
When opened the underside of the payload doorsare your radiators.
And this is on both side, obviously.
That same heat exchanger that I showed youbefore that interfaces with the cabin is right
here.
The cabin load is dumped there.
Fuel cell load is dumped here.
The fluid is a Freon 21.
There is a Freon 21 pump package.
The payload heat exchanger is here, I believe.
Mid body cold plates.
Aft cold plates.
Each radiator side has its own flow controlsystem.
The evaporative heat sinks, one is the flashevaporator that I've shown you a couple times
before.
I will describe it a little better in theminute.
It is here.
It uses water.
There is an ammonia boiler here that is alsoan evaporative heat sink.
And when we're on the ground there is a GSEconnector for the GSE heat sink.
[AUDIENCE QUESTION]
More than you would ever know.
In fact, this is the most complicated, integratedthermal test ever run at JSC.
And I will show you a picture of it in a minute.
We actually tested all of that together.
And it all had to work together.
And it gets worse as we go along.
I will show you all the integration factorsas we go along, but it changes from mission
mode to mission mode.
It changes within mission modes as to howthe system works.
And I will try to describe that.
OK, so this sort of gives you the feel now.
Keep in mind, geometry is going to play aneffect here as to how you plum the system
up.
So Freon is running through all of those linesthere to the radiators?
It will be a little clearer in a minute.
This is a schematic.
Let's start at the radiators.
On a good day, this is doing the job for you.
All the radiators are getting you nice coolliquid.
The radiator uses a bypass system, so youwill see the bypass around the radiators.
It is good to remind yourselves that heatload can be tremendously different.
And the high level mission phases, a lot ofelectronics, a lot of crew activity, the vehicle
is alive and pumping out the power and, therefore,pumping out the heat.
If you ever did one of those 28 day missionswe talked about, which was a spec requirement,
you can imagine this vehicle is almost quiescent.
It is doing very little.
You're trying to link them the mission.
So you're doing hopefully experiments or somethingin SpaceLab.
You're doing something else.
The vehicle is not working for you very hard.
Just as an example, we have five computers.
And we use all five during ascent and entry,the active phases for safety, but once you're
on orbit, when you have a long mission likethat, you actually power down all but two
of the computers.
That is just it.
And there are a lot of other systems whichyou power down.
And that way you're limited in missions bythe electrical energy which is limited by
the amount of hydrogen and oxygen you cancarry for fuel cells.
So, by powering down, you extend your mission.
And, of course, you will also reduce the heatload.
And, when you reduce the heat load, you'vegot to find some way to make that same radiator
work for you at a very low heat load.
So it has the capability of getting rid ofa lot of heat.
If you don't want it to get rid of that muchheat, because you don't have it, then you
have to go to bypass system.
Anyway, the next thing in the loop is theGSE heat exchanger.
On the ground you don't have radiators workingso you use the GSE heat exchanger.
Then there is the ammonia boiler.
When you reenter the ammonia boiler givesyou the ability to operate with an evaporative
heat sink prior to the connection of the GSE,and so it is part of the thermal control system.
The next is the flash evaporator.
And you'll notice there are two flash chambershere.
One is called the high load and one is calledthe topper.
And I will talk about that a little more later.
Then the nice cool liquid, however it wascooled, all these cool it.
However it was cooled is then available forthe vehicle.
And there is one more little heat load, andthat is the cryogenic oxygen that we're bringing
in.
We also warm it up with this coolant loop.
So the flow then goes to the aft cold plates.
And then the flow also goes to the cabin heatexchanger and the payload heat exchanger.
You notice these are either or.
And that's because sometimes you don't evenhave a payload heat exchanger use so you don't
use it.
Sometimes you have a lot of use for it.
And maybe, for example, SpaceLab and SpaceStation have kind of an arrangement.
You wouldn't be in the cabin as much so youcan divert that.
It allows you to use the capacity in eitherof two places here.
Then you come on down and come through yourpumping package, there are redundant pumps.
Then you go the fuel cell heat exchanger becausenow you've used the nice cold fluid up.
And so the fuel cell can stand the warmertemperatures.
Also some cold plates.
Now, it might have occurred to you, it occurredto me, why did we waste our nice cold fluid
on these cold plates?
Why didn't we put those cold plates down hereso we could have had more cold fluid for our
cabin heat exchangers?
And the answer is geometry.
Those are way in the back.
The cabin is in the front.
After you've come forward from the flash evaporator,which is in the back, to the cabin, you don't
want to go back to pick this up.
You wouldn't want to have to go back to theback of the vehicle and then back forward
again, so this is a geometry problem.
We have cold plates here.
We also have cold plates here.
They come forward.
The hydraulics heat exchanger is the lastthing on the loop and then back to the radiators.
We will talk about that a little more.
The functions of the active thermal controlsystem.
Collect the waste energy from all the systems.
We just talked about that.
And rejected radiatively to space.
That is our first choice.
Our first choice is to use the radiators.
It turns out that the radiators in some heatload environments don't do the job.
You have a high load and a bad environment,you cannot get rid of all the heat.
Also, we are producing a lot of water, sosomething constructive has to be done with
this water.
The fuel cells are pumping it out becauseevery time you make a kilowatt you've got
more water to use.
So we decided to augment the space radiatorswith the evaporative heat sink at these high
load cases.
This gives us an ability to accept a radiatorsystem that cannot really do the job by itself
but make it completely adequate for some ofthe low heat load cases, but in the high heat
load cases then it is augmented by water.
Now, when you want to get rid of water andyou don't have some of this bad environment
you can actually throttle the radiators down.
And, if you throttle them down, then you forcethe evaporative heat sink to come online and
do the job for you.
In other words, you change the set point onthe radiator.
Normally we use 40 degrees set point.
If you change it to 56 degrees and let thewater take you from 56 back down to 40 then
you artificially get rid of water.
It is a good water dump system.
During ascent, over 100,000 feet we use thewater boiler.
The flash evaporator.
Not a water boiler.
That's a Freudian slip, I guess.
The Apollo had what's called a water boiler.
It was a nightmare.
We said never will we do that again, so weended up with a different design for the Shuttle.
The reentry system below 100,000 feet is ammonia.
It will carry you all the way to the groundand on the ground until you get the GSE.
Water won't carry you because water won'tevaporate less than 100,000 feet, but the
ammonia will so that's the reason it is there.
Let's talk about the radiators themselves.
The two payload bay doors are a mirror imageof each other.
They are radiators on each side that are exactlymirror image.
I don't know what happened there.
Anyway, this is supposed to say that the radiatorson these two sides are mounted and are plumbed
in two separate cooling loops.
The reason for that is there is always a redundantloop.
Obviously, you have to be able to take a failureand still have a good system.
If you run both loops through both radiatorsides and you took some sort of collision
hit then you could wipe out both of your coolingloops in one hit.
And so that is unacceptable.
By plumbing the systems up with mirror imageradiator systems on different loops then you
can still use the capacity together.
But if you lose one side you still have halfyour capacity left.
And plus you have your evaporative heat sinksto make up the difference.
So we can survive with a door out.
I mentioned the dual set points before.
I also mentioned the bypass thermal control.
I mentioned the dual set points, 40 and 56.
40 is our normal.
If you're trying to burn up some water yougo to 56 and you use the difference in water.
The radiators, we have two different kindsof radiators.
We have the single-sided that are on the backof the vehicle and some two-sided ones on
the front of the vehicle.
The reason for that is when you open the dooryou expose the underside of the door.
If you have radiators on the underside ofthe door then you've exposed your radiators.
But if you lift the radiator panel off thedoor, because the doors go way down, then
you can see the underside.
It's not as good, you don't get a full viewof the heavens, but it does get rid of heat.
And so we needed that extra capacity.
On the front four panels they are the two-sidedand on the back four they are single-sided.
The radiators themselves are made out of ahoneycomb aluminum structure.
The tubes were imbedded in the structure sothat the surface was smooth, and that was
because we wanted to use a silver Teflon tapefor our thermal control coding.
For previous vehicles we always painted theradiators, painted them white.
If you look at the alpha epsilon white paint,it is pretty good.
I think Apollo was 0.18 alpha and epsilonabout 0.92.
That's pretty good.
The market had moved along.
Technology had advanced and there was notthe silver Teflon out there.
And what the silver Teflon does is the silvergives you the reflection which is good and
the Teflon gives you the radiation which isgood, so you get the best of both worlds.
Silver Teflon was about 0.05 epsilon and about0.88, 0.9, something like that.
You lost a slight amount in epsilon and gaineda lot in alpha, so basically you could ignore
the sun which is what you'd like to do, isignore the sun.
It turned out the silver Teflon had some issues.
We tested the radiators.
The radiator was not a slam dunk with eightpanels, four of which are two-sided.
Effectively you have 12 panels.
You have fluid going through those in paralleltubes.
You're trying to guaranty that the fluid allgoes where it's supposed to go.
And, therefore, the viscosity of Freon, whichis very low, analytically said it was all
right.
But we wanted some testing to prove it sowe did test the entire radiator system.
And, in that test, all the silver Teflon felloff.
It is a really good thermal coating but itdoesn't seem to be very practical.
It turned out that the problem was adhesive.
We did a little adhesive work and the materialspeople came up with a Permacel that worked
perfectly.
They have never come off again.
In fact, we get 10, 12 years out of the radiators,lots of time.
The problem that the Permacel couldn't solvewas beneath the tape you could get very small
little out-gassing of the materials.
Almost all materials outgas some.
Basically, we would put bubbles underneaththe tape.
We went to a perforated.
There are millions of little holes in thistape.
And it is placed on the vehicle and it stayedon just fine.
It wasn't very long, though, that people beganto worry about the focusing of this silver,
that the doors are curved upward.
And so there is a focal point there that isa very, very hot point.
And there was concern that that's really nota good thing to have.
If we could make the surface less specularand more diffuse without losing the alpha
and epsilon we would have a better design.
And so they dimpled it.
Now we have Permacel dimpled, perforated silverTeflon tape.
It works great.
The flash evaporator.
Water is the flash evaporator's evaporant.
This was a brand-new design.
The water boiler on Apollo was no good.
It was a problem.
The flash evaporator is a very simple concept.
You have a chamber.
You run your coolant around the chamber thatyou want to be cooled.
And you spray water on the walls of the chamber.
And, if the pressures are all right, the waterwill flash.
You won't get ice.
It will go straight to steam.
Steam will go overboard and it will all bewonderful.
And if you can convince a program managerof that good luck.
Anyway, the way to convince a program manageris to show him good test data.
During the development, we developed thisprocess of spraying the walls and not getting
water carryover which will obviously freezeup your steam duct.
Which you don't want.
But, as the design evolved, we had to getmore sophisticated because we needed this
flash evaporator to burn up the extra waterwhen we didn't need the fuel cell water.
And we did that with that 40 to 56 set point.
And so we needed a small evaporator that couldhandle that.
It was called the "topper." It tops off theradiator.
But when the doors are closed there is nothingelse to get rid of your heat, now you need
a loss of capacity.
And so the second chamber was the hallowedchamber.
Together they do the whole job.
When the radiators are working only topper,you can come home with this system functional
and make it home.
It turns out we never did freeze up the steamduct so that part was good.
It turns out that we had some freezing inthe chamber.
And, in fact, we had to develop a processthat acknowledged that that could occur.
And how would we flush it?
It is called "flushing." And so we did developa process.
And it has never failed.
The flushing process always works.
And we have had on several occasions, I probablycannot count them for you, but four of five
times maybe over the Shuttle flights we'vehad some freezing inside the cavities.
There is a non-propulsive overboard vent.
That was the one going out both sides forthe topper because it could be used for very
long times during the mission and you mightbe pointing or whatever you might be doing.
But when you're coming home the high loadis just a big out the side of the vehicle
type duct.
The ammonia boiler, its heat sink is ammonia.
As I mentioned before, it evaporates all theway to the ground where the water won't.
The redundant boiler is here.
Up here there are no redundant boilers.
These two chambers have redundant everything.
They have redundant feed water systems andredundant control systems, redundant spray
nozzles, redundant everything, but the chamberis a chamber.
You get what you get.
They are redundant boilers is the way theammonia boiler gets its redundancy.
It was designed to be utilized during entryand on the runway until the cooling is available.
It turns out that we don't do that anymore.
It turns out operationally we learned thatif we cold soak the radiators before we shut
the doors and then bypass them and come homeon the flash evaporator that there is a lot
of heat capacity still left in those radiators.
There is a lot of fluid out there and it iscold.
And so we can actually go all the way to wheelstop on the radiator.
And so at 175,000 feet we start flowing theradiator.
And at 100,000 feet the flash evaporator isoff and we cold soak all the way home.
And after wheel stop the ammonia boiler cranksup.
I mentioned the Freon 21, the low viscosity.
We got an excellent performance out of that.
The low viscosity is really, really important,as much parallelism as we have.
I didn't really give you the numbers.
In the single panels we have 26 tubes.
In the two-sided panels, I believe, thereare 66 tubes.
Lots of tubes.
Lots of parallelism.
It is awfully easy to get flow instabilityin a thermal system like that but the Freon
loop does great.
We have redundant pumps, all liquid heat exchangersand cold plates.
This is that chamber that I told you.
If you can look right down here, this is oneperson.
In fact, there is a radiator panel.
This was during buildup.
Twice we tested the flash evaporator in thisenvironment once as part of the integrated
system with all the radiators and once byitself.
And twice we tested the radiators, one aspart of the integrated system and once by
themselves.
So we did essentially three large tests.
And the one that had the entire system init, had all the cold plates, had everything
in it, as I said, is the most sophisticatedthermal test we've ever done at JSC.
And it proved that the system could work.
It also proved that we had to tune the flashevaporator nozzle because it was wrong.
But we did get the data, we did prove it waswrong and we got it re-machined.
A machine out of columbium, somebody elsewill have to answer why.
And so it was a problem for Aaron to go getus another one, but it fixed it and it was
successful.
[AUDIENCE QUESTION]
You can have a command module and a servicemodule and a stack configuration in side that
chamber.
And it had a solar and full vacuum.
[AUDIENCE QUESTION]
It was a manned chamber then.
It is not now.
After Apollo-Soyuz, it hasn't been mannedsince then.
It's still available for testing but is notmanned.
It has a sister chamber 100 feet that waywhere all of the EVA testing is done.
A good example, I think, of how the ShuttleProgram built on a lot of Apollo-- The same
thing at the Cape where a lot of the launchhardware was adapted is the Shuttle Program,
you know, you heard about the budgetary constraints.
The Shuttle Program never could have affordedto build something like that.
But luckily a lot of this equipment was builtduring Apollo when the money was much more
available.
If you have been keeping count, we're gettingtoward the end here.
I did want to mention, before we left themain orbiter systems, that there was some
rotating equipment life testing that we didfor the program.
The equipment we're talking about here isthe cabin fan, the water gas separators, the
avionics bay fans, cabin coolant and the vehiclecoolant pumps.
The life requirement was 100 missions, andthat was calculated by somebody to be 20,000
hours.
If you could show 20,000 hours of successfuloperation, you had the design life of the
hardware.
We set up a laboratory to run the equipment.
It was obviously a low-maintenance lab.
We collected data and checked in the roomoccasionally to see if everything was all
right.
It turned out that all the equipment passedthe 20,000 hour requirement.
We did learn something, though, that someof that stuff was so noisy.
Oh, it was noisy.
There was some work done on some muffling,but the hardware itself was all good.
We are at the end.
Yes.
Were there noise requirements [AUDIENCE QUESTION]?
Yes, there was a cabin noise spec.
And, yes, it had to be met.
And I don't remember how it was met.
We put mufflers on some of the equipment.
Maybe some insulation inside of the ducting,I'm not sure.
If we have time, COHEN: I will tell a littleanecdote here.
I chaired the Change Control Board.
[NOISE OBSCURES]
The medical organization came to see me andsaid that the cabin was very, very noisy and
it was going to really do a detriment to theastronauts.
And it was very expensive in terms of dollarsand weight to really get all the cabin fans
and cabin environment down to the level theywanted.
I thought for a moment.
I go out to California a lot.
I go out to Rockwell and stay in motels thatare on the Los Angeles freeway.
And I said you don't see me worried aboutmy ears in staying in those freeways and not
being able to sleep and having all that noise.
And the doctor looked at me for a moment andsaid, well, you're already deaf.
And I said what did you say?
But we did have to make some modificationsof it to actually reduce noise.
Let me interject one item.
I think somebody asked the issue about theIMU.
We decided to pick the IMU off the shelves,and it was air-cooled, to really do it right.
If we would have done it right, we would havepicked an IMU which was compatible with liquid
cooling rather than redesign it.
But we decided to stick with the IMU thatwas air-cooled.
Whether that was the right decision to make,I don't know.
It seemed like it was because I think we'veonly had one problem with an IMU.
I don't think we've had many problems withthe IMU.
But that is a little anecdote that I thoughtof.
That's a program manager's trait.
Probably the air-cooled IMU was a less expensiveoption.
It might have cost a little in terms of thermalefficiency, but that is only energy power.
And power was available so it was a good tradeoff.
This is the last of the subsystem areas.
This is the EVA airlock support.
The Environmental Thermal Control and LifeSupport System does support the airlock.
It maintains the cabin pressure and compositionduring the airlock repress and depress.
This is really a requirement back on the ARSand the pressure and composition control system
because airlock use basically dumps cabingas and then you repress the airlock.
It is a requirement that you cannot upsetthe cabin while you're doing the EVA function.
We also provide the service and cooling umbilical.
If you have any kind of mental picture ofbeing in the airlock, the crew is connected
with cooling and oxygen through an umbilicalso they don't use the consumables in their
spacesuit.
And so that is provided by the ETCLSS.
Heat rejection, the crew wears a liquid coolinggarment.
And the cooling for that is done by the vehicleuntil you go EVA, of course.
Then the recharge.
We supply the backpack O2 recharge from the900 PSI cryo.
We supply the water to recharge for the sublimator.
NASA is overrun with acronyms.
EMU is extra vehicular mobility unit, whichmeans nothing but spacesuit and backpack.
So the spacesuit and backpack uses an evaporativeheat sink and it uses a sublimator.
And the idea there is it's a device that exposesa layer of ice to space and then it sublimates
and you get your cooling from that as opposedto putting a liquid water on a surface and
flashing it.
Anyway, that has to be serviced.
That water is provided from the system.
And then the condensate that the crew bringsback, EVA, that's a sweaty job.
That condensate goes back into the system.
So the airlock support is another part ofthis system.
In fact, that is the sixth part.
So we are through.
This is a picture of the airlock.
Not really the airlock.
This is the test chamber that we built toput the equipment in.
You'll notice it has the right hatch in it.
And, if you can recall back an hour and ahalf ago, I showed you a picture where there
was this hatch basically on the backside ofthe test chamber.
We hook those together.
Because, as I said, as you depress and repressthe airlock it affects the cabin.
So we needed a test environment that had boththose simultaneously.
But the difference is this has to go all theway to vacuum.
So we connected this to our vacuum system.
And, when the crew is inside this, it is amanned vacuum test.
And when the crew is inside the other testchamber it is basically sea level or, at most,
8 PSI would be the lowest it would ever be.
And I think the last picture is a spacesuitinside the airlock.
And this is just a little cutaway showingthe airlock.
This was mounted on the back of that chamberyou saw earlier.
If you bring that picture back up, I willtalk to that for just a minute and then we
will have some questions.
Before every flight, one of the things thatwe do is that every EVA crewmember takes his
or her spacesuit into that EVA test chamber,into the airlock test chamber so you actually
get a chance to take your own suit down tovacuum.
And particularly, before you do your veryfirst EVA, it is really a confidence builder
because the physical sensations that you getin a suit -- And remember you're at about
a 4 PSI pure oxygen environment.
Your body, the inside of your mouth feelsa little different.
There are funny sounds with the fans insidethe suit.
The sorts of things that you don't want toexperience the first time when you actually
go outside into space.
It is much better to do it here in a controlledenvironment where if there is a problem -- Actually,
you are supported because of the weight ofthe suit.
It doesn't look like there is anybody in thissuit.
But, when you're in this suit, you're actuallysupported by a cable to the ceiling of the
chamber which is on quick release bolts.
You're suspended up here.
And, if you ever have a problem, they canrelease this, repressurize the chamber within
about 30 seconds.
I think that's the limit for a manned ratedchamber.
You're going to be able to repress in about30 seconds and then just lift you out, suit
and all from the top, and get you out of yoursuit and get you to the medics.
This is just an inverted bell jar.
The hatch is not sealed.
When you depress it just like pulls it outand seals due to the pressure difference.
You just lift the top off.
Yet another example of the extensive testingthat we go through before every mission.
I might add one more thing, which I forgotactually to add earlier.
The manned rating is a term used in mannedspacecraft which means that you've specifically
tested it and said that its design is worthyof supporting a human.
The airlock had to provide that function.
So Aaron was faced with man rating the airlock.
And manned test capability is very scarce.
In fact, JSC may be the only place anymorethat can do it.
Anyway, we volunteered to do that as partof our test program as a programmatic requirement.
Not as testing or watching or confirming anything,but as a prime part of the test program was
the manned rating of the airlock.
And that was done in Houston.
That is an interesting thought.
If my memory serves me correctly, one of theproblems we had in the early part of the Manned
Space Program was doing some chamber runsMcDonnell-Douglas with a two-gas system where
we actually lost the heat [NOISE OBSCURES]
in the chamber and almost lost a test subject.
And that was when Apollo decided to go to100% oxygen.
And that is what led up to the fire on thepad.
It went to 100% oxygen at 16 pounds per squareinch with an invert over the hatch for another
reason.
And that is really if you can realize that100% oxygen at 16 PSI everything burns.
Stainless steel is not self-extinguishingat 16 PSI.
And, of course, that's what we were up whenwe had the Apollo I fire on the pad.
It was a function of doing some test workwith the combined atmosphere.
So you have got to be careful that sometimesyou don't over-react the thing.
Then we went back to a different type of atmosphere.
Did you have a question?
The systems you've been describing today seemto take up a lot of space in the Orbiter like
other systems.
How did you negotiate and manage other subsystemsfor the space and the volume in the way that
you wanted?
That is a good question but you're askingthe wrong person.
We are the government.
We hired a contractor to design the vehicle.
Now, the design aspects of it, the philosophyof it, the functionality of it we were very,
very integral with.
We watched, we audited, we said that lookssmart, but we didn't go and say put that cold
plate here and put that heat exchanger there.
The vehicle integrated design was Rockwell's.
Let me tell you how it was done.
Actually, in those years we didn't have CAD/CAMsystems.
What we did is used everything on mockups.
We did mockups.
The system was laid out of what to do andthe functions of what they had to do and the
plumbing.
And this was all laid out on a mockup.
And basically that was how it was negotiatedin terms of what you need.
In today's environment you wouldn't do that.
You would use electronic capability.
You would use your CAD/CAM systems.
You would actually draw it up on your computer.
In fact, the 777 was built that way.
The 777 at Boeing, they didn't use hard mockups.
They used electronic mockups.
And that is what we would do today.
And it would be much easier.
You would probably call all the engineerstogether.
You would sit down and show how the equipmentwas laid out, get a satisfactory buyoff on
it and do it much more rapidly and much morequickly.
In the future, what you will be doing is actuallyuse a CAD/CAM system or CAD system to actually
negotiate the space you need for it.
That is a good question.
And it was based on purely that you wouldget drawings, mockups, go out and lay it out
in a soft mockup or hard mockup.
You would get the engineers to come out, themanufacturing people to come out and say this
is how it is going to look and then get abuyoff on it.
Today you wouldn't do it that way.
You would do it all electronically so it wouldchange.
Well, let me ask you a question.
Of all the work you've done in the Shuttlewhat was your biggest concern in getting ready
to fly or during the flight?
What did you have the biggest concern about?
I was young and confident.
I don't know that I had a specific area thatI was really concerned about.
Like these people right here, right?
Young and confident.
I did recognize, though, but it did resultin the integrated tests that I showed.
I did recognize that we had the most highlyintegrated thermal control system ever conceived.
And it had, as I said, modes within modes.
It changed modes with respect to the vehiclephases.
It changed modes with respect to operation.
We had 9 PSI that went to 10.2 PSI.
We had 8 PSI.
We had thermal control loops, ammonia boilers,flash evaporators, so I did recognize the
sophistication.
In fact, we proposed early on to use thatlarge chamber in an integrated vehicle test.
Not we, me, but the big we looked at an integratedtest like the Command Service Module was tested.
And that was viewed to be impractical.
It was cut it off at the bulkhead.
You could do the forward cabin part and thendo the aft section, but that was viewed to
be impractical.
But it still was a very integrated design.
All the systems engineering that was therecreated that inner-dependency.
And I think I was smart enough to know thatthere was certainly some potential risks there.
Remember in the very beginning of this I talkedabout ownership of all the technical aspects?
We had ownership.
We believed that what we had done was prudent,appropriate, and we believed it would work.
It wasn't like you bought something and youhope it works.
Can you say a word of what you think, thisis looking in your crystal ball, about the
CEV?
Do you think it's going to have a very similartype system or have you thought about that?
Well, we hope so.
Our new administrator has sort of back tothe grassroots philosophy, or at least right
now.
And so we hope that the CEV will be developedwith a lot of government involvement, that
the government will have ownership again ofthe technical aspects of the design.
If that happens then I think a lot of theexperience that is around and a lot of the
free-thinking and the independence that thegovernment can bring to that, there is another
school of thought that says keep the governmentout of the way and let the contractor go do
their thing.
And, obviously, you wouldn't get that positionfrom me but there are people that believe
that's the right way to do it.
Do you think the system will look pretty muchlike this or similar to it?
Well, similar, yes, I do think so.
I believe that the very tight schedule forthe CEV is going to put a lot of pressure
on the program manager to go with the triedand true.
So I don't think there is going to be innovationthat has risk with it.
Maybe there will be innovation that is goodengineering, but I think the innovation with
risk will be very much minimized.
Because taking Shuttle offline in 2010 thereis going be a lot of pressure to get this
vehicle finished.
I think that is going to breed some conservatismon the design side.
We talk about considering operation whileyou're doing the design, but there were always
things once the design was made.
Well, like you mention, once we came up witha requirement for a 10.2 cabin we had to develop
workarounds.
And one of the other things that after thesystem is designed, we then start to figure
out how can it fail and work on malfunctionprocedures.
And I know that the malfunction procedurefor loss of two coolant loops that was probably
the worst simulation case that we ever hadto deal with.
I am curious to get your opinion.
Walt described how we have two independentcooling loops so that in principle one failure
won't take them both out.
Now, I don't remember what it was, but theydid discover a single point failure somewhere
in there which I think was corrected but whereyou could have lost both of the cooling loops
with a single failure.
The only failure I remember is one that JohnYoung used to worry about.
It had to do with if you did lose a radiatorthat that could bleed your accumulator down.
And so they did add an isolation valve sothey can isolate the radiator side.
But the idea was to obviously not lose yourfluid with a single hit.
That even though you have a nice completelyfunctional thermal control system it is useless
because it has no fluid.
We did have an emergency de-orbit procedurefor loss of two Freon cooling loops.
And, of all the things that we practices,that was the hairiest because it was absolutely
time critical.
At this point, you have no way of gettingheat out of the cabin so you cannot ultimately
cool your electronics.
The cabin gets hot, your electronics get hotso you have to do an immediate de-orbit.
Hopefully you're within range of a landingsite.
And then you turn off all the equipment thatyou can possibly turn off, including most
of your computers.
And, when you're riding down through entry,you basically watch the temperature of the
computer.
And, as each computer would get up to itsfailure temperature, you would then switch
on the next computer, transfer the data, youknow, turn off the computer which has just
about failed, and hopefully you could makeit to the ground.
And I know the instructors that would leadus through this exercise said that the information
they had gotten from the thermal analyst wasthat nobody was really sure whether we could
make it.
I don't know what your opinion was or not.
We practiced it.
But obviously, I think I've told you, nobodyhas ever died in a simulator.
But you never know whether the thermal modelthat they use in the simulator is really going
to duplicate the way the Shuttle is goingto behave in an absolute emergency situation
like that.
We survived in the simulator but I don't knowwhat your feeling is.
Well, we do address the thermal model accuracy.
We do specific testing to validate the thermalmodel so we do have pretty good confidence
in those.
But the real issue in overheat is that whendoes a piece of equipment stop working in
an overheat situation?
I mean there is no magic number.
It is not like at 143 degrees it is OK and144 it is not OK.
And it varies with age, it varies with equipmentand it varies with a lot of things.
So there wasn't really a precise answer asto how long you could keep everything functional
and come home.
Yes.
You talked earlier a little about oxygen andnitrogen mixing in the cabin.
I was wondering if there is a way to reallystudy that on the ground since you're not
in a DoD environment.
How do you know there are not pockets of nitrogensitting around that an astronaut can stick
his heat into?
Very good.
I just forgot to mention that earlier.
The testing that we ran, we had to set itup very carefully.
If you notice, there is a flight deck anda mid-deck, so obviously buoyancy is going
to mix that stuff for you.
What we did is set up a thermal conditionwhere less than one degree thermal gradient
everywhere in there had to exist before weran the test.
And that was to guaranty that we had no helpfrom the naturally induced circulation.
But you are absolutely right.
That test would have been a useless test withoutneutralizing the gravity effects.
And actually the first time that I did thespacesuit test in there we actually used the
10.2 protocol.
So I actually had to go in the day before,take the cabin to 10.2, spend the night and
then we could do just a 40 minute prebreathe.
For most of the other tests, when you go in,in order to avoid the inconvenience and expense
of staying through the night, you go in earlyin the morning.
And then you're coming right from a sea levelenvironment.
So, before you go down to 4 PSI in the suit,you actually have to prebreathe pure oxygen
for four hours.
As Walt said, that was the alternative.
You basically just get in your suit.
You can either bring a book and read yourbook or they will pipe music into you if you
want to give them a CD, or I guess there wasan audiocassette in those days, or they have
a little black and white TV monitor.
And you just sort of sit there for four hours.
And the problem is you're not allowed to goto sleep.
That would be the easiest thing, but theywant you actually to move around because when
you're moving your muscles you're actuallythen doing a better job of de-nitrogenating.
So you have to stay awake.
And if you don't say anything for more thanabout 10 minutes they will pipe something
in and say, Jeff, are you awake?
But this was a very, very useful facility.
I mean they used it for all different sortsof things.
And I guess that was the one new facilitywhich was built for the Shuttle specifically.
Yes.
Jeff mentioned several times the 10.2 andI talked about the 9.
The 9 was the original design, but the issueswith the 9 PSI had to do with the oxygen percentage
got too high.
And so there was much concern about flammability.
The idea was if you could raise the pressureup some to 10.2 then that would be less of
a flammability issue.
But then the problem became at 10.2 that thesuit at 4 PSI was too much of a drop.
If you're in the bends while diving, somebodymentioned diving earlier, scuba, you could
usually use a two to one.
If you don't reduce pressure more than halfyou're probably OK.
You're probably not going to get the bends,but half of 10.2 is not 4.
And the suit is at 4, so there was that issueagain.
They raised and bumped the suit up a littlebit and got it up to 4.3 and went to 10.2
and developed the prebreathe protocols thatmade that acceptable.
That is sort of how it balanced out.
That was another operational move later.
And, as Walt said, you're spending enoughtime, once you get in the suit and you purge
all the nitrogen out, and so you're sittingin a pure oxygen environment, you've got to
do a bunch of tests and check out communicationtests and cooling tests.
You basically are not losing much time byhaving to spend 40 minutes prebreathing.
The whole thing worked out pretty well.
And it will be an interesting question onhow they designed the CEV because the CEV
has to be compatible with docking to the SpaceStation which works at a sea level environment.
But, on the other hand, if you're going totake the CEV into a situation where you want
to do a lot of space walks, you probably wantto be able to operate it at more like 8.5
or 9 PSI so that you can go right into a spacesuitwithout an extensive prebreathe.
And, of course, people are always trying tofigure out could we design the spacesuit to
work at a higher pressure?
But then you give up maneuverability.
We will talk about that in another lecturethat I will be giving on EVA systems.
Walt, thank you very much.
I enjoyed it.
[APPLAUSE]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633The followingcontent is provided
under a CreativeCommons license.
Your support will help MITOpenCourseWare continue
to offer high qualityeducational resources for free.
To make a donation, or toview additional materials
from hundreds of MIT courses,visit MIT OpenCourseWare
at ocw.mit.edu.
PROFESSOR: Are you guysexcited about Battlecode?
I'm so excited tosee this many-- Yeah!
Yeah, let's hear ahurray-- no, no a yeah.
Are you excited?
AUDIENCE: Yeah!
PROFESSOR: All right,that was a strong yeah.
I actually mean that.
I have a strange thingwhere when I say something
it often comes out like I meantthe opposite of what I said,
like I didn't believe it.
Like that time that DrewHouston-- from Dropbox,
he's the Dropbox CEO-- doyou guys remember this?
He was giving his sponsor talkat the finals of Battlecode
last year and he wasjust wrapping up,
and everybody wasapplauding, and I
came to the podium I waslike, thanks, thanks Drew.
That was really good.
That made me wantto work at Dropbox.
If I didn't have ajob already I would.
And nobody believedme, they thought
I was just being facetious.
So, now he hates me.
That's too bad.
That happens to me.
OK, let's get started soon.
So you're all herebecause you're
interested in Battlecode.
These lectures are optional.
They're geared at beginnerto mid-level coders,
but they'll berelevant even if you've
had coding experiencein a million languages.
Because we'regoing to be talking
a lot of the time aboutBattlecode, the game itself.
And it could just be away to keep yourself up
to date on the latestmetagame, for example.
So we're going to goover the specs today.
I'm going to introducethe competition.
And then afterlecture today, we'll
be having a lab, duringwhich we'll help you set up.
So I see a lot of you broughtyour computers, that's
fantastic.
And that's also great becauseit means if you get bored,
you can just watchYouTube videos.
Yeah, so make sure to bringyour ear plugs so that you don't
bother the guy next toyou, because he's already
heard Gangnam Style.
All right so berespectful of those guys.
So here's our introduction.
My name is Maxwell Mann, I'llbe your lecturer for the next 10
days.
It actually is minus 4 daysbecause of various things.
So it's like thenext two weeks, you
can come here at thistime-- or slightly earlier,
so you can hear a lousyjoke --you can come here,
and you can hear metalk about the game,
and hear what thedevs think about what
you might need to know.
And then you can eatfood at 6:00 PM, when
we have massivequantities of food coming,
and then from 6:00 to7:00, you have the option
of staying for the lab session,which has been described,
in anticipation,as a social utopia.
And I really believethat it could be one,
because everybody here has,sort of, some similar interests.
So to introduceus, we developers,
are students, oralums, who have worked
on developing Battlecode.
I'm Max.
Sitting here in thefront is Aaron Epstein
and Steven Valdez.
You'll be using them for help,all the time, if you need it,
or just to bother thembecause you feel like it.
They're here forno other reason,
and to maintain the code baseand these kinds of things.
The website is battlecode.organd we have a forum there,
where you couldalso go to get help.
And I also,particularly, would like
to direct your attentionto the IRC channel.
It's #battlecode on Freenode.
So I don't know ifyou know what that is,
but it's basicallya way that you
can talk to us ona real time chat.
So you can do that at prettymuch any hour of the day,
because the waywe're setting it up
this year is we'll allbe available, pretty
much the whole time.
OK, make sure that ifyou are an MIT student,
and you want creditfor this class--
it's a six creditclass --you just
have to sign up onWebSIS for 6.S187.
How many people have signedup on WebSIS already?
All right, that'slike everybody.
Let's talk about thegoals of the competition.
What is a game?
What are we doing?
I'm sure a lot of you arethinking all right, well, here
we go.
I've got finalstomorrow but I have
to decide what IAPclasses to take.
Gosh, this is a terriblecombination of deadlines.
Then you thought,should I take--
should I to do battle code?
Should I do one of these otherthings, like web programming,
or game programming?
What is the operatingsystems whatshumadoosits?
Should I do this or that?
And you're probably thinkingto yourself, what is fun?
What is valuable for me?
What am I going to learn?
And we ask ourselvesthe same question.
A couple monthsbefore then was, what
do we want the Battlecodecompetition to be like?
And what we endedup deciding, was
that the game needsto be fun and it
needs to contain classicbattle code areas of challenge
in artificial intelligence.
So this is a game thatis a cross-- we've always
said in the past thatit is not StarCraft
--but it is a cross betweena real-time strategy
game and an AIprogramming competition.
So what we wanted was thegame to be easy to learn,
but hard to master.
So what you'll see when Idescribe the game specs--
and I'm going into it justmomentarily --when I describe
game specs you'll see waysto play the game, and then
ways to excel at the game.
So it's like you've gotthis infinite ramp, that you
can run wild on, ofhow much effort you
want to put intodeveloping the best player.
Or better yet, becausewhat is the best?
It's comparative.
That's comparingto somebody else.
But that's kind of irrelevant.
What you want is to have fun.
Anyway, you know that.
So there we go.
Our idea was to nothave sort of skill caps
and limiting factors,like maps that are just
covered in maze soyou can't do anything
unless you can getpast that maze.
Like, OK, you didn'tpass the test,
I hope you enjoyyour starting area.
No, no.
So not that.
So let me show the game.
How many of you haveseen Battlecode before?
A show of hands.
So that's a good number,but it's not everybody.
So I'm going to show you a game.
So this is whenyou've made your code
and you've put itinto the client,
you can run a gamelike this, and we'll
go over how to do that.
And I'll just hitplay here, and you'll
see the red teamin the upper left,
and the blue teamin the bottom right,
playing a game ofBattlecode for this year.
The player on theupper left, in red,
is placing mines,and capturing bases.
His soldiers are moving aroundand fighting with one another.
Fighting the enemy, hopefully.
And the blue player,here at the bottom right,
is just sort ofshooting his guys off
to die at the enemy army.
On the left you'llsee indicators
of various game constantsand values that are changing.
If I pause thisfor a second, you
can see by clickingon any robot,
you can see his ID number,what robot type it is.
You can see his hitpoint level, which
we have characteristically hada very difficult to remember
name for.
We always have different namesfor their energy and their head
points this year it's going tobe, "energon," for hit points.
I think this flux number isactually no longer relevant,
and you can ignore it.
[AUDIENCE LAUGHTER]
PROFESSOR: See,we worked so hard
on making thispolished and perfect,
that we weren't finisheduntil-- actually we're
not finished yet, they'restill fussing with something.
[AUDIENCE LAUGHTER]
PROFESSOR: Thebytecodes used is going
to be a key factor that you'regoing to look at so that you
can determine how muchcomputational energy
those robots are spending.
This year, there'sa very big impact
on the efficiency of yourcode, and the performance
of your player.
If you have efficient code, youcould have twice as many robots
on the field thenyou can sustain
if your code is inefficient.
Because the actualcomputational cost
is recorded, andis then implemented
into the upkeep of each unit.
Finally, you'll see thelocation of the unit, and three
indicator strings that you canuse for debugging and control
purposes.
So what we'll do today is talkabout what kinds of things
are on this map, and how that'sdifferent and amazingly great,
and how this year's new gameplaywill be even more fun than it
ever has been.
And I can say thatwith some confidence,
because it's quite differentand demonstrably better.
Yes.
So what we think ofas skill areas, areas
that make a fungame for Battlecode,
are, navigation-- but notthat you so much require
it --see, in this example,they didn't really
need any complex mazesolving algorithms.
What they were just doing, isthere are these neutral mines
that are here, and youcould either walk around
the neutral minefield,or you could just
clear yourselfright on through it.
So there's navigation,but you don't necessarily
have to do it.
[AUDIENCE LAUGHTER]
PROFESSOR: There'sgroup pathing--
and that's a good pointbecause, you know,
OK, anybody can take oneunit and after enough time,
figure out how to implementany of the existing pathing
algorithms.
But let's say you'vegot multiple units.
They start to get inone another's way.
Let me give an examplethat's very concrete,
and that hits reallyclose to home, for me.
I did this all the time--I've done Battlecode,
I guess, like four years now.
And so what I'd alwayshave is, I'm here,
and I want to go to icecream-- something desirable
--and I'm trying toget past this wall.
So I go here, but then all myfriends take up all this space
because they'regoing the same way.
And then I'm trying toturn around, and go back,
and they're trying togo this way because they
think it's closerto the ice cream.
And we just end up hereall day, and then the enemy
comes by and shoots us.
And then we've gotholes in ourselves,
how are we going tomaintain that stomach
area to keep the ice cream in?
It's just not going to work.
So we like navigation,we like group pathing.
We like messaging.
This year, the messagingsystem is totally new.
In the past, whatyou'd need is--
I'm going to goback to the screen
here --is yourrobot would only be
able to see a certainarea around himself.
And so every otherrobot would not
know what's going on, on thewhole map, except by messaging.
But even then, they wouldhave to receive messages
that are broadcastwithin a certain range.
So you end up having to makethese chains where you'd
say, all right,I've got, let's see,
Joe, and James, and Jalopy.
They're all in line, and thesethree robots are in line,
and they each havesome broadcast radius.
And so maybe I can, sortof, set up a relay chain,
and they're broadcasting back.
And that was how you usedto communicate information
about where the enemy is.
So here's the ice cream,here, and here's me.
And I would have to hearit from these four guys.
But that would end upbeing a lot of work
for me to implement.
And we like that, wethink that's really cool.
But at the same timeit ended up meaning
that if the icecream were an enemy,
and I needed to scoutthat the enemy were coming
with some rush, thatwhat would often happen
is that there wouldn'tbe a chain established.
Because this kind ofstuff's kind of hard do.
So this guy would see the enemyright here-- and here's me,
back here, I'm justminding my own business.
Maybe I'm building a staircase,which we did in one year.
Or some other very usefulexpenditure of effort and time.
So this guy sees the enemyand I don't know about it,
I can't prepareuntil he comes back.
OK, so then he comes backto within broadcast range--
he's here --but by thenthe enemy is right there.
I can't do anything.
So what we've donethis year, is we've
said all right, realisticallywe've got these radios, right?
Let's communicate, on theseradios, across the whole map.
So now your radio messages canbe heard across the whole map.
But, instead of being messages,like they used to be--
and these messageswere kind of annoying,
they were these constructsthat you had to assemble.
You'd say, oh, I'mmaking a new message
and I'm applyingthese parts to it.
And not every messagehas every type of part.
And not every part asevery type of message.
And every time Ireceive a message
I can receive aninfinity of messages.
And then my robotexplodes because he's
being overloaded with messages.
That's like spam, happensa lot, it happens to me.
So what we get instead,is we said, all right,
we've got a uniformmessage channel.
We've got 10,000 channels.
And any robot canpost an integer
to any one of thosechannels, at any time.
So then my robot could beposting-- maybe my code
is using frequency 567.
And I'll be communicating onthat frequency specifically
where I'm going, or whatdirection I'm going,
or something like that.
And everybody onmy team can see it.
So that's a really usefulsort of centralizing feature.
So if the enemy iscoming, I can just
look on integer number 567, andif the enemy is coming, maybe
that's a flag,maybe I make that, I
guess, 666 becausethat's really bad.
Right?
So I make that my token forenemy is coming, and then bing,
everybody can start preparingfor the enemy coming.
But there's more,I mean, let's say
you're going to metagame them.
You're going to think about whatcould happen from a high level.
Like when would theenemy just invade?
When would they attack me?
I mean, I don't have to see themcoming to know that they will.
For example, maybe themap is really small.
So this year, you cantell how big the map is.
I mean, how does it make sense--this happened again and again
in previous years --howdoes it make sense
to have a game, where playersare expected to operate
intelligently, in theabsence of information.
OK, I understand that sometimesa little bit of uncertainty
can be great.
Like how great pokerbe if everybody
knows what everybodyelse's hand is?
That would bereally lousy, right?
But here, we just hadalmost no information,
so you'd havebuild-order losses.
This is sort of a big problem,in my eyes, with StarCraft.
Which is that you'd startwith a strategy that
could lose before you have anyinformation on how to fix that.
So at least in StarCraftyou know how big the map is.
So here we're giving themthe following centralized
information.
So here's what I'll do.
I'm going to list out thecentralized information
that you can use, thatyou didn't really used
to have access to.
Now you might ask, all rightI'm not going to memorize this,
and I'm not takingnotes-- even though I
did bring a thingamabober, whichis a computer, or a notebook.
You might say, I'm notgoing to memorize this,
I'm not interested,I'm here to have fun.
Well look here, you canlook in the Java docs
and you can see all ofthe robot abilities.
They're listed inthis giant list here,
and you'll have timeto peruse those.
And we'll sort of goover them over the course
of the few lectures.
But having them sortof in a condensed form
or organized intotopics, like what
is centralized information?
You know, whatinformation can I use?
Ends up probably beinga bit of a convenience.
So I have a couple of convenientorganizations of data.
And that's really allI'm here for is just--
you can get all this informationin our documentation,
which we'll supply you whenwe help you set up the game.
And/or you can sort of hearit from me, where I've got it
sort of organized into aslightly different way.
The centralizedinfo that you get
includes, you can sense thepositions of all allied robots.
So there's a function, andagain, we have very good naming
conventions so that allof the names that we pick
let you know exactlywhat we're referring to.
And for this function we callit-- it's a method called,
"Sense Nearby Game Objects."
And that's great becauseit can detect game objects
across the map, anywhere,they don't have to be nearby.
So that that's really nice.
And it senses these things,which of course, you
would want to sense.
They're objects!
You know, I was playing chessthe other day with my friend
Rick, and I saidto him, you know
what I could use moreof is game objects.
I can sense all ofyour game objects.
And he didn't get it.
[AUDIENCE LAUGHTER]
PROFESSOR: So SenseNearby Game Objects
is an overloadedfunction, which means
that you can call itwith multiple arguments.
And that really does help you.
So the point is, thisis a global function,
because you can see any gameobject if that game object is
of a certain type.
So all of your alliedrobots you can see.
Let's go back to our example,let's say that I am back here,
that's me, overhere at the bottom.
And this guy upat the top, I can
see where he is back from here.
But my sight range isactually only here.
So I've got differentdetection abilities.
Allied robots, alliedmines, and neutral mines,
are all visible nomatter where you are,
but enemy robots are onlyvisible within your sight
radius.
But it's within anyallied robot site radius.
It's harder to explainthan it is to think about.
In this picture, thisrobot can see these guys,
because he's really close.
But this guy can also see them,because this robot is nearby.
Right, that's prettystraightforward.
One person was noddingbut he was also yawning,
so he may have been nodding off.
No, I'm only joking.
Yeah, zing!
[AUDIENCE LAUGHTER]
PROFESSOR: SenseNearby Game Objects
is a kind of usefulthing to be able to do,
but it's not alwaysobvious how to use it.
So, later on, I'llbe talking about how
one of the inputs tothis is what type of game
object you want.
I still haven't-- I've beensaying game object over
and over, but none of youcare about game objects.
You care aboutenemy robots, I want
to shoot at the enemy robots.
So you would end up writing,oh, I want a robot please.
So you tell it, give me gameobjects of type Robot.class.
And you would say,all right, this
is getting kind of confusing.
I'm feeling a littlebit overwhelmed.
Well don't you worry about it,because here in the Java Docs,
under package-- and you mightnotice that this is the Java
docs version 7,for Java version 7.
It's real sleek.
We're distributing thisat absolutely no cost.
Yeah.
Let's see here, oh, look!
It's game object.
There it is.
And oh, look, subinterfacesinclude encampments and robots.
Well that's great, thatanswers my question.
So now I know that I can putRobot.class or Encampment.class
and it will give me thattype of game object.
Yeah.
Yeah!
All right.
[LAUGHS]
So that's a piece ofcentralized information.
Another piece ofcentralized info--
so we've talked abouthow it's allied robots.
There's allied mines.
I'll talk about the mines andhow you can lay them and defuse
them, and how you get thesethings onto the game board.
Allied robots, allied mines.
You've got the radio system,which is entirely global.
And that means that you candisrupt somebody else's radio
program.
I have a hunch that there areseveral people out there who
would broadcast random numbersto my favorite channel, 567,
and it would justtotally ruin my player.
I wouldn't be ableto work at all.
Now, in order to limitthis sort of-- there's sort
of a back and forthbetween sending messages
that you want to send,receiving the messages
with a certain amount of,sort of, redundancy in there,
so you can be safeagainst message jamming,
versus actual jamming itself.
How do we assess the balanceof these competing objectives?
Well we've got a costassociated with everything.
There's no free lunch.
Except dinner for Battlecode.
And that is actually free.
We ordered so muchpizza for today.
Now I'm sure not many of youordered that much pizza before.
But let me tellyou that I expected
that-- there's like 120people here in the room,
and we thought how muchpizza does everybody eat?
Well unfortunately Battlecodeis a male dominated class.
So we'll have slightlymore pizza consumption
than otherwise.
Is that sexist?
And so--
[AUDIENCE LAUGHTER]
PROFESSOR: So we decidedto get 50 pizzas.
And we were like, wellwhat's awesome pizza?
We like Bertucci's.
You guys don't like Bertucci's.
Yeah!
He likes Bertucci's.
Yeah, so that waslike $20 a pizza.
So it was like $1000 for pizza.
[AUDIENCE LAUGHTER]
PROFESSOR: My goodness.
Well anyway, it's goingto be really good.
And it's coming inlike a half an hour.
That's fantastic-- I've totallylost my train of thought.
[AUDIENCE LAUGHTER]
PROFESSOR: Right I was
AUDIENCE: --message him.
PROFESSOR: Yeah.
I was saying that there'sno free lunch, and as such,
we have a bytecode cost.
Now, I think in the past it'snot been that obvious to me
what the cost of doing acertain computation is.
Can I jam the enemy?
Is that really going to work, oram I going to run out of money?
Is a question you could ask.
So here, in the--let's see here,
I have a place where Ihave installed Battlecode.
And you're going todo something just
like this, where you'll havethat Battlecode-- that's OK,
he had to go to the bathroom.
Don't worry about him.
[AUDIENCE LAUGHTER]
PROFESSOR: Well it's areasonable supposition,
he is human, isn't he?
All right, and so here, inthe Battlecode directory
where I've installedBattlecode, there's
going to be a text filethat's called method costs.
Bingo.
All right now itlooks disorganized
because everything-- thestrings are different lengths.
But each string representsa function that you can use.
Like for example attack square.
Or maybe broadcast a message.
Ah, that was the onewe were interested in.
OK, let's look at that.
Broadcast costs 25 bytecodes.
All right, let's do a littlebit of math-- arithmetic,
it's not math, is it?
25 bytecodes, all right?
There are 10,000 strings,which I wrote and erased.
10,000 places towrite a message to.
There are 25 bytecodesto broadcast a message.
OK, so that means that Ican broadcast 400 messages.
Is that right?
Is that this number divided bythat number equals that number?
Is that-- Yeah, yeah.
Yeah, let's go with it.
Yeah, let's go with that.
So you have 400.
No, but maybe you have more ofyour robots jamming signals.
OK, how many robotscan you have?
All right, let's dothat computation.
I'm pretending that I'm you,and that I'm just like-- OK
I'm not doing a verygood impersonation.
I recognize that.
You'd be much faster at this.
So you would want to findout how many robots you
can sustain.
Can I get somebody tosuggest one way to figure out
that number?
Yes!
You, you, you.
Ah yes you could make aplayer and just spawn robots
until they start dying.
Let's say you wanted todo it in a different way.
[AUDIENCE LAUGHTER]
PROFESSOR: I havethe example here.
What is It?
Game constants, there we are.
So here I'm lookingat the Java docs,
and I can clickon game constants.
I'm looking at adifferent version of it
that didn't actually show thegame constants in the game
constants page.
But that's because weare well organized.
And this is to show that we'reindomitable, indefatigable,
as it were.
These constant valuesindicate, here,
that your headquartersis capable of producing
quite a few resources.
This shows that it produces50 resources per turn.
This resourceproduction enables you
to have an upkeep of robots.
So in the past, we've hadnames like flux, and so on.
This year, the namefor it is power.
That's tough though becausewe have time as well.
And as you well know powertimes time is energy.
And so now we haveenergon and energy,
which is a multiple or acalculated quantity from power.
But don't you worrytoo much about it.
It's just a number.
And the usage of thisresource, or power, by robots,
is displayed in unit upkeep.
Which here, iswritten incorrectly.
I'm going to bebring up the most
recent version of this document.
What's nice is that youguys will get one version,
and then you'll have oneversion on your computer
and not, like, 16.
And your one versionwill be up to date.
And when you want toupdate it, the client
will automatically tellyou that it needs updating.
So you'll just havethe one version,
and you won't havedisaster area.
Yeah, constant value.
So this is the morerecently updated one.
And you can see here theunit power upkeep is one.
All right, fantastic.
We're ready to do a computation.
So I'm going toput here 40 divided
by-- so this is theamount of energy,
or the amount ofpower, that's produced
per turn by yourheadquarters divided
by the usage of that power.
Now you're going to say,all right, I'm bored.
I can do this in my head.
Well maybe you can but someof us can't, all right?
No, so that would be the number.
But that would say that thenumber of robots you get
is independent of howmuch work they're doing.
And that doesn't make any sense.
You should get tohave more robots
if you're doingless computation.
So here you can see,there is a cost.
Power cost perbytecode, which is here.
And it's 10 to the minus 4.
So let's say that I'musing-- 10 to the minus 4
times the number bytecodes.
Well, if I'm using zerobyte codes, then I get 40.
Because that would be 1 plus 0.
And 40 over one is 40.
OK and if I wereusing 10,000, which
is also known as 10 to the 4.
Then I would get 20.
Wow, what a big difference.
So that tells you that ifyou want to go ahead and spam
the message system--let's say you're spamming,
so you're using all ofyour bytecodes possible,
and you have 20 robots.
So 20 robots are spamming 400message integers per turn.
So you're doing nothingbut spamming the messages.
And you're getting eight,zero, zero, ze-- Oh, ahh, ahh.
Oh, it's not even enough.
It's not enough.
Well, so that shows thatyou could jam the enemy.
And maybe you should, if you'vegot nothing better to do,
if you derive a personalsatisfaction from it.
But this is worth saying.
These kinds of calculationsare important for strategy.
But don't make themtotally fixed in stone.
Because we changethe game, we tweak
it a little bit for balance.
So if it ends up being that10,000 is just so much radio
space that we just wouldrather not have it,
then it could just getknocked down to 1000.
And then all of a suddenyour player, which
depends on this or thatmessaging construct,
may have to besomewhat rethought.
So this is a good time totalk about the organization
of the competition.
Is it?
I think it is.
Let's go to theBattlecode website.
And let me show you something.
I don't know I knewthat you could do this.
But previous yearswe've had like a list.
And it'll be intext form, and it'll
say on this date we have thiscompetition, and this one.
And then you have toopen up a window of this.
And then every singleone of you opens up
another window withGmail or Google Calendar.
And then you like manually enterin the-- do you not do that?
Who has to do that wheneveryou have a competition,
you want to knowwhen things are?
Yeah, yeah there'slike two people who
also have to do that.
So I figured, in light of savingthose two people some effort,
we made this Google Calendar.
And you could see, here'stoday's classroom session,
here in 1-190 from5:00 to 6:00 PM.
And it's got thelab written there.
So the specs and software arereleased, as of 37 minutes ago,
roughly speaking.
And what we'lldo, after this, is
we'll talk abouthow to set it up.
So there you go, specsand software are released.
The sprint tournamentis on the 14th.
And what that means is youcan submit a player for that,
and you can be entered for arelatively small prize pool.
Relatively small,the actual prize
pool for the finalsis I think $50,000.
So relatively smallis just some fraction
of that which isstill non-negligible.
Anyway, so that's going to bereally exciting because that
will give you the opportunityto test your code out
to see what other playersare doing, because to
some extent winningis going to be
related to what other people do.
But more importantly,having fun is
related to what otherpeople do, and talking
to the other people.
Like this social utopia ofmine, the idea of this lab,
is totally new-- as wellas the Google Calendar
--to try to make things moreeasy and fun and together,
among us as Battlecoders.
Because we do allshare that common link.
Yes.
So the point isthat if you didn't
know you could dothis, what you do
is you go to-- if you want toadd this to your own calendar,
there's like a button whereyou can go and do that.
I think the button isn'tavailable because-- Yeah,
there.
There?
At the bottom.
At the bottom?
Yeah, there you go.
And then you justadd it right in,
so I've already got it here,in my personal calendar.
And there you go, soyou can see that I'm
having lunch on the 24th.
And OK, so you get the idea.
So the sprint tournamentis-- the submission deadline,
you can see here,is on the 14th.
On the 16th, on thatWednesday, in class,
we'll show some of the gamesfrom the sprint tournament.
I don't think we'llshow all of them.
See because what used to happen,is we would show all the games.
And there's like 100 teams.
And that ends up beinga relatively large size
round-robin bracket with, Ithink, double elimination.
So it's a ton of games.
I think it generallytakes like five hours.
But it ends up bumping up tosix, seven, or eight hours
because we end upshowing up there,
and the tournament code thatsets it all up doesn't work.
And so it takes forever.
So we're going todo this year is
we'll just sort todistill it down,
we'll have somethingsimple to show
that's fantastic andexciting on the Wednesday.
And in the future, when wehave our later-- our seating
tournament, which is sortof the same kind of thing,
but it's more important, becauseit determines your positioning
for the final tournament.
When we have thisseating tournament,
we're going to livestream it on the internet,
so that you don'teven have to-- I mean,
you guys all trekked outhere in the dead of night
and 5:00 or 6:00 PMin the freezing cold.
I mean there could be people outthere dying because they tried
to make it here andthey didn't make it.
That would be horrible, that'snot something to laugh at.
So you came allthe way out here,
but we don't want to make youhave to do that much work.
Because we want you to have fun.
So there you go.
We've got a calendar tosave you that effort.
We have lab sessions to saveyou the effort of trying
to make friends, andwe'll have live streams
in the future, which willmake that much better.
So as you can see here, itsays the seating tournament
submission deadlineis on the 21st.
And the seating tournamentwill be on the 22nd.
So what that does, is it getsyou your position in the finals
tournament.
The finals submissiondeadline is different, though.
So you can continuallyupdate your player.
My point is that youonly have three weeks.
It's the 7th today.
And the finals submissiondeadline is the 28th.
You have three weeks tomake an amazing player.
And each week, you'llhave the chance
to-- you could uploadyour player at any time,
you can do scrimmage matcheswith other players at any time.
And then finally, you'll beable to submit to the finals.
I mean, I don't think it'sworth getting too hyped up
about this final thing becauseafter all, in my experience,
game changes at the last minutescrew you over at the finals,
and ends up being a crap shoot.
No, no, I exaggerate.
But the point is, the funshould be had as you go.
And I am here to help with that.
So what you need--so just one more
thing about thisadministration is
that I think that it's requiredthat you upload a resume,
and that you be an MIT studentif you want to earn-- no,
that's not right.
We have internationalcompetitors, this year.
We have sort of a thing going onwith the University of Sussex.
If you have friendsat other universities,
they can feel free to join you.
And they don't haveto be MIT students
to either play or win money.
And if they're inHonolulu, or Alaska,
we'll fly them inhere for the finals
because we expect the finaliststo show up at this dinner
that we have at the Hyatt.
We have this fantasticallylavish dinner.
I think we paidlike $5,000 for it.
Aaron, could youcome up here and show
what the sponsorsare by just turning
your back to the audience?
No, actually there's abutton here, I can do that.
AUDIENCE: [INAUDIBLE]
PROFESSOR: Yeah,that's a good point.
OK, so here are our sponsors.
We have these fancy companyreps show up at this dinner.
So if you're amongthe finalists,
then you show up atthe fancy reps dinner
and they offer youjobs and stuff.
It's apparently verynice, I've never been.
AUDIENCE: [AUDIENCE LAUGHTER]
Yeah, that's because I was busy.
Yeah, that's why.
Yeah, that's why.
That's why.
No.
So these are someof the sponsors.
Our main sponsorsand some other ones.
And you'll get a chance to meetthem, as well, at the finals.
So you don't have to be the bestof the best by whatever stupid
metric we come up with.
What you have tobe is-- anybody who
does Battlecode is an attractiveperson to these employers who
will meet you and giveyou business cards.
And it'll be a goodtime for everyone.
And so in that noteyou have, once again,
on the calendar page, the finalsare on the 2nd of February.
So that'll be when thathappens and it'll be in 26-100.
It'll be a blast, and youshould be looking forward
to that very much.
I feel like I'vejust been droning on,
ranting about what I don'tlike about StarCraft.
And I haven't talked enoughabout the things that
are related togameplay this year.
This year, youhave these robots.
It's astounding to me, that I--Oh, is that why it didn't work?
Because I was using thisone instead of this one,
and I meant to usethis main client?
Yeah, that's the one.
OK, yeah.
This was the point I wastrying to make earlier.
Where I was going totake compute time bot,
playing against computetime bot, on this map.
This is sort of howto do it, but it'll
be done a littlebit differently.
And so the goal here is to seehow many robots can be built.
But this guy-- Ah!
I think team A andB got switched.
So what I'll do is I'll justbriefly switch around the code.
So this is sort of thestructure of a robot controller.
What happens is this code isrun on each robot on your team,
and that's what plays the game.
I'm sure most of youknow that already.
And so what I'll do is I'lljust check that the team is B.
So I can switch the team,hit Save, run it again.
Well it doesn'twork as well as I
was expecting becausethese guys are just
dying when they gothrough the minefield.
That's interesting.
[AUDIENCE LAUGHTER]
PROFESSOR: You know, you canmake your own maps in this.
This is a really goodexample of debugging.
And you can say thatI did this on purpose.
Although if you have astrict adherence to honesty,
you might not.
So the maps are located where?
You're looking at what, here?
So you'll have a directorywhere you can see your maps.
And you'll be alsoable to see them here.
So here's simple.
And what if I wantto edit this map.
Can I do that?
Can I just double click it?
It's an XML document.
Oh, look.
Is it?
Oh, data, OK.
Here's some data.
I'm beginning to getto the part-- see,
this would be reallyeasy if I could just
do edit with notepad.
AUDIENCE: --source at the bottom
PROFESSOR: Source!
No.
AUDIENCE: [INAUDIBLE]
PROFESSOR: Tab.
AUDIENCE: No, down.
PROFESSOR: Down?
Down.
AUDIENCE: Where design is.
PROFESSOR: Oh!
Bingo.
All right!
Yeah, thank you.
So then, you cansee that I can make
my own maps using these codes.
So the character "3"indicates a neutral mine.
So I can just do like a findreplace, were I'll replace "3"
with ".", which isan open terrain.
I'll just do replace all.
And then I'll justmake sure to change
this one or else thewhole map would be mines.
I'm sure two of you thoughtthat I wouldn't do that,
but I assure you that I'moperating at full capacity.
All right, so this is anexample where you can see I've
just built bunch of robots.
And you can see thatthis is my power.
Your power storedin a reserve bank.
And what I'm going to dois suddenly at round 1,000,
I'm going to startcomputing a lot.
So right now you cansee that this robot
is using 38 bytecodes.
Not very many.
If you're amazingat counting you'll
see that thereare about 40 here.
And the new robots-- oh, boom!
Look at that.
The new robots died because theydon't have enough-- these guys
don't have enough compute-- theydon't have enough power to run.
So they lose hit pointsuntil they're dead.
And then if they allstart using code,
boom, when we cut downto half the number.
And so you couldsee quite visually
the effect of using 10,000bytecodes versus using
no bytecodes at all.
So from here, down to there.
Bang.
This power quantity can beaffected by various things.
So there are some equations thatI could show for what that is.
But maybe I've just gonea bit far field here
because I've been talkingabout some details.
Here's the generaloverview, right?
You don't really need toomany of the specifics,
because all you've gotto do is find the enemy.
And there's a functionthat does that.
Oh, look at that, I'll justadd that to the global list.
There's, "Sense EnemyHeadquarters," bingo.
Done.
If you were interested ina little bit of masochism,
coding masochism, and justdoing something the hard way,
you could do that.
Because what we'vealso provided,
is the dimensionsof the map, and you
know that the upper leftcorner of the map is 0,0.
So with a symmetryoperation you could say,
my headquarters is here.
The map size is this.
My location is here.
Therefore, the enemy mustbe at this other location.
So more than one way to skina cat, as the case may be.
So you locate the enemy,and all you have to do
is walk up to him.
Because this year attackinghappens automatically
for soldiers.
So right now there isn'tany fighting going on.
But I'll show anexample that will
show that all they've got todo is go near one another,
and then their attackpower is distributed
among all of therobots they can see.
So this is some oldcode that we were
writing when we weretesting the game.
And what you'llfind is that when
robots come closeto one another,
they make these circles thatindicate their attack range.
So they're attacking-- thisguy is distributing his attack
among this one and that one.
Similarly, this one isdistributing among these three.
So his attack power inthis version of the game
was different.
But right now I believethe attack power is six.
So he would be dealing twodamage to each of these.
What you also see inthis picture, which
I believe is quite instructive,is the shield robots.
Yeah, any robot that's standingnext to this shields robot
will be given thisadditional shields parameter.
And so you can see it herein the user interface.
There's a green barindicating health,
and a blue barindicating shields.
In the latest implementationof Battlecode,
shields serve asa protection only
against a certain type ofencampment that can be built.
So is these encampmentswork in the following way.
You start with justa headquarters,
and that producesthese soldiers.
So you can produce a soldierat any tile around you,
if that tile is unoccupied.
That soldier can then be usedto construct an encampment.
And he can construct any of anumber of types of encampment.
So I've made this nice, handy,useful Battlecode data sheet.
People from lastyear might remember
that I made sort of a handyunit sheet at that time.
But this year it's 100% moreaccurate than last year's.
That's right.
We've checked anddouble checked,
but this is the latest version.
So you can see here all ofthe different types of units.
And there's a Boolean forwhether it is an encampment,
in terms of just a description.
Although, you know, that's kindof not a fantastic description.
Because all of theseunits-- you know,
because we like tobe straightforward.
It's a realisticpreparation for your life
as a professional coder, thatthe database and documentation
you receive will containinformation opposite to the way
that things are run.
So you can see here that they'reall listed-- some of these
are listed as encampments.
But in fact they are all robots.
Yes, I believe that's correct.
They are all robots.
So the headquarters iswhat you start with.
It generates 40 power turn, andit can spawn these soldiers.
It takes 10 turnsto spawn a soldier.
Or it can research upgrades,and I'll talk about the upgrades
below, in just a minute.
The soldier has an upkeepof 1 to 2 power per turn,
depending on byte code usage.
It automaticallydistributes its attack power
among adjacent enemy units.
And it has thecapability of laying
mines, which take 25turns to lay a mine.
Defusing mines, which take5 turns, and capturing
encampments, whichtakes 50 turns.
Now you might ask,all right, where
am I getting these numbers?
I'm assembling thissort of convenient
diagram but what ifthe specs change?
You know, where doI get these numbers?
Well they're all under gameconstants under robot type
enum, or the upgradeenum, and you'll
find them all the Java docs.
Alternatively, youcould all always
ask us where they are bygoing on our IRC chat,
or talking to oneof us in person.
So you can see here they'relaying mines, defusing mines,
capturing encampments.
And in the act of capturingone of these encampments, which
is a pre-existing location onthe map, these black circles.
In the act of capturingone of those--
there's nothingmagical about it.
Because here, among therobot controller methods,
you'll find capture encampment.
And what you'll do isyou'll specify what type
of enchantmentyou want it to be.
And you might ask,what types are there?
Well, you could eitherlook at handy chart,
or you could clickhere, under robot type.
And this enum robot typewill show you the types
that you can build.
You can build artillery,generator, medbay, shields,
and supplier.
The headquarters andsoldier are different.
They're not builtfrom encampments.
I don't know if that's writtenanywhere, but I've said it,
so now you know it.
Yeah.
So that's how you're going to beable to build these units, that
are shown here.
So the medbay heals adjacentrobots, 2 hit points per turn.
You can see that's their quote,"attack power," because attack
is a lot like healing.
You know, modern surgery,you can use scalpel and such.
These are alsoconsidered weapons.
I'm sure you couldn'tbring a scalpel on a plane.
So attack is a really good wordfor healing-- a healing unit.
And if you don't believe me talkto any medicine man you know.
Shields will giveall adjacent robots
5 shield points per turn.
So if you cluster 8units around them,
then that'll go ahead and give40 shield points distributed
among them, to the extentthat 5 times 8 is 40.
The shields only protectyou from artillery, though.
They don't protect youagainst other soldiers.
Now, these robotsthat are shielded
will lose 1 shield pointper turn, as it wears off.
But there's no cap on theamount of shields they can have.
So they can have, I think,10 to the 8th shields.
Which is like a lot more thantheir total hit points of 40.
Right?
So that's effectively infinite.
The artillery is the one unitthat can shoot at a far range.
It could shoot at a range of 63.
Now we always talkabout squared ranges,
because that makes iteasier to do comparisons
without having totake a square root.
Although I guess if wedid give you ranges,
and not squared ranges, youcould just square it and then
compare it to the range thatyou had just calculated.
this way works really well.
So what I can do is I candemonstrate for you what that
looks like by openingup-- oh my goodness,
I'm almost out of time.
I can open up this stockpiling--no, that's not right.
I made it in the mapmaker program, down here.
Yeah, so this showsyou what 63 looks like.
So if you're here in the middle,you can see all of these tiles
but you can't seethe ones outside.
But its site range is only 14.
Every robot has a site rangeof 14, As you can see here,
in this document.
So the attack range is63, the site range is 14.
So, this is one ofthose cases where
you'd need scouting units thatwould know what to shoot at.
And it's really helpful that youhave this global information.
Because you don'tneed to post to radio
to tell the artillerywhat to shoot at.
Because he can alreadysee all of the unit
that your allies can see.
He can't necessarilysee the enemies,
unless your guys are nearby.
So, yes, the artillery does40 damage to the target
that it specifies, and 20splash damage to adjacent tiles.
And that does includefriendly fire,
so you've got to be carefulabout where you shoot.
The generator generates10 resources per turn.
And that resource is power.
So that's added on toyour headquarter power.
So if you build abunch of generators,
you can support more soldiers.
And finally, thesupplier will reduce
the build time forsoldiers by 5%.
And that's multiplicative.
So if you have twosuppliers, then it's
0.95 squared times 10 turns.
This year, we giveyou the opportunity
of building upgrades aswell, researching upgrades
at your headquarters.
So your headquartersis your central unit,
the goal is to defeatthe enemy headquarters.
To do that, you could justwalk your robots on over
and kill them dead.
It's not required thatyou research upgrades
and built encampments.
And that's one ofthe ways that we
make the competitionsomewhat easier to enter,
easier to getsomething that works.
But if you want toresearch upgrades,
to make a strategythat's tailored
around a certain approach,then you can get these.
The future upgradereduces your energy decay
because the waythat you hold power,
is that you can't justmass it up indefinitely.
You get a power incomefrom your headquarters,
and you spend power toupkeep your soldiers.
But we don't want that--if you have no soldiers
and you're justgetting income, we
don't want that togo up indefinitely.
So every turn thatgets multiplied
by a number that reduces it.
So the energy decay,or the loss is 20%.
But if you research fusion,the loss is only 1%.
So then you might thinkof stockpiling energy
and then spending it allat once to get a larger
burst of robots, which couldn'tbe sustained for a long time.
But then again, you onlyhave to win one second.
Finally, the-- OK, so thenthere's more upgrades.
Vision upgrade extends yoursquared vision from 10 to 32.
This should say 14, butas you know everything
is always up to date100 percent of the time.
So here's a demonstration ofwhat that would look like.
Here's 10 and here's 32.
Boom, what a big difference.
That's quite a lot more vision.
That's important becauseyou can defuse any mine
within your site range if youhave the diffusion ability.
Which is not to be confusedwith chemical diffusion, which
is something else.
Yes, this is fordefusing things,
and it is spelled correctly.
[AUDIENCE LAUGHTER]
PROFESSOR: So yeah, that extendsyour mine defusing range.
That's pretty important,but keep in mind
that you can still onlydefuse one at a time.
So you have to select whichone you're going to defuse.
And then you defuse that.
Now, it's importantto note that you
can see where-- I've said thatyou see your allied mines.
I haven't said that you cansee your neutral mines as well.
But you don't see enemy minesuntil one of your robots
has stepped on it.
So that means that you can't--I don't think you can defuse
something you can't see.
But actually I don't know,I'll have to check with that.
Because it may be thatyou could just spam
defuse on terrainthat you don't know.
And that might actually defusethings that you can't see.
At the same time, that'snot a fantastic strategy,
because defused takes 5 turns.
And during those 5turns you cannot attack.
So that leaves you--or can you attack?
I'm thinking maybeyou can attack.
[AUDIENCE LAUGHTER]
PROFESSOR: You know what, youcan't-- it's a very vulnerable
position, to bedefusing something.
Because you're concentratingon something else.
How do you going toperform as effectively
on a different task?
Pickaxe is the toolthat you really
need if you want tolay a ton of mines.
Because instead of laying justone mine, where your robot is--
I guess I'm goingto have to come up
with a system fordescribing robot--
that's sort of like a robot.
Maybe it's a Chinese character.
So that's a robot,and ordinarily he
would lay a mine here,but if you have pickaxe,
he will lay mines inall of these positions
for the same cost oflaying just one mine.
Pretty useful to have.
And it takes the same amount.
So laying a mine cost25 rounds, defusing
a mine costs five rounds.
So you could do the math.
If you have pickaxe,you could lay them
as fast as the otherteam can defuse them,
provided you can get into anopen space where you can do it.
Realistically they might beable to encroach, and get you
during that time.
And why do youwant to lay mines?
Doesn't that slow the game down?
Doesn't that meanthat things will just
move to slowly, make ita boring thing to watch?
I would say no, becauseduring that time
you could be researchingthe nuclear missile.
That's right.
That's right, weknew that it would
be interesting to watchplayers build nuclear missiles.
If you research that,you win immediately.
So--
[AUDIENCE LAUGHTER]
That's yet anotherfun way to win,
and I'm going to show you anexample of somebody attempting
to win that way.
This will only take asmuch time as it took me
the last time I tried to do it.
It's under-- golly, you won'thave nearly-- oh, it's right
here.
It must be so hard to watchme, because it's like, oh man,
he's looking right at it.
Let's see, so let'sput do nothing bot--
because that's a decentmatch for the nuke bot.
Where is he?
Is he not here?
AUDIENCE: No, he'sin the middle.
PROFESSOR: He's in the middle.
Oh, I'm looking right at him.
All right.
All right, well it's by nomeans a foregone conclusion
who wins this match.
This is an old versionof the code where
nuking took 1,000 turnsinstead of 400 turns.
But that's not to say thatthe red team will necessarily
win on turn 1,000.
Oh wait.
It could only take 400turns wait a minute.
Oh, that's 1,000 andthis was-- OK yeah, hey!
It happened.
There you go.
So yeah, the nuclearmissile has-- I mean,
it's not a veryimpressive graphic.
[AUDIENCE LAUGHTER]
PROFESSOR: It'stechnically the same one
we use for everyother explosion.
[AUDIENCE LAUGHTER]
PROFESSOR: But I think whatwe'll do is for the finals,
we've got a newmatch visualizer.
So this was an oldversion of the code,
because of course I wouldn'tshow you something up to date.
That would be that helpyou instead of hinder you.
And what we're trying to dois train you to be amazing.
And it's working, I swear.
So what I'll do is I'll showthis version of it, which
is great, because it showsthe thing researching.
All right, well laterversions of the client
that you're goingto receive will
show what things are researchingin the client window.
And I think it really wouldnot be in an excessive--
the pizza should bearriving any moment,
so I know that thegurgling of your stomachs
is totally reasonable andwill be resolved imminently.
If I run this version,then I think-- let's see,
is there-- so let's put donothing against the nuke guy.
Is the nuke guy still there?
He is, OK.
So this version ofthe map viewer shows
researches that are going on.
Yeah.
And you can see he's researchingpickaxe, diffusion, sight
range, the fusionthing that reduces
the amount of energy loss.
He's researching everything.
And whereas the other donothing guy-- you know,
you could describehim as a pacifist.
The philosophy thathe is developing,
using three bytecodes perround, may change the world.
So I see no reason to hateon his choice of vocation.
I would definitely not--yeah, no, definitely.
OK.
So you can see here thatnuke is researching.
So in a tournamentscenario we could all
start getting excitedand going ohhhhh!
What's going to happen?
Is it going to be close?
And that sort of thing.
I mean of course atthe end it's going
to be a bit of ananti-climax because it's
going to show alittle puff ball,
like somebody madepopcorn on one tile.
But we'll be able to overcomethat because we can just
switch to YouTubeand show a clip
of some giant nuclear test.
All right, that's allI have for you now.
I mean to say thatwe're going to show
you a whole bunch of things.
You can get up and go,I know a lot of you
have appointments with veryattractive young women and men.
And that's totally OK.
But I recommend that youstick around, eat some pizza,
hear about how toset up Battlecode.
And know that we will haveour developer testing code up.
The team name, here onthe Battlecode website.
You can see here, team list.
We just made a team that you canuse to test your code against.
That's down here at the bottom.
It's test, somewhere.
Yeah, Teh DevsTest, there you go.
Did you guys make this manyteams in the last 2 seconds?
You must have.
You know, it'simportant to multitask.
Yeah, so you canupload your player
and test it againstTeh Devs test player.
And that'll beavailable all the time,
and that's probablysort of your first step
on your road to success.
Thank you very much for coming,and if you have any questions
you can come to us after.
[APPLAUSE]-8mPXAsX3DY.txtAdded+1928
-IWKPe6X6Vs.txtAdded+2627
-Km2237G0P8.txtAdded+491
0su7rM_7_DM.txtAdded
12K3PlcicZE.txtAdded+2147
1R4IzkWSNgI.txtAdded+1435
1jDBM9UM9xk.txtAdded+2399
1pkoBetgo7s.txtAdded
2XraaWefBd8.txtAdded
2__KumJsGXc.txtAdded+435
2guwjwIHmGg.txtAdded+1011
2hNfJwfEvkA.txtAdded
2ieG1ka5pBw.txtAdded+3115
3SkCNpFOshk.txtAdded+2090
3cN7bSffVm4.txtAdded+411
4PlHFcfB8DA.txtAdded
4nXw-f6NJ9s.txtAdded
5a2Poe_N0sQ.txtAdded
5qTCy2wTL_s.txtAdded+2831
5wCZqdCDafc.txtAdded+1499
62FdhX-zS2Y.txtAdded
6BPDK1b3jDg.txtAdded
6HrTfI8R_9A.txtAdded+3061
6nDqY8MPLDM.txtAdded
6uLKZSoHnrc.txtAdded+1977
75PZmUc0TK0.txtAdded
79GY-hI_emE.txtAdded+659
7GF78YQz62w.txtAdded+891
7aNYj3zyVkc.txtAdded
7xJJU5HDCVE.txtAdded+1293
7y67IP6XTPc.txtAdded+4538
84LF3ze7Yvw.txtAdded
8Ji3Gkjqo5M.txtAdded
9CPA6WG6mRo.txtAdded+2950
9JhX_UNcQvE.txtAdded+2603
9Jry5-82I68.txtAdded+2497
9NChLq-orAk.txtAdded+307
9i1sOSIccgw.txtAdded+915
AvvUQjoqOUU.txtAdded
AwjT1gJSsco.txtAdded+4208
B7iFcW8USjQ.txtAdded
BLExWo9Empk.txtAdded+3633
BLb0l_K0MWM.txtAdded
BZzkyqe6KD8.txtAdded
CEbrxYGpfZY.txtAdded
D3bblng-Kcc.txtAdded
EYANqW4zwwo.txtAdded
FcNUJpbvTy8.txtAdded
FdwTROVfEPE.txtAdded
FkfsmwAtDdY.txtAdded