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)
- 0EMIK-6LUE4.txtAdded+747
- 0V-vgwcPjGQ.txtAdded
- 19Ql_Q3l0GA.txtAdded+2326
- 1Sjt9QDNDYU.txtAdded+123
- 1jLfD9ulntU.txtAdded+2761
- 2DDjHvH8d2k.txtAdded
- 2TL8rY9Rc_A.txtAdded+246
- 363JQxFwLXg.txtAdded+1363
- 3hHesQcAYXI.txtAdded
- 43kl6wi1H6k.txtAdded
- 5DdKoTFO6Bs.txtAdded
- 6GAq2w_HBUQ.txtAdded+4218
- 6LYuK8qI0_s.txtAdded+2316
- 6QRlpk8ZmPI.txtAdded
- 6Udqou3vmng.txtAdded+4263
- 6rjmzV-Wrvg.txtAdded
- 742FwwA0qKI.txtAdded
- 7WDiK3flILc.txtAdded+971
- 7dhuZ6V9tcY.txtAdded+206
- 7gLcuMtM_HY.txtAdded
- 7naSckRdOJM.txtAdded+1459
- 8-7daeS7hYY.txtAdded+1697
- 8IxHMVf3jcA.txtAdded
- 8NKsBpjXRt0.txtAdded+1699
- 8g4UudyOetE.txtAdded+1899
- 8jpO-p1YvdM.txtAdded+1379
- 8r_cJIHv3A0.txtAdded+270
- 98X2TyxXQdU.txtAdded+1531
- 9JXMg32f09w.txtAdded+1599
- 9RqFFlZgf60.txtAdded+1578
- 9TtLlVBjvR0.txtAdded
- 9eWKuWyXYKY.txtAdded+1043
- 9syvZr-9xwk.txtAdded
- 9yFkrh7-igc.txtAdded+731
- ABX-Hvn8ymE.txtAdded
- AO7F0n2Dclc.txtAdded
- Ao41FrJFgvQ.txtAdded
- B6mK4IyRYiA.txtAdded+387
- BAoaC8O3X7I.txtAdded+3240
- BTNsoSNR5B0.txtAdded+2276
- BtaVq2g17G0.txtAdded
- CMmB8KtbT1U.txtAdded
- CT9lYy6qSfg.txtAdded+852
- CZwgOqxScB4.txtAdded
- D2Jn1VrqjWI.txtAdded
- D8icilnxcy4.txtAdded
- D_EGYzqmapc.txtAdded+899
- DidA5vk0h_U.txtAdded+499
- EC6bf8JCpDQ.txtAdded+2466
- EDRa-ESxmJY.txtAdded
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747align:start position:0% now that we've calculated the change of
align:start position:0%now that we've calculated the change of
align:start position:0%now that we've calculated the change ofpotential energy between some initial
align:start position:0%potential energy between some initial
align:start position:0%potential energy between some initialand final Heights for the gravitational
align:start position:0%and final Heights for the gravitational
align:start position:0%and final Heights for the gravitationalproblem mg of Y final minus y initial
align:start position:0%problem mg of Y final minus y initial
align:start position:0%problem mg of Y final minus y initialwe've for this conservative force of
align:start position:0%we've for this conservative force of
align:start position:0%we've for this conservative force ofgravity and we had our cordinate system
align:start position:0%gravity and we had our cordinate system
align:start position:0%gravity and we had our cordinate systemlike that we were able to calculate the
align:start position:0%like that we were able to calculate the
align:start position:0%like that we were able to calculate thechange in potential energy and remember
align:start position:0%change in potential energy and remember
align:start position:0%change in potential energy and rememberour theorem is that non-conservative
align:start position:0%our theorem is that non-conservative
align:start position:0%our theorem is that non-conservativework equals Delta K plus Delta
align:start position:0%work equals Delta K plus Delta
align:start position:0%work equals Delta K plus DeltaU now what we'd like to do is establish
align:start position:0%U now what we'd like to do is establish
align:start position:0%U now what we'd like to do is establishthe concept of a reference point for
align:start position:0%the concept of a reference point for
align:start position:0%the concept of a reference point forpotential energy and we'll do that as
align:start position:0%potential energy and we'll do that as
align:start position:0%potential energy and we'll do that asfollows see the change of potential
align:start position:0%follows see the change of potential
align:start position:0%follows see the change of potentialenergy only depended on say our initial
align:start position:0%energy only depended on say our initial
align:start position:0%energy only depended on say our initialState and our final
align:start position:0%State and our final
align:start position:0%State and our finalState what we'd like to do is introduce
align:start position:0%State what we'd like to do is introduce
align:start position:0%State what we'd like to do is introducethe concept of a reference point so
align:start position:0%the concept of a reference point so
align:start position:0%the concept of a reference point solet's Identify some point YP to be our
align:start position:0%let's Identify some point YP to be our
align:start position:0%let's Identify some point YP to be ourreference point and we'll Define a
align:start position:0%reference point and we'll Define a
align:start position:0%reference point and we'll Define apotential y p to be the
align:start position:0%potential y p to be the
align:start position:0%potential y p to be thereference
align:start position:0%reference
align:start position:0%referencepotential and if we want to talk about
align:start position:0%potential and if we want to talk about
align:start position:0%potential and if we want to talk aboutthe potential energy in a final State
align:start position:0%the potential energy in a final State
align:start position:0%the potential energy in a final Statewe'll always refer it to the the
align:start position:0%we'll always refer it to the the
align:start position:0%we'll always refer it to the thedifference between that and the
align:start position:0%difference between that and the
align:start position:0%difference between that and thereference point so this is Delta U
align:start position:0%reference point so this is Delta U
align:start position:0%reference point so this is Delta Ubetween the final State and the
align:start position:0%between the final State and the
align:start position:0%between the final State and thereference point likewise for the initial
align:start position:0%reference point likewise for the initial
align:start position:0%reference point likewise for the initialState we'll always refer that with
align:start position:0%State we'll always refer that with
align:start position:0%State we'll always refer that withrespect to our reference point so any
align:start position:0%respect to our reference point so any
align:start position:0%respect to our reference point so anystate that we have we can always refer
align:start position:0%state that we have we can always refer
align:start position:0%state that we have we can always referthe potential energy difference between
align:start position:0%the potential energy difference between
align:start position:0%the potential energy difference betweensome State and some reference point why
align:start position:0%some State and some reference point why
align:start position:0%some State and some reference point whydo we do this because notice that if we
align:start position:0%do we do this because notice that if we
align:start position:0%do we do this because notice that if welook at U final minus U reference point
align:start position:0%look at U final minus U reference point
align:start position:0%look at U final minus U reference pointand we subtract from that U initial
align:start position:0%and we subtract from that U initial
align:start position:0%and we subtract from that U initialminus U reference
align:start position:0%minus U reference
align:start position:0%minus U referencepoint then the difference the reference
align:start position:0%point then the difference the reference
align:start position:0%point then the difference the referencepoints here we have a minus here we have
align:start position:0%points here we have a minus here we have
align:start position:0%points here we have a minus here we havea plus this is just equal to ufal minus
align:start position:0%a plus this is just equal to ufal minus
align:start position:0%a plus this is just equal to ufal minusU initial which is Delta
align:start position:0%U initial which is Delta
align:start position:0%U initial which is DeltaU so the change in potential energy
align:start position:0%U so the change in potential energy
align:start position:0%U so the change in potential energybetween any two states is independent of
align:start position:0%between any two states is independent of
align:start position:0%between any two states is independent ofhow we choose our reference potential
align:start position:0%how we choose our reference potential
align:start position:0%how we choose our reference potentialbut it can make calculations easier
align:start position:0%but it can make calculations easier
align:start position:0%but it can make calculations easierwhen we can identify what the potential
align:start position:0%when we can identify what the potential
align:start position:0%when we can identify what the potentialenergy is for a little State now let's
align:start position:0%energy is for a little State now let's
align:start position:0%energy is for a little State now let'slook at our
align:start position:0%look at our
align:start position:0%look at ourexample so for our gravitational problem
align:start position:0%example so for our gravitational problem
align:start position:0%example so for our gravitational problemwe will choose y reference point to be
align:start position:0%we will choose y reference point to be
align:start position:0%we will choose y reference point to bezero and we'll
align:start position:0%zero and we'll
align:start position:0%zero and we'llchoose the potential energy at this
align:start position:0%choose the potential energy at this
align:start position:0%choose the potential energy at thisreference point also to be zero so our
align:start position:0%reference point also to be zero so our
align:start position:0%reference point also to be zero so ourreference potential at the origin is
align:start position:0%reference potential at the origin is
align:start position:0%reference potential at the origin iszero and I'll denote it like
align:start position:0%zero and I'll denote it like
align:start position:0%zero and I'll denote it likethat then the potential energy at at
align:start position:0%that then the potential energy at at
align:start position:0%that then the potential energy at atsome initial State minus the reference
align:start position:0%some initial State minus the reference
align:start position:0%some initial State minus the referencepoint well we can use our formula here
align:start position:0%point well we can use our formula here
align:start position:0%point well we can use our formula herebecause this is between any two states
align:start position:0%because this is between any two states
align:start position:0%because this is between any two statesso this is
align:start position:0%so this is
align:start position:0%so this ismg y initial minus the reference point
align:start position:0%mg y initial minus the reference point
align:start position:0%mg y initial minus the reference pointbut our reference point was zero and so
align:start position:0%but our reference point was zero and so
align:start position:0%but our reference point was zero and sowe see that U initial minus y reference
align:start position:0%we see that U initial minus y reference
align:start position:0%we see that U initial minus y referencepoint which was also zero is just equal
align:start position:0%point which was also zero is just equal
align:start position:0%point which was also zero is just equalto mg
align:start position:0%to mg
align:start position:0%to mgYi and so we have the statement that the
align:start position:0%Yi and so we have the statement that the
align:start position:0%Yi and so we have the statement that thepotential energy
align:start position:0%potential energy
align:start position:0%potential energydifference between our initial State and
align:start position:0%difference between our initial State and
align:start position:0%difference between our initial State andthe reference point is just mg where Yi
align:start position:0%the reference point is just mg where Yi
align:start position:0%the reference point is just mg where Yiis the height that the initial state is
align:start position:0%is the height that the initial state is
align:start position:0%is the height that the initial state isabove the reference point in a similar
align:start position:0%above the reference point in a similar
align:start position:0%above the reference point in a similarway we have ufal is mg y final and so we
align:start position:0%way we have ufal is mg y final and so we
align:start position:0%way we have ufal is mg y final and so wesee we recover what we expect this is
align:start position:0%see we recover what we expect this is
align:start position:0%see we recover what we expect this isjust mg y final minus y initial
align:start position:0%just mg y final minus y initial
align:start position:0%just mg y final minus y initialnow this we can generalize just a little
align:start position:0%now this we can generalize just a little
align:start position:0%now this we can generalize just a littlebit by saying that for
align:start position:0%bit by saying that for
align:start position:0%bit by saying that forany for let's write that
align:start position:0%any for let's write that
align:start position:0%any for let's write thatfor a our Mass which is for any
align:start position:0%for a our Mass which is for any
align:start position:0%for a our Mass which is for anyheight y our potential energy function
align:start position:0%height y our potential energy function
align:start position:0%height y our potential energy functionfor the gravitational force U of Y is
align:start position:0%for the gravitational force U of Y is
align:start position:0%for the gravitational force U of Y isequal to
align:start position:0%equal to
align:start position:0%equal tomgy that's a formula that many of you
align:start position:0%mgy that's a formula that many of you
align:start position:0%mgy that's a formula that many of youhave seen before but it's very important
align:start position:0%have seen before but it's very important
align:start position:0%have seen before but it's very importantto note that with this formula U of 0
align:start position:0%to note that with this formula U of 0
align:start position:0%to note that with this formula U of 0equals 0 because that's our reference
align:start position:0%equals 0 because that's our reference
align:start position:0%equals 0 because that's our referencepoint and that becomes our potential
align:start position:0%point and that becomes our potential
align:start position:0%point and that becomes our potentialenergy function for the gravitational
align:start position:0%energy function for the gravitational
align:start position:0%energy function for the gravitationalforce now our next step will be to do
align:start position:0%force now our next step will be to do
align:start position:0%force now our next step will be to dothe same thing for spring forces and
align:start position:0%the same thing for spring forces and
align:start position:0%the same thing for spring forces andinverse Square gravitational forces and
align:start position:0%inverse Square gravitational forces and
align:start position:0%inverse Square gravitational forces andwe'll also look at graphical analysis of
align:start position:0%we'll also look at graphical analysis of
align:start position:0%we'll also look at graphical analysis ofthis
align:start position:0%
align:start position:0% function1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326The 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: Let us start.
So as always, we're to havea quick review of what we
discussed last time.
And then today we're goingto introduce just one new
concept, the notion ofindependence of two events.
And we will play withthat concept.
So what did we talkabout last time?
The idea is that we have anexperiment, and the experiment
has a sample space omega.
And then somebody comes andtells us you know the outcome
of the experiments happens tolie inside this particular
event B. Given this information,it kind of
changes what we know aboutthe situation.
It tells us that the outcomeis going to be somewhere
inside here.
So this is essentiallyour new sample space.
And now we need to we reassignprobabilities to the various
possible outcomes, because, forexample, these outcomes,
even if they had positiveprobability beforehand, now
that we're told that B occurred,those outcomes out
there are going to havezero probability.
So we need to reviseour probabilities.
The new probabilities arecalled conditional
probabilities, and they'redefined this way.
The conditional probability thatA occurs given that we're
told that B occurred iscalculated by this formula,
which tells us the following--
out of the total probabilitythat was initially assigned to
the event B, what fraction ofthat probability is assigned
to outcomes that alsomake A to happen?
So out of the total probabilityassigned to B, we
see what fraction of that totalprobability is assigned
to those elements here thatwill also make A happen.
Conditional probabilities areleft undefined if the
denominator here is zero.
An easy consequence of thedefinition is if we bring that
term to the other side, then wecan find the probability of
two things happening by takingthe probability that the first
thing happens, and then, giventhat the first thing happened,
the conditional probability thatthe second one happens.
Then we saw last time that wecan divide and conquer in
calculating probabilities ofmildly complicated events by
breaking it down intodifferent scenarios.
So event B can happenin two ways.
It can happen either togetherwith A, which is this
probability, or it can happentogether with A complement,
which is this probability.
So basically what we're sayingthat the total probability of
B is the probability of this,which is A intersection B,
plus the probability of that,which is A complement
intersection B.
So these two facts here,multiplication rule and the
total probability theorem, arebasic tools that one uses to
break down probabilitycalculations
into a simpler parts.
So we find probabilities oftwo things happening by
looking at each one at a time.
And this is what we do to breakup a situation with two
different possible scenarios.
Then we also havethe Bayes rule,
which does the following.
Given a model that hasconditional probabilities of
this kind, the Bayes ruleallows us to calculate
conditional probabilities inwhich the events appear in
different order.
You can think of theseprobabilities as describing a
causal model of a certainsituation, whereas these are
the probabilities that you getafter you do some inference
based on the information thatyou have available.
Now the Bayes rule, we derivedit, and it's a trivial
half-line calculation.
But it underlies lotsand lots of useful
things in the real world.
We had the radar examplelast time.
You can think of morecomplicated situations in
which there's a bunch or lots ofdifferent hypotheses about
the environment.
Given any particular setting inthe environment, you have a
measuring device thatcan produce
many different outcomes.
And you observe the finaloutcome out of your measuring
device, and you're tryingto guess which
particular branch occurred.
That is, you're trying to guessthe state of the world
based on a particularmeasurement.
That's what inferenceis all about.
So real world problems onlydiffer from the simple example
that we saw last time in thatthis kind of tree is a little
more complicated.
You might have infinitelymany possible
outcomes here and so on.
So setting up the model may bemore elaborate, but the basic
calculation that's done basedon the Bayes rule is
essentially the same asthe one that we saw.
Now something that we discussis that sometimes we use
conditional probabilities todescribe models, and let's do
this by looking at amodel where we toss
a coin three times.
And how do we use conditionalprobabilities to
describe the situation?
So we have one experiment.
But that one experiment consistsof three consecutive
coin tosses.
So the possible outcomes, oursample space, consists of
strings of length 3 that tellus whether we had heads,
tails, and in what sequence.
So three heads in a row isone particular outcome.
So what is the meaningof those labels in
front of the branches?
So this P here, of course,stands for the probability
that the first tossresulted in heads.
And let me use this notationto denote that
the first was heads.
I put an H in toss one.
How about the meaning ofthis probability here?
Well the meaning of thisprobability is
a conditional one.
It's the conditional probabilitythat the second
toss resulted in heads,given that the first
one resulted in heads.
And similarly this label herecorresponds to the probability
that the third toss resulted inheads, given that the first
one and the second oneresulted in heads.
So in this particular model thatI wrote down here, those
probabilities, P, of obtainingheads remain the same no
matter what happened inthe previous toss.
For example, even if the firsttoss was tails, we still have
the same probability, P, thatthe second one is heads, given
that the first one was tails.
So we're assuming that no matterwhat happened in the
first toss, the second toss willstill have a conditional
probability equal to P. So thatconditional probability
does not depend on what happenedin the first toss.
And we will see that this is avery special situation, and
that's really the concept ofindependence that we are going
to introduce shortly.
But before we get toindependence, let's practice
once more the three skills thatwe covered last time in
this example.
So first skill wasmultiplication rule.
How do you find theprobability of
several things happening?
That is the probability thatwe have tails followed by
heads followed by tails.
So here we're talking about thisparticular outcome here,
tails followed by headsfollowed by tails.
And the way we calculate sucha probability is by
multiplying conditionalprobabilities along the path
that takes us to this outcome.
And so these conditionalprobabilities
are recorded here.
So it's going to be (1 minus P)times P times (1 minus P).
So this is the multiplicationrule.
Second question is how do wefind the probability of a
mildly complicated event?
So the event of interest herethat I wrote down is the
probability that in thethree tosses, we had a
total of one head.
Exactly one head.
This is an event that canhappen in multiple ways.
It happens here.
It happens here.
And it also happens here.
So we want to find the totalprobability of the event
consisting of thesethree outcomes.
What do we do?
We just add the probabilitiesof each individual outcome.
How do we find the probabilityof an individual outcome?
Well, that's what we just did.
Now notice that this outcomehas probability P times (1
minus P) squared.
That one should not be there.
So where is it?
Ah.
It's this one.
OK, so the probability of thisoutcome is (1 minus P times P)
times (1 minus P), thesame probability.
And finally, this one is again(1 minus P) squared times P.
So this event of one head canhappen in three ways.
And each one of those three wayshas the same probability
of occurring.
And this is the answer.
And finally, the last thing thatwe learned how to do is
to use the Bayes rule to
calculate and make an inference.
So somebody tells you that therewas exactly one head in
your three tosses.
What is the probabilitythat the first
toss resulted in heads?
OK, I guess you can guess theanswer here if I tell you that
there were three tosses.
One of them was heads.
Where was that headin the first, the
second, or the third?
Well, by symmetry, they shouldall be equally likely.
So there should be probablyjust 1/3 that that head
occurred in the first toss.
Let's check our intuitionusing the definitions.
So the definition of conditionalprobability tells
us the conditional probabilityis the probability of both
things happening.
First toss is heads, and we haveexactly one head divided
by the probabilityof one head.
What is the probability that thefirst toss is heads, and
we have exactly one head?
This is the same as the eventheads, tails, tails.
If I tell you that the first isheads, and there's only one
head, it means that theothers are tails.
So this is the probability ofheads, tails, tails divided by
the probability of one head.
And we know all of thesequantities probability of
heads, tails, tails is P times(1 minus P) squared.
Probability of onehead is 3 times P
times (1 minus P) squared.
So the final answer is 1/3,which is what you should have
a guessed on intuitivegrounds.
Very good.
So we got our practice onthe material that we
did cover last time.
Again, think.
There's basically three basicskills that we are practicing
and exercising here.
In the problems, quizzes, and inthe real life, you may have
to apply those three skills insomewhat more complicated
settings, but in theend that's what it
boils down to usually.
Now let's focus on this specialfeature of this
particular model that Idiscussed a little earlier.
Think of the event headsin the second toss.
Initially, the probability ofheads in the second toss, you
know, that it's P, theprobability of
success of your coin.
If I tell you that the firsttoss resulted in heads, what's
the probability that thesecond toss is heads?
It's again P. If I tell you thatthe first toss was tails,
what's the probability thatthe second toss is heads?
It's again P. So whether I tellyou the result of the
first toss, or I don't tellyou, it doesn't make any
difference to you.
You would always say theprobability of heads in the
second toss is going to P, nomatter what happened in the
first toss.
This is a special situation towhich we're going to give a
name, and we're going to callthat property independence.
Basically independence betweentwo things stands for the fact
that the first thing, whetherit occurred or not, doesn't
give you any information, doesnot cause you to change your
beliefs about thesecond event.
This is the intuition.
Let's try to translate thisinto mathematics.
We have two events, and we'regoing to say that they're
independent if your initialbeliefs about B are not going
to change if I tell youthat A occurred.
So you believe somethinghow likely B is.
Then somebody comes and tellsyou, you know, A has happened.
Are you going to changeyour beliefs?
No, I'm not goingto change them.
Whenever you are in such asituation, then you say that
the two events areindependent.
Intuitively, the fact that Aoccurred does not convey any
information to you about thelikelihood of event B. The
information that A providesis not so
useful, is not relevant.
A has to do withsomething else.
It's not useful for yourguessing whether B is going to
occur or not.
So we can take this as a firstattempt into a definition of
independence.
Now remember that we have thisproperty, the probability of
two things happening is theprobability of the first times
the conditional probabilityof the second.
If we have independence, thisconditional probability is the
same as the unconditionalprobability.
So if we have independenceaccording to that definition,
we get this property that youcan find the probability of
two things happening by justmultiplying their individual
probabilities.
Probability of heads inthe first toss is 1/2.
Probability of heads in thesecond toss is 1/2.
Probability of headsheads is 1/4.
That's what happens if your twotosses are independent of
each other.
So this property here isa consequence of this
definition, but it's actuallynicer, better, simpler,
cleaner, more beautiful to takethis as our definition
instead of that one.
Are the two definitionsequivalent?
Well, they're are almost thesame, except for one thing.
Conditional probabilities areonly defined if you condition
on an event that has positiveprobability.
So this definition would belimited to cases where event A
has positive probability,whereas this definition is
something that you canwrite down always.
We will say that two events areindependent if and only if
their probability of happeningsimultaneously is equal to the
product of their two individualprobabilities.
And in particular, we can haveevents of zero probability.
There's nothing wrongwith that.
If A has 0 probability, then Aintersection B will also have
zero probability, because it'san even smaller event.
And so we're going to getzero is equal to zero.
A corollary of what I just said,if an event A has zero
probability, it's actuallyindependent of any other event
in our model, becausewe're going to get
zero is equal to zero.
And the definition is goingto be satisfied.
This is a little bit harder toreconcile with the intuition
we have about independence, butthen again, it's part of
the mathematical definition.
So what I want you to retainis this notion that the
independence is something thatyou can check formally using
this definition, but also youcan check intuitively by if,
in some cases, you can reasonthat whatever happens and
determines whether A is goingto occur or not, has nothing
absolutely to do with whateverhappens and determines whether
B is going to occur or not.
So if I'm doing a scienceexperiment in this room, and
it gets hit by some noise that'scauses randomness.
And then five years later,somebody somewhere else does
the same science experimentsomewhere else, it gets hit by
other noise, you would usuallysay that these experiments are
independent.
So what events happen in oneexperiment are not going to
change your beliefs about whatmight be happening in the
other, because the sources ofnoise in these two experiments
are completely unrelated.
They have nothing todo with each other.
So if I flip a coin here today,and I flip a coin in my
office tomorrow, one shouldn'taffect the other.
So the events that I get fromthese should be independent.
So that's usually howindependence arises.
By having distinct physical
phenomena that do not interact.
Sometimes you also getindependence even though there
is a physical interaction, butyou just happen to have a
numerical accident.
A and B might be physicallyrelated very tightly, but a
numerical accident happens andyou get equality here, that's
another case where wedo get independence.
Now suppose that we havetwo events that are
laid out like this.
Are these two eventsindependent or not?
The picture kind of tellsyou that one is
separate from the other.
But separate has nothingto do with independent.
In fact, these two events are asdependent as Siamese twins.
Why is that?
If I tell you that A occurred,then you are certain that B
did not occur.
So information about theoccurrence of A definitely
affects your beliefs about thepossible occurrence or
non-occurrence of B. When thepicture is like that, knowing
that A occurred will changedrastically my beliefs about
B, because now I suddenlybecome certain
that B did not occur.
So a picture like this is acase actually of extreme
dependence.
So don't confuse independencewith disjointness.
They're very differenttypes of properties.
AUDIENCE: Question.
PROFESSOR: Yes?
AUDIENCE: So I understandthe explanation, but the
probability of A intersect B[INAUDIBLE] to zero, because
they're disjoint.
PROFESSOR: Yes.
AUDIENCE: But then the productof probability A and
probability B, one of themis going to be 1.
[INAUDIBLE]
PROFESSOR: No, suppose thatthe probabilities are 1/3,
1/4, and the restis out there.
You check the definitionof independence.
Probability of A intersectionB is zero.
Probability of A times theprobability of B is 1/12.
The two are not equal.
Therefore we do nothave independence.
AUDIENCE: Right.
So what's wrong with theintuition of the probability
of A being 1, and theother one being 0?
[INAUDIBLE].
PROFESSOR: No.
The probability of A givenB is equal to 0.
Probability of A isequal to 1/3.
So again, these twoare different.
So we had some initial beliefsabout A, but as soon as we are
told that B occurred, ourbeliefs about A changed.
And so since our beliefschanged, that means that B
conveys information about A.
AUDIENCE: So can you not drawindependent [INAUDIBLE] on a
Venn diagram?
PROFESSOR: I can't hear you.
AUDIENCE: Can you draw
independence on a Venn diagram?
PROFESSOR: No, the Venn diagramis never enough to
decide independence.
So the typical picture in whichyou're going to have
independence would be one eventthis way, and another
event this way.
You need to take the probabilityof this times the
probability of that, and checkthat, numerically, it's equal
to the probability ofthis intersection.
So it's more thana Venn diagram.
Numbers need to comeout right.
Now we did say some time agothat conditional probabilities
are just like ordinaryprobabilities, and whatever we
do in probability theorycan also be done
in conditional universes.
Talking about conditionalprobabilities.
So since we have a notion ofindependence, then there
should be also a notion ofconditional independence.
So independence was definedby the probability that A
intersection B is equal to theprobability of A times the
probability of B.
What would be a reasonabledefinition of conditional
independence?
Conditional independence wouldmean that this same property
could be true, but in aconditional universe where we
are told that the certainevent happens.
So if we're told that the eventC has happened, then
were transported in aconditional universe where the
only thing that matters areconditional probabilities.
And this is just the same plain,previous definition of
independence, but applied ina conditional universe.
So this is the definition ofconditional independence.
So it's independence, but withreference to the conditional
probabilities.
And intuitively it has, again,the same meaning, that in the
conditional world, if I tell youthat A occurred, then that
doesn't change yourbeliefs about B.
So suppose you had apicture like this.
And somebody told you thatevents A and B are independent
unconditionally.
Then somebody comes and tellsyou that event C actually has
occurred, so we now livein this new universe.
In this new universe, is theindependence of A and B going
to be preserved or not?
Are A and B independentin this new universe?
The answer is no, because in thenew universe, whatever is
left of event A is this piece.
Whatever is left of eventB is this piece.
And these two piecesare disjoint.
So we are back in a situationof this kind.
So in the conditional
universe, A and B are disjoint.
And therefore, generically,they're not going to be
independent.
What's the moral ofthis example?
Having independence in theoriginal model does not imply
independence in a conditionalmodel.
The opposite is also possible.
And let's illustrateby another example.
So I have two coins, and bothof them are badly biased.
One coin is much biasedin favor of heads.
The other coin is much biasedin favor of tails.
So the probabilitiesbeing 90%.
Let's consider independent flipsof coin A. This is the
relevant model.
This is a model of twoindependent flips
of the first coin.
There's going to be two flips,and each one has probability
0.9 of being heads.
So that's a model that describescoin A. You can
think of this as a conditionalmodel which is a model of the
coin flips conditioned on thefact that they have chosen
coin A.
Alternatively we could bedealing with coin B In a
conditional world where wechose coin B and flip it
twice, this is therelevant model.
The probability of two heads,for example, is the
probability of heads the firsttime, heads the second time,
and each one is 0.1.
Now I'm building this into abigger experiment in which I
first start by choosing one ofthe two coins at random.
So I have these two coins.
I blindly pick one of them.
And then I startflipping them.
So the question now is, are thecoin flips, or the coin
tosses, are they independentof each other?
If we just stay inside thissub-model here, are the coin
flips independent?
They are independent, becausethe probability of heads in
the second toss is the same,0.9, no matter what happened
in the first toss.
So the conditional probabilitiesof what happens
in the second toss are notaffected by the outcome of the
first toss.
So the second toss and the firsttoss are independent.
So here we're just dealingwith plain,
independent coin flips.
Similarity the coin flips withinthis sub-model are also
independent.
Now the question is, if we lookat the big model as just
one probability model, insteadof looking at the conditional
sub-models, are the coin flipsindependent of each other?
Does the outcome of a few coinflips give you information
about subsequent coin flips?
Well if I observe tenheads in a row--
So instead of two coin flips,now let's think of doing more
of them so that the treegets expanded.
So let's start with this.
I don't know which coin it is.
What's the probability thatthe 11th coin toss
is going to be heads?
There's complete symmetry here,so the answer could not
be anything other than 1/2.
So let's justify it,why is it 1/2?
Well, the probability that the11th toss is heads, how can
that outcome happen?
It can happen in two ways.
You can choose coin A, whichhappens with probability 1/2.
And having chosen coin A,there's probability 0.9 that
it results in that you getheads in the 11th toss.
Or you can choose coin B. Andif it's coin B when you flip
it, there's probably 0.1that you have heads.
So the final answer is 1/2.
So each one of the coins isbiased, but they're biased in
different ways.
If I don't know which coin itis, their two biases kind of
cancel out, and the probabilityof obtaining heads
is just in the middle,then it's 1/2.
Now if someone tells you thatthe first ten tosses were
heads, is that going tochange your beliefs
about the 11th toss?
Here's how a reasonable personwould think about it.
If it's coin B the probabilityof obtaining 10 heads in a row
is negligible.
It's going to be 0.1to the 10th.
If it's coin A. The probabilityof 10 heads in a
row is a more reasonablenumber.
It's 0.9 to the 10th.
So this event is a lot morelikely to occur with coin A,
rather than coin B.
The plausible explanation ofhaving seen ten heads in a row
is that I actually chose coin A.When you see ten heads in a
row, you are pretty certain thatit's coin A that we're
dealing with.
And once you're pretty certainthat it's coin A that we're
dealing with, what's theprobability that the
next toss is heads?
It's going to be 0.9.
So essentially here I'm doingan inference calculation.
Given this information, I'mmaking an inference about
which coin I'm dealing with.
I become pretty certain thatit's coin A, and given that
it's coin A, this probabilityis going to be 0.9.
And I'm putting an approximatesign here, because the
inference that I didis approximate.
I'm pretty certain it's coin A.I'm not 100% certain that
it's coin A.
But in any case what happenshere is that the unconditional
probability is different fromthe conditional probability.
This information here makesme change my beliefs
about the 11th toss.
And this means that the 11thtoss is dependent on the
previous tosses.
So the coin tosses havenow become dependent.
What is the physical link thatcauses this dependence?
Well, the physical link isthe choice of the coin.
By choosing a particular coin,I'm introducing a pattern in
the future coin tosses.
And that pattern is whatcauses dependence.
OK, so I've been playing alittle bit too loose with the
language here, because wedefined the concept of
independence of two events.
But here I have been referringto independent coin tosses,
where I'm thinking aboutmany coin tosses,
like 10 or 11 of them.
So to be proper, I should havedefined for you also the
notion of independence ofmultiple events, not just two.
We don't want to just say cointoss one is independent from
coin toss two.
We want to be able to saysomething like, these 10 then
coin tosses are all independentof each other.
Intuitively what that meansshould be the same thing--
that information about some ofthe coin tosses doesn't change
your beliefs about the remainingcoin tosses.
How do we translate that intoa mathematical definition?
Well, an ugly attemptwould be to impose
requirements such as this.
Think of A1 being the event thatthe first flip was heads.
A2 is the event of that thesecond flip was heads.
A3, the third flip, washeads, and so on.
Here is an event whoseoccurrence is not determined
by the first three coin flips.
And here's an event whoseoccurrence or not is
determined by the fifthand sixth coin flip.
If we think physically thatall those coin flips have
nothing to do with each other,information about the fifth
and sixth coin flip are notgoing to change what we expect
from the first three.
So the probability of thisevent, the conditional
probability, should be thesame as the unconditional
probability.
And we would like a relationof this kind to be true, no
matter what kind of formula youwrite down, as long as the
events that show up here aredifferent from the events that
show up there.
OK.
That's sort of anugly definition.
The mathematical definition thatactually does the job,
and leads to all theformulas of this
kind, is the following.
We're going to say that thecollection of events are
independent if we can find theprobability of their joint
occurrence by just multiplyingprobabilities.
And that will be true even ifyou look at sub-collections of
these events.
Let's make that more precise.
If we have three events, thedefinition tells us that the
three events are independentif the following are true.
Probability A1 and A2 and A3,you can calculate this
probability by multiplyingindividual probabilities.
But the same is true even ifyou take fewer events.
Just a few indices outof the indices
that we have available.
So we also require P(A1intersection A2) is P(A1)
times P(A2).
And similarly for the otherpossibilities of
choosing the indices.
OK, so independence,mathematical definition,
requires that calculatingprobabilities of any
intersection of the events wehave in our hands, that
calculation can be done by justmultiplying individual
probabilities.
And this has to apply to thecase where we consider all of
the events in our hands or just
sub-collections of those events.
Now these relations just bythemselves are called pairwise
independence.
So this relation, for example,tells us that A1 is
independent from A2.
This tells us that A2 isindependent from A3.
This will tell us that A1is independent from A3.
But independence of all theevents together actually
requires a little more.
One more equality that has to dowith all three events being
considered at the same time.
And this extra equalityis not redundant.
It actually does makea difference.
Independence and pairwiseindependence
are different things.
So let's illustrate thesituation with an example.
Suppose we have twocoin flips.
The coin tosses are independent,so the bias is
1/2, so all possible outcomeshave a probability of 1/2
times 1/2, which is 1/4.
And let's consider now a bunchof different events.
One event is that thefirst toss is heads.
This is this blue set here.
Another event is the secondtoss is heads.
And this is this blackevent here.
OK.
Are these two eventsindependent?
If you check it mathematically,yes.
Probability of A is probabilityof B is 1/2.
Probability of A timesprobability of B is 1/4, which
is the same as the probabilityof A intersection B,
which is this set.
So we have just checkedmathematically that A and B
are independent.
Now lets consider a third eventwhich is that the first
and second toss givethe same result.
I'll use a different color.
First and second toss togive the same result.
This is the event thatwe obtain heads,
heads or tails, tails.
So this is the probabilityof C. What's the
probability of C?
Well, C is made up of twooutcomes, each one of which
has probability 1/4, so theprobability of C is 1/2.
What is the probabilityof C intersection A?
C intersection A is just thisone outcome, and has
probability 1/4.
What's the probability of Aintersection B intersection C?
The three events intersect justthis outcome, so this
probability is also 1/4.
OK.
What's the probabilityof C given A and B?
If A has occurred, and B hasoccurred, you are certain that
this outcome here happened.
If the first toss is H and thesecond toss is H, then you're
certain of the firstand second toss
gave the same result.
So the conditional probabilityof C given A and
B is equal to 1.
So do we have independencein this example?
We don't.
C, that we obtain the sameresult in the first and the
second toss, has probability1/2.
Half of the possible outcomesgive us two coin flips with
the same result-- heads,heads or tails, tails.
So the probabilityof C is 1/2.
But if I tell you that theevents A and B both occurred,
then you're certainthat C occurred.
If I tell you that we had headsand heads, then you're
certain the outcomeswere the same.
So the conditional probabilityis different from the
unconditional probability.
So by combining these tworelations together, we get
that the three eventsare not independent.
But are they pairwiseindependent?
Is A independent from B?
Yes, because probability of Atimes probability of B is 1/4,
which is probability ofA intersection B. Is C
independent from A?
Well, the probabilityof C and A is 1/4.
The probability of C is 1/2.
The probability of A is 1/2.
So it checks.
1/4 is equal to 1/2 and 1/2,so event C and event A are
independent.
Knowing that the first toss washeads does not change your
beliefs about whether the twotosses are going to have the
same outcome or not.
Knowing that the first washeads, well, the second is
equally likely to beheads or tails.
So event C has just thesame probability,
again, 1/2, to occur.
To put it the opposite way,if I tell you that the two
results were the same--
so it's either heads, headsor tails, tails--
what does that tell youabout the first toss?
Is it heads, or is it tails?
Well, it doesn't tellyou anything.
It could be either over thetwo, so the probability of
heads in the first toss is equalto 1/2, and telling you
C occurred does notchange anything.
So this is an example thatillustrates the case where we
have three events in whichwe check that pairwise
independence holds forany combination of
two of these events.
We have the probability of theirintersection is equal to
the product of theirprobabilities.
On the other hand, the threeevents taken all together are
not independent.
A doesn't tell me anythinguseful, whether C is going to
occur or not.
B doesn't tell meanything useful.
But if I tell you that both Aand B occurred, the two of
them together tell me somethinguseful about C.
Namely, they tell me that Ccertainly has occurred.
Very good.
So independence is this somewhatsubtle concept.
Once you grasp the intuition ofwhat it really means, then
things perhaps fall in place.
But it's a concept whereit's easy to get some
misunderstanding.
So just take sometime to digest.
So to lighten things up, I'mgoing to spend the remaining
four minutes talking about thevery nice, simple problem that
involves conditionalprobabilities and the like.
So here's the problem,formulated exactly as it shows
up in various textbooks.
And the formulation saysthe following.
Well, consider one of thoseanachronistic places where
they still have kings or queens,and where actually
boys take precedenceover girls.
So if there is a boy--
if the royal family has a boy,then he will become the king
even if he has an older sisterwho might be the queen.
So we have one of thoseroyal families.
That royal family had twochildren, and we know that
there is a king.
There is a king, which meansthat at least one of the two
children was a boy.
Otherwise we wouldn'thave a king.
What is the probability that theking's sibling is female?
OK.
I guess we need to make someassumptions about genetics.
Let's assume that every childis a boy or a girl with
probability 1/2, and thatdifferent children, what they
are is independent from whatthe other children were.
So every childbirth is basicallya coin flip.
OK, so if you take that,you say, well,
the king is a child.
His sibling is another child.
Children are independentof each other.
So the probability that thesibling is a girl is 1/2.
That's the naive answer.
Now let's try todo it formally.
Let's set up a modelof the experiment.
The royal family had twochildren, as we we're told, so
there's four outcomes--
boy boy, boy girl, girlboy, and girl girl.
Now, we are told that there isa king, which means what?
This outcome heredid not happen.
It is not possible.
There are three outcomesthat remain possible.
So this is our conditionalsample space given
that there is king.
What are the probabilitiesfor the original model?
Well with the model that weassume that every child is a
boy or a girl independently withprobability 1/2, then the
four outcomes would be equallylikely, and they're like this.
These are the originalprobabilities.
But once we are told that thisoutcome did not happen,
because we have a king, thenwe are transported to the
smaller sample space.
In this sample space, what'sthe probability that the
sibling is a girl?
Well the sibling is a girl intwo out of the three outcomes.
So the probability thatthe sibling is a
girl is actually 2/3.
So that's supposed tobe the right answer.
Maybe a littlecounter-intuitive.
So you can play smart and say,oh I understand such problems
better than you, here is a trickproblem and here's why
the answer is 2/3.
But actually I'm not fullyjustified in saying that the
answer is 2/3.
I made lots of hiddenassumptions when I put this
model down, which Ididn't yet state.
So to reverse engineer thisanswer, let's actually think
what's the probability model forwhich this would have been
the right answer.
And here's the probabilitymodel.
The royal family--
the royal parents decided tohave exactly two children.
They went and had them.
It turned out that atleast one was a boy
and became a king.
Under this scenario--
that they decide to haveexactly two children--
then this is the bigsample space.
It turned out thatone was a boy.
That eliminates this outcome.
And then this pictureis correct and this
is the right answer.
But there's hidden assumptionsbeing there.
How about if the royalfamily had followed
the following strategy?
We're going to have childrenuntil we get a boy, so that we
get a king, and thenwe'll stop.
OK, given they have twochildren, what's the
probability that thesibling is a girl?
It's 1.
The reason that they had twochildren was because the first
was a girl, so they hadto have a second.
So assumptions aboutreproductive practices
actually need to come in,and they're going
to affect the decisions.
Or, if it's one of those ancientkingdoms where a king
would always make sure toostrangle any of his brothers,
then the probability that thesibling is a girl is actually
1 again, and so on.
So it means that one needs to becareful when you start with
loosely worded problems tomake sure exactly what it
means and what assumptionsyou're making.
All right, see you next week.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123align:start position:0% catalytic converters is one of the most
align:start position:0%catalytic converters is one of the most
align:start position:0%catalytic converters is one of the mostimportant Technologies for pollution
align:start position:0%important Technologies for pollution
align:start position:0%important Technologies for pollutionthat has been invented in in over the
align:start position:0%that has been invented in in over the
align:start position:0%that has been invented in in over thelast 50 years it's changed the game in
align:start position:0%last 50 years it's changed the game in
align:start position:0%last 50 years it's changed the game interms of what comes out of that
align:start position:0%terms of what comes out of that
align:start position:0%terms of what comes out of thatcar why does it work it wouldn't work he
align:start position:0%car why does it work it wouldn't work he
align:start position:0%car why does it work it wouldn't work hewould get rid of these things these
align:start position:0%would get rid of these things these
align:start position:0%would get rid of these things thesetoxic things you wouldn't get rid of
align:start position:0%toxic things you wouldn't get rid of
align:start position:0%toxic things you wouldn't get rid ofthem unless you ran it at like a th000
align:start position:0%them unless you ran it at like a th000
align:start position:0%them unless you ran it at like a th000deg and you're not doing that underneath
align:start position:0%deg and you're not doing that underneath
align:start position:0%deg and you're not doing that underneathyour car next to the gas tank but if you
align:start position:0%your car next to the gas tank but if you
align:start position:0%your car next to the gas tank but if youput the right Catalyst in all of those
align:start position:0%put the right Catalyst in all of those
align:start position:0%put the right Catalyst in all of thosereactions to get rid of those toxic
align:start position:0%reactions to get rid of those toxic
align:start position:0%reactions to get rid of those toxicchemicals can happen much more quickly
align:start position:0%chemicals can happen much more quickly
align:start position:0%chemicals can happen much more quicklyand efficiently right
align:start position:0%
align:start position:0% okay1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761The 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, visitmitopencourseware@ocw.mit.edu.
PROFESSOR: Today we'regoing to continue
discussing firm behavior.
But today we're going to deviatefrom our fantasy land
of 14.01 to come to the realworld a little bit which is to
talk a bit about whether firmsactually maximize profits.
The whole presumption ofproducer theory is just as we
think with consumer theory,consumers maximize utility.
Except producers maximizeprofits.
That turns out to be anincredibly useful shorthand
for lots of things.
And it will turn out to be,as with any simplifying
assumption, largely right andlargely will help us draw a
lot of interesting conclusionsabout firms and markets.
Nonetheless, it's clearlynot right in
reality for every firm.
For example, we see lots offirms doing things which look
pretty wasteful like bigcorporate jets or
other things like that.
More relevantly, huge pay forCEOs seems pretty wasteful.
So, for example, on 2004 the netincome of Eli Lilly, the
drug manufacturer,fell by 29%.
Yet the CEO got a 41% raise toto $12.5 million a year.
Or even more so in the financialcrisis, in 2009,
Citigroup and Merrill each lostmore than $27 billion.
It's a pretty bad yearfor the financial
sector, you might think.
And yet their CEO's pay in eachcompany rose by more than
10% to about $15 million.
So in the worst year for thefinancial system since 1929,
the CEO pay increased inthese two companies.
So you might think that thissounds kind of off.
How could we explain that?
Well, there's two possibleexplanations.
So one explanation is thatthings which look wasteful
really aren't.
That is that we pay CEOs ahuge amount of money, but
they're worth it.
So, for example, even at hisultimate salary of $33 million
per year, Michael Jordanwas vastly underpaid.
By any reasonable economicanalysis of the value he added
to the Chicago Bulls, it waswell in excess of $50 million.
So even though he waspaid $33 million,
Michael Jordan was underpaid.
Similarly, just because someonegets paid a lot of
money, doesn't mean thatthey're overpaid.
These CEOs are verytalented people.
They may be underpaid.
Now this is an argument youmight have made with a
somewhat straight face maybe10 or 15 years ago.
It's hard to make that witha straight face now.
It's hard to believe that theseCEOs of these companies
aren't overpaid given theircompany performance and even
the kind of facts wejust talked about.
So a better explanation forthings like excessive CEO pay
is something which we callthe agency problem.
And that's what I want toemphasize in today's lecture.
In reality, we think of a firmas something where there's a
guy who's an owner.
He hires some machinesand some workers.
They make stuff that he thoughtof, and you produce
it, and some profit is made.
So the model we have in mindwhen we talked about the firms
so far in this course is themodel of what we might call a
sole proprietorshipor a partnership.
It's a model where oneindividual, where there's
basically a commonality.
The key thing that we'vediscussed so far is a
commonality of interest betweenthe owners who own the
company and the controlof production.
So the people who earn the moneyfrom the company also
control the production.
So when you start your start-upswhen you graduate,
you will start them as a soleproprietorship or a
partnership where you own thecompany, and you control
what's done.
You're there 18 hours a daymaking sure the guys are doing
what they're supposed to do.
And you're who gets the moneyif they succeed or lose the
money if they fail.
And that's the model we've hadin mind as we've thought about
corporations or firmsso far in our class.
But, in fact, most productionin the US
doesn't happen that way.
Most production in the UShappens through the guise of
corporations.
Corporations are markedby a separation of
ownership and control.
What defines a corporationis a separation of
ownership and control.
The owners of corporations arethe stockholders or what we
call the equity holders, peoplewho have invested money
in the corporation.
So the owners of the corporationare its investors,
its stockholders, itsequity holders.
All of you, most of you,probably somewhere--
if you're Jewish, it's in someBar Mitzvah gift you got, if
you're not, it's in some othergift you got-- probably have
some equity ownership insomething somewhere.
OK.
You maybe have a little bondwhich says you own five shares
of GM that someone gave you,because they thought it'd be
cute or whatever.
That's now worthless, but maybesome other company.
We're equity holders.
We invest in companies.
But we don't make theproduction decision.
The production decision is madeby the firm's managers
who are employees of the owners,the equity holders.
Now these managers mayhave some ownership.
And we'll talk about thatin a little bit.
But, by and large, the primaryownership of the firm is done
by people who do not controlthe everyday decisions of
production.
And it sort of makes senseit has to be that way.
When a company's as bigas Microsoft, you
couldn't have me.
Somewhere, I'm sure if you addup my various stock funds I
own, I own 0.000000000001%of Microsoft.
It'd be crazy to haveme involved with a
0.000000000001% of thedecision making.
I don't know anything aboutanything that Microsoft does.
It makes sense that there's aseparation of ownership and
control once companiesget big enough.
But the fact that there is aseparation of ownership and
control can lead to this agencyproblem and can lead to
firms not maximizing profits.
So, basically, the point is thatmanagers care not just
about the profits theymake but also how
happy their life is.
And things which make their lifehappy may be things which
aren't profit maximizing.
The managers who are in chargeof production may have their
own agenda that deviates fromprofit maximization.
And the problem is it may behard to figure that out if
you're the owner of the firm.
So the agency problem is thefirst example of a problem
we'll talk about later in thesemester of imperfect
information.
This is the first time we'llsee imperfect information.
We've assumed in our class sofar, and we'll assume in our
class going forward that there'sperfect information
the world, that everyone knowswhat stuff costs, that
everyone can shop costlesslyacross providers, et cetera.
But, in fact, the worldis marked by imperfect
information.
As an owner of Microsoft, as atrivial owner of Microsoft, I
don't know for sure that everyMicrosoft employee is doing
what's profit maximizingfor the company.
I can't.
It's just impossiblefor me to own that.
So that creates anagency problem.
And the agency problem arisesbecause it's in the employees'
interest, perhaps, to do thingswhich aren't profit
maximizing.
So so as a simple example,imagine that you're an
investor in the company that'sa medium-sized company.
And the head of that company isjealous because all of his
friends at bigger companies havetheir own jets, and he's
got to fly commercial.
He says, I want my own jet,because I'm not cool enough.
There's this great episode ofthe Simpsons where Burns goes
to the billionaires club.
And he's in the billionairesclub.
And then eventually his wealthdrops so low he gets thrown
into the millionaires club, andit's these yokels in the
millionaires club.
He's like, I want to be backin the billionaires club.
The point is managers ofcompanies care about how they
look and who theyhang out with.
And you've got this manager ofa medium-sized company who
wants his own private jet.
But he knows that that'snot profit maximizing.
Because he knows that if hefigures out his travel, and
prices it out at competitiveprices, it'll be cheaper to
just travel commercial.
So what does he do?
He puts together a glossyPowerPoint which he presents
to you, the owner of thecompany, showing that
financially it would be moreprudent to own a jet than to
fly commercial.
What he doesn't point out andput into that PowerPoint is
that in putting together thecommercial prices he used, he
chose the highest rates fromflying from point A to point
B, not the lowest rates.
Now, unless you're an experton the cost of flying from
point A to point B, youwon't know that.
You'll say, well, that'sa pretty impressive
presentation.
Yes, you can show you've saved20% by having your own plane.
Go get it.
But it turned out hedidn't save 20%.
He just cooked the numbers ina way to make his life nicer
even if it wasn't profitmaximizing.
And that's an example of thekind of problem that arises
with imperfect information.
And I could go through examplesall the time.
But I think you guys probablyall understand what I'm
talking about, which is there'slots of ways employees
of companies might make theirlives nicer that aren't profit
maximizing.
Now, corporations haverecognized this from time
immemorial.
And they've recognized thattheir owners are too diffuse
to monitor this.
So what corporations dois they have set up an
intermediary between the ownersand the producers
called the board of directors.
The board of directors is a setof individuals appointed
by the owners that are supposedto actually pay
attention to what's goingon in production.
The owners say, look, we can'tafford to pay attention.
But we're going to appoint you,the board of directors,
and we're going to pay youquite a lot of money.
A typical director on theFortune 500 company will make
$100,000 plus a year.
It's a part-time job.
We appointed you to keepan eye on the tools of
production.
The problem is the boardof directors aren't
that good at it either.
Because it turns out to bereally hard to figure out
exactly what's going on.
And this is made worse, becausethe members of the
board of directors are oftenchosen by management of the
company, by the peoplerunning the
production, not by the owners.
So they'll make selections ofwho's going to be on the board
of directors.
And they'll pack it withtheir friends who
will be nice to them.
So, for example, Richard Grassowas the CEO of the New
York Stock Exchange.
He started out in the mailroom, worked his way up.
He became CEO of the New YorkStock Exchange and retired
with $187 million severancepackage which was outrageous
and totally unearned.
But the board of directors werea bunch of his buddies
who'd known him sincehe was a kid.
And they said, he seemslike a nice guy.
Let's give him abunch of money.
And a lot of the board ofdirectors, when actually
grilled on it, didn't actuallyknow he'd gotten that much.
They were like, wow.
We didn't realizehis retirement
package was that big.
So it turns out having the boardof directors does not
solve the agency problem.
Because there's still too muchof an information imperfection
between the managers and theboard of directors, not to
mention the managersand the owners.
So what do we do?
What do we do with thisagency problem?
Well, this was knownfor a lot of years.
And about 25 years ago, thethinking was, look, the way to
solve this problem is we need toalign the incentives of the
managers and the owners.
If we're going to solve thisproblem, we need to get the
managers, the producers, toactually care about maximizing
profits enough that they'll dothat even if it makes their
life a little uncomfortable.
And how do we do that?
We turn the managersinto owners.
We give the managers, theproducers, an ownership stake
in the company.
We say look, your income isgoing to be directly derived
from the profitabilityof this company.
So now you'll have a directincentive to do what's profit
maximizing even if it makesyour life a little
uncomfortable.
Even if it means flyingcommercial, you recognize if I
have my own jet, thenI'm going to suffer.
So you align the incentives.
So we want to givethem an ownership
stake in the company.
Well, how do you do that?
How do you give managersan ownership stake?
Well, there's two waysyou can do it.
One way is you can directlygive them stock.
So you can directly say, look,instead of paying you in cash,
we are going to pay youin company stock.
So your fortunes will directlybe tied to the performance of
this company if youpay them in stock.
Or, alternatively, you can dosomething which turns out to
be cheaper.
You can give themstock options.
It turns out to be cheaper,at least, in principle.
We can give themstock options.
So let's talk about whata stock option is.
And some of you may deal withthese along the way.
A stock is a piece of paperwhich says you only 0.00001%
of the company.
A stock option is simply a pieceof paper which says we
are granting you the right tobuy the stock at some price.
Typically, it's today's price.
We're not giving you ashare of the company.
You have a piece of paper whichsays if the value of
stock today is $100, you have apiece of paper which says no
matter where the stockends up, you can
always buy it for $100.
Why is that valuable?
Well, that's valuable becauselet's say you give a CEO of a
company a million options at$100 each when the price of
the stock is $100.
Well, if the price of the stockrises to $150, that CEO
can then take his millionoptions, say, I want to buy
the shares for 100, which I'mallowed to by these pieces of
paper, and I'll turn aroundand sell them for $150.
I've just made $50 million.
So a stock option is valuableif the stock goes up.
But it's worthless ifthe stock goes down.
So it's kind of the ultimateincentive, if
you think about it.
Because what it says to the CEOis, look, we're going to
incent you to do better.
And you make a lot of moneyby doing better.
But if you do worse, you'renot going to get anything.
And as myself as the ownerit seems great,
because it's cheaper.
Because if the stock goes up,I share some with the guy.
But I don't care.
I'm happy.
The stock goes up.
If it goes down, I don't haveto give him anything.
And, in fact, giving someonea stock option costs,
effectively, about half as muchas giving them stock.
So if I say today's stock price,if I instead of giving
you a share of stock, I give youan option to buy a share
of stock at today's price, thevalue to that, what it costs
me in the market is about halfof what it costs when I
actually give you theshare of stock.
So it seems likethe best deal.
You get all the incentives forthem to raise the price, but
it costs you half as much.
And, in fact, there's beentremendous growth in use of
stock and stock options.
So if you look at Figure 12-1,now, this sort of changes.
Before 1992, there's onlytwo categories.
And after '92, there's three.
So before '92, we just have todivide into salary and bonus
versus options.
So you see there was essentiallyno options in '84.
This is the mean CEO pay.
So the typical CEO in 1984 made$500,000, and it was all
cash, all salary and bonus.
By 1992, they made about $1million, and a decent share of
it started to bestock options.
Now, starting after '92, weactually break into three
categories which is salary,bonus, and options.
But that doesn'treally matter.
The main thing is to payattention to the option share,
which you see grewastronomically.
And so by its peak, in about2002, first of all, the
typical CEO was making$3.5 million.
Second of all, the majority ofthat was in stock options.
In fact, if you look at salaryand bonus, it didn't grow that
much over time.
If you look at 1992 versus 2002,over that decade, salary
and bonus barely grew, butoptions went through the roof.
So there's a huge increasein use of these.
And the motivation is prettybasic economic intuition.
What we're going to do is thisis a cheap way to align the
incentives of ownersand managers.
And that was whythey took off.
And everyone thoughtit was great.
And people like Michael Jensenat Harvard Business School
made fortunes off havingsuggested this, et cetera.
It was like we solvedthe problem.
And, remember, we did prettydamn well in the 1990s.
And a lot of it, peopleattributed it to exactly
what's in this graph.
That by finally figuring out howto align the incentives of
producers and owners, we'dfigured out a way to change
the economy.
And people thought we sort ofentered this new economic era
of massive productivity.
Well people, as we knownow, were wrong.
Things slowed down in the2000s and then now have
completely crashed.
And why were they wrong?
Well, they're wrong because whatmakes economics fun is
unintended consequences.
And these stock options hadtwo kinds of unintended
consequences.
The first unintended consequenceis that they lead
to excessive gambling.
And what I mean by that is thatonce your stock option is
out of the money, once, ifyou've got it for 100,
you're below 100.
You don't care howlow it goes.
If you're at 99 or 20,you don't care.
All we care about is being100 verses above.
What that means is as an owner,as a manager, you'll
take excessive risks to go intothe positive territory.
Even if there's a hugerisk you'll get
nailed on the downside.
Contrast to guys workingfor a company that's
currently worth $100.
One is given stock, and one isgiven stock options at $100.
Imagine they're both going toleave the company in one year.
Because there's dynamics withthe long run issues.
Let's put that aside.
They're both going toleave in one year.
One today is given a share ofstock, and one today is given
an option to buy at $100.
And then they're given thechoice of a risky investment.
Someone comes to themand says, have I
got a deal for you.
I've got an investment thathas a 10% chance it will
double the value of your companyand a 90% chance the
value of your companywill fall by 20%.
So there's a 10% chance of a100% return and a 90% chance
of a 20% decline in yourcompany's value.
Now, what is the profitmaximizing thing
to do in this situation?
Well, to do that, we have toconsider the concept of what
delivers the company thehighest expected value.
Expected value is a conceptwe'll use-- and we'll come
back to this later when wetalk about uncertainty--
it's a concept we use to measurehow you value things
when there's uncertainty.
So the expected value of agamble is the probability that
you win times the value if youwin plus the probability that
you lose times the valueif you lose.
That's the expectedvalue of a gamble.
And the profit maximizing thingto do would be to take
gambles of expected valuesof greater than zero.
The expected value isthe summation of the
value of that gamble.
This gamble has an expectedvalue of 0.1 times 100--
100% return and a 10% chance--
plus 0.9 times negative 20--
a 90% of losing 20-- or anexpected value of minus 8%.
That is if you take this gamble,and you took it an
infinite number of times,you would end up
losing 8% on average.
Any one time might work out.
But by the law of large numbers,if we took this
enough times, you'd lose8% on average.
So you will lower the valueof your company.
You will reduce profitsby taking this gamble.
Your company is worse offif you take this gamble.
Well, what would the person whogot the $100 in stocks do?
They won't take the gamble.
Because their $100 in stock willbe worth, on average, 8%
less if they take this gamble.
So I'm not taking the gamble.
This is stupid.
But now let's look at theguy who got the option.
His gamble is a littlebit different.
Because he doesn't care whetherthe value of the
company is 99 or 80.
He just cares about how muchit goes above 100.
So what is his calculation?
Well, his calculation is hehas a 10% chance of making
100% and a 90% chance of what?
Zero, ending up with zero.
He can't lose.
He has a 90% chance of zero.
So what is his calculation?
Well, he uses the positive10% gamble.
He makes money on this gamble,because head he wins, tails he
walks away.
The guy who owns the stock losesif it's tails with this
weighted coin that only hitsheads 10% of the time.
This guy only wins.
So he says, sure.
Any gamble which has a hugeupside, I'm going to take.
Because I get all the upside,and I don't bear the downside.
So what this does is it leadsto excessive gambling,
excessive risk taking.
And that's exactly what we sawin economy, was companies
gambling on things which soundedvery good, managers
gambling on things which soundedvery good, some of
which worked out very welland some of which didn't.
And that's the first problemwe have with the
use of stock options.
And questions about that?
Yeah.
AUDIENCE: What about using apackage of options like a
number of stock options[INAUDIBLE PHRASE]
package of stock options[INAUDIBLE PHRASE].
PROFESSOR: Certainly there aremore sophisticated ways you
can do that.
I mean, there's certainlymore sophisticated
ways you can do that.
But that's a great segue to thesecond problem with these.
The second problem is whodecided the structure of the
stock options?
The managers.
So the managers had executivecompensation committees that
designed the stock optionsthe managers got.
So the second problemwas there was
just outright cheating.
So what you just described wouldbe a great structure
which would incentivize themmaximally, but it would not
make them the most money.
So the second problem we hadwas outright cheating.
So there's a wonderfulinvestigation by the Wall
Street Journal that investigateda whole list of
stock option arrangements.
And what they found wascompanies would frequently do
what's called backdatingstock options.
What they'd say is, look, thevalue of the company just went
up from $100 to $15 last week.
We're going to give youan option at $100.
And let's pretend it was issuedbefore the company
value went up.
We've just given you money.
You haven't done anythingto earn that.
We've just given you money.
And the Wall Street Journalfound incredible evidence of
backdating stock options.
So they had one CEO.
They Yeah, I'm sorry.
AUDIENCE: Is the companypaying the money?
I thought it was like themarket who gives it.
PROFESSOR: The owners are payingthe money, the owners.
AUDIENCE: People who arebuying the stock are
exercising the option to.
PROFESSOR: No.
But here's the thing.
When I gave it to you, then,basically, I gave you
something of value.
I have to pay for thatthing of value.
Now, ultimately,the transaction
happens in the market.
But, basically, in other words,I give you this option
to buy the stock at $100.
This is an important point thatI wasn't clear enough on.
I give you an option tobuy a stock at $100.
The stock is now worth $150.
That means that stock I couldhave had at $150 as an owner.
And it's worth $150.
But by letting you take it at$100, I let you keep the extra
$50 instead of me getting it.
I have a share of stockwhich [INAUDIBLE]
$150.
I've given that to you.
I've, essentially, transferredto you $150.
AUDIENCE: So when companies[INAUDIBLE PHRASE].
PROFESSOR: They'll keepsome amount of shares.
The owners, theywill sell stock
and they'll do offerings.
But the owners own the majorityof the stock.
That's what makesthem the owners.
Maybe that's the rightway to put it.
AUDIENCE: [INAUDIBLE PHRASE].
PROFESSOR: No.
Well, in principle, the boardof directors approves stock.
They don't decide.
An executive managementcommittee decides.
The executive managementcommittee consists of all the
golf buddies of the CEO.
They decide.
The board of directors issupposed to make sure nothing
untoward happens.
The board of directors, they'rejust a bunch of
retired former executiveswho are also golf
buddies of the manager.
So they don't reallyget it right.
So there's outright cheating.
So, for instance, one CEO,he got six stock options.
Each one happened to be issued,happened to be issued
the day before-- at least onpaper-- was issued the day
before a huge increasein the stock price.
Now, the CEO said hewas just lucky.
But the Wall Street Journaldid a simulation and
calculated that there's a 1 in1 billion chance he could've
been that lucky.
That, in fact, what clearlyhappened was he got the stock
options later, and they werebackdated to make it seem like
he got them before theprice went up.
But that's not thebest example.
The best exampleis Cablevision.
They granted and backdatedoptions to their vice chairman
from 1997 to 2002.
So from 1997 to 2002, they gavethem options and they
kept backdating them tomake them look good.
The only problem was thathe died in 1999.
So, basically, they were justgiving money away to this
guy's heirs.
Clearly they weren'tincentivizing his performance.
As the quote said, trying toincentivize a corpse suggests
they were not complying withthe spirit of shareholder
approved stock option plans.
They were just giving money tohis heirs, because they felt
bad for him, because theyweren't keeping their yacht up
or whatever.
So, basically, this is anexample of a kind of cheating.
Of course, then you cango further, and
there's outright fraud.
The backdating is sortof cheating.
You can go even further.
I don't know what determinesfraud versus cheating.
You can just do whatEnron did.
What Enron did is the executivesthere just lied
about how much moneythey were making.
They just went public withfigures that were wrong.
The stock price went up.
They cashed in theiroptions and quit.
And as long as you don't getcaught, that's a great deal.
And if you do get caught, well,they fine you for 1/3 of
what you made.
So who cares?
So basically it wasoutright fraud.
And this was a lotof what happened.
A lot of the wealth that wethought was created in the
1990s in the stock market wasreally just false wealth
created by people saying theircompany's were worth more than
they actually were.
Yeah.
AUDIENCE: Who decides the salary[INAUDIBLE PHRASE].
PROFESSOR: No.
I mean, once again, it variesby company to company.
But, basically, the dividendpayout would be something that
a different set of managerswould decide, once again,
subject to approvalof the owners.
But, once again, the point isthat the owners of a company,
of a big company, are just adiffuse set of people who
don't know what they're doing.
The managers know exactlywhat they're doing.
The board of directors is inbetween and is half clueless,
half knows what it's doing.
And that's what leads tothe agency problem.
What's so interesting aboutthis example is it sort of
points out, like in many thingsin economics, why we're
called the dismal science.
There is no right answer here.
On the one hand, if you don'tincentivize your owners, then
they might not do what'sprofit maximizing.
On the other hand, if theyincentivize your owners, they
might do cheating to maximizetheir profits as opposed to
the company's profits.
And that's why you needcomplicated structures, the
type that was suggestedin the back.
And that's why, for example,they find that companies with
much more concentratedownership, the ones that
Warren Buffett owns 20% of, theydo a much better job in
their CEO compensation thanthe ones where it's just a
bunch of people owninga tiny, tiny percent.
So that's exactly the kind ofdifficulty you face in setting
up executive compensation.
Now, this was a real departurefrom the kind of things we
talked about, justone example.
Partly what we want to do inthis course, I want to teach
you about basic economics.
I partly want to excite youabout what else you can go on
and do in economics.
What I've just done in the lasthalf hour is a microcosm
of the field of corporatefinance.
There's an entire fieldin economics
called corporate finance.
We teach it in course 15.
And it's a terrific course.
15.401 and 15.402 are theintroductory courses.
And if you find this stuffexciting, as I'm sensing some
of you are, that's a greatplace to take what we're
learning in this course and goon and actually dive in.
Realize that half the stuffI've told you, I'm
talking out of my ass.
I don't really know for sure.
But those guys doin course 15.
And you can really get intothese agency relationships and
understand our corporations workand how you set up these
kinds of compensationarrangements.
So this is kind of justa very exciting area.
Now, we're going to go backafter this and assume
corporations maximizeprofits again.
And, once again, as with anyassumption we make, by and
large, it's right.
And by and large it will deliverthe kind of important
knowledge that we need to knowabout how firms function.
But it's important to rememberthat these kinds of
things are behind it.
What we do in this courseis teach you the basics.
Then you go on in these otherelectives and actually learn
about this kind of moreinteresting tweaks
and what we do here.
And other questions aboutthis before I move on?
OK.
Now we're going to stop withthat topic, and we're going to
move to sort of anin between topic.
That is, we've been talkingabout firms and firm profit
maximization.
And we talked about how thatdepends on the structure of
the market and perfectcompetition.
Starting in two lectures, we'regoing to start talking
about alternative marketstructures like
monopoly and oligopoly.
But in order to talk about them,we need to introduce a
new concept we haven'tused before.
And that's what we'lldo the rest of this
lecture and next lecture.
We need to move from positiveeconomics to normative
economics, from positiveeconomics to normative.
Positive analysis is the studyof the way things are.
So positive analysis isexplaining why do firms
produce this many widgets?
Why do they hire thismany workers?
Why did I buy this many CDs?
That's a positive analysis,trying to explain the way
things are.
That's what we've done,by and large, so far.
Normative analysis is theanalysis of the way
things should be.
Is it good that I boughtthat many CDs?
Is it good that the companymade that much profits?
Would be better if we have aminimum wage or don't have a
minimum wage?
Normative analysis is theanalysis of the way things
should be as opposed tothe way they are.
So, for example, we showed inthe last lecture that in the
long run, with free entry andexit, all firms are driven to
zero profit, and the supplycurve is horizontal.
Well, is that a good thing?
We don't know.
We just said it happened.
I described why it happened.
But I didn't tell youif it was a good
thing or a bad thing.
Zero profits, I make a lot ofmoney off the profits that the
companies I own make.
I don't know if I want towork with zero profits.
I've got a lot ofstock and stuff.
And I'm making money becausethese companies make profits.
I don't think I'dbe that happy to
work with zero profits.
How do we think about whetherthat's a good
world or a bad world?
How do we think about whetherwe like these outcomes or
don't like them?
These are the tools of normativeeconomics or what we
will refer to as welfareeconomics.
Now, let me be clear here.
The term welfare, as you mighthave heard it, often refers to
money you give to lowincome populations.
And we'll talk about thatkind of welfare
later in the semester.
Here, when I say welfare,I mean well-being.
Welfare is the term economistsuse as the measure of
well-being.
We need to start talking aboutwelfare economics, measuring
the impact of economic outcomeson well-being, not
just studying what happens whenfirms maximize profits or
consumers maximize utility,but measuring how we feel
about it, measuring whetherit's good or bad, and
measuring whether someoutcomes might be
preferred to others.
Because if we don't do that, wecan't ever talk about the
role of the governmentin the economy.
Until you start talking aboutwelfare, you can't talk about
whether we shouldhave government
interventions or not.
You can only talk aboutwhat happens, not
whether it should happen.
Now, the problem of welfareeconomics is that it's a lot
harder because of somethingI mentioned when we
talked about utility.
Utility is an ordinal concept,not a cardinal concept.
Utility is an ordinal concept,not a cardinal concept.
That is, utils aremeaningless.
We use utility functions todecide whether you prefer
package A or package B. But theactual amount of utils you
get, unlike profits, is sortof a meaningless concept.
It's just sort of an index.
So what we do to do welfareeconomics is we turn from
utils to dollars.
We measure welfare in dollarswhich is easy on
the corporate side.
That's profits.
How do we do it on theconsumer side?
We do it through the conceptthat we call compensating
variation, which is one of thesethings where economists
use fancy terms for somethingwhich isn't that hard to
understand.
But you need to know the fancyterms, because that's kind of
how we teach, compensatingvariation.
That is instead of asking, howsad are you about outcome x,
we ask, how many dollarswould it take?
Instead of asking, how sad wouldyou be to not have a CD,
we ask, how much wouldyou pay to avoid
being in that situation?
So instead of asking, how sadare you that you end up with
this car instead of that car,we don't want to measure the
utils of driving a Hyundaiversus a Lexus.
We can't measure those.
What we can ask, is how muchmore will you pay to get the
Lexus than the Hyundai?
And that's $1 measureof your utils.
That's a compensatingvariation.
How much do you haveto be compensated?
So, in other words, instead ofasking you how sad are you
that you couldn't get ticketsto a Lady Gaga concert--
maybe that's not a good examplebecause no one's sad
about that.
But let's say you were.
Let's say I am because mydaughter wants to see her.
How sad are you?
I ask, instead, how much wouldyou pay to get the tickets to
the Lady Gaga concert?
That's a measure of howsad you were you
couldn't get them.
Because you'll pay an amount tocompensate yourself for the
sadness of not getting them.
So it's a way of turningutils into dollars.
And that leads to the conceptthat we'll refer to throughout
the semester.
That leads to the conceptof consumer surplus.
Consumer surplus measures thebenefit that a consumer gets
from consuming a good aboveand beyond what they
paid for the good.
So it's the benefit ofconsumption beyond the price.
So your consumer surplus--
surplus means extra--
is how much you enjoy consumingsomething above and
beyond what you hadto pay for it.
In other words, the idea is ifyou have to pay exactly as
much as you'd enjoy the good,there's no consumer surplus.
So let's do an example.
So consider my demand tobuy a Lady Gaga CD.
I've got to updatemy examples.
You guys don't buyCDs anymore.
How many of you have boughta CD in the last year?
Wow.
OK, let me ask anotherquestion,
just one for the record.
Just because I have to decidehow hard a time to give my
16-year-old son.
How many of you typicallypay when you buy a song?
Wow.
OK.
Let me ask another one.
How many of you typically don'tpay when you buy a song.
Well, when you get a song, whenyou download a song, you
know what I mean, whenyou download a song.
So the majority of you don't paywhen you download a song.
Interesting.
OK.
I'll update this next year.
But, for now, we're still10 years ago.
Consider my demand forLady Gaga CDs.
I'm trying to decide whetherto buy the marginal CD.
And let's say that it'sworth $15 to me.
I'd be willing to pay $15for the Lady Gaga CD.
And let's say theprice is $15.
In that case, there'sno surplus to me.
There's nothing extra.
I've paid what I waswilling to pay.
So that's a case of a zeroconsumer surplus.
The consumer surplus is howmuch extra I got from
consuming it.
I've got no extra.
It was worth $15.
I paid $15, no surplus.
Now let's say that theprice was $10.
Then I've got a surplus.
I've got $5 in surplus.
I was willing to pay $15.
It makes me $15 happier tohave this Lady Gaga CD.
But I only had topay $10 for it.
So I've derived some surplus.
Well, how do we know whatpeople's willingness to pay
for a good is?
The demand curve.
That's the definitionof the demand curve.
The demand curve measuresyour willingness to pay.
So let's go to thesecond figure.
Think about the demandcurve for CDs.
There's some demandcurve for CDs.
What this measures is theutility maximizing choice.
Every point in this demand curverepresents my utility
maximizing choiceat that price.
This is backwards.
That should be a $15 on they-axis and a $5 on the x-axis,
Sorry, guys.
It should be $15 onthe y-axis and a--
no.
Wait, hold on one second.
Time out.
At $5, I get no consumersurplus.
Yeah, this graph iskind of messed up.
Let me draw a new one here.
So you've got my demandcurve for CDs.
You've got the quantityand the price.
And I've got some utilityfunction that delivers this
demand curve.
And let's say the way thisworks, this demand curve for
CDs, let's say the way thisworks is that I am
willing to buy 1 CD.
I'm willing to buy if theprice is $20, I'm
willing to buy 1 CD.
So at a price of $20, I'mwilling to buy 1 CD.
So if I get that 1 CD at $20,then basically that's my
willingness to pay.
It equals a price, so there'sno consumer surplus.
Really imagine it's rightnext to that y-axis.
Now let's the pricefalls to $15.
Sorry.
That's a 1.
That's the 1.
That's a 20.
At a price of $20, I'mwilling to buy 1.
At a price of $15, I'mwilling to buy 5.
I'm willing to buy 5 CDs.
Now, what is my consumersurplus?
Well, let's ask.
For the first CD, I gotno consumer surplus.
But for the second, Iwas willing to pay.
When the price was $20, Igot no consumer surplus.
Now let's say theprice is $15.
So what was I willing topay for the first CD?
$20.
So what's my consumer surpluson the first CD?
5.
So on that first CD, I gota consumer surplus of 5.
The second CD, I was willing topay less because I've got
diminishing marginal utility.
But I was still willingto pay more than $15.
So I've got somesurplus there.
Third CD here, et cetera.
But on the fifth CD, I deriveno surplus, because I was
willing to pay $15 for thatfifth CD, and I paid $15 for
that fifth CD.
What that means is that all ofthis is my consumer surplus.
Because on every unit, becauseI paid a fixed price of $15,
and for my fifth CD, thatdelivered no surplus, that was
indifferent.
But in my first through fourthCDs, that made me very happy.
Because I was willing to paymore than $15 for those.
So my consumer surplus is theamount by which I derive
utility above whatI was willing to
pay, above the price--
I'm sorry-- the amountthat I was willing to
pay about the price.
The amount I'm willing to pay isevery point on this curve.
So anything I buy that I waswilling to pay more for the
price for, I derivedsurplus on.
So this becomes myconsumer surplus.
So, basically, consumer surplusis the area under the
demand curve above the price.
So, graphically, consumersurplus is going to be the
area under the demand curveabove the price.
Intuitively, why is that?
Intuitively, what's going on isthat every unit above the
price under the demand curveare units which I valued
higher than the price.
So I get surplus on them.
OK.
Question?
Yeah.
AUDIENCE: If you're[UNINTELLIGIBLE] this, would
you start at zero?
PROFESSOR: Yeah.
Really, in some sense, you'dwant to start at zero.
It's really the integralof this whole area.
The problem is it's discrete.
I should have a stepwisecurve here.
I made it discrete.
But, really, it's the integralof this area.
Yeah.
AUDIENCE: [INAUDIBLE PHRASE].
upward sloping demand curve?
PROFESSOR: I'm sorry.
AUDIENCE: With an upwardsloping demand curve.
PROFESSOR: With an upwardsloping demand curve, well, as
I said, we don't believein Giffen goods.
We think they are a fantasy.
So with an upward slopingdemand curve,
how would that work?
So an upward sloping demandcurve, then that would say
that if the price is here, thenyou'd have an infinite
consumer surplus.
It wouldn't be well-defined.
It wouldn't be well-defined.
So I don't know howyou'd do that.
That's why we don't like upwardsloping demand curves.
Yeah.
Question?
No?
OK.
So, basically, what you end upwith is this consumer surplus
concept which, basically, aspointed out mathematically, is
the integral of this area.
But we're not going tomake you integrate.
It's basically this trianglewhich is basically all the
units above the price, all theunits for which you're willing
to pay more than the price.
And you get consumer surpluson every unit you buy up to
the point where yourwillingness to
pay equals the price.
And that's our normativemeasure of welfare.
That's our normative measureof how happy you are.
And the key that drives this is
diminishing marginal utility.
That's why we don't like upwardsloping demand curves.
What drives this is diminishingmarginal utility.
It's that with each additionalunit I'm willing to pay less
and less for.
So I'm going to get less andless surplus off each
additional unit I buy.
And that's going tobe the key thing.
The key intuition that you guyshave to remember is that
the last unit that I'm willingto buy at that price, by
definition, I get no surpluson, or I get a $0.001 of
surplus on.
Because if I've got a lot ofsurplus, I'd buy 1 more.
So, by definition, the marginalunit is the one where
surplus is driven to 0.
And units before that are theones with positive surplus.
And that's why an importantintuition to have is the
amount of surplus you're goingto get from a purchase is
going to be about how far awayfrom the price point you are.
Those first units are goingto give you more surplus.
And that's going to dwindle asyou get to the actual last
unit you buy at that price.
Any questions about that?
OK.
Let me stop there.
We will come back next time, andwe're going to spend the
whole lecture talking aboutwelfare economics, we'll
introduce producer surplus,and talk about how we then
think about whether changesare good or bad.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246PROFESSOR: Hi.
In this clip we're goingto demonstrate the gene
regulation of the E.coli lac operon.
As you remember from the lectureclips, the lac operon
is a collection of genes thatproduces the lactose
metabolism machinerywhen expressed.
Now, when these are expressed,E. coli is able
to metabolize lactose.
However, it prefers tometabolize glucose, to use
that as its sugar.
Thus, when there's glucoseavailable to the cell, it's
pointless for it to create thismachinery, because it's
not going to actually use it.
It's going to metabolizethe glucose instead.
But when we remove glucose andadd lactose, the E. coli
absolutely needs to be able tometabolize this lactose,
otherwise it's not going tobe able to grow with the
available energy source.
Thus, we have a couple ofdifferent situations.
When we have glucose presentbut not lactose, we do not
want to express thelac operon.
However, when we remove glucoseand we add lactose, we
do want to expressthe lac operon.
Now we've covered when the E.coli would like to express
this operon.
However, how can it express thisoperon only when it wants
to and not when it doesn't?
That's where the promotercomes into play.
The promoter is where RNApolymerase binds.
And RNA polymerase needs to bindto this promoter in order
to transcribe and expressthese genes.
In this particular promoter,we have a site where a
repressor can bind and a sitewhere an activator can bind.
So I have a repressor andI have an activator.
So when the repressor is bound,polymerase cannot bind
to the promoter.
Polymerase also needs theactivator to be bound to the
promoter in order to bind.
So how can the E. coli regulatewhen the repressor
and activator are boundto the promoter?
Well, when we have lactose inthe system, I have lactose
right here, the repressoris able to bind lactose.
The repressor only bindsto the promoter
when there is no lactose.
And when binding to lactose,the repressor comes undone
from the promoter.
How does the cell tell whetherthere's glucose
in the cell or not?
When glucose is low in thecell, the cell makes a
molecule called cyclicAMP, or CAMP.
I have a molecule ofCAMP right here.
And so CAMP is the cell's wayof indicating that there is
low glucose in the cell.
The activator needsCAMP to bind to be
activator binding site.
When CAMP is removed, orglucose is added, the
activator cannot bind tothe promoter anymore.
Ok, so let's give it a try.
In this first situationwe have glucose,
we don't have lactose.
So I have neither my lactosenor my CAMP in the system.
Repressor, can you bind?
The Repressor is bound.
Activator, can you bind?
No, the activatoris not bound.
The repressor is bound, and sowhen RNA polymerase comes to
the promoter, RNA polymeraseis not able to
bind at this promoter.
And thus, it's not able toexpress these genes.
And so, as we can see here,there is no expression.
In this second situation,we have no glucose
and we do have lactose.
Since I'm removing glucose,I am adding back CAMP.
Activator, can you bind?
Activator is now bound.
And I'm also adding lactoseto the system.
Repressor can't bind anymore.
So what do I have atmy promoter now?
RNA polymerase comes alongand finds only an
activator at the promoter.
The polymerase can thus bindto the promoter and move
downstream to transcribe andexpress the lactose metabolism
machinery that we have here.
So we have now covered how theE. coli organism is able to
regulate the transcriptionof the
lactose metabolism machinery.
This is only one example of manygenes and many organisms
that are regulated by mechanismssuch as this.
Gene regulation is a verywidespread mechanism, in order
to keep a cell from producingproteins that
are a waste to produce.
Thank you for watching.1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363align:start position:0% we have seen two versions of the Bayes
align:start position:0%we have seen two versions of the Bayes
align:start position:0%we have seen two versions of the Bayesrule one involving two discrete random
align:start position:0%rule one involving two discrete random
align:start position:0%rule one involving two discrete randomvariables and another that involves two
align:start position:0%variables and another that involves two
align:start position:0%variables and another that involves twocontinuous random variables but there
align:start position:0%continuous random variables but there
align:start position:0%continuous random variables but thereare many situations in real life when
align:start position:0%are many situations in real life when
align:start position:0%are many situations in real life whenone has to deal simultaneously with
align:start position:0%one has to deal simultaneously with
align:start position:0%one has to deal simultaneously withdiscrete and continuous random variables
align:start position:0%discrete and continuous random variables
align:start position:0%discrete and continuous random variablesfor example you may want to recover a
align:start position:0%for example you may want to recover a
align:start position:0%for example you may want to recover adiscrete digital signal that was sent to
align:start position:0%discrete digital signal that was sent to
align:start position:0%discrete digital signal that was sent toyou but the signal has been corrupted by
align:start position:0%you but the signal has been corrupted by
align:start position:0%you but the signal has been corrupted bycontinuous noise so that your
align:start position:0%continuous noise so that your
align:start position:0%continuous noise so that yourobservation is a continuous random
align:start position:0%observation is a continuous random
align:start position:0%observation is a continuous randomvariable so suppose that we have a
align:start position:0%variable so suppose that we have a
align:start position:0%variable so suppose that we have adiscrete random variable K and another
align:start position:0%discrete random variable K and another
align:start position:0%discrete random variable K and anothercontinuous random variable Y in order to
align:start position:0%continuous random variable Y in order to
align:start position:0%continuous random variable Y in order toget a variant of the Bayes rule that
align:start position:0%get a variant of the Bayes rule that
align:start position:0%get a variant of the Bayes rule thatapplies to this situation we will
align:start position:0%applies to this situation we will
align:start position:0%applies to this situation we willproceed as in the more standard cases we
align:start position:0%proceed as in the more standard cases we
align:start position:0%proceed as in the more standard cases wewill use the multiplication rule twice
align:start position:0%will use the multiplication rule twice
align:start position:0%will use the multiplication rule twiceto get two alternative expressions for
align:start position:0%to get two alternative expressions for
align:start position:0%to get two alternative expressions forthe probability of two events happening
align:start position:0%the probability of two events happening
align:start position:0%the probability of two events happeningwe will equate those expressions and
align:start position:0%we will equate those expressions and
align:start position:0%we will equate those expressions andfrom these derive a version of the Bayes
align:start position:0%from these derive a version of the Bayes
align:start position:0%from these derive a version of the Bayesrule so we will look at the probability
align:start position:0%rule so we will look at the probability
align:start position:0%rule so we will look at the probabilitythat the discrete random variable takes
align:start position:0%that the discrete random variable takes
align:start position:0%that the discrete random variable takeson a certain numerical value and
align:start position:0%on a certain numerical value and
align:start position:0%on a certain numerical value andsimultaneously the continuous random
align:start position:0%simultaneously the continuous random
align:start position:0%simultaneously the continuous randomvariable takes a value inside a certain
align:start position:0%variable takes a value inside a certain
align:start position:0%variable takes a value inside a certainsmall interval so here Delta is a
align:start position:0%small interval so here Delta is a
align:start position:0%small interval so here Delta is apositive number which we will take to be
align:start position:0%positive number which we will take to be
align:start position:0%positive number which we will take to bevery small and in fact we will we will
align:start position:0%very small and in fact we will we will
align:start position:0%very small and in fact we will we willbe interested in the limiting case as
align:start position:0%be interested in the limiting case as
align:start position:0%be interested in the limiting case asDelta goes to zero so now we use the
align:start position:0%Delta goes to zero so now we use the
align:start position:0%Delta goes to zero so now we use themultiplication rule the probability of
align:start position:0%multiplication rule the probability of
align:start position:0%multiplication rule the probability oftwo events is equal to the probability
align:start position:0%two events is equal to the probability
align:start position:0%two events is equal to the probabilityof the first event times the conditional
align:start position:0%of the first event times the conditional
align:start position:0%of the first event times the conditionalprobability of the second event given
align:start position:0%probability of the second event given
align:start position:0%probability of the second event giventhat the first event has occurred but we
align:start position:0%that the first event has occurred but we
align:start position:0%that the first event has occurred but weknow that we can use the multiplication
align:start position:0%know that we can use the multiplication
align:start position:0%know that we can use the multiplicationrule in any order so the probability of
align:start position:0%rule in any order so the probability of
align:start position:0%rule in any order so the probability oftwo events happening can also be written
align:start position:0%two events happening can also be written
align:start position:0%two events happening can also be writtenas the probability that the second event
align:start position:0%as the probability that the second event
align:start position:0%as the probability that the second eventoccurs times the conditional probability
align:start position:0%occurs times the conditional probability
align:start position:0%occurs times the conditional probabilitythat the first event occurs given that
align:start position:0%that the first event occurs given that
align:start position:0%that the first event occurs given thatthe second event has occurred so these
align:start position:0%the second event has occurred so these
align:start position:0%the second event has occurred so thesetwo expressions that we obtain for the
align:start position:0%two expressions that we obtain for the
align:start position:0%two expressions that we obtain for themultiplication rule have to be equal let
align:start position:0%multiplication rule have to be equal let
align:start position:0%multiplication rule have to be equal letus rewrite those expressions using PMF
align:start position:0%us rewrite those expressions using PMF
align:start position:0%us rewrite those expressions using PMFnotation and PDF notation what we have
align:start position:0%notation and PDF notation what we have
align:start position:0%notation and PDF notation what we havehere the probability that the discrete
align:start position:0%here the probability that the discrete
align:start position:0%here the probability that the discreterandom variable takes on a certain value
align:start position:0%random variable takes on a certain value
align:start position:0%random variable takes on a certain valuethat's just the PMF of this random
align:start position:0%that's just the PMF of this random
align:start position:0%that's just the PMF of this randomvariable evaluated at particular point
align:start position:0%variable evaluated at particular point
align:start position:0%variable evaluated at particular pointand what we have here the probability
align:start position:0%and what we have here the probability
align:start position:0%and what we have here the probabilitythat the random variable Y a continuous
align:start position:0%that the random variable Y a continuous
align:start position:0%that the random variable Y a continuousrandom variable takes values inside an
align:start position:0%random variable takes values inside an
align:start position:0%random variable takes values inside aninterval is always equal to the PDF of
align:start position:0%interval is always equal to the PDF of
align:start position:0%interval is always equal to the PDF ofthat random variable times the length of
align:start position:0%that random variable times the length of
align:start position:0%that random variable times the length ofthis interval and this is an approximate
align:start position:0%this interval and this is an approximate
align:start position:0%this interval and this is an approximateequality
align:start position:0%equality
align:start position:0%equalityhowever because here we're talking about
align:start position:0%however because here we're talking about
align:start position:0%however because here we're talking aboutthe probability of being in a small
align:start position:0%the probability of being in a small
align:start position:0%the probability of being in a smallinterval conditioned on a certain event
align:start position:0%interval conditioned on a certain event
align:start position:0%interval conditioned on a certain eventwe should be using a conditional PDF
align:start position:0%we should be using a conditional PDF
align:start position:0%we should be using a conditional PDFit's the conditional PDF conditioned on
align:start position:0%it's the conditional PDF conditioned on
align:start position:0%it's the conditional PDF conditioned onthe random variable capital K and
align:start position:0%the random variable capital K and
align:start position:0%the random variable capital K andconditioned on the specific event that
align:start position:0%conditioned on the specific event that
align:start position:0%conditioned on the specific event thatthis discrete random variable takes on a
align:start position:0%this discrete random variable takes on a
align:start position:0%this discrete random variable takes on acertain value little K let us do a
align:start position:0%certain value little K let us do a
align:start position:0%certain value little K let us do asimilar notation change for the second
align:start position:0%similar notation change for the second
align:start position:0%similar notation change for the secondexpression here we have the probability
align:start position:0%expression here we have the probability
align:start position:0%expression here we have the probabilitythe unconditional probability that Y
align:start position:0%the unconditional probability that Y
align:start position:0%the unconditional probability that Ytakes a value inside the small interval
align:start position:0%takes a value inside the small interval
align:start position:0%takes a value inside the small intervaland when Delta is small this is
align:start position:0%and when Delta is small this is
align:start position:0%and when Delta is small this isapproximately equal to the PDF of the
align:start position:0%approximately equal to the PDF of the
align:start position:0%approximately equal to the PDF of therandom variable Y times the length of
align:start position:0%random variable Y times the length of
align:start position:0%random variable Y times the length ofthe interval and what do we have here
align:start position:0%the interval and what do we have here
align:start position:0%the interval and what do we have herethe probability that a discrete random
align:start position:0%the probability that a discrete random
align:start position:0%the probability that a discrete randomvariable takes on a certain value that
align:start position:0%variable takes on a certain value that
align:start position:0%variable takes on a certain value thatjust corresponds to the PMF of that
align:start position:0%just corresponds to the PMF of that
align:start position:0%just corresponds to the PMF of thatrandom variable however we're talking
align:start position:0%random variable however we're talking
align:start position:0%random variable however we're talkingabout a conditional probability given
align:start position:0%about a conditional probability given
align:start position:0%about a conditional probability giventhat a random variable Y takes the value
align:start position:0%that a random variable Y takes the value
align:start position:0%that a random variable Y takes the valuethat's approximately equal to a certain
align:start position:0%that's approximately equal to a certain
align:start position:0%that's approximately equal to a certainlittle Y so this is a notation that we
align:start position:0%little Y so this is a notation that we
align:start position:0%little Y so this is a notation that wehave not used before but its meaning
align:start position:0%have not used before but its meaning
align:start position:0%have not used before but its meaningshould be unambiguous at
align:start position:0%should be unambiguous at
align:start position:0%should be unambiguous atpoint but just by arguing by analogy to
align:start position:0%point but just by arguing by analogy to
align:start position:0%point but just by arguing by analogy towhat we have been doing all along
align:start position:0%what we have been doing all along
align:start position:0%what we have been doing all alongit's a PMF of the random very often
align:start position:0%it's a PMF of the random very often
align:start position:0%it's a PMF of the random very oftendiscourage random variable but it is a
align:start position:0%discourage random variable but it is a
align:start position:0%discourage random variable but it is aconditional pmf it describes us the
align:start position:0%conditional pmf it describes us the
align:start position:0%conditional pmf it describes us theprobability distribution of the discrete
align:start position:0%probability distribution of the discrete
align:start position:0%probability distribution of the discreterandom variable K when the random
align:start position:0%random variable K when the random
align:start position:0%random variable K when the randomvariable Y which happens to be a
align:start position:0%variable Y which happens to be a
align:start position:0%variable Y which happens to be acontinuous one takes on a specific value
align:start position:0%continuous one takes on a specific value
align:start position:0%continuous one takes on a specific valueso we can cancel the deltas from both
align:start position:0%so we can cancel the deltas from both
align:start position:0%so we can cancel the deltas from bothsides and we have that this expression
align:start position:0%sides and we have that this expression
align:start position:0%sides and we have that this expressionis approximately equal to that
align:start position:0%is approximately equal to that
align:start position:0%is approximately equal to thatexpression and this approximate equality
align:start position:0%expression and this approximate equality
align:start position:0%expression and this approximate equalityis more and more exact as we send Delta
align:start position:0%is more and more exact as we send Delta
align:start position:0%is more and more exact as we send Deltato zero but Delta has already
align:start position:0%to zero but Delta has already
align:start position:0%to zero but Delta has alreadydisappeared from here so we can set
align:start position:0%disappeared from here so we can set
align:start position:0%disappeared from here so we can setthese two expressions equal to each
align:start position:0%these two expressions equal to each
align:start position:0%these two expressions equal to eachother at this point now we can take this
align:start position:0%other at this point now we can take this
align:start position:0%other at this point now we can take thisterm and move it to the other side of
align:start position:0%term and move it to the other side of
align:start position:0%term and move it to the other side ofthe equality so it will go to the
align:start position:0%the equality so it will go to the
align:start position:0%the equality so it will go to thedenominator and we obtain this version
align:start position:0%denominator and we obtain this version
align:start position:0%denominator and we obtain this versionof the Bayes rule it gives us the
align:start position:0%of the Bayes rule it gives us the
align:start position:0%of the Bayes rule it gives us theconditional probability of a random
align:start position:0%conditional probability of a random
align:start position:0%conditional probability of a randomvariable J given that a certain
align:start position:0%variable J given that a certain
align:start position:0%variable J given that a certaincontinuous random variable Y has taken
align:start position:0%continuous random variable Y has taken
align:start position:0%continuous random variable Y has takenon a specific value so this version is
align:start position:0%on a specific value so this version is
align:start position:0%on a specific value so this version isuseful if we have a continuous noisy
align:start position:0%useful if we have a continuous noisy
align:start position:0%useful if we have a continuous noisyobservation Y on the basis of which were
align:start position:0%observation Y on the basis of which were
align:start position:0%observation Y on the basis of which weretrying to say something to make
align:start position:0%trying to say something to make
align:start position:0%trying to say something to makeinferences about the discrete random
align:start position:0%inferences about the discrete random
align:start position:0%inferences about the discrete randomvariable K and in order to apply the
align:start position:0%variable K and in order to apply the
align:start position:0%variable K and in order to apply theBayes rule we need to know the
align:start position:0%Bayes rule we need to know the
align:start position:0%Bayes rule we need to know theunconditional distribution of the random
align:start position:0%unconditional distribution of the random
align:start position:0%unconditional distribution of the randomvariable K and we also need to have a
align:start position:0%variable K and we also need to have a
align:start position:0%variable K and we also need to have amodel of the noisy observation a model
align:start position:0%model of the noisy observation a model
align:start position:0%model of the noisy observation a modelof that observation under each possible
align:start position:0%of that observation under each possible
align:start position:0%of that observation under each possibleconditional universe so for any
align:start position:0%conditional universe so for any
align:start position:0%conditional universe so for anypossibility for the random variable K we
align:start position:0%possibility for the random variable K we
align:start position:0%possibility for the random variable K weneed to know the distribution of the
align:start position:0%need to know the distribution of the
align:start position:0%need to know the distribution of therandom variable Y or alternatively we
align:start position:0%random variable Y or alternatively we
align:start position:0%random variable Y or alternatively wecan take this term and send it to the
align:start position:0%can take this term and send it to the
align:start position:0%can take this term and send it to thedenominator of the other side and we get
align:start position:0%denominator of the other side and we get
align:start position:0%denominator of the other side and we geta different version of the Bayes rule
align:start position:0%a different version of the Bayes rule
align:start position:0%a different version of the Bayes rulethis version of the Bayes rule applies
align:start position:0%this version of the Bayes rule applies
align:start position:0%this version of the Bayes rule appliesif we're trying to make an inference
align:start position:0%if we're trying to make an inference
align:start position:0%if we're trying to make an inferenceabout a continuous random variable Y
align:start position:0%about a continuous random variable Y
align:start position:0%about a continuous random variable Ygiven that we know the value of a
align:start position:0%given that we know the value of a
align:start position:0%given that we know the value of acertain related observation K of a
align:start position:0%certain related observation K of a
align:start position:0%certain related observation K of arandom variable capital K in both
align:start position:0%random variable capital K in both
align:start position:0%random variable capital K in bothversions of the Bayes rule there's also
align:start position:0%versions of the Bayes rule there's also
align:start position:0%versions of the Bayes rule there's alsoa denominator term which needs to be
align:start position:0%a denominator term which needs to be
align:start position:0%a denominator term which needs to beevaluated this term gets evaluated
align:start position:0%evaluated this term gets evaluated
align:start position:0%evaluated this term gets evaluatedsimilar to the cases that we have
align:start position:0%similar to the cases that we have
align:start position:0%similar to the cases that we haveconsidered earlier and they are
align:start position:0%considered earlier and they are
align:start position:0%considered earlier and they aredetermined by using a suitable version
align:start position:0%determined by using a suitable version
align:start position:0%determined by using a suitable versionof the total probability theorem this is
align:start position:0%of the total probability theorem this is
align:start position:0%of the total probability theorem this isa version of the total probability
align:start position:0%a version of the total probability
align:start position:0%a version of the total probabilitytheorem that we have already seen we
align:start position:0%theorem that we have already seen we
align:start position:0%theorem that we have already seen wehave a conditional density of Y under
align:start position:0%have a conditional density of Y under
align:start position:0%have a conditional density of Y underdifferent scenarios for the random
align:start position:0%different scenarios for the random
align:start position:0%different scenarios for the randomvariable capital k and we get the
align:start position:0%variable capital k and we get the
align:start position:0%variable capital k and we get thedensity of Y by considering the
align:start position:0%density of Y by considering the
align:start position:0%density of Y by considering theconditional densities and weighing them
align:start position:0%conditional densities and weighing them
align:start position:0%conditional densities and weighing themaccording to the probabilities of the
align:start position:0%according to the probabilities of the
align:start position:0%according to the probabilities of thedifferent discrete scenarios this
align:start position:0%different discrete scenarios this
align:start position:0%different discrete scenarios thisversion of the total probability theorem
align:start position:0%version of the total probability theorem
align:start position:0%version of the total probability theoremis something that we have not proved so
align:start position:0%is something that we have not proved so
align:start position:0%is something that we have not proved sofar and we have not seen it on the other
align:start position:0%far and we have not seen it on the other
align:start position:0%far and we have not seen it on the otherhand it's not hard to derive if we fix
align:start position:0%hand it's not hard to derive if we fix
align:start position:0%hand it's not hard to derive if we fixthe value of K this is a density and
align:start position:0%the value of K this is a density and
align:start position:0%the value of K this is a density andtherefore it must integrate to one so
align:start position:0%therefore it must integrate to one so
align:start position:0%therefore it must integrate to one sothe integral of this ratio with respect
align:start position:0%the integral of this ratio with respect
align:start position:0%the integral of this ratio with respectto Y has to be equal to 1 now there's no
align:start position:0%to Y has to be equal to 1 now there's no
align:start position:0%to Y has to be equal to 1 now there's noy in the denominator so the integral of
align:start position:0%y in the denominator so the integral of
align:start position:0%y in the denominator so the integral ofthe numerator divided by the denominator
align:start position:0%the numerator divided by the denominator
align:start position:0%the numerator divided by the denominatorhas to be equal to 1 which means that
align:start position:0%has to be equal to 1 which means that
align:start position:0%has to be equal to 1 which means thatthe denominator must be equal to the
align:start position:0%the denominator must be equal to the
align:start position:0%the denominator must be equal to theintegral of the numerator when we
align:start position:0%integral of the numerator when we
align:start position:0%integral of the numerator when weintegrate over all Y's and this is just
align:start position:0%integrate over all Y's and this is just
align:start position:0%integrate over all Y's and this is justwhat this expression is saying so what
align:start position:0%what this expression is saying so what
align:start position:0%what this expression is saying so whatwe will do next will be to consider one
align:start position:0%we will do next will be to consider one
align:start position:0%we will do next will be to consider oneexample for each one of these two cases
align:start position:0%example for each one of these two cases
align:start position:0%example for each one of these two casesof the Bayes rule that we have just
align:start position:0%of the Bayes rule that we have just
align:start position:0%of the Bayes rule that we have justderived123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218PROFESSOR: All right.
Welcome back to 6849.
You may recall or have heardthat this film crew from Japan
is here.
They're from a programcalled [? Gachan, ?]
which is about showingall the cool things
that happen in universitiesaround the world
to students in Japan.
So don't mind them,but you're going
to have to sign arelease form at the end.
I apparently don't needyou to sign a release form.
It just works.
We're talking aboutorigami today.
We began a series of lectureson computational origami.
We're going to do somedesign, some actual folding,
and some foldabilityalgorithm stuff.
Does everyone have one of thesestrips and a square of paper?
You don't.
Who has the master?
Why don't you grab a few?
Some of these.
Here's the package.
Lots of stuff.
The paper comes fromthe [? Gachan ?] team,
so thanks to them.
This is stuff you use inyour adding machine, I guess.
That's where it comes from.
Yes.
You need one of each.
Go for it.
Open it.
Let's get started.
Where is my chalk?
So just to warm you up,I want to do some folding
and give you some terminology.
I know some of you havedone origami before,
but a lot of youhaven't, so bear with me.
I will try to do this quickly.
And even for thosewho have done origami,
you may not have doneorigami math before.
That's why you're here.
So things like apiece of paper, which
you might take forgranted, I'm going
to define here tobe a 2D polygon.
There's actually manyinteresting definitions
of a piece of paper,but for today at least,
most of the time, we'llthink about polygon.
Usually, you think of asquare piece of paper,
but "polygon" would be thegeometer's generalization
of that.
Also, the polygon hasdistinguished sides.
So distinguishedtop and bottom side.
In practice, with standardkami paper from Japan,
you have the coloredside and the white side,
so that's one clear distinction.
Maybe we call thecolored side the top.
Doesn't really matter, justso we can tell things apart,
and in particular tellmountains from valleys.
That's our motivation.
So a crease in a pieceof paper, this I'm
going to think abstractly asjust a line segment or some one
dimensional curve drawnon the piece of paper.
And then we have crease pattern.
This is just a bunch of creases,so a bunch of line segments
drawn on the piece of paper.
If you are graphtheoretically inclined,
I would think ofthis as a planar
graph drawn on the paper.
If you're not graphtheoretically inclined,
just ignore that definition.
They're the same thing.
That's a crease pattern.
So for example, the thingwe're going to be folding
is this very simplepinwheel, and this
is an example of acrease pattern that
folds into that pinwheel.
So here, the linesare distinguished.
There's two different kinds, thered lines and the blue lines,
but ignore that for now.
That's a bunch ofcreases which you
could put in andmake that thing.
Before we get there, I wantthe notion of a folded state.
So this is all pretty normalif you're an origamist.
This is really somethingonly the mathematicians use,
this term, folded state.
Formally, this is what we referto as the finished product.
This pinwheel is a foldedstate of this piece of paper.
Clear?
Defining that is a real pain,and you can look at chapter 11,
I think, in the textbook.
Maybe I'll talk aboutit at some point,
but I don't wantto get distracted
by how you define whata folded state is.
But you're notallowed to stretch,
you're not allowed to tear.
It should be anice, valid folding.
You can't cross yourself.
So that's this notionof folded state.
And if you take a foldedstate and then unfold it--
this is something you cando with a folded state--
you get a crease pattern.
So I can take thispinwheel, unfold it,
and I can see whichlines are creased
to make that pinwheel happen.
So that's the creasepattern of a folded state.
Today especially, anda lot of the field
is concerned with the ideaof flat foldings, which
are a particular kind of foldedstate that lives in the plane,
lying in the plane.
Of course, it doesn'tliterally lie on the plane.
There's lots of layersstacked on top of each other,
but geometrically,everything has
been collapsed onto oneslightly thickened plane here.
So this is a flat origami.
This is also a flatorigami, the trivial kind.
That's a flat folding.
And when this is possible,we call that crease pattern
flat foldable.
And finally, we get to theidea of mountains and valleys.
So a mountain crease iswhen the bottom sides
touch, and a valley creaseis when the top sides touch.
So remember mydistinguished sides.
I'll call thecolored side the top,
so then this is amountain crease over here
because I'm bringing thetwo white sides together,
and where's a valley?
I guess this is a valley, whereI'm bringing the two colored
sides, the two topsides, together.
Together, thatmakes this pattern,
and hopefully, thatmatches up with here.
I mean, it's symmetric.
You could flip everything over.
You'd just get theinverted color pattern.
It doesn't really matter whichside you defined to be which,
but the point is todistinguish which
are mountains versuswhich are valleys.
You get differentparity, it looks
like, I have matched up there.
So let's fold this, justfor some experience,
if you've never made one before.
Take your square piece ofpaper, and to get started,
let's say withthe white side up,
just fold alongthe two diagonals,
the valley folds, bringingthe two white sides together.
So you fold along onediagonal, then you unfold, then
you fold along theother diagonal.
How are we doing?
Couple diagonals.
I have the big sheet.
I should be going slower.
So now, I want to foldthat inner square,
and we've convenientlymarked the center point.
So I'm going to fold each ofthe four edges of the square
to the center, andmake sure to line up
the left and right edges,and that guarantees that I
fold parallel tothat bottom edge.
In this case, Ijust want to crease
the middle half of that line.
So I'm not creasing all the way.
I'm just creasingin the middle half
here to make that oneedge of the square,
and then I turn and Irepeat that four times.
Switch sides fordifferent visibility.
This is not the usualway to teach this model,
but I think it's themathematically appropriate way.
I'm trying to make that creasepattern as quickly as I can.
I did it with the whiteside up because I'm
folding everythingvalley, which is easier.
In reality, I wantthese to be mountains.
When I turn them over, they'reall mountains, and I'm happy.
We made some extra creaseshere, which we didn't need to.
How are we doing?
How many people aredone with those?
How many people are not?
Couple people.
Sarah, hurry up.
Now comes the funpart, and this is
to give you an idea of whatgeneral origami folds can
be like.
I want to simultaneouslyfold all those creases
that I put in exceptfor the center, where
it's supposed to be uncreased.
So I'm going to bring thosefour edges of the square in,
and if you do itright, you'll end up
with these four flapssticking out of the top.
It's not going to lie flat.
We don't have enoughcreases in yet.
But we have these fourflaps of the pinwheel,
and then you justget to choose, do I
flip them over oneway or the other?
If you flip them over as muchas they go in that direction--
I'll try to match the figure.
I'll put this guyover at the left,
crease him in, put this guydown at that end, and this guy
over to the right,and this guy up.
I get my pinwheel.
If that doesn't work outfor you, you can try again.
It's not so hard, butit gives you some idea
that putting all thesecreases in at once
is kind of necessaryfor this to happen.
In particular, if youlook at the crease pattern
of this model, thereis no fold that
goes all the waythrough the square,
so you can't make afirst fold and then
make a second fold and so on.
You really have todo this all at once.
There's many ways to do it, someof which are more intuitive,
but I thought this simultaneouscollapse is the coolest.
It's nice and fourfoldsymmetric as you do it, I guess,
if you do it right.
I think this even folds rigidly.
That's to give yousome intuition,
some real, practicalorigami experience.
And you get an idea ofwhat a crease pattern is,
when a mountain valley is.
I have two moreterms and then we
can go to math, some real stuff.
There's two notions thatinvolve mountains and valleys.
One is a mountain-valleyassignment,
and this is somethingthat goes together
with the crease pattern.
And this specifies whichcreases are mountains
and which are valleys.
Did you all get it?
Good.
The pinwheel, I mean.
So you could think of thisas a coloring of the edges,
whatever.
In this case, I'msimultaneously using color red
to denote mountains andblue to denote valleys,
and also, the standardin origami world,
although it's a bitannoying, is dot dash
means mountain anddash means valley.
That's pretty common.
You'll see that throughout.
That was invented in the1950s, I guess, by Yoshizawa,
maybe earlier.
Somewhere around there.
And then if I take acrease pattern together
with a mountain-valleyassignment,
I'm going to call this amountain-valley pattern.
That's the picture thatI'm really drawing here.
Sometimes it's useful to thinkof these as coming together,
sometimes as separate.
You're going to see thisterminology all over the place,
so I figure I should define it.
And sometimes, m ismountain, v is valley.
Now we can do some fun stuff.
I showed you thispinwheel to give you
an idea of morecomplicated folds,
the general origami folds.
But today, I want to focuson relatively simple kind
of folds, which iscalled simple folds.
Unlike this thing where I haveto simultaneously collapse
many creases, a simple foldjust involves one crease.
It is a fold alonga single line,
and we fold it by plusor minus 180 degrees.
So depending whichway you're counting,
plus 180 is maybe valley,minus 180 is mountain.
If I start with a flat folding,after I make a simple fold,
I will again havea flat folding.
What we're interestedin is, what
can you make by asequence of simple folds?
I start from asquare paper, say,
and I make a sequenceof simple folds.
At all times, I willbe flat folding.
It's easy to get there.
The pinwheel is something youcould not make in this model.
It's a restrictedmodel, but it's still
surprisingly powerful.
You still get auniversality result.
Even with simple folds, youcan make any flat thing.
And if you relax thisconstraint and don't
say it's plus orminus 180, then you
can actually make any3D thing you want.
So that's the first thingwe will prove today,
and that's in theorigami design world.
And then we'll go toorigami foldability.
I'll give you a crease pattern.
I want to know, can it be foldedby a sequence of simple folds?
That's a much harder problem,but some cases are easy.
So this the universality resultI mentioned in lecture one.
This is going to be theinefficient version,
but we're going toprove that everything
can be folded froma square paper.
I'm going to be moreprecise about what
I mean by everything.
So I'm going to imagine thereare a bunch of polygons in 3D
and they're somehowjoined together
into one connected mass.
This could be apolyhedron like a cube,
it could be apolyhedron like a bunny,
it could be somecrazy, thorny mess,
but each piecelocally is a polygon,
and you just stick awhole bunch of them
together to someconnected thing.
Plus you get to specify whatcolor, what side of the paper
you want to be visible oneach of those polygons.
You can even do that oneach side of the polygon
if you want.
And you can fold that thing froma big enough piece of paper,
such as a big enough square, abig enough rectangle, whatever
you feel like.
Bicolor paper hererefers to the idea
that your paper isdifferent colors
on one side and the other,so white on one side,
colored on the otherside, white on one side,
black on the otherside, whatever.
We usually try to draw thatwith the folded over corner.
There we go, bicolor paper.
So for example,for fun, here's how
you could imagine thisdesign by John Montroll.
This is folded from a squareof paper, white on one side,
black on the other.
It's a zebra.
And you could imaginethe input to that
problem was a bunch of polygons.
There's some white polygons,some black polygons.
Together, they forma connected union,
and that could be the input.
This could be an output tohow you fold your square
to make that color pattern.
Of course, if you gave thisinput to that algorithm,
you'll get a much uglierfolding than the one designed
by a human, but that's the idea.
You could alsoimagine you're just
given a polygonyou want to make.
You say, I want to makea horse, a flat horse.
Then you could givethat to this algorithm
and it will tell youhow to fold a horse.
That's the general idea.
So how do we prove that?
Want to make everything.
So this is an early result incomputational origami design,
I think from 1998, probably.
Trial version here is in 2000.
Any ideas how to prove this?
How can we make anything?
Got to get youthinking a little bit.
We have a subtle hint.
So the idea is to takea really long strip,
much longer than thisone, and fold it, and just
wrap around your polyhedronover and over and over,
and eventually makewhatever you want.
So it's going tobe a little flimsy,
but mathematically,it'll work perfectly.
So first thing to do isfold your paper, whatever
shape it is, down to along, narrow strip, so
a long, narrow rectangle.
Conveniently, you have yourstrips of paper already,
but if you startedwith a square,
the first thing you'ddo is accordion pleat it
down to just oneedge of the square.
Crazy already.
If you started with asquare, this is a bad idea.
If you started with a strip,it's actually pretty good.
It's probably close to optimal.
But now, how do I actually, say,wrap everything with the strip?
Let's be more formal about that.
The first thing I'mgoing to do, which
is a common trick incomputational geometry,
it's like, well,polygons are confusing.
I like triangles better.
They're much simpler.
So just triangulateall the polygons.
If I have some crazypolygon, imagine
that's some pieceof the zebra, I'll
just subdivide itinto triangles.
There's standardalgorithms to do this.
I don't want to go into that.
You can just add a bunch ofthese diagonals to the polygon,
just keep adding them as longas they don't cross each other.
When you're done, itwill be triangulated.
You can do that efficiently,linear time, even.
That's a little biteasier to think about.
Now I just have to figureout how to wrap one triangle
and then how to combine thosewrappings together somehow.
Then I could go throughtriangle by triangle,
visit everything, covereverything I need to cover.
So that's whatwe're going to do.
Cover each of thesetriangles in some order.
We're going to covereach one at least once,
possibly more ifwe're not careful.
For starters, we'llbe not careful.
And we're going to do thisby using a zigzag path
parallel to thenext edge starting
from the opposite corner.
So some technical details.
Much easier to see in a picture,so let me draw you a picture.
Let's say we want tovisit this triangle first,
and after we visitthis triangle,
let's say we'veplanned out that we're
going to visitthis triangle next.
After that one, we're goingto go to this triangle.
So this is what I'd callthe next edge, because it's
the edge connectingto the next triangle.
So I'd like to zigzagparallel to this edge,
so I want to go backand forth like that.
And then it says I want to startat the opposite corner, which
is this one.
So I'm going tostart here, and I'll
draw this a littlemore precisely.
I'm going to takemy strip and just
go this way for a little while,and turn around and come back
this way, and thenturn around, and we're
going to see how to doturning around in a moment, so
something like that.
Now I've got to start planninga little bit, because I want
to do this triangle in the sameway, meaning I want to go back
and forth parallelto the next edge
starting at the opposite corner.
So that means next thing I wantto do is start at this corner,
so I need to set this upso that I don't end here.
I'd like to end here.
You can do that just bydoing one more iteration.
If I end up with thewrong parity-- here
it looks like I won't too much.
Here it's a little ugly.
Got a little bit of uncoveredportion of the triangle,
so you need a slightlydifferent turn here.
Then I'll just come andsort of overlap myself.
That's OK.
I just have to coverit at least once.
And then I do somekind of turn here,
and then I'm going to do this.
So there's obviouslysome questions here.
How do I make these180 degree turns?
How do I make an arbitrary turn?
How do I turn even when I'mallowed to overlap myself?
I'm not going to worryabout that too much,
basically the same.
Basically, how do I turn?
How do I turn?
Well, let's take ourstrips and do some turning,
and I have a slideto follow along.
I have a big strip,a little bit too big.
So the idea is youhave your strip,
you're gone merrily along,and at some point you decide,
oh, I really need tomake a 132 degree turn.
I mean, it could beanything because here, we've
got to make some crazy turn.
We don't know whatthe amount is.
So the turn gadgetis always the same.
You start out by making amountain fold perpendicular
to the strip.
So just fold inhalf, so to speak.
Of course, half ofthis is connected
to everything you built already.
The other half, you don't know.
And then you take the back layerand fold it to whatever angle
you want.
You have this degree of freedomwherever you want to put it.
So for example, if we wantedto make an obtuse angle.
I'm always going to foldincident to that bottom corner.
It's a little hard tohandle, but you get the idea.
That's a nice, perfectturn right there.
Looks even cooler on my side.
You just see the angularbisector or something.
So that's a decent obtuse angle.
Things are little bit uglierwhen you make an acute angle,
something like this.
You could make whateverangle you want.
You should haveenough strip to make
several turns ifyou feel like it.
If I make an acute angle likethis, I get some overhang.
So I have what I want, whichis the strip coming here
and the strip cominghere at the extremes,
but over in this corner Ihave some extra material,
and it could be a lot.
But whatever it is,I'll just rid of it
by folding itunderneath repeatedly.
In this case, onefold, it's gone.
In general, whenI make that fold,
it might come out over here andI have to wrap around that cone
several times.
There's probably anexample of that here.
This figure in themiddle version,
you start just the same byfolding a super acute angle.
I fold that corner over andit overhangs a little bit
on the bottom,but it got tinier.
And if you just wrapit around the corner,
eventually it will disappear andyou have exactly what you want,
which is a strip cominghorizontally and then a strip
coming off diagonally atwhatever angle you wanted.
So that's really easy.
That's what wecall a turn gadget.
So we do thisusing turn gadgets.
Now, you can't actually turnwith 180 degree angle here,
which is why inthis picture, what I
drew was a 90 degree turn andthen another 90 degree turn.
You can do thathowever you want.
That's one way.
In fact, the way I've shownit, it would be orthogonal,
but doesn't really matter.
These turns are not much harder.
You just do one or two ofthose turns to get aligned.
And you can decide here, doI turn around to the left
or do I turn around to theright, and then I zigzag?
Depending on which way Igo, I will end up either
at this corner or this corner,and if my next triangle's
up here, then I want toend up at this corner.
If my next triangle'sover here, then I
want to end up at this corner.
You plan out ahead oftime what order you're
going to visit thetriangles, just decide.
Technically, it's like thetraveling salesman problem,
but you don't have to beefficient at the moment.
We're not worryingabout efficiency.
Just visit triangle aftertriangle, keep going to one
you haven't visited before.
It could be far away from you.
Maybe you have to go overmany triangles you visited
before, but eventuallyyou'll get to one
you haven't visited untilyou're done, and then boom,
you've made anything.
Amazing.
We haven't quiteproved the theorem.
At this point, we can make anyconnected union of polygons.
This is one polygon,but if you're
in 3D, when you cross overfrom one polygon to the next,
you might have to bend it atsome angle that's not flat,
but then you can makeany 3D thing, too.
Yeah?
AUDIENCE: When you wrap aroundthe triangle whose edge type
is the bottom, howdo you do that when
the top left triangle is there?
PROFESSOR: Sorry.
When I wrap around here?
AUDIENCE: No, the trianglewhose edge is the bottom edge.
PROFESSOR: This one?
AUDIENCE: Yeah.
How do you do that,given that there's
the triangle in the top left?
PROFESSOR: Oh, I see.
The question is,what do I do here
because I'm going to overlapinto this triangle again?
AUDIENCE: Right.
PROFESSOR: Yeah.
So you have to be alittle bit careful here,
and there's one other gadgetI need to mention here,
which is the hide gadget,I think it's called.
Because I didn't foldexactly this triangle,
I folded too much.
At this point when I have thestrip here, and maybe a little
bit out of the way,I'd like to get rid
of all this messy stuff,just tuck it underneath.
So I'm going to fold along thisline, fold all this stuff back
behind, and that might still bea mess because it could stick
out over here or somewhere else.
So let me tell you about thehide gadget a little bit,
maybe over here.
You have to be a little carefulwhen you do that exactly,
but it's not that hard.
So in general,the hide gadget is
you have some convex polygon.
Here, it's always going tobe a triangle, actually,
but this would workfor any convex polygon.
You have some folding whichcontains that polygon,
but it might go outsideall over the place.
That's our situation.
We want this triangle.
We have a folding thatincludes the triangle
but it has all thisjunk on the outside.
All you need to do isrepeatedly fold along
the extension ofeach of these edges,
and you can prove-- I'mnot going to do it here
because it's alittle bit messy--
but as you fold thatthing, obviously
the area that you gooutside gets smaller,
and you do make steadyprogress and eventually,
after finitely many folds,you will have reduced
this thing down tothe convex polygon.
Just keep folding mountainfold along each of those edges.
And I think there's evena pseudo polynomial bound
on the number of foldsyou need to make,
although I won'tgo into that here.
So that's what you dowith this triangle.
Then you fold the next one, andthen you apply the hide gadget
to that triangle.
When you do that, there isthis triangle in the way.
Technically, I guess,that wouldn't quite
be simple folds because you'refolding along this line.
You need to tuck itin between the layers.
You have to avoid collisionwith this triangle
and go underneath this one.
Hm.
I hadn't thought about that.
I'd like to say thisworks with simple folds.
It sort of does in thateach fold you make,
you're just foldingalong one line at a time,
but you do actuallycollide in the middle.
It's not so ideal.
Origami folds, thisdefinitely works.
I wonder if there's a way todo it with simple folds now.
Interesting.
Hm.
I don't know.
AUDIENCE: Can youundo the corner gadget
to separate thetriangles, hide the folds,
and then put them back?
PROFESSOR: The question is,can I pull them apart, do them
separately, and pushthem back together?
Pulling them apart and pushingthem back together would not
be simple folds, I think.
Maybe you could do it.
AUDIENCE: You justtype a [INAUDIBLE].
PROFESSOR: Yeah, OK.
Interesting.
We should think about that.
I'm surprised this is notknown, but I'm pretty sure
now that it's not known.
Maybe first openproblem session,
we can solve thatin a few minutes.
Should be doable.
There's one moregadget we need if we
want to get thetwo color pattern.
This polygon maybeis all one color.
Maybe it's all thecolored side of the paper.
But then at some point,we might transition over
to another polygon, andmaybe that's the other color.
So all we're going to dois we're, again, visiting
these triangles in some order.
Whenever we go between a blacktriangle and a white triangle,
we are going to applya color reversal
gadget, which is very simple.
I forgot to color oneside of the strip,
so bear with me for a second,and feel free to color
in your own strip.
Probably killing thismicrophone right here.
Purple on one side,white on the other,
although it's so transparent,it looks almost the same.
The idea is very simple.
Where are we starting from?
We're starting fromthe not purple side.
Then we make a mountain fold.
It's just like a turn gadget.
In fact, it's just likeyou're turning 90 degrees.
We fold up like this, andthen we just immediately make
another 90 degree turnwithout the first fold,
and we get a sharp transitionstraight along the strip
from light purple to darkpurple, it looks like,
but from the white sideto the purple side.
Right when you transitionbetween any pair of triangles
of the opposite color, youjust apply this gadget.
You make three morefolds, and boom,
you've got your color reversal.
AUDIENCE: Can you do that again?
PROFESSOR: Do it again?
All right.
So first I make a mountain fold.
Now both sides are white.
Then I fold this guy up, sonow I have a regular 90 degree
turn, and then Ifold this guy back.
That's the tricky part becauseyou can't see what's happening.
Let me flip it over for you.
So I'm just foldingthe top two layers here
along that 45 degree angle,and then I get that transition.
On this side, it'sstill purple and white
but it's a little uglier.
It's on the slide.
You can try again.
It doesn't say here, butfold just the back layers.
All right?
Questions?
So that's how you canvisit all these polygons,
do color transitions, you can doit in 3D, make any polyhedron.
A little crazy, butthe point is you
do need to do some algorithmicconstruction to really see
this method work.
You need those three gadgets.
You need to be surethat you can actually
combine them in the right way.
And I'm hand waving a littlebit some of these details.
You should be morecareful, but it works.
It's obviouslyhorribly inefficient,
but we can make it at leasta little bit more efficient.
Let me tell you about that.
So we can achieve something Icall pseudo efficiency, which
is if you are allowed tostart with any rectangle
you want, so inparticular, if we
start with a long strip ofpaper like you did here,
then you can makethis super efficient.
The area of the piece ofpaper that we start with
can be equal to thesurface area of the thing
that we want to fold.
If we could achieve this,we would be really happy.
That means we have zero wastage.
I can't get zerowastage, but I can
get just a littletiny bit of wastage.
So we write epsilon for a verytiny result, very tiny error.
So epsilon doeshave to be positive,
we have to havesome wastage, but it
can be arbitrarily small.
Basically, the narrower andlonger you make your strip,
the closer the areaof your piece of paper
gets to the surface area of yourtarget shape, which is the best
you can hope for.
So with this crazy proviso,which is completely impractical
we get a superpractical outcome.
And the summation isnot very practical,
but it's kind of nifty,and I particularly
like the proof technique.
It uses a very powerful tool incomputational geometry, so let
me show it to you.
So the central issue is thatwhile visiting a triangle,
we actually dopretty efficiently.
Except for the verylast strip, where
we might overlap ourselves,except for these little corner
turn gadgets, and alsothe material that's
used up in thegadgets themselves,
We're actually really efficient.
We're covering thistriangle almost one for one.
There's a little bitof garbage at the edge
and a little bit ofgarbage at this edge,
but you could imagine asthe strip gets smaller,
this wastage gets smaller,because it's essentially
this length times thewidth of the strip up
to constant factors.
So as the strip gets narrower,it gets closer and closer
to this thing times0, so this wastage
gets closer and closer to 0.
Same thing over here,same thing over here.
The real problemat this point is
that we visit some trianglespossibly many times.
I was totally free abouthow I visited triangles.
Maybe I go here and then overhere and then back over here.
I may be very wasteful.
So I just want toavoid that wastage.
Just visit each triangleonce, exactly once.
How could you doit exactly once?
With a great idea calledHamiltonian refinement.
I've used this idea many times.
This was the firsttime I used it.
It's very cool.
I think it goes backto '97 or something.
So you have some triangulation.
I'm going to keep itrelatively simple.
And I'd really like to visiteach triangle exactly once.
So you think, OK,maybe I'll start
here, then I'll go over here,and over here, and uh oh.
Then I'm stuck.
I can't get to theother triangles
without revisitingan existing triangle.
It's impossible to find whatwe call a Hamiltonian path.
Hamiltonian path will visiteach triangle exactly once.
But who cares aboutthese triangles?
I just made thesetriangles to make it easier
to think about a polygon.
I could actuallycut these triangles
into smaller triangles andideally make it Hamiltonian.
So here's the idea.
There's this idea called thedual graph, which is also
pretty central incomputational geometry,
where I'm going to make alittle dot for every triangle
inside each triangle,and then I'm
going to connectthose dots whenever
there is two trianglesthat share an edge.
This is called the dual graph.
These parts are called the dualgraph of the triangulation.
And in this picture,I've got a nice, kind
of tree-shaped graph.
In general, you mightget cycles, but then
just throw away edgesuntil you get a tree.
I really like tothink of it as a tree,
and if I throw in enoughedges, it will be a tree.
Then my idea is I'd reallylike to just visit everything
in this order, walkingaround the tree.
I can go around ina cycle and visit
each of these littlepolygons exactly once.
Now, these polygonsaren't triangles,
which is kind of annoying,so I just triangulate.
So you could just triangulatelike this, I guess.
If you want to beexcessive and simpler,
from every one ofthese dots, you
can cut to the midpointof the three edges
and also cut to the vertices.
For every triangle, I justcut to the three vertices
and cut to the midpoints.
You do that, andyou are guaranteed.
This gets a little messy,but this is theoretical.
You will increase the number oftriangles by a factor of six.
Each triangle gets replaced bysix little smaller triangles.
It covers the same region,and yet now it's Hamiltonian.
Now I can visit these trianglesand visit each triangle exactly
once, and that's how youget pseudo efficiency.
Pretty easy onceyou know this trick.
Questions?
AUDIENCE: Why is itcalled pseudo efficiency?
PROFESSOR: Well, I made that up.
Why is it calledpseudo efficiency?
Because it's notreally efficient.
It is efficient,I agree, but only
with this crazyassumption that you're
allowed to start with anarbitrarily narrow strip,
and that's not really practical.
The practical origami problemis I start with a square.
How big of a square do Ineed to fold this shape?
And that's something we'lltalk about probably next week.
That's been studiedbut it's a lot harder,
so I'm startingwith the easy stuff.
AUDIENCE: Does this necessarilykeep the mountains and valleys
that you definedat the beginning?
PROFESSOR: Will this keep themountains and valleys the same?
The input didn't specify wherethe mountains valleys should
be.
It just said you haveto make these polygons.
Every fold you make in thisconstruction will stay,
but you may make more folds thatgo on top of existing folds.
I think all the mountains andvalleys that you define here
will remain mountains or valleysas we specified, but keep
adding creases until you finish.
Yeah?
AUDIENCE: Are youjust doing a 2D case
of what we call the3D pyramid there?
[INAUDIBLE]
PROFESSOR: The questionis, what about 3D?
This dual graph ideadoes work in 3D.
I drew a 2D picture becauseit's a lot easier to draw,
but you could imagine, forexample, you have a cube.
I'm not going to beable to draw everything,
but you can stillform a dual graph.
I should havetriangulated the cube,
but in fact, you can dothis for any kind of graph.
I'm making a dot forevery face of the thing
that I want to make.
Each of thesepolygons, I make a dot.
So in fact, if Ifinished this picture,
I would get the dualgraph is the octahedron.
It would look somethinglike this topologically.
It doesn't have tobe a geometric thing.
It works just as well in 3D.
It actually stillworks even if you just
say, for everytriangle, just cut
to the midpoints of the threeedges and to the vertices.
Then that thingwill be Hamiltonian
and you can walk aroundit by doing this dual
and spanning tree construction.
I won't go into itexactly, but that
could be done in linear time.
I'm still only making atwo dimensional surface.
I'm not trying tomake a 3D solid here,
so that's why locally,it's two dimensional.
Locally, this just works.
Another question?
AUDIENCE: So it seems that ifyou could also just stick with
the original construction,and when you cannot find
the Hamiltonian path aroundthe triangles, [INAUDIBLE],
you don't cover them again, youjust get a narrow strip that
runs through them andjust rigidly [INAUDIBLE]?
PROFESSOR: That's a neat idea.
So instead of doing thisHamiltonian refinement,
you could visit thetriangles in any order,
but then to getfrom one triangle
to some distanttriangle, instead
of covering all the triangles inthe middle which you've already
covered, which isexcessive, just go
as straight there as possible.
Locally, you'd think of thatas being a one dimensional
wastage instead of atwo dimensional wastage.
So probably you can get thesame result by that technique.
I hadn't thought of that before.
We should check it, butI think that should work.
This is kind of cooler, justbecause it uses a fancy tool,
but I imagine with alittle more analysis,
you could prove thatthat works because you
know there aren'ttoo many triangles.
Good.
I think I'm going toskip seem placement
and move on to foldability.
This was a little introto origami design.
Obviously not practicalyet, but it's something.
It's nice and universal.
You can make everything.
So let me tell you a littlebit about the other side
of the world, which is,instead of a target shape,
what if I gave youa crease pattern?
We just want to know, doesthis crease pattern fold?
I give you the creasepattern of that pinwheel.
I say, does thisfold into anything?
Does it fold intoa flat origami?
Does it fold intosomething else?
Can you fold itwith simple folds?
Can you fold itwith origami folds?
Those are allinteresting questions.
We're going to start with avery simple form of it, which
is when the piece of paperis one dimensional, which
is almost what youwere thinking of here.
It's like strip folding, butI'm going to furthermore require
that all the folds I make areperpendicular to the strip
direction.
So I'm always going to foldlike this and then like this.
So it's going to remain a strip.
It'll just be a smaller strip.
I know it seems kindof boring, but it's
something weunderstand really well,
so that's why I'm goingto tell you about it.
And then it relatesto locally what
happens at one vertexof the crease pattern,
but we'll get tothat next class.
So one dimensional flat folding.
I don't have themanymore here, but I'm
going to redefine "piece ofpaper" and all these things
because I want tobe even simpler.
So piece of paper now is goingto be a one dimensional line
segment.
A crease is going to bea point on that segment.
In general, a crease isone dimension smaller
than the piece of paperyou're working with.
You could actuallydefine "piece of paper"
to be a five dimensionalsolid if you wanted.
Then creases would befour dimensional flats,
they're called.
It's not a hyperplane.
Four dimensional flat.
That's what they're called.
Or if you wanted to do curvedcreases in five dimensions,
then it's a four dimensionalsurface somewhere in there.
We won't do 5Dorigami in this class.
Flat folding now means thatyour folding lies on a line.
Of course, it willalways lie in the plane
if you're folding a linesegment in the plane.
So generally, we take apiece of paper one dimension,
we fold it in a spacethat's one higher dimension,
so we're going to befolding this thing in 2D.
We use increases thatare one lower dimension.
Here, zero dimensional points.
If we want it to be flat,it should in the end
lie in the same dimensionthe piece of paper did.
It's great becauseI can just draw.
There's my piece of paper.
Here are some creases.
They're spread out however.
Maybe they're markedmountain and valley,
and I'm not going to usedashes and dot dashes here
because they'repoints, so I'll write
m's and v's,something like that.
And I didn't check,but this either
will be flat foldable or not.
I think it is.
How do I know that it is?
Because we have a greatcharacterization that tells you
when a mountain valleypattern is flat foldable.
Now, the firstquestion you might ask
is, what aboutcrease patterns if I
don't specifymountains and valleys?
Then you can alwaysfold anything.
If I just gave you asegment and I put creases
in some crazy pattern, allI do is alternate mountain,
valley, mountain, valley,mountain, valley, mountain,
valley, and I'm going to regretmaking such a big example.
And I just go mountain, valley,mountain-- it alternates.
You get some zigzag.
And this thing is not goingto collide with itself.
It just works.
In fact, you could even foldit one step at a time left
to right by simplefolds, and you'll
get a nice flatfolding of that thing.
So every creasepattern can be folded
with some mountain-valleyassignment, namely
the alternating accordionpleat, but what if I give you
the mountain-valley assignment?
Sometimes I can doit, sometimes I can't.
So here's an example whereyou can't, two valleys
with some really bigsegments on either side.
So when you try to fold that,it looks something like that,
and if one of these wasreally short, one of them
could tuck inside the other,but because they're both long,
they have to collide.
That's the sort of thingwe're worried about
and we'd like to detect thatefficiently with an algorithm.
So let me tell you how.
We're going to use twodifferent operations,
and both of theseoperations will, in fact,
be performableusing simple folds.
What we're goingto end up proving
is that a one dimensionalmountain valley
pattern is flat foldableif and only if it's flat
foldable via a sequenceof simple folds.
So these simple folds thatwe've been arguing about
are universallypowerful for 1D paper.
They are not universallypowerful for 2D paper
because you cannot fold thispinwheel with simple folds.
There's no first fold to make.
But in one dimension,turns out there is.
It's not obvious, but it's true.
And here, we're going tomake two very simple kinds
of simple folds.
The first one is calledan end fold, which
is you take the last, orthe very first crease,
and you just fold it over.
That's an n fold.
Now, for this to be validin the simple folding world,
to not get stuck,I'm going to require
that this portion hasno creases inside it.
So it could have a creaseright at the boundary,
but there are nocreases in that region.
So when I fold this thing over,I don't cover anything up.
No creases get covered up.
This in some sense isclearly a good thing to do.
This may not exist.
If you find such a creaseand you make this fold,
now you can think ofthis piece of paper
as sort of glued up there.
You can think of just you cutoff one part of the paper.
You made a problem even easier.
So this is clearlya safe thing to do.
It should make yourfolding easier,
but usually it doesn't exist.
In that case, wemake what's called
a crimp, which iswe have our segment.
We take two creases withdifferent mountain-valley
assignments.
Maybe the first one'smountain, second one's valley,
but they're different, andthen we fold those two creases.
Something like that.
So the paper get smalleragain, but here it's
a little less clear what'shappening because there were
creases over here,creases over here.
They got closer to each other.
Maybe that's a problem.
Maybe it messes you up.
Turns out it doesn't.
The other thing, again, werequire, if this is distance x,
we require that this regionof length x and this region
of length x is empty of creases.
There's nothing there.
You could have thingson the boundary
but nothing interior to here,nothing interior to here,
and nothing interior to here.
Just two increases with sortof a nice, safe neighborhood
around them so thatwhen I make these two
folds, this whole region,I didn't cover anything up
in there.
There's nothing inthis Zorro mark.
That's the definition ofan n fold and a crimp.
Now, maybe thesethings don't exist.
I claim if they don't exist,you are not flat foldable
no matter what you do.
These are enoughto make everything
that is flat foldable.
We're going to prove that.
We're going to characterizeflat foldability by saying,
if I gave you somemountain-valley pattern,
and I want to know,is it flat foldable?
Remember, amountain-valley pattern
is a crease pattern togetherwith m's and v's written
on each crease.
I claim it is flatfoldable if and only
if there is a sequenceof crimps and end folds.
So this is saying that crimpsand end folds are all you need.
In fact, we're going to showthat you can make any crimp
and any end fold,anything that looks valid,
anything that has theseempty regions here,
just greedily keep doingone after the other
without regard to what'sgoing to happen in the future.
If you get stuck, then yourthing in the first place
was not flat foldable.
If you finish, obviously,it was flat foldable.
You've folded it.
So it doesn't matter even whatorder you do these operations.
I won't write that here,but we will prove that.
And there's anothercharacterization
which we use to prove this one.
This is the one we care about.
This one's a little biteasier to think about.
I call it the mingling property.
It says mountains and valleyshang out with each other,
basically.
That's why I call it mingling.
So what does it mean?
If I take a wholebunch of v's in a row,
or I take a whole bunch m'sin a row, as many as I can,
that means they're surroundedby creases of the other type
or possibly theedge of the paper.
But if I take a whole bunchof v's, then the next crease
and the previous creaseare m's, let's say,
then the adjacent creaseof the other type,
or possibly theend of the paper,
and I want this to betrue on at least one side.
This is, again, oneof those things that's
much easier in a picture, butI will write down the words
first.
Is nearer than the adjacentm or v. Sorry, backwards.
I'm trying to useparallel construction here
but I got it invertedfor my notes.
Let me draw the picture.
You have a segment.
Suppose I take some maximalsequence of m's all in a row.
So maybe on one side,maybe the next thing
here is just theedge of the paper
so there's no crease there.
If this was it, then Iwould say this thing is not
mingling because thisdistance is bigger
than this one and this distanceis bigger than this one.
So these m's are reallyclustered together.
They're not mingling withthe edges, so that's bad.
And in fact, thisthing is not flat
foldable for the samereason that one is not.
But if, for example, I puta valley crease right here,
then this is closer than that.
I mean this distance issmaller than that one.
So I call that mingling becauseat least on the right side,
the m's are minglingwith the v's.
On the left side,they're not mingling,
but right side'sbetter than nothing.
I need this to holdon at least one side.
Could hold on both.
I claim this thingis flat foldable.
Is that true?
Yeah.
Maybe.
It doesn't look so true.
I think I probably need somecondition on the v also.
Well, we'll see whathappens in the proof.
That's more exciting.
Usually the proof iseasier than the example.
Oh, I see why.
There's a problem here.
I think I need to say "forever."
I'll say what Imean by that later.
The proof will stillwork, but it's not
such a pretty property.
The proof is in threeparts, basically.
First part is ifyou're flat foldable,
then you are mingling.
Certainly, if I want theseall to be equivalent,
it should be true that thefirst one implies the third one.
This is actuallyreally easy to prove.
Suppose it were not mingling.
Suppose I had somecrease pattern that
violates that constraint.
What that means is Ihave a bunch of m's here,
I don't know howthey're spread out.
Then I know thatthere's a big gap
until the next crease,something like that.
Well, let's think about--there aren't really
that many ways to folda whole bunch of m's
in a row or a whole bunchof v's that's symmetric.
You pretty much haveto spiral around.
You're always turningthe same direction.
If it's flat foldable, whichis what we're assuming here,
it's got to lookkind of like that.
In fact, it has two ends,so it could actually
make two spirals.
But if you think aboutwhat happens there,
this last part at the end of thespirals, that's this segment.
That's when you possibly turnaround the other direction.
Maybe this is the valley.
But take a look atwhat's going on here.
This segment is tuckedinside the spiral.
If it's super longlike it is here,
if it's longer than the previousportion-- let me label this.
This is x, this is x,this is y, this is y.
That looks really bad.
x has to be smaller than y.
Otherwise, it's goingto penetrate right
through that corner.
In this case with the doublespiral, double spiral all
the way, what does it mean?
I guess no one knowsdouble rainbow.
Bad stuff.
In the double spiralcase, in fact, this end
must be shorter thanthis one and this one
must be shorter than this one.
So in this case, you mustbe mingling on both sides,
but it doesn't haveto be that way.
If it's just a singlespiral, this last segment
can be really long.
That's OK.
It's much longer than thisone, but the inner part
of the spiral mustalways be smaller
than the next segmentof the spiral,
and that's exactlywhat mingling says.
Could be on the left, could beon the right, you don't know.
But on at least one of thesides, you must be mingling.
And therefore, if you're goingto have a flat folding at all,
you must be mingling.
Clear?
Question?
AUDIENCE: When you say a maximalsequence, what do you mean?
PROFESSOR: Maximalmeans that you
can't make it anybigger locally.
I can't add any morecreases and still
have a contiguousbunch of mountains.
It's a good question.
In mathematics, there'smaximal and maximum.
Maximal means locally biggest,maximum means globally biggest.
So I don't mean takethe biggest sequence
of contiguous m's you can find.
I just mean take some contiguoussequence of m's that you
can't make any biggeron either side.
I just mean that it'ssurrounded by valleys.
I want this to hold for everycontiguous sequence of m's.
That's one of those funnymath technical terms.
Other questions?
So that's the first thing.
Somehow I want to connect allthese properties together.
The next part is thatif you're mingling,
either there's an endfold or there's a crimp.
At least one of those twothings must be possible.
So this would be goodnews because if I'm
flat foldable,then I'm mingling.
If I'm mingling, thenthere's a fold I can make.
That seems like progress.
Then I have to show thatI don't mess anything up
when I make that fold.
But if I could keep goingin a circle like this,
then I would keep beingable to make folds,
and then eventually Iwould fold the whole thing
because there's onlyend folds at the end.
I'll have made them all.
It's not that muchtrickier, I guess.
It involves parentheses.
That's one way to write it.
Yeah, question?
AUDIENCE: So rightnow, the main property
is finding a way that[INAUDIBLE] two or more?
PROFESSOR: That's right.
AUDIENCE: And there is anexample that [INAUDIBLE]?
PROFESSOR: Yeah.
Just ignore this.
It'll be easier tothink of it that way.
I'm going to use minglingto prove this property,
but this is not equivalentto those properties.
You need to add"forever," but that's
too confusing at the moment.
This is a definitionof mingling.
We're going to use itas a separate thing,
and I'm going to prove thesetwo things are equivalent.
Then I'll be correct.
Correct is always a good thing.
So what I want to do is for eachof these mingling sequences,
for each maximalsequence of m's or v's, I
want to write down two symbols.
I'm going to write a curvedleft parenthesis if it
is left mingling, meaning I haveall these mountains, let's say.
Draw it in a reasonable way.
Then I'm happy on the left side.
I'm mingling with a v withan m fold on the left side.
I know it's either leftmingling or it's right mingling.
I'm assuming mingling here.
I will write a squarebracket if it's not.
Then I will write acurved right bracket
if you're rightmingling, which is just
the same picture buton the other side.
And I'm going to write a closedsquare bracket if it's not.
Then I claim thatparentheses sequence
has some nice properties.
So for example, thisis a string that I get.
It might look likethis, maybe that.
Who knows?
It looks like something.
I know that every pair, at leastone of the two sides is curved.
I can't have them both besquare because then you're
not mingling at all.
I know I'm always minglingleft or mingling right,
so it's something.
Now, one thingthat's really good
is I have no doublesquare bracket.
That's impossible.
I also know thatif I had something
like this, what does that mean?
It means I have a bunchof mountains over here,
then I have a verynearby valley, and then
a bunch of valleysover here, and I
know that the mountainsare right mingling, which
means I know thatx is bigger than y.
That's what this symbol means.
It means to the right of them's, I've got a small gap,
and it means to the left of thev's, I also have a small gap.
That means y is also biggerthan this z distance.
AUDIENCE: Smaller.
PROFESSOR: Thank you.
Smaller.
I'm too tempted tocombine them together,
but it's a funny looking thing.y is smaller than both x and z.
So then what do I do?
Crimp.
That was sort of thedefinition of a crimp,
that at least if I tookthis region x and copied it
over here, those wereempty of creases.
And now we're saying thatthere's a big gap here.
I guess technicallyit's bigger than
or equal to if you saidall these things right.
I said "nearer," but Imeant non-strictly nearer.
It's enough to do a crimp.
So if I find this, I'm happy.
The other thing thatI'm really happy with
is if I have an openparen at the beginning,
a curved parenthesis,open parenthesis,
at the beginning of thestring, or a right parenthesis
at the end of thestring, because that
means I can do an end fold.
That means that you havea very short segment
at the very beginning soyou can just fold it over.
This means you have ashort segment at the end.
Just fold it over.
So as long as I can findone of these three things,
I am golden.
I have what I want, whichwas an end fold or a crimp.
How do I prove that Ihave one of those things?
The easy way isby contradiction.
Just imagine if you didn'thave any one of these things,
it's pretty forced what youhave to have in your string
because you know you must startwith an open square bracket.
You also know that you cannotthen immediately have a closed
square bracket, so youmust have a closed paren.
Now I know that I cannot havean open paren because then
I'd have this, and thatwould be good for me.
So if I want to be bad, I haveto have an open square bracket,
but then I'd have tohave a closed paren,
and then I'd have to have anopen square bracket, and so on.
In the end, you will havea closed paren at the end,
and that means youcan make an end fold.
So either somethingfailed in here.
Maybe I had two parenstogether-- then I
would have gottena crimp-- or I can
keep going all theway through here
and get a closedparen at the end.
In any case, I get at leastone of these three things
happening, and so I geteither an end fold or a crimp
assuming I am mingling.
And instead ofassuming I am mingling,
I can just assume thatI'm flat foldable,
and then I get from thischain of implications
that there is anend fold or a crimp.
OK so far?
So that means I canmake at least one fold.
If I am flat foldable, I canmake at least one crimp or end
fold.
Now the question is,can I keep going?
For that, we needone more property.
If I make a crimpor an end fold,
I want to prove that thatpreserves flat foldability.
What that means is if Istart with something that's
flat foldable and then Imake a crimp or an end fold,
I will still be flat foldable.
This is the propertyI need because it
will let me close the chain.
I'm flat foldable,therefore I'm mingling,
therefore I have an end foldor a crimp, so I make it.
This property says that Iwill still be flat foldable,
therefore numberone applies again.
I'm still mingling, Ican still find a fold,
and I'm still flat foldable,so I'm still mingling.
I can still find a fold.
I can keep going.
I will never getstuck because I'm
guaranteed if Istarted flat foldable,
I will be flat foldable forever.
I will also be mingling forever.
I realize now butapparently have not
realized before, it's notenough to be mingling just
at the beginning.
You have to be minglingthrough every step there.
In fact, what we'reshowing is that you're
fat foldable at every step,which implies mingling,
but mingling isnot quite enough.
You'd have to check itall the way through.
That's why I statedthe theorem wrong.
How do we prove thistheorem, this claim?
I'm going to do itproof by picture.
It's not always OK,but it will be OK.
Trust me.
We are assuming thatwe're flat foldable
and we're assuming there'sa crimp or an end fold.
Actually, we knowthat that exists.
I'm going to thinkabout the crimp case
because end foldis even simpler.
See, here's the thing.
I would really like to foldsome crimp like this, let's say.
This is an m, thisis a v. What I'm
claiming is I'm allowedto make that crimp first
and then do everything else,but conceivably, there's
some flat folding thatdoesn't make this crimp first.
I mean, it mustfold this mountain
and it must fold thisvalley, but at some point.
We don't really know when.
Somehow it allsimultaneously collapses
into some flat folding.
Now, this thing should be flat.
It should line in a line.
I'm stretching it outso you can see it.
It's a segmentthat we're folding,
so maybe it does this,some crazy thing.
Maybe this part doessomething crazy here,
goes there, whatever.
We know it's not crossingand it's sort of horizontal,
but it could be an ugly mess.
And in particular,in this picture,
it does not look like this crimpwas done first-- maybe embolden
the crimp here-- because there'sthis stuff in the middle.
Now, we know that there'sno creases in here.
We know the earliest we can turnis at the ends of the crimp.
But there could be stuff thatcomes in the middle here.
What do I do?
I just move thestuff out of the way.
Let me do this the right way.
Got to do this alittle bit carefully,
and unfortunately, mypicture is so messy,
hopefully you can see it.
So I'm going to take this part,which is inside the crimp,
I'm going to moveit down here, just
lower those layers down to here.
Now I know locally,there's a fold right here.
And so if I take allthe stuff that's in here
and move it down here, itwill still be non-crossing.
And then I take this stuffand I move it up here.
Equivalently, you canthink of me crushing this
down and crushing thisup, but it's actually
important the directionthese things go.
I could not put this stuff uphere because I don't really
know how long this goes.
It's not valid for meto try to put it up.
I could collide with something.
But I know that there'sa crease right here,
so I can put it right over here.
I can take this stuff andput it right over here.
This is a weird kind ofmanipulation of folded states
which we don't normally do,but here we need to do it.
After I've done that--is there any hope
of me redrawing the picture?
Maybe.
After we've done that,we'll have the crimp.
It will be nice and tight.
And then we'll havethis finger here,
and then it goes uphere, up this anvil.
Then this part, insteadof going inside,
actually goes in here, upthere, something like that,
and that's the end.
Then this is the other side.
Other side wasn't toocomplicated, I think.
But you can check.
I guess now it's down here.
But you can really justdo the shifting locally
and it doesn't mess anything up.
I'm going to wave myhands because it's
a bit messy toreally prove that.
But if you do that, boom.
Now this crimp looks likeit was actually done first.
You can see that thisfolded state could
have been made by first doingthat crimp and then folding
the rest.
You can treat this as if thepaper was fused together here,
and that will be a folded stateof that smaller piece of paper.
So even though we were shiftingcreases closer to each other
and it looked a littlescary what's happening,
we know from thisconstruction if you
could fold the original thing,you can fold the thing even
when the crimp gotfused together.
Therefore, crimpsare always safe,
and by an even easier argument,end folds are always safe.
I already gave thatargument, basically.
So a little crazy,but that proves
that you preserveflat foldability
by going in this chainn or n over 2 times,
you will fold everything if youwere originally flat foldable.
If you're not, you will getstuck because otherwise, you
would find a folding, and so on.
Clear?
I'll just mentionyou can generalize
this to folding two dimensionalmaps with simple folds.
I should say, of course, anend fold is a simple fold.
A crimp is two simple folds.
You can first foldalong the mountain,
you won't get any collision, andthen fold back on the valley.
That's a simple fold.
So this is saying,in fact, something
is flat foldablein one dimension if
and only if it is flat foldableby a sequence of simple folds.
As long as you stick tocrimps and end folds,
it doesn't matter whatorder you do them in.
That's not true as soon asyou go to two dimensions.
So for example, justfor fun, do I really
want to draw the whole thing?
I guess I've committed.
There's a coupleexamples in the notes
that you can take a look at,and I encourage you to make one.
This can be folded flatbut not by simple folds,
and you can see that it can'tbe followed by simple folds
because there's no fold thatgoes all the way through.
This line is valley,mountain, mountain.
There's no line that's allmountains or all valleys.
But you can use this structureto understand at least which
rectangular maps withhorizontal and vertical creases
can be folded flatby simple folds,
and the answer would be no here.
All you do is you say, well,I know if there's any fold,
I must have a mountainor a valley that
goes all the way through.
So Imagine here'syour rectangle.
There's got to be somethingthat's valley all the way.
Now, if you think about a creasethat goes the other direction,
these are two valleys.
You can show, just by playingaround with a little pattern
like this, you cannot havethese two both be valleys
because that would beall four valleys is bad.
If you try that, doesn't work.
Or it also can'tbe both mountains.
You can't valley, mountain,valley, mountain in order.
That doesn't fold.
So in fact, thesehave to be different.
One's mountain, one's valley.
I don't care which is which, butI know that this line actually
cannot be foldedby a simple fold.
It's got a valleyand a mountain.
So in fact, the picture hasto be I have a line like this.
Maybe I have a few lines thatare mountains all the way
or valleys all the way.
And any horizontalline I can't fold.
I've got to finishfolding these guys first.
That means I have a onedimensional problem.
So I apply this algorithmto see whether that one
dimensional thing folds.
Once I've folded allthose vertical things,
solved that onedimensional problem,
I will then have ahorizontal problem,
and then I'll havea vertical problem.
You just keepdoing this, and you
can show in thesame way you always
preserve flat foldability.
You just keep doingcrimps and end folds,
and this will foldyour map if it's
at all possible by simplefolds, which most ones that
are in production arefoldable by simple folds.
Question?
AUDIENCE: Yeah.
If we go back to theexample where [INAUDIBLE]?
PROFESSOR: Yeah.
AUDIENCE: [INAUDIBLE]mountain, it would be reversed
and then it would befoldable [INAUDIBLE].
PROFESSOR: Yeah.
This is good.
This is the casethat could work.
This is foldableif you try it out.
You first told here,and then the valley
falls onto the mountain but itturns upside down as it folds,
and so they actually nestnicely inside each other.
It's confusing becauseit's inverting.
This is the one valleycase, but my point
is you have to fold thisbefore you fold that.
There's a little moredetails in the notes here.
You can make this into a reallyfast linear time algorithm
if you use fancydata structures,
but that's beyondthis scope, and that
is the end of lecture two.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316The 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: So, the first thingthat we did is look at a
simple polymer model not toodifferent from polymer models
that we've seen before.
That is, models for molecularconfigurations.
The difference in the case thatwe treated last time,
though, was that instead ofhaving just a handful of
possible configurations withtheir just, designated
energies, we had essentially an
infinite sequence of levels.
All of evenly spaced energy.
And we went through that andsaw what the thermodynamics
worked out to be.
And also with the high and lowtemperature limits of the
thermodynamics turnedout to be.
And the interesting consequenceof that is that
that particular choice ofconfigurations and energies
associated with them mapsexactly onto the vibrational
levels of an ordinarymolecule.
So, of course, when we do thestatistical mechanics in the
end, everything depends onthe partition function.
Right?
So we're always writing somemolecular partition function.
And we've got a sum over ourenergies for all the states.
And so the only inputinformation we need to know
is, what are the levels andwhat are their energies.
So, although we startedyesterday with a model of
polymer confirmations, once wedecided what the energies
were, which was this sequenceof energies starting at zero
and going with E, and 2E, and3E, I think we labeled them
E0, and so on, that's all thatmattered as far as the
statistical mechanicswas concerned.
And so, since we started, Weformulated this by imagining
different confirmations for apolymer, but in fact these are
the vibrational energiesof any molecule too.
Of any vibrational mode.
So the results are verygenerally applicable.
And so we saw what thethermodynamics
worked out to be.
And what the limitingcases were.
And a couple of them, that I'lljust review, are, one
that's very important in lotsof settings, is that the low
temperature limit when you'redown it basically zero degrees
Kelvin, that's where you'vegot kT way down here.
So there's not nearly enoughthermal energy for anything to
get out of even thelowest level.
And so in that case,everything is
in the ground state.
And then the heat capacity,which is this often a very
simple thing to measure, youchange the temperature.
And you see that there'sno change in the total
vibrational energy.
In other words, the limitinglow temperature
heat capacity is zero.
So we saw that for Cvfor vibrations.
And the limit that T goesto zero was zero.
And that's because we were inthis limit, where everything
is in the ground state.
Which is to say that uvibrational energy in that
limit is zero.
Unlike the case we treatedearlier, where we had a
limited number of levels.
Because we treated a simplefour-unit polymer with only
four possible confirmations,in this case we have
essentially an infinitenumber.
So even in the high temperaturelimit, we don't
have them, there's not amaximum total energy.
If the temperature keepsgoing up, you'll get
more and more energy.
Because you can keep populating
higher and higher levels.
But the way that happensstops changing.
Because the levels areall evenly spaced.
So if the temperature, insteadof being down here, is
somewhere up here, now forsure if we change the
temperature, the energy willcontinue to change.
But what we've found is that inthe high temperature limit,
we had the equipartitionof energy result.
And that is, u vibrational inthe high temperature limit,
was just, for N molecules,it was NkT.
1/2 kT for each kinetic energydegree of freedom.
1/2 kT for each potential energydegree of freedom.
And since vibrations have eachof those, potential and
kinetic energy, it's kT for eachmolecule, for each degree
of freedom.
That's an incredibly simple,useful thing.
That means, if I've got amolecule in the gas phase and
it's in the high temperaturelimit for translation, I know
each translational degree offreedom will contribute for
each molecule 1/2 kT.
Or 3/2 kT, in all threedimensions.
So I know the translationalenergy of a mole of molecules
in the gas phase at roomtemperature without doing
anything all.
It's 3/2 NkT.
Rotations, if it's a diatomicmolecule, will be two
different degrees of freedom.
For rotation.
In two orthogonal planes.
And I'll have 1/2 kT for each.
1/2 NkT for N molecules.
For vibrations, if I'm in a hightemperature limit, then
it'll be kT for eachvibrational mode.
For molecules, the vibrationalfrequencies are usually high,
so that you're not in thehigh temperature limit.
But for materials where youhave vibrations, acoustic
vibrations, those arelow frequency.
You can be in the hightemperature limit.
And easily are.
So the result for energy forvibrational energy in the high
temperature limit, was NkT.
And so that means that the heatcapacity in that same
limit at high temperature wasjust Nk, derivative with
respect to temperature.
Very simple thing tomeasure, again.
So that's what we saw last timein the case of both the
conformational model that wetreated and the vibrational
energies of molecules onto whichthat same model maps.
Now what I want to do, islook a little further.
And let me actually write thepartition functions too.
Also an important result wasthat the partition function
itself, q vibrational, in thehigh temperature limit, was
just kT over E0.
Also very simple result.
E0 is h nu 0 for vibrationalmode with frequency nu 0.
And of course, given thepartition function you can
calculate everything.
So in the high temperaturelimit we can
easily calculate things.
In the low temperature limit,it's just one, right?
There's only one allowedpossible state in the low
temperature limit.
Everything is in the groundstate when it's cold enough.
So the sum of our states justgives us exactly one term
that's of any reasonablevalue.
That is, the term with thisbeing the lowest energy.
Everything else, the energyis much bigger than kT.
This is a vanishinglysmall number then.
So just write q, vibrational, inthe low temperature limit,
is just one.
OK, that was the casefor vibration.
And remember, these lowtemperature limiting cases,
that's a common case for nearlyany degree of freedom.
As long as it's quantized.
At some point, you'llget this situation.
Where the temperature is lowcompared to even the lowest
excited level.
Of course, what'll happen inthe high temperature limit
might vary, dependingon the structure
of the energy levels.
In the case of vibrations, it'slike this, it'll turn out
rotations do the same thing.
But it's not alwaysas simple as this.
OK, now what I want to do isjust go through the next step
of what we can treat, giventhe statistical
mechanics that we know.
Which is chemical equilibrium.
Why can't we just calculateequilibrium constants based on
what we've seen so far.
If we can calculate thepartition functions for
molecules, and they undergoreactions and they're in
equilibrium, we shouldbe able to calculate
the equilibrium constants.
From first principles, justbased on the statistical math
we've seen so far.
So let's try to do that.
So it just means that, again,just as always, if we know all
the energy levels and what allthe possible states are,
there's no reason we shouldn'tbe able to set our sights on a
calculation of that sort.
So let's just sketch out whatthe levels are going to look
like for simple chemicalevents.
So I just want to draw an energydiagram, here's energy.
And, like we often do withchemical equilibria, I'm going
to set the zero of energy at theseparated atoms, and I'm
imagining I've got reactantsand products.
So let's make thisour products.
Then over here we'll have ourreactants and make the
energies different.
Alright.
So there's some amount ofbinding energy, right?
There's a bond dissociationenergy going from the lowest
available level in each moleculeto the dissociation
limit where we pulledthe atoms apart.
So now I'm going to drawvibrational energy levels
inside the molecule.
Let's imagine, it wouldn't needto be this, but let's
imagine it's just diatomicmolecules.
So there's one vibrationalmode in each.
Just the stretching mode.
And we've already seen thelevels are evenly spaced.
So there's going to be a bunchof evenly spaced levels.
Actually, it stopped being quiteevenly spaced once this
stops being a simple harmonicoscillator, but for all the
low lying levels it's prettyclose to that.
So those are the availablelevels.
And there's a dissociationenergy.
So minus E, and I'll call thisfor the products, Ep.
And it's just minus D0for the products.
Right, in language, terminology
that we've seen before.
And it's the same thingfor the reactants.
And really, if this were morethan a diatomic molecule,
maybe there would be a bunchof vibrational modes.
But it wouldn't matter.
This would just represent allthe vibrational energies.
There's some loweststate available.
So now we've got thedissociation
energy for the reactants.
So those are the energiesit takes to
separate the molecule.
But those aren't the only statesavailable to molecules.
Of course, they could haveextra vibrational energy.
They're not always intheir ground states.
And we're going to calculatepartition functions.
In general we would sum overall the available states.
And then just calculatethe probability of
being in the state.
One way to look at this, sinceif there's chemical
equilibrium between thespecies, it means the
molecules can interconvert.
What that really means is thatany of the molecule has access
to any of these states.
Of course, we like to group allthese states over here.
Because they correspond to aparticular chemical structure.
And we like to group thesestates over here, because they
correspond to this differentchemical structure.
From a statistical mechanicspoint of view, it's just
states and levels.
And we could just calculatethe probability of any
molecule being in anyone of the states.
But it's useful to keep themseparated like this.
So let's do that.
And let's look at thedifference here, the
difference in dissociationenergy.
Delta D0.
Let's not put a double arrow.
Let's define the sign of it.
This way, going from productsto reactants.
OK, now let's just look at howequilibrium should work.
So now, let's just takea generic reaction.
Little a, our number, ourstoichiometric number, A plus
b, and B goes to c C, d D. Andwe know that delta G0 is minus
RT log of Kp.
And that delta G0 is just thefree energy of the products
minus the free energyof the reactants.
So it's c times G C0 plusd G D0 minus a G A0
minus b G equals B0.
So we need to know thefree energy of
each one of the species.
And now we know how to calculatethat from first
principles, through statisticalmechanics.
So we know that Gis A plus pV.
A is minus kT log of capitalQ. And I'm going to assume
that we're in the gas phase.
And it's an ideal gas, so I'mgoing to replace pV by NkT.
And what's Q?
Well, we know what Q is.
It's q, little q,to the N power
translational over N factorial.
For atoms, this isall it would be.
But we have molecules.
So we have individual otherdegrees of freedom besides
translation.
So let me just label thoseinternal, q internal.
And that's also tothe N power.
And q internal, if you say,what are those degrees of
freedom, well it's theelectronic energy. it's the
vibrational energy.
It's the rotational energy.
And we'll deal with thoseshortly, but let's just
separate it this way for now.
Just we can keep track of wherethe N factorial belongs.
And now we're going to useStirling's approximation for
the N factorial.
So our log of Q, which we needup here, is just N log of q
trans q internal minuslog of N factorial.
And that's just equal to N logq trans q internal, minus N
log N. Plus N. And of course,this I'm going to put down
here momentarily.
And now our expressionfor G is up there.
So it's minus kT logof Q plus NkT.
So these factors of Nare going to cancel.
So when I take minus kT log ofQ, that's going to be minus
NkT over here.
That's going to cancelthe plus NkT here.
So all I'm going to have leftis this term and this term.
Which I can combine.
So it's just minus NkT log ofq translational q internal
over N. Now these, really, arejust the same as q, it's just
minus NkT log of little q overN. I didn't need to separate
that into this product.
I only wanted to do it to beclear where we were getting
this factor of Nfactorial from.
So now we have an expressionfor G. And if we know G for
all the species involved in achemical reaction, we should
be able to calculate thechemical equilibrium.
So let's do it.
So now to do it, let's look alittle more closely at what
these internal degreesof freedom are.
Because that's where theseimportant details are
going to come in.
Obviously the equilibrium isgoing to depend on the
energetics.
How much different are thebonding energies or the
dissociation energies andthe molecules involved.
And also, how much differentor the other
molecular energy levels.
The vibrations, rotations,and so forth.
So, q internal is the productof rotational, vibrational,
and electronic partitionfunctions.
Remember how we saw that if youcan write the energy as a
sum of energies, then thepartition functions are
multiplied.
Because, of course, if this isthe sum of a rotational plus
vibrational plus electronicenergy, then of course I can
just separate outthese things.
These are in the exponent.
I can write it as a product.
Same with translations.
I already have separated that.
So now let's look at howthese things behave.
Well, for the electronic case,there's really only one
electronic state of interestin general.
And that's the lowest state.
In cases you're extremelyfamiliar with, if it were the
hydrogen atom, it would bedown in the 1s orbital.
And it would take a huge amountof energy to get up
into the 2s or 2p orbital.
At ordinary temperaturesyou never have that.
All the atoms would bein the ground state.
Now, for most molecules, itdon't take as much energy as
for the hydrogen atom.
If you have benzene, forexample, the ground electronic
state, the lowest electronicstate, is quite far below the
first excited state.
Not as much as the hydrogen atomgoing from 1s to 2s to
2p, but still by much more thanordinary thermal energies
at room temperature.
And what that means is, again,only the ground state term is
going to matter.
Now, sometimes we woulddefine that is this
as the zero of energy.
But since we're doing chemicalequilibria, the zero of energy
is up here.
So that epsilon, that energyterm, is this amount.
The dissociation energy.
This is minus dissociationenergy.
So we're going to have apositive number there.
So q electronic is juste to the D0 over kT.
So that's easy enough.
We also know whatthe vibrational
partition function is.
We saw it last time.
It's this thing we couldwrite as a simple form.
One over one minus e to theminus E, I'll call it
E vibe, over kT.
It's h nu 0, where nu is thevibrational frequency.
Again, in the case of manymolecules, the vibrational
energy is pretty highcompared to kT.
So even this often simplifiesto be just one.
In other words, all themolecules, in many cases, are
basically all of them are in theground vibrational state
at room temperature.
Certainly if you look atmolecules of high frequencies,
if you look at the hydrogenmolecule, H2, the vibrational
frequency is about 4,000wave numbers.
Remember I mentioned last time,kT at room temperature,
T is 300 Kelvin.
Then kT corresponds to200 wave numbers.
It's a factor of 2/3.
Much less than 4,000wave numbers.
In other words, the vibrationalenergy is much
lower than kT.
So, again, everything wouldbe in the lowest level.
And this just simplifiesto one.
In many cases, it's reasonablyclose to one.
For high vibrationalfrequencies, nu 0.
Now, we haven't talkedabout rotation.
But you probably have just anintuitive feeling that at
ordinary temperatures, if I dothis, if I wave my hand in the
air, molecules that I happento intersect are going to
start spinning faster.
In other words, ordinary thermalenergies do populate
some number of rotationallevels of molecules.
Molecules probably aren'tgoing to start getting
squished together and vibrateharder when I do
something like this.
So molecules might generallystill be in the ground
vibrational levels, thermalenergy isn't enough to raise
them in many cases.
But rotation, for sure.
They're not all inthe lowest level.
Turns out that, in fact, theenergy separation between
rotational levels is very smallcompared to kT at room
temperature.
So just like we saw for thehigh temperature limit for
vibrations, it turns out thatfor q rotation in the high
temperature limit, we have thesame situation where we have
kT over, now it's arotational energy.
And it's typically on the orderof about one to ten wave
numbers for small to mediumsized molecules.
Remember, too, last time whenwe talked about in the
vibrational levels and said,well, if you're at kT and it's
this big, it's basically tellingyou roughly how many
levels do you have thermalaccess to.
Because we saw the same resultsfor vibrations.
It's not so differentfor rotation.
And it turns out that atordinary temperatures, you
might have access to a fewtens to a few hundreds of
rotational levels, depending onwhether they're closer to
one or ten wave numbersor a little higher.
Again, room temperatureis 200 wave numbers.
So, that means that, rememberq is a unitless number.
You're counting the states,weighted by the energy.
Weighted by the Boltzmannfactor.
And for rotations, it's a numberthat might be on the
order of 100 or so.
Order of magnitude estimate,that's all.
And of course we've seen thetranslational partition
function is on the order of10 to the 30th, right?
Enormous number.
In other words, in the simplelattice model that we've use
to describe translation, justbreaking up the available
volume into little pieces.
Counting.
Well, OK, you have something onthe order of 10 to the 30th
possible locations.
And if you treat thisproperly, quantum
mechanically, for thetranslations, there's actually
a magnitude of the numberis similar.
Now I just want to go througha very simple example.
Just treating a particulargeneric reaction.
And look at what the equilibriumconstant is.
Working it through, givenwhat we've seen so far.
So I just want to simplifyit by having all the
stoichiometric coefficientsequal to one.
It's not a great complication,if we don't do that.
But it's a little bit simpler.
So let's take a molecule that'sA-B plus C-D. And now
let's break bondsand reform them.
So we get A-C plus B-D, right?
So we're going to dosomething simple.
And since I've got all thestoichiometric coefficients
equal to one, we've got the samenumber of molecules as
reactants and products, that'llmake things a little
bit easier.
Just in the sense that if welook at the contribution of
the translational energies atroom temperature, they're
going to be the same.
For the reactants andthe products.
Any of the molecules is goingto have a translational
partition function on the orderof 10 to the 30th, at
room temperature andan ordinary volume.
And nothing's going to changefrom reactants to products.
And for vibrations, let'sassume, as is often the case,
that the vibrational frequenciesare fairly high.
So all the partition functionsfor the vibrations
are equal to one.
Like we've got writtenup there.
For all four of the molecules.
So then nothing is going tochange in the vibrations.
Going from reactantsto products.
Finally, the rotations.
So, for the rotations ourpartition function is
something on the order of, Ithink I meant to write 100,
not ten here.
As our order of magnitude.
That's what it's going to be.
It's a number on that order.
And if we assume that the massesof the atoms involved
are comparable, then we cancheat a little bit and say
that's also, those numbers arealso, going to be comparable
for the reactants andthe products.
We don't have to do that.
We could put it in, and rathereasily calculate it.
But I'm going to make lifesimple in this way and just
work through how to carrythrough the calculation.
And I think it'll be clear howto put in different partition
functions for those quantitiesif they are different from
each other.
OK, so let's try it.
Then, our delta G0, let'sgo back over here.
Here's delta G, let me justput the relationship up.
So we've got an expression forG. Which is, let's start from
back there.
It's minus.
And now for each one of thesubstances, it's Ni
kT log qi over Ni.
I'm just going to putthis in molar terms.
So it's minus little ni RT.
Log of qi over capital Ni.
And I only want to do thatbecause I want to express this
in free energy.
This is for substance i.
Free energy per mole.
So it's just minus RTlog of qi over Ni.
That's G per mole.
That's Gi naught per mole.
Plus RT log pi over p0.
Where p0 is an atmosphere,basically.
One bar.
So that means Gi0bar is minus RT.
And I'm going to take this minusthis and combine them.
So it's log of qi overNi, that's this part.
And now I've got log of pi overp, and I'm just going to
use the ideal gas law.
So I'm going to use pV is nRT.
So then I've got Ni kTover my factor of
p0, times the volume.
So that's Gi0 for each oneof the substances.
The Ni's cancel.
And I've got minus RT log of qikT over p0 times V. Now, qi
is just the total molecularpartition function.
It's this product of q transtimes q rotational times q
vibrational timesq electronic.
And now I need delta G. So deltaG0, is just minus RT.
And now it's just, I'm going totake this for each one of
the substances, for theproducts, minus the reactants.
And I'm going to combinethe log terms.
This is the same, andI'm going to have
this in every term.
So what's going to happen?
Well, all this stuffis going to cancel.
Now, that doesn't necessarilyhappen.
That happens because ofthe stoichiometric
numbers being the same.
Otherwise I'd have to take themto that the power of the
stoichiometric number.
But in this case they're justgoing to simply cancel.
So I'm going to have left isthe ratio of my partition
function for molecule AC.
Partition functionfor molecule BD.
Partition function formolecule AB, and
for molecule CD.
Products, reactants.
Pretty simple, becauseI know how to
calculate all this stuff.
And again I'd suggested somesimplifying assumptions for
what those partitionfunctions are.
But it wouldn't be hard tocalculate each one of them if
I just had all the relevantenergy levels.
To make this simple, we'regoing to assume that the
rotational energies are the samefor all the molecules.
It wouldn't need to be, itwouldn't be hard, to plug in
different values.
We're going to assume we're inthe low temperature limit for
vibrations.
So q vibrational foreach one of these
things is equal to one.
The translational contributions,are equal for
all of them.
So the only thing that'sdifferent is the electronic
contribution.
And that's different.
Because, of course, you havedifferent electronic energies.
The binding energies for theproducts and the reactants
aren't in general goingto be equal.
And in most cases, it is theenergetics that dominate the
equilibrium constants.
Of course, that is, it's theelectronic energies that
usually dominate.
Of course, the otherthings do matter.
But it's not unusual for the
electronic energies to dominate.
So here's delta G0.
Of course, this is minusRT log of Kp.
So there's our expression forour equilibrium constants.
So it's just this product.
So let's just put in thepartition functions for the
electronic part.
It's e to the D0 overkT for molecule AC.
Times e to the D0 formolecule BD over kT.
Divided by e to the D0 for ABover kT, times e to the D0 for
molecule CD over kT.
So the whole thing is just e tothe D0 AC, plus D0 BD minus
D0 AB minus D0 CD over kT.
Or in other words, it's eto the delta D0 over kT.
That's the whole story.
So it's a super-simplecalculation to execute.
And for lots of molecules,we know the
dissociation energies.
These are measured,determined, either
thermochemically orspectroscopically for a great
many molecules.
So in fact, we have theinformation we need to do that
calculation.
And if we want to worry aboutthe vibrational and rotational
levels, typically we havethat information, too,
spectroscopically.
So we know what the relevantenergy levels are to do the
whole calculation.
So what it means is, we cancalculate equilibrium
constants for ordinary chemicalreactions just from
first principles.
Knowing the energy levelsof the available
states of the molecules.
Any questions?
In your notes I've includedanother example.
It's a little bit ofan extra example.
You can go throughit if you'd like.
It turns out to have a kind of
attractive closed form solution.
Which is the case of a chemicalreaction like an
isomerization inside acrystalline solid.
So you can imagine you've gota crystal of some molecule,
many crystals, thermally overtime, they might decompose.
They might have reactionprocesses that can take place.
So I've imagined you'vegot uni-molecular
reactions that can occur.
And in that case youstart with a pure
crystal of one species.
And you end up with a mixture ofsome number of the original
species, and some numberof new species.
And there's an equilibriumconstant that'll say where
that should be.
So again, it'll dependon the energies.
On the dissociation energiesof the different species.
And there's also a kind ofmixing term, because
effectively now you've got thedifferent species located at
different placesin the crystal.
Those are distinguishablestates, in the solid.
And you need to count those.
But the one other example Iwant to work through is a
little bit different fromchemical equilibria.
It's phase equilibria.
Why shouldn't we be able tocalculate phase diagrams?
So in the earlier part of thecourse, you went through and
saw the macroscopicthermodynamic treatment.
The equilibrium constantsand chemical equilibria.
So of course you saw the wholedelta G0 as minus RT log Kp
and so forth.
And you've seen now we canactually calculate all that
from first principles.
What about phase equilibria?
What you saw before, we justdrew phase diagrams.
And they had boiling pointsor lines of boiling.
Or in other words, liquid-solidand liquid-gas
and solid-gas equilibria.
And what we did is, given wherethose lines fell, you
can calculate things.
But where do the lines fall?
What's the boiling point or thesublimation temperature of
some material at a particularpressure?
Well, we didn't offerany prescription
for calculating that.
You had to take that frommeasurement and then given
that, you could use theClausius-Clapeyron equation
and so forth and look at theway things behaved if you
moved along a line ina phase diagram.
But there was no prescriptionoffered to calculate where
exactly would that line beon the phase diagram.
But again, if you know all theenergies of the possible
states, in the solid, inthe liquid and the gas,
statistical mechanics shows usthat we can calculate the
equilibrium between those.
Which is to say we knowwe can calculate
where those lines belong.
So I want to just go throughmaybe one of a couple of
relatively simple cases.
I want to go through the case ofa solid-solid equilibrium.
Let's imagine we have twosolid phases and an
equilibrium between them.
And this problem wason the problem set.
How many of you did it?
Everybody did it.
Did you all get tothe end of it?
Who got to the end of it?
Some of you got tothe end of it.
If you did, congratulations,it's not so trivial to work on
for the first time.
So I'll just briefly gothrough that problem.
And show how it works.
So, it's similar, ofcourse, to the case
that we're doing now.
To the case we just did,of chemical equilibria.
The difference, though, isthat it's cooperative.
The solid, at least in the way Iformulated that problem, you
either have the crystal in phaseone or phase alpha, or
in phase beta.
And there's nothingin between.
There are lots of systemslike that.
Not just crystals,you could go from
different forms of DNA.
Act like that.
Where you have super coiledDNA and regular DNA.
And you actually can havesome of the DNA in each.
But it's actually verycooperative.
So there's a huge tendency toeither be all in one, or be
all in the other.
Or at least very very, largepieces of it like that.
Lots of other systemsact like that.
In other words, unlike thecase where we're thinking
about chemical equilibrium amongmolecules in the gas
phase, these two moleculesover here crash into each
other and they react.
Nothing else cares.
The other whole mole ofmolecules does whatever they
were doing.
And a little later some otherpair of molecules happen to
crash into each other and maybereact or maybe don't.
In other words, there's nocooperativity at all.
What happens to some pair ofreactants and products,
everything else is completelyindependent of it.
That's not the case when youhave, in many cases, a phase
transition.
You can see it by eye, often.
If you do something likesuper cool water.
This is a kind offun experiment.
If you take dry ice,and you've got a
little bit of water.
Right or a littlepot of water.
And you put some dryice into it.
So you can actually get thewater to be below the freezing
temperature and itwon't freeze yet.
Then you drop a crystalin there and
boom, it all freezes.
Very cooperatively.
Lots of phase transitionsbehave like that.
So let's just seehow it works.
In this case, it's reallysimilar to what we just did.
We can treat it, here'sphase alpha.
Here's phase beta.
And the crystal, theinteractions between molecules
or the atoms in the crystal are
different in the two phases.
So effectively, the bindingenergy is different.
In other words, if you say, nowlet's think of the energy
it would take to evaporate allthe atoms or molecules and let
them loose in the gas phase.
That's the analog ofdissociation for the molecule.
You're pulling everything apartfrom the crystal and
separating them all.
So that's what we'll callthese energies.
This'll be minus E alpha.
And this will be minus E beta.
And then there are vibrationalenergies.
So the lattice has a bunchof vibrational energies.
We can assume they'reevenly spaced.
And they're goingto be different.
They're not the same in the two
different crystalline forms.
That's typically the case.
You have a phase transition fromone crystal to another.
The lattice vibrationalfrequencies aren't
the same any more.
Speed of sound is different.
Things are different.
And that's all.
That's the only thingthat's different.
So these are bindingenergies per atom.
So now, let's just try tocalculate Q. And what we are
supposed to get out of thisis, what's the phase
transition temperature?
That's the thing that we didn'thave any prescription
for calculating before.
We just said, here it is.
Here's the boiling point.
Here's the melting point,or whatever the
phase transition was.
Or if we drew a phase diagram,here's the line.
But now we're going to try tocalculate where that is.
Or what those temperaturesare.
So, Q for either phase it'sjust e to the E over kT.
Just like we saw before for the
dissociation energies of molecules.
To the Nth power.
No N factorial any more.
There's no translation.
Times the vibrational part.
This is the electronicpartition function.
And then there's thevibrational part.
And that's one over one minuse to the minus h nu, what's
called E over kT, for thelattice I'm assuming it's just
one frequency.
So this energy is h nu E. And ofcourse, it's different for
the alpha and beta phases.
And I'm going to assume we're inthe high temperature limit.
Which is often the case forlattice vibrations.
So it's e to the, littleE over kT.
For our electronic part,to the Nth power.
And we've seen what the hightemperature limit is.
It's kT over h nu E.And that's also,
that to the 3N power.
I should have writtenthis here.
In other words if you say, howmany vibrations are there in
the lattice, well if there areN atoms, each atom in the gas
phase would have threedegrees of freedom.
Translational degreesof freedom.
In the crystal, it can'tfreely translate.
But those degrees of freedomare still there.
The atoms can all move.
So now, those are thelattice vibrations.
When the atoms try tomove, they vibrate
against each other.
So how many differentmodes are there?
They may be degenerate.
They may all havethe same energy.
But those modes areall still there.
Actually, they're the acousticmodes of the crystal.
And there are 3N of them.
One for each translationaldegree or freedom
that each atom had.
OK, so that's it.
A, minus kT log of Q,so it's just minus
NE, and the kT cancels.
Minus 3NkT log of kT overh nu E. Second part.
And then we can calculatethe chemical potential.
It's just the dA/dN,d constant T and V.
So this goes away.
It's just minus little E. Thisgoes away, it's minus 3kT log
of kT over h nu E. Well,basically we just finished.
At the phase transitiontemperature for the two
phases, those thingshave to be equal.
And that's all there is to it.
So, at, we'll call it Tc, thephase transition temperature,
I guess I called it T1 here, mualpha is equal to mu beta.
So this stuff for alpha isequal to this for beta.
That's it.
So what does it say?
It says E beta minus E alpha,these terms, equals 3kT1 log
of nu E beta over nu E alpha.
Solve for T1.
That's it.
It's E beta minus E alphaover 3k log nu E
beta over nu E alpha.
There is our phase transitiontemperature.
That's the whole story.
So if we know the electronicenergy that binds the crystal
together, usually something thatcan be measured easily,
so it's known formany materials.
And if we know the latticevibrational frequency.
Also something that'spretty routinely
measured, we're done.
So again, from a very simplefirst principles approach, we
can calculate that phasetransition temperature.
We could do it for a solid-gasequilibria too, if we said OK,
let's think of sublimationof the solid.
And now we know how to calculatethe chemical
potential in the gas phase.
We can have those be equal.
That's actually worked throughin your notes.
Again, it's an extra problem.
If you would like to takea look at it, it's a
straightforward calculation.
The point is, we can calculatethose phase equilibria.
Liquids, I will say,are harder.
Just because it's harder todefine and know all the
energies available.
Doable, approximately.
But the point is, we canactually now locate all those
lines that we sort ofarbitrarily drew
on the phase diagrams.
And make sense of what thetemperatures and what the
pressures are, for that matter,where they occur.
Any questions?123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263The 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: All right.
So today, we're goingto briefly review
classical sequencing andnext-gen or second-gen
sequencing, which sort ofprovides a lot of the data
that the analytical methodswe'll be talking about work on.
And we'll then introducelocal alignment
a la BLAST and some ofthe statistics associated
with that.
So just a few briefitems on topic one.
All right.
So today, we're going totalk about sequencing first.
Conventional-- or Sangersequencing-- then next-gen
or second-gensequencing briefly.
And then talk aboutlocal alignments.
So background for the sequencingpart, the Metzger review
covers everything you'll need.
And for the alignment-- we'lltalk about local alignment
today, globalalignment on Tuesday--
then chapters four and five ofthe text cover it pretty well.
So here's the text.
If you haven't decidedwhether to get it or not,
I'll have it up here.
You can come flipthrough it after class.
Sequencing is mostlydone at the level of DNA.
Whether the originalmaterial was RNA or not,
usually convert to DNA andsequence at the DNA level.
So we'll often think aboutDNA as sort of a string.
But it's important toremember that it actually
has a three dimensionalstructure as shown here.
And often, it's helpful tothink of it in sort of a two
dimensionalrepresentation where you
think about the bases andtheir hydrogen bonding
and so forth asshown in the middle.
My mouse is not workingtoday for some reason,
but hopefully, we won't need it.
So the chemistry of sequencingis very closely related
to the chemistry ofthe individual bases.
And there are reallythree main types
that are going tobe relevant here.
Ribonucleotides,deoxyribonucleotides,
then for Sanger sequencing,dideoxyribonucleotides.
So who can tell me whichof these structures
corresponds to whichof those names?
And also, please letme know your name
and I'll attemptto remember some
of your names toward the endof the semester probably.
So, which are which?
Yes, what's your name?
AUDIENCE: I'm Simona.
So the ribonucleotideis the top right.
The deoxy is the one below it.
And the dideoxy isthe one to the left.
PROFESSOR: OK, sothat is correct.
So one way to keepthese things in mind
is the numbering of the bases.
So the carbons in the ribosugar are numbered one,
so carbon 1 is the onewhere the base is attached.
Two is here, which has an OHin RNA and just an H in DNA.
And then three isvery important.
Four, and then five.
So five connectsto the phosphates,
which then will connect thebase to the sugar phosphate
backbone.
And three is where you extend.
That's where you're going toadd the next base in a growing
chain.
And so what will happen if yougive DNA polymerase a template
and some dideoxy nucleotides?
It won't be able to extendbecause there's no 3-prime OH.
And all the chemistryrequires the OH.
And so that's the basisof classical or Sanger
sequencing, which FredSanger got the Nobel
Prize for in the 1980s-- I thinkit was developed in the '70s--
and it's reallythe basis of most
of the sequencing, orpretty much all the DNA
sequencing up untilthe early 2000s
before some newertechnologies came about.
And it takes advantageof this special property
of dideoxy nucleotides that theyterminate the growing chain.
So imagine we havea template DNA.
So this is themolecule whose sequence
we want to determineshown there in black.
We then have a primer.
And notice the primer'swritten in 5-prime to 3-prime
direction.
The ends would beprimer sequences
and then primer complimentarysequences in the template.
So you typically will haveyour template cloned--
this is in conventionalsequencing-- cloned
into some vectorlike a phage vector
for sequencing so you knowthe flanking sequences.
And then you do foursequencing reactions
in conventionalSanger sequencing.
And I know some of you haveprobably had this before.
So let's take the firstchemical reaction.
The one here with a DDGTP.
So what would youput in that reaction?
What are all thecomponents of that reaction
if you wanted to doconventional sequencing
on, say, an acrylonitrile?
Anyone?
What do you need andwhat does it accomplish?
Yeah, what's your name?
AUDIENCE: I'm Tim.
PROFESSOR: Tim?
Oh yeah, I know you, Tim.
OK, go ahead.
AUDIENCE: So you needthe four nucleotides--
the deoxynucleotides.
You will need thedideoxy P nucleotides.
In addition, you need allthe other [INAUDIBLE].
You need polymerase.
Generally, you need a bufferof some sort, [INAUDIBLE],
to [INAUDIBLE].
PROFESSOR: Yeah,primary template.
Yeah.
Great.
That's good.
It sounds like Tim couldactually do this experiment.
And what ratio would you put in?
So you said you'regoing to put in all
four conventionaldeoxynucleotides and then one
dideoxynucleotide.
So let's say dideoxy Gjust for simplicity here.
So in what ratio would youput the dideoxynucleotide
compared to theconventional nucleotides?
AUDIENCE: To lowerthe concentration.
PROFESSOR: Lower?
Like how much lower?
AUDIENCE: Like, a lot lower.
PROFESSOR: Like maybe 1%?
AUDIENCE: Yeah.
PROFESSOR: Something like that.
You want to put it a lot lower.
And why is that so important?
AUDIENCE: Because you want thething to be able to progress.
Because you need enough of theribonucleotide concentration so
that [INAUDIBLE]every [INAUDIBLE]
equivalent or excess and you'regoing to terminate [INAUDIBLE].
PROFESSOR: Right.
So if you put equamolardeoxy G and dideoxy G,
then it's going to be a50% chance of terminating
every time you hita C in the template.
So you're going tohave half as much
of the material at the secondG, and a quarter as much as
the third, and you're going tohave vanishingly small amounts.
So you're only goingto be able to sequence
the first few C'sin the template.
Exactly.
So that's a very good point.
So now let's imagine you dothese four separate reactions.
You typically wouldhave radiolabeled primer
so you can see your DNA.
And then you would runit on some sort of gel.
This is obviously not a realgel, but an idealized version.
And then in the lanewhere you put dideoxy G,
you would see thesmallest products.
So you read these guysfrom the bottom up.
And in this lane thereis a very small product
that's just one base longerthan the primer here.
And that's because there was aC there and it terminated there.
And then the next C appearsseveral bases later.
So you have sort of a gap here.
And so you can see that thefirst base in the template
would be a complementof T, or C.
And the second basewould be, you can see,
the next smallest productin this dideoxy T lane,
therefore it wouldbe A. And you just
sort of snake yourway up through the gel
and read out the sequence.
And this works well.
So what does it actuallylook like in practice?
Here are some actualsequencing gels.
So you run four lanes.
And on big polyacrylamidegels like this.
Torbin, you everrun one of these?
AUDIENCE: Yes.
PROFESSOR: Yes?
They're a big pain to cast.
Run for several hours, I think.
And you get thesebanding patterns.
And what limits thesequence read length?
So we normally callthe sequence generated
from one run of asequencer as a read.
So that one attempt to sequencethe template is called a read.
And you can seeit's relatively easy
to read the sequencetoward the bottom,
and then it getsharder as you go up.
And so that's really whatfundamentally limits the read
length, is that the bands getcloser and closer together.
So they'll run inverselyproportional to size
with the small onesrunning faster.
But then the difference betweena 20 base product and a 21
might be significant.
But the difference between a500 base product and a 501 base
product is goingto be very small.
And so you basically can'torder the lanes anymore.
And therefore, that's sort ofwhat fundamentally limits it.
All right.
So here we had to runfour lanes of a gel.
Can anyone think ofa more efficient way
of doing Sanger sequencing?
Is there any way todo it in one lane?
Yeah, what's your name?
AUDIENCE: Adrian.
You can use four differenttypes of the entities.
Maybe like fourdifferent colors.
AUDIENCE: Four different colors.
OK, so instead of using radiolabeling on the primary,
you use fluorophore on yourdideoxy entities, for example.
And then you can run them.
Depending where thatstrand terminated,
it'll be a different color.
And you can run themall in one lane.
OK, so that looks like that.
And so this was animportant development
called terminatorsequencing in the '90s.
That was the basis of the ABI3700 machine, which was really
the workhorse ofgenome sequencing
in the late '90sand early 2000s.
Really what enabled thehuman genome to be sequenced.
And so one of the otherinnovations in this technology
was that instead of having abig gel, they shrunk the gel.
And then they just hada reader at the bottom.
So the gel was shrunk to as thinas these little capillaries.
I don't know if youcan see these guys.
But basically it's likea little thread here.
And so each one of theseis effectively-- oops!
Oh no.
No worries, thisis not valuable.
Ancient technology that Igot for free from somebody.
So the DNA would beloaded at the top.
There would be alittle gel in each
of these-- it's calledcapillary sequencing.
And then it wouldrun out the bottom
and there would bea detector which
would detect thefour different flours
and read out the sequence.
So this basically condensed thevolume needed for sequencing.
Any questions aboutconventional sequencing?
Yes?
AUDIENCE: Whereare the [INAUDIBLE]
where you'd put thefluorescent flags?
Like the topic fromthe [INAUDIBLE]?
PROFESSOR: Yeah,that's a good question.
I don't actually remember.
I think there are differentoptions available.
And sometimes with someof these reactions,
you need to use modifiedpolymerases that
can tolerate thesemodified nucleotides.
Yeah, so I don't remember that.
It's a good question.
I can look that up.
So how long can aconventional sequencer go?
What's the read length?
Anyone know?
It's about, say, 600 or so.
And so that's reasonably long.
How long is a typicalmammalian mRNA?
Maybe two, three kb?
So you have in a typicalexon, maybe 150 bases or so.
So you have a chunk.
You don't generallyget full length cDNA.
But you get a chunkof a cDNA that's say,
three, four exons in length.
And that is actuallygenerally sufficient
to uniquely identify the genelocus that that read came from.
And so that was thebasis of EST sequencing--
so-called ExpressedSequence Tag sequencing.
And millions of these 600 basechunks of cDNA were generated
and they have been quiteuseful over the years.
All right.
So what is next-gen sequencing?
So in next-gen sequencing, youonly read one base at a time.
So it's often alittle bit slower.
But it's reallymassively parallel.
And that's the big advantage.
And it's orders ofmagnitude cheaper
per base thanconventional sequencing.
Like when it firstcame out it, it
was maybe two ordersof magnitude cheaper.
And now it's probably anotherfour orders of magnitude.
So it really blows awayconventional sequencing
if the output thatyou care about
is mostly proportional tonumber of bases sequence.
If the output is proportionalto the quality of the assembly
or something, thenthere are applications
where conventionalsequencing still
is very useful Because thenext-gen sequencing tends
to be shorter.
But in terms of just volume, itgenerates much, much more bases
in one reaction.
And so the basic ideas arethat you have your template DNA
molecules.
Now typically, tens of thousandsfor technologies like PacBio
or hundreds of millions fortechnologies like Illumina that
are immobilized onsome sort of surface--
typically a flowcell-- and there
are either singlemolecule methods
where you have a singlemolecule of your template
or there are methods thatlocally amplify your template
and produce, say, hundredsof identical copies
in little clusters.
And then you usemodified nucleotides,
often withfluorophores attached,
to interrogate the next base ateach of your template molecules
for hundreds and hundredsof millions of them.
And so there are severaldifferent technologies.
We won't talk about all of them.
We'll just talkabout two or three
that are interestingand widely used.
And they differ dependingon the DNA template, what
types of modifiednucleotides are used,
and to some extent, in theimaging and the image analysis,
which differs for singlemolecule methods, for example,
compared to the onesthat sequence a cluster.
So there's a table inthe Metzger review.
And so I've just told youthat next-gen sequencing
is so cheap.
But then you see howmuch these machines cost
and you could buy lots ofother interesting things
with that kind of money.
And I also want to emphasizethat that's not even
the full cost.
So if you were to buy anIllumina GA2-- this would
be like a couple yearsago when the GA2 was
the state of the art-- forhalf a million dollars,
the reagents to runthat thing, if you're
going to run it continuouslythroughout the year,
the reagents to run itwould be over a million.
So this actuallyunderestimates the cost.
However, the cost perbase is super, super low.
Because they generateso much data at once.
All right, So we'll talkabout a couple of these.
The first next-gensequencing technology
to be published andstill used today
was from 454--now Roche-- and it
was based on what'scalled emulsion PCR.
So they have these littlebeads, the little beads
have adapter DNA moleculescovalently attached.
You incubate the beadswith DNA, and you actually
make an emulsion.
So it's an oil water emulsion.
So each bead, whichis hydrophilic,
is in the little bubbleof water inside oil.
And the reason for thatis so that you do it
at a templateconcentration that's
low enough that only asingle molecule of template
is associated with each bead.
So the oil thenprovides a barrier
so that the DNA can't gettransferred from one bead
to another.
So each bead will have aunique template molecule.
You do sort of a localPCR-like reaction
to amplify that DNAmolecule on the bead,
and then you do sequencingone base at a time using
a luciferase basedmethod that I'll
show you on the next slide.
So Illumina technology differsin that instead of an emulsion,
you're doing it on thesurface of a flow cell.
Again, you start with asingle molecule of template.
Your flow cell hasthese two types
of adapters covalently attached.
The template anneals toone of these adapters.
You extend the adapter moleculewith dNTPs and polymerase.
Now you have the complement ofyour template, your denature.
Now you have theinverse complement
of your templatemolecule covalently
attached to the cell surface.
And then at the other endthere's the other adapter.
And so what youcould do is what's
called bridge amplificationwhere that now complement
of the template moleculewill bridge over
hybridized to the otheradapter, and then you
can extend that adapter.
And now you've regeneratedyour original template.
And so now you have thecomplementary strand,
and the originalstrand, your denature.
And then each of those moleculescan undergo subsequent rounds
of bridge amplification tomake clusters of typically
several hundredthousand molecules.
Is that clear?
Question.
Yeah, what's your name?
AUDIENCE: Stephanie.
How do they get the adaptersonto the template molecules?
PROFESSOR: How doyou get the adapters
onto the template molecules?
So that's typicallyby DNA ligation.
So we may coverthat in later steps.
It depends.
There's a fewdifferent protocol.
So for example, if you'resequencing microRNAs,
you typically wouldisolate the small RNAs
and use RNA litigationto get the adapters on.
And then you would doan RT step to get DNA.
With most other applicationslike RNA-seq or genome
sequencing-- so with RNA-seq,you're starting from mRNA,
you typically will isolatetotal RNA, do poly(A) selection,
you fragment your RNAto reduce the effects
of secondary structure,you random prime with,
like, random hexamers RT enzyme.
So that'll make little bitsof cDNA 200 bases long.
You use second strand synthesis.
Now you have doublestranded cDNA fragments.
And then you do, like, blunt endligation to add the adapters.
And then you denature soyou have single strand.
AUDIENCE: I guess myquestion is how do you
make sure that the twoends sandwiching the DNA
are different as opposed to--
PROFESSOR: That thetwo ends are different.
Yeah, that's a good question.
I'll post some stuff about--It's a good question.
I don't want to sweepit under the rug.
But I kind of want to move on.
And I'll post alittle bit about that.
All right so wedid 454 Illumina.
Helicos is sort of likeIllumina sequencing
except single molecule.
So you have yourtemplate covalently
attached to your substrate.
You just anneal primer andjust start sequencing it
And there's major pros and consof single molecule sequencing,
which we can talk about.
And then the PacBiotechnology is fundamentally
different in that thetemplate is not actually
covalently attachedto the surface.
The DNA polymerase is covalentlyattached to the surface
and the template is sort ofthreaded into the polymerase.
And this is a phage polymerasethat's highly processive
and strand displacing.
And the template is oftena circular molecule.
And so you canactually read around
the template multipletimes, which turns out
to be really useful in PacBiobecause the error rate is
quite high for the sequencing.
So in the top, inthe 454, you're
measuring luciferaseactivity-- light.
In Illumina, you'remeasuring fluorescence.
Four differentfluorescent tags, sort of
like the four different tagswe saw in Sanger sequencing.
Helicose, it's singletag one base at a time.
And in PacBio, you actuallyhave a fluorescently
labeled dNTP that hasthe label on-- it's
actuallyhexaphosphate-- it's got
the label on thesixth phosphate.
So the dNTP is labeled.
It enters the active siteof the DNA polymerase.
And the residencetime is much longer
if the base is actuallygoing to get incorporated
into that growing chain.
And so you measure how much timeyou have a fluorescent signal.
And if it's long, thatmeans that that base
must have incorporatedinto the DNA.
But then, the extensionreaction itself
will cleave off thelast five phosphates
and the fluorophore tag.
And so you'llregenerate native DNA.
So that's another difference.
Whereas in Illuminasequencing, as we'll see,
there's this reversibleterminator chemistry.
So the DNA is not nativethat you're synthesizing.
So this is just alittle bit more on 454.
Just some pretty pictures.
I think I described that before.
The key chemistry here is thatyou add one dNTP at a time.
So only a subset of the wells--perhaps a quarter of them--
that have that next base,the complementary base
free-- as the nextone after the primer--
will undergo synthesis.
And when they undergo synthesis,you release pyrophosphate.
And they have theseenzymes attached
to these little micro beads--the orange beads-- sulfurylase
and luciferase, that usepyrophosphate to basically
generate light.
And so then you have one ofthese beads in each well.
You look at which wellslit up when we added dCTP.
And they must have had G asthe next base and so forth.
And there's no termination here.
The only terminationis because you're only
adding one base at a time.
So if you have a singlegene in the template,
you'll add one base.
But if you have two Gs in thetemplate, you'll add two Cs.
And in principle, you'llget twice as much light.
But then you have to sort ofdo some analysis after the fact
to say, OK how muchlight do we have?
And was that one G,two G, and so forth.
And the amount oflight is supposed
to be linear up toabout five or six Gs.
But that's still amore error-prone step.
And the most commontype of error in 454
is actually insertionsand deletions.
Whereas in Illuminasequencing, it's substitutions.
David actually encouragedme to talk more
about sequencing errorsand quality scores.
And I need to do a littlebit more background.
But I may add that a littlebit later in the semester.
OK, so in Illuminasequencing, you
add all four dNTPsat the same time.
But they're non-native.
They have two majormodifications.
So one is that they'rethree prime blocked.
That means thatthe OH is not free,
I'll show the chemicalstructure in a moment.
So you can't extendmore than one base.
You incorporate that onebase, and the polymerase
can't do anything more.
And they're also taggedwith four different fluors.
So you add allfour dNTPs at once.
You let the polymeraseincorporate them.
And then you imagethe whole flow cell
using two lasersand two filters.
So basically, toimage the four fluors.
So you have to sort of takefour different pictures
of each portion of the flowcell and then the camera moves
and you scan the whole cell.
And so then, those clusters thatincorporated a C, let's say,
they will show up in thegreen channel as spots.
And those incorporatedin A, and so forth.
So you basically have theseclusters, each of them
represents a distincttemplate, and you
read one base at a time.
So, first you read thefirst base after the primer.
So it's sequencingdownwards into the template.
And you read thefirst base so you
know what the first baseof all your clusters is.
And then you reversethe termination.
You cleave offthat chemical group
that was blocking the 3-primeOH so now it can extend again.
And then you add thefour dNTPs again,
do another round of extension,and then image again,
and so forth.
And so it takes a little while.
Each round of imagingtakes about an hour.
So if you want to do 100 basesingle and Illumina sequencing,
it'll be running on the machinefor about four days or so.
Plus the time you have tobuild the clusters, which
might be several hourson the day before.
So what is this?
So actually the whole ideaof blocking termination--
basically Sanger's idea--is carried over here
in Illumina sequencingwith a little twist.
And that's that you canreverse the termination.
So if you look downhere at the bottom,
these are two different3-prime terminators.
Remember your base counting.
Base one, two, three.
So this was the3-prime OH, now it's
got this methyl [INAUDIBLE],or whatever that is.
I'm not much of a chemist,so you can look that one up.
And then here's another version.
And this is sortof chemistry that
can cleave this offwhen you're done.
And then this whole thinghere, hanging off the base,
is the fluor.
And you cleave that off as well.
So you add this big complicatedthing, you image it,
and then you cleaveoff the fluor
and cleave offthe 3-prime block.
These are some actualsequencing images
you would image inthe four channels.
They're actuallyblack and white.
These are pseudocode.
And then you can mergethose and you can see then
all the clusterson the flow cell.
So this is from a GA2 withthe recommended cluster
density back in the day,like a few years ago.
And nowadays, the imagenow since the software
has gotten a lot better,so you can actually
load the clusters moredensely and therefore
get more sequenceout of the same area.
But imagine justmillions and millions
of these littleclusters like this.
Notice the clusters arenot all the same size.
Basically, you'redoing PCR in situ,
and so some molecules are easierto amplify by PCR than others.
And that probably accountsfor these variations in size.
So what is thecurrent throughput?
These data are accurate asof about, maybe, last year.
So the HiSeq 2000 instrumentis the most high performance,
widely used instrument.
Now there's a 2500, but Ithink it's roughly similar.
You have one flow cell.
So a flow cell looks sortof like a glass slide,
except that it hasthese tunnels carved
in it like eight littletubes inside the glass slide.
And on the surfacesof those tubes
is where the adaptersare covalently attached.
And so you haveeight lanes and so
you can sequence eight differentthings in those eight lanes.
You could do yeast genomein one and fly RNA-seq
in another, and so forth.
And these days, a singlelane will produce something
like 200 million reads.
And this is typically routineto get 200 million reads
from a lane.
Sometimes you can get more.
You can do up to 100 bases.
You can do 150 thesedays on a MiSeq,
which is a miniature version.
You can do maybe 300 or more.
And so that's a wholelot of sequence.
So that's 160 billion bases ofsequence from a single lane.
And that will cost you-- thatsingle lane-- maybe $2,000
to $3,000, dependingwhere you're doing it.
And the cost doesn'tinclude the capital cost,
that's just the reagentcost for running that.
So 160 billion-- thehuman genome is 3 billion,
so you've now sequenced thehuman genome over many times
there.
You can do more.
So you can dopaired-end sequencing,
where you sequence bothends of your template.
And that'll basically doublethe amount of sequence you get.
And you can also,on this machine,
do two flow cells at once.
So you can actuallydouble it beyond that.
And so for many applications,160 billion bases is overkill.
It's more than you need.
Imagine you're doingbacterial genome sequencing.
Bacterial genome mightbe five megabases or so.
This is complete overkill.
So you can do bar codingwhere you add little six
base tags todifferent libraries,
and then mix them together,introduce them to the machine,
sequence the tagsfirst or second,
and then sequence the templates.
And then you effectivelysort them out later.
And then do manysamples in one lane.
And that's what peoplemost commonly do.
So, questions aboutnext-gen sequencing?
There's a lot more to learn.
I'm happy to talk about it more.
It's very relevantto this class.
But I'm sure it'll come uplater in David's sections,
so I don't want to taketoo much time on it.
So, now once you generatereads from an Illumina
instrument or someother instrument,
you'll want to alignthem to the genome
to determine, forexample, if you're
doing RNA-seq mappingreads that come from mRNA,
you'll want to know whatgenes they came from.
So you need to map thosereads back to the genome.
What are some other reasons youmight want to align sequences?
Just in general, whyis aligning sequences--
meaning, matching them upand finding individual bases
or amino acid residues thatmatch-- why is that useful?
Diego?
AUDIENCE: You canassemble them if you want.
PROFESSOR: Youcan assemble them?
Yes.
So if you're doinggenome sequencing,
if you align them toeach other and you
find a whole stack thatsort of align this way,
you can then assembleand infer the existence
of a longer sequence.
That's a good point.
Yes, your name?
AUDIENCE: Julianne.
Looking at homologs.
PROFESSOR: Looking at homologs.
Right.
So if you, for example, aredoing disease gene mapping,
you've identified a humangene of unknown function
that's associatedwith a disease.
Then you might want to searchit against, say, the mouse
database and finda homolog in mouse
and then that might be what youwould want to study further.
You might want to thenknock it out in mouse
or mutate it or something.
So those are some good reasons.
There's others.
So we're going to first talkabout local alignment, which
is a type of alignmentwhere you want
to find shorter stretchesof high similarity.
You don't require alignmentof the entire sequence.
So there are certainsituations where
you might want to do that.
So here's an example.
You are studying a recentlydiscovered human non-coding
RNA.
As you can see, it's 45 bases.
You want to see ifthere's a mouse homolog.
You run it through NCBIBLAST, which as we said
is sort of the Google searchengine of mathematics--
and you're going get a chanceto do it on pump set one,
and you get a hitthat looks like this.
So notice, this issort of BLAST notation.
It says Q at the top.
Q is for "query," that'sthe sequence you put in.
S is "subject,"that's the database
you were searching against.
You have coordinates,so 1 to 45.
And then, in the subject, ithappened to be base 403 to 447
in some mousechromosome or something.
And you can see thatit's got some matching.
But it also has some mismatches.
So in all, there are 40matches and five mismatches
in the alignment.
So is that significant?
Remember, the mouse genomeis 2.7 billion bases long.
It's big.
So would you get a matchthis good by chance?
So the question is really,should you trust this?
Is this something youcan confidently say,
yes mouse is ahomolog, and that's it?
Or should you justbe like, well,
that's not betterthan I get by chance
so I have noevidence of anything?
Or is it sort ofsomewhere in between?
And how would you tell?
Yeah, what's your name?
AUDIENCE: Chris.
You would want tofigure out a scoring
function for the alignment.
And then, with thatscoring function,
you would find whether or notyou have a significant match.
PROFESSOR: OK.
So Chris says you want todefine a scoring system
and then use thescoring system to define
statistical significance.
Do want to suggesta scoring system?
What's the simplestone you can think of?
AUDIENCE: Just if there's amatch, you add a certain score.
If it's a mismatch, yousubtract a certain score.
PROFESSOR: So let's dothat scoring system.
So the notation that'soften used is Sii.
So that would be a matchbetween nucleotide i
and then anothercopy of nucleotide i.
We'll call that 1,plus 1 for a match.
And sij, where iand j are different,
we'll give thata negative score.
Minus 1.
So this is i not equal to j.
So that's a scoring matrix.
It's a four by four matrixwith 1 on the diagonal
and minus 1 everywhere else.
And this is commonlyused for DNA.
And then there's afew other variations
on this that are also used.
So good, a scoring system.
So then, how are we goingto do the statistics?
Any ideas?
How do we knowwhat's significant?
AUDIENCE: The higherscore would probably
be a little more significantthan a lower score.
But the scale, I'm not sure--
PROFESSOR: The scaleis not so obvious.
Yes, question?
AUDIENCE: My name is Andrea.
So if you shuffled the RNA,like permute the sequence,
then we'll get the[INAUDIBLE] genome
you get with thatshuffled sequence.
And the score is aboutthe same as you'd
get with the non-shuffledsequence [INAUDIBLE]
about very significant scores.
PROFESSOR: Yeah, sothat's a good idea.
BLAST, as it turnsout-- is pretty fast.
So you could shuffleyour RNA molecule,
randomly permute thenucleotides many times,
maybe even like1,000 times, search
each one againstthe mouse genome,
and get a distributionof what's the best
score-- the top score-- thatyou get against a genome,
look at thatdistribution and say
whether the scoreof the actual one
is significantly higherthan that distribution
or just falls in themiddle of that somewhere.
And that's reasonable.
You can certainly do that, andit's not a bad thing to do.
But it turns out there isan analytical theory here
that you can use.
And so that you can determinesignificance more quickly
without doing somuch computation.
And that's whatwe'll talk about.
But another issue, beforewe get to the statistics,
is how do you actuallyfind that alignment?
How do you find the top scoringmatch in a mouse genome?
So let's supposethis guy is your RNA.
OK, of course, we'reusing T's, but that's
just because you usuallysequences it at the DNA level.
But imagine this is your RNA.
It's very short.
This is like 10 or so, I think.
And this is your database.
But it goes on afew billion more.
Several more blackboards.
And I want to come upwith an algorithm that
will find the highest scoringsegment of this query sequence
against this database.
Any ideas?
So this would be likeour first algorithm.
And it's not terriblyhard, so that's
why it's a goodone to start with.
Not totally obvious either.
Who can think of an algorithmor something, some operation
that we can do onthis sequence compared
to this sequence--in some way-- that
will help us find thehighest scoring match?
I'm sorry.
Yeah?
AUDIENCE: You have to considerinsertion and deletion.
PROFESSOR: Yeah, OK.
So we're going tokeep it simple.
That's true, in general.
But we're goingto keep it simple
and just say noinsertions and deletions.
So we're going to look foran ungapped local alignment.
So that's thealgorithm that I want.
First, no gaps.
And then we'll dogaps on Tuesday.
Tim?
AUDIENCE: You could justcompare your [INAUDIBLE]
to [INAUDIBLE] allacross the database
and turn off all the[INAUDIBLE] on that [INAUDIBLE],
and then figure out [INAUDIBLE].
PROFESSOR: Yeah, OK.
Pretty much.
I mean, that'spretty much right.
Although it's not quite asmuch of a description as
you would need if you wantto actually code that.
Like, how would youactually do that?
So, I want adescription that is sort
of more at thelevel of pseudocode.
Like, here's how you wouldactually organize your code.
So, let's say youentertain the hypothesis
that the alignment can bein different registers.
The alignment can correspond tobase one of the query and base
one of the subject.
Or it could be shifted.
It could be an alignmentwhere base 1 of the query
matches these two, and so forth.
So there's sort ofdifferent registers.
So let's just considerone register first.
The one where base 1 matches.
So let's just lookat the matches
between corresponding bases.
I'm just going to make theselittle angle bracket guys here.
Hopefully I won'tmake any mistakes.
I'm going to take this.
This is sort of implementingTim's idea here.
And then I'm going tolook for each of these--
so consider it going down here.
Now we're sort of lookingat an alignment here.
Is this a match or a mismatch?
That's a mismatch.
That's a match.
That's a mismatch.
That's a mismatch.
That's a match.
Match Match.
Mismatch.
Mismatch.
Mismatch.
So where is thetop scoring match
between the queryand the subject?
Tim?
Anyone?
AUDIENCE: 6, 7, 8.
PROFESSOR: 6, 7, 8.
Good.
Oh--
AUDIENCE: 5, 6, 7.
PROFESSOR: 5, 6, 7.
Right.
Right here.
You can see there'sthree in a row.
Well, what about this?
Why can't we addthis to the match?
What's the reason whyit's not 2, 3, 4, 5, 6, 7?
AUDIENCE: Because thescore for that is lower.
PROFESSOR: Because thescore for that is lower.
Right.
We defined top scoring segment.
You sum up the scoresacross the map.
So you can havemismatches in there,
but this will have a score of 3.
And if you wanted toadd these three bases,
you would be addingnegative 2 and plus 1,
so it would reduce your score.
So that would be worse.
Any ideas on how to do this inan automatic, algorithmic way?
Yeah?
What's your name?
AUDIENCE: Simon.
So if you keep shifting theentire database, [INAUDIBLE].
PROFESSOR: OK so youkeep shifting it over,
and you generateone of these lines.
But imagine my query waslike 1,000 or something.
And my databaseis like a billion.
How do I look along here?
And here it was obvious whatthe top scoring match is.
But if I had twomatches here, then we
would've actually hada longer match here.
So in general, how do Ifind that that top match?
For each of thoseregisters, if you will,
you'll have a thousandlong diagonal here
with 1's and minus 1's on it.
How do I process those scoresto find the top scoring segment?
What's an algorithm to do that?
It's kind ofintuitively obvious,
but I want to do somethingwith, you define a variable
and you update it, and youadd to it, and subtract.
Something like that.
But, like a computercould actually handle.
Yeah?
What was your name?
Julianne?
AUDIENCE: Could you keep trackof what the highest total
score is, and then you keepgoing down the diagonal,
And then you update it?
PROFESSOR: OK.
You keep track of what thehighest total score was?
AUDIENCE: Yeah.
The highest test score.
PROFESSOR: Thehighest segment score?
OK.
I'm going to put this up here.
And we'll define max s.
That's the highest segmentscore we've achieved to date.
And we'll initializethat to zero, let's say.
Because if you hadall mismatches,
zero would be thecorrect answer.
If your query was A'sand your subject was T's.
And then what do you do?
AUDIENCE: As you go down thediagonal, you keep track of--
PROFESSOR: Keep track of what?
AUDIENCE: So youlook at 1 in 1 first.
And then you go 1 in 2, andyou find a score of zero.
But that's higherthan negative 1.
PROFESSOR: But the score of themaximum segment at that point,
after base 2, is not zero.
It's actually 1.
Because you could have asegment of one base alignment.
The cumulative score is zero.
I think you're onto somethinghere that may be also
something usefulto keep track of.
Let's do the cumulative scoreand then you tell me more.
We'll define cumulativescore variable.
We'll initialize that to zero.
And then we'll have some forloops that, as some of you
have said, you want toloop through the subject.
All the possibleregisters of the subject.
So that would bemaybe j equals 1
to subject lengthminus query length.
Something like that.
Don't worry too much about this.
Again, this is notreal code, obviously.
It's pseudocode.
So then this will be,say, 1 to query language.
And so this will begoing along our diagonal.
And we're going to plotthe cumulative score.
So here you would you have anupdate where cumulative score
plus equals the scoreof query position
i matched againstsubject position j.
And update that.
So that's just cumulative score.
So what will it look like?
So in this case, I'lljust use this down here.
So you have zero, 1,2, minus 1, minus 2.
So you'll start at positionzero in the sequence.
At position 1 you'redown here at minus 1
because it was a mismatch.
Then at position 2, as yousaid, we're back up to zero.
And then what happens?
Go down to minus1, down to minus 2.
Then we go up three times in arow until we're up here to 1.
And then we go down after that.
So where is your highest scoringmatch in this cumulative score
plot?
People said it was from 5 to 7.
Yeah, question?
AUDIENCE: So would it befrom like a local minimum
to a local maximum?
PROFESSOR: Yeah.
Exactly.
So, what do you wantto keep track of?
AUDIENCE: You want to keep trackof the minimum and the maximum.
And look for the range whichyou maximize to different--
PROFESSOR: Yeah, sothis is now sort of more
what I was lookingfor in terms of--
so this was the local minimum,and that's the local maximum.
This is the score.
That's your mass s there.
And you also want to keeptrack of where that happened
in both the queryand the subject.
Does that make sense?
So you would keep track ofthis running cumulative score
variable.
You keep track ofthe last minimum.
The minimum thatyou've achieved so far.
And so that would thenbe down here to minus 2.
And then when your cumulativescore got up to plus 1,
you always take thatcumulative score,
minus the last minimumcumulative score.
That gives you apotential candidate
for a high scoring segment.
And if that is bigger thanyour current max high scoring
segment, then you update itand you would update this.
And then you wouldalso have variables
that would store where you are.
And also, where didthat last minimum occur.
So I'm not spelling it all out.
I'm not going to giveyou all the variables.
But this is an algorithm thatwould find the maximum score.
Yeah, question?
AUDIENCE: So you'rekeeping track
of the global maximum,local minimum,
so that you can accept the mostrecent local minimum following
the global maximum?
PROFESSOR: I'm notsure I got all that.
But you're keeping trackof the cumulative score.
The minimum that thatcumulative score ever got to.
And the maximumdifference, the maximum
that you ever in thepast have gone up.
Where you've had anet increment upwards.
Like here.
So this variablehere, this max s,
it would be initialized to zero.
When you got to here, your lastminimum score would be minus 1.
Your cumulativescore would be zero.
You would take the differenceof those, and you'd be like,
oh I've got a high scoringsegment of score one.
So I'm going to update that.
So now, that variableis now 1 at this point.
Then you're going down, soyou're not getting anything.
You're just lowering thisminimum cumulative score
down to minus 2 here.
And then when youget to here, now you
check the cumulative scoreminus the last minimum.
It's 1.
That's a tie.
We won't keep track of ties.
Now at here, thatdifference is 2.
So now we've got a new record.
So now we update this maximumscore to 2 in the locations.
And then we get here, nowit's 3, and we update that.
Does that make sense?
AUDIENCE: Imagine the firstdip-- instead of going down
to negative 1, it wentdown to negative 3.
PROFESSOR: Negative 3?
AUDIENCE: That first dip.
PROFESSOR: Right here?
So we started back a little bit.
So back here, like this?
AUDIENCE: No.
PROFESSOR: Down to negative 3?
AUDIENCE: No.
PROFESSOR: But how dowe get to negative 3?
Because our scoring is this way.
You want this dip to minus 3?
AUDIENCE: No
PROFESSOR: This one minus 3?
Imagine we are at minus 3 here?
AUDIENCE: Yeah.
Imagine it dipped to minus 3.
And then the next one dipped tohigher than that, to minus 2.
And then it went up to 1.
And so, would the differenceyou look at be negative 2 to 1,
or negative 3 to 1?
PROFESSOR: Like that, right?
So, minus 3, let'ssay, minus 2, 1.
Something like that.
What do people think?
Anyone want to--?
AUDIENCE: Minus 3 to 1.
PROFESSOR: Minus 3 to 1.
It's the minimumthat you ever got to.
This might be a stronger match,but this is a higher scoring
match.
And we said we wanthigher scoring.
So you would count that.
AUDIENCE: So you keep trackof both the global minimum
and the globalmaximum, and you take
the difference between them.
PROFESSOR: You keep trackof the global minimum
and the currentcumulative score,
and you take the difference.
AUDIENCE: The global maximum--
PROFESSOR: It's notnecessarily global maximum
because we could bewell below zero here.
We could do like this.
From here to here.
So this is not theglobal maximum.
This just happensto be, we went up
a lot since our last minimum.
So that's your highscoring segment.
Does that make sense?
I haven't completelyspelled it out.
But I think you guys have givenenough ideas here that there;s
sort of the coreof an algorithm.
And I encourage you to thinkthis through afterwards
and let me know ifthere are questions.
And we could add anoptional homework
where I ask you to dothis, that we've sometimes
had in the past.
It is a useful thing to look at.
This is not exactly howthe BLAST algorithm works.
It uses some tricksfor faster speed.
But this is sort ofmorally equivalent to BLAST
in the sense that it has thesame order of magnitude running
time.
So this algorithm-- what is therunning time in Big-O notation?
So just for those whoare non-CS people, when
you use this Big-O notation,then you're asking,
how does the runningtime increase
in the size of the input?
And so what is the input?
So we have two inputs.
We have a query of length.
And let's saysubject of length n.
So clearly, if those are bigger,it'll take longer to run.
But when you comparedifferent algorithms,
you want to know how the runtime depends on those lengths.
Yes.
What's your name?
AUDIENCE: Sally.
m times n.
PROFESSOR: So withthis, this is what
you would call anorder mn algorithm.
And why is that?
How can you see that?
AUDIENCE: You have two forloops And for each length,
essentially, you'regoing through everything
in the query.
And then, for everything thatyou go through in the query,
you would [INAUDIBLE].
PROFESSOR: Right.
In this second for loop here,you're going through the query.
And you're doing thatnested inside of a for loop
that's basically thelength of the subject.
And eventuallyyou're going to have
to compare everybase in the query
to every base in the subject.
There's no way around that.
And that takessome unit of time.
And so the actual time willbe proportional to that.
So the bigger n getsand m gets, it's
just proportionalto the product.
Does that make sense?
Or another way tothink about it is,
you're clearly going to have todo something on this diagonal.
And then you're goingto have to do something
on this diagonal, andthis one, and this one.
And actually, you have toalso check these ones here.
And in the end, the totalnumber of computations
there is going tobe this times that.
You're basically doinga rectangle's worth
of computations.
Does that makes sense?
So that's not bad, right?
It could be worse.
It could be, like, mn squaredor something like that.
So that's basicallywhy BLAST is fast.
So what do these thingslook like, in general?
And what is the condition onour score for this algorithm
to work?
What if I gave a scoreof plus 1 for a match,
and zero for a mismatch?
Could we do this?
Joe, you're shaking your head.
AUDIENCE: It wouldjust be going up.
PROFESSOR: Yeah.
The problem is, it mightbe flat for a while,
but eventually it would go up.
And it would justgo up and up and up.
And so your highestscoring segment
would, most of thetime, be something
that started verynear the beginning
and ended very near the end.
So that doesn't work.
So you have to havea net negative drift.
And the way that's formalizedis the expected score
has to be negative.
So why is the expected scorenegative in this scoring system
that has plus 1 for a match,and minus 1 for a mismatch?
Why does that work?
AUDIENCE: It should be wrongthree quarters of the time.
PROFESSOR: Yeah.
You'll have a mismatchthree quarters of the time.
So on average, youtend to drift down.
And then you have theselittle excursions upwards,
and those are yourhigh scoring segments.
Any questions about that?
AUDIENCE: Question.
Is there somethingbetter than m times n?
PROFESSOR: We've got somecomputer scientists here.
David?
Better than m times n?
I don't think so,because you have
to do all those comparisons.
And so there's no way aroundthat, so I don't think so.
All right.
But the constant--you can do better
on the constant thanthis algorithm thing.
AUDIENCE: Withmultiple queries--
PROFESSOR: Withmultiple queries, yeah.
Then you can maybedo some hashing
or find some-- to speed it up.
OK, so what about thestatistics of this?
So it turns out that Karlin andAltschul developed some theory
for just exactly this problem.
For searching a query sequence.
It can be nucleotide or proteinas long as you have integer
scores and the average-- or theexpected-- score is negative,
then this theorytells you how often
the highest score of all--across the entire query
database comparison--exceeds a cut
off x using a local alignmentalgorithm such as BLAST.
And it turns outthat these scores
follow what's called an extremevalue or Gumbel distribution.
And it has this kind ofdouble exponential form here.
So x is some cut off.
So usually x would be thescore that you actually
observed when you searched yourquery against the database.
That's the one you care about.
And then you wantto know, what's
the probability we would'veseen something higher than that?
Or you might do x is one lessthan the score you observed.
So what's the chance weobserved something the same,
as good as this, or better?
Does that make sense?
And so this is going tobe your P value then.
So the probabilityof S. The score
of the highest segmentunder a model where
you have a random queryagainst a random database
of the same length is 1minus e to the minus KMN
e to the minus lambda x.
Where M and N are the lengthsof the query and the database.
x is the score.
And then K and lambda aretwo positive parameters
that depend actually on thedetails of your score matrix
and the compositionof your sequences.
And it turns out that lambdais really the one that matters.
And you can seethat because lambda
is up there in thatexponent multiplying x.
So if you doublelambda, that'll have
a big effect on the answer.
And K, it turnsout, you can mostly
ignore it for most purposes.
So as a formula, whatdoes this thing look like?
It looks like that.
Kind of a funny shape.
It sort of looks likean umlauf a little bit,
but then has a different shapeon the right than the left.
And how do youcalculate this lambda?
So I said that lambda issort of the key to all this
because of its uniquelyimportant place
in that formula,multiplying the score.
So it turns out that lambda isthe unique positive solution
to this equation here.
So now it actually dependson the scoring matrix.
So you see there's sij there.
It depends on thecomposition of your query.
That's the pi's.
The composition of yoursubject, that's the rj's.
You sum over the iand j equal to each
of the four nucleotides.
And that sum has to be 1.
So there's a unique positivesolution to this equation.
So how would we solvean equation like this?
First of all, whatkind of equation
is this, given that we'regoing to set the sij,
and we're going to justmeasure the pi and the rj?
So those are allknown constants,
and lambda is what we'retrying to solve for here.
So what kind of anequation is this in lambda?
Linear?
Quadratic?
Hyperbolic?
Anybody know what this is?
So this is called atranscendental equation
because you havedifferent powers.
That sounds kind of unpleasant.
You don't take a class intranscendental equations
probably.
So in general, they're notpossible to solve analytically
when they get complicated.
But in simple cases, youcan solve them analytically.
And in fact, let's just do one.
So let's take thesimplest case, which
would be that all thepi's are a quarter.
All the ri's are a quarter.
And we'll use the scoring systemthat we came up with before,
where sii is 1,and sij is minus 1.
If i does not equal j.
And so when we plug those in tothat sum there, what do we get?
We'll get four terms that areone quarter, times one quarter,
times e to the lambda.
There's four possibletypes of matches, right?
They have probability onequarter times a quarter.
That's pi and rj.
And the e to the lambdasii is just e to the lambda
because sii is 1.
And then there's 12 terms thatare one quarter, one quarter,
e to the minus lambda.
Because there'sthe minus 1 score.
And that has to equal 1.
So cancel this, we'llmultiply through by 4, maybe.
So now we get e tothe lambda plus 3.
e to the minus lambda equals 1.
It's still atranscendental equation,
but it's lookinga little simpler.
Any ideas how tosolve this for lambda?
Sally?
AUDIENCE: Wouldn't the 1 be 4?
PROFESSOR: I'm sorry.
4.
Thank you.
Yeah, what's your name?
AUDIENCE: [INAUDIBLE] I think[INAUDIBLE] quadratic equation.
If you multiply both sides by[INAUDIBLE] then [INAUDIBLE].
PROFESSOR: OK, sothe claim is this
is basically aquadratic equation.
So you multiply bothsides by e to the lambda.
So then you get e tothe 2 lambda plus 3.
And then it's going tomove this over and do
minus 4 e to thelambda equals zero.
Is that good?
So how is it quadratic?
What do you actuallydo to solve this?
AUDIENCE: Well, [INAUDIBLE].
PROFESSOR: Change the variable,x equals e to the lambda.
Then it's quadratic in x.
Solve for x.
We all know how to solvequadratic equations.
And then substitutethat for lambda.
OK, everyone got that?
If you use 16 differentscores to represent
all the different typesof matches and mismatches,
this will be very unpleasant.
It's not unsolvable,it's just that you
have to use computationalnumerical methods to solve it.
But in simple caseswhere you just
have a couple differenttypes of scores,
it will often be aquadratic equation.
All right.
So let's suppose that we havea particular scoring system--
particular pi's, rj's-- andwe have a value of lambda that
satisfies those.
So we've solved thisquadratic equation for lambda.
I think we get lambdaequals natural log
3, something like that.
Remember, it's a uniquepositive solution.
Quadratic equationsare two solutions,
but there's going to bejust one positive one.
And then we have that value.
It satisfies this equation.
So then, what if wedouble the scores?
Instead of plus 1 minus1, we use plus 2 minus 2?
What would then happen?
You can see that theoriginal version of lambda
wouldn't necessarily stillsatisfy this equation.
But if you thinkabout it a little bit,
you can figure out whatnew value of lambda
would satisfy this equation.
We've solved for the lambdathat solves with these scores.
Now we're going tohave new scores.
sii prime equals 2.
sij prime equals minus 2.
What is lambda prime?
The lambda that goeswith these scores?
Yeah, go ahead.
AUDIENCE: Half of the original?
PROFESSOR: Half of the original?
Right.
So you're saying that lambdaprime equals lambda over 2.
And why is that?
Can you explain?
AUDIENCE: Becauseof the [INAUDIBLE].
PROFESSOR: Yeah, if you thinkabout these terms in the sum,
the s part is all doubling.
So if you cut the lambda apart,and the product will equal what
it did before.
And we haven't changed the pi'sand rj's, so all those terms
will be the same.
So therefore, it will stillsatisfy that equation.
So that's another wayof thinking about it.
Yes, you're correct.
So if you doublethe scores, lambda
will be reducedby a factor of 2.
So what does thattell us about lambda?
What is it?
What is its meaning?
Yeah, go ahead, Jeff.
AUDIENCE: Scale ofthe distribution
to the expectant score?
Or the range score?
PROFESSOR: Yeah.
It basically scales the scores.
So we can have thesame equation here used
with arbitrary scoring.
It just scales it.
You can see the way it appearsas a multiplicative factor
in front of the score.
So if you double allthe scores, will that
change what the highestscoring segment is?
No, it won't changeit because you'll
have this cumulative thing.
It just changes howyou label the y-axis.
It'll make it bigger, but itwon't change what that is.
And if you lookat this equation,
it won't change thestatistical significance.
The x will double in value,because all the matches are now
worth twice as much aswhat they were before.
But lambda will be halfas big, and so the product
will be the same and therefore,the final probability
will be the same.
So it's just a scaling factorfor using different scoring
systems.
Everyone got that?
All right.
So what scoring matrixshould we use for DNA?
How about this one?
So this is now aslight generalization.
So we're going to keep1 for the matches.
You don't lose any generalityby choosing 1 here for matches,
because if you use 2,then lambda is just
going to be reducedto compensate.
So 1 for matches.
And then we're going touse m for mismatches.
And m must be negative inorder to satisfy this condition
for this theory to work,that the average score
has to be negative.
Clearly, you have to havesome negative scores.
And the question thenis, should we use minus 1
like we used before?
Or should we use like minus 2or minus 5, or something else?
Any thoughts on this?
Or does it matter?
Maybe it doesn't matter.
Yeah, what's your name?
AUDIENCE: [INAUDIBLE].
Would it make sense tonot use [INAUDIBLE],
because [INAUDIBLE].
PROFESSOR: Yeah, OK.
So you want to use a morecomplicated scoring system.
What particularmismatches would you
want to penalize more and less?
AUDIENCE: [INAUDIBLE]I think [INAUDIBLE]
needs to be [INAUDIBLE].
PROFESSOR: Yeah, you arecorrect in your intuition.
Maybe one of thebiologists wants
to offer a suggestion here.
Yeah, go ahead.
AUDIENCE: So it's a mismatchbetween purine and pyrimidine
[INAUDIBLE].
PROFESSOR: OK so now we'vegot purines and pyrimidines.
So everyoneremember, the purines
are A and G. Thepyrimidines are C and T.
And the idea is thatthis should be penalized,
or this should be penalizedless than changing
a purine to a pyrimidine.
And why does that makes sense?
AUDIENCE: Well,structurally they're--
PROFESSOR: Structurally, purinesare more similar to each other
than they are to pyrimidines.
And?
More importantly, I think.
In evolution?
AUDIENCE: [INAUDIBLE].
PROFESSOR: I'm sorry,can you speak up?
AUDIENCE: C to C mutationshappen spontaneously
in [INAUDIBLE] chemistry.
PROFESSOR: Yes.
So C to C mutationshappen spontaneously.
So basically, it'seasier because they
look more similar structurally.
The DNA polymerase is morelikely to make a mistake
and substitute another purine.
The rate of purine,purine or pyrimidine,
pyrimidine totransversions which
switch the type isabout three to one,
or two to one indifferent systems.
So yeah, that's a good idea.
But for simplicity, justto keep the math simple,
we're just going to gowith one mismatch penalty.
But that is a good point.
In practice, youmight want to do that.
So now, I'm sayingI'm going to limit you
to one mismatch penalty.
But I'm going to let youchoose any value you want.
So what value should you choose?
Or does it matter?
Or maybe different applications?
Tim, yeah?
AUDIENCE: I've justgot a question.
Does it depend on pi and ri?
For example, we coulduse all these numbers.
But if the overallwants to be negative,
then you couldn'tuse negative .1.
PROFESSOR: Right,that's a good point.
You can't make it too weak.
It may depend on what yourexpected fraction of matches
is, which actuallydepends on pi and ri.
So if you have very biasedsequences, like very AT rich,
your expected fraction ofmatches is actually higher.
When you're researchingan AT rich sequence
against anotherAT rich sequence,
it's actually higherthan a quarter.
So even minus one mightnot be sufficient there.
You might need to godown more negative.
So you may need to use ahigher negative value just
to make sure that theexpected value is negative.
That's true.
And yeah, you may want to adjustit based on the composition.
So let's just do a bit more.
So it turns out that theKarlin and Altschul theory,
in addition to telling you whatthe p value is of your match--
the statistical significance--it also tells you
what the matches willlook like in terms
of what fraction ofidentity they will have.
And this is the so-calledtarget frequency equation.
The theory says that ifI search a query with one
particular composition, p,subject meta-composition r--
here, I've just assumedthey're the same, both p just
for simplicity-- with ascoring matrix sij, which
has a corresponding of lambda.
Then, when I take thosevery high scoring matches--
the ones that arestatistically significant--
and I look at thosealignments of those matches,
I will get values qij,given by this formula.
So look at the formula.
So it's qij.
So pipj e to the lambda sij.
So it's basicallythe expected chance
that you would have basei matching based j just
by chance.
That's pipj.
But then weighted bye to the lambda sij.
So we notice for a match,s will be positive,
so e to the lambdawill be positive.
So that will be bigger than 1.
And you'll have morematches and you'll
have correspondinglyless mismatches
because the mismatchhas a negative.
So get the target value score.
And that also tells you thatthe so-called natural scores
are actually determinedby the fraction of matches
that you want in yourhigh scoring segments.
If we want 90% matches,we just set qii
to be 0.9, and usethis equation here.
Solve for sij.
For example, if you want tofind regions with R% identities.
Little r is just ther as a proportion.
qii is going to be r over 4.
This assumes unbiasedbase composition.
A quarter of thematches are acgt.
Qij, then, is 1 minus r over 12.
1 minus r is a fractionof non-matching positions.
They're 12 different types.
Set sii equal to 1, that'swhat we said we normally do.
And then you do a littlebit of algebra here.
m is sij.
And you sort of plug inthis equation twice here.
And you get this equation.
So it says that m equalslog of 4 1 minus r over 3
over log 4 r.
And for this to betrue, this assumes
that both the queryand the database
have uniform compositionof a quarter,
and that r is betweena quarter and 1.
The proportion of matches inyour high scoring segment--
you want it to bebigger than a quarter.
A quarter is what youwould see by chance.
There's something wrong withyour scoring system if you're
considering thoseto be significant.
So it's something above 25%.
And so it's justsimple algebra--
you can check my work athome-- to solve for m here.
And then this equationthen tells you
that if I want to find75% identical matches
in a nucleotidesearch, I should use
a mismatch penalty of minus 1.
And if I want 99%identical matches,
I should use apenalty of minus 3.
Not minus 5, but minus 3.
And I want you to thinkabout, does that make sense?
Does that not make sense?
Because I'm going to ask youat the beginning of class
on Tuesday toexplain and comment
on this particular phenomenonof how when you want higher
percent identities, you want amore negative mismatch score.
Any last questions?
Comments?123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971align:start position:0% let's consider the following problem
align:start position:0%let's consider the following problem
align:start position:0%let's consider the following problemsuppose we have an inclined plane and on
align:start position:0%suppose we have an inclined plane and on
align:start position:0%suppose we have an inclined plane and onthis inclined plane we have a block and
align:start position:0%this inclined plane we have a block and
align:start position:0%this inclined plane we have a block anddown here at the bottom of the inclined
align:start position:0%down here at the bottom of the inclined
align:start position:0%down here at the bottom of the inclinedplane there's a little bumper it can be
align:start position:0%plane there's a little bumper it can be
align:start position:0%plane there's a little bumper it can bea spring of some type and what we have
align:start position:0%a spring of some type and what we have
align:start position:0%a spring of some type and what we haveis the block is sliding down the
align:start position:0%is the block is sliding down the
align:start position:0%is the block is sliding down theinclined plane bouncing off the bumper
align:start position:0%inclined plane bouncing off the bumper
align:start position:0%inclined plane bouncing off the bumperand sliding up the inclined plane and
align:start position:0%and sliding up the inclined plane and
align:start position:0%and sliding up the inclined plane andwhat we'd like to do is find the
align:start position:0%what we'd like to do is find the
align:start position:0%what we'd like to do is find theacceleration of the block for both cases
align:start position:0%acceleration of the block for both cases
align:start position:0%acceleration of the block for both casesso when it's sliding down let's do an
align:start position:0%so when it's sliding down let's do an
align:start position:0%so when it's sliding down let's do ananalysis on that motion well the first
align:start position:0%analysis on that motion well the first
align:start position:0%analysis on that motion well the firstthing we have to do is again identify
align:start position:0%thing we have to do is again identify
align:start position:0%thing we have to do is again identifyour system in this case just the block
align:start position:0%our system in this case just the block
align:start position:0%our system in this case just the blockwill be our system so we'll put in the
align:start position:0%will be our system so we'll put in the
align:start position:0%will be our system so we'll put in theblock as our system and now we have to
align:start position:0%block as our system and now we have to
align:start position:0%block as our system and now we have toanalyze the forces on the block as its
align:start position:0%analyze the forces on the block as its
align:start position:0%analyze the forces on the block as itssliding down there is a friction with
align:start position:0%sliding down there is a friction with
align:start position:0%sliding down there is a friction withthe coefficient UK and so we have the
align:start position:0%the coefficient UK and so we have the
align:start position:0%the coefficient UK and so we have thegravitational force mg we have a normal
align:start position:0%gravitational force mg we have a normal
align:start position:0%gravitational force mg we have a normalforce of the surface on the block
align:start position:0%force of the surface on the block
align:start position:0%force of the surface on the blockpointing up and because the block is
align:start position:0%pointing up and because the block is
align:start position:0%pointing up and because the block issliding down remember that our friction
align:start position:0%sliding down remember that our friction
align:start position:0%sliding down remember that our frictionforce is opposing that motion now when
align:start position:0%force is opposing that motion now when
align:start position:0%force is opposing that motion now whenyou have a free boundary force diagram
align:start position:0%you have a free boundary force diagram
align:start position:0%you have a free boundary force diagramwe have to decide which way should we
align:start position:0%we have to decide which way should we
align:start position:0%we have to decide which way should wehow should we choose our coordinate
align:start position:0%how should we choose our coordinate
align:start position:0%how should we choose our coordinatesystems what we want to encourage you is
align:start position:0%systems what we want to encourage you is
align:start position:0%systems what we want to encourage you isnot to choose a coordinate system unit
align:start position:0%not to choose a coordinate system unit
align:start position:0%not to choose a coordinate system unitvectors horizontal and vertical just
align:start position:0%vectors horizontal and vertical just
align:start position:0%vectors horizontal and vertical justbecause that's the way one always does
align:start position:0%because that's the way one always does
align:start position:0%because that's the way one always doesit but to use the constraint of the
align:start position:0%it but to use the constraint of the
align:start position:0%it but to use the constraint of thesystem to help you choose the coordinate
align:start position:0%system to help you choose the coordinate
align:start position:0%system to help you choose the coordinatesystem now a technique for doing that is
align:start position:0%system now a technique for doing that is
align:start position:0%system now a technique for doing that isto draw the what you think will be the
align:start position:0%to draw the what you think will be the
align:start position:0%to draw the what you think will be theacceleration on your sketch so I expect
align:start position:0%acceleration on your sketch so I expect
align:start position:0%acceleration on your sketch so I expectthat a is going to go down the inclined
align:start position:0%that a is going to go down the inclined
align:start position:0%that a is going to go down the inclinedplane that's taking to account that
align:start position:0%plane that's taking to account that
align:start position:0%plane that's taking to account thatthere's no motion perpendicular to the
align:start position:0%there's no motion perpendicular to the
align:start position:0%there's no motion perpendicular to theinclined plane this drawing the
align:start position:0%inclined plane this drawing the
align:start position:0%inclined plane this drawing theacceleration remember acceleration is
align:start position:0%acceleration remember acceleration is
align:start position:0%acceleration remember acceleration isnot a force but this gives me a clue for
align:start position:0%not a force but this gives me a clue for
align:start position:0%not a force but this gives me a clue forhow I should choose my unit vectors I'll
align:start position:0%how I should choose my unit vectors I'll
align:start position:0%how I should choose my unit vectors I'llchoose them so that I hat points down
align:start position:0%choose them so that I hat points down
align:start position:0%choose them so that I hat points downand so I essentially have a 1/2
align:start position:0%and so I essentially have a 1/2
align:start position:0%and so I essentially have a 1/2mental motion and I'll choose J hat
align:start position:0%mental motion and I'll choose J hat
align:start position:0%mental motion and I'll choose J hatpointing out now I'll introduce an
align:start position:0%pointing out now I'll introduce an
align:start position:0%pointing out now I'll introduce anangle-theta
align:start position:0%angle-theta
align:start position:0%angle-thetathat's the same angle theta here and one
align:start position:0%that's the same angle theta here and one
align:start position:0%that's the same angle theta here and onehas to be a little bit careful in doing
align:start position:0%has to be a little bit careful in doing
align:start position:0%has to be a little bit careful in doingthese types of sketches but this is also
align:start position:0%these types of sketches but this is also
align:start position:0%these types of sketches but this is alsothe angle theta and now I've chosen a
align:start position:0%the angle theta and now I've chosen a
align:start position:0%the angle theta and now I've chosen acoordinate system unit vectors I've
align:start position:0%coordinate system unit vectors I've
align:start position:0%coordinate system unit vectors I'veindicated relevant angles and the rest
align:start position:0%indicated relevant angles and the rest
align:start position:0%indicated relevant angles and the restof the problem is just vector
align:start position:0%of the problem is just vector
align:start position:0%of the problem is just vectordecomposition in applying Newton's
align:start position:0%decomposition in applying Newton's
align:start position:0%decomposition in applying Newton'ssecond law so we'll write down F equals
align:start position:0%second law so we'll write down F equals
align:start position:0%second law so we'll write down F equalsMA and I'm going to indicate a d4 we're
align:start position:0%MA and I'm going to indicate a d4 we're
align:start position:0%MA and I'm going to indicate a d4 we'retalking about the acceleration downwards
align:start position:0%talking about the acceleration downwards
align:start position:0%talking about the acceleration downwardsand we have two directions to analyze
align:start position:0%and we have two directions to analyze
align:start position:0%and we have two directions to analyzethe eye hat and the J hat directions so
align:start position:0%the eye hat and the J hat directions so
align:start position:0%the eye hat and the J hat directions soin the direction tangent to the surface
align:start position:0%in the direction tangent to the surface
align:start position:0%in the direction tangent to the surfacewe have a gravitational force downward
align:start position:0%we have a gravitational force downward
align:start position:0%we have a gravitational force downwardmg sine theta we have the kinetic
align:start position:0%mg sine theta we have the kinetic
align:start position:0%mg sine theta we have the kineticfriction force opposing that motion and
align:start position:0%friction force opposing that motion and
align:start position:0%friction force opposing that motion andthat's equal to M a D where ad is the X
align:start position:0%that's equal to M a D where ad is the X
align:start position:0%that's equal to M a D where ad is the Xcomponent of the acceleration in the
align:start position:0%component of the acceleration in the
align:start position:0%component of the acceleration in thevertical direction we have the normal
align:start position:0%vertical direction we have the normal
align:start position:0%vertical direction we have the normalforce minus mg cosine theta and here's
align:start position:0%force minus mg cosine theta and here's
align:start position:0%force minus mg cosine theta and here'swhere our choice of coordinate system
align:start position:0%where our choice of coordinate system
align:start position:0%where our choice of coordinate systemhelps us the constraint of the system is
align:start position:0%helps us the constraint of the system is
align:start position:0%helps us the constraint of the system isthat a Y is zero when we choose Y to be
align:start position:0%that a Y is zero when we choose Y to be
align:start position:0%that a Y is zero when we choose Y to bethe perpendicular direction so this side
align:start position:0%the perpendicular direction so this side
align:start position:0%the perpendicular direction so this sideis zero now I look at this
align:start position:0%is zero now I look at this
align:start position:0%is zero now I look at thisand I see a F and N and that's only two
align:start position:0%and I see a F and N and that's only two
align:start position:0%and I see a F and N and that's only twoequations and three unknowns but now I
align:start position:0%equations and three unknowns but now I
align:start position:0%equations and three unknowns but now Ihave a force law for my friction which
align:start position:0%have a force law for my friction which
align:start position:0%have a force law for my friction whichis that the kinetic friction is equal to
align:start position:0%is that the kinetic friction is equal to
align:start position:0%is that the kinetic friction is equal toa coefficient UK n and I can see from
align:start position:0%a coefficient UK n and I can see from
align:start position:0%a coefficient UK n and I can see fromthis equation that's mu K mg cosine
align:start position:0%this equation that's mu K mg cosine
align:start position:0%this equation that's mu K mg cosinetheta and now I'm in position in which
align:start position:0%theta and now I'm in position in which
align:start position:0%theta and now I'm in position in whichto substitute my friction into this
align:start position:0%to substitute my friction into this
align:start position:0%to substitute my friction into thisequation and solve for the acceleration
align:start position:0%equation and solve for the acceleration
align:start position:0%equation and solve for the accelerationnotice the mass will cancel and what I
align:start position:0%notice the mass will cancel and what I
align:start position:0%notice the mass will cancel and what Iget is that the acceleration going down
align:start position:0%get is that the acceleration going down
align:start position:0%get is that the acceleration going downis just equal to G times sine theta
align:start position:0%is just equal to G times sine theta
align:start position:0%is just equal to G times sine thetaminus mu K cosine of
align:start position:0%minus mu K cosine of
align:start position:0%minus mu K cosine ofand so that's how we can analyze the
align:start position:0%and so that's how we can analyze the
align:start position:0%and so that's how we can analyze theacceleration when the block is sliding
align:start position:0%acceleration when the block is sliding
align:start position:0%acceleration when the block is slidingdown next we want to analyze the
align:start position:0%down next we want to analyze the
align:start position:0%down next we want to analyze theacceleration when the block is going up
align:start position:0%acceleration when the block is going up
align:start position:0%acceleration when the block is going upnow when you have a case like that it's
align:start position:0%now when you have a case like that it's
align:start position:0%now when you have a case like that it'ssometimes easier again just to draw will
align:start position:0%sometimes easier again just to draw will
align:start position:0%sometimes easier again just to draw willstill choose and now the interesting
align:start position:0%still choose and now the interesting
align:start position:0%still choose and now the interestingthing is which ways acceleration
align:start position:0%thing is which ways acceleration
align:start position:0%thing is which ways accelerationpointing just because the block is going
align:start position:0%pointing just because the block is going
align:start position:0%pointing just because the block is goingup the acceleration is still pointing
align:start position:0%up the acceleration is still pointing
align:start position:0%up the acceleration is still pointingdown how do you know that well we'll see
align:start position:0%down how do you know that well we'll see
align:start position:0%down how do you know that well we'll seethat when we analyze the forces so we
align:start position:0%that when we analyze the forces so we
align:start position:0%that when we analyze the forces so westill have n we have mg but now the
align:start position:0%still have n we have mg but now the
align:start position:0%still have n we have mg but now thecrucial point is this is going up the
align:start position:0%crucial point is this is going up the
align:start position:0%crucial point is this is going up thecrucial point here is that the kinetic
align:start position:0%crucial point here is that the kinetic
align:start position:0%crucial point here is that the kineticfriction is always opposing the motion
align:start position:0%friction is always opposing the motion
align:start position:0%friction is always opposing the motionso when the block is sliding up the
align:start position:0%so when the block is sliding up the
align:start position:0%so when the block is sliding up thekinetic friction is down and all that we
align:start position:0%kinetic friction is down and all that we
align:start position:0%kinetic friction is down and all that wehave is a sign change here this is now
align:start position:0%have is a sign change here this is now
align:start position:0%have is a sign change here this is nowplus if I choose my I hat and J hat in
align:start position:0%plus if I choose my I hat and J hat in
align:start position:0%plus if I choose my I hat and J hat inthe same direction notice both of these
align:start position:0%the same direction notice both of these
align:start position:0%the same direction notice both of theseforces have a positive component in the
align:start position:0%forces have a positive component in the
align:start position:0%forces have a positive component in theI hat direction so the acceleration will
align:start position:0%I hat direction so the acceleration will
align:start position:0%I hat direction so the acceleration willbe down and rather than do all the
align:start position:0%be down and rather than do all the
align:start position:0%be down and rather than do all thealgebra all I'm doing is changing the
align:start position:0%algebra all I'm doing is changing the
align:start position:0%algebra all I'm doing is changing thesign and I get that a up is equal to G
align:start position:0%sign and I get that a up is equal to G
align:start position:0%sign and I get that a up is equal to Gsine theta plus mu K cosine theta and
align:start position:0%sine theta plus mu K cosine theta and
align:start position:0%sine theta plus mu K cosine theta andalthough it may seem slightly
align:start position:0%although it may seem slightly
align:start position:0%although it may seem slightlycounterintuitive that the acceleration
align:start position:0%counterintuitive that the acceleration
align:start position:0%counterintuitive that the accelerationas the block is going up in magnitude is
align:start position:0%as the block is going up in magnitude is
align:start position:0%as the block is going up in magnitude isbigger than the acceleration as the
align:start position:0%bigger than the acceleration as the
align:start position:0%bigger than the acceleration as theblock is going down and that's because
align:start position:0%block is going down and that's because
align:start position:0%block is going down and that's becauseof the direction of the kinetic friction
align:start position:0%of the direction of the kinetic friction
align:start position:0%of the direction of the kinetic frictionforce123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206So far in constructing our timesharing system,we've worked hard to build an execution environment
that gives each process the illusion of runningon its own independent virtual machine.
The processes appear to run concurrently althoughwe're really quickly switching between running
processes on a single hardware system.This often leads to better overall utilization
since if a particular process is waiting foran I/O event, we can devote the unneeded cycles
to running other processes.The downside of timesharing is that it can
be hard to predict exactly how long a processwill take to complete since the CPU time it
will receive depends on how much time theother processes are using.
So we'd need to know how many other processesthere are, whether they're waiting for I/O
events, etc.In a timesharing system we can't make any
guarantees on completion times.And we chose to have the OS play the intermediary
between interrupt events triggered by theoutside world and the user-mode programs where
the event processing occurs.In other words, we've separated event handling
(where the data is stored by the OS)and event processing (where the data is passed
to user-mode programs via SVCs).This means that using a conventional timesharing
system, it's hard to ensure that event processingwill be complete by a specified event deadline,
i.e., before the end of a specified time periodafter the event was triggered.
Since modern CPU chips provide inexpensive,high-performance, general-purpose computing,
they are often used as the "brains" of controlsystems where deadlines are a fact of life.
For example, consider the electronic stabilitycontrol (ESC) system on modern cars.
This system helps drivers maintain controlof their vehicle during steering and braking
maneuvers by keeping the car headed in thedriver's intended direction.
The computer at the heart of the system measuresthe forces on the car, the direction of steering,
and the rotation of the wheelsto determine if there's been a loss of control
due to a loss of traction, i.e., is the car"spinning out"?
If so, the ESC uses rapid automatic brakingof individual wheels to prevent the car's
heading from veering from the driver's intendedheading.
With ESC you can slam on your brakes or swerveto avoid an obstacle and not worry that the
car will suddenly fishtail out of control.You can feel the system working as a chatter
in the brakes.To be effective, the ESC system has to guarantee
the correct braking action at each wheel withina certain time of receiving dangerous sensor
settings.This means that it has to be able to guarantee
that certain subroutines will run to completionwithin some predetermined time of a sensor
event.To be able to make these guarantees we'll
have to come up with a better way to scheduleprocess execution -
round-robin scheduling won't get the job done!Systems that can make such guarantees are
called "real-time systems".One measure of performance in a real-time
system is the interrupt latency L, the amountof time that elapses between a request to
run some code and when that code actuallystarts executing.
If there's a deadline D associated with servicingthe request, we can compute the maximum allowable
latency that still permits the service routineto complete by the deadline.
In other words, what's the largest L suchthat L_max+S = D?
Bad things can happen if we miss certain deadlines.Maybe that's why we call them "dead"-lines
:)In those cases we want our real time system
to guarantee that the actual latency is alwaysless than the maximum allowable latency.
These critical deadlines give rise to whatwe call "hard real-time constraints".
What factors contribute to interrupt latency?Well, while handling an interrupt it takes
times to save the process state, switch tothe kernel context, and dispatch to the correct
interrupt handler.When writing our OS, we can work to minimize
the amount of code involved in the setup phaseof an interrupt handler.
We also have to avoid long periods of timewhen the processor cannot be interrupted.
Some ISAs have complex multi-cycle instructions,e.g., block move instructions where a single
instruction makes many memory accesses asit moves a block of data from one location
to another.In designing the ISA, we need to avoid such
instructions or design them so that they canbe interrupted and restarted.
The biggest problem comes when we're executinganother interrupt handler in kernel mode.
In kernel mode, interrupts are disabled, sothe actual latency will be determined by the
time it takes to complete the current interrupthandler in addition to the other costs mentioned
above.This latency is not under the control of the
CPU designer and will depend on the particularapplication.
Writing programs with hard real-time constraintscan get complicated!
Our goal is to bound and minimize interruptlatency.
We'll do this by optimizing the cost of takingan interrupt and dispatching to the correct
handler code.We'll avoid instructions whose execution time
is data dependent.And we'll work to minimize the time spent
in kernel mode.But even with all these measures, we'll see
that in some cases we'll have to modify oursystem to allow interrupts even in kernel
mode.Next we'll look at some concrete examples
and see what mechanisms are required to makeguarantees about hard real-time constraints.1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459align:start position:0% hi and welcome back today we're going to
align:start position:0%hi and welcome back today we're going to
align:start position:0%hi and welcome back today we're going todo a problem about the four fundamental
align:start position:0%do a problem about the four fundamental
align:start position:0%do a problem about the four fundamentalsubspaces so here we have a matrix b b
align:start position:0%subspaces so here we have a matrix b b
align:start position:0%subspaces so here we have a matrix b bis written as the product of a lower
align:start position:0%is written as the product of a lower
align:start position:0%is written as the product of a lowertriangular Matrix and an upper
align:start position:0%triangular Matrix and an upper
align:start position:0%triangular Matrix and an uppertriangular Matrix and we are going to
align:start position:0%triangular Matrix and we are going to
align:start position:0%triangular Matrix and we are going tofind a basis for and compute the
align:start position:0%find a basis for and compute the
align:start position:0%find a basis for and compute thedimension of each of the four
align:start position:0%dimension of each of the four
align:start position:0%dimension of each of the fourfundamental subspaces of B now I'll give
align:start position:0%fundamental subspaces of B now I'll give
align:start position:0%fundamental subspaces of B now I'll giveyou a minute to try that on your own to
align:start position:0%you a minute to try that on your own to
align:start position:0%you a minute to try that on your own tohit pause and then I'll be right back in
align:start position:0%hit pause and then I'll be right back in
align:start position:0%hit pause and then I'll be right back injust a minute and we can do it
align:start position:0%
align:start position:0% together okay we're we're
align:start position:0%together okay we're we're
align:start position:0%together okay we're we'reback
align:start position:0%back
align:start position:0%backnow the first thing to notice is that uh
align:start position:0%now the first thing to notice is that uh
align:start position:0%now the first thing to notice is that uhB that is this is an l u decomposition
align:start position:0%B that is this is an l u decomposition
align:start position:0%B that is this is an l u decompositionof B so we have L here and U here now
align:start position:0%of B so we have L here and U here now
align:start position:0%of B so we have L here and U here nowlet's go one space at a time let's start
align:start position:0%let's go one space at a time let's start
align:start position:0%let's go one space at a time let's startwith the column
align:start position:0%
align:start position:0% space and first let's just say what the
align:start position:0%space and first let's just say what the
align:start position:0%space and first let's just say what thedimension of the column space is okay so
align:start position:0%dimension of the column space is okay so
align:start position:0%dimension of the column space is okay solet's look at our U Matrix how many
align:start position:0%let's look at our U Matrix how many
align:start position:0%let's look at our U Matrix how manypivots do we have we have two pivots so
align:start position:0%pivots do we have we have two pivots so
align:start position:0%pivots do we have we have two pivots sothe column space has dimension
align:start position:0%the column space has dimension
align:start position:0%the column space has dimensiontwo this is the number of
align:start position:0%two this is the number of
align:start position:0%two this is the number ofpivots good now how do we uh find a
align:start position:0%pivots good now how do we uh find a
align:start position:0%pivots good now how do we uh find abasis for the column
align:start position:0%
align:start position:0% space um how do we find that that basis
align:start position:0%space um how do we find that that basis
align:start position:0%space um how do we find that that basiswell in lecture Professor string had uh
align:start position:0%well in lecture Professor string had uh
align:start position:0%well in lecture Professor string had uhstarted with a matrix B he did
align:start position:0%started with a matrix B he did
align:start position:0%started with a matrix B he didelimination on it and then he took the
align:start position:0%elimination on it and then he took the
align:start position:0%elimination on it and then he took thepivot columns in the original Matrix and
align:start position:0%pivot columns in the original Matrix and
align:start position:0%pivot columns in the original Matrix andthat's great that works you can also
align:start position:0%that's great that works you can also
align:start position:0%that's great that works you can alsotake the pivot columns in the L Matrix
align:start position:0%take the pivot columns in the L Matrix
align:start position:0%take the pivot columns in the L Matrixyou you can see by multiplying this this
align:start position:0%you you can see by multiplying this this
align:start position:0%you you can see by multiplying this thisout that it will amount to essentially
align:start position:0%out that it will amount to essentially
align:start position:0%out that it will amount to essentiallythe same thing so a basis for this
align:start position:0%the same thing so a basis for this
align:start position:0%the same thing so a basis for thiscolumn space I can just take these these
align:start position:0%column space I can just take these these
align:start position:0%column space I can just take these thesetwo pivot Columns of my L Matrix 1 2
align:start position:0%two pivot Columns of my L Matrix 1 2
align:start position:0%two pivot Columns of my L Matrix 1 2-1 and 0 1 0 good
align:start position:0%-1 and 0 1 0 good
align:start position:0%-1 and 0 1 0 goodokay so there's the dimension of and the
align:start position:0%okay so there's the dimension of and the
align:start position:0%okay so there's the dimension of and thebasis for the column space of B
align:start position:0%basis for the column space of B
align:start position:0%basis for the column space of Bokay next let's do the null space
align:start position:0%okay next let's do the null space
align:start position:0%okay next let's do the null spacetogether okay what's the
align:start position:0%together okay what's the
align:start position:0%together okay what's thedimension of the null
align:start position:0%
align:start position:0% space
align:start position:0%space
align:start position:0%spacewell the dimension of the null space is
align:start position:0%well the dimension of the null space is
align:start position:0%well the dimension of the null space isalways the
align:start position:0%always the
align:start position:0%always thenumber of columns minus the number of
align:start position:0%number of columns minus the number of
align:start position:0%number of columns minus the number ofpivots right it's the number of
align:start position:0%pivots right it's the number of
align:start position:0%pivots right it's the number offree variables so here that's just
align:start position:0%free variables so here that's just
align:start position:0%free variables so here that's justone good and how do we find this one
align:start position:0%one good and how do we find this one
align:start position:0%one good and how do we find this onevector in the uh null space
align:start position:0%
align:start position:0% well
align:start position:0%
align:start position:0% uh
align:start position:0%
align:start position:0% well what we do right is we can just
align:start position:0%well what we do right is we can just
align:start position:0%well what we do right is we can justplug in one for our free
align:start position:0%plug in one for our free
align:start position:0%plug in one for our freevariable and we can back solve to get
align:start position:0%variable and we can back solve to get
align:start position:0%variable and we can back solve to getthe other two so this equation tells me
align:start position:0%the other two so this equation tells me
align:start position:0%the other two so this equation tells methat my second number is negative - 1
align:start position:0%that my second number is negative - 1
align:start position:0%that my second number is negative - 1and this equation tells me that that
align:start position:0%and this equation tells me that that
align:start position:0%and this equation tells me that thatthird variable is - 35ths if I can fit
align:start position:0%third variable is - 35ths if I can fit
align:start position:0%third variable is - 35ths if I can fitit in here
align:start position:0%
align:start position:0% here that's a - 35ths if you if it's
align:start position:0%here that's a - 35ths if you if it's
align:start position:0%here that's a - 35ths if you if it'sdifficult to see that on the
align:start position:0%difficult to see that on the
align:start position:0%difficult to see that on thetape okay now let's move on next to the
align:start position:0%tape okay now let's move on next to the
align:start position:0%tape okay now let's move on next to therow space
align:start position:0%row space
align:start position:0%row spaceokay so next is the row space so how do
align:start position:0%okay so next is the row space so how do
align:start position:0%okay so next is the row space so how dowe find the dimension of the row space
align:start position:0%we find the dimension of the row space
align:start position:0%we find the dimension of the row spaceI'm going to write row space is column
align:start position:0%I'm going to write row space is column
align:start position:0%I'm going to write row space is columnspace of B
align:start position:0%space of B
align:start position:0%space of Btranspose how do we find that well well
align:start position:0%transpose how do we find that well well
align:start position:0%transpose how do we find that well wellremember that one of our big facts in
align:start position:0%remember that one of our big facts in
align:start position:0%remember that one of our big facts inthis class is that the dimension of the
align:start position:0%this class is that the dimension of the
align:start position:0%this class is that the dimension of therow space is the same as the dimension
align:start position:0%row space is the same as the dimension
align:start position:0%row space is the same as the dimensionof the column space it's just the number
align:start position:0%of the column space it's just the number
align:start position:0%of the column space it's just the numberof
align:start position:0%of
align:start position:0%ofpivots so that's good so it's
align:start position:0%pivots so that's good so it's
align:start position:0%pivots so that's good so it'stwo okay and how do we find a basis for
align:start position:0%two okay and how do we find a basis for
align:start position:0%two okay and how do we find a basis forthe uh row space well there are a couple
align:start position:0%the uh row space well there are a couple
align:start position:0%the uh row space well there are a coupleways of thinking about
align:start position:0%ways of thinking about
align:start position:0%ways of thinking aboutthis one way of thinking about it is we
align:start position:0%this one way of thinking about it is we
align:start position:0%this one way of thinking about it is wegot this upper triangular Matrix from B
align:start position:0%got this upper triangular Matrix from B
align:start position:0%got this upper triangular Matrix from Bby doing elimination
align:start position:0%by doing elimination
align:start position:0%by doing eliminationand elimination doesn't change the uh
align:start position:0%and elimination doesn't change the uh
align:start position:0%and elimination doesn't change the uhrow space so I can just use the two
align:start position:0%row space so I can just use the two
align:start position:0%row space so I can just use the twopivot rows of the Matrix U good so
align:start position:0%pivot rows of the Matrix U good so
align:start position:0%pivot rows of the Matrix U good sobasis for my row space
align:start position:0%
align:start position:0% here
align:start position:0%
align:start position:0% uh is I just put these two pivot
align:start position:0%uh is I just put these two pivot
align:start position:0%uh is I just put these two pivotrows
align:start position:0%rows
align:start position:0%rowsthose put I I just put those together
align:start position:0%those put I I just put those together
align:start position:0%those put I I just put those togetherand I get a basis for this row space
align:start position:0%and I get a basis for this row space
align:start position:0%and I get a basis for this row spaceokay the last one is always the toughest
align:start position:0%okay the last one is always the toughest
align:start position:0%okay the last one is always the toughestand the trickiest we have to do the left
align:start position:0%and the trickiest we have to do the left
align:start position:0%and the trickiest we have to do the leftnull space or the null space of B
align:start position:0%null space or the null space of B
align:start position:0%null space or the null space of Btranspose okay so first let's compute
align:start position:0%transpose okay so first let's compute
align:start position:0%transpose okay so first let's computeits Dimension what's the dimension of
align:start position:0%its Dimension what's the dimension of
align:start position:0%its Dimension what's the dimension ofthis left null
align:start position:0%this left null
align:start position:0%this left nullspace okay well there's a similar
align:start position:0%space okay well there's a similar
align:start position:0%space okay well there's a similarformula to com to uh the one we used
align:start position:0%formula to com to uh the one we used
align:start position:0%formula to com to uh the one we usedwhen we were Computing the dimension of
align:start position:0%when we were Computing the dimension of
align:start position:0%when we were Computing the dimension ofthe null
align:start position:0%the null
align:start position:0%the nullspace it's just the number of rows minus
align:start position:0%space it's just the number of rows minus
align:start position:0%space it's just the number of rows minusthe number of pivots so there are three
align:start position:0%the number of pivots so there are three
align:start position:0%the number of pivots so there are threerows our Matrix is 3x3 and they're two
align:start position:0%rows our Matrix is 3x3 and they're two
align:start position:0%rows our Matrix is 3x3 and they're twopivots so this is just onedimensional
align:start position:0%pivots so this is just onedimensional
align:start position:0%pivots so this is just onedimensionalagain now um we need to compute now um
align:start position:0%again now um we need to compute now um
align:start position:0%again now um we need to compute now umthis left null space
align:start position:0%
align:start position:0% so let me let me go go back to our
align:start position:0%so let me let me go go back to our
align:start position:0%so let me let me go go back to ouroriginal Matrix the way to a do this is
align:start position:0%original Matrix the way to a do this is
align:start position:0%original Matrix the way to a do this isto take bals luu and invert
align:start position:0%to take bals luu and invert
align:start position:0%to take bals luu and invertL and get EB equals U so we we need to
align:start position:0%L and get EB equals U so we we need to
align:start position:0%L and get EB equals U so we we need tomove L over to the left hand
align:start position:0%move L over to the left hand
align:start position:0%move L over to the left handside okay and if we do that um I'm just
align:start position:0%side okay and if we do that um I'm just
align:start position:0%side okay and if we do that um I'm justgoing to write that down
align:start position:0%
align:start position:0% here
align:start position:0%here
align:start position:0%hereso what's the inverse of the L Matrix we
align:start position:0%so what's the inverse of the L Matrix we
align:start position:0%so what's the inverse of the L Matrix wejust get
align:start position:0%just get
align:start position:0%just get1 -2 1 0 1
align:start position:0%1 -2 1 0 1
align:start position:0%1 -2 1 0 1one times
align:start position:0%
align:start position:0% B uh is our U Matrix this upper
align:start position:0%B uh is our U Matrix this upper
align:start position:0%B uh is our U Matrix this uppertriangular
align:start position:0%triangular
align:start position:0%triangularMatrix
align:start position:0%
align:start position:0% um okay and now now that I've moved L
align:start position:0%um okay and now now that I've moved L
align:start position:0%um okay and now now that I've moved Lover to the other side I can read off
align:start position:0%over to the other side I can read off
align:start position:0%over to the other side I can read offmy uh the vectors in my left null space
align:start position:0%my uh the vectors in my left null space
align:start position:0%my uh the vectors in my left null spacenow I'm looking at not my Pivot
align:start position:0%now I'm looking at not my Pivot
align:start position:0%now I'm looking at not my Pivotvariables but my free variables because
align:start position:0%variables but my free variables because
align:start position:0%variables but my free variables becauseit's some sort of null space but I want
align:start position:0%it's some sort of null space but I want
align:start position:0%it's some sort of null space but I wantto look at this e Matrix so the third
align:start position:0%to look at this e Matrix so the third
align:start position:0%to look at this e Matrix so the thirdrow of this e Matrix the third row
align:start position:0%row of this e Matrix the third row
align:start position:0%row of this e Matrix the third rowcorresponds to the free row here and
align:start position:0%corresponds to the free row here and
align:start position:0%corresponds to the free row here andwhen I multiply this by B I just get
align:start position:0%when I multiply this by B I just get
align:start position:0%when I multiply this by B I just getzeros so this is in the left null space
align:start position:0%zeros so this is in the left null space
align:start position:0%zeros so this is in the left null spaceso uh a
align:start position:0%so uh a
align:start position:0%so uh abasis for this left null
align:start position:0%basis for this left null
align:start position:0%basis for this left nullspace is see if I can fit it here just
align:start position:0%space is see if I can fit it here just
align:start position:0%space is see if I can fit it here justthis
align:start position:0%this
align:start position:0%thisone1
align:start position:0%
align:start position:0% good Okay so we've found
align:start position:0%good Okay so we've found
align:start position:0%good Okay so we've foundthe dimension and uh of and bases for
align:start position:0%the dimension and uh of and bases for
align:start position:0%the dimension and uh of and bases forall of the four fundamental subspaces
align:start position:0%all of the four fundamental subspaces
align:start position:0%all of the four fundamental subspacesbefore I move on I just want to recall
align:start position:0%before I move on I just want to recall
align:start position:0%before I move on I just want to recallwhich of the L Matrix or the U Matrix we
align:start position:0%which of the L Matrix or the U Matrix we
align:start position:0%which of the L Matrix or the U Matrix weused for each of these
align:start position:0%used for each of these
align:start position:0%used for each of thesesubspaces so for the column space we
align:start position:0%subspaces so for the column space we
align:start position:0%subspaces so for the column space weused
align:start position:0%used
align:start position:0%usedcolumns the pivot Columns of the L
align:start position:0%columns the pivot Columns of the L
align:start position:0%columns the pivot Columns of the LMatrix for the null space we looked at
align:start position:0%Matrix for the null space we looked at
align:start position:0%Matrix for the null space we looked atthe U Matrix for the row space we also
align:start position:0%the U Matrix for the row space we also
align:start position:0%the U Matrix for the row space we alsolooked at the U Matrix and for the left
align:start position:0%looked at the U Matrix and for the left
align:start position:0%looked at the U Matrix and for the leftnull space we needed to invert the L
align:start position:0%null space we needed to invert the L
align:start position:0%null space we needed to invert the LMatrix and look at the uh free row okay
align:start position:0%Matrix and look at the uh free row okay
align:start position:0%Matrix and look at the uh free row okaynow the last thing I mean we're done
align:start position:0%now the last thing I mean we're done
align:start position:0%now the last thing I mean we're donewith the problem but the last thing
align:start position:0%with the problem but the last thing
align:start position:0%with the problem but the last thingthat's useful is to draw a
align:start position:0%that's useful is to draw a
align:start position:0%that's useful is to draw apicture which I have right here I know
align:start position:0%picture which I have right here I know
align:start position:0%picture which I have right here I knowin lecture Professor Strang has drawn
align:start position:0%in lecture Professor Strang has drawn
align:start position:0%in lecture Professor Strang has drawnyou some sort of cartoon pictures of
align:start position:0%you some sort of cartoon pictures of
align:start position:0%you some sort of cartoon pictures ofwhat these subspaces look look like but
align:start position:0%what these subspaces look look like but
align:start position:0%what these subspaces look look like buthere I want to try to actually draw them
align:start position:0%here I want to try to actually draw them
align:start position:0%here I want to try to actually draw themin a special case so if you can read my
align:start position:0%in a special case so if you can read my
align:start position:0%in a special case so if you can read mydrawing here um what do we
align:start position:0%drawing here um what do we
align:start position:0%drawing here um what do wehave so we have um
align:start position:0%have so we have um
align:start position:0%have so we have umthe the uh row space
align:start position:0%the the uh row space
align:start position:0%the the uh row spacehere and the null space
align:start position:0%
align:start position:0% here right and so B
align:start position:0%here right and so B
align:start position:0%here right and so BMaps this this picture into this
align:start position:0%Maps this this picture into this
align:start position:0%Maps this this picture into thispicture the null space here all the
align:start position:0%picture the null space here all the
align:start position:0%picture the null space here all thescalar multiples of this Vector all go
align:start position:0%scalar multiples of this Vector all go
align:start position:0%scalar multiples of this Vector all goto zero because they're in the uh null
align:start position:0%to zero because they're in the uh null
align:start position:0%to zero because they're in the uh nullspace that's exactly what B takes to
align:start position:0%space that's exactly what B takes to
align:start position:0%space that's exactly what B takes tozero B takes everything else including
align:start position:0%zero B takes everything else including
align:start position:0%zero B takes everything else includingthe row space into this column
align:start position:0%the row space into this column
align:start position:0%the row space into this columnspace okay and what does B transpose do
align:start position:0%space okay and what does B transpose do
align:start position:0%space okay and what does B transpose dowell B transpose kills this left space
align:start position:0%well B transpose kills this left space
align:start position:0%well B transpose kills this left spacekills this vector and it takes
align:start position:0%kills this vector and it takes
align:start position:0%kills this vector and it takeseverything else into the row space into
align:start position:0%everything else into the row space into
align:start position:0%everything else into the row space intothe column space of b b transpose okay
align:start position:0%the column space of b b transpose okay
align:start position:0%the column space of b b transpose okayuh thanks for doing this exercise
align:start position:0%uh thanks for doing this exercise
align:start position:0%uh thanks for doing this exercisetogether I hope this picture is
align:start position:0%together I hope this picture is
align:start position:0%together I hope this picture ishelpful12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697FEMALE SPEAKER: The followingcontent is provided under a
Creative Commons License.
Your support will help MITOpenCourseWare continue to
offer high quality educationalresources for free.
To make a donation or to viewadditional materials from
hundreds of MIT courses, visitMIT OpenCourseWare at
ocw.mit.edu.
PROFESSOR: Hi.
Technically speaking, I suppose,if time permitted, we
should spend, or shall we say,give equal time to integral
calculus, the same time thatwe gave to differential
calculus, starting from scratch,building ideas slowly
and the like.
But there are two logisticreasons for not doing this,
one of which is that the basicdefinitions would be the same
regardless of which branchwe started with.
The second one is, of course,that time becomes preciously
tight, and we have to make thebest of what we can here.
So what we're going to do nowis try to show, in terms of
hindsight being better thanforesight, a motivation as to
how one would have inventeddifferential calculus had it
been motivated by the existingintegral calculus.
In other words, what we wantto do today is to show the
beautiful interplay betweendifferential
and integral calculus.
Since we have said in our lastlecture that we would like to
begin with a study of integralcalculus, assuming that
differential calculus had neverbeen invented, I think
that we're obligated to try toshow how, then, differential
calculus could have beeninvented in the environment of
the studying of areas.
For this reason, I have calledtoday's lecture "The Marriage
of Differential and IntegralCalculus." And essentially,
the idea goes somethinglike this.
Last time, we were talkingabout finding
areas under a curve.
And to find the area under thecurve, we saw that we could do
this as the limit ofa certain sum.
In other words, an infinite sumhaving a particular limit.
Now, to motivate the concept ofrate of change, one could
ask the following question.
A curve like 'y' equals 'f ofx', and a starting point, 'x'
equals 'a'.
As I move out along the x-axisfrom 'a', I could study the
area under the curve, say, ofthe curve, 'y' equals 'f of
x', from 'x' equals 'a'to some value 'x1'.
And the question I could thenask is, I wonder how fast this
area is changing at the instantthat 'x' equals 'x1'.
In other words, how fast is thearea changing under the
curve as 'x' moves out along thepositive x-axis this way?
You see?
Now, the idea is this.
I can then mimic the samedefinition that we gave for
instantaneous rate of changeand differential calculus.
Namely, I can say, why can'twe define the instantaneous
rate of change to be the averagerate of change with
respect to 'x'?
And then we'll take thelimit as 'delta x'
approaches 0, et cetera.
And if I do that, watch whathappens over here.
You see what I do in terms ofthis picture, is I say, OK,
here's the area underthe curve when
'x' is equal to 'x1'.
Now I'll let 'x1' change by someamount 'delta x', meaning
this'll be the point'x1 + delta x'.
And this brings about a changein my area, which
I'll call 'delta A'.
See the change in areaas 'x' goes from 'x1'
to 'x1 + delta x'.
Now, what I would like to findis 'delta A' divided by 'delta
x', taking the limit as 'deltax' approaches 0.
Remember, last time weshowed our three
basic axioms for area.
We're obliged tostill use them.
Let's do that here.
For example, the way I've drawnthis curve by rising
this way, notice that the lowestpoint in this interval
occurs when 'x' equals 'x1'.
The highest point occurs when'x' equals 'x1 + delta x'.
Consequently, the rectanglewhose base is the closed
interval from 'x1' to 'x1 +delta x', the rectangle whose
height corresponds to 'x' equals'x1' is too small in
area to be 'delta A'.
In other words, that rectangleis inscribed in 'delta A'.
And in the same way, therectangle, with base 'x1' to
'x1 + delta x', whose height isgiven by the x-coordinate,
'x1 + delta x', that rectanglehas an area which is too large
to be the exact area.
In other words, notice thatthe area of the rectangle,
which is too small to be theexact area, is 'f of x1'
times 'delta x'.
The area of the rectangle whichis too big to be the
correct 'delta A' is 'f of 'x1+ delta x'' times 'delta x'.
And the area, 'delta A', iscaught between these two.
In other words, we now have theinequality that 'f of x1'
times 'delta x' is less than'delta A', which in turn is
less than 'f of 'x1 + deltax'' times 'delta x'.
Now, we'll assume that 'delta x'is positive, the way we've
drawn it in this diagram.
Adjustments have to be made if'delta x' is negative, in
other words, if we let'delta x' approach 0
through negative values.
This is taken care of in thetextbook, as well as mentioned
in our notes.
But for the sake of just gettingthe main idea here,
we'll assume that 'deltax' is positive.
We divide throughby 'delta x'.
That gives us 'f of x1' isless than 'delta a' over
'delta x', which in turnis less than 'f
of 'x1 + delta x''.
In other words, had 'delta x'been negative, we would have
had to reverse the inequalitysigns, et cetera, but we're
not going to worry aboutthat right now.
Remember, what is 'delta x'?
It's a non-zero number which isgoing to be made to become
arbitrarily close to 0.
Well, here's the idea.
We now have 'delta a' over'delta x' squeezed between
these two values.
And we say, OK, let's let'delta x' approach 0.
Now, here's the key point.
As 'delta x' approaches 0,certainly, 'x1 + delta x'
approaches 'x1'.
And here's where we use the factthat 'f' is continuous.
In other words, notice that themere fact that 'x1 + delta
x' approaches 'x1' is not enoughto say, therefore, that
'f of 'x1 + delta x'' approaches'f of x1'.
As we saw before, that's onlytrue if 'f' is continuous.
In other words, by continuity,if 'x1 + delta x' approaches
'x1', then 'f of 'x1 + deltax'' approaches 'f of x1'.
So assuming, then, that 'f' iscontinuous, what do we get we
put the squeeze on?
'x1' is what's pickedto be a fixed point.
Consequently, as 'deltax' approaches 0, 'f of
x1' stays 'f of x1'.
'f of 'x1 + delta x'' approaches'f of x1'.
In other words, 'delta A'divided by 'delta x' is caught
between two numbers, twosequences, two sets of bounds,
whichever way you want to saythis, both of which converge
to the common limit,'f of x1'.
In other words, since 'delta A'over 'delta x' is squeezed
between these two, the limit of'delta a' over 'delta x',
as 'delta x' approaches 0, mustequal this common limit.
In other words, 'dA/dx', thelimit of 'delta A' over 'delta
x', as 'delta x' approaches 0,evaluated at 'x' equals 'x1',
is 'f of x1'.
Or another way of saying this,'dA/dx' is 'f of x'.
Now, that result is partlyintuitive and partly
remarkable.
What it says is, roughlyspeaking, is that the area
under the curve is changing ata rate equal instantaneously
to the height correspondingto the
x-coordinate at that point.
In other words, to define howfast the area is changing as
'x' moves, all you have to dois measure the height of the
curve corresponding to thatparticular value of 'x'.
Now, what does this have todo, then, with relating
integral and differentialcalculus?
Notice already we begin toget some sort of a hint.
What we've shown is now thatthe area is going to be
related somehow to the inversederivative of 'f of x'.
In fact, this is preciselywhat is meant by a rather
important result.
In fact, it's important enoughso it's called the first
fundamental theorem ofintegral calculus.
And it simply says this.
Suppose we know explicitly afunction, capital 'G', such
that the derivative of capital'G' is 'f', where the 'f' now
refers to the 'f' that we'retalking about in our problem.
Now, look it, what we alreadyknow is that 'A', the area
function, has its derivativeequal to 'f'.
Consequently, since the areafunction and G have the same
derivative, they must differby, at most, a constant.
In other words, the area asa function of 'x' is this
function, 'G of x' plus 'c'.
And what is this 'G of x'?
It's not any old function.
It's what?
An inverse derivativeof 'f of x'.
Since the area evaluated at'x' equals 'a' is 0, see,
namely, the area under thecurve, as 'x' goes from 'A' to
'a', see, that's just a line.
A line has no thickness,has no area.
This is 0.
We have, by plugging backin to here, that 'A' of
little 'a' is 0.
That in turn is 'Gof a' plus 'c'.
And solving this for 'c', wefind that 'c' is equal to
minus 'G of a'.
In other words, the area underthe curve 'y' equals 'f of x',
as a function of 'x',is simply what?
It's 'G of x' minus 'G of a',where 'G' is any function
whose derivative is 'f'.
If we now let 'x' equal 'b',we're back to the situation of
finding the usual region thatwe're talking about here,
namely, what is 'A sub R'?
It's the region bounded above--let's come back here
and take a look at this-- it'sthe region bounded above by
the curve, 'y' equals 'f of x',bounded on the left by 'x'
equals 'a', on the right by 'x'equals 'b', and below by
the x-axis.
According to this notation, thearea of the region 'R' is
just the area as a function of'x' when 'x1' is equal to 'b'.
In other words, the area of ourregion 'R' is just 'a' of
'b', which is 'G of b' minus'G of a', where 'G' is any
function whose derivativeis 'f'.
Now remember--
and here's the key point--
remember that the area of theregion 'R' did not necessitate
us having to know a functionwhose derivative was 'f'.
In other words, remember, in ourlast lecture, how did we
find areas of regionslike 'R'?
What we did was is we formedthese 'U sub n's,
these 'L sub n's.
We inscribed and circumscribednetworks of rectangles, put
the squeeze on by evaluatingthis particular limit.
And whatever that limit was,that was the area of the
region 'R'.
In other words, if I had neverheard of the inverse
derivative, I could stillfind the area of the
region 'R' this way.
However, if I just happen toknow a function 'G', whose
derivative is 'f', I have a mucheasier way of doing this.
In fact, let me summarizethat.
You see, we can computethe limit as
'n' approaches infinity.
Summation 'k' goes from 1 to'n', 'f of 'c sub k'' 'delta
x', by use of inversederivatives.
See, again, the highlightbeing what?
You can still work with this thesame way as we did in our
last lecture.
There is absolutely no need tohave had to ever heard of a
derivative to solve thistype of problem, even
though it may be messy.
Now, what's the best proofI have of this?
Well, I guess one of the bestproofs is to specifically
refer to one of the exercisesin the previous unit.
It was a tough exercise.
I did it as a learning exercisebecause I felt it was
something that was messy andthat you had to be guided
through in order not to becomehopelessly lost.
By way of review, theproblem was this.
We took as our region 'R' theregion bounded above by 'y'
equals 'sine x', below by thex-axis, on the right by the
line 'x' equals pi/2.
And the problem was, define thearea of the region 'R'.
And we solved this problem inthe last unit without recourse
to derivatives because, as ofthe time that we were in the
last unit, we had no resultsrelating derivatives
to limits of sums.
How did we do this?
We partitioned this into nparts, and we formed the sum
limit as 'n' approachesinfinity.
'Sigma k' goes from 1 to 'n'.
We broke this thing up into 'n'equal parts, so the size
of each piece was what?
pi/2 divided by 'n'.
That's 'pi/2n'.
We computed the sine of each ofthese n-points, et cetera.
And whatever that limit was,that was the area of the
region 'R'.
And as you recall, that homeworkproblem, we found
that the answer to that problemwas that the area of
the region 'R' was 1.
Now again, as messy as that was,it proved that we could
at least solve the problemwith no knowledge of
derivatives.
How does the first fundamentaltheorem apply here?
The way the first fundamentaltheorem
applies is the following.
The first fundamentaltheorem says this.
Look it, to evaluate thisparticular sum, all we have to
do is find a function whosederivative is 'sine x'.
See, notice in this problem, thegeneral 'a' and 'b' of the
above is now played by 'a'equals 0 and 'b' equals pi/2.
All we have to do is what?
Find the function 'G' whosederivative is 'sine x', and
the answer should then be 'Gof pi/2' minus 'G of 0'.
Well, you see this happensto be one that, with our
knowledge of differentialcalculus, we
can do rather easily.
In other words, do we, at thetip of our tongues, have a
function whose derivativeis 'sine x'?
And the answer is yes.
Since the derivative of 'cosinex' is 'minus sine x',
the derivative of 'minuscosine x' is 'sine x'.
In other words, we can choosefor our 'G of x' here
'minus cosine x'.
In other words, that thearea of the region
'R' should be what?
'G of pi/2' minus 'G of0', where 'G of x' is
'minus cosine x'.
Well, you see, cosinepi/2 is 0.
Cosine of 0 is 1, so 0 minusminus 1 is equal to 1.
And notice that, first of all,we get the same answer.
And secondly, notice thistwo-line job over here.
We not only get the correctanswer, but we get the answer
very much more rapidlythan we did by the
so-called limit process.
Now, I'll come back to this in aminute, because you may be a
little bit angry at me now.
Namely, you may be asking,after having to do this
problem the hard way, why didI have to do the usual
teacher's trick here and showyou the hard way of doing this
and then waiting until the nextunit before I show you
the easy way?
Well, there happens to be acatch here that I'll come back
to in just a moment.
But before I do that, I'd liketo make an aside, an aside
that's rather important.
Namely, you may recall, as Istarted to work over here,
that this reminded you of anotation that we were using
back when we introduced theconcept of the inverse of
differentiation.
Namely, we earlier used anotation, integral from 'a' to
'b', 'f of x' 'dx' to denote 'Gof b' minus 'G of a', where
'G prime' equals 'f'.
What we have shown by the firstfundamental theorem,
then, using this notation, isthat the area of the region
'R' is integral from 'a'to 'b', 'f of x' 'dx'.
In other words, thismeans what?
It means 'G of b' minus'G of a', where 'G
prime' equals 'f'.
OK, let's pause herefor a moment.
See, as we developedour course, this is
how this would evolve.
The interesting thing is that,historically, this notation
was not used to define 'G ofb' minus 'G of a', where 'G
prime' equaled 'f'.
Historically, what happened wasthat this notation, called
the definite integral, theintegral from 'a' to 'b', 'f
of x' 'dx', was--
I don't know if it's proper tosay invented, but let me just
say it in quotation marksto play it safe--
it was "invented" to denotethe limit of this sum.
In fact, notice how much moremeaningful the symbol looks in
this connotation.
In other words, this isthe limit of a sum.
You can think of sum asbeginning with 's', and the
integral of sine asan elongated 's'.
In other words, when one firstwrote this symbol, the
definite integral, it was meantto denote this limit.
The important point is that,by the first fundamental
theorem, the definite integral,whether it's a limit
or not, turns out to be 'G ofb' minus 'G of a', where 'G
prime' equals 'f'.
In other words, it really makesno difference in terms
of what answer you get, whetheryou think of this
definite integral as meaningthis, or whether you think of
the definite integralas meaning this.
See, numerically, they'llbe the same.
But conceptually, they'requite different.
And that's precisely the pointthat leads to the most, I
think, probably the mostdifficult part all the course,
at least up until now.
It's something that morepeople cause and have
misinterpretation over.
And so I'd like to presentthis in a very,
very gradual way.
See, the result will ultimatelybe known as the
second fundamental theoremof integral calculus.
I've taken the liberty ofwriting that over here.
But it's going to be quite awhile before I actually say
what the theoremis explicitly.
What I'd like to do is to pickup where I left off when I
made my aside aboutthe notation
of a definite integral.
And what I'd like to mentionnow is, for the person who
says, look it, why didyou make us find the
areas the hard way?
Why didn't you just say let uscompute 'G of b' minus 'G of
a', where 'G prime' equals 'f',and the heck with all
this summation process?
Now, I think the best way toanswer that question--
and this is probably theultimate in teaching
technique, when somebody thinksthat he has an easier
way than the way thathe was taught--
give them a problem that can'tbe done by that easier way.
In fact, as a sarcastic aside,if you can't invent that kind
of a problem, maybe theso-called easier way is the
better way of doing a thing.
But let me just show you whatI'm driving at over here.
Suppose I say to you, let's findthe area of the region
'R' where 'R' is nowthe following.
It's bounded above by thecurve, 'y' equals '1/x'.
It's bounded belowby the x-axis.
It's bounded on the left by theline, 'x' equals 1, and on
the right by the line,'x' equals 2.
I would like to find the areaof this region 'R'.
Now look it, from a purelyconceptual point of view, what
difference is there between thisproblem and the problem
where the upper curve was'y' equals 'x squared'?
Conceptually, what's goingon is the same thing.
We have a bounded region and wewant to compute the area.
To this end, notice that, if Iuse the precise definition of
a definite integral, the areaof the region 'R' is what?
The definite integralfrom 1 to 2, 'dx/x'.
What does that mean?
It means a particular limit.
What limit?
Well, you partition thisintegral from 1 to 2 into n
equal parts, pick a point, 'csub k' in each partition, then
'f of 'c sub k'' in this problemis just '1/'c sub k''.
In other words, what we wantto do is to compute this
limit. 'Sigma k' goes from1 to 'n', '1/'c sub k'',
times 'delta x'.
Now, the thing to notice is,this thing may be a mess but
it's computable.
We could use specially designedgraph paper or
measuring devices to count theunits of area under here.
We can find all sorts of ways ofgetting estimates, even the
long hard way of the 'U subn's and the 'L sub n's to
pinpoint the area of the region'R' to as close a
degree of accuracy aswe want, et cetera.
The point is that, if we havenever heard of a derivative,
the area of the region 'R' isgiven precisely by this sum.
And admittedly, thesum is a mess.
So let's try to do it theso-called easier way.
The skeptic looks atthis thing and
says, who needs this?
The area of the region 'R',we just saw by the first
fundamental theorem, is 'G of2', 'G of 2', minus 'G of 1',
where 'G' is any function of'x' whose derivative with
respect to 'x' is '1/x'.
And the answer to that is yes.
So far, so good.
But do we know a function 'G'whose derivative with respect
to 'x' is '1/x'?
Remember, this is calculusrevisited.
For those of you who remembercalculus from
the first time around--
and I'll talk aboutthis later--
it's going to turn out thatthe required 'G' is a
logarithmic function.
For those of you don't rememberthat, there's no harm
in not remembering that.
All I'm trying to bring out isthat, whether you remember it
or you don't, as far as we'reconcerned so far in this
course, as far as what we'vedeveloped in this course, we
do not know a function 'G' whosederivative with respect
to 'x' is '1/x'.
That's what we mean by sayingwe can't exhibit 'G'
explicitly.
What do I mean by that?
Somebody says, I am thinkingof a function whose
derivative is '1/x'.
I say, well, that's simple.
It's 'G of x'.
He says, well, what's'G of x'?
I say, that's the function whosederivative with respect
to 'x' is '1/x'.
Well, you see, that implicitlytells me what 'G' is like.
But in terms of concretemeasurements, I don't know
anything about 'G'.
I can't express it in terms of
well-known, familiar functions.
You see, I'm hung up now.
Namely, this is precise.
The answer to this problem willbe 'G of 2' minus 'G of
1', where 'G prime' is '1/x'.
But I don't know explicitly--
yikes--
I don't know, explicitlysuch a 'G'.
And I put the exclamation pointout here to emphasize
that particular fact.
That's the hang-up.
The statement that says that thearea is 'G of b' minus 'G
of a', where 'G prime' equals'f' hinges on the fact that
you can explicitly exhibitsuch as 'G'.
Certainly, if you can't exhibitthat 'G', you can
still compute thisarea as a limit.
It would be tragic to say, oh,the area doesn't exist because
I don't know a 'G' whosederivative is '1/x'.
Certainly, this region'R' has an area.
In fact, because we can pinpointthe area of the
region 'R', we can actuallyconstruct the 'G' such that 'G
prime of x' equals '1/x'.
And by the way, there's plentyof drill on this.
This is a hard concept.
And as a result, you'll noticethat the exercises in this
section hammer home on thispoint, because it's a point
that I'm positive that, ifyou're having trouble at all
with integral calculus, thisis certainly the most
sophisticated part of whatwe're doing right now.
You see, look it, suppose I wantto construct a function
'G' whose derivative is '1/x'.
The idea looks somethinglike this.
I'm on the intervalfrom 1 to 2 here.
What I do is, I plot the curve,'y' equals '1/x'.
And I compute the area of theregion formed by the curve,
'y' equals '1/x'.
'x' equals 1.
The x-axis and the line,'x' equals 'x1'.
This is my region 'R'.
And what I say is, lookit, what do I
know about this area?
Remember, what I started thislecture with was the knowledge
that a prime of 'x' is 'fof x'. 'f of x', in
this case, is '1/x'.
In other words, what propertydoes this area function have?
It has the property that itsderivative with respect to 'x'
is going to be '1/x'.
In other words, if I now say,look it, boys, I can compute
this area, if not exactly, atleast to as many decimal place
accuracy as I wish, so that thearea function is something
I can construct.
Let me define 'G of x1' simplyto be the area under this
curve when 'x' isequal to 'x1'.
In other words, writtennow as a limit--
see how this definite integralcomes in here--
written as integral from 1 to 'xsub 1', 'dx/x', which I now
can compute as closelyas I want as a limit.
The beauty is what?
That 'G prime of x1' is, bydefinition, 'A prime of 'x1'.
And we have already seen thatthe derivative of 'A' is 'f',
where 'f' is the top curve.
In this case, the derivativeof 'A' is '1/x'.
In other words, the area underthe curve explicitly can be
computed as a function of 'x'.
And that function has theproperty, but its derivative
with respect to 'x', inthis case, is '1/x'.
And by the way, let me make justa quick aside over here.
I happened to throw in theword "logarithms" before.
It's going to turn out, as we'lltalk about in our next
block of material, that 'G of x'turns out to be the natural
log of 'x', which means that thearea of the region 'R' is
precisely natural log 2.
Now, the idea is--
and this is exactly what's goingto happen in our last
block in our course--
that this is exactly howthe log tables are
constructed, in fact.
I mean, how do you think theyfind the log of 2 to eight
decimal places?
Did they strand somebody on adesert island and tell them to
compute these things, measureit with laser beams, what?
No.
The way we do it is, we knowit's an area, and knowing how
to find the area as a limit toas many decimal place accuracy
as we wish, give or take a fewtricks of the trade, this is
how we find logs, and lateron, trigonometric
tables, and the like.
But I just mention this asan aside to show you how
important knowing areaunder a curve is.
At any rate, to summarize whatwe're saying over here, we
have the following.
In general, if 'f' is anycontinuous function on the
closed interval from 'a' to 'b',we define a function 'G'
as follows.
'G of x1' is the definiteintegral from 'a' to 'x1', 'f
of x' 'dx', where 'x1' is anypoint in the closed interval
for 'a' to 'b'.
What does this thing mean,geometrically?
It's the area under the curve,'y' equals 'f of x' on top.
'x' equals the x-axis on thebottom, the line 'x' equals
'a' on the left, the line 'x'equals 'x1' on the right.
And that area is what?
It's the limit as 'n'approaches infinity.
'Sigma k' goes from 1 to 'n', 'fof 'c sub k'' 'delta x', et
cetera, et cetera, et cetera,meaning we can go through this
the same way as we did inour previous lecture.
This function, 'G of x1'--
which we can now computeexplicitly as an area, because
we have the curve 'f' drawn,we can approximate it to as
close a degree of accuracyas we want--
whatever that function 'G' is,what property does it have?
It has the property that 'Gprime' is equal to 'f'.
And that's exactly what thesecond fundamental theorem
really means.
The second fundamental theoremsays, look it, if you can
compute the area, you can nowreverse this procedure that
we're talking about in the firstfundamental theorem.
See, in the first fundamentaltheorem, what did we do?
In the first fundamentaltheorem, we found a quick way
of computing the area asa limit by knowing the
appropriate inversederivative.
The second fundamental theorem,in a sense, is the
inverse of the first fundamentaltheorem.
Namely, it switches the roles.
Namely, with the secondfundamental theorem, what we
say is this.
If we know how to find thearea under the curve, 'y'
equals 'f of x', that gives usa way of computing a function
'G' whose derivative is 'f'.
In fact, to summarize this--
and I think this isvery important.
Let me just summarizethis, then.
First of all, the firstfundamental theorem allows us
to compute this particularlimit, provided we can find a
'G', such that 'G prime'equals 'f'.
In fact, in this case, thelimit, as 'n' approaches
infinity, summation 'k' goesfrom 1 to 'n', 'f of 'c sub
k'' 'delta x', is given very,very ingeniously, beautifully,
and concisely by 'G ofb' minus 'G of a'.
Secondly, the second fundamentaltheorem allows us,
given 'f', to construct'G', such that 'G
prime' equals 'f'.
Namely, the required 'G' isjust the definite integral
from 'a' to 'x1', 'f of x' 'dx',which in turn is a limit
of a network of rectangles,namely the limit as 'n'
approaches infinity, summation'k' goes from 1 to 'n', 'f of
'c sub k'' times 'delta x'.
This then is perhaps the mostbeautiful lecture in calculus,
not necessarily theway I've given it,
but in terms of what?
Relating two apparently diversebranches of calculus,
integral and differentialcalculus.
This is a difficult subject.
I have taken great pains to tryto write this clearly in
the supplementary notes.
I have tried to pick typicalexercises that bring home
these highlights.
And in addition, our next twolectures will emphasize the
relationship between derivativesand integrals as
we study volume andarc length.
At any rate, until nexttime, goodbye.
MALE SPEAKER: Funding for thepublication of this video was
provided by the Gabriella andPaul Rosenbaum Foundation.
Help OCW continue to providefree and open access to MIT
courses by making a donationat ocw.mit.edu/donate.1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699align:start position:0% here is where the power of this comes
align:start position:0%here is where the power of this comes
align:start position:0%here is where the power of this comeswhen you decide that you're gonna invent
align:start position:0%when you decide that you're gonna invent
align:start position:0%when you decide that you're gonna inventall possible Hamiltonians at this moment
align:start position:0%all possible Hamiltonians at this moment
align:start position:0%all possible Hamiltonians at this momentthis is you've reviews the infinite
align:start position:0%this is you've reviews the infinite
align:start position:0%this is you've reviews the infinitedimensional space of functions on the
align:start position:0%dimensional space of functions on the
align:start position:0%dimensional space of functions on theline to two points so you have a
align:start position:0%line to two points so you have a
align:start position:0%line to two points so you have atwo-dimensional vector space dramatic
align:start position:0%two-dimensional vector space dramatic
align:start position:0%two-dimensional vector space dramaticreduction so here we decide okay here is
align:start position:0%reduction so here we decide okay here is
align:start position:0%reduction so here we decide okay here isthe Hamiltonian and it's going to be a
align:start position:0%the Hamiltonian and it's going to be a
align:start position:0%the Hamiltonian and it's going to be atwo by two matrix and it better be
align:start position:0%two by two matrix and it better be
align:start position:0%two by two matrix and it better behermitian so what options do I have
align:start position:0%hermitian so what options do I have
align:start position:0%hermitian so what options do I havewell hermitian means a transpose complex
align:start position:0%well hermitian means a transpose complex
align:start position:0%well hermitian means a transpose complexconjugate that gives you back the same
align:start position:0%conjugate that gives you back the same
align:start position:0%conjugate that gives you back the samematrix so let's try to parameterize such
align:start position:0%matrix so let's try to parameterize such
align:start position:0%matrix so let's try to parameterize suchmatrix I could put a zero a real
align:start position:0%matrix I could put a zero a real
align:start position:0%matrix I could put a zero a realquantity here and another real quantity
align:start position:0%quantity here and another real quantity
align:start position:0%quantity here and another real quantityin the bottom size and if they are real
align:start position:0%in the bottom size and if they are real
align:start position:0%in the bottom size and if they are realthe transpose complex conjugate will
align:start position:0%the transpose complex conjugate will
align:start position:0%the transpose complex conjugate willremain the same that's okay so I could
align:start position:0%remain the same that's okay so I could
align:start position:0%remain the same that's okay so I couldput a 0 and a 1 here I'll do it in a
align:start position:0%put a 0 and a 1 here I'll do it in a
align:start position:0%put a 0 and a 1 here I'll do it in alittle different way I'll put a 0 plus a
align:start position:0%little different way I'll put a 0 plus a
align:start position:0%little different way I'll put a 0 plus a3 and a 0 minus a 3 here now the thing
align:start position:0%3 and a 0 minus a 3 here now the thing
align:start position:0%3 and a 0 minus a 3 here now the thingis that a 0 a 3 have to be real so I'll
align:start position:0%is that a 0 a 3 have to be real so I'll
align:start position:0%is that a 0 a 3 have to be real so I'lluse a 0 a 1 a 2 and a 3 and they all
align:start position:0%use a 0 a 1 a 2 and a 3 and they all
align:start position:0%use a 0 a 1 a 2 and a 3 and they allshould be real so here transpose complex
align:start position:0%should be real so here transpose complex
align:start position:0%should be real so here transpose complexconjugate doesn't affect these things
align:start position:0%conjugate doesn't affect these things
align:start position:0%conjugate doesn't affect these thingsthey are the same that's good here with
align:start position:0%they are the same that's good here with
align:start position:0%they are the same that's good here witha put a 1 minus ia2 this is a complex
align:start position:0%a put a 1 minus ia2 this is a complex
align:start position:0%a put a 1 minus ia2 this is a complexnumber
align:start position:0%number
align:start position:0%numberand the only thing that must happen is
align:start position:0%and the only thing that must happen is
align:start position:0%and the only thing that must happen isthat when I transpose and complex
align:start position:0%that when I transpose and complex
align:start position:0%that when I transpose and complexconjugate I must get the same thing so I
align:start position:0%conjugate I must get the same thing so I
align:start position:0%conjugate I must get the same thing so Ishould put here a 1 plus ia2
align:start position:0%
align:start position:0% because if I transpose this I would have
align:start position:0%because if I transpose this I would have
align:start position:0%because if I transpose this I would haveit on this side and then I come to
align:start position:0%it on this side and then I come to
align:start position:0%it on this side and then I come toconjugate it and it becomes this term
align:start position:0%conjugate it and it becomes this term
align:start position:0%conjugate it and it becomes this termsimilarly if I transpose this term it
align:start position:0%similarly if I transpose this term it
align:start position:0%similarly if I transpose this term itgoes here but then complex conjugated it
align:start position:0%goes here but then complex conjugated it
align:start position:0%goes here but then complex conjugated itbecomes that so this is actually I claim
align:start position:0%becomes that so this is actually I claim
align:start position:0%becomes that so this is actually I claimthe most general two by two hermitian
align:start position:0%the most general two by two hermitian
align:start position:0%the most general two by two hermitianmatrix time independent you see we've
align:start position:0%matrix time independent you see we've
align:start position:0%matrix time independent you see we'vesolved all our quantum mechanics this
align:start position:0%solved all our quantum mechanics this
align:start position:0%solved all our quantum mechanics thissemester has been time independent
align:start position:0%semester has been time independent
align:start position:0%semester has been time independentpotentials so here it's time independent
align:start position:0%potentials so here it's time independent
align:start position:0%potentials so here it's time independentand now this is the most general
align:start position:0%and now this is the most general
align:start position:0%and now this is the most generalHamiltonian you could have that's it so
align:start position:0%Hamiltonian you could have that's it so
align:start position:0%Hamiltonian you could have that's it sowhen you see something that you realize
align:start position:0%when you see something that you realize
align:start position:0%when you see something that you realizeit in an hour or two or after some
align:start position:0%it in an hour or two or after some
align:start position:0%it in an hour or two or after somethinking you will have solved the most
align:start position:0%thinking you will have solved the most
align:start position:0%thinking you will have solved the mostgeneral dynamical system with two
align:start position:0%general dynamical system with two
align:start position:0%general dynamical system with twodegrees of freedom in quantum mechanics
align:start position:0%degrees of freedom in quantum mechanics
align:start position:0%degrees of freedom in quantum mechanicsso I will write this as a zero times
align:start position:0%so I will write this as a zero times
align:start position:0%so I will write this as a zero timesthis matrix plus a 1 times this matrix
align:start position:0%this matrix plus a 1 times this matrix
align:start position:0%this matrix plus a 1 times this matrixplus a 2 times this matrix plus a 3
align:start position:0%plus a 2 times this matrix plus a 3
align:start position:0%plus a 2 times this matrix plus a 3times this matrix that's exactly what
align:start position:0%times this matrix that's exactly what
align:start position:0%times this matrix that's exactly whatyou have in there multiply in this
align:start position:0%you have in there multiply in this
align:start position:0%you have in there multiply in thisconstant and add this matrices and they
align:start position:0%constant and add this matrices and they
align:start position:0%constant and add this matrices and theygive you all what we have so actually
align:start position:0%give you all what we have so actually
align:start position:0%give you all what we have so actuallythis are the basic hermitian two-by-two
align:start position:0%this are the basic hermitian two-by-two
align:start position:0%this are the basic hermitian two-by-twomatrices and if you multiply them by
align:start position:0%matrices and if you multiply them by
align:start position:0%matrices and if you multiply them byreal numbers you still are hermitian and
align:start position:0%real numbers you still are hermitian and
align:start position:0%real numbers you still are hermitian andif you add them
align:start position:0%if you add them
align:start position:0%if you add themyou're still are hermitian so the most
align:start position:0%you're still are hermitian so the most
align:start position:0%you're still are hermitian so the mostgeneral hermitian matrix has four
align:start position:0%general hermitian matrix has four
align:start position:0%general hermitian matrix has fourparameters and it is a space of matrices
align:start position:0%parameters and it is a space of matrices
align:start position:0%parameters and it is a space of matricesspanned by these four matrices
align:start position:0%spanned by these four matrices
align:start position:0%spanned by these four matricesthey are so famous this matrices that
align:start position:0%they are so famous this matrices that
align:start position:0%they are so famous this matrices thatthis is called Sigma 1 Scot Sigma 2 and
align:start position:0%this is called Sigma 1 Scot Sigma 2 and
align:start position:0%this is called Sigma 1 Scot Sigma 2 andthis is called Sigma 3 and they are
align:start position:0%this is called Sigma 3 and they are
align:start position:0%this is called Sigma 3 and they arecalled the poly matrices matrices well
align:start position:0%called the poly matrices matrices well
align:start position:0%called the poly matrices matrices wellbut let's put units to these things we
align:start position:0%but let's put units to these things we
align:start position:0%but let's put units to these things wewant to write Hamiltonian so let's make
align:start position:0%want to write Hamiltonian so let's make
align:start position:0%want to write Hamiltonian so let's makesure we have units that do the job the
align:start position:0%sure we have units that do the job the
align:start position:0%sure we have units that do the job theHamiltonian must have units of energy so
align:start position:0%Hamiltonian must have units of energy so
align:start position:0%Hamiltonian must have units of energy sowe could do a Hamiltonian it has units
align:start position:0%we could do a Hamiltonian it has units
align:start position:0%we could do a Hamiltonian it has unitsof energy so I'll write H Omega which
align:start position:0%of energy so I'll write H Omega which
align:start position:0%of energy so I'll write H Omega whichhas units of energy Omega 1 Sigma 1 + H
align:start position:0%has units of energy Omega 1 Sigma 1 + H
align:start position:0%has units of energy Omega 1 Sigma 1 + Houtput even over 2 H Omega 2 over 2
align:start position:0%output even over 2 H Omega 2 over 2
align:start position:0%output even over 2 H Omega 2 over 2Sigma 2 + H Omega 3 over 2 Sigma 3 now
align:start position:0%Sigma 2 + H Omega 3 over 2 Sigma 3 now
align:start position:0%Sigma 2 + H Omega 3 over 2 Sigma 3 nowyou would say well why didn't you use
align:start position:0%you would say well why didn't you use
align:start position:0%you would say well why didn't you usethe first matrix I could have used the
align:start position:0%the first matrix I could have used the
align:start position:0%the first matrix I could have used thefirst matrix but the first matrix is
align:start position:0%first matrix but the first matrix is
align:start position:0%first matrix but the first matrix isproportional to the identity we already
align:start position:0%proportional to the identity we already
align:start position:0%proportional to the identity we alreadylearn in our course that if you have an
align:start position:0%learn in our course that if you have an
align:start position:0%learn in our course that if you have anextra constant operator in the
align:start position:0%extra constant operator in the
align:start position:0%extra constant operator in theHamiltonian it doesn't change your
align:start position:0%Hamiltonian it doesn't change your
align:start position:0%Hamiltonian it doesn't change yourcalculations in any way you had the
align:start position:0%calculations in any way you had the
align:start position:0%calculations in any way you had theHamiltonian for the hydrogen for the
align:start position:0%Hamiltonian for the hydrogen for the
align:start position:0%Hamiltonian for the hydrogen for theharmonic oscillator was H Omega n plus
align:start position:0%harmonic oscillator was H Omega n plus
align:start position:0%harmonic oscillator was H Omega n plus1/2 and the 1/2 was an additive constant
align:start position:0%1/2 and the 1/2 was an additive constant
align:start position:0%1/2 and the 1/2 was an additive constantnever played any important role so this
align:start position:0%never played any important role so this
align:start position:0%never played any important role so thiswould be an additive constant to the
align:start position:0%would be an additive constant to the
align:start position:0%would be an additive constant to theenergy would tell you how you're
align:start position:0%energy would tell you how you're
align:start position:0%energy would tell you how you'remeasuring the energy from what level so
align:start position:0%measuring the energy from what level so
align:start position:0%measuring the energy from what level soit's not very interesting you can you
align:start position:0%it's not very interesting you can you
align:start position:0%it's not very interesting you can youit's sometimes but it's definitely not
align:start position:0%it's sometimes but it's definitely not
align:start position:0%it's sometimes but it's definitely notall that interesting so I'll do a little
align:start position:0%all that interesting so I'll do a little
align:start position:0%all that interesting so I'll do a littlevariation of this by writing Omega 1 H
align:start position:0%variation of this by writing Omega 1 H
align:start position:0%variation of this by writing Omega 1 Hover 2 Sigma 1 plus Omega 2 H over 2
align:start position:0%over 2 Sigma 1 plus Omega 2 H over 2
align:start position:0%over 2 Sigma 1 plus Omega 2 H over 2Sigma 2 plus Omega 3 H over 2 Sigma 3
align:start position:0%Sigma 2 plus Omega 3 H over 2 Sigma 3
align:start position:0%Sigma 2 plus Omega 3 H over 2 Sigma 3and then you say look oh that's
align:start position:0%and then you say look oh that's
align:start position:0%and then you say look oh that'sinteresting
align:start position:0%interesting
align:start position:0%interestingoh okay I have an Omega and and and this
align:start position:0%oh okay I have an Omega and and and this
align:start position:0%oh okay I have an Omega and and and thisthing but Omega is fine we know whether
align:start position:0%thing but Omega is fine we know whether
align:start position:0%thing but Omega is fine we know whetherthis is a frequency one over time unit
align:start position:0%this is a frequency one over time unit
align:start position:0%this is a frequency one over time unitbut this has units of angular momentum
align:start position:0%
align:start position:0% momentum H bar has units of angular
align:start position:0%momentum H bar has units of angular
align:start position:0%momentum H bar has units of angularmomentum and the thing that it's a
align:start position:0%momentum and the thing that it's a
align:start position:0%momentum and the thing that it's alittle mysterious here is that we seem
align:start position:0%little mysterious here is that we seem
align:start position:0%little mysterious here is that we seemto have three of them so maybe somehow
align:start position:0%to have three of them so maybe somehow
align:start position:0%to have three of them so maybe somehowthis has to do with angular momentum so
align:start position:0%this has to do with angular momentum so
align:start position:0%this has to do with angular momentum solet's investigate it a little bit well
align:start position:0%let's investigate it a little bit well
align:start position:0%let's investigate it a little bit wellthey have units of angular momentum so
align:start position:0%they have units of angular momentum so
align:start position:0%they have units of angular momentum somaybe I can call some sort of first
align:start position:0%maybe I can call some sort of first
align:start position:0%maybe I can call some sort of firstcomponent of angular momentum h-bar over
align:start position:0%component of angular momentum h-bar over
align:start position:0%component of angular momentum h-bar over2 Sigma one second component of angular
align:start position:0%2 Sigma one second component of angular
align:start position:0%2 Sigma one second component of angularmomentum H 1 over 2 Sigma 2 and the
align:start position:0%momentum H 1 over 2 Sigma 2 and the
align:start position:0%momentum H 1 over 2 Sigma 2 and thethird component of angular momentum
align:start position:0%third component of angular momentum
align:start position:0%third component of angular momentumh-bar over 2 Sigma 3 well those are just
align:start position:0%h-bar over 2 Sigma 3 well those are just
align:start position:0%h-bar over 2 Sigma 3 well those are justnames but we can try to do a computation
align:start position:0%names but we can try to do a computation
align:start position:0%names but we can try to do a computationwith them we can try to see what is the
align:start position:0%with them we can try to see what is the
align:start position:0%with them we can try to see what is thecommutator of s H with sy and happily
align:start position:0%commutator of s H with sy and happily
align:start position:0%commutator of s H with sy and happilythese are matrices so it's a natural
align:start position:0%these are matrices so it's a natural
align:start position:0%these are matrices so it's a naturalthing to do commute a
align:start position:0%thing to do commute a
align:start position:0%thing to do commute aso you would have h-bar over 2 Sigma 1
align:start position:0%so you would have h-bar over 2 Sigma 1
align:start position:0%so you would have h-bar over 2 Sigma 1with h-bar over 2 Sigma 2 commutator and
align:start position:0%with h-bar over 2 Sigma 2 commutator and
align:start position:0%with h-bar over 2 Sigma 2 commutator andit's equal to H bar over 2 times H bar
align:start position:0%it's equal to H bar over 2 times H bar
align:start position:0%it's equal to H bar over 2 times H barover 2 Sigma 1 Sigma 2 minus Sigma 2
align:start position:0%over 2 Sigma 1 Sigma 2 minus Sigma 2
align:start position:0%over 2 Sigma 1 Sigma 2 minus Sigma 2Sigma 1 so it's H bar over 2 times H bar
align:start position:0%Sigma 1 so it's H bar over 2 times H bar
align:start position:0%Sigma 1 so it's H bar over 2 times H barover 2 and let's do this Sigma 1 is 0 1
align:start position:0%over 2 and let's do this Sigma 1 is 0 1
align:start position:0%over 2 and let's do this Sigma 1 is 0 11 0 Sigma 2 is 0 minus I I 0 minus 0
align:start position:0%1 0 Sigma 2 is 0 minus I I 0 minus 0
align:start position:0%1 0 Sigma 2 is 0 minus I I 0 minus 0minus I I 0 0 1 1 0 ok I have to do all
align:start position:0%minus I I 0 0 1 1 0 ok I have to do all
align:start position:0%minus I I 0 0 1 1 0 ok I have to do allthat arithmetic happily this is not that
align:start position:0%that arithmetic happily this is not that
align:start position:0%that arithmetic happily this is not thatbad let's see if I don't make mistakes
align:start position:0%
align:start position:0% ok here I get that um tutor and I from
align:start position:0%ok here I get that um tutor and I from
align:start position:0%ok here I get that um tutor and I fromthe first 0 here 0 and a - I here - and
align:start position:0%the first 0 here 0 and a - I here - and
align:start position:0%the first 0 here 0 and a - I here - andminus I 0 a 0 and an i which is H bar
align:start position:0%minus I 0 a 0 and an i which is H bar
align:start position:0%minus I 0 a 0 and an i which is H barover 2 times R H bar over 2 times oh
align:start position:0%over 2 times R H bar over 2 times oh
align:start position:0%over 2 times R H bar over 2 times ohthey don't can so they seem to cancel
align:start position:0%they don't can so they seem to cancel
align:start position:0%they don't can so they seem to cancelthis in mind this is actually twice of
align:start position:0%this in mind this is actually twice of
align:start position:0%this in mind this is actually twice ofthose so - I minus 2 I 0 0 and here we
align:start position:0%those so - I minus 2 I 0 0 and here we
align:start position:0%those so - I minus 2 I 0 0 and here weget a 2 cancels this and then I goes out
align:start position:0%get a 2 cancels this and then I goes out
align:start position:0%get a 2 cancels this and then I goes outso I'll have an with this factor and the
align:start position:0%so I'll have an with this factor and the
align:start position:0%so I'll have an with this factor and theI out is I h-bar times H bar over 2
align:start position:0%I out is I h-bar times H bar over 2
align:start position:0%I out is I h-bar times H bar over 2times the matrix 1 minus 1 0 0 ok
align:start position:0%times the matrix 1 minus 1 0 0 ok
align:start position:0%times the matrix 1 minus 1 0 0 oksomehow
align:start position:0%somehow
align:start position:0%somehowit gave that but h-bar over 2 1 minus 1
align:start position:0%it gave that but h-bar over 2 1 minus 1
align:start position:0%it gave that but h-bar over 2 1 minus 11 minus 1 is Sigma 3 and h-bar over 2
align:start position:0%1 minus 1 is Sigma 3 and h-bar over 2
align:start position:0%1 minus 1 is Sigma 3 and h-bar over 2Sigma 3 is s Z so this is all s Z so
align:start position:0%Sigma 3 is s Z so this is all s Z so
align:start position:0%Sigma 3 is s Z so this is all s Z soit's I h-bar is Z so this stuff SX sy is
align:start position:0%it's I h-bar is Z so this stuff SX sy is
align:start position:0%it's I h-bar is Z so this stuff SX sy isgiving you I h-bar as Z and that was
align:start position:0%giving you I h-bar as Z and that was
align:start position:0%giving you I h-bar as Z and that wasexactly like angular momentum so not
align:start position:0%exactly like angular momentum so not
align:start position:0%exactly like angular momentum so notonly it has the units of angular
align:start position:0%only it has the units of angular
align:start position:0%only it has the units of angularmomentum it has the commutation
align:start position:0%momentum it has the commutation
align:start position:0%momentum it has the commutationrelations of angular momentum hermitian
align:start position:0%relations of angular momentum hermitian
align:start position:0%relations of angular momentum hermitianoperators 2 by 2 matrices they used to
align:start position:0%operators 2 by 2 matrices they used to
align:start position:0%operators 2 by 2 matrices they used tobe R cross P all these derivatives
align:start position:0%be R cross P all these derivatives
align:start position:0%be R cross P all these derivativescomplicated stuff here it is with 2 by 2
align:start position:0%complicated stuff here it is with 2 by 2
align:start position:0%complicated stuff here it is with 2 by 2matrices you've constructed angular
align:start position:0%matrices you've constructed angular
align:start position:0%matrices you've constructed angularmomentum but we've constructed that this
align:start position:0%momentum but we've constructed that this
align:start position:0%momentum but we've constructed that thismoment is spin 1/2 hole spin 1/2 system
align:start position:0%moment is spin 1/2 hole spin 1/2 system
align:start position:0%moment is spin 1/2 hole spin 1/2 systemis nothing else than that angular
align:start position:0%is nothing else than that angular
align:start position:0%is nothing else than that angularmomentum and the freedom of having two
align:start position:0%momentum and the freedom of having two
align:start position:0%momentum and the freedom of having twodiscrete degrees of freedom the
align:start position:0%discrete degrees of freedom the
align:start position:0%discrete degrees of freedom theinterpretation that they have to do with
align:start position:0%interpretation that they have to do with
align:start position:0%interpretation that they have to do withspin up and spin down is something that
align:start position:0%spin up and spin down is something that
align:start position:0%spin up and spin down is something thatphysicists came up with but the
align:start position:0%physicists came up with but the
align:start position:0%physicists came up with but themathematics was there waiting as the
align:start position:0%mathematics was there waiting as the
align:start position:0%mathematics was there waiting as thesimplest quantum mechanical problem
align:start position:0%simplest quantum mechanical problem
align:start position:0%simplest quantum mechanical problemcontrolling the rode the Schrodinger
align:start position:0%controlling the rode the Schrodinger
align:start position:0%controlling the rode the Schrodingerequation maybe if he was had been more
align:start position:0%equation maybe if he was had been more
align:start position:0%equation maybe if he was had been moremathematically inclined he could have
align:start position:0%mathematically inclined he could have
align:start position:0%mathematically inclined he could havediscovered five minutes later spin but
align:start position:0%discovered five minutes later spin but
align:start position:0%discovered five minutes later spin buthe wanted to figure out the wave
align:start position:0%he wanted to figure out the wave
align:start position:0%he wanted to figure out the wavefunction of the hydrogen atom and
align:start position:0%function of the hydrogen atom and
align:start position:0%function of the hydrogen atom andscattering and all these very
align:start position:0%scattering and all these very
align:start position:0%scattering and all these verycomplicated things so needless to say
align:start position:0%complicated things so needless to say
align:start position:0%complicated things so needless to saythe other commutation relations work out
align:start position:0%the other commutation relations work out
align:start position:0%the other commutation relations work outso if you check that sy with SZ you will
align:start position:0%so if you check that sy with SZ you will
align:start position:0%so if you check that sy with SZ you willget I h-bar SX and if you do finally SZ
align:start position:0%get I h-bar SX and if you do finally SZ
align:start position:0%get I h-bar SX and if you do finally SZwith SX you will get IH bar sy so this
align:start position:0%with SX you will get IH bar sy so this
align:start position:0%with SX you will get IH bar sy so thistwo-by-two matrices satisfy this
align:start position:0%two-by-two matrices satisfy this
align:start position:0%two-by-two matrices satisfy thisproperty and there's a little more to be
align:start position:0%property and there's a little more to be
align:start position:0%property and there's a little more to besaid I want to say a few more things
align:start position:0%said I want to say a few more things
align:start position:0%said I want to say a few more thingsabout it because it's kind of
align:start position:0%about it because it's kind of
align:start position:0%about it because it's kind ofcounterintuitive and and therefore very
align:start position:0%counterintuitive and and therefore very
align:start position:0%counterintuitive and and therefore verynice spin 1/2 is half of the semester in
align:start position:0%nice spin 1/2 is half of the semester in
align:start position:0%nice spin 1/2 is half of the semester in805 is devoted to spin 1/2 it takes a
align:start position:0%805 is devoted to spin 1/2 it takes a
align:start position:0%805 is devoted to spin 1/2 it takes awhile to understand it
align:start position:0%while to understand it
align:start position:0%while to understand itah so I wanted you to see it at least
align:start position:0%ah so I wanted you to see it at least
align:start position:0%ah so I wanted you to see it at leastonce and the problem is the physical
align:start position:0%once and the problem is the physical
align:start position:0%once and the problem is the physicalinterpretation this kind of takes time
align:start position:0%interpretation this kind of takes time
align:start position:0%interpretation this kind of takes timeto get accustomed so on the other hand
align:start position:0%to get accustomed so on the other hand
align:start position:0%to get accustomed so on the other handwe did write Hamiltonian so the
align:start position:0%we did write Hamiltonian so the
align:start position:0%we did write Hamiltonian so theHamiltonian was Omega 1 sx plus Omega 2
align:start position:0%Hamiltonian was Omega 1 sx plus Omega 2
align:start position:0%Hamiltonian was Omega 1 sx plus Omega 2sy plus Omega 3s Z and it's there as 1
align:start position:0%sy plus Omega 3s Z and it's there as 1
align:start position:0%sy plus Omega 3s Z and it's there as 1is 2 is 3 second line and this is the
align:start position:0%is 2 is 3 second line and this is the
align:start position:0%is 2 is 3 second line and this is theHamiltonian so people write it sometimes
align:start position:0%Hamiltonian so people write it sometimes
align:start position:0%Hamiltonian so people write it sometimesas Omega dotted with a s vector as it
align:start position:0%as Omega dotted with a s vector as it
align:start position:0%as Omega dotted with a s vector as itst. has three components as Omega has
align:start position:0%st. has three components as Omega has
align:start position:0%st. has three components as Omega hasthree components as well and there's a
align:start position:0%three components as well and there's a
align:start position:0%three components as well and there's alot of physics in this Hamiltonian is
align:start position:0%lot of physics in this Hamiltonian is
align:start position:0%lot of physics in this Hamiltonian isthe simplest I'm Italian but it actually
align:start position:0%the simplest I'm Italian but it actually
align:start position:0%the simplest I'm Italian but it actuallyrepresents a spin in a magnetic field
align:start position:0%represents a spin in a magnetic field
align:start position:0%represents a spin in a magnetic fieldand what it will make it do this
align:start position:0%and what it will make it do this
align:start position:0%and what it will make it do thisHamilton if we solve the differential is
align:start position:0%Hamilton if we solve the differential is
align:start position:0%Hamilton if we solve the differential istwo by two matrix equation we will find
align:start position:0%two by two matrix equation we will find
align:start position:0%two by two matrix equation we will findthat the spin starts to precess that's
align:start position:0%that the spin starts to precess that's
align:start position:0%that the spin starts to precess that'sthe origin of nuclear magnetic
align:start position:0%the origin of nuclear magnetic
align:start position:0%the origin of nuclear magneticresonance pinnings processing spins that
align:start position:0%resonance pinnings processing spins that
align:start position:0%resonance pinnings processing spins thatthe machine makes them process and they
align:start position:0%the machine makes them process and they
align:start position:0%the machine makes them process and theysend a signal and you detect the density
align:start position:0%send a signal and you detect the density
align:start position:0%send a signal and you detect the densityof different fluids in the body123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899The 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.
[MUSIC PLAYING]
PROFESSOR: Last time, weintroduced the Laplace
transform as a generalization ofthe Fourier transform, and,
just as a reminder, the Laplacetransform expression
as we developed it is thisintegral, very much similar to
the Fourier transform integral,except with a more
general complex variable.
And, in fact, we developed andtalked about the relationship
between the Laplace transformand the Fourier transform.
In particular, the Laplacetransform with the Laplace
transform variable s, purelyimaginary, in fact, reduces to
the Fourier transform.
Or, more generally, with theLaplace transform variable as
a complex number, the Laplacetransform is the Fourier
transform of the correspondingtime function with an
exponential weighting.
And, also, as you shouldrecall, the exponential
waiting introduced the notionthat the Laplace transform may
converge for some values ofsigma and perhaps not for
other values of sigma.
So associated with the Laplacetransform was what we refer to
as the region of convergence.
Now just as with the Fouriertransform, there are a number
of properties of the Laplacetransform that are extremely
useful in describing andanalyzing signals and systems.
For example, one of theproperties that we, in fact,
took advantage of in ourdiscussion last time was the
linearly the linearity property,which says, in
essence, that the Laplacetransform of the linear
combination of two timefunctions is the same linear
combination of the associatedLaplace transforms.
Also, there is a very importantand useful property,
which tells us how the
derivative of a time function--
rather, the Laplace transformof the derivative--
is related to the Laplacetransform.
In particular, the Laplacetransform of the derivative is
the Laplace transform xof t multiplied by s.
And, as you can see by justsetting s equal to j omega, in
fact, this reduces to thecorresponding Fourier
transform property.
And a third property that we'llmake frequent use of is
referred to as the convolutionproperty.
Again, a generalization of theconvolution property for
Fourier transforms.
Here the convolution propertysays that the Laplace
transform of the convolution oftwo time functions is the
product of the associatedLaplace transforms.
Now it's important at some pointto think carefully about
the region of convergence as wediscuss these properties.
And let me just draw yourattention to the fact that in
discussing properties fully andin detail, one has to pay
attention not just to how thealgebraic expression changes,
but also what the consequencesare for the region of
convergence, and that'sdiscussed in somewhat more
detail in the text andI won't do that here.
Now the convolution propertyleads to, of course, a very
important and useful mechanismfor dealing with linear time
invariant systems, very much asthe Fourier transform did.
In particular, the convolutionproperty tells us that if we
have a linear time invariantsystem, the output in the time
domain is the convolutionof the input
and the impulse response.
In the Laplace transform domain,the Laplace transform
of the output is the Laplacetransform of the impulse
response times the Laplacetransform of the input.
And again, this is ageneralization of the
corresponding property forFourier transforms.
In the case of the Fouriertransform, the Fourier
transform [? of ?] the impulseresponse we refer to as the
frequency response.
In the more general case withLaplace transforms, it's
typical to refer to the Laplacetransform of the
impulse response as thesystem function.
Now in talking about the systemfunction, some issues
of the region of convergence--
and for that matter,location of poles
of the system function--
are closely tied in and relatedto issues of whether
the system is stableand causal.
And in fact, there's some usefulstatements that can be
made that play an important rolethroughout the further
discussion.
For example, we know fromprevious discussions that
there's a condition forstability of a system, which
is absolute integrabilityof the impulse response.
And that, in fact, is the samecondition for convergence of
the Fourier transform ofthe impulse response.
What that says, really, is thatif a system is stable,
then the region of convergenceof the system function must
include the j omega axis.
Which, of course, is where theLaplace transform reduces to
the Fourier transform.
So that relates the region ofconvergence and stability.
Also, you recall from last timethat we talked about the
region of convergence associatedwith right sided
time functions.
In particular for a rightsided time function, the
region of convergence mustbe to the right of
the rightmost pole.
Well, if, in fact, we have asystem that's causal, then
that causality imposes thecondition that the impulse
response be right sided.
And so, in fact, for causality,we would have a
region of convergence associatedwith the system
function, which is to the rightof the rightmost pole.
Now interestingly and veryimportant is the consequence,
if you put those two statementstogether, in
particular, you're led to theconclusion that for stable
causal systems, all the polesmust be in the left half of
the s-plane.
What's the reason?
The reason, of course, is thatif the system is stable and
causal, the region ofconvergence must be to the
right of the rightmost pole.
It must include thej omega axis.
Obviously then, all the polesmust be in the left half of
the s-plane.
And again, that's an issue thatis discussed somewhat
more carefully and in moredetail in the text.
Now, the properties that we'retalking about here are not the
only properties, thereare many others.
But these properties, inparticular, provide the
mechanism--
as they did with Fouriertransforms--
for turning linear constantcoefficient differential
equations into algebraicequations and, corresponding,
lead to a mechanism for dealingwith and solving
linear constant coefficientdifferential equations.
And I'd like to illustrate thatby looking at both first
order and second orderdifferential equations.
Let's begin, first of all,with a first order
differential equation.
So what we're talking aboutis a first order system.
What I mean by that is a systemthat's characterized by
a first order differentialequation.
And if we apply to this equationthe differentiation
property, then thederivative--
the Laplace transform of thederivative is s times the
Laplace transform ofthe time function.
The linearity property allows usto combine these together.
And so, consequently, applyingthe Laplace transform to this
equation leads us to thisalgebraic equation, and
following that through, leadsus to the statement that the
Laplace transform of the outputis one over s plus a
times the Laplace transformof the input.
We know from the convolutionproperty that this Laplace
transform is the systemfunction times x of s.
And so, one over s plus a isthe system function or
equivalently, the Laplacetransform
of the impulse response.
So, we can determine the impulseresponse by taking the
inverse Laplace transformof h of s given by
one over s plus a.
Well, we can do that using theinspection method, which is
one way that we have of doinginverse Laplace transforms.
The question is then, what timefunction has a Laplace
transform which is oneover s plus a?
The problem that we runinto is that there are
two answers to that.
one over s plus a is theLaplace transform of an
exponential for positive time,but one over s plus a is also
the Laplace transform of anexponential for negative time.
Which one of these dowe end up picking?
Well, recall that the differencebetween these was
in their region ofconvergence.
And in fact, in this case, thiscorresponded to a region
of convergence, which wasthe real part of s
greater than minus a.
In this case, this was thecorresponding Laplace
transform, provided thatthe real part of s is
less than minus a.
So we have to decide whichregion of convergence that we
pick and it's not thedifferential equation that
will tell us that, it'ssomething else that has to
give us that information.
What could it be?
Well, what it might be is theadditional information that
the system is eitherstable or causal.
So for example, if the systemwas causal, we would know that
the region of convergence is tothe right of the pole and
that would correspond,then, to this
being the impulse response.
Whereas, with a negative--
I'm sorry with a positive--
if we knew that the system,let's say, was non-causal,
then we would associate withthis region of convergence and
we would know then that thisis the impulse response.
So a very important point isthat what we see is that the
linear constant coefficientdifferential equation gives us
the algebraic expression for thesystem function, but does
not tell us about the regionof convergence.
We get the reach of convergencefrom some
auxiliary information.
What is that information?
Well, it might, for example, beknowledge that the system
is perhaps stable, which tellsus that the region of
convergence includes the j omegaaxis, or perhaps causal,
which tells us that the regionof convergence is to the right
of the rightmost pole.
So it's the auxiliaryinformation that specifies for
us the region of convergence.
Very important point.
The differential equation byitself does not completely
specify the system, it onlyessentially tells us what the
algebraic expression is forthe system function.
Alright that's a firstorder example.
Let's now look at a secondorder system and the
differential equation thatI picked in this case.
I've parameterized in a certainway, which we'll see
will be useful.
In particular, it's a secondorder differential equation
and I chosen, just forsimplicity, to not include any
derivatives on the right handside, although we could have.
In fact, if we did, that wouldinsert zeros into the system
function, as well as thepoles inserted by
the left hand side.
We can determine the systemfunction in exactly the same
way, namely, apply the Laplacetransform to this equation.
That would convert thisdifferential equation to an
algebraic equation.
And now when we solve thisalgebraic equation for y of s,
in terms of x of s, it will comeout in the form of y of
s, equal to h of s,times x of s.
And h of s, in that case, wewould get simply by dividing
out by this polynomial [? in ?]s, and so the system
function then is the expressionthat I have here.
So this is the form for a secondorder system where
there are two poles.
Since this is a second orderpolynomial, there are no zeros
associated with the fact thatI had no derivatives of the
input on the right handside of the equation.
Well, let's look atthis example--
namely the secondorder system--
in a little more detail.
And what we'll want to look atis the location of the poles
and some issues suchas, for example,
the frequency response.
So here again I have thealgebraic expression for the
system function.
And as I indicated, this is asecond order polynomial, which
means that we can factorit into two roots.
So c1 and c2 represent the polesof the system function.
And in particular, in relationto the two parameters zeta and
omega sub n--
if we look at what these rootsare, then what we get are the
two expressions thatI have below.
And notice, incidentally, thatif zeta is less than one, then
what's under the squareroot is negative.
And so this, in fact,corresponds to
an imaginary part--
an imaginary term forzeta less than one.
And so the two roots, then,have a real part which is
given by minus zeta omega sub n,and an imaginary part-- if
I were to rewrite this and thenexpress it in terms of j
or the square rootof minus one.
Looking below, we'll have a realpart which is minus zeta
omega sub n--
an imaginary part whichis omega sub n
times this square root.
So that's for zeta less than oneand for zeta greater than
one, the two roots, ofcourse, will be real.
Alright, so let's examine thisfor the case where zeta is
less than one.
And what that corresponds to,then, are two poles in the
complex plane.
And they have a real partand an imaginary part.
And you can explore this insomewhat more detail on your
own, but, essentially whathappens is that as you keep
the parameter omega sub n fixedand vary zeta, these
poles trace out a circle.
And, for example, where zetaequal to zero, the poles are
on the j omega axisat omega sub n.
As zeta increases and getscloser to one, the poles
converge toward the real axisand then, in particular, for
zeta greater than one, what weend up with are two poles on
the real axis.
Well, actually, the case thatwe want to look at a little
more carefully is when thepoles are complex.
And what this becomes is asecond order system, which as
we'll see as the discussiongoes on, has an impulse
response which oscillates withtime and correspondingly a
frequency response thathas a resonance.
Well let's examine the frequencyresponse a little
more carefully.
And what I'm assuming in thediscussion is that, first of
all, the poles are in the lefthalf plane corresponding to
zeta omega sub n beingpositive--
and so this is-- minusthat is negative.
And furthermore, I'm assumingthat the poles are complex.
And in that case, the algebraicexpression for the
system function is omega sub nsquared in the numerator and
two poles in the denominator,which are complex conjugates.
Now, what we want to look at isthe frequency response of
the system.
And
that corresponds to looking atthe Fourier transform of the
impulse response, which is theLaplace transform on the j
omega axis.
So we want to examine what h ofs is as we move along the j
omega axis.
And notice, that to do that, inthis algebraic expression,
we want to set s equal to jomega and then evaluate--
for example, if we want to lookat the magnitude of the
frequency response--
evaluate the magnitude ofthe complex number.
Well, there's a very convenientway of doing that
geometrically by recognizingthat in the complex plane,
this complex number minusthat complex number
represents a vector.
And essentially, to look at themagnitude of this complex
number corresponds to takingomega sub n squared and
dividing it by the product ofthe lengths of these vectors.
So let's look, for example, atthe vector s minus c1, where s
is on the j omega axis.
And doing that, here is thevector c1, and here is the
vector s-- which is j omega ifwe're looking, let's say, at
this value of frequency--
and this vector, then, isthe vector which is
j omega minus c1.
So in fact, it's the length ofthis vector that we want to
observe as we change omega--
namely as we move alongthe j omega axis.
We want to take this vectorand this vector, take the
lengths of those vectors,multiply them together, divide
that into omega sub n squared,and that will give us the
frequency response.
Now that's a little hard to seehow the frequency response
will work out just lookingat one point.
Although notice that as we movealong the j omega axis,
as we get closer to this pole,this vector, in fact, gets
shorter, and so we mightexpect , that
the frequency response--
as we're moving along the jomega axis in the vicinity of
that pole--
would start to peak.
Well, I think that all ofthis is much better seen
dynamically on the computerdisplay, so let's go to the
computer display and what we'lllook at is a second
order system--
the frequency responseof it-- as we move
along the j omega axis.
So here we see the pole pairin the complex plane and to
generate the frequency response,we want to look at
the behavior of the pole vectorsas we move vertically
along the j omega axis.
So we'll show the pole vectorsand let's begin at omega
equals zero.
So here we have the pole vectorsfrom the poles to the
point omega equal to zero.
And, as we move vertically alongthe j omega axis, we'll
see how those pole vectorschange in length.
The magnitude of the frequencyresponse is the reciprocal of
the product of the lengthsof those vectors.
Shown below is the frequencyresponse where we've begun
just at omega equal to zero.
And as we move vertically alongthe j omega axis and the
pole vector lengths change,that will, then, influence
what the frequency responselooks like.
We've started here to move alittle bit away from omega
equal to zero and notice thatin the upper half plane the
pole vector has gottenshorter.
The pole vector for the polein the lower half plane has
gotten longer.
And now, as omega increasesfurther, that
process will continue.
And in particular, the polevector associated with the
pole in the upper halfplane will be its
shortest in the vicinity--
at a frequency in the vicinityof that pole--
and so, for that frequency,then, the frequency response
will peak and wesee that here.
From this point as thefrequency increases,
corresponding to moving furthervertically along the j
omega axis, both pole vectorswill increase in length.
And that means, then, that themagnitude of the frequency
response will decrease.
For this specific example, themagnitude of the frequency
response will asymptoticallygo to zero.
So what we see here is that thefrequency response has a
resonance and as we seegeometrically from the way the
vectors behaved, that resonancein frequency is very
clearly associated with theposition of the poles.
And so, in fact, to illustratethat further and dramatize it
as long as we're focused onit, let's now look at the
frequency response for thesecond order example as we
change the pole positions.
And first, what we'll do is letthe polls move vertically
parallel to the j omega axisand see how the frequency
response changes, and thenwe'll have the polls move
horizontally parallel to thereal axis and see how the
frequency response changes.
To display the behavior of thefrequency response as the
poles move, we've changed thevertical scale on the
frequency response somewhat.
And now what we want to dois move the poles, first,
parallel to the j omegaaxis, and then
parallel to the real axis.
Here we see the effect of movingthe poles parallel to
the j omega axis.
And what we observe is that,in fact, the frequency
location of the resonanceshifts, basically tracking the
location of the pole.
If we now move the pole backdown closer to the real axis,
then this resonance will shiftback toward its original
location and so let'snow see that.
And here we are back at thefrequency that we started at.
Now we'll move the poles evencloser to the real axis.
The frequency location of theresonance will continue to
shift toward lowerfrequencies.
And also in the process,incidentally, the height over
the resonant peak will increasebecause, of course,
the lengths of the pole vectorsare getting shorter.
And so, we see now the resonanceshifting down toward
lower and lower frequency.
And, finally, what we'll now dois move the poles back to
their original position andthe resonant peak will, of
course, shift back up.
And correspondingly the heightor amplitude of the resonance
will decrease.
And now we're back at thefrequency response that we had
generated previously.
Next we'd like to look at thebehavior as the polls move
parallel to the real axis.
First closer to the j omega axisand then further away.
As they move closer to the jomega axis, the resonance
sharpens because of the factthat the pole vector gets
shorter and responds--
or changes in length morequickly as we move past it
moving along the j omega axis.
So here we see the effect ofmoving the poles closer to the
j omega axis.
The resonance has gottennarrower in frequency and
higher in amplitude, associatedwith the fact that
the pole vector gets shorter.
Next as we move back to theoriginal location, the
resonance will broadenonce again and the
amplitude will decrease.
And then, if we continue to movethe poles even further
away from the real axis, theresonance will broaden even
further and the amplitudeof the peak
will become even smaller.
And finally, let's now look justmove the poles back to
their original position andwe'll see the resonance narrow
again and become higher.
And so what we see then isthat for a second order
system, the behavior of theresonance basically is
associated with the polelocations, the frequency of
the resonance associated withthe vertical position of the
poles, and the sharpness of theresonance associated with
the real part of the poles-- inother words, their position
closer or further away fromthe j omega axis.
OK, so for complex poles, then,for the second order
system, what we see is thatwe get a resonant kind of
behavior, and, in particular,then that resonate behavior
tends to peak, or get peakier,as the value
of zeta gets smaller.
And here, just to remind you ofwhat you saw, here is the
frequency response with oneparticular choice of values--
well, this is normalized so thatomega sub n is one-- one
particular choice forzeta, namely 0.4.
Here is what we have with zetasmaller, and, finally, here is
an example where zeta has gotteneven smaller than that.
And what that corresponds to isthe poles moving closer to
the j omega axis, thecorresponding frequency
response getting peakier.
Now in the time domain whathappens is that we have, of
course, these complex roots,which I indicated previously,
where this represents theimaginary part because zeta is
less than one.
And in the time domain, wewill have a form for the
behavior, which is a e to thec one t, plus a conjugate, e
to the c one conjugate t.
And so, in fact, as thepoles get closer
to the j omega axis--
corresponding to zetagetting smaller--
as the polls get closer to the jomega axis, in the frequency
domain the resonancesget sharper.
In the time domain, the realpart of the poles has gotten
smaller, and that means, infact, that in the time domain,
the behavior will be moreoscillatory and less damped.
And so just lookingat that again.
Here is, in the time domain,what happens.
First of all, with the parameterzeta equal to 0.4,
and it oscillates andexponentially dies out.
Here is the second order systemwhere zeta is now 0.2
instead of 0.4.
And, finally, the second ordersystem where zeta is 0.1.
And what we see as zeta getssmaller and smaller is that
the oscillations are basicallythe same, but the exponential
damping becomes less and less.
Alright, now, this is a somewhatmore detailed look at
second order systems.
And second order systems--and for that
matter, first order systems--
are systems that are importantin their own right, but they
also are important as basicbuilding blocks for more
general, in particular, forhigher order systems.
And the way in which that's donetypically is by combining
first and second order systemstogether in such a way that
they implement higherorder systems.
And two very common connectionsare connections
which are cascade connections,and connections which are
parallel connections.
In a cascade connection, wewould think of combining the
individual systems together asI indicate here in series.
And, of course, from theconvolution property, the
overall system function is theproduct of the individual
system functions.
So, for example, if these wereall second order systems, and
I combine n of them together incascade, the overall system
would be a system that wouldhave to n poles-- in other
words, it would be atwo n order system.
That's one very commonkind of connection.
Another very common kind ofconnection for first and
second order systems is aparallel connection, where, in
that case, we connectthe systems together
as I indicate here.
The overall system function isjust simply the sum of these,
and that follows from thelinearity property.
And so the overall systemfunction would be as I
indicate algebraically here.
And notice that if each ofthese are second order
systems, and I had capital N ofthem in parallel, when you
think of putting the overallsystem function over one
common denominator, thatcommon denominator, in
general, is going to be of ordertwo N. So either the
parallel connection or thecascade connection could be
used to implement higherorder systems.
One very common context in whichsecond order systems are
combined together, either inparallel or in cascade, to
form a more interestingsystem is, in
fact, in speech synthesis.
And what I'd like to do isdemonstrate a speech
synthesizer, which I havehere, which in fact is a
parallel combination of foursecond order systems, very
much of the type that we'vejust talked about.
I'll return to the synthesizerin a minute.
Let me first just indicatewhat the basic idea is.
In speech synthesis, what we'retrying to represent or
implement is somethingthat corresponds
to the vocal tract.
The vocal tract is characterizedby a set of
resonances.
And we can think of representingeach of those
resonances by a secondorder system.
And then the higher order systemcorresponding to the
vocal tract is built by, inthis case, a parallel
combination of those secondorder systems.
So for the synthesizer, what wehave connected together in
parallel is four secondorder systems.
And a control on each one ofthem that controls the center
frequency or the resonantfrequency of each of the
second order systems.
The excitation is an excitationthat would
represent the air flow throughthe vocal cords.
The vocal cords vibrate andthere are puffs of air through
the vocal cords as theyopen and close.
And so the excitation for thesynthesizer corresponds to a
pulse train representingthe air flow
through the vocal cords.
The fundamental frequencyof this representing the
fundamental frequency ofthe synthesized voice.
So that's the basic structureof the synthesizer
And what we have in thisanalog synthesizer are
separate controls on theindividual center frequencies.
There is a control representingthe center
frequency of the third resonatorand the fourth
resonator, and thoseare represented
by these two knobs.
And then the first and secondresonators are controlled by
moving this joystick.
The first resonator by movingthe joystick along this axis
and the second resonatorby moving the
joystick along this axis.
And then, in addition tocontrols on the four
resonators, we can control thefundamental frequency of the
excitation, and we dothat with this knob.
So let's, first of all, justlisten to one of the
resonators, and the resonatorthat I'll play
is the fourth resonator.
And what you'll hear first isthe output as I vary the
center frequency ofthat resonator.
[BUZZING]
So I'm lowering thecenter frequency.
And then, bringing the centerfrequency back up.
And then, as I indicated,I can also control the
fundamental frequencyof the excitation by
turning this knob.
[BUZZING]
Lowering the fundamentalfrequency.
And then, increasing thefundamental frequency.
Alright, now, if the fourresonators in parallel are an
implementation of the vocalcavity, then, presumably, what
we can synthesize when we putthem all in are vowel sounds
and let's do that.
I'll now switch in theother resonators.
When we do that, then, dependingon what choice we
have for the individual resonantfrequencies, we
should be able to synthesizevowel sounds.
So here, for example,is the vowel e.
[BUZZING "E"].
Here is
[BUZZING "AH"]
--ah.
A.
[BUZZING FLAT A]
And, of course, we can--
[BUZZING OO]
--generate
[BUZZING "I"]
--lots of other vowel sounds.
[BUZZING "AH"]
--and change the fundamentalfrequency at the same time.
[CHANGES FREQUENCYUP AND DOWN]
Now, if we want to synthesizespeech it's not enough to just
synthesize steady state vowels--that gets boring
after a while.
Of course what happens with thevocal cavity is that it
moves as a function of time andthat's what generates the
speech that we wantto generate.
And so, presumably then, ifwe change these resonant
frequencies as a function oftime appropriately, then we
should be able to synthesizespeech.
And so by moving theseresonances around, we can
generate synthesized speech.
And let's try it withsome phrase.
And I'll do that by simplyadjusting the center
frequencies appropriately.
[BUZZING "HOW ARE YOU"]
Well, hopefully youunderstood that.
As you could imagine, I spent atleast a few minutes before
the lecture trying to practicethat so that it would come out
to be more or lessintelligible.
Now the system as I've justdemonstrated it is, of course,
a continuous time system or ananalog speech synthesizer.
There are many versions ofdigital or discrete time
synthesizers.
One of the first, in fact, beinga device that many of
you are very likely familiarwith, which is the Texas
Instruments Speak and Spell,which I show here.
And what's very interesting andrather dramatic about this
device is the fact that itimplements the speech
synthesis in very much the sameway as I've demonstrated
with the analog synthesizer.
In this case, it's five secondorder filters in a
configuration that's slightlydifferent than a parallel
configuration but conceptuallyvery closely related.
And let's take a lookinside the box.
And what we see there, with aslide that was kindly supplied
by Texas Instruments, is thefact that there really are
only four chips in there--
a controller chip,some storage.
And the important point is thechip that's labeled as the
speech synthesis chip, in fact,is what embodies or
implements the five secondorder filters and, in
addition, incorporates someother things-- some memory and
also the [? DDA ?]
converters.
So, in fact, the implementationof the
synthesizer is pretty muchdone on a single chip.
Well that's a discretetime system.
We've been talking for the lastseveral lectures about
continuous time systems andthe Laplace transform.
Hopefully what you've seen inthis lecture and the previous
lecture is the powerful toolthat the Laplace transform
affords us in analyzing andunderstanding system behavior.
In the next lecture what I'dlike to do is parallel the
discussion for discrete time,turn our attention to the z
transform, and, as you canimagine simply by virtue of
the fact that I have shown youa digital and analog version
of very much the same kind ofsystem, the discussions
parallel themselves verystrongly and the z transform
will play very much the samerole in discrete time that the
Laplace transform doesin continuous time.
Thank you.12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379align:start position:0% let us try to understand the format of
align:start position:0%let us try to understand the format of
align:start position:0%let us try to understand the format ofthe data handed to us in the CSV files
align:start position:0%the data handed to us in the CSV files
align:start position:0%the data handed to us in the CSV filesgrayscale images are represented as a
align:start position:0%grayscale images are represented as a
align:start position:0%grayscale images are represented as amatrix of pixels intensity values that
align:start position:0%matrix of pixels intensity values that
align:start position:0%matrix of pixels intensity values thatrange from 0 to 1 the intensity values 0
align:start position:0%range from 0 to 1 the intensity values 0
align:start position:0%range from 0 to 1 the intensity values 0corresponds to the absence of color or
align:start position:0%corresponds to the absence of color or
align:start position:0%corresponds to the absence of color orblack and the value 1 corresponds to
align:start position:0%black and the value 1 corresponds to
align:start position:0%black and the value 1 corresponds towhite for 8 bits per pixel images we
align:start position:0%white for 8 bits per pixel images we
align:start position:0%white for 8 bits per pixel images wehave 256 color levels ranging from 0 to
align:start position:0%have 256 color levels ranging from 0 to
align:start position:0%have 256 color levels ranging from 0 to1 for instance if we have the following
align:start position:0%1 for instance if we have the following
align:start position:0%1 for instance if we have the followinggrayscale image the pixel information
align:start position:0%grayscale image the pixel information
align:start position:0%grayscale image the pixel informationcan be translated to a matrix of values
align:start position:0%can be translated to a matrix of values
align:start position:0%can be translated to a matrix of valuesbetween 0 and 1 it is exactly this
align:start position:0%between 0 and 1 it is exactly this
align:start position:0%between 0 and 1 it is exactly thismatrix that we are given in our data
align:start position:0%matrix that we are given in our data
align:start position:0%matrix that we are given in our datasets in other words the data sets
align:start position:0%sets in other words the data sets
align:start position:0%sets in other words the data setscontain a table of values between 0 & 1
align:start position:0%contain a table of values between 0 & 1
align:start position:0%contain a table of values between 0 & 1and the number of columns corresponds to
align:start position:0%and the number of columns corresponds to
align:start position:0%and the number of columns corresponds tothe width of the image whereas the
align:start position:0%the width of the image whereas the
align:start position:0%the width of the image whereas thenumber of rows corresponds to the height
align:start position:0%number of rows corresponds to the height
align:start position:0%number of rows corresponds to the heightof the image in this example the
align:start position:0%of the image in this example the
align:start position:0%of the image in this example theresolution is 7 by 7 pixels we have to
align:start position:0%resolution is 7 by 7 pixels we have to
align:start position:0%resolution is 7 by 7 pixels we have tobe careful when reading the data set in
align:start position:0%be careful when reading the data set in
align:start position:0%be careful when reading the data set inour we need to make sure that our reads
align:start position:0%our we need to make sure that our reads
align:start position:0%our we need to make sure that our readsand the matrix appropriately till now in
align:start position:0%and the matrix appropriately till now in
align:start position:0%and the matrix appropriately till now inthis class our data sets were structured
align:start position:0%this class our data sets were structured
align:start position:0%this class our data sets were structuredin a way where the rows refer to
align:start position:0%in a way where the rows refer to
align:start position:0%in a way where the rows refer toobservations and the columns refer to
align:start position:0%observations and the columns refer to
align:start position:0%observations and the columns refer tovariables but this is not the case for
align:start position:0%variables but this is not the case for
align:start position:0%variables but this is not the case forthe intensity matrix so keep in mind
align:start position:0%the intensity matrix so keep in mind
align:start position:0%the intensity matrix so keep in mindthat we need to do some maneuvering to
align:start position:0%that we need to do some maneuvering to
align:start position:0%that we need to do some maneuvering tomake sure that our recognises the data
align:start position:0%make sure that our recognises the data
align:start position:0%make sure that our recognises the dataas a matrix grayscale image segmentation
align:start position:0%as a matrix grayscale image segmentation
align:start position:0%as a matrix grayscale image segmentationcan be done by clustering pixels
align:start position:0%can be done by clustering pixels
align:start position:0%can be done by clustering pixelsaccording to their intensity values so
align:start position:0%according to their intensity values so
align:start position:0%according to their intensity values sowe can think of our clustering algorithm
align:start position:0%we can think of our clustering algorithm
align:start position:0%we can think of our clustering algorithmas trying to divide the spectrum of
align:start position:0%as trying to divide the spectrum of
align:start position:0%as trying to divide the spectrum ofintensity values from 0 to 1 in two
align:start position:0%intensity values from 0 to 1 in two
align:start position:0%intensity values from 0 to 1 in twointervals or clusters for instance the
align:start position:0%intervals or clusters for instance the
align:start position:0%intervals or clusters for instance thered cluster corresponds to the darkest
align:start position:0%red cluster corresponds to the darkest
align:start position:0%red cluster corresponds to the darkestshades and the green cluster to the
align:start position:0%shades and the green cluster to the
align:start position:0%shades and the green cluster to thelightest now what should the infant be
align:start position:0%lightest now what should the infant be
align:start position:0%lightest now what should the infant beto the clustering algorithm well our
align:start position:0%to the clustering algorithm well our
align:start position:0%to the clustering algorithm well ourobservations should be all of the 7 by 7
align:start position:0%observations should be all of the 7 by 7
align:start position:0%observations should be all of the 7 by 7intensity values hence we should have 49
align:start position:0%intensity values hence we should have 49
align:start position:0%intensity values hence we should have 49observations and we only have one
align:start position:0%observations and we only have one
align:start position:0%observations and we only have onevariable which is the pixel intensity
align:start position:0%variable which is the pixel intensity
align:start position:0%variable which is the pixel intensityvalue so in other words the inputs of
align:start position:0%value so in other words the inputs of
align:start position:0%value so in other words the inputs ofthe clustering algorithm should be a
align:start position:0%the clustering algorithm should be a
align:start position:0%the clustering algorithm should be avector containing 49
align:start position:0%vector containing 49
align:start position:0%vector containing 49or intensity values but what we have is
align:start position:0%or intensity values but what we have is
align:start position:0%or intensity values but what we have isa seven by seven matrix a crucial step
align:start position:0%a seven by seven matrix a crucial step
align:start position:0%a seven by seven matrix a crucial stepbefore feeding the intensity values to
align:start position:0%before feeding the intensity values to
align:start position:0%before feeding the intensity values tothe clustering algorithm is morphing our
align:start position:0%the clustering algorithm is morphing our
align:start position:0%the clustering algorithm is morphing ourdata we should modify the matrix
align:start position:0%data we should modify the matrix
align:start position:0%data we should modify the matrixstructure and lump all the intensity
align:start position:0%structure and lump all the intensity
align:start position:0%structure and lump all the intensityvalues into a single vector we will see
align:start position:0%values into a single vector we will see
align:start position:0%values into a single vector we will seethat we can do this in our using the s
align:start position:0%that we can do this in our using the s
align:start position:0%that we can do this in our using the sdefector function now once we have the
align:start position:0%defector function now once we have the
align:start position:0%defector function now once we have thevector we can simply feed it into the
align:start position:0%vector we can simply feed it into the
align:start position:0%vector we can simply feed it into theclustering algorithm and assign each
align:start position:0%clustering algorithm and assign each
align:start position:0%clustering algorithm and assign eachelement in the vector to a cluster
align:start position:0%element in the vector to a cluster
align:start position:0%element in the vector to a clusterlet us first use hierarchical clustering
align:start position:0%let us first use hierarchical clustering
align:start position:0%let us first use hierarchical clusteringsince we are familiar with it the first
align:start position:0%since we are familiar with it the first
align:start position:0%since we are familiar with it the firststep is to calculate the distance matrix
align:start position:0%step is to calculate the distance matrix
align:start position:0%step is to calculate the distance matrixwhich computes the pairwise distances
align:start position:0%which computes the pairwise distances
align:start position:0%which computes the pairwise distancesamong the elements of the intensity
align:start position:0%among the elements of the intensity
align:start position:0%among the elements of the intensityvector how many such distances do we
align:start position:0%vector how many such distances do we
align:start position:0%vector how many such distances do weneed to calculate well for each element
align:start position:0%need to calculate well for each element
align:start position:0%need to calculate well for each elementin the intensity vector we need to
align:start position:0%in the intensity vector we need to
align:start position:0%in the intensity vector we need tocalculate its distance from the other 48
align:start position:0%calculate its distance from the other 48
align:start position:0%calculate its distance from the other 48elements so this makes 48 calculations
align:start position:0%elements so this makes 48 calculations
align:start position:0%elements so this makes 48 calculationsfor element and we have 49 such elements
align:start position:0%for element and we have 49 such elements
align:start position:0%for element and we have 49 such elementsin the intensity vector in total we
align:start position:0%in the intensity vector in total we
align:start position:0%in the intensity vector in total weshould compute 49 times 48 pairwise
align:start position:0%should compute 49 times 48 pairwise
align:start position:0%should compute 49 times 48 pairwisedistances but due to symmetry we really
align:start position:0%distances but due to symmetry we really
align:start position:0%distances but due to symmetry we reallyneed to calculate half of them so the
align:start position:0%need to calculate half of them so the
align:start position:0%need to calculate half of them so thenumber of pairwise distance calculations
align:start position:0%number of pairwise distance calculations
align:start position:0%number of pairwise distance calculationsis actually 49 times 48 divided by 2 in
align:start position:0%is actually 49 times 48 divided by 2 in
align:start position:0%is actually 49 times 48 divided by 2 ingeneral if we call the size of the
align:start position:0%general if we call the size of the
align:start position:0%general if we call the size of theintensity vector n then we need to
align:start position:0%intensity vector n then we need to
align:start position:0%intensity vector n then we need tocompute n times and minus 1/2 pairwise
align:start position:0%compute n times and minus 1/2 pairwise
align:start position:0%compute n times and minus 1/2 pairwisedistances and store them in the distance
align:start position:0%distances and store them in the distance
align:start position:0%distances and store them in the distancematrix now we should be ready to go to R
align:start position:0%matrix now we should be ready to go to R
align:start position:0%matrix now we should be ready to go to RI already navigated to the directory
align:start position:0%I already navigated to the directory
align:start position:0%I already navigated to the directorywhere we save the flower dot CSV file
align:start position:0%where we save the flower dot CSV file
align:start position:0%where we save the flower dot CSV filewhich contains the matrix of pixel
align:start position:0%which contains the matrix of pixel
align:start position:0%which contains the matrix of pixelintensities of a flower image
align:start position:0%intensities of a flower image
align:start position:0%intensities of a flower imagelet us read in the matrix and save it to
align:start position:0%let us read in the matrix and save it to
align:start position:0%let us read in the matrix and save it toa data frame then call it flower then
align:start position:0%a data frame then call it flower then
align:start position:0%a data frame then call it flower thenuse the read dot CSV function to
align:start position:0%use the read dot CSV function to
align:start position:0%use the read dot CSV function toinstruct our to weave in the flower data
align:start position:0%instruct our to weave in the flower data
align:start position:0%instruct our to weave in the flower dataset and then we have to explicitly
align:start position:0%set and then we have to explicitly
align:start position:0%set and then we have to explicitlymention that we have no headers in the
align:start position:0%mention that we have no headers in the
align:start position:0%mention that we have no headers in theCSV file because it only contains a
align:start position:0%CSV file because it only contains a
align:start position:0%CSV file because it only contains amatrix of intensity values so we're
align:start position:0%matrix of intensity values so we're
align:start position:0%matrix of intensity values so we'regoing to type the header equals false
align:start position:0%going to type the header equals false
align:start position:0%going to type the header equals falsenote that the default on our assumes
align:start position:0%note that the default on our assumes
align:start position:0%note that the default on our assumesthe first row in the data set is the
align:start position:0%the first row in the data set is the
align:start position:0%the first row in the data set is theheader so if we didn't specify that we
align:start position:0%header so if we didn't specify that we
align:start position:0%header so if we didn't specify that wehave no headers in this case we would
align:start position:0%have no headers in this case we would
align:start position:0%have no headers in this case we wouldhave lost the information from the first
align:start position:0%have lost the information from the first
align:start position:0%have lost the information from the firstrow of the pixel intensity matrix now
align:start position:0%row of the pixel intensity matrix now
align:start position:0%row of the pixel intensity matrix nowlet us look at the structure of the
align:start position:0%let us look at the structure of the
align:start position:0%let us look at the structure of theflower data frame we realize that the
align:start position:0%flower data frame we realize that the
align:start position:0%flower data frame we realize that theway the data is stored does not reflect
align:start position:0%way the data is stored does not reflect
align:start position:0%way the data is stored does not reflectthat this is a matrix of intensity
align:start position:0%that this is a matrix of intensity
align:start position:0%that this is a matrix of intensityvalues actually
align:start position:0%values actually
align:start position:0%values actuallyI'll treat the roads as observations and
align:start position:0%I'll treat the roads as observations and
align:start position:0%I'll treat the roads as observations andthe columns as variables let's try to
align:start position:0%the columns as variables let's try to
align:start position:0%the columns as variables let's try tochange the data type to a matrix by
align:start position:0%change the data type to a matrix by
align:start position:0%change the data type to a matrix byusing the add stock matrix function so
align:start position:0%using the add stock matrix function so
align:start position:0%using the add stock matrix function solet's define our variable flower matrix
align:start position:0%let's define our variable flower matrix
align:start position:0%let's define our variable flower matrixand then use the ELSA matrix function
align:start position:0%and then use the ELSA matrix function
align:start position:0%and then use the ELSA matrix functionwhich takes as an input the flower data
align:start position:0%which takes as an input the flower data
align:start position:0%which takes as an input the flower dataframe and now if we look at the
align:start position:0%frame and now if we look at the
align:start position:0%frame and now if we look at thestructure of the flower matrix we
align:start position:0%structure of the flower matrix we
align:start position:0%structure of the flower matrix werealize that we have 50 rows and 50
align:start position:0%realize that we have 50 rows and 50
align:start position:0%realize that we have 50 rows and 50columns what this suggests is that the
align:start position:0%columns what this suggests is that the
align:start position:0%columns what this suggests is that theresolution of the image is 50 pixels in
align:start position:0%resolution of the image is 50 pixels in
align:start position:0%resolution of the image is 50 pixels inwidth and 50 pixels in height this is
align:start position:0%width and 50 pixels in height this is
align:start position:0%width and 50 pixels in height this isactually a very very small picture I am
align:start position:0%actually a very very small picture I am
align:start position:0%actually a very very small picture I amvery curious to see how this image looks
align:start position:0%very curious to see how this image looks
align:start position:0%very curious to see how this image lookslike but let's hold off now and do our
align:start position:0%like but let's hold off now and do our
align:start position:0%like but let's hold off now and do ourclustering first we do not want to be
align:start position:0%clustering first we do not want to be
align:start position:0%clustering first we do not want to beinfluenced by how the image looks like
align:start position:0%influenced by how the image looks like
align:start position:0%influenced by how the image looks likein our decision of the numbers of
align:start position:0%in our decision of the numbers of
align:start position:0%in our decision of the numbers ofclusters we want to pick to perform any
align:start position:0%clusters we want to pick to perform any
align:start position:0%clusters we want to pick to perform anytype of clustering we saw earlier that
align:start position:0%type of clustering we saw earlier that
align:start position:0%type of clustering we saw earlier thatwe would need to convert the matrix of
align:start position:0%we would need to convert the matrix of
align:start position:0%we would need to convert the matrix ofpixel intensities to a vector that
align:start position:0%pixel intensities to a vector that
align:start position:0%pixel intensities to a vector thatcontains all the intensity values
align:start position:0%contains all the intensity values
align:start position:0%contains all the intensity valuesranging from 0 to 1 and then the
align:start position:0%ranging from 0 to 1 and then the
align:start position:0%ranging from 0 to 1 and then theclustering algorithm divides me
align:start position:0%clustering algorithm divides me
align:start position:0%clustering algorithm divides meintensity spectrum the interval 0 to 1
align:start position:0%intensity spectrum the interval 0 to 1
align:start position:0%intensity spectrum the interval 0 to 1into disjoint clusters or intervals so
align:start position:0%into disjoint clusters or intervals so
align:start position:0%into disjoint clusters or intervals solet us define the vector flower vector
align:start position:0%let us define the vector flower vector
align:start position:0%let us define the vector flower vectorand then now we are going to use the
align:start position:0%and then now we are going to use the
align:start position:0%and then now we are going to use thefunction s dot vector which takes as an
align:start position:0%function s dot vector which takes as an
align:start position:0%function s dot vector which takes as aninput the flower matrix and now if we
align:start position:0%input the flower matrix and now if we
align:start position:0%input the flower matrix and now if welook at the structure of the flower
align:start position:0%look at the structure of the flower
align:start position:0%look at the structure of the flowervector we realize that we have 2,500
align:start position:0%vector we realize that we have 2,500
align:start position:0%vector we realize that we have 2,500numerical values which range between 0
align:start position:0%numerical values which range between 0
align:start position:0%numerical values which range between 0and 1 and this totally makes sense
align:start position:0%and 1 and this totally makes sense
align:start position:0%and 1 and this totally makes sensebecause this reflects the 50 times 50
align:start position:0%because this reflects the 50 times 50
align:start position:0%because this reflects the 50 times 50intensity values that we
align:start position:0%intensity values that we
align:start position:0%intensity values that wein our matrix now you might be wondering
align:start position:0%in our matrix now you might be wondering
align:start position:0%in our matrix now you might be wonderingwhy we can't immediately convert the
align:start position:0%why we can't immediately convert the
align:start position:0%why we can't immediately convert thedata frame flower to a vector let's try
align:start position:0%data frame flower to a vector let's try
align:start position:0%data frame flower to a vector let's tryto do this so let's go back to our a
align:start position:0%to do this so let's go back to our a
align:start position:0%to do this so let's go back to our aslot vector function and then have the
align:start position:0%slot vector function and then have the
align:start position:0%slot vector function and then have theinput be the flower data frame instead
align:start position:0%input be the flower data frame instead
align:start position:0%input be the flower data frame insteadof the flower matrix and then let's name
align:start position:0%of the flower matrix and then let's name
align:start position:0%of the flower matrix and then let's namethis variable flower vector to just
align:start position:0%this variable flower vector to just
align:start position:0%this variable flower vector to justsimply so that we don't overwrite the
align:start position:0%simply so that we don't overwrite the
align:start position:0%simply so that we don't overwrite theflower vector and now let's look at its
align:start position:0%flower vector and now let's look at its
align:start position:0%flower vector and now let's look at itsstructure since that are weeds that
align:start position:0%structure since that are weeds that
align:start position:0%structure since that are weeds thatexactly like the flower data frame and
align:start position:0%exactly like the flower data frame and
align:start position:0%exactly like the flower data frame andsees it as 15 observations and 50
align:start position:0%sees it as 15 observations and 50
align:start position:0%sees it as 15 observations and 50variables so converting the data to a
align:start position:0%variables so converting the data to a
align:start position:0%variables so converting the data to amatrix and then to a vector is a crucial
align:start position:0%matrix and then to a vector is a crucial
align:start position:0%matrix and then to a vector is a crucialstep now we should be ready to start our
align:start position:0%step now we should be ready to start our
align:start position:0%step now we should be ready to start ourhierarchical clustering the first step
align:start position:0%hierarchical clustering the first step
align:start position:0%hierarchical clustering the first stepis to create the distance matrix as you
align:start position:0%is to create the distance matrix as you
align:start position:0%is to create the distance matrix as youalready know which in this case computes
align:start position:0%already know which in this case computes
align:start position:0%already know which in this case computesthe difference between every two
align:start position:0%the difference between every two
align:start position:0%the difference between every twointensity values in our flower vector so
align:start position:0%intensity values in our flower vector so
align:start position:0%intensity values in our flower vector solet's type distance equals and then use
align:start position:0%let's type distance equals and then use
align:start position:0%let's type distance equals and then usethe distance function where the flower
align:start position:0%the distance function where the flower
align:start position:0%the distance function where the flowervector is our first input and then let's
align:start position:0%vector is our first input and then let's
align:start position:0%vector is our first input and then let'sspecify the method or the distance
align:start position:0%specify the method or the distance
align:start position:0%specify the method or the distancematrix to be Euclidean now that we have
align:start position:0%matrix to be Euclidean now that we have
align:start position:0%matrix to be Euclidean now that we havethe distance next we will be computing
align:start position:0%the distance next we will be computing
align:start position:0%the distance next we will be computingthe hierarchical clusters123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270Any time you begin a communication, whetherface-to-face, in writing, or over the phone,
it's important to think about why you've openedthat line of communication, what the goal
of your interaction is, and how you're goingto deliver your message.
In this video, we'll watch 3 segments of apresentation created by MIT students. You
will analyze the strategy used to developthe message, and hear how and why the presenters
chose this strategy.
This video is part of the Communication videoseries. Successful professional communication
begins with the ability to analyze situationalvariables and make strategic decisions.
Hi, my name is Joanne Yates, and I'm a SloanDistinguished Professor of Management and
Deputy Dean in the Sloan School of Managementat MIT.
After watching this video, you should be ableto use a strategic approach in order to communicate
effectively. This means that you will be ableto
Analyze your audience, context and purposeExamine and build your own credibility with
the audienceDecide on content, structure, channel, and
style, andEvaluate your own and other's messages for
sound arguments and effective strategy.
As we watch the student presentation, thinkabout the following elements:
Purpose: what is the objective of the presentation?Credibility: Do the speakers have credibility
with the audience when they start the presentation?If not, how do they establish it? For example,
do they build an argument that shows expertise?Content: Does the material support the objective?
Is the argument sound? Does the content answerthe audience's questions?
Structure: Does the organization of the presentationsupport what the speakers are trying to achieve?
Channel: What methods (demos, schematics,animations, text, narration) were used to
convey the points, and were they effective?Style: Did the style fit the context? For
example, were the speakers projecting a formalor informal style? Were they poised and confident?
This presentation was the last requirement in our class for engineering processes.
The presentation was made in a large auditorium, to around a hundred or two hundred
audience members. Ranging from Industry members to students, to mentors, to late men who didn't know
much about engineering processes.
For anyone that uses a walker many everyday occurrences loom as obsticles.
Walkers can't be used on steps in the home or in the community.
They don't fit in the narrow aisles of trains, planes, buses, performance venues, or sports stadiums.
There's no room for them in the tight corners of restaurants, or most Boston Area apartments.
On behalf of Green Team we'd like to introduce to you a solution.
Our product, Walker Prime. A walker that can be transformed into a cane.
Through conversations with over 20 users and their representatives.
We've established at the market for this product is community ambulators.
These are older adults who independently drive, but need the added stability of a walker.
For instance one user we spoke to recalled recently going to a fancy restaurant
and chose to bring his cane rather than his walker fearing that their wouldn't be space in the restaurant.
Unfortunately the restaurant had a very large parking garage and in traveling from his car to the restaurant
he became fatigued and really wished he had his walker.
To take a look at how Walker Prime could have improved his situation
were going to do a demonstration with Ran Dedia
If she was going to meet a friend for lunch in a restaurant downtown and parked a block away
They could use Walker Prime in walker mode to get to the base of the stairs leading up to the restaurant
She could then by pressing on the lower locks convert Walker Prime into a cane mode
And using the cane in one hand and the railing in the other she could ascend the stairs.
The wheels are lifted above the skids, so there's no chance of them touching the ground.
She can then after she's finished with lunch descend the stairs in the same manner.
And to get back to her car she can change it back to walker mode to walk the extra block.
Unfortunately sometimes there's a narrow foot path leading to a parking area too narrow for a walker
Again with Walker Prime this is no longer an obstacle.
To see how this played out with an actual user
We visited a rehabilitation center yesterday and worked with a gentleman who is recovering from hip replacement surgery.
He too.
He too was able to walk using Walker Prime in Walker mode.
And as he approached the bottom of the stairs he was able to compress it transforming into a cane.
And then ascend the stairs using the cane in one hand and for stability the railing in the other.
Later he was able to descend the steps in the same fashion.
This is what Walker Prime does. If stairs are a thing of your past Walker Prime is not going to change that.
But if what's keeping you from the stairs is your walker, that's a job for Walker Prime.
What was the purpose of the presentation?
The purpose of our presentation was to explain why our product was important
Why would anyone need this kind of transformable walker?
To do that we showed different use cases. For example we tried to appeal the audience by
talking about narrow spaces in Boston which people could relate to.
We also showed another use case of a user having to walk for a long while in a parking lot.
This helped us show the audience that our product is important.
Would the audience have found the presenters credible?
What did they do to convince the audience that their arguments were sound?
Their team's next presentation.
And we actually had a bad one for our fifth presentation because the aesthetics of our product.
And because we were pretty late in putting it all together.
So, and our mentors and the staff of 009 have seen this.
So we had to re-establish credibility with our final design with our mentors and staff
and we tried to convey that in our presentation.
We tested walker prime with two users in a rehabilitation facility and
we had a video with one of the users showing how he was able to use our product pretty easily
climbing up the stairs, climbing down the stairs and transitioning it from a walker to a cane.
This was important because one, it showed that in reality this is a viable product
it reaffirmed how functional the product was and it gave us enough credibility with the audience to show
that this would actually be a good product and actually I think a lot of our reviews that came in
after the presentation did say that we could possibly make this a real product.
Let's continue watching the video.
For Walker Prime we wanted to focus on three things.
Stability, simplicity, and ergonomic.
This is an interesting design challenge because for each of the modes there were different requirements
For Walker mode we used similar dimensions to those of other walkers on the market.
We had to be able to make sure that you could adjust the height and still have a stable walker.
The legs extend from hip height and are angled outward to create lateral stability.
In Cane mode we wanted to make sure that you maintain the same handle height in both modes
which also motivated many of our other design decisions.
We also looked at other canes on the market and consulted physical therapist
to determine what an appropriate cane footprint would be so that it would also fit on a stair.
Let's take a look at the Walker at the intuitive transition from walker to cane mode.
We accomplished this by linking the motion in both directions so that it was simple to use
so that all the user has to do is grab the two locks on either side, disengage them
and bring your hands together into cane mode.
Let's take a look at the handles. There are 2 handles in walker mode that become 1 in cane mode.
The wave allows the handles to come together nicely and also provides an ergonomic contour for your fingers.
Just below the handles are the safety locks.
There are two different locks but they are both passive for simplicity.
In order to use active these locks first the user must disengage the upper lock and pull the handles apart.
Then the locks on either side engage and lock it into Walker mode.
Then if the user wanted to make it into a cane again they would just simply
hit either of the two locks on either side, push the walker together, and form a cane again.
Moving down to the bottom we have the wheels.
We wanted to make sure that the user would be able to use this both indoors and outdoors
so we did some research and found that 5 inch wheels were necessary for outdoor use.
We also need the wheels to clear the ground in cane mode, so we had to make the geometry such that
as you collapse the walker into cane mode the wheels would lift off the ground and above the skids.
This brings up to our dual purpose skids
These skids were designed to be stable in both modes
There's a low friction surface for sliding in walker mode and a high friction rubber surface
for functionality in cane mode.
How did you decide what material to include in your presentation?
To some extent the material was stated by the requirements of the class they said that you need to
do a financial analysis, you need to tell us how you made this product, you need to tell us why anyone
would ever buy this product or why anyone would make this product.
So that was the main reason we included what we did. How we arranged it was a little bit more up to us.
So we felt especially given that we had a significant non technical portion of our audience
It was important to motivate the "how" and "why" and show who can benefit from our products...1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531align:start position:0% welcome back to recitation I want us to
align:start position:0%welcome back to recitation I want us to
align:start position:0%welcome back to recitation I want us towork a little more on finding
align:start position:0%work a little more on finding
align:start position:0%work a little more on findinganti-derivatives uh in particular in
align:start position:0%anti-derivatives uh in particular in
align:start position:0%anti-derivatives uh in particular inthis in this video we want to find an
align:start position:0%this in this video we want to find an
align:start position:0%this in this video we want to find ananti-derivative of a trigonometric
align:start position:0%anti-derivative of a trigonometric
align:start position:0%anti-derivative of a trigonometricfunction a power of of the tangent
align:start position:0%function a power of of the tangent
align:start position:0%function a power of of the tangentfunction so I would like you to find an
align:start position:0%function so I would like you to find an
align:start position:0%function so I would like you to find ananti-derivative of tangent Theta
align:start position:0%anti-derivative of tangent Theta
align:start position:0%anti-derivative of tangent Thetaquantity to the 4th and the hint I will
align:start position:0%quantity to the 4th and the hint I will
align:start position:0%quantity to the 4th and the hint I willgive you is that you're going to need
align:start position:0%give you is that you're going to need
align:start position:0%give you is that you're going to needneed some fairly familiar hopefully by
align:start position:0%need some fairly familiar hopefully by
align:start position:0%need some fairly familiar hopefully bynow trigonometric identities to get this
align:start position:0%now trigonometric identities to get this
align:start position:0%now trigonometric identities to get thisto work and then you will need some
align:start position:0%to work and then you will need some
align:start position:0%to work and then you will need someother strategies that you've also been
align:start position:0%other strategies that you've also been
align:start position:0%other strategies that you've also beendeveloping so I'll give you a while to
align:start position:0%developing so I'll give you a while to
align:start position:0%developing so I'll give you a while toto work on it and then I'll be back and
align:start position:0%to work on it and then I'll be back and
align:start position:0%to work on it and then I'll be back andI'll show you how I did
align:start position:0%
align:start position:0% it okay welcome back we we want to again
align:start position:0%it okay welcome back we we want to again
align:start position:0%it okay welcome back we we want to againwe want to find an anti-derivative for
align:start position:0%we want to find an anti-derivative for
align:start position:0%we want to find an anti-derivative fortangent Theta quantity to the 4th and I
align:start position:0%tangent Theta quantity to the 4th and I
align:start position:0%tangent Theta quantity to the 4th and Imentioned what we're going to need is is
align:start position:0%mentioned what we're going to need is is
align:start position:0%mentioned what we're going to need is isa particular trigonometric well I didn't
align:start position:0%a particular trigonometric well I didn't
align:start position:0%a particular trigonometric well I didn'tsay particular sorry but we will need
align:start position:0%say particular sorry but we will need
align:start position:0%say particular sorry but we will needsome trigonometric identities to make
align:start position:0%some trigonometric identities to make
align:start position:0%some trigonometric identities to makethis work and the one in particular I'll
align:start position:0%this work and the one in particular I'll
align:start position:0%this work and the one in particular I'llbe exploiting is a certain one which
align:start position:0%be exploiting is a certain one which
align:start position:0%be exploiting is a certain one whichI'll write down here which is 1 +
align:start position:0%I'll write down here which is 1 +
align:start position:0%I'll write down here which is 1 +tangent s Theta is equal to secant squ
align:start position:0%tangent s Theta is equal to secant squ
align:start position:0%tangent s Theta is equal to secant squTheta we've seen that I think a fair
align:start position:0%Theta we've seen that I think a fair
align:start position:0%Theta we've seen that I think a fairamount now but just to remind ourselves
align:start position:0%amount now but just to remind ourselves
align:start position:0%amount now but just to remind ourselvesit is important and this is the one
align:start position:0%it is important and this is the one
align:start position:0%it is important and this is the onewe're going to use so let me let me show
align:start position:0%we're going to use so let me let me show
align:start position:0%we're going to use so let me let me showyou how this works how this identity
align:start position:0%you how this works how this identity
align:start position:0%you how this works how this identitywill be very use useful in here and the
align:start position:0%will be very use useful in here and the
align:start position:0%will be very use useful in here and theidea is that we can break up this Tang
align:start position:0%idea is that we can break up this Tang
align:start position:0%idea is that we can break up this Tang4A into two uh the product of two
align:start position:0%4A into two uh the product of two
align:start position:0%4A into two uh the product of twotangent squ thetas so I can rewrite this
align:start position:0%tangent squ thetas so I can rewrite this
align:start position:0%tangent squ thetas so I can rewrite thisintegral above as the integral of
align:start position:0%integral above as the integral of
align:start position:0%integral above as the integral oftangent s thet time another tangent squ
align:start position:0%tangent s thet time another tangent squ
align:start position:0%tangent s thet time another tangent squthet but instead of that I'm going to
align:start position:0%thet but instead of that I'm going to
align:start position:0%thet but instead of that I'm going touse this identity so I'm going to write
align:start position:0%use this identity so I'm going to write
align:start position:0%use this identity so I'm going to writeit as SEC thet minus 1 D Theta so just
align:start position:0%it as SEC thet minus 1 D Theta so just
align:start position:0%it as SEC thet minus 1 D Theta so justlet me make sure everybody follows what
align:start position:0%let me make sure everybody follows what
align:start position:0%let me make sure everybody follows whatI did I had tangent 4th Theta as my
align:start position:0%I did I had tangent 4th Theta as my
align:start position:0%I did I had tangent 4th Theta as myinitial integral so then I wrote it as
align:start position:0%initial integral so then I wrote it as
align:start position:0%initial integral so then I wrote it astangent s * tangent squ and this is
align:start position:0%tangent s * tangent squ and this is
align:start position:0%tangent s * tangent squ and this isactually equal to tangent squ you notice
align:start position:0%actually equal to tangent squ you notice
align:start position:0%actually equal to tangent squ you noticeI just subtracted one from both sides of
align:start position:0%I just subtracted one from both sides of
align:start position:0%I just subtracted one from both sides ofthis starred identity so that's my other
align:start position:0%this starred identity so that's my other
align:start position:0%this starred identity so that's my othertangent squar so these two integrals are
align:start position:0%tangent squar so these two integrals are
align:start position:0%tangent squar so these two integrals areactually equal so I haven't changed
align:start position:0%actually equal so I haven't changed
align:start position:0%actually equal so I haven't changedanything fundamentally at all in the
align:start position:0%anything fundamentally at all in the
align:start position:0%anything fundamentally at all in theproblem all right now let's look at what
align:start position:0%problem all right now let's look at what
align:start position:0%problem all right now let's look at whatwe get here we get if I if I distribute
align:start position:0%we get here we get if I if I distribute
align:start position:0%we get here we get if I if I distributethis I get integral of tan^ s Theta
align:start position:0%this I get integral of tan^ s Theta
align:start position:0%this I get integral of tan^ s Thetasecant squ Theta D Theta minus the
align:start position:0%secant squ Theta D Theta minus the
align:start position:0%secant squ Theta D Theta minus theintegral of tan^ 2 Theta D
align:start position:0%integral of tan^ 2 Theta D
align:start position:0%integral of tan^ 2 Theta DTheta now you should start to see that
align:start position:0%Theta now you should start to see that
align:start position:0%Theta now you should start to see thatuh maybe even powers of tangent Theta
align:start position:0%uh maybe even powers of tangent Theta
align:start position:0%uh maybe even powers of tangent Thetaare nice to deal with because this kind
align:start position:0%are nice to deal with because this kind
align:start position:0%are nice to deal with because this kindof stuff is going to happen this is
align:start position:0%of stuff is going to happen this is
align:start position:0%of stuff is going to happen this isgoing to happen every time with you know
align:start position:0%going to happen every time with you know
align:start position:0%going to happen every time with you knowuh n minus 2 that the power n minus two
align:start position:0%uh n minus 2 that the power n minus two
align:start position:0%uh n minus 2 that the power n minus twohere for any N I have up here and the
align:start position:0%here for any N I have up here and the
align:start position:0%here for any N I have up here and thereason the even is is uh actually I
align:start position:0%reason the even is is uh actually I
align:start position:0%reason the even is is uh actually Iguess the even doesn't even really
align:start position:0%guess the even doesn't even really
align:start position:0%guess the even doesn't even reallymatter I could just have any n and this
align:start position:0%matter I could just have any n and this
align:start position:0%matter I could just have any n and thiswould be n minus 2 two down here this is
align:start position:0%would be n minus 2 two down here this is
align:start position:0%would be n minus 2 two down here this isan easy integral to deal with why is
align:start position:0%an easy integral to deal with why is
align:start position:0%an easy integral to deal with why isthat because what's the derivative of
align:start position:0%that because what's the derivative of
align:start position:0%that because what's the derivative ofthe tangent function it's the secant
align:start position:0%the tangent function it's the secant
align:start position:0%the tangent function it's the secantSquare it's secant squared right so this
align:start position:0%Square it's secant squared right so this
align:start position:0%Square it's secant squared right so thisis actually a straight up U substitution
align:start position:0%is actually a straight up U substitution
align:start position:0%is actually a straight up U substitutionor substitution type problem so this I
align:start position:0%or substitution type problem so this I
align:start position:0%or substitution type problem so this Ican finish and I I will later but this
align:start position:0%can finish and I I will later but this
align:start position:0%can finish and I I will later but thiswill be
align:start position:0%will be
align:start position:0%will besubstitution so I'll finish that in a
align:start position:0%substitution so I'll finish that in a
align:start position:0%substitution so I'll finish that in alittle bit but what about this now I
align:start position:0%little bit but what about this now I
align:start position:0%little bit but what about this now Ihave tan^ squ Theta D
align:start position:0%have tan^ squ Theta D
align:start position:0%have tan^ squ Theta DTheta that's you know we we don't have
align:start position:0%Theta that's you know we we don't have
align:start position:0%Theta that's you know we we don't haveany we don't have a secant here we don't
align:start position:0%any we don't have a secant here we don't
align:start position:0%any we don't have a secant here we don'thave secant squared here which would
align:start position:0%have secant squared here which would
align:start position:0%have secant squared here which wouldmake it obviously nice that's what we
align:start position:0%make it obviously nice that's what we
align:start position:0%make it obviously nice that's what wehad here so we need to do something else
align:start position:0%had here so we need to do something else
align:start position:0%had here so we need to do something elsewith this well what I'm going to do is
align:start position:0%with this well what I'm going to do is
align:start position:0%with this well what I'm going to do isI'm again going to use the trigonometric
align:start position:0%I'm again going to use the trigonometric
align:start position:0%I'm again going to use the trigonometricidentity I'm going to replace this
align:start position:0%identity I'm going to replace this
align:start position:0%identity I'm going to replace thistangent squ Theta by by secant squ Theta
align:start position:0%tangent squ Theta by by secant squ Theta
align:start position:0%tangent squ Theta by by secant squ Thetaminus one let's think about why is that
align:start position:0%minus one let's think about why is that
align:start position:0%minus one let's think about why is thatgood well that's good because what I end
align:start position:0%good well that's good because what I end
align:start position:0%good well that's good because what I endup with is if I have secant squ Theta
align:start position:0%up with is if I have secant squ Theta
align:start position:0%up with is if I have secant squ Thetaminus one is what is what this will
align:start position:0%minus one is what is what this will
align:start position:0%minus one is what is what this willequal Square Theta is easy to integrate
align:start position:0%equal Square Theta is easy to integrate
align:start position:0%equal Square Theta is easy to integratebecause it's the derivative of a trig
align:start position:0%because it's the derivative of a trig
align:start position:0%because it's the derivative of a trigfunction we know it's the derivative of
align:start position:0%function we know it's the derivative of
align:start position:0%function we know it's the derivative oftangent and one I think is pretty easy
align:start position:0%tangent and one I think is pretty easy
align:start position:0%tangent and one I think is pretty easyto integrate too so we have two
align:start position:0%to integrate too so we have two
align:start position:0%to integrate too so we have twofunctions we can integrate very easily
align:start position:0%functions we can integrate very easily
align:start position:0%functions we can integrate very easilyso I'm going to bring this back up on
align:start position:0%so I'm going to bring this back up on
align:start position:0%so I'm going to bring this back up onthe next line I'm going to do the
align:start position:0%the next line I'm going to do the
align:start position:0%the next line I'm going to do thereplacement here and then we'll finish
align:start position:0%replacement here and then we'll finish
align:start position:0%replacement here and then we'll finishthe
align:start position:0%the
align:start position:0%theproblem so let me write this
align:start position:0%
align:start position:0% down okay now I'm going to do my replace
align:start position:0%down okay now I'm going to do my replace
align:start position:0%down okay now I'm going to do my replaceplacement and minus the quantity the
align:start position:0%placement and minus the quantity the
align:start position:0%placement and minus the quantity theintegral SEC
align:start position:0%integral SEC
align:start position:0%integral SECs-
align:start position:0%s-
align:start position:0%s-One D Theta let's make sure I didn't
align:start position:0%One D Theta let's make sure I didn't
align:start position:0%One D Theta let's make sure I didn'tmake any mistakes so I had tan Square
align:start position:0%make any mistakes so I had tan Square
align:start position:0%make any mistakes so I had tan SquareTheta secant Square Theta D Theta that
align:start position:0%Theta secant Square Theta D Theta that
align:start position:0%Theta secant Square Theta D Theta thatlooks good and then I'm subtracting tan^
align:start position:0%looks good and then I'm subtracting tan^
align:start position:0%looks good and then I'm subtracting tan^s Theta the integral of tan sare Theta D
align:start position:0%s Theta the integral of tan sare Theta D
align:start position:0%s Theta the integral of tan sare Theta DTheta and that's that so I'm okay so
align:start position:0%Theta and that's that so I'm okay so
align:start position:0%Theta and that's that so I'm okay sothis one again I I mentioned that this
align:start position:0%this one again I I mentioned that this
align:start position:0%this one again I I mentioned that thisis going to be a substitution if you
align:start position:0%is going to be a substitution if you
align:start position:0%is going to be a substitution if youneed to write it out explicitly this is
align:start position:0%need to write it out explicitly this is
align:start position:0%need to write it out explicitly this isU equal tan thet so du is equal to SEC
align:start position:0%U equal tan thet so du is equal to SEC
align:start position:0%U equal tan thet so du is equal to SECthet D Theta so this is the integral of
align:start position:0%thet D Theta so this is the integral of
align:start position:0%thet D Theta so this is the integral ofu^2 right if I substitute in I get u^2
align:start position:0%u^2 right if I substitute in I get u^2
align:start position:0%u^2 right if I substitute in I get u^2du so it's the integral of U2 which is U
align:start position:0%du so it's the integral of U2 which is U
align:start position:0%du so it's the integral of U2 which is Ucubed over 3 so that first part is going
align:start position:0%cubed over 3 so that first part is going
align:start position:0%cubed over 3 so that first part is goingto be tan cubed Theta over
align:start position:0%to be tan cubed Theta over
align:start position:0%to be tan cubed Theta over3 that's my first term that's a straight
align:start position:0%3 that's my first term that's a straight
align:start position:0%3 that's my first term that's a straightup substitution pretty similar to what
align:start position:0%up substitution pretty similar to what
align:start position:0%up substitution pretty similar to whatyou've seen now I have two things to
align:start position:0%you've seen now I have two things to
align:start position:0%you've seen now I have two things tointegrate I have to integrate secant squ
align:start position:0%integrate I have to integrate secant squ
align:start position:0%integrate I have to integrate secant squand I have to integrate the one well
align:start position:0%and I have to integrate the one well
align:start position:0%and I have to integrate the one wellderivative of tangent is secant squ so
align:start position:0%derivative of tangent is secant squ so
align:start position:0%derivative of tangent is secant squ sothe integral of secant s Theta is just
align:start position:0%the integral of secant s Theta is just
align:start position:0%the integral of secant s Theta is justtangent Theta so I have to subtract
align:start position:0%tangent Theta so I have to subtract
align:start position:0%tangent Theta so I have to subtractbecause there's a minus sign tangent
align:start position:0%because there's a minus sign tangent
align:start position:0%because there's a minus sign tangentTheta and then I have a minus minus so
align:start position:0%Theta and then I have a minus minus so
align:start position:0%Theta and then I have a minus minus sowhen I integrate 1 D Theta I'm going to
align:start position:0%when I integrate 1 D Theta I'm going to
align:start position:0%when I integrate 1 D Theta I'm going toget a plus
align:start position:0%get a plus
align:start position:0%get a plusTheta and then obviously because it's a
align:start position:0%Theta and then obviously because it's a
align:start position:0%Theta and then obviously because it's afamily of possible solutions I I can add
align:start position:0%family of possible solutions I I can add
align:start position:0%family of possible solutions I I can adda constant there plus C so again where
align:start position:0%a constant there plus C so again where
align:start position:0%a constant there plus C so again wheredid these come from this first
align:start position:0%did these come from this first
align:start position:0%did these come from this firstone was a u substitution on the first
align:start position:0%one was a u substitution on the first
align:start position:0%one was a u substitution on the firstintegral and then over here I have
align:start position:0%integral and then over here I have
align:start position:0%integral and then over here I haveanother integral with two terms inside
align:start position:0%another integral with two terms inside
align:start position:0%another integral with two terms insidethe first one is just the I just need to
align:start position:0%the first one is just the I just need to
align:start position:0%the first one is just the I just need tointegrate secant squ I get tangent Theta
align:start position:0%integrate secant squ I get tangent Theta
align:start position:0%integrate secant squ I get tangent Thetathe second one I just need to integrate
align:start position:0%the second one I just need to integrate
align:start position:0%the second one I just need to integratethe one and so I have a negative
align:start position:0%the one and so I have a negative
align:start position:0%the one and so I have a negativenegative that makes it a positive Theta
align:start position:0%negative that makes it a positive Theta
align:start position:0%negative that makes it a positive Thetaand then I have to add my constant so
align:start position:0%and then I have to add my constant so
align:start position:0%and then I have to add my constant solet's come back and just remind
align:start position:0%let's come back and just remind
align:start position:0%let's come back and just remindourselves where we started we started
align:start position:0%ourselves where we started we started
align:start position:0%ourselves where we started we startedwith this trig function that was a power
align:start position:0%with this trig function that was a power
align:start position:0%with this trig function that was a powerof tangent and what we ultimately did is
align:start position:0%of tangent and what we ultimately did is
align:start position:0%of tangent and what we ultimately did iswe took two of the powers of tangent we
align:start position:0%we took two of the powers of tangent we
align:start position:0%we took two of the powers of tangent wemade a substitution with the appropriate
align:start position:0%made a substitution with the appropriate
align:start position:0%made a substitution with the appropriatetrigonometric identity to make this an
align:start position:0%trigonometric identity to make this an
align:start position:0%trigonometric identity to make this aneasier problem to solve and actually
align:start position:0%easier problem to solve and actually
align:start position:0%easier problem to solve and actuallyyeah if you take two of the powers of
align:start position:0%yeah if you take two of the powers of
align:start position:0%yeah if you take two of the powers oftangent away and replace them by this
align:start position:0%tangent away and replace them by this
align:start position:0%tangent away and replace them by thisthen you're always going to end up with
align:start position:0%then you're always going to end up with
align:start position:0%then you're always going to end up withsomething of this form tangent to the
align:start position:0%something of this form tangent to the
align:start position:0%something of this form tangent to thepower two less time secant s thet D
align:start position:0%power two less time secant s thet D
align:start position:0%power two less time secant s thet DTheta which you can always handle by a u
align:start position:0%Theta which you can always handle by a u
align:start position:0%Theta which you can always handle by a usubstitution and you're going to end up
align:start position:0%substitution and you're going to end up
align:start position:0%substitution and you're going to end upwith an integral now here's where it
align:start position:0%with an integral now here's where it
align:start position:0%with an integral now here's where itgets a little tough here you wouldn't
align:start position:0%gets a little tough here you wouldn't
align:start position:0%gets a little tough here you wouldn'thave tangent squar I think I might have
align:start position:0%have tangent squar I think I might have
align:start position:0%have tangent squar I think I might havesaid that incorrectly earlier if this
align:start position:0%said that incorrectly earlier if this
align:start position:0%said that incorrectly earlier if thiswas any power here you wouldn't have
align:start position:0%was any power here you wouldn't have
align:start position:0%was any power here you wouldn't havetangent squar you would have had you
align:start position:0%tangent squar you would have had you
align:start position:0%tangent squar you would have had youwould have had uh whatever what if this
align:start position:0%would have had uh whatever what if this
align:start position:0%would have had uh whatever what if thiswas power n this would be power n minus
align:start position:0%was power n this would be power n minus
align:start position:0%was power n this would be power n minus2 so this would be power n minus 2 right
align:start position:0%2 so this would be power n minus 2 right
align:start position:0%2 so this would be power n minus 2 rightso if this was power eight when we do
align:start position:0%so if this was power eight when we do
align:start position:0%so if this was power eight when we dothe substitution this would be power six
align:start position:0%the substitution this would be power six
align:start position:0%the substitution this would be power sixso this would be power six so this would
align:start position:0%so this would be power six so this would
align:start position:0%so this would be power six so this wouldbe power six so you'd have to do the
align:start position:0%be power six so you'd have to do the
align:start position:0%be power six so you'd have to do theprocess again this should remind you of
align:start position:0%process again this should remind you of
align:start position:0%process again this should remind you ofthe reduction formulas you've seen so
align:start position:0%the reduction formulas you've seen so
align:start position:0%the reduction formulas you've seen soit's good it's good if it's even because
align:start position:0%it's good it's good if it's even because
align:start position:0%it's good it's good if it's even becauseif this is Power Six you do the problem
align:start position:0%if this is Power Six you do the problem
align:start position:0%if this is Power Six you do the problemagain and you end up with the second
align:start position:0%again and you end up with the second
align:start position:0%again and you end up with the secondterm has a power four you do the problem
align:start position:0%term has a power four you do the problem
align:start position:0%term has a power four you do the problemagain the second term has a power two
align:start position:0%again the second term has a power two
align:start position:0%again the second term has a power twoand oh we know how to deal with those so
align:start position:0%and oh we know how to deal with those so
align:start position:0%and oh we know how to deal with those sowe like it when it's an even power so
align:start position:0%we like it when it's an even power so
align:start position:0%we like it when it's an even power sothat's kind of how these power even
align:start position:0%that's kind of how these power even
align:start position:0%that's kind of how these power evenpowers of tangent you can take you can
align:start position:0%powers of tangent you can take you can
align:start position:0%powers of tangent you can take you canfind anti-derivatives of the even powers
align:start position:0%find anti-derivatives of the even powers
align:start position:0%find anti-derivatives of the even powersof tangent by this strategy that winds
align:start position:0%of tangent by this strategy that winds
align:start position:0%of tangent by this strategy that windsup you could actually get a reduction
align:start position:0%up you could actually get a reduction
align:start position:0%up you could actually get a reductionformula out of this um but I think
align:start position:0%formula out of this um but I think
align:start position:0%formula out of this um but I thinkthat's where I should stop with this
align:start position:0%that's where I should stop with this
align:start position:0%that's where I should stop with thisproblem and uh I hope you enjoyed it123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599PROFESSOR: All right, I feelalmost as though I should
introduce myselfall over again.
It's been a week and a halfsince we had a lecture.
So let me begin by remindingyou of what we were doing.
We had derived all of the planegroups, and for better
or worse had putthem behind us.
And then we moved into threedimensions, where things get a
lot more involved and a lot morecomplicated, and to say
the least, a lotmore numerous.
And the first question we askedwas to say, when we're
in a three-dimensional space,we can combine a first
rotation operation with a secondrotation operation, B
beta If we're to begin byderiving point groups-- that
is to say, the least [INAUDIBLE]point in this
three-dimensional spaceis not going to move.
[INAUDIBLE]
two axes to intersect a point.
For a space group, they couldbe parallel to one another.
But that's gonna be an infiniteset of symmetry
elements and operations thatextends through all space.
Then we asked the question--rhetorically, because you knew
I was going to answer--
what is the net result of asequence of rotating from a
first object to a second, andthen picking up the second and
rotating it to an angle betaabout second axis.
Begin the third one here.
What is the net effect?
And again, we could do that bythe process of elimination.
It has to be either translationor another
rotation, because these are theonly two generic sorts of
operations which leaves thechirality unchanged.
And I think I convinced youthat indeed there was some
third axis, C, which rotateddirectly from the first to the
third by some differentangle, gamma.
So that is the consequence ofcombining the first two
rotation axes.
What they would anticipate isthat the location and also the
value of the rotation[INAUDIBLE] depends on alpha
and beta, and also [INAUDIBLE]
at which we combine them.
And that's what we'll see.
You could do this in a numberof ways that if you don't
[INAUDIBLE]
that gamma would turnout to be a
crystallographic rotation.
And then your result would betrue, but it would not be a
rotation operation which couldexist in a three-dimensional
point group.
So using the genius ofLeonhard Euler and a
construction known as Euler'sconstruction.
We set up a little sphericaltriangle,
which we could analyze.
Let me tell you a little bitabout Euler, because he's a
remarkable individual.
The first remarkable feature ofEuler is that he's Swiss,
and there are not manyworld-class famous people who
are Swiss, simply because thepopulation is so small.
The probability of somebodyrising to heights is constant
among all populations.
If you have a small population,there are not
going to be very many.
And to demonstrate that point,can somebody identify some
other citizen of Switzerland whorose to great heights, as
world-famous as [INAUDIBLE]?
Think of one other person?
I'm fairly pressedto do so myself.
There's my uncle,but he actually
didn't amount to much.
But there's an artist, PaulKlee, who is world-class.
He was one of the earlymodern artists.
And Switzerland has justfinished constructing a
marvelous museum on theoutskirts of the
capital city, Berne.
It's a structure that issupposed to mimic the rolling
countryside of the centralpart of Switzerland.
So it's a series of cylindricalstructures, glass
in front, glass on top.
And it divides thearea into three.
Two of them are exhibit spacesand one is a space for
scholars and researchers.
And it's an absolutelymarvelous structure.
It appeared in the pages of TimeMagazine when it opened
[INAUDIBLE] abouttwo months ago.
Anyway, Euler was bornin 1707, so he
operated a long time ago.
And he died in St. Petersburgon September 18, 1783.
That is exactly 350 years andone day after my birthday.
That's another remarkablething about him.
He was 76 years oldwhen he died.
And that time of primitivemedicine and plague, not many
people got to live totheir 60s and 70s.
Euler studied at the Universityof Basel under the
Bernoullis.
I think you've all heardof the Bernoullis.
There's a very famous principleof physics known as
the Bernoulli effect, whichstated in its simple practical
form says that if you have theSunday paper on the front seat
alongside of you, and youdrive your car with the
windows down, the paper willblow out the window.
That's Bernoulli's principlein action.
Euler got his doctoratefrom Basel at age 16.
It sort of leads one to therhetorical question, how come
you guys have been spinningyour wheels for so long?
But then I said, he wasan unusual individual.
The Bernoullis went to St.Petersburg in Russia, under
Catherine the First.
Russia was trying very hard atthat time to enter the ranks
of the Western worldas a full member.
Euler followed them alittle bit later on.
And he succeeded one of theBernoullis as a professor of
mathematics in 1733.
Then unfortunately, two yearslater in 1735, he lost the
sight of one eye.
And why?
Because at that time, astronomyhad been using this
newfangled telescope which hadrecently been perfected.
One of the hottest things goingwas studying the heavens
looking through a telescope.
And if you wanted to look at thesun, people knew nothing
about the damaging effect onretinas of the sun's rays.
So he lost the sightof one eye.
1741, he went back to Europeagain, to Berlin.
Why?
Because the reigning monarchin Russia at that time was
called Ivan the Terrible, andthat says reams about why
Euler would want toget out of Russia.
But then 1776, he went back toSt. Petersburg under the next
monarch, who was Catherinethe Great.
And that says why one wouldbe interested to go back.
Finally, in 1766, hewent fully blind.
Did that slow him down?
Not one bit.
He published in his lifetime800 papers.
You talk to some big cheesearound MIT, they've published
maybe 200 or 300 papers, andthat with the assistance of an
army of graduate students, andalso, one might add, the
assistance of Xerox machinesand word processors.
So back in the days when youwrote everything out by hand
with a [INAUDIBLE] quill pen,800 papers is an absolutely
unbelievable accomplishment.
It took 35 years after hepassed away to publish
everything that he'd written.
People had kept busy publishingwhat he did.
And among his accomplishments,he was one of the first people
to apply real hardcoremathematics to astronomy, to
make it quantitative.
He was one of the first tosuggest that light was a wave
form, and that color was afunction of wave length.
That was astonishinglyprecocious.
And then, lest he seem like anegghead who spent all his time
staring through telescopes andworking out theorems to use in
crystallography, he also wrotea popular account of science
for the general public, whichwas published in 1768.
And that book was publishedfor 90 years, three
generations of people keptgobbling up [INAUDIBLE]
pretty good.
He impinged upon our ownlanguage and activities in
several important ways.
He was the one who usedlowercase i to define the
square root of minus 1.
We can thank Euler for that.
He was the person who usede to define the constant,
2.71828182845904523536.
And he was the personwho first used f
to stand for function.
So he contributed not only a lotof good mathematics, but a
lot [INAUDIBLE].
So this does not haveto be easy.
Euler was a great guy.
And this geometry of rotationsabout different axes is
something that also survives ina mechanism that involves
achieving angular core rotationon a axis by rotation
on two orthogonal arcs.
And that's something that'scalled an Euler Cradle.
And that is geometry that;sused in a great number of
mechanical devices.
In any case, back to instructionfor our purposes.
The thing that we would liketo do is let alpha and beta
take on all possiblecrystallographic values,
namely 360 degrees or onefoldaxis, although we know that
that's not gonna work.
Twofold, 180 degrees.
Threefold, 120.
Fourfold, 90.
Sixfold, 60.
And let that give the valuesto alpha and beta,
taking two at a time.
And then let us ask thequestion, at what angle should
we combine these two axesto get gamma to be a
crystallographicrotation axis?
And if it is crystallographicand not something like 37.9234
degrees, what are the remainingaxes with interaxial
angles B and A?
So this is the problem thatEuler's construction solved.
And I won't go through allthe arguments that we
need to set this up.
But what we found after some fsleight of hand when we were
working on the polar trianglewith spherical trigonometry,
what we found was the resultthat said that if we want to
combine two axes, alpha andbeta, so that the third one
turned out to be a rotation ofgamma, then the cosine of the
angle between A and B shouldbe the cosine of alpha/2,
cosine of beta/2 plus cosineof gamma/2, divided by the
sine of alpha/2, sine beta/2.
So if you pick your alpha andbeta, and you decide what you
would want these first tworotations to turn out to be.
And generally it'snot gonna work.
But there are a surprisingnumber of cases
where it does work.
So you specify the combinationyou had.
You also determine the anglebetween A and C. And you have
to also determine the anglebetween the axes B and C. And
there are similar sorts ofexpressions that one obtains
simply by [INAUDIBLE] alphaand beta again.
So then we set it up just bylooking at all possible
combinations of twofold, of twodifferent rotation axes,
and a third, which thenet effect might be.
We're not interested inpermuting A, B, and C. And A
equal to C equal to B is justas interesting or not as A
equal to B equal to C. We don'tcare about permutations.
And we generated-- justas we [INAUDIBLE]
a week and a half ago-- a set ofcombinations that we should
consider, what the axis A wouldbe, what the axis B
would be, and them differentchoices for the axis C. So A
could be 1.
B could be 1.
And we could look for 1,1, 1; 1, 1, 2; 1, 1, 3;
1, 1, 4; 1, 1, 6.
Those are legitimatecombinations?
Those are absurd combinations,because doing nothing about
the first onefold axis, doingnothing about the second
onefold axis could hardly resultin the net effect of
the 90-degree rotationby the third axis.
And [INAUDIBLE] suggested isthat sitting around and doing
nothing twice was equal to arotation [INAUDIBLE] its
junctures [INAUDIBLE] we'd findourselves spinning on our
axis like tops.
Twofold axis.
1, 1, 2, we have here,so we don't have to
consider 2, 1, 1.
But we should consider 2, 1,2; 2, 1, 3; 2, 1, 4; 2,
1, 6, and so on.
If we filled out this wholetable, last time you got a
copy of it and some notes, andall that remains then is to
quote [INAUDIBLE]
and see where we get allowableaxial combinations.
And not surprisingly, thereare so very, very few.
And we showed-- again, when wefinished up last time-- that
you can always take any n-foldaxis that has a C gamma that's
equal to C 2 pi over n andcombine it with twofold axes
at right angles, provided youmake the angle between the
twofold axes equal 2of gamma over 2.
So the crystallographicpossibilities for C are, first
of all, C could be a twofoldaxis, in which case you could
combine with it a pair oftwofold axes, and this 1/2 of
180 degrees would alsobe a right angle.
We could let C be a threefoldaxis, in which case the
twofold axes have to be atright angles, two- to
threefold axes.
And they should be combined athalf the angular throw of the
threefold axes, whichis 60 degrees.
Two more possibilities arefour [INAUDIBLE] pair of
twofold axes at right angles.
Of the angle between them,half of the throw of a
fourfold axis would have tobe equal to 5 degrees.
And the last one is sixfoldaxis with a
pair of twofold axes.
Add angles to it.
And a third [INAUDIBLE].
So notice the insidious factthat the angle between the
twofold axes is always a half,1/2 the rotation angle in
principal axis C are not equalto this rotation axis.
The other thing we saw that isthat these twofold axes are
different, distinct,symmetry-independent axes.
They're different in that theprincipal axis C never rotates
this axis into the second one,and therefore demands that
whatever's going on around onetwofold axis be identical to
what's going on at the othertwofold axis, different in the
sense that they function indifferent ways in the pattern,
or if you're describing thesymmetry of an object.
So probably the bestdemonstration of this is a
regular prism with a triangularshape or with a
square shape or witha hexagonal shape.
And the adjacent twofold axesfor these prisms would come
out of the normal to a face.
And then if the second twofoldaxis is going to be 45 degrees
away from the first, the otherone has to come [INAUDIBLE].
So yeah, they function indifferent ways in the space.
One is normal to the face ofa regular prism, if that's
what's in our space.
The other one comesout of the edge.
Similarly for a sixfold axis,a hexagonal prism has one
twofold axis coming out normalto a face, the adjacent
twofold axis comingout to an edge.
And as advertised,that angle is 33.
So they function indifferent ways.
The only exception to that,again, is the [INAUDIBLE]
threefold axis.
And the twofold axes there,which were 60 degrees, come
out of one side from a cornerof the triangular prism.
On the other side, thatwas [INAUDIBLE].
So all of the twofold axeswere the same thing.
There's only one independentkind of twofold axis, just as
there was only kind of mirrorplane in the combination of a
mirror plane passing througha twofold axis.
The names for these are always,as we've done in the
past, a running list of theindependent symmetry
operations that are present.
So this general one, n, 2, 2,with the n-fold axis for some
generic sort of atwofold axis.
This one would be 2, 2, 2.
This one would be 4, 2, 2.
And this one would be 6, 2, 2.
This [INAUDIBLE] with athreefold axis is, again,
called not 3, 2, but 3, 2,because there's only one kind
of twofold axis, just asthere's only one kind
[INAUDIBLE].
We pause [INAUDIBLE], see ifyou have any questions.
These are the crystallographiccombinations of this
[INAUDIBLE].
There is no reason why youshould not in something that
doesn't have to be compatiblewith a lattice, combine an
n-fold axis of any sort withtwofold axes or right angles.
And indeed, if I look at myold friend, the saguaro
cactus, we can addanything like 28-
up to 32-fold symmetry.
This cactus stem hada 28-fold symmetry.
It would be a twofold axiscoming out of the string with
one of the ribs, another twofoldaxis coming out of the
crevice between the pairof these ribs.
And if I took that thing up,very carefully because of the
spines, and with great effortbecause it weights several
tons, and rotated it about oneaxis, and then rotate it again
about a second axis, turningit upside-down, [INAUDIBLE]
axis would be rotationto 128 [INAUDIBLE].
Valid symmetry, but notcrystallographic.
OK, any comments or questions?
Get to know these results,because the exercise that's
going to occupy us for thenext week is going to be
asking how we can decorate theseframeworks with mirror
planes and with inversion.
If you want orientation, wecould add another operation to
the collection of axeswhile it pops up.
Where [INAUDIBLE].
Comments or questions?
OK, there are only two othercombinations that are
crystallographic thatinvolve directions
that are not simple.
And one of them involves acombination of a threefold
axis with twofold axes that comeout of directions at a
normal to the face of a cube.
So these turn out to be very,very strange angles which make
no sense at all untilyou refer them to
directions in the cube.
The direction of the threefoldaxis turns out to be
correspondent with theangle of a cube.
The direction of the twofoldaxis corresponds to
the normal two faces.
You can show--
I did show, and I don't thinkanybody really followed me, so
I had to hand out that[INAUDIBLE]--
that if you start with onetwofold axis and one threefold
axis, what you're going to getis a threefold axis coming out
of all of the [INAUDIBLE]diagonals, but they're all
equivalent to thisthreefold axis.
And twofold axes come outto normal for all the
faces of the cube.
So there's only one kind oftwofold axis and one kind of
threefold axis, so even thoughwe got this by combining a
pair of twofold axes--
I'm sorry, a pair ofthreefold axes--
that's what happens whenyou stay up late.
You forget about this one.
A pair of threefold axesat the diagonals
and one twofold axis.
And this is the combinationthat is called 23, because
there's only one sort of twofoldaxis and one sort of
threefold axis.
And I'd like to point out andI'd like to warn you of traps
when we come across them, makesure we don't [INAUDIBLE]
across them.
Notice the insidious relationof this pair of integers to
the symmetry that welabel [? 232. ?]
32 is a threefold axis with atwofold axis normal to it.
23 is this combinationthat involves
corrections in a cube.
Now, let me pauseparenthetically with an aside.
You might say, howcan this be?
Here is a cube.
That cube has got a fourfoldaxis about it.
Don't call that atwofold axis.
A cube has a fourfold axiscoming out of it.
OK, let me give you anexample in real life.
There is a fairly commonmineral, iron disulfide--
pyrite.
This forms nice, shiny cubes,but the cube faces have
striations on them.
If you look at them, there's aset of lines running this way.
And what those lines are if youlook at this crystal face
with a magnifying glass, is thatthese are little steps of
a second face.
And this is a faceof the form hk0.
And this oscillates back andforth, and there seem to be
lines scribed on the surface.
So this sort of a [INAUDIBLE]
crystal growth of one face whichnever really develops is
not that uncommon.
There's a threefold axis comingout of the corner here,
but this is really a surfacethat is left at variant only
by 183 [INAUDIBLE].
You cannot rotate thatsurface 90 degrees.
The orientation of thelines have changed.
But there is a bona fidethreefold axis coming up
there, so these striations, ifI rotate them to this face,
will go in a way like this.
This edge turns into this edge,and therefore the lines
will run down like this.
And if I rotate [INAUDIBLE] n by90 degrees, the striations
on the adjacent facewill run down.
So there's a decorated cube.
And if you rolled it up and sayhow can I move this cube
around and leave its appearancetotally unchanged?
the answer is, rotate it by120 degrees [INAUDIBLE]
diagonal.
But we can only rotate it 180degrees around the face.
So there's an example ofa crystal [INAUDIBLE]
on the arrangement ofrotation axes 23.
The final one, the highestsymmetry of all, involves a
fourfold axis coming out of adirection normal to a face, a
threefold axis coming out of the[INAUDIBLE] diagonal, and
a twofold axis coming outnormal to an edge.
And if you let these axes workon one another, there's a
twofold axis that comes out ofevery edge, and a fourfold
axis that comes outof every face.
And this one is named 432,because it's a combination of
a fourfold, a threefold,and a twofold.
That is the symmetryto the cube.
And for crystallographicsymmetries, that's about as
complicated as it gets.
Now, if we look at the regularsolids that we've encountered
here, with symmetry 23, thereis a regular [INAUDIBLE]
consisting of fourtriangular faces.
That's a tetrahedron.
And for 432, one of thepolyhedra that can form from
the crystal [INAUDIBLE]is an octahedron.
These were the lovely solidscalled Platonic solids, after
Plato, that we used as ourtrophies early this afternoon.
So this is an octahedron.
Let me finish up before ourbreak by asking is there any
other regular polyhedra that canresult from a combination
of rotation axes that arenot crystallographic?
Now, that's a toughquestion to ask.
You instantly scan yourknowledge of geometry.
Clearly, there are a lotof prisms [INAUDIBLE]
infinite number of prisms[INAUDIBLE] n22.
But there's only one othercombination of axes
non-crystallographic whichresults in a regular
polyhedron.
And this is a combination,believe it or not, of a
fivefold axis witha threefold axis.
This is a fivefold axisand a threefold axis
and a twofold axis.
And these result in a regularsolid called an icosahedron.
And that is so complicatedthat I won't
attempt to draw it.
But having said so, itlooks like this.
It has diamond-shaped faces.
And there are five of thesethat come together in a
[INAUDIBLE] form.
So here's one of the [INAUDIBLE]diamond-shaped
faces, another diamond-shapedface, and then the two other
ones that come in like this.
So there are 1, 2, 3, 4,5 faces, so this is the
orientation of afivefold axis.
The twofold axis comes out ofa place where two of these
edges are shared.
And the threefold axis--
[INAUDIBLE] triangular faces.
[INAUDIBLE].
So here's the fivefold axis.
These are the twofoldaxes [INAUDIBLE].
And these are threefold axes.
But you know all this.
Is there anybodywho [INAUDIBLE]
show me that they've neverseen an icosahedron?
Anybody ever who has not seen--have you seen it?
[INAUDIBLE].
Here--
I spared no expense-- is a liveicosahedron for those who
would like to look.
AUDIENCE: How many sidesdoes it have?
PROFESSOR: He'll countthem for you.
I don't remember.
I know the number of faces andthe number of edges, but not
the [INAUDIBLE].
AUDIENCE: [INAUDIBLE]
faces.
PROFESSOR: I think it's--
I'm not sure [INAUDIBLE].
Not sure.
AUDIENCE: But you said youknow the number of faces.
PROFESSOR: Yeah, but I can'ttell you everything I know
[INAUDIBLE].
AUDIENCE: Yeah, yeah.
PROFESSOR: There's anotherfigure which also has this
symmetry, and it'sa regular solid.
And this is called a rhombicdodecahedron.
And, wise guy, thishas 12 faces.
And the faces are pentagonal.
And there are three pentagonalfaces that come together at
the threefold axis, a fivefoldaxis out of each of the
pentagonal faces, and a twofoldaxis out of the edges.
The face that this has 12 facesat regular intervals
leads an entrepreneur who wasfamiliar with injection
molding to cast these littlethings as a plastic, and then
puts a month of the year on eachof the 12 faces and made
a nice little desk calendar.
[INAUDIBLE] something thatreminds you of symmetry as
well [INAUDIBLE].
So this has fivefold faces,12 of them, and that's the
rhombic dodecahedron asopposed to the normal
dodecahedron whichis [INAUDIBLE].
AUDIENCE: So are thoseboth [INAUDIBLE]?
PROFESSOR: I'm sorry?
AUDIENCE: Are thoseboth [INAUDIBLE]?
The icosahedron, [INAUDIBLE]?
PROFESSOR: Yeah, this has afivefold axis coming out of
the pentagonal [INAUDIBLE].
Is that what you're asking?
And the threefold axis, thereare three of them that, come
together, and they dosomething like this.
So here's the threefold, here'sthe fivefold, here's
the twofold.
Here we have to seeit [INAUDIBLE].
Look for somebody who's got oneof these desk calendars.
[INAUDIBLE] used to sell them.
[INAUDIBLE].
OK, this sets up the nextstage of our game.
We've got these arrangementsof axes.
And if you count them up on thefingers of your hands and
one toe, there are 11 of them.
There are the axes bythemselves-- onefold, twofold,
threefold, fourfold, sixfold.
There are these so-calleddihedral combinations, where
the only thing that changes fromone to the other is the
symmetry of the main axis, the[INAUDIBLE] symmetry, and
therefore the dihedral anglebetween the twofold axes.
And these are 222,32, 422, and 622.
And then the two cubicarrangements, 32 and 432.
So when we return, we'll ask thequestion, how can we add
mirror planes for an inversioncenter to this
combination of axes?
And these are going to give usnew symmetries involving not
only rotation, but [INAUDIBLE]help with rotation
inversion as well.
And the constraint in doing thisis that we have to add
the reflection plane and theinversion center in such a way
that it doesn't create any newrotation axes, because we have
systematically derived all ofthe possible combinations of
crystallographicrotation axes.
So if the addition of a mirrorplane, creates a new axis,
that's going to be somethingthat you already have with a
combination of a greater numberof rotation axes.
For example, if you take asingle twofold axis and a
mirror plane of an angle, thatgenerated another twofold axis
90 degrees away.
But we've already got that.
If a mirror plane moves an axisto an angle that doesn't
correspond to one of thesearrangements, it's going to be
impossible, because we havesystematically derived, using
Euler's construction, all thecombinations of rotation
operations that are possible.
So that's going to bethe constraint.
We want to add mirror planes oran inversion center in all
possible combinations.
And this means we're gonnaneed a theorem.
What happens when youadd a mirror plane
to a rotation operation?
We're already familiarwith one of them.
You take an axis and you passan mirror plane through it,
you get another mirror planethat is rotated about the
axis, away from the first,by half the rotation
angle of the axis.
So let's take a breather,and let us
resume in about 10 minutes.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578Good morning, all.Good morning. I hope you guys did
not spend all of last nightcelebrating the Red Sox victory,
but there is one more tonight. OK.Let's see. I trust the quiz went
OK. What I will do today is takeoff from where we left
off on Tuesday.And continue our discussion of the
large signal and small signalanalysis of our amplifier.
Today the focus will be on "SmallSignal Analysis".
So let me start by reviewing some of
the material. And,as you know, our MOSFET amplifier
looks like this.
One of the things you will notice incircuits, as I have been mentioning
all along in this course,is that certain kinds of patterns
keep repeating time and time again.And this is one such pattern. A
three terminal device like theMOSFET with an input and the drain
to source port connected to RL andVS in series in the following manner,
this is a very common pattern.There are several other common
patterns. The voltage divider is acommon pattern.
We keep running into that again andagain and again.
The Thevenin form,a voltage source in series with the
resistor is another very common form.The Norton equivalent form,
which is a current source inparallel with a resistor is also
very common. And it behooves all ofus to be very familiar with the
analyses of these things.Voltage dividers in particular are
just so common that you need to beable to look at it and boom,
be able to write down the expressionfor voltage dividers.
I would also encourage you to goand look at current dividers.
When you have two resistors inparallel and you have some current
flowing into the resistors to findout the current in one branch versus
the other very quickly.The expression is very analogous to
the voltage divider expression.And some of these very common
patterns are highlighted in thesummary pages in the course notes,
so it is good to keep track of thoseand be extremely familiar with those
patterns to the point where if yousee it you should be able to jump up
and shout out the answer just bylooking at it without having to do
any math. So here was an amplifier.And then we noticed that when the
MOSFET was in saturation it behavedlike a current source.
And this circuit would give usamplification while the MOSFET was
in saturation.So we agreed to adhere to the
saturation discipline which simplysaid that I was going to use my
circuit in a way that the MOSFETwould always remain in saturation in
building things like amplifiers andso on. And by doing that throughout
the analysis I could make theassumption that the MOSFET was in
saturation. I didn'thave to go through --
Analysis became easier.I didn't have to figure out now,
what region is the MOSFET in? Well,because of my discipline it is
always going to be in saturation.But in turn what we had to do was
conduct a large signal analysis.
Again, in follow on courses you willbe given circuits like this.
In fact, this very circuit with avery high likelihood.
And you will be looking at morecomplicated models of the MOSFET.
Or you will be given the MOSFETlike this and,
let's say in that course thedesigners do not adhere to the
saturation discipline,in which case you have to first
figure out is my MOSFET in itstriode region or in the saturation
region? And depending on the regionit is in you have to apply different
equations. So it is one step morecomplicated than in 002.
In 002 we simplified our lives byfollowing a discipline.
And let me tell you that followinga discipline is quite OK.
When it simplifies our lives and wecan do good things with it,
it is quite OK to do that. We arenot wimps or anything like that.
It is quite OK to have a disciplineand agree that we are going to play
in this region of the playground andbuild circuits in that manner.
By doing so, we could assume theMOSFET was in saturation all the
time. And analysis simply used acurrent source model.
By the same token,what becomes important is to figure
out what are the boundaries of validoperation of the MOSFET in
saturation? To do that we conducteda large signal analysis.
And it had two components to it.One of course was to figure out the
output versus input response.And what this usually does is that
it does a nonlinear analysisof this circuit.
If it is a linear circuit it is alinear analysis.
And figures out what the values ofthe various voltages and currents
are in the circuit as a function ofthe applied inputs and chosen
parameters. And the second step wesaid was to figure out valid
operating ranges --
-- for input and correspondingranges for the other dependent
parameters such as VO.You could also find out the
corresponding operating range forthe current IDS and so on.
So by doing this you could firstanalyze the circuit,
find out the "bias" parameters,find out the values of VI and VO and
so on.And then you could say all right,
provided, as long as VI stays withinthese bounds my assumption that this
is in saturation will hold andeverything will be fine.
The reading for this is Chapter 8.And today we will take the next
step and revisit small signalanalysis. In the demo that I showed
you at the end of last lecture,I showed you an input triangular
wave.And the input triangular wave gave
rise to an output.And we noticed that we did have
amplification,I had a small input and a much
bigger output.I did have amplification when the
MOSFET was in saturation but it washighly nonlinear.
The input was a triangular wave andthe output was some funny,
it kind of looked like a sinusoidwhose extremities had been whacked
down and kind of flattened.And its upward going peak had been
shrunk. So it was a kind of weirdnonlinear behavior.
I will show that to you again lateron. And so it amplified but it was
nonlinear. And remember our goal oftwo weeks ago?
We set out to build a linearamplifier. So today we will walk
down that path and talk aboutbuilding a linear amplifier.
So to very quickly revisit the inputversus output characteristic,
VI versus VO, this is VT and this isVS, this is what things looked like.
Also to quickly review the validranges, until some point here the
amplifier was in saturation,the MOSFET was in saturation and
somewhere here I had VO being equalto VI minus a threshold drop.
At that point the MOSFET went intoits triode region and I no longer
was following the saturationdiscipline. So therefore this is my
valid region of operation.We also know that the output was
given by VS minus K (VI-VT)all squared RL over 2.
Again assuming the MOSFET is insaturation. It is very important to
keep stating this because this istrue only when the MOSFET is in
saturation, when I am following thediscipline. Notice that this is a
nonlinear relationship.So VO depends on some funny square
law dependence on VI.The key here is how do we go about
building our amplifier?Take a look at this point here.
At this point here let's say I havea VI input. Corresponding output is
VO. Focus is this point.And left to itself this was a
nonlinear curve.Remember the trick that we used in
our nonlinear Expo Dweeb example?We used the Zen Method.
Remember the Zen Method?We said look, this is nonlinear,
but if you can focus your mind onthis little piece of the curve here
this looks more or less linear.If I look at a small itty-bitty
portion of the curve and I do theZen thing, and kind of zoom in on
here. This looked more or lesslinear. This means that if I could
work with very small signals andapply the signal in a way that I
also had a DC offset of some sort.Then I would be in a region of the
curve, I would be delineating asmall region of the curve which
would be more or less linear.This was a small signal trick.
And what we will do here is simplyrevisit the small signal model.
Most of what I am going to do fromhere on will be more or less a
repeat of what you saw for the lightemitting expo dweeb.
Just that here I have a threeterminal device,
with a little bit more complication.The equation is different. I don't
have to resort to a Taylor seriesexpansion. I will just do a
complete expansion of thisexpression and develop the small
signal values for you.Recall the small signal model.
It had the following steps.The first step will operate at some
bias point, VI,VO, and of course some corresponding
point IDS. This is Page 3.And then superimpose a small signal
VI on top of the big fat bias.Remember the "boost"?
So VI is the boost.Boom. And above VI,
I have small signal VI that I apply.And our claim is that response of
the amplifier to VI isapproximately linear.
The key trick with this is that for
my small signal model here,this is Page 3 here, and Page 2.
The key trick here is that with thesmall signal model,
I operate my amplifier at someoperating point,
VO, VI. I superimpose a smallsignal VI on top of small VI on top
of big VI. And then I claim thatthe response to VI is
approximately linear.And let me just embellish that curve
a little bit more.
Notice that in this situation thiswas my VI, which is my bias voltage,
this is VO, which is the output bias,and of course not shown on this
graph is the output operatingcurrent which is IDS.
One nice way of thinking about thisis to redraw this and think that
your coordinate axes have kind ofshifted in the following manner.
This is VI. This is also on yourPage 3. This is VT.
Remember this was the operatingpoint, VO and VI.
And notice that we were operatingin this small regime of our
transfer curve here.And in effect what we are saying is
that I am going to apply smallvariations about VI and call those
variations delta VI or small VI.And the resulting variations are
going to look like delta VO.Also referred to as small V,
small O. So I will have smallvariations here.
And they give rise to correspondingsmall variations there.
One way to view this is as if weare working with a new coordinate
system. Another way to view this isthat so the capital VI and capital
VO correspond to my VI and VO as thetotal voltages in my circuit,
but at this bias point I can thinkof another coordinate system here
with small VI and VO out there.And for small changes to VI,
I can figure out the correspondingsmall changes to VO.
Just that all the analysis Iperform here is going to be linear.
And I will prove it to you in acouple of different ways in the next
few seconds. When I am doing smallsignal analysis I am operating here
in this regime at some bias point.You have also seen this before.
How do I get a bias? This is myamplifier RL and VS.
This is Page 4. VO.The way I get a bias is I apply
some DC voltage VI and superimposeon top of that my small signal small
VI. This is my DC bias that hasboosted up the signal to
an interesting value.And because of that what I can get
is by varying VI as a small signalwith a very small amplitude,
I am going to get a linear responsehere. And I can draw
that for you as well.
This is my bias point here.And if I vary my signal like so then
my output should look like this.This is point VI, this is point VO,
and this is my small signal VI andthis is my small signal VO and this
is capital VO.So this small thing here is VI.
I would like to show you a littledemo.
I will start with the same demo Ishowed you the last time.
I showed you the amplifier.In the demo I am going to apply a
triangular wave.And initially I start with a large
signal. And you will see that theoutput looks really corny,
is going to look something like this.That's large signal response.
And then I will begin playing withthe input making it smaller,
and you can see how it looksyourselves.
There you go. So this is where Istopped the last time.
The last lecture I applied thisinput, time is going to the right,
and the purple curve in thebackground is the output.
It looks much more like a sinusoidwith some flattening of its tips.
Nothing like an interestingtriangular wave.
What I will do next is that let memake sure I have enough of a boost
here, enough of a DC voltage so thatI am operating at some point here.
I believe I already have that.Notice that I can shift up the
triangular wave input,or I can shift it down.
So let me bias it here.I have chosen a VI that's about,
I forget how many volts per divisionit is, but I have chosen
some VI here.And I biased it such that this is
the input. You get a nonlinearresponse. It is amplified.
It is much bigger. What I will donext is make VI that I apply smaller
and smaller. I have already donethe boosting. Boom,
that's a boost. So I have boostedup your VI already.
Next is I am going to shrink it,and hopefully you will see that if
all that I am saying is truthfulhere you will see a triangular
response.Let's go try it out.
Watch the yellow. I am going toshrink the yellow and make it
smaller and smaller.There you go. It is great when
nature works like you expect it to.I have never seen a triangular wave
looks so pretty in my life.It is awesome. Look at this.
Here is a tiny triangular wave.And the output is also a triangular
wave but it is much more linear.Yes. Question? What's that? The
question is that the output here isonly as big as the input used to be
before. That's a good question.What I have done here is I am
showing you a laboratory experiment.And let's assume that this input is
the input I am getting from somesensor in the field.
Assume that this is my input,not what I had before. Assume that
this is my input to begin with andthis is the amplified output.
What I can also do is I can alsochange the bias.
And we will see this at the end ofthe lecture, in the last ten minutes
of lecture. How do you select abias point? By changing your bias
point you can change the propertiesof an amplifier to give you a
preview of upcoming attractions.Let me ask you,
what do you think should happen if Ichange the bias point?
I have not shown you the math yet,so intuitively what do you think
should happen?If I increase the bias what do you
think is going to happen?Yes. Good insight. Higher bias
will be more amplification.Let's see if our friend is correct.
Let me set a higher bias.
Not necessarily,
I guess. You're actually right,by the way. I am playing a trick on
everybody here.
As I change my input bias.Notice that under certain
conditions my output becomes smallerand gets more distorted.
Under other conditions what isgoing to happen to my output is that
it is becoming smaller and is goingto get distorted again.
So there are a bunch of funnyeffects happening that reflect on
the bias point,but for an appropriate choice of
bias point as I increase the biasthe amplification should increase.
And I will show you that in a fewminutes. But it is a complicated
relationship. Yes.
This is finally getting fun.Here is the question. Professor
Agarwal, we love your song and dance,but if you really want to get a high
signal at the output and you want toamplify your big input signal
how do you do it?So the question is let's say I have
an input that is this big here,if it is this big, I have shown you
how I can get things that are thisbig, but what if my input was this
big? How do I get an output that isthis big? Well,
I will use one of those learned byquestioning methods and have you
tell me the answer.Someone tell me the answer.
How do I do that? Yes. Useanother amplifier.
So the answer is I will use oneamplifier to go from here to here.
And the suggestion is use anotheramplifier to go from here to here.
And, in fact, I believe that youmay have a problem in your problem
set where you will do that.And so you have only yourselves to
blame. So how do youmake this work?
What you have to do is this VI hasto be much smaller than the bias
point VI on this one.I have to build a different
amplifier, choose a different set ofparameters such that VI prime,
which is the VI for this guy, ismuch less than V capital I prime for
this guy. It's a design question.You need to design it in a way that
the signals of interest need to bemuch smaller than the bias voltage
of this amplifier.So you may have to use much higher
supply voltages.My amplifier, I believe,
has a 4 volt supply or 5 volt supply.You might have to use an amplifier
with a much bigger supply,different values of RL and so on.
And I know that the course notesalso have some exercises and problem
sets that discuss that in moredetail. Yes. This is even more fun.
The question is, good question.The question is why do you need this
guy here? Just use this guy,right? Why do you need this guy?
Big guys rule, right? Who needsthe little guys?
Well, let me use the Socraticmethod again. Why don't you give me
the answer? You guys are smart.Why do you need little guys? Why
do you need the small guy here?Anybody with the answer?
Yeah. The big guy may not be assensitive. I like that.
You know what? He is almostcorrect. I will show you why in a
second. Anything else?Any other reason? Yes.
Bingo. That is another good answer.
So let me address both the answers.The answer given was that look,
this amplifier is amplifying thesignal by a certain amount,
by a factor of 7. And I havedesigned this such that this
amplifies a signal bya factor of maybe 10.
So in all I am getting anamplification of 70.
This would be a great designquestion for lab next year.
I give you a bunch of componentsand ask you to design an amplifier
given the constraints with thehighest amount of amplification.
It turns out that when you designyour amplifier,
in order to meet the saturationdiscipline and so on,
you have to choose values of RL andVS and stuff like that and be within
power constraints so the amplifierdoesn't blow up and stuff.
And by the end of it all you aregoing to get a measly 7X gain out of
it. The same way here,to be able to deal with a very small
signal here and get someamplification,
another set of values and you get10X. So they multiply.
It is much harder to build oneamplifier with a much larger gain.
You know what? I just realizedthat we will be looking at this in
the last five or seven minutes oflecture. I am going to show you
what the amplification depends upon.It depends upon K. It depends upon
RL. It depends upon VI.Now the question is I have had all
this time to think about how tostitch in sensitive into this,
and I believe I can. It turns outthat when you have large voltages
and so on and you have practicaldevices, it turns out that the more
current you pump through devicesthey tend to produce noise of
various kinds.So very powerful amplifiers are not
very good at dealing with reallytiny signals because they have some
inherent noise capabilities.And so I guess that is sensitive.
It is sensitive to noise.Another question? Yes.
Ask me the question again.
I didn't follow.
Let me just explain it.It turns out that I will not be
able to pass this through the bigamplifier to begin with because it
is just going to give me a gain ofjust a factor of 7.
However, if I have a signal that isthis big to begin with then I may
just need this amplifier.I don't need the smaller guy.
If my signal was this big to beginwith, if I had a strong sensor that
produced a strong signal to beginwith, yeah, I can deal with
just a single stage.I don't need to two stages.
It is all a matter of design.And it is actually a fun design
exercise. Given a budget,dollars, right? You go to your
supply room and look at the partsthat you have and you go to build
what you have to build with theparts that you have.
And so sometimes you need to buildtwo amplifiers to get the gain or
build a signal amplifier.It's all a design thing.
All right. Moving on to Page 7.That brings us to the small signal
model.
Page 5.What I showed you up on the little
demo was that provided the signalinput in this example VI was much
smaller than capital VI out there asI shrank my input,
I was able to get a more or lesslinear response at the output.
And so to repeat my notation at theinput, the total input is a sum of
the operating point input plus asmall signal input.
This is called the total variable.This is called the DC bias. It is
also called the operating pointvoltage. And this is called my
small signal input.It is also variously called
incremental input.This is more a mathematical term
relating to incremental analysis orperturbation analysis.
So VI, call it small signal,call it small perturbation, call it
increment, whatever you want.Similarly, at the output I have my
total variable at the output a sumof the output operating voltage and
the small signal voltage.I do not like using Os in symbols
because big O and small O is simplya function of how big you write them.
It is not super clear.And in terms of a graph,
let me plot the input and output foryou. Let's say this is the total
input and that is the total output.I may have some bias VI.
And corresponding to that I may havesome bias VO. Hold that thought for
a second while I give you a previewof something that we will be
covering in about three or fourweeks. Notice that as I couple
amplifiers together,the output operating point voltage
of this amplifier in this connectionbecomes the input operating point
voltage of this amplifier, right?So when they connect this output to
this input, the output operatingpoint voltage becomes coupled to the
input here so it becomes the inputoperating point voltage here.
Now I have a nightmare on my hands.As I adjust the bias of this guy,
the bias of this guy changes,too. The two are dependent. It is
a pain in the neck.And we being engineers find ways to
simplify our lives.And you will learn another trick in
about three or four weeks.And that trick will let you decouple
these two stages in a way that youcan design this stage in isolation,
go have a cup of coffee and thencome back to this stage and design
this stage in isolation.For those of you who want to run
ahead and think about how to do it,think about it. What trick can you
use to get them in isolation?Moving on.
What I would like to do next isaddress this from a mathematical
point of view.And much as I did for the light
emitting expo dweeb analyze thismathematically and show you that if
VI is much smaller than capital VI,I indeed get a linear response.
This time around I won't use Taylorseries because it turns out that
this expression canbe expanded fully.
So you don't have to buy into Taylorseries and so on.
I am going to list everything downfor you. We know,
to begin with, that VO for theamplifier is VS-RLK/2 (VI-VT)^2.
What I am going to do for this,much as I did for the LED,
what I'm going to do is derive foryou the output as a function of the
input when the inputVI is very small.
In other words,when I substitute for VI,
V capital I squared plus small VI.Much as I did for the expo dweeb, I
want to substitute for VI a big DCVI. So VI is much smaller than VI.
And show you for yourselves thatthe output response,
V small O is going to be linearlyconnected to VI.
Notice that, let me write anotherequation here.
This is a total variable.This simply says that if the input
is VI then the output is going to beVO, which means that the operating
point input voltage should satisfythis equation,
correct? In other words,the operating point output voltage V
capital O should equalVS-RLK/2 (VI-VT)^2.
This is at VI equals capital VI.This is very simple but may seem
confusing. All this is saying isthat look, this equation gives me
the relationship between VI and VO.Therefore, if I apply capital VI as
the input, I'm given that mycorresponding output is capital VO,
so they must satisfy this equation,right?
Those are bias point values and thatmust satisfy this equation.
Simple. I know that. So hold thatthought. Stash it away in the back
of your minds.Now let me go through a bunch of
grubby math and substitute for VI inthis expression here.
Let me go ahead and do that.VS-RLK/2((VI+vi)-VT)^2. When I do
something that is other than math Iwill wake you up.
I will just keep doing a bunch ofsteps that are pure math.
No cheating. No nothing.Watch my fingers. When I do
anything that is not obvious math Iwill wake you up.
Next I am going to simply move VTover and rewrite this as follows,
RLK/2((VI-VT)+vi)^2. Again, Ihaven't done anything interesting so
far. I have just substituted this.I am just juggling things around
just to pass away some time,I guess. All right.
Next what I am going to do is simplyexpand this out and write it this
way RLK/2, expand that out and treatthis as one unit VS -
RLK/2((VI-VT)^2+2(VI-VT)vi+vi^2).Nothing fancy here.
This is like the honest board.Nothing fancy here. Standard stuff.
Only math. I will move to thisblackboard here where I do some fun
EE stuff. Yes.
Good. At least one personisn't asleep here.
Thank you. So just math here.Nothing fancy. Plain old simple
math. I have not done any trickery.I still have all my ten fingers.
Now what I am going to do,now watch me. I am not using Taylor
series here because this expressionlends itself to this analysis.
Notice VI squared here.I made the assumption that VI is
much smaller than capital VI,so what I can do is assuming that VT
is small enough that VI minus VT isstill a big number compared to small
VI, what I can do is ignore this incomparison to the capital VI terms.
So I have a capital VI term here.I am going to ignore VI squared.
So, for example,if capital VI was 5 volts and small
VI was 100 millivolts 0., so 0.1 squared is 0.01.
So it is comparing 0.01 to 5.So I am off by a factor of 500.
So now watch me. Now I beginplaying some fun and games here.
I eliminate this, and because Ieliminate that it now becomes
approximately equal.What I do in addition is let me
write down the output.The total variable is the sum of
the DC bias and some variation ofthe output. And let me simply
expand that term and write it downagain. VS-RLK/2(VI-VT)^2-RLK/2.
I get a two here.And I get VI-VT. I won't forget
the VI this time.Again, from here to there nothing
fancy. This is the one step where Ihave used a trick.
I have said small VI is muchsmaller than capital VI,
and so I have simply expanded thisout and written it here.
So do you see the obvious nexttrick here?
From star look at this guy.
I can cancel this out from starbecause I know that at the operating
point these two expressions areequal, and so therefore I can cancel
out the operating pointvoltage and this.
What I am left with is small VO issimply minus RLK(VI-VT) times vi.
Only one place where I didsomething funny.
Other than that it is purely math.So this is what I get.
Notice that this whole thing is aconstant, minus RLK(VI-VT).
This whole thing is a constant.And so VO is equal to some constant
times VI. Let me just define someterms for you that you will use
again and again.For reasons that will be obvious
next lecture, I am going to callthis term here GM.
I am going to call this term a
constant, K(VI - VT).It is a constant for a given bias
point voltage.So I am going to call that GM.
And then I am going to call thiswhole thing A.
And of course this is VI.There you go.
I have my linear amplifier.A is the gain times small VI.
And the gain has these terms in it.I just call this GM. You will see
why later. But notice that the gainrelates to RL.
The size of the load resistor RL,how big it is, 1K, 10K, whatever. K,
this is a MOSFET parameter,and VI minus VT.
That is a constant for a given biaspoint voltage and small VI.
So VO equals small VI.
I won't give you a graphicalinterpretation,
but I encourage you to go and lookat Figure 8.9 in the course notes.
And it gives you a graphicalinterpretation of that expression.
Move to Page 7.Another way of looking at this,
another way of mathematicallyanalyzing it, here I went through a
full blown expansion and pretty muchderiving the small signal response.
What I can also do is take ashortcut here.
So let me just give you theshortcut. You might find this handy.
VO=VS-KRL/2(VI-VT)^2.And my shortcut is as follows.
My small signal response is simplythis relationship.
I find the slope at the pointcapital VI and multiply by the
increment. Slope times theincrement gives me the incremental
change in VO as follows.d/dI (VS-KRL/2(VI-VT)^2) evaluated
at vI=VI times vi.This is math again.
I want to find out the change in VOfor a small change in VI,
and I do that by taking the firstderivative of this with respect to
VI substituting V capital I andmultiplying by the small change
delta VI or small VI.So this is simply the slope of the
VO versus VI curve at VI.And so therefore taking the
derivative here of this.This is a constant so it vanishes.
But twice 2 to cancel out, so I getKRL(VI-VT) times small vi
evaluated at capital VI.So I get twice KRL,
VI evaluated at capital VI,so it is VI minus VT times small VI.
Same thing. Oh, and I have a minussign here.
I get the same expression that Iderived for you up there,
and this is just taking the slopeand going with it.
And this, as I mentioned before,this is A. The last few minutes let
me kind of pull everything togetherand also hit upon something that
many of your questionsare touched upon.
And that all relates to how tochoose the bias point.
So here I have taken an analysisapproach. When teaching we often
teach you are given something,you analyze it, but as you begin to
master it you can begin to designthings where you can ask a lot of
questions and so on.And here what we have is an
analysis given a valueof RLK, VI and so on.
How to choose the bias point becomesmore of a design issue.
If you are designing an amplifier,you asked me the question, how do I
choose two small amplifiers versusone big amplifier,
that sort of stuff?It boils down to how do you choose
the bias point?How do you choose VI?
How do you choose RL and so on?What I would like to do is touch
upon some of these things.First of all, gain or the
amplification.One of the most important design
perimeters for an amplifier is whatis the gain? Let's say you get a
job at Maxim Integrated Technologies,and they say we would like you to
build a linear power amplifier forcell phones. You can say I know how
to do that. And then they say thenext stage needs a 100
millivolt input.While this thing coming from the
antenna is only a few tens or a fewhundreds of a microvolt.
So you sit down and say oh,my gosh, I need an amplification of
so much, and you go design anamplifier. So gain tends to be a
key parameter.And notice that gain is
proportional to RL.It relates to VI minus VT,
so proportional to VI.It is also related to RL.
The second point is the gain pointdetermines where I bias something.
If I choose my bias too high I getdistortion, or if I choose my bias
too low I get distortion.
So depending on how I choose my biaspoint, as a signal goes up it may
begin clipping or begin distorting.And I will show you a demo the next
time on that particular example.So bias point will determine how
big of a signal you can send withoutgetting too much distortion.
And the other thing is that,relates to how big of an input,
what is a valid input range? Solet's say you have a signal.
And you want that signal to haveboth positive and negative
excursions of the same value.Then, depending on where you choose
a bias point, your input range maybecome smaller or larger.
And we will go through these in thecontext of and amplifier and look at
some design issues inthe next lecture.12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043align:start position:0% well we'll need at least one MOSFET to
align:start position:0%well we'll need at least one MOSFET to
align:start position:0%well we'll need at least one MOSFET toserve as the access fence so we can
align:start position:0%serve as the access fence so we can
align:start position:0%serve as the access fence so we canselect which will be affected by
align:start position:0%select which will be affected by
align:start position:0%select which will be affected byread and write operations we can use a
align:start position:0%read and write operations we can use a
align:start position:0%read and write operations we can use asimple capacitor for storage where this
align:start position:0%simple capacitor for storage where this
align:start position:0%simple capacitor for storage where thisvalue of the stored bit is represented
align:start position:0%value of the stored bit is represented
align:start position:0%value of the stored bit is representedby voltage across the plates of the
align:start position:0%by voltage across the plates of the
align:start position:0%by voltage across the plates of thecapacitor the resulting circuit is
align:start position:0%capacitor the resulting circuit is
align:start position:0%capacitor the resulting circuit istermed a dynamic random access memory or
align:start position:0%termed a dynamic random access memory or
align:start position:0%termed a dynamic random access memory orDRAM cell if the capacitor voltage
align:start position:0%DRAM cell if the capacitor voltage
align:start position:0%DRAM cell if the capacitor voltageexceeds a certain threshold restoring a
align:start position:0%exceeds a certain threshold restoring a
align:start position:0%exceeds a certain threshold restoring a1-bit otherwise restoring a zero the
align:start position:0%1-bit otherwise restoring a zero the
align:start position:0%1-bit otherwise restoring a zero theamount of charge of the capacitor which
align:start position:0%amount of charge of the capacitor which
align:start position:0%amount of charge of the capacitor whichdetermines the speed and reliability of
align:start position:0%determines the speed and reliability of
align:start position:0%determines the speed and reliability ofreading the steward value is
align:start position:0%reading the steward value is
align:start position:0%reading the steward value isproportional to the capacitance we can
align:start position:0%proportional to the capacitance we can
align:start position:0%proportional to the capacitance we canincrease the capacitance by increasing
align:start position:0%increase the capacitance by increasing
align:start position:0%increase the capacitance by increasingthe dielectric constant of the
align:start position:0%the dielectric constant of the
align:start position:0%the dielectric constant of theinsulating layer between the two plates
align:start position:0%insulating layer between the two plates
align:start position:0%insulating layer between the two platesof the capacitor increasing the area of
align:start position:0%of the capacitor increasing the area of
align:start position:0%of the capacitor increasing the area ofthe plates or by decreasing the distance
align:start position:0%the plates or by decreasing the distance
align:start position:0%the plates or by decreasing the distancebetween the plates all of these are
align:start position:0%between the plates all of these are
align:start position:0%between the plates all of these areconstantly being improved a cross
align:start position:0%constantly being improved a cross
align:start position:0%constantly being improved a crosssection of a modern DRAM cell is shown
align:start position:0%section of a modern DRAM cell is shown
align:start position:0%section of a modern DRAM cell is shownhere the capacitor is formed in a large
align:start position:0%here the capacitor is formed in a large
align:start position:0%here the capacitor is formed in a largetrench dug into the substrate material
align:start position:0%trench dug into the substrate material
align:start position:0%trench dug into the substrate materialof the integrated circuit increasing the
align:start position:0%of the integrated circuit increasing the
align:start position:0%of the integrated circuit increasing thedepth of the trench will increase the
align:start position:0%depth of the trench will increase the
align:start position:0%depth of the trench will increase thearea of the capacitor plates without
align:start position:0%area of the capacitor plates without
align:start position:0%area of the capacitor plates withoutincreasing the cells area the word line
align:start position:0%increasing the cells area the word line
align:start position:0%increasing the cells area the word lineforms the gate of the N FET access
align:start position:0%forms the gate of the N FET access
align:start position:0%forms the gate of the N FET accesstransistor connecting the outer plate of
align:start position:0%transistor connecting the outer plate of
align:start position:0%transistor connecting the outer plate ofthe capacitor to the bit line a very
align:start position:0%the capacitor to the bit line a very
align:start position:0%the capacitor to the bit line a verythin insulating layer separates the
align:start position:0%thin insulating layer separates the
align:start position:0%thin insulating layer separates theouter plate from the inner plate which
align:start position:0%outer plate from the inner plate which
align:start position:0%outer plate from the inner plate whichis connected to some reference voltage
align:start position:0%is connected to some reference voltage
align:start position:0%is connected to some reference voltageshown as ground in this diagram you can
align:start position:0%shown as ground in this diagram you can
align:start position:0%shown as ground in this diagram you canGoogle trench capacitor to get the
align:start position:0%Google trench capacitor to get the
align:start position:0%Google trench capacitor to get thelatest information on the dimensions and
align:start position:0%latest information on the dimensions and
align:start position:0%latest information on the dimensions andmaterials used in the construction of
align:start position:0%materials used in the construction of
align:start position:0%materials used in the construction ofthe capacitor the resulting circuit is
align:start position:0%the capacitor the resulting circuit is
align:start position:0%the capacitor the resulting circuit isquite compact about 20 times less area
align:start position:0%quite compact about 20 times less area
align:start position:0%quite compact about 20 times less areaper bit than an SRAM bit cell there are
align:start position:0%per bit than an SRAM bit cell there are
align:start position:0%per bit than an SRAM bit cell there aresome challenges however there's no
align:start position:0%some challenges however there's no
align:start position:0%some challenges however there's nocircuitry to maintain the static charge
align:start position:0%circuitry to maintain the static charge
align:start position:0%circuitry to maintain the static chargeof the capacitor so store charge will
align:start position:0%of the capacitor so store charge will
align:start position:0%of the capacitor so store charge willleak from the outer plate of capacitor
align:start position:0%leak from the outer plate of capacitor
align:start position:0%leak from the outer plate of capacitorhence the name dynamic memory the
align:start position:0%hence the name dynamic memory the
align:start position:0%hence the name dynamic memory theleakage is caused by small Pico amperes
align:start position:0%leakage is caused by small Pico amperes
align:start position:0%leakage is caused by small Pico amperesthrough the PN Junction with the
align:start position:0%through the PN Junction with the
align:start position:0%through the PN Junction with thesurrounding substrate or sub threshold
align:start position:0%surrounding substrate or sub threshold
align:start position:0%surrounding substrate or sub thresholdconduction of the access FET even when
align:start position:0%conduction of the access FET even when
align:start position:0%conduction of the access FET even whenit's turned off this limits the amount
align:start position:0%it's turned off this limits the amount
align:start position:0%it's turned off this limits the amountof time we can leave the capacitor
align:start position:0%of time we can leave the capacitor
align:start position:0%of time we can leave the capacitorunattended and still expect to read the
align:start position:0%unattended and still expect to read the
align:start position:0%unattended and still expect to read thestored value this means we'll have to
align:start position:0%stored value this means we'll have to
align:start position:0%stored value this means we'll have toarrange to read
align:start position:0%arrange to read
align:start position:0%arrange to readthen rewrite each bit cell called a
align:start position:0%then rewrite each bit cell called a
align:start position:0%then rewrite each bit cell called arefresh cycle every 10 milliseconds or
align:start position:0%refresh cycle every 10 milliseconds or
align:start position:0%refresh cycle every 10 milliseconds orso adding to the complexity of the DRAM
align:start position:0%so adding to the complexity of the DRAM
align:start position:0%so adding to the complexity of the DRAMinterface circuitry DRAM write
align:start position:0%interface circuitry DRAM write
align:start position:0%interface circuitry DRAM writeoperations are straightforward simply
align:start position:0%operations are straightforward simply
align:start position:0%operations are straightforward simplyturn on the access FET with the word
align:start position:0%turn on the access FET with the word
align:start position:0%turn on the access FET with the wordline and charge or discharge the storage
align:start position:0%line and charge or discharge the storage
align:start position:0%line and charge or discharge the storagecapacitor through the bit line leads are
align:start position:0%capacitor through the bit line leads are
align:start position:0%capacitor through the bit line leads area bit more complicated
align:start position:0%a bit more complicated
align:start position:0%a bit more complicatedfirst the bit line is pre-charged to
align:start position:0%first the bit line is pre-charged to
align:start position:0%first the bit line is pre-charged tosome intermediate voltage for example
align:start position:0%some intermediate voltage for example
align:start position:0%some intermediate voltage for exampleVDD over 2 and then the pre-charge
align:start position:0%VDD over 2 and then the pre-charge
align:start position:0%VDD over 2 and then the pre-chargecircuitry is disconnected the word line
align:start position:0%circuitry is disconnected the word line
align:start position:0%circuitry is disconnected the word lineis activated connecting the storage
align:start position:0%is activated connecting the storage
align:start position:0%is activated connecting the storagecapacitor of the selected cell to the
align:start position:0%capacitor of the selected cell to the
align:start position:0%capacitor of the selected cell to thebit line causing the charge on the
align:start position:0%bit line causing the charge on the
align:start position:0%bit line causing the charge on thecapacitor to be shared with the charge
align:start position:0%capacitor to be shared with the charge
align:start position:0%capacitor to be shared with the chargestored by the capacitance of the bit
align:start position:0%stored by the capacitance of the bit
align:start position:0%stored by the capacitance of the bitline if the values stored in the cell
align:start position:0%line if the values stored in the cell
align:start position:0%line if the values stored in the cellcapacitor is a 1 the bit line voltage
align:start position:0%capacitor is a 1 the bit line voltage
align:start position:0%capacitor is a 1 the bit line voltagewill increase very slightly for example
align:start position:0%will increase very slightly for example
align:start position:0%will increase very slightly for examplea few tenths of millivolts if the stored
align:start position:0%a few tenths of millivolts if the stored
align:start position:0%a few tenths of millivolts if the storedvalue is 0 the bit line voltage will
align:start position:0%value is 0 the bit line voltage will
align:start position:0%value is 0 the bit line voltage willdecrease slightly sense amplifiers are
align:start position:0%decrease slightly sense amplifiers are
align:start position:0%decrease slightly sense amplifiers areused to detect the small voltage change
align:start position:0%used to detect the small voltage change
align:start position:0%used to detect the small voltage changeto produce a digital output value
align:start position:0%to produce a digital output value
align:start position:0%to produce a digital output valuethis means that read operations wipe out
align:start position:0%this means that read operations wipe out
align:start position:0%this means that read operations wipe outthe information stored in the bit cell
align:start position:0%the information stored in the bit cell
align:start position:0%the information stored in the bit cellwhich must then be rewritten with the
align:start position:0%which must then be rewritten with the
align:start position:0%which must then be rewritten with thedetected value at the end of the read
align:start position:0%detected value at the end of the read
align:start position:0%detected value at the end of the readoperation DRAM circuitry is usually
align:start position:0%operation DRAM circuitry is usually
align:start position:0%operation DRAM circuitry is usuallyorganized to have wide rows in other
align:start position:0%organized to have wide rows in other
align:start position:0%organized to have wide rows in otherwords multiple consecutive locations are
align:start position:0%words multiple consecutive locations are
align:start position:0%words multiple consecutive locations areread in a single access this particular
align:start position:0%read in a single access this particular
align:start position:0%read in a single access this particularblock of locations are selected by the
align:start position:0%block of locations are selected by the
align:start position:0%block of locations are selected by theDRAM row address then the DRAM column
align:start position:0%DRAM row address then the DRAM column
align:start position:0%DRAM row address then the DRAM columnaddress is used to select a particular
align:start position:0%address is used to select a particular
align:start position:0%address is used to select a particularlocation from the block to be returned
align:start position:0%location from the block to be returned
align:start position:0%location from the block to be returnedif we want to read multiple locations in
align:start position:0%if we want to read multiple locations in
align:start position:0%if we want to read multiple locations ina single row then we only need to send a
align:start position:0%a single row then we only need to send a
align:start position:0%a single row then we only need to send anew column address and the DRAM will
align:start position:0%new column address and the DRAM will
align:start position:0%new column address and the DRAM willrespond with that location without
align:start position:0%respond with that location without
align:start position:0%respond with that location withouthaving to access the bit cells again the
align:start position:0%having to access the bit cells again the
align:start position:0%having to access the bit cells again thefirst access to a row has a long latency
align:start position:0%first access to a row has a long latency
align:start position:0%first access to a row has a long latencybut subsequent accesses to the same row
align:start position:0%but subsequent accesses to the same row
align:start position:0%but subsequent accesses to the same rowhave very low latency as we'll see we'll
align:start position:0%have very low latency as we'll see we'll
align:start position:0%have very low latency as we'll see we'llbe able to use fast column accesses to
align:start position:0%be able to use fast column accesses to
align:start position:0%be able to use fast column accesses toour advantage
align:start position:0%our advantage
align:start position:0%our advantagein summary DRAM bit cells consist of a
align:start position:0%in summary DRAM bit cells consist of a
align:start position:0%in summary DRAM bit cells consist of asingle access FET connected to a storage
align:start position:0%single access FET connected to a storage
align:start position:0%single access FET connected to a storagecapacitor this cleverly constructed to
align:start position:0%capacitor this cleverly constructed to
align:start position:0%capacitor this cleverly constructed totake up as little area as possible dear
align:start position:0%take up as little area as possible dear
align:start position:0%take up as little area as possible dearas must rewrite the contents of bit
align:start position:0%as must rewrite the contents of bit
align:start position:0%as must rewrite the contents of bitcells after they are read and every cell
align:start position:0%cells after they are read and every cell
align:start position:0%cells after they are read and every cellmust be read and written periodically to
align:start position:0%must be read and written periodically to
align:start position:0%must be read and written periodically toensure that the
align:start position:0%ensure that the
align:start position:0%ensure that thestored charge is refreshed before it's
align:start position:0%stored charge is refreshed before it's
align:start position:0%stored charge is refreshed before it'scorrupted by leakage currents d rams
align:start position:0%corrupted by leakage currents d rams
align:start position:0%corrupted by leakage currents d ramshave much higher capacities than s rams
align:start position:0%have much higher capacities than s rams
align:start position:0%have much higher capacities than s ramsbecause of the small size of the d ram
align:start position:0%because of the small size of the d ram
align:start position:0%because of the small size of the d rambit cells but the complexity of the dram
align:start position:0%bit cells but the complexity of the dram
align:start position:0%bit cells but the complexity of the draminterface circuitry means that the
align:start position:0%interface circuitry means that the
align:start position:0%interface circuitry means that theinitial access to a row of locations is
align:start position:0%initial access to a row of locations is
align:start position:0%initial access to a row of locations isquite a bit slower than an SRAM access
align:start position:0%quite a bit slower than an SRAM access
align:start position:0%quite a bit slower than an SRAM accesshowever subsequent accesses to the same
align:start position:0%however subsequent accesses to the same
align:start position:0%however subsequent accesses to the samerow having it speeds close to that of
align:start position:0%row having it speeds close to that of
align:start position:0%row having it speeds close to that ofSRAM accesses both s Rams and D Rams
align:start position:0%SRAM accesses both s Rams and D Rams
align:start position:0%SRAM accesses both s Rams and D Ramswill store values as long as their
align:start position:0%will store values as long as their
align:start position:0%will store values as long as theircircuitry has power but if the circuitry
align:start position:0%circuitry has power but if the circuitry
align:start position:0%circuitry has power but if the circuitryis powered down the stored bits will be
align:start position:0%is powered down the stored bits will be
align:start position:0%is powered down the stored bits will belost for a long term storage we will
align:start position:0%lost for a long term storage we will
align:start position:0%lost for a long term storage we willneed to use non-volatile memory
align:start position:0%need to use non-volatile memory
align:start position:0%need to use non-volatile memorytechnologies the topic of the next
align:start position:0%technologies the topic of the next
align:start position:0%technologies the topic of the nextlecture segment123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731align:start position:0% there's another Vector operation which
align:start position:0%there's another Vector operation which
align:start position:0%there's another Vector operation whichwe call the
align:start position:0%we call the
align:start position:0%we call thevector
align:start position:0%vector
align:start position:0%vectorproduct and sometimes this operation is
align:start position:0%product and sometimes this operation is
align:start position:0%product and sometimes this operation iscalled the cross product and this is
align:start position:0%called the cross product and this is
align:start position:0%called the cross product and this istaking two vectors A the operation cross
align:start position:0%taking two vectors A the operation cross
align:start position:0%taking two vectors A the operation crossB and this will give a new Vector C and
align:start position:0%B and this will give a new Vector C and
align:start position:0%B and this will give a new Vector C andnow we want to Define that new Vector C
align:start position:0%now we want to Define that new Vector C
align:start position:0%now we want to Define that new Vector Cso let's draw a three-dimensional
align:start position:0%so let's draw a three-dimensional
align:start position:0%so let's draw a three-dimensionalpicture where we have a
align:start position:0%
align:start position:0% plane and on this plane we have two
align:start position:0%plane and on this plane we have two
align:start position:0%plane and on this plane we have twovectors
align:start position:0%
align:start position:0% A and
align:start position:0%A and
align:start position:0%A andB and those vectors are forming an angle
align:start position:0%B and those vectors are forming an angle
align:start position:0%B and those vectors are forming an angleTheta between
align:start position:0%Theta between
align:start position:0%Theta betweenthem now a plane defines two unit
align:start position:0%them now a plane defines two unit
align:start position:0%them now a plane defines two unitnormals I'll draw one up which I'm going
align:start position:0%normals I'll draw one up which I'm going
align:start position:0%normals I'll draw one up which I'm goingto call n hat right hand rule
align:start position:0%to call n hat right hand rule
align:start position:0%to call n hat right hand ruleand the reason for that right hand rule
align:start position:0%and the reason for that right hand rule
align:start position:0%and the reason for that right hand ruleis if we take a cross
align:start position:0%is if we take a cross
align:start position:0%is if we take a crossB then our right hand thumb is pointing
align:start position:0%B then our right hand thumb is pointing
align:start position:0%B then our right hand thumb is pointingin the perpendicular direction to the
align:start position:0%in the perpendicular direction to the
align:start position:0%in the perpendicular direction to theplane now I could have
align:start position:0%plane now I could have
align:start position:0%plane now I could havechosen a unit Vector down and hat left
align:start position:0%chosen a unit Vector down and hat left
align:start position:0%chosen a unit Vector down and hat lefthand
align:start position:0%hand
align:start position:0%handrule and this would correspond to taking
align:start position:0%rule and this would correspond to taking
align:start position:0%rule and this would correspond to takingmy left hand and having a cross B
align:start position:0%my left hand and having a cross B
align:start position:0%my left hand and having a cross Bpointing down
align:start position:0%pointing down
align:start position:0%pointing downso the way we're going to Define our
align:start position:0%so the way we're going to Define our
align:start position:0%so the way we're going to Define ourcross product is with the right hand
align:start position:0%cross product is with the right hand
align:start position:0%cross product is with the right handrule and so we Define it like this that
align:start position:0%rule and so we Define it like this that
align:start position:0%rule and so we Define it like this thatthe vector
align:start position:0%the vector
align:start position:0%the vectorC has magnitude the magnitude of a Time
align:start position:0%C has magnitude the magnitude of a Time
align:start position:0%C has magnitude the magnitude of a Times of
align:start position:0%s of
align:start position:0%s oftheta the magnitude of B and its
align:start position:0%theta the magnitude of B and its
align:start position:0%theta the magnitude of B and itsdirection is given by the right hand
align:start position:0%direction is given by the right hand
align:start position:0%direction is given by the right handrule now one of the reasons for for this
align:start position:0%rule now one of the reasons for for this
align:start position:0%rule now one of the reasons for for thisdefinition is let's draw a vector
align:start position:0%definition is let's draw a vector
align:start position:0%definition is let's draw a vectora and a vector
align:start position:0%a and a vector
align:start position:0%a and a vectorB when you have two vectors they Define
align:start position:0%B when you have two vectors they Define
align:start position:0%B when you have two vectors they Definea magnitude in the following way that we
align:start position:0%a magnitude in the following way that we
align:start position:0%a magnitude in the following way that wecan think about any two vectors Define
align:start position:0%can think about any two vectors Define
align:start position:0%can think about any two vectors Definean area of a
align:start position:0%an area of a
align:start position:0%an area of aparallelogram and we can Define that
align:start position:0%parallelogram and we can Define that
align:start position:0%parallelogram and we can Define thatarea as follows let's drop a
align:start position:0%area as follows let's drop a
align:start position:0%area as follows let's drop aperpendicular
align:start position:0%perpendicular
align:start position:0%perpendicularand let's call this B
align:start position:0%and let's call this B
align:start position:0%and let's call this Bper then the area which is a positive
align:start position:0%per then the area which is a positive
align:start position:0%per then the area which is a positivequantity is given by and by the way um
align:start position:0%quantity is given by and by the way um
align:start position:0%quantity is given by and by the way umour angle Theta here will be always
align:start position:0%our angle Theta here will be always
align:start position:0%our angle Theta here will be alwayspositive so we're going to make it zero
align:start position:0%positive so we're going to make it zero
align:start position:0%positive so we're going to make it zeroTheta
align:start position:0%Theta
align:start position:0%Thetapi and that way s of theta is always a
align:start position:0%pi and that way s of theta is always a
align:start position:0%pi and that way s of theta is always apositive
align:start position:0%positive
align:start position:0%positivequantity um the area is the height
align:start position:0%quantity um the area is the height
align:start position:0%quantity um the area is the heightso that's B per times the base which is
align:start position:0%so that's B per times the base which is
align:start position:0%so that's B per times the base which isthe magnitude of a and so we can write
align:start position:0%the magnitude of a and so we can write
align:start position:0%the magnitude of a and so we can writethat as
align:start position:0%
align:start position:0% a and b the magnitude of B per is
align:start position:0%a and b the magnitude of B per is
align:start position:0%a and b the magnitude of B per isB sin Theta so this quantity B sin Theta
align:start position:0%B sin Theta so this quantity B sin Theta
align:start position:0%B sin Theta so this quantity B sin Thetais precisely what's occurring there so
align:start position:0%is precisely what's occurring there so
align:start position:0%is precisely what's occurring there sothe magnitude of C is equal to the area
align:start position:0%the magnitude of C is equal to the area
align:start position:0%the magnitude of C is equal to the areaformed by the vectors A and B and we
align:start position:0%formed by the vectors A and B and we
align:start position:0%formed by the vectors A and B and wehave a choice of which way we want to
align:start position:0%have a choice of which way we want to
align:start position:0%have a choice of which way we want topick C to point and that's where we're
align:start position:0%pick C to point and that's where we're
align:start position:0%pick C to point and that's where we'reas a convention we're choosing the right
align:start position:0%as a convention we're choosing the right
align:start position:0%as a convention we're choosing the righthand
align:start position:0%hand
align:start position:0%handrule now again there's a symmetry here
align:start position:0%rule now again there's a symmetry here
align:start position:0%rule now again there's a symmetry herein that I can also Define the area of
align:start position:0%in that I can also Define the area of
align:start position:0%in that I can also Define the area ofthat triangle in the following way let's
align:start position:0%that triangle in the following way let's
align:start position:0%that triangle in the following way let'swrite this the Theta instead of taking
align:start position:0%write this the Theta instead of taking
align:start position:0%write this the Theta instead of takinghow much of B is perpendicular to the
align:start position:0%how much of B is perpendicular to the
align:start position:0%how much of B is perpendicular to thedirection of a let's drop a
align:start position:0%direction of a let's drop a
align:start position:0%direction of a let's drop aperpendicular this way and write that as
align:start position:0%perpendicular this way and write that as
align:start position:0%perpendicular this way and write that asAP per and then the same
align:start position:0%AP per and then the same
align:start position:0%AP per and then the samearea can be
align:start position:0%area can be
align:start position:0%area can beexpressed as the magnitude of well we'll
align:start position:0%expressed as the magnitude of well we'll
align:start position:0%expressed as the magnitude of well we'llexpress it as a
align:start position:0%express it as a
align:start position:0%express it as aper time b and a per is the magnitude of
align:start position:0%per time b and a per is the magnitude of
align:start position:0%per time b and a per is the magnitude ofa sin Theta time the magnitude of B and
align:start position:0%a sin Theta time the magnitude of B and
align:start position:0%a sin Theta time the magnitude of B andthat's our same definition as before and
align:start position:0%that's our same definition as before and
align:start position:0%that's our same definition as before andso you see a sin Theta is appearing over
align:start position:0%so you see a sin Theta is appearing over
align:start position:0%so you see a sin Theta is appearing overhere so in either Choice our Vector
align:start position:0%here so in either Choice our Vector
align:start position:0%here so in either Choice our Vectoroperation says take any two vectors any
align:start position:0%operation says take any two vectors any
align:start position:0%operation says take any two vectors anytwo vectors forms a
align:start position:0%two vectors forms a
align:start position:0%two vectors forms aparallelogram the area of that
align:start position:0%parallelogram the area of that
align:start position:0%parallelogram the area of thatparallelogram is the magnitude of the
align:start position:0%parallelogram is the magnitude of the
align:start position:0%parallelogram is the magnitude of thevector product and the direction of this
align:start position:0%vector product and the direction of this
align:start position:0%vector product and the direction of thisnew Vector
align:start position:0%new Vector
align:start position:0%new VectorC is given by the right hand rule with
align:start position:0%C is given by the right hand rule with
align:start position:0%C is given by the right hand rule withrespect to that
align:start position:0%respect to that
align:start position:0%respect to thatparallelogram in that sense123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387align:start position:0% well one of the main challenges that
align:start position:0%well one of the main challenges that
align:start position:0%well one of the main challenges thatstudents coming into this class are
align:start position:0%students coming into this class are
align:start position:0%students coming into this class arefacing is that for many of them the last
align:start position:0%facing is that for many of them the last
align:start position:0%facing is that for many of them the lasttime they did an experiment in a physics
align:start position:0%time they did an experiment in a physics
align:start position:0%time they did an experiment in a physicsclass may have been a high school class
align:start position:0%class may have been a high school class
align:start position:0%class may have been a high school classwhere the experiments were set up to in
align:start position:0%where the experiments were set up to in
align:start position:0%where the experiments were set up to ina certain sense just work so they could
align:start position:0%a certain sense just work so they could
align:start position:0%a certain sense just work so they couldpush the button and get the data and
align:start position:0%push the button and get the data and
align:start position:0%push the button and get the data andthen learn something about whatever the
align:start position:0%then learn something about whatever the
align:start position:0%then learn something about whatever thethe piece of physics I was being studied
align:start position:0%the piece of physics I was being studied
align:start position:0%the piece of physics I was being studiedwhether it was you know colliding two
align:start position:0%whether it was you know colliding two
align:start position:0%whether it was you know colliding twocarts to learn about conservation of
align:start position:0%carts to learn about conservation of
align:start position:0%carts to learn about conservation ofmomentum or swinging a pendulum to learn
align:start position:0%momentum or swinging a pendulum to learn
align:start position:0%momentum or swinging a pendulum to learnabout harmonic oscillators something
align:start position:0%about harmonic oscillators something
align:start position:0%about harmonic oscillators somethinglike that usually the instructor who
align:start position:0%like that usually the instructor who
align:start position:0%like that usually the instructor whotaught them that experiment set it up in
align:start position:0%taught them that experiment set it up in
align:start position:0%taught them that experiment set it up insuch a way that the experiments were so
align:start position:0%such a way that the experiments were so
align:start position:0%such a way that the experiments were sothemselves were not the challenge it was
align:start position:0%themselves were not the challenge it was
align:start position:0%themselves were not the challenge it waslearning the physics by the time
align:start position:0%learning the physics by the time
align:start position:0%learning the physics by the timestudents get to their third year of the
align:start position:0%students get to their third year of the
align:start position:0%students get to their third year of thephysics major they really know an
align:start position:0%physics major they really know an
align:start position:0%physics major they really know anextraordinary amount of physics and that
align:start position:0%extraordinary amount of physics and that
align:start position:0%extraordinary amount of physics and thatis really a secondary goal of what we're
align:start position:0%is really a secondary goal of what we're
align:start position:0%is really a secondary goal of what we'reteaching here junior lab is really about
align:start position:0%teaching here junior lab is really about
align:start position:0%teaching here junior lab is really aboutthe professional development of the
align:start position:0%the professional development of the
align:start position:0%the professional development of thestudent as a scientist and that means
align:start position:0%student as a scientist and that means
align:start position:0%student as a scientist and that meansthings like approaching a difficult
align:start position:0%things like approaching a difficult
align:start position:0%things like approaching a difficultpiece of apparatus with an attitude that
align:start position:0%piece of apparatus with an attitude that
align:start position:0%piece of apparatus with an attitude thatyou're going to be able to get it done
align:start position:0%you're going to be able to get it done
align:start position:0%you're going to be able to get it doneunderstanding that anything you try is
align:start position:0%understanding that anything you try is
align:start position:0%understanding that anything you try isnot going to work the first time you're
align:start position:0%not going to work the first time you're
align:start position:0%not going to work the first time you'regoing to have to debug it it's about
align:start position:0%going to have to debug it it's about
align:start position:0%going to have to debug it it's aboutkeeping very careful records of what
align:start position:0%keeping very careful records of what
align:start position:0%keeping very careful records of whatyou've done so that when you have to go
align:start position:0%you've done so that when you have to go
align:start position:0%you've done so that when you have to goback and repeat it you can see what
align:start position:0%back and repeat it you can see what
align:start position:0%back and repeat it you can see whatyou've done there's there's a large
align:start position:0%you've done there's there's a large
align:start position:0%you've done there's there's a largenumber of things that sort of add up to
align:start position:0%number of things that sort of add up to
align:start position:0%number of things that sort of add up tothis is the way a professional does it
align:start position:0%this is the way a professional does it
align:start position:0%this is the way a professional does itwhich is different than almost anything
align:start position:0%which is different than almost anything
align:start position:0%which is different than almost anythingthey've done previously in their career
align:start position:0%they've done previously in their career
align:start position:0%they've done previously in their careeras a physics student so one of the great
align:start position:0%as a physics student so one of the great
align:start position:0%as a physics student so one of the greatchallenges is if they think they know
align:start position:0%challenges is if they think they know
align:start position:0%challenges is if they think they knowhow to do experiments they may have
align:start position:0%how to do experiments they may have
align:start position:0%how to do experiments they may havelearned it in a way that was a little
align:start position:0%learned it in a way that was a little
align:start position:0%learned it in a way that was a littlebit more of a novice approach before so
align:start position:0%bit more of a novice approach before so
align:start position:0%bit more of a novice approach before sothere may be some things they have to
align:start position:0%there may be some things they have to
align:start position:0%there may be some things they have tounlearn before even getting started and
align:start position:0%unlearn before even getting started and
align:start position:0%unlearn before even getting started andwe spend about the first month of the
align:start position:0%we spend about the first month of the
align:start position:0%we spend about the first month of theclass working on things like that123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240align:start position:0% okie-dokie so anybody else with a
align:start position:0%okie-dokie so anybody else with a
align:start position:0%okie-dokie so anybody else with aspecific idea
align:start position:0%
align:start position:0% [Music]
align:start position:0%
align:start position:0% all right is that sufficient to remember
align:start position:0%all right is that sufficient to remember
align:start position:0%all right is that sufficient to rememberall right we don't think we need any
align:start position:0%all right we don't think we need any
align:start position:0%all right we don't think we need anymore details on that one that seemed to
align:start position:0%more details on that one that seemed to
align:start position:0%more details on that one that seemed tobe sufficiently exciting for folks
align:start position:0%be sufficiently exciting for folks
align:start position:0%be sufficiently exciting for folksthere's another hand yes
align:start position:0%
align:start position:0% and these are really well scopes for two
align:start position:0%and these are really well scopes for two
align:start position:0%and these are really well scopes for twodays I'm quite impressed alright um
align:start position:0%days I'm quite impressed alright um
align:start position:0%days I'm quite impressed alright umpaint with body and it would be so the
align:start position:0%paint with body and it would be so the
align:start position:0%paint with body and it would be so theright hand is a different color or a
align:start position:0%right hand is a different color or a
align:start position:0%right hand is a different color or adifferent brush and the left hand is a
align:start position:0%different brush and the left hand is a
align:start position:0%different brush and the left hand is adifferent color or a different brush or
align:start position:0%different color or a different brush or
align:start position:0%different color or a different brush orsomething like that okay
align:start position:0%
align:start position:0% all right yeah oh wait
align:start position:0%all right yeah oh wait
align:start position:0%all right yeah oh waitsay well start back there
align:start position:0%
align:start position:0% Oh punky like a Rubik's Cube type thing
align:start position:0%Oh punky like a Rubik's Cube type thing
align:start position:0%Oh punky like a Rubik's Cube type thingright there all right
align:start position:0%
align:start position:0% [Music]
align:start position:0%
align:start position:0% all right then
align:start position:0%
align:start position:0% interaction is alright okay so you so if
align:start position:0%interaction is alright okay so you so if
align:start position:0%interaction is alright okay so you so ifsome indirect control its it's like a
align:start position:0%some indirect control its it's like a
align:start position:0%some indirect control its it's like alike that but like lemming
align:start position:0%
align:start position:0% but you can just rather put it there you
align:start position:0%but you can just rather put it there you
align:start position:0%but you can just rather put it there youhave to find out the way through you the
align:start position:0%have to find out the way through you the
align:start position:0%have to find out the way through you thevisual can you blow into the into the
align:start position:0%visual can you blow into the into the
align:start position:0%visual can you blow into the into thegenetic or something like movie I think
align:start position:0%genetic or something like movie I think
align:start position:0%genetic or something like movie I thinkthe the microphone can detect noise
align:start position:0%the the microphone can detect noise
align:start position:0%the the microphone can detect noiselevels but I don't know if you could
align:start position:0%levels but I don't know if you could
align:start position:0%levels but I don't know if you coulddetect blowing versus just ambient noise
align:start position:0%
align:start position:0% right okay and and the end kind of
align:start position:0%right okay and and the end kind of
align:start position:0%right okay and and the end kind ofmechanic would be to guide them home or
align:start position:0%mechanic would be to guide them home or
align:start position:0%mechanic would be to guide them home orsomething like to guide them into
align:start position:0%something like to guide them into
align:start position:0%something like to guide them intosomeplace okay awesome yeah
align:start position:0%
align:start position:0% that's so sweet
align:start position:0%
align:start position:0% really I felt that one right in my heart
align:start position:0%really I felt that one right in my heart
align:start position:0%really I felt that one right in my heartthat is good all right
align:start position:0%
align:start position:0% [Music]
align:start position:0%
align:start position:0% all right any other fun specific yeah
align:start position:0%
align:start position:0% place that's gonna be a really good
align:start position:0%place that's gonna be a really good
align:start position:0%place that's gonna be a really goodeducational game to put together like in
align:start position:0%educational game to put together like in
align:start position:0%educational game to put together like inorder to learn all the mechanics of
align:start position:0%order to learn all the mechanics of
align:start position:0%order to learn all the mechanics ofwhat's happening inside of the connects
align:start position:0%what's happening inside of the connects
align:start position:0%what's happening inside of the connectsthat's a really nice kind of learning
align:start position:0%that's a really nice kind of learning
align:start position:0%that's a really nice kind of learningproject
align:start position:0%
align:start position:0% right no over there yes okay for this
align:start position:0%right no over there yes okay for this
align:start position:0%right no over there yes okay for thissorry beautiful like that virtual
align:start position:0%sorry beautiful like that virtual
align:start position:0%sorry beautiful like that virtualaquarium so like if you're like the
align:start position:0%aquarium so like if you're like the
align:start position:0%aquarium so like if you're like thescuba diver your anyway your honors with
align:start position:0%scuba diver your anyway your honors with
align:start position:0%scuba diver your anyway your honors withthe fish can I get scared and they walk
align:start position:0%the fish can I get scared and they walk
align:start position:0%the fish can I get scared and they walkaway from you and then they slowly you
align:start position:0%away from you and then they slowly you
align:start position:0%away from you and then they slowly youkind of sneak back then that it
align:start position:0%kind of sneak back then that it
align:start position:0%kind of sneak back then that itbasically like role evolve it cues are
align:start position:0%basically like role evolve it cues are
align:start position:0%basically like role evolve it cues arethe force rounded player right they like
align:start position:0%the force rounded player right they like
align:start position:0%the force rounded player right they likewant to be in a certain configuration
align:start position:0%want to be in a certain configuration
align:start position:0%want to be in a certain configurationbut say you scared yeah right all right
align:start position:0%but say you scared yeah right all right
align:start position:0%but say you scared yeah right all rightokay cool yeah so your tool I like what
align:start position:0%okay cool yeah so your tool I like what
align:start position:0%okay cool yeah so your tool I like whatyou called a virtual aquarium
align:start position:0%
align:start position:0% it's also a good one you're gonna learn
align:start position:0%it's also a good one you're gonna learn
align:start position:0%it's also a good one you're gonna learnabout area effectors and triggers but
align:start position:0%about area effectors and triggers but
align:start position:0%about area effectors and triggers butdoing that and any other I thought I hit
align:start position:0%doing that and any other I thought I hit
align:start position:0%doing that and any other I thought I hitsaw hand but it was just a person do you
align:start position:0%saw hand but it was just a person do you
align:start position:0%saw hand but it was just a person do youwant to make a pitch for your puzzle
align:start position:0%want to make a pitch for your puzzle
align:start position:0%want to make a pitch for your puzzlepuzzle this is to speak with themselves
align:start position:0%
align:start position:0% like valuate so there's a whole region
align:start position:0%like valuate so there's a whole region
align:start position:0%like valuate so there's a whole regionthe puzzle that tries to design a bunch
align:start position:0%the puzzle that tries to design a bunch
align:start position:0%the puzzle that tries to design a bunchof new puzzles and I would wait to you
align:start position:0%of new puzzles and I would wait to you
align:start position:0%of new puzzles and I would wait to youknow learn and infrastructure saw career
align:start position:0%know learn and infrastructure saw career
align:start position:0%know learn and infrastructure saw careerespecially what need quickly build their
align:start position:0%especially what need quickly build their
align:start position:0%especially what need quickly build theirversions of these puzzles and deploy
align:start position:0%versions of these puzzles and deploy
align:start position:0%versions of these puzzles and deploythem across platform and so I'm hoping
align:start position:0%
align:start position:0% mini projects yeah many projects that
align:start position:0%mini projects yeah many projects that
align:start position:0%mini projects yeah many projects thatutilize the Kinect in some small way
align:start position:0%utilize the Kinect in some small way
align:start position:0%utilize the Kinect in some small waythat way when you do your larger project
align:start position:0%that way when you do your larger project
align:start position:0%that way when you do your larger projectyeah once you do your larger project it
align:start position:0%yeah once you do your larger project it
align:start position:0%yeah once you do your larger project itdoesn't have to so it could be a grid
align:start position:0%doesn't have to so it could be a grid
align:start position:0%doesn't have to so it could be a gridpuzzle game that you just moved the
align:start position:0%puzzle game that you just moved the
align:start position:0%puzzle game that you just moved theobject around
align:start position:0%object around
align:start position:0%object aroundThanks so when I think he has a first
align:start position:0%Thanks so when I think he has a first
align:start position:0%Thanks so when I think he has a firstany project is just to try to learn how
align:start position:0%any project is just to try to learn how
align:start position:0%any project is just to try to learn howto put a grid on the screen except that
align:start position:0%to put a grid on the screen except that
align:start position:0%to put a grid on the screen except thatit would move discreetly for once
align:start position:0%it would move discreetly for once
align:start position:0%it would move discreetly for oncealthough the next and I dynamically we
align:start position:0%although the next and I dynamically we
align:start position:0%although the next and I dynamically wewon't be a fancy eventually
align:start position:0%won't be a fancy eventually
align:start position:0%won't be a fancy eventuallyyou have a patient who has already a
align:start position:0%you have a patient who has already a
align:start position:0%you have a patient who has already awoman four months out of the back
align:start position:0%woman four months out of the back
align:start position:0%woman four months out of the backstraight and this way is repositioned
align:start position:0%straight and this way is repositioned
align:start position:0%straight and this way is repositionedand he jumps to a lot of jump
align:start position:0%and he jumps to a lot of jump
align:start position:0%and he jumps to a lot of jumpso the first pass is just to be able to
align:start position:0%so the first pass is just to be able to
align:start position:0%so the first pass is just to be able tocontrol you have a grid or if you like
align:start position:0%control you have a grid or if you like
align:start position:0%control you have a grid or if you likethe grid pull the ball move it around so
align:start position:0%the grid pull the ball move it around so
align:start position:0%the grid pull the ball move it around sothat's simple but simple things
align:start position:0%that's simple but simple things
align:start position:0%that's simple but simple thingssometimes take a lot of time he may be
align:start position:0%sometimes take a lot of time he may be
align:start position:0%sometimes take a lot of time he may besuffering if we get the first into that
align:start position:0%suffering if we get the first into that
align:start position:0%suffering if we get the first into thatthen it was implemented with something
align:start position:0%then it was implemented with something
align:start position:0%then it was implemented with somethingdeep in the past is this an exercise we
align:start position:0%deep in the past is this an exercise we
align:start position:0%deep in the past is this an exercise wejust call target in a very blue the ball
align:start position:0%just call target in a very blue the ball
align:start position:0%just call target in a very blue the ballwould target self and as soon as he hit
align:start position:0%would target self and as soon as he hit
align:start position:0%would target self and as soon as he hitthe target we need to go on to this all
align:start position:0%the target we need to go on to this all
align:start position:0%the target we need to go on to this allthat as the target the target will choke
align:start position:0%that as the target the target will choke
align:start position:0%that as the target the target will chokesomewhere else
align:start position:0%somewhere else
align:start position:0%somewhere elseI made a website that did that it had a
align:start position:0%I made a website that did that it had a
align:start position:0%I made a website that did that it had abutton and every time you clicked it it
align:start position:0%button and every time you clicked it it
align:start position:0%button and every time you clicked it itdidn't do the thing it said it just
align:start position:0%didn't do the thing it said it just
align:start position:0%didn't do the thing it said it justmoved the button it just moved itself so
align:start position:0%moved the button it just moved itself so
align:start position:0%moved the button it just moved itself soI was like submit some submit you put it
align:start position:0%I was like submit some submit you put it
align:start position:0%I was like submit some submit you put itobstacles on the missile itself bathroom
align:start position:0%obstacles on the missile itself bathroom
align:start position:0%obstacles on the missile itself bathroomyou think engage or exactly
align:start position:0%you think engage or exactly
align:start position:0%you think engage or exactlyI did all of the version of the Pacific
align:start position:0%I did all of the version of the Pacific
align:start position:0%I did all of the version of the Pacificulti target where you have the loop and
align:start position:0%ulti target where you have the loop and
align:start position:0%ulti target where you have the loop andthen control them they all move try to
align:start position:0%then control them they all move try to
align:start position:0%then control them they all move try tomove in the same direction unless one of
align:start position:0%move in the same direction unless one of
align:start position:0%move in the same direction unless one ofthem hitting an obstacle or something
align:start position:0%them hitting an obstacle or something
align:start position:0%them hitting an obstacle or somethingany that did obstacles would be moving
align:start position:0%any that did obstacles would be moving
align:start position:0%any that did obstacles would be movingso so you can use the opticals
align:start position:0%so so you can use the opticals
align:start position:0%so so you can use the opticalspreferably that sort of change the
align:start position:0%preferably that sort of change the
align:start position:0%preferably that sort of change therelative positions of the moving segment
align:start position:0%relative positions of the moving segment
align:start position:0%relative positions of the moving segmentand the object game objective is to get
align:start position:0%and the object game objective is to get
align:start position:0%and the object game objective is to getall the moving objects like that argot
align:start position:0%all the moving objects like that argot
align:start position:0%all the moving objects like that argotsimultaneous might be part of itself
align:start position:0%simultaneous might be part of itself
align:start position:0%simultaneous might be part of itselfwould be movables and you try to get all
align:start position:0%would be movables and you try to get all
align:start position:0%would be movables and you try to get allthree simultaneously you want to cool
align:start position:0%three simultaneously you want to cool
align:start position:0%three simultaneously you want to coolthat any other specific mini projects
align:start position:0%that any other specific mini projects
align:start position:0%that any other specific mini projectsjust your base things
align:start position:0%just your base things
align:start position:0%just your base thingsoh yeah
align:start position:0%oh yeah
align:start position:0%oh yeah[Music]
align:start position:0%[Music]
align:start position:0%[Music]oops a what just like leave me alone
align:start position:0%
align:start position:0% yeah a little gesture right there like
align:start position:0%yeah a little gesture right there like
align:start position:0%yeah a little gesture right there likehug you I know I want to make a comedic
align:start position:0%hug you I know I want to make a comedic
align:start position:0%hug you I know I want to make a comedic- about it but I I'm too uncomfortable
align:start position:0%- about it but I I'm too uncomfortable
align:start position:0%- about it but I I'm too uncomfortableso I'm like no I think it's very funny
align:start position:0%so I'm like no I think it's very funny
align:start position:0%so I'm like no I think it's very funnyand I think a lot of people will
align:start position:0%and I think a lot of people will
align:start position:0%and I think a lot of people willidentify brave very much with it um I
align:start position:0%identify brave very much with it um I
align:start position:0%identify brave very much with it um Idon't know how to describe that the get
align:start position:0%don't know how to describe that the get
align:start position:0%don't know how to describe that the getaway game the the loaners dilemma shoo
align:start position:0%
align:start position:0% push away
align:start position:0%
align:start position:0% yeah let me call it push away affection
align:start position:0%yeah let me call it push away affection
align:start position:0%yeah let me call it push away affectionalthough that may be too too strong of a
align:start position:0%although that may be too too strong of a
align:start position:0%although that may be too too strong of atitle for it but right it is it is good
align:start position:0%title for it but right it is it is good
align:start position:0%title for it but right it is it is goodso there is there's some implicit stuff
align:start position:0%so there is there's some implicit stuff
align:start position:0%so there is there's some implicit stuffthat has happened here which is some of
align:start position:0%that has happened here which is some of
align:start position:0%that has happened here which is some ofyou are starting to think about the
align:start position:0%you are starting to think about the
align:start position:0%you are starting to think about themechanic the interaction mechanic so
align:start position:0%mechanic the interaction mechanic so
align:start position:0%mechanic the interaction mechanic soyou're thinking about the connect in a
align:start position:0%you're thinking about the connect in a
align:start position:0%you're thinking about the connect in akind of a nice way which is you can map
align:start position:0%kind of a nice way which is you can map
align:start position:0%kind of a nice way which is you can mapsome type of movement on to an
align:start position:0%some type of movement on to an
align:start position:0%some type of movement on to aninteraction with the game so you can
align:start position:0%interaction with the game so you can
align:start position:0%interaction with the game so you canthink a really simple mechanic which is
align:start position:0%think a really simple mechanic which is
align:start position:0%think a really simple mechanic which islike grab move it's exactly like a mouse
align:start position:0%like grab move it's exactly like a mouse
align:start position:0%like grab move it's exactly like a mouseand everything is perfectly fine and my
align:start position:0%and everything is perfectly fine and my
align:start position:0%and everything is perfectly fine and mymind knows how to do that because I use
align:start position:0%mind knows how to do that because I use
align:start position:0%mind knows how to do that because I usemice all day but with the Kinect you can
align:start position:0%mice all day but with the Kinect you can
align:start position:0%mice all day but with the Kinect you cando these things like this means like get
align:start position:0%do these things like this means like get
align:start position:0%do these things like this means like getaway from me whereas this means like
align:start position:0%away from me whereas this means like
align:start position:0%away from me whereas this means likealright come in for a hug and you can
align:start position:0%alright come in for a hug and you can
align:start position:0%alright come in for a hug and you canstart thinking about very different
align:start position:0%start thinking about very different
align:start position:0%start thinking about very differentinteraction mechanics and there was
align:start position:0%interaction mechanics and there was
align:start position:0%interaction mechanics and there wassomething similar here where just any
align:start position:0%something similar here where just any
align:start position:0%something similar here where just anytype of wiggle is like you know scare
align:start position:0%type of wiggle is like you know scare
align:start position:0%type of wiggle is like you know scarethe fish which is not something you
align:start position:0%the fish which is not something you
align:start position:0%the fish which is not something younormally think about when you're
align:start position:0%normally think about when you're
align:start position:0%normally think about when you'rethinking of building a video game but
align:start position:0%thinking of building a video game but
align:start position:0%thinking of building a video game butwhen you have the Kinect you can
align:start position:0%when you have the Kinect you can
align:start position:0%when you have the Kinect you canactually think about these new
align:start position:0%actually think about these new
align:start position:0%actually think about these newinteraction models it does with 70%
align:start position:0%interaction models it does with 70%
align:start position:0%interaction models it does with 70%accuracy most of the time yeah yes so
align:start position:0%accuracy most of the time yeah yes so
align:start position:0%accuracy most of the time yeah yes sothere was are you guys saving the there
align:start position:0%there was are you guys saving the there
align:start position:0%there was are you guys saving the therewas like I'm making a tree grow game is
align:start position:0%was like I'm making a tree grow game is
align:start position:0%was like I'm making a tree grow game isthat are you saving that for the large
align:start position:0%that are you saving that for the large
align:start position:0%that are you saving that for the largeprojects yeah all right sorry never mind
align:start position:0%projects yeah all right sorry never mind
align:start position:0%projects yeah all right sorry never mindright forget that I said that all right
align:start position:0%right forget that I said that all right
align:start position:0%right forget that I said that all rightany other fun things that's different
align:start position:0%any other fun things that's different
align:start position:0%any other fun things that's differentyeah
align:start position:0%
align:start position:0% falling off but instead of controlling
align:start position:0%falling off but instead of controlling
align:start position:0%falling off but instead of controllingthe ball you are going to push the ball
align:start position:0%the ball you are going to push the ball
align:start position:0%the ball you are going to push the ballmm-hmm by using force yeah yes platform
align:start position:0%mm-hmm by using force yeah yes platform
align:start position:0%mm-hmm by using force yeah yes platform[Music]
align:start position:0%
align:start position:0% so you're like the god of wind and you
align:start position:0%so you're like the god of wind and you
align:start position:0%so you're like the god of wind and youcan like push a gust and it rolls a
align:start position:0%can like push a gust and it rolls a
align:start position:0%can like push a gust and it rolls alittle bit in that direction you have to
align:start position:0%little bit in that direction you have to
align:start position:0%little bit in that direction you have toredirect it
align:start position:0%
align:start position:0% [Music]
align:start position:0%[Music]
align:start position:0%[Music]awesome this is pretty good we have
align:start position:0%awesome this is pretty good we have
align:start position:0%awesome this is pretty good we havespace for one two three four five more
align:start position:0%space for one two three four five more
align:start position:0%space for one two three four five moreand they don't have to happen so if you
align:start position:0%and they don't have to happen so if you
align:start position:0%and they don't have to happen so if youhave ideas and they don't happen no
align:start position:0%have ideas and they don't happen no
align:start position:0%have ideas and they don't happen noproblem
align:start position:0%
align:start position:0% Totoro who like roses tree so he brings
align:start position:0%Totoro who like roses tree so he brings
align:start position:0%Totoro who like roses tree so he bringsall this friends with the two girls
align:start position:0%
align:start position:0% all true they're going to take huge tree
align:start position:0%all true they're going to take huge tree
align:start position:0%all true they're going to take huge treeso it's sort of like another form of
align:start position:0%so it's sort of like another form of
align:start position:0%so it's sort of like another form ofstorytelling
align:start position:0%storytelling
align:start position:0%storytelling[Music]
align:start position:0%[Music]
align:start position:0%[Music]you're growing up in a different state
align:start position:0%you're growing up in a different state
align:start position:0%you're growing up in a different stateso maybe this base would be as you're
align:start position:0%so maybe this base would be as you're
align:start position:0%so maybe this base would be as you'redoing like what you reference with was
align:start position:0%doing like what you reference with was
align:start position:0%doing like what you reference with wastheir query on to it when you're maybe a
align:start position:0%their query on to it when you're maybe a
align:start position:0%their query on to it when you're maybe alittle Chester so anytime you're like
align:start position:0%little Chester so anytime you're like
align:start position:0%little Chester so anytime you're likehands are together and near and near
align:start position:0%hands are together and near and near
align:start position:0%hands are together and near and nearyour head or something like that nice
align:start position:0%your head or something like that nice
align:start position:0%your head or something like that nicelike to throw a speller I had just some
align:start position:0%like to throw a speller I had just some
align:start position:0%like to throw a speller I had just someguessing by okay alright yeah so this is
align:start position:0%guessing by okay alright yeah so this is
align:start position:0%guessing by okay alright yeah so this isa really good gesture that can be easily
align:start position:0%a really good gesture that can be easily
align:start position:0%a really good gesture that can be easilydefined which is hands come near each
align:start position:0%defined which is hands come near each
align:start position:0%defined which is hands come near eachother they come near the head a certain
align:start position:0%other they come near the head a certain
align:start position:0%other they come near the head a certaindistance and then all three drop down so
align:start position:0%distance and then all three drop down so
align:start position:0%distance and then all three drop down soyou're gonna have to have somebody on
align:start position:0%you're gonna have to have somebody on
align:start position:0%you're gonna have to have somebody onyour team we can like program to
align:start position:0%your team we can like program to
align:start position:0%your team we can like program torecognize a gesture but you have support
align:start position:0%recognize a gesture but you have support
align:start position:0%recognize a gesture but you have supportand we can help you get that but yeah I
align:start position:0%and we can help you get that but yeah I
align:start position:0%and we can help you get that but yeah Ilike this a tree growing one and you
align:start position:0%like this a tree growing one and you
align:start position:0%like this a tree growing one and youcould to start in the next two days you
align:start position:0%could to start in the next two days you
align:start position:0%could to start in the next two days youcould just have gesture recognized and
align:start position:0%could just have gesture recognized and
align:start position:0%could just have gesture recognized andthen have something grow and that's kind
align:start position:0%then have something grow and that's kind
align:start position:0%then have something grow and that's kindof like the extent of what you do in two
align:start position:0%of like the extent of what you do in two
align:start position:0%of like the extent of what you do in twodays it just keeps growing or as long as
align:start position:0%days it just keeps growing or as long as
align:start position:0%days it just keeps growing or as long asyou're holding it it grows or that's a
align:start position:0%you're holding it it grows or that's a
align:start position:0%you're holding it it grows or that's areally well scoped kind of for our thing
align:start position:0%really well scoped kind of for our thing
align:start position:0%really well scoped kind of for our thingto try to do with the team yeah
align:start position:0%
align:start position:0% [Music]
align:start position:0%
align:start position:0% like water so then you can see how with
align:start position:0%like water so then you can see how with
align:start position:0%like water so then you can see how withwhich way water through
align:start position:0%which way water through
align:start position:0%which way water throughnice and tear for me
align:start position:0%
align:start position:0% [Music]
align:start position:0%
align:start position:0% cool don't know if I'll use that space
align:start position:0%cool don't know if I'll use that space
align:start position:0%cool don't know if I'll use that spacethey've left today I'm gonna throw an
align:start position:0%they've left today I'm gonna throw an
align:start position:0%they've left today I'm gonna throw anout which would no no that would be
align:start position:0%out which would no no that would be
align:start position:0%out which would no no that would benevermind I'm not gonna say that it
align:start position:0%nevermind I'm not gonna say that it
align:start position:0%nevermind I'm not gonna say that itwould be way too complicated no forget
align:start position:0%would be way too complicated no forget
align:start position:0%would be way too complicated no forgetthat
align:start position:0%that
align:start position:0%thatmy brain is usually too confused too
align:start position:0%
align:start position:0% like like if you jump like that very
align:start position:0%like like if you jump like that very
align:start position:0%like like if you jump like that verywell so long enough to bridge the bridge
align:start position:0%
align:start position:0% each block lets you touch it we just
align:start position:0%each block lets you touch it we just
align:start position:0%each block lets you touch it we justpull it out of it I see so it's kind of
align:start position:0%pull it out of it I see so it's kind of
align:start position:0%pull it out of it I see so it's kind oflike scrolling at you and you have to
align:start position:0%like scrolling at you and you have to
align:start position:0%like scrolling at you and you have tolike jump across the bridge all right
align:start position:0%
align:start position:0% I don't know why I wrote the word
align:start position:0%I don't know why I wrote the word
align:start position:0%I don't know why I wrote the wordadventure but I did how I'm gonna draw a
align:start position:0%adventure but I did how I'm gonna draw a
align:start position:0%adventure but I did how I'm gonna draw alittle foot a little person's foot
align:start position:0%
align:start position:0% that's a person and here's
align:start position:0%
align:start position:0% I don't know if that's something like
align:start position:0%I don't know if that's something like
align:start position:0%I don't know if that's something likethat all right all right - two more
align:start position:0%that all right all right - two more
align:start position:0%that all right all right - two more[Music]
align:start position:0%[Music]
align:start position:0%[Music]it's for my OCD I don't want to leave
align:start position:0%it's for my OCD I don't want to leave
align:start position:0%it's for my OCD I don't want to leavepart of the board left uncovered it's
align:start position:0%part of the board left uncovered it's
align:start position:0%part of the board left uncovered it'snot necessary but it would make me so
align:start position:0%not necessary but it would make me so
align:start position:0%not necessary but it would make me sohappy inside
align:start position:0%
align:start position:0% what's other cool things that people do
align:start position:0%what's other cool things that people do
align:start position:0%what's other cool things that people dofood or
align:start position:0%
align:start position:0% you can also try to change the direction
align:start position:0%
align:start position:0% so the actual bullying that we do we're
align:start position:0%so the actual bullying that we do we're
align:start position:0%so the actual bullying that we do we'relike yeah come on that's really good
align:start position:0%like yeah come on that's really good
align:start position:0%like yeah come on that's really goodthat's you're capturing a very intuitive
align:start position:0%that's you're capturing a very intuitive
align:start position:0%that's you're capturing a very intuitiveinteraction there which is you roll it
align:start position:0%interaction there which is you roll it
align:start position:0%interaction there which is you roll ityou go come on okay so we're gonna call
align:start position:0%you go come on okay so we're gonna call
align:start position:0%you go come on okay so we're gonna callit real bullying should I bully nice and
align:start position:0%it real bullying should I bully nice and
align:start position:0%it real bullying should I bully nice andthen you're gonna have like little mice
align:start position:0%then you're gonna have like little mice
align:start position:0%then you're gonna have like little micerun out across because you're a leg
align:start position:0%run out across because you're a leg
align:start position:0%run out across because you're a legattorney and you're like no no don't hit
align:start position:0%attorney and you're like no no don't hit
align:start position:0%attorney and you're like no no don't hitthe mouse and then there is another hand
align:start position:0%
align:start position:0% that's not good enough but
align:start position:0%that's not good enough but
align:start position:0%that's not good enough butoh man if you for the I would love if
align:start position:0%oh man if you for the I would love if
align:start position:0%oh man if you for the I would love ifsomebody tried that for the mini project
align:start position:0%somebody tried that for the mini project
align:start position:0%somebody tried that for the mini projectand then if it went fairly well did that
align:start position:0%and then if it went fairly well did that
align:start position:0%and then if it went fairly well did thatfor the main project and then I could
align:start position:0%for the main project and then I could
align:start position:0%for the main project and then I couldtell a really good story about how this
align:start position:0%tell a really good story about how this
align:start position:0%tell a really good story about how thisclass led to the thing that we built
align:start position:0%class led to the thing that we built
align:start position:0%class led to the thing that we builtthis class for which was to do something
align:start position:0%this class for which was to do something
align:start position:0%this class for which was to do somethingthat's kind of an interactive science e
align:start position:0%that's kind of an interactive science e
align:start position:0%that's kind of an interactive science edemo and yeah and would also feed into
align:start position:0%demo and yeah and would also feed into
align:start position:0%demo and yeah and would also feed intoour pitch to make a VR cave inside of
align:start position:0%our pitch to make a VR cave inside of
align:start position:0%our pitch to make a VR cave inside ofthe university so there's you you nailed
align:start position:0%the university so there's you you nailed
align:start position:0%the university so there's you you nailedit you were holding that one for last
align:start position:0%it you were holding that one for last
align:start position:0%it you were holding that one for lastand I appreciate it
align:start position:0%
align:start position:0% so it'll be something so it doesn't do
align:start position:0%so it'll be something so it doesn't do
align:start position:0%so it'll be something so it doesn't doso well on like fingers but it'll be
align:start position:0%so well on like fingers but it'll be
align:start position:0%so well on like fingers but it'll besomething where you can like move like
align:start position:0%something where you can like move like
align:start position:0%something where you can like move likeit'd be like as if you're in a ball pit
align:start position:0%it'd be like as if you're in a ball pit
align:start position:0%it'd be like as if you're in a ball pitbut the balls are all kind of like
align:start position:0%but the balls are all kind of like
align:start position:0%but the balls are all kind of likemagnetic and you can like move them with
align:start position:0%magnetic and you can like move them with
align:start position:0%magnetic and you can like move them withyour body but and and maybe somewhat
align:start position:0%your body but and and maybe somewhat
align:start position:0%your body but and and maybe somewhatvery related to the fish thing so just a
align:start position:0%very related to the fish thing so just a
align:start position:0%very related to the fish thing so just adifferent physics that's generally
align:start position:0%different physics that's generally
align:start position:0%different physics that's generallythat's governing the kind of flocking of
align:start position:0%that's governing the kind of flocking of
align:start position:0%that's governing the kind of flocking ofthese objects that are around your body
align:start position:0%
align:start position:0% okay cool anybody feel like they had one
align:start position:0%okay cool anybody feel like they had one
align:start position:0%okay cool anybody feel like they had onein and they were too shy to say it but
align:start position:0%in and they were too shy to say it but
align:start position:0%in and they were too shy to say it butnow they feel like they should because
align:start position:0%now they feel like they should because
align:start position:0%now they feel like they should becauseyou can think you give like 3d rotations
align:start position:0%you can think you give like 3d rotations
align:start position:0%you can think you give like 3d rotationsof multi Southeast
align:start position:0%
align:start position:0% like together they all work together so
align:start position:0%like together they all work together so
align:start position:0%like together they all work together sothe idea would be to just sew the gate
align:start position:0%the idea would be to just sew the gate
align:start position:0%the idea would be to just sew the gateyou know the mini-game could be you've
align:start position:0%you know the mini-game could be you've
align:start position:0%you know the mini-game could be you'vegot a piece that you have to a target
align:start position:0%got a piece that you have to a target
align:start position:0%got a piece that you have to a targetorientation the orientation hey that is
align:start position:0%orientation the orientation hey that is
align:start position:0%orientation the orientation hey that isgood and there was another one over here
align:start position:0%good and there was another one over here
align:start position:0%good and there was another one over herewhich would have a similar bottom left
align:start position:0%which would have a similar bottom left
align:start position:0%which would have a similar bottom leftpuzzle box puzzle box yes right so this
align:start position:0%puzzle box puzzle box yes right so this
align:start position:0%puzzle box puzzle box yes right so thisone was something like you have a box
align:start position:0%one was something like you have a box
align:start position:0%one was something like you have a boxand you move it and you can rotate it in
align:start position:0%and you move it and you can rotate it in
align:start position:0%and you move it and you can rotate it insome meaningful way and then this one
align:start position:0%some meaningful way and then this one
align:start position:0%some meaningful way and then this oneallows you to do some interaction so
align:start position:0%allows you to do some interaction so
align:start position:0%allows you to do some interaction somaybe you're like painting the sides of
align:start position:0%maybe you're like painting the sides of
align:start position:0%maybe you're like painting the sides ofof a ceramic VAT walls or something but
align:start position:0%of a ceramic VAT walls or something but
align:start position:0%of a ceramic VAT walls or something butyeah so these two would have very
align:start position:0%yeah so these two would have very
align:start position:0%yeah so these two would have verysimilar mechanics all right so the next
align:start position:0%similar mechanics all right so the next
align:start position:0%similar mechanics all right so the nextthing is you're all going to stand up
align:start position:0%thing is you're all going to stand up
align:start position:0%thing is you're all going to stand upand how do we is this gonna work with
align:start position:0%and how do we is this gonna work with
align:start position:0%and how do we is this gonna work withthis many people yeah we're gonna
align:start position:0%this many people yeah we're gonna
align:start position:0%this many people yeah we're gonnaexplore so you're gonna stand up and
align:start position:0%explore so you're gonna stand up and
align:start position:0%explore so you're gonna stand up andyou're gonna come up here and make a
align:start position:0%you're gonna come up here and make a
align:start position:0%you're gonna come up here and make avote for the ones how do you want to
align:start position:0%vote for the ones how do you want to
align:start position:0%vote for the ones how do you want topicture that yeah let me get out of the
align:start position:0%picture that yeah let me get out of the
align:start position:0%picture that yeah let me get out of theway I think there's about 10,000 sales
align:start position:0%way I think there's about 10,000 sales
align:start position:0%way I think there's about 10,000 salesthere okay yeah so come up and do a vote
align:start position:0%there okay yeah so come up and do a vote
align:start position:0%there okay yeah so come up and do a voteso if you are interested in doing it
align:start position:0%so if you are interested in doing it
align:start position:0%so if you are interested in doing itkind of oh say you want that was a new
align:start position:0%kind of oh say you want that was a new
align:start position:0%kind of oh say you want that was a newReagan I'm come up and just put a check
align:start position:0%Reagan I'm come up and just put a check
align:start position:0%Reagan I'm come up and just put a checkbox a little check mark which is like
align:start position:0%box a little check mark which is like
align:start position:0%box a little check mark which is likeI'm interested in this thing and this is
align:start position:0%I'm interested in this thing and this is
align:start position:0%I'm interested in this thing and this isgonna help us self organize in some way
align:start position:0%gonna help us self organize in some way
align:start position:0%gonna help us self organize in some wayand we can narrow this down to how many
align:start position:0%and we can narrow this down to how many
align:start position:0%and we can narrow this down to how manypeople are in this room 3 6 9 12 maybe
align:start position:0%people are in this room 3 6 9 12 maybe
align:start position:0%people are in this room 3 6 9 12 maybe
align:start position:0%
align:start position:0%and yeah so getting this down to like
align:start position:0%and yeah so getting this down to like
align:start position:0%and yeah so getting this down to likeeight to nine project so you're gonna
align:start position:0%eight to nine project so you're gonna
align:start position:0%eight to nine project so you're gonnawant to be in a team of three but I
align:start position:0%want to be in a team of three but I
align:start position:0%want to be in a team of three but Idon't want you instantly to go like I
align:start position:0%don't want you instantly to go like I
align:start position:0%don't want you instantly to go like Ialready kind of know somebody so I'm
align:start position:0%already kind of know somebody so I'm
align:start position:0%already kind of know somebody so I'mgonna be in their team no matter what
align:start position:0%gonna be in their team no matter what
align:start position:0%gonna be in their team no matter whattry on the mini project and then I won't
align:start position:0%try on the mini project and then I won't
align:start position:0%try on the mini project and then I won'tmake you do it on the big project to go
align:start position:0%make you do it on the big project to go
align:start position:0%make you do it on the big project to gobased on your interest and maybe
align:start position:0%based on your interest and maybe
align:start position:0%based on your interest and maybecollaborate with people that you have
align:start position:0%collaborate with people that you have
align:start position:0%collaborate with people that you havenever talked to and and it'll only be
align:start position:0%never talked to and and it'll only be
align:start position:0%never talked to and and it'll only betwo days so it's at worse gonna be two
align:start position:0%two days so it's at worse gonna be two
align:start position:0%two days so it's at worse gonna be twodays where you get to sit and play with
align:start position:0%days where you get to sit and play with
align:start position:0%days where you get to sit and play withunity and not talk to people that you
align:start position:0%unity and not talk to people that you
align:start position:0%unity and not talk to people that youdon't want to talk to and so this is the
align:start position:0%don't want to talk to and so this is the
align:start position:0%don't want to talk to and so this is thetime to do that experiment and you might
align:start position:0%time to do that experiment and you might
align:start position:0%time to do that experiment and you mightmake a new friend who knows yeah so
align:start position:0%make a new friend who knows yeah so
align:start position:0%make a new friend who knows yeah soeither okay you can either come up and
align:start position:0%either okay you can either come up and
align:start position:0%either okay you can either come up anddo the checkbox thing or like find some
align:start position:0%do the checkbox thing or like find some
align:start position:0%do the checkbox thing or like find someway to self-organize around which
align:start position:0%way to self-organize around which
align:start position:0%way to self-organize around whichproject you want to do and i know that
align:start position:0%project you want to do and i know that
align:start position:0%project you want to do and i know thatthis will be chaos for like 15 to 20
align:start position:0%this will be chaos for like 15 to 20
align:start position:0%this will be chaos for like 15 to 20minutes and then once you organize
align:start position:0%minutes and then once you organize
align:start position:0%minutes and then once you organizearound a project that you want to do
align:start position:0%around a project that you want to do
align:start position:0%around a project that you want to dostart well no no for 15 or 20 minutes
align:start position:0%start well no no for 15 or 20 minutes
align:start position:0%start well no no for 15 or 20 minutestry to figure out who you want to work
align:start position:0%try to figure out who you want to work
align:start position:0%try to figure out who you want to workwith on which projects and then we'll
align:start position:0%with on which projects and then we'll
align:start position:0%with on which projects and then we'llcome together and you'll start to refine
align:start position:0%come together and you'll start to refine
align:start position:0%come together and you'll start to refineit it doesn't have to be the exact
align:start position:0%it it doesn't have to be the exact
align:start position:0%it it doesn't have to be the exactvision of the person who wrote it on the
align:start position:0%vision of the person who wrote it on the
align:start position:0%vision of the person who wrote it on theboard but there's something about one of
align:start position:0%board but there's something about one of
align:start position:0%board but there's something about one ofthese projects that interest you maybe
align:start position:0%these projects that interest you maybe
align:start position:0%these projects that interest you maybeit's you want to know how to do the you
align:start position:0%it's you want to know how to do the you
align:start position:0%it's you want to know how to do the youknow hand hand rotation or arm rotation
align:start position:0%know hand hand rotation or arm rotation
align:start position:0%know hand hand rotation or arm rotationtype thing maybe it's that you want to
align:start position:0%type thing maybe it's that you want to
align:start position:0%type thing maybe it's that you want tounderstand how just to detect this thing
align:start position:0%understand how just to detect this thing
align:start position:0%understand how just to detect this thingand do flocking algorithm so objects
align:start position:0%and do flocking algorithm so objects
align:start position:0%and do flocking algorithm so objectswill move in a certain way so figure out
align:start position:0%will move in a certain way so figure out
align:start position:0%will move in a certain way so figure outsomething about one of these that
align:start position:0%something about one of these that
align:start position:0%something about one of these thatinterests you go find the other people
align:start position:0%interests you go find the other people
align:start position:0%interests you go find the other peoplewho are interested in it by some method
align:start position:0%who are interested in it by some method
align:start position:0%who are interested in it by some methodand talk to them and see if it seems
align:start position:0%and talk to them and see if it seems
align:start position:0%and talk to them and see if it seemslike a good fits or if they have because
align:start position:0%like a good fits or if they have because
align:start position:0%like a good fits or if they have becauseyou may come up and somebody's like I
align:start position:0%you may come up and somebody's like I
align:start position:0%you may come up and somebody's like Ilove fish and somebody else like I want
align:start position:0%love fish and somebody else like I want
align:start position:0%love fish and somebody else like I wantto detect motion like this and you
align:start position:0%to detect motion like this and you
align:start position:0%to detect motion like this and youdecide not to work together because one
align:start position:0%decide not to work together because one
align:start position:0%decide not to work together because oneof you really just wants to build fish
align:start position:0%of you really just wants to build fish
align:start position:0%of you really just wants to build fishthen the other one just wants to do body
align:start position:0%then the other one just wants to do body
align:start position:0%then the other one just wants to do bodymotion and yeah so that's try to do
align:start position:0%motion and yeah so that's try to do
align:start position:0%motion and yeah so that's try to dosomething I like this chaos
align:start position:0%something I like this chaos
align:start position:0%something I like this chaosdo the name game again or like do
align:start position:0%do the name game again or like do
align:start position:0%do the name game again or like dosomething to make us more extroverted or
align:start position:0%something to make us more extroverted or
align:start position:0%something to make us more extroverted orare we feeling confident okay
align:start position:0%are we feeling confident okay
align:start position:0%are we feeling confident okayon the count of three you say a number
align:start position:0%on the count of three you say a number
align:start position:0%on the count of three you say a numberbetween 0 and 10 which represents how
align:start position:0%between 0 and 10 which represents how
align:start position:0%between 0 and 10 which represents howintroverted and shy you feel right now
align:start position:0%introverted and shy you feel right now
align:start position:0%introverted and shy you feel right nowso I'm sorry but 10 being like I am so
align:start position:0%so I'm sorry but 10 being like I am so
align:start position:0%so I'm sorry but 10 being like I am soready to oh yeah right you're right that
align:start position:0%ready to oh yeah right you're right that
align:start position:0%ready to oh yeah right you're right thatwould be an inverse all right so 10 10
align:start position:0%would be an inverse all right so 10 10
align:start position:0%would be an inverse all right so 10 10means I'm just gonna stand up and go hug
align:start position:0%means I'm just gonna stand up and go hug
align:start position:0%means I'm just gonna stand up and go huga stranger right now and 0 being I am I
align:start position:0%a stranger right now and 0 being I am I
align:start position:0%a stranger right now and 0 being I am Iam just so terrified to stand up and
align:start position:0%am just so terrified to stand up and
align:start position:0%am just so terrified to stand up andtalk to somebody right now not even the
align:start position:0%talk to somebody right now not even the
align:start position:0%talk to somebody right now not even thepeople I know do I want to talk to you
align:start position:0%people I know do I want to talk to you
align:start position:0%people I know do I want to talk to youso yes so 10 being super extroverted 0
align:start position:0%so yes so 10 being super extroverted 0
align:start position:0%so yes so 10 being super extroverted 0being super introverted 1 2 3 7 sorry
align:start position:0%being super introverted 1 2 3 7 sorry
align:start position:0%being super introverted 1 2 3 7 sorryit's so 5 to 4 all right we're gonna try
align:start position:0%it's so 5 to 4 all right we're gonna try
align:start position:0%it's so 5 to 4 all right we're gonna tryto get that to a 7 and then we're going
align:start position:0%to get that to a 7 and then we're going
align:start position:0%to get that to a 7 and then we're goingto have you get up and talk to strangers
align:start position:0%to have you get up and talk to strangers
align:start position:0%to have you get up and talk to strangersso how about we close our computers now
align:start position:0%so how about we close our computers now
align:start position:0%so how about we close our computers nowand I'm going to do a I'm gonna walk you
align:start position:0%and I'm going to do a I'm gonna walk you
align:start position:0%and I'm going to do a I'm gonna walk youguys through and then do a big circle
align:start position:0%guys through and then do a big circle
align:start position:0%guys through and then do a big circlearound the room and we're gonna do an
align:start position:0%around the room and we're gonna do an
align:start position:0%around the room and we're gonna do animprov game to make ourselves feel a
align:start position:0%improv game to make ourselves feel a
align:start position:0%improv game to make ourselves feel alittle more extroverted and it'll be
align:start position:0%little more extroverted and it'll be
align:start position:0%little more extroverted and it'll besuper fun I promise so close your
align:start position:0%super fun I promise so close your
align:start position:0%super fun I promise so close yourcomputers move the tables to the center
align:start position:0%computers move the tables to the center
align:start position:0%computers move the tables to the centerof the room make a big circle around the
align:start position:0%of the room make a big circle around the
align:start position:0%of the room make a big circle around theroom12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276ANNOUNCER: The following contentis provided under a
creative commons license.
Your support will help MIT OpenCourseware 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: Last few lectures,and we started to see some of
the consequences and lookedat simple changes,
transformations of expansionand mixtures
of liquids and gases.
And saw how in the framework ofstatistical mechanics, we
could derive the thermodynamicresults that you saw before,
based on an empiricalframework.
On the thermodynamic frameworkwe've been
working with all term.
But you saw them derived froma microscopic perspective.
Now what I want to do is moveto examples that are more
commonly encounteredin chemistry.
One that we did last timeactually was very common, or
is at least a prototypefor something common.
That is we looked at what wouldbe a simple model for a
polymer with differentconfigurations
available to it.
And just tried to understandwhat the basic thermodynamics
is that it would exhibit.
What the heat capacities wouldbe in various limiting cases.
High and low temperature.
I want to continue that today.
But for an even morecommon case.
So the model that I want to layout is indicated on your
notes for today.
And essentially, youcould look at it as
double stranded DNA.
Any kind of polymer witha whole variety of
configurations.
Ultimately what's going tomatter is what is the set of
energy levels availableto the system.
And so here's whatit looks like.
The way I've triedto depict it.
I'm imagining something like,covalently bonded chains that
have links between them.
So of course, it's reminiscentof DNA with hydrogen bonding
between the strands.
And the idea in this simplemodel is that you can have
various numbers of thesehydrogen bonds.
So this is the case thatwould be the most
energetically stable.
That is, all the availablehydrogen bonds are formed
between neighboring pairs.
So this would be ourlowest energy.
Now let's starts breakingsome hydrogen bonds.
And what I'm imagining is theybreak starting at one end and
working their way down.
So the next highest energystate would be like this.
So now these are stillhydrogen bonded.
This is not.
And there's a cost inenergy for breaking
that hydrogen bond.
We'll call it epsilon zero.
It's a positive number.
So that this is higherenergy than this.
And now we'll go to the nextone, which could have two
broken bonds.
Broken hydrogen bonds.
And so on.
And if we imagine that this isvery long, there may be many
many, members of the chain.
Then of course this sequenceof structures with
corresponding energies mightgo on for a very long way.
So this is a simple constructionthat gives us a
set of states with distinctenergies.
And so we have a series ofconfigurational energy levels.
They're evenly spacedin this model.
So there's zero, Ezero, two E zero.
And so on.
So those are availableenergy states.
And now, just based on thatsimple model, we should be
able to figure out allthe thermodynamics.
We should should be ableto figure out what the
equilibrium energy is at aparticular temperature.
What the average energy is.
And so forth.
And we can do it in astraightforward way.
So we'll start with ourmolecular partition
function, as always.
So it's q configurational.
And it's just a sum over ouravailable states with their
associated Boltzmann factors.
So sum over n of e to theminus En over kT.
Now the way I've modeled this,there are no degeneracies.
Each energy level has just onemicroscopic state of the
molecule corresponding to it.
So there are no moleculardegeneracies.
Turns out we'll be able to putthis into a simple form.
So the first thing is, let'sapproximate that we could take
the sum -- not to some finitelevel, which would be the case
if there's a finite numberof elements in the chain.
But all the way throughinfinity.
And the idea here isthe following.
We'll assume that thechain at least has
a great many members.
Even if it's finite.
And then at some point, thisbecomes a really small number.
Even if epsilon naught, theenergy of one of the bonds, is
less than kT.
Once we multiply it by a verylarge number n, it becomes
very much greater than kT.
So the underlying assumptionhere is, well there will not
be a significant number ofmolecules in the highest
energy state anyway.
In other words, the terms higherthan a finite but large
value of n between there andinfinity are going to be so
small that those terms willcontribute negligibly to the
sum anyway.
And on that basis, we couldmake this approximation.
And the incentive to make thisapproximation and carry the
sum to infinity is that then wecan put this in what turns
out to be a very simpleclosed form.
So now if we just write out afew of the individual terms in
the sum, it's one pluse to the minus
epsilon zero over kT.
Plus e to the minus epsilonzero over kT.
I'll write this as squared.e to the minus two
epsilon zero over k t.
And so on.
So this has the form of a sumthat looks like one plus x,
plus x squared, and so on.
And because the sum goes toinfinity, we can simply write
it as one over one minus x.
Sort of a very simple result.
And now putting this back intox, it's one over one minus e
to the minus epsilonzero over kT.
That's our q zero.
Our molecular partitionfunction.
So this model yields aparticularly simple
result for q zero.
And then everything elsefollows from there.
So then we can write thecanonical partition function
capital Qn.
It's just q configurational tothe capital Nth power, where
capital N is the total numberof these molecules.
So it's just one over one minuse to the minus epsilon
over kT to the Nth power.
And then we can start writingout the results for the
various thermodynamicproperties.
So A configurational is minusNkT, log q configurational.
That is, remember, A is minus kTlog capital Q. And this is
just going to comestraight out.
So it's minus NkTlog of little q.
Minus NkT, log of one overone minus e to the minus
epsilon over kT.
Or positive NkT, log of oneminus e to the minus
epsilon over kT.
So a pretty simple form forthe Helmholtz free energy.
And I'm not going to write outall of the individuals
thermodynamic terms, but I'llwrite a few of them.
So mu, the chemical potentialfor these configurations, is
just dA/dN.
With T and V constant.
And so the only capitalN dependence, the only
dependence on the number ofmolecules is multiplicative.
Right here.
So this just gives us kT logof one minus e to the minus
epsilon naught over kT.
And the important point torealize here that we mentioned
last time too, in the exampleswe considered then, especially
the last one, is that becausethe only place that N figures
in is as a multiplicativefactor.
What this is telling us is thatwe just have a chemical
potential, of Helmholtz freeenergy per molecule.
The molecules areall independent.
The total energy doesn't dependon any interaction
between this molecule and itsneighbor somewhere else.
So terms like this aresimply additive.
So if we work out the chemicalpotential, it's just one over
N times A.
And I'll just write the resultfor u configurational.
Because I do want to lookat the heat capacity.
So it's Nk T squared, d log oflittle q configurational / dT.
With N and V held constant.
And it turns out to justbe N epsilon zero.
One over E zero overkT minus one.
So now we can look atthe heat capacity.
Cv configurational.
So it's du configurational/ dT.
With constant N and V. Andtaking this derivative with
respect to temperature.
Gives us an expression ofthe following form.
It's Nk epsilon zero over k Tsquared. e to the E zero over
kT, over e to the E zero overkT minus one squared.
Just taking the derivativein the usual way.
Now, this looks kindof complicated
for the heat capacity.
But let's take a look, just likewe did last time for the
simpler case that we treatedthen, let's take a look at the
high and low temperature limitsof what happens to the
heat capacity.
So at high temperature, well wecan start by just looking
at the energy.
That has a form that'sfairly simple.
So when temperature is large,this is small, and we can
Taylor expand it.
So then we're just going tohave one plus epsilon zero
over kT minus one.
Which means the oneswill cancel.
And we end up with a fairlysimple result.
So u configurational, inthat case, is just NkT.
The epsilon zeroes aregoing to cancel also.
And what that says is that theheat capacity -- and of course
we could take the limit of this,but we can just take the
derivative of thiswith respect to
temperature more easily.
So Cv configurational.
It's just N times k.
In other words, the heatcapacity in the high
temperature limitis a constant.
Last time we treated a simplercase, where there were only
four configurations altogetheravailable, to this sort of
simple polymer modelthat we drew.
Unlike this present model wherewe're saying there are
essentially infinite number ofconfigurations and different
energies available.
So many that the highest oneswe're never even going to
access, because they'll bemuch higher than kT.
Here it's different,so now we have --
You know before, when we hada limited number of total
states, remember what happenedin the heat capacity at high
temperature.
What was the limiting case?
Finite number of states.
What's the heat capacityat high temperature?
This is going tobe on the exam.
What's the heat capacity at hightemperature, if there's a
finite number of statesavailable?
STUDENT: Zero.
PROFESSOR: It's zero.
What was the low temperaturelimit of the heat capacity?
STUDENT: Zero.
PROFESSOR: It was also zero.
Right.
And the idea was fora system with a
finite number of states.
The idea was -- so let's say,the way we had it before,
there was one statewith energy zero.
And we had three states withsome energy epsilon zero.
And that was it.
Those were all the molecularstates available.
So we looked at the two cases.
In one case, when the hightemperature limit where kT is
much bigger than anyof this stuff.
In that limit, the molecules arejust equally likely to be
in any of these states.
Because there's much, much morethermal energy than this
energy difference.
And the molecules are constantlygetting kicked
around by the availablethermal energy.
So if you raise the temperaturea little bit more,
it doesn't make anydifference.
The molecules alreadyare evenly
distributed among the states.
There's no additionalconfigurational energy.
So du/dT is zero.
It can't increase any more.
So in that case, the hightemperature limiting heat
capacity is zero.
And in the other case --
In the low temperaturelimit, now let's say
kT is really low.
It's much less thanepsilon zero.
So now we'll redrawthis as zero.
And put the epsilon zerostates up here.
And kT is here.
Well when it's like this, thetemperature is so low that
there's not nearly enoughthermal energy to populate any
of these states.
And if you change thetemperature by a little bit,
it's still not enough thermalenergy to populate any of
these states.
So once again, du/dT is zero.
You change the temperature andthe configurational energy
doesn't change.
So the heat capacityis zero again.
This is why it's so informativeto measure heat
capacities.
Because you can learn an awfullot about the intrinsic
structure of the material.
What are the energy levelsavailable to it?
What do they do?
You can learn a tremendousamount about that by making
measurements of theheat capacity.
Well, now we're ina different case.
We have a whole set of evenlyspaced energy levels.
Never ends.
So now let's look at thehigh temperature limit.
But we're never in a limitthat's higher than the highest
level, because we're assumingit goes on forever.
So it's up here somewhere.
There's kT.
So what happens?
Well if you raise thetemperature, there still are
higher lying levels that canbe populated, and that will
get populated.
So du/dT isn't going to be zeroin the high temperature
limit, in this case.
But it stops changingat some point.
Because nothing's very differentabout this than
having kT be, let's say,up here or up here.
So in the high temperaturelimit, yes, the energy does
change with temperature.
But it changes in the sameway at any temperature.
In other words, the energy isjust linearly varying with
temperature.
And the heat capacity is aconstant. du/dT doesn't change
anymore, once you're in thehigh temperature limit.
Now without me writing anyexpression on the board,
what's the low temperature limitof the heat capacity
going to be in this case?
Going to be on the exam.
STUDENT: Zero?
PROFESSOR: Zero, that's stillgoing to be the same, right?
Put kT way down here.
That's just like this, right?
Not near enough energy topopulate even though lowest,
you know, the first levelabove the ground state.
Change the temperature a littlebit, still not enough
thermal energy toget up there.
So the energy doesn't changewith temperature in that low
temperature limit.
So you can immediately seewhat's going to happen at low
temperature.
Any questions?
Yeah?
STUDENT: [UNINTELLIGIBLE]will still be n k t, and
then it's just --
[UNINTELLIGIBLE]
PROFESSOR: So, ofcourse, that's a
limiting case here, right?
That happened because in thelimit of high temperature,
then this exponent isreally small, right?
So then you can Taylorexpand it.
In the limit of lowtemperature,
this is really big.
This is nearly zero.
So e epsilon zero is much biggerthan kT in that case.
This is big.
This is negligible, right?
Oh.
Wait a minute.
Something's makingme real unhappy.
I can't have this right.
Ah.
Yes.
It needs to be zero, iswhat it needs to be.
What am I thinking?
Of course.
It's one over a huge number.
It's zero.
OK.
So of course you can'texpanded it.
It's just, this is muchbigger than this.
This is an enormous numberat that point.
So in other words, what it'ssaying is the configurational
energy is zero, becauseeverything is stuck in the
ground state.
And it stays zero if youvary the temperature.
So you get the zero limitingvalue for the heat capacity,
and the energy itselfis also zero.
Other questions?
OK.
Let me just make a few commentsabout the entropy.
So I didn't writeit out before.
And I'm tempted not todo it again, but I
suppose I'll do it.
So it turns out to be Nk, minuslog of one minus e to
the minus epsilonzero over kT.
Plus epsilon zero over kT.
Over e to the epsilon zeroover kT, minus one.
And this comes from combiningthe terms for A and u.
It comes from minus A over T.Plus u over T. And what I want
to do is look at its limitingcases also.
In particular, what happenshere in the limit of high
temperature.
And what happens turns out to bek log kT over epsilon zero
to the Nth power.
Or put the N over here.
OK.
And what this is telling usabout is the number of
available states.
Roughly, how many states arethere that are accessible to
the system at sometemperature.
So in other words, think of itas -- let's put the N back
there. k log of kT over epsilonzero to the Nth power.
And think of it as klog capital omega.
Where that would bethe degeneracy.
Now all the states are in equalenergy, but remember for
the whole system, rememberwe discussed this before.
How you have a very, very narrowdistribution of system
energy states at equilibrium.
So you can think of this as thedegeneracy of the system
states that are actually goingto exist at a particular
temperature.
So if we look at the limitingvalue of the partition
function, it's justkT over omega.
Or the same thing forcapital Q. kT over
epsilon zero, sorry.
To the Nth power.
So you have a very simpleexpression.
And so again, what this isdoing, is it's giving us a
measure of about how manystates are available.
And it's particularlyinformative to look at that
for the molecular partitionfunction.
What it's telling us is, ifI look at kT over epsilon.
And these levels, remember,are evenly spaced.
So here's epsilon zero, twoepsilon zero, three epsilon
zero, and so on.
It says, you know, if kT isabout ten times bigger than
epsilon zero.
So this is ten.
It's telling us, roughly howmany states does the system
have thermal access to.
The molecular state.
It has about ten states.
So going over to our picture ofthe set of structures, you
could have anywhere up toabout ten bonds broken.
Now, the individual moleculesare going to be in a whole
range of states.
Some of them will have fewerthan that, and some of them
will have more than thatnumber of bonds broken.
But on average, it's goingto be about that number.
And then, if you look at thewhole system, the number of
states available, of courseit's astronomical.
Because you have to take eachmolecule, and say, well it
could be in any one ofsomething on the
order of ten states.
And then whole set of N othermolecules can be in the states
they might be in.
Change the first one,and do it again.
So you have this astronomicalnumber of system states.
But remember, like we discussedonce before, it'll
turn out that although theindividual molecule states
vary considerably with energy,the system states, which are
averaging over some astronomicalnumber of
molecules, where capitalN is something
like ten to the 24th.
Once you average over that manyindividual molecules, you
find that there's very,very little
fluctuation in the energy.
In the system energy.
The individual molecule energiesvary considerably.
Realistically the variation ofthe molecular energies -- that
variation is goingto be comparable
to the energy itself.
To the average energy.
So if the average energy isroughly you know, the ten
epsilon zero, you say okay,how much might it vary?
Well, there are going to be somemolecules that have only
a couple of bonds broken,and some that might
have 20 bonds broken.
The variation will be on thesame order of magnitude as the
average itself.
But then you average overcapital N of them.
And then you immediatelydiscover that there's very,
very, very little variation.
And in particular, what happensthen, is, you know,
for molecular average energy,epsilon zero, and variance, or
standard deviation aboutthe same magnitude.
System average energy isu, and it's going to
be capital N times.
Well let's say that-- average --
Oh sorry, let me notput the zero There.
It's just average energy.
And the system average energyis just N times
the molecular energy.
But the system variance is goingto be on the order of
the square root ofN times epsilon.
If you've done statistics,then you've seen
that sort of result.
You do a bunch of samplings acapital N number of samplings,
and the variation lookslike the square
root of that number.
So what ends up happeningthen, if you look at the
relative variation, you mightlook and then say, well it's
pretty big.
This is ten to the 12, right?
It's still a huge variance.
But let's compare itto the average.
So this is ten to the 24th.
This is ten to the 12th.
It's on the order of tento the minus 12.
An incredibly tiny fractionalvariation
in the system energy.
You could never --
There would be no practicalway to measure it.
And of course that isconsistent with
what you would expect.
If you say let's measure theconfigurational energy of a
bunch of molecules in a liquidsolution, or molecules in a
gas floating around.
And it's a mole of them, thattotal average energy is not
going to fluctuatesignificantly, even though
individual molecules that youpick out of that whole system
might have quite widelyvarying energies.
And that's the point.
So it's an incrediblysmall variation.
Now you can derive this.
I didn't derive this,of course.
I asserted that thisis the case.
And it's probably familiar tosome of you if you've seen
some statistics.
But the way you would derive itis, you know in addition to
calculating the average energy,the average of E, you
can also calculate the averageof the energy squared.
And you can calculate thestandard deviation that way.
You calculate the averageof E squared.
And then you minus the averageof E, the quantity squared.
Take the square root.
That's your root mean square.
And that's what leadsto this result.
So it's pretty straight forwardto calculate it also.
Alright.
So any questions about just theextent of variation of the
individual molecule energiesor the system energies?
Okay.
Then, now what I'd like to dois look at another kind of
energy that's going to turn outto have exactly the same
set of levels thatwe just derived
from this simple model.
And some of you may haveseen this before.
Many of you may not have.
And for right now, I'lljust assert it.
But it will illustrate whythis is so useful.
It turns out that if I've gotmolecular vibrations -- you
know, there's nitrogen andoxygen in the air.
If I look at those nitrogenvibrational energy levels.
Or oxygen energy levels.
They look like this.
Evenly spaced, non degenerateenergy levels.
So the model that we'veconstructed here, based on
this simple two-chain polymer,actually gives us a set of
energy levels that maps directlyonto the vibrational
energy levels of a molecule.
So all the results that we'vejust seen apply, not just for
conformations of apolymer, but for
vibrations of a molecule.
So everywhere where it saysconfigurational, you can just
write in vibrational.
And you'll still be right.because of course, what
matters is what are the statesthat are available to the
system, and what aretheir energies?
After that, the formalism ofstatistical mechanics takes
over, and calculates partitionfunctions and
thermodynamic functions.
The input into that is states.
And their energies.
Well, we have the exact sameset of states and energies.
So we immediately arrive at asuper important case and its
results for molecularvibrations.
And not only molecularvibrations, but vibrations of
a crystal lattice.
Acoustic vibrationsof a glass.
Or even a liquid.
So there's an enormously wideranging set of results that
we've derived by startingat this simple picture.
And when you take quantummechanics, you'll see that
indeed you do get this set ofevenly spaced energy levels.
You may well have seen theresults before, and you'll see
it derived there.
OK.
Given that, then I want totalk a little bit further
about the heat capacity.
So we've seen the limiting casesfor the heat capacity.
Namely, the low temperaturelimit is zero.
That's the case whenever youhave quantized levels.
You can always get kT lowerby far than the
lowest excited state.
So that everything is stuckin the ground state.
How low that is dependson how far apart
the states are spaced.
But there's got to be sometemperature somewhere that's
down there.
So we've seen the heat capacitylimiting cases.
Let me just sort ofdraw them again.
So here's kT much lessthan epsilon zero.
And up here, kT is much biggerthan epsilon zero.
Now I'm just going to sketchthe full temperature
dependence.
In other words, I'm going toconnect those two limits that
we've seen.
So here's what thatlooks like.
And I'll write itas vibrational.
So we know it's got to be zeroat the low temperature limit.
And we know that it's thisconstant value in the high
temperature limit.
It's Nk.
And in some way, itsmoothly connects.
And if you look at the actualscale, here -- so here's kT
over epsilon zero.
Here's the limit oflow temperature.
Actually, you don't have to bevery high above epsilon zero
to be in in this hightemperature limit.
So if you look at the plotthat's on your notes, this is
already -- it's not quiteleveling off precisely.
But it's already pretty close.
When kT is just two timesepsilon zero.
It's already almost atthe limiting case.
Now this has tremendoussignificance.
So a long time before quantummechanics was developed,
people made measurementsof the heat
capacities of materials.
And they were familiar with thefact that when you got to
ordinary temperature -- roomtemperature, the heat capacity
was temperature independent.
And that was understandablefor reasons
we'll discuss shortly.
Basically, in that case, theheat capacity -- it's not just
Nk for one vibrational mode.
Of course, that's what Idescribe for a single
vibrational mode of,say, a molecule.
If you have a crystal latticewith N atoms in it.
Let's say it's anatomic crystal.
Each atom has three degreesof freedom.
It can move in each of threeindependent directions.
And there are N ofthose atoms.
There are 3N total degreesof freedom.
That's how many vibrationsthe lattice has.
So in fact, you have tomultiply this by 3N.
So what would be seen is,you'd have 3R, the gas
constant, per mole,in other words.
And if you looked at Cvover 3R, then this
value would be one.
Very useful to see that.
To figure that out.
And people understood it.
What people didn't understandis this stuff.
Why did it do that?
That was a great mystery.
Why did the heat capacity goto zero at low temperature?
And the reason they didn'tunderstand it is because the
model for vibrationwas really simple.
The lattice is a bunch ofmasses and springs.
I know the vibrational energy.
And I can calculate it.
That is, I know the classicalvibrational energy.
Remember, the reason itgoes to zero is this.
It's all because of the factthat the energy levels are
discrete, quantized levels,with gaps in between them.
If I've got classical mechanics,then that means
it's vibrational energy.
The energy just gets bigger ifthe amplitude get bigger.
It's not discrete,it's continuous.
There are always energiesin there.
In that case, there's nevera situation like this.
Where kT is lower than the firstavailable excited level,
and everything's inthe ground state.
That never happens in classicalmechanics, because
there are always levels there.
But it does happen inquantum mechanics.
And Einstein recognized thatthis was a way to explain this
low temperature limitingheat capacity.
So actually if you look at earlydevelopment of quantum
mechanics, really itwas all predicated
on statistical mechanics.
And the idea that, well, thatyou could then do the
statistical mechanics withquantized levels, just the way
we've done it.
And what you immediatelydiscover is, gee,
it all makes sense.
You go to low temperature,everything's stunk down here.
And suddenly you've got zeroheat capacity, because you
changed the temperature a littlebit, and everything is
still stuck back here.
So that's the vibrational heatcapacity of a solid.
That's what it looks like.
And at moderate temperature,this doesn't have to be very
much bigger than epsilon zero.
You're already in, essentially,the limit.
The high temperature limit.
And now for molecules, thatlimit isn't usually reached at
room temperature.
Here's a kind of calibration.kT at room temperature is
about equal to 200wave numbers.
So molecular vibrations, youknow, you've taken IR spectra
they're typically on the orderof 1,000 wave numbers or so.
kT isn't bigger than thevibrational energy.
But a crystal lattice, you knowthe vibrations are the
acoustics vibrations.
And those are much lowerin frequency.
If you have an atomic crystal,it just has the sound
vibrations at all the different
wavelengths that are available.
They're never very high.
So it's easy to get intothe high temperature
limit, in that case.
Where you basicallysee a temperature
independent heat capacity.
OK.
By the way, this was actuallyused commonly to determine the
molecular weights ofmolecular crystals.
Because you've got a factor ofthe number of moles in there.
If you ask how big isthe heat capacity?
Well it does depend onhow many moles of
material you have.
Because it depends onhow many atoms.
That control how many modesthere are in the crystal.
How many vibrational modes.
Because each atom has 3Ndegrees of freedom.
So if you just weigh the wholecrystal, and then you measure
the heat capacity, you know howmany moles there are, and
now you know the weight,you can figure out
the molecular weight.
OK.
So that's the low temperaturelimit.
And now I want to talk a littlebit further about the
high temperature limit.
And in particular, I want totalk about both the heat
capacity and the energythat we've seen.
Namely, this thing.
Of course it's really the sameresult for the energy and the
heat capacity.
They're obviously intimatelyconnected.
So these are the hightemperature limits.
Now it turns out that that hightemperature limit doesn't
just obtain for vibrations.
But it's also the case formolecular rotations,
translations.
All these low energydegrees of freedom.
So let's see why.
It has a name, that result.
It's called the equipartitionof energy.
Sometimes it's called theclassical equipartition of
energy theorem.
And what it says is one halfkT per degree of freedom
equals energy in thehigh T limit.
And in particular, fortranslation, so E
translational is 3/2.
Well, NkT for N atoms.
Or molecules.
E rotational is, now it dependshow many rotational
degrees of freedom there are.
If I've got a linear molecule,there are only two.
It can rotate this way, andit can rotate this way.
If I've got a non linearmolecule, parts all over the
place, it has threeunique axes.
It can also spin this way.
And that's a rotationaldegree of freedom.
Of course the linear moleculewasn't like that.
Nothing is moving whenyou do that.
So it's either NkT, linear.
Or 3/2 NkT.
Non linear.
Great.
And then E vibrational is NkTper vibrational mode.
That's because vibrationalenergy is potential and
kinetic energy, andit's 1/2 kT each.
Why does all thatstuff happen?
Turns out, you can seewhy pretty easily.
All those degrees of freedom.
Those classical degreesof freedom.
If you say, let's write out anexpression for the energy.
Classical.
You know it's 1/2 m v squared.
Or it's 1/2 k x squared.
Or for rotational energy it's1/2 I omega squared.
You see a functionalform emerging here?
That looks similar inall these cases?
You know, 1/2 times someconstant, times
some variable squared.
Well, now let's look at ourexpressions for the energy.
Average energy.
We're going to sum over all theenergies of epsilon i, e
to the minus Ei over kT.
Over sum over i, e to theminus Ei over kT.
That's just how we originallyderived the average of energy.
In other words, it's theprobability of each state
times the energyof that state.
Summed up over all the states.
Well, now we have an expressionfor the energy.
It's one of these things.
It's something timesa variable squared.
So, we'll use some generalfunctional form, a y squared.
And now, let's assume we're inthe high temperature limit.
And we've seen whatthat means.
It means kT is big,compared to the
separation between the energies.
When that's the case, thereare lots of these
terms in the sum.
We can convert themto integrals.
We can forget aboutthe fact that the
energies are discrete.
We can say look, they'reso close
together, compared to kT.
That we can turn the sumsinto integrals.
So then we have integralsinstead of sums.
And here's our energy.
It's a y squared.
Whatever that is.
It could be this, it could bethis, it could be this.
And it's not going to matter.e to the minus a y squared
over kT over, integral over e tothe minus a y squared over
kT. dy, dy.
OK.
And here's what'sgoing to happen.
If you do this integralby parts.
This one.
What ends up happening is itgives you this integral times
a certain number.
This is going to comeout of the integral.
And so it will turn out.
And it's straightforwardto do it.
It's in the notes.
It goes through.
But I'll just writethe result here.
The result is that you get, inthis high temperature limit
where you've gone to theintegral form, you get 1/2 kT.
And it will alwaysbe the case.
All you need to know is theform of the energy.
As long as that's the case --
Remember y is just a variableof integration here.
That's not going tobe preserved.
This comes out becauseof what happens here.
So what that's telling you iswhenever you have an energy of
this form, and you're in thehigh temperature limit, then
you get this classical
equipartition of energy result.
So, for translation, of coursethere are three separate
degrees of freedom.
For velocity in the x,y, or z direction.
For rotation, if it's a linearmolecule, let's say there are
two separate degreesof freedom.
You have to keep track ofhow many degrees of
freedom there are.
But that's all you have to do.
That's enormously powerful.
It means that without doinganything, I know the average
translational energy of themolecules in this room.
Because of course I'm certainlyin the high
temperature limit.
With respect to translationalenergy levels, they're really
closely spaced.
Same with rotations.
Now at room temperaturevibrations, forget it.
I have essentially novibrational energy.
I'm at the low temperaturelimit for the molecular
vibrations of nitrogenor oxygen.
Those are high in frequency.
So much higher than200 wavenumbers.
But for each molecule,I have 3/2 kT of
translational energy.
Linear molecules, I have kTof rotational energy.
Without doing any work at all.
And since that applies to mostmolecules at room temperature,
it's an incredibly useful, very,very general result.
OK.
Next time we'll do a little bitof chemistry, and look at
phase transformations.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852PROFESSOR: Mendel'ssecond law--
this thing over here about athree to one ratio about a
single trait being controlledby a pair of alleles, and
those alleles being distributedindependently of
each other to the offspring, thestuff you always learned
about Mendel--
that's often referred toas Mendel's first law.
Mendel, by the way, didn't callit Mendel's first law.
It's considered--
you don't write that in your ownpapers or something like
that, right?
So Mendel did actually observedsome other things
beyond this independentsegregation of the alleles for
a single trait.
Mendel began to cross his peastogether and try to make
combinations.
He had rounds and wrinkles.
He had greens and yellows,talls and shorts.
He started makingcombinations.
How about a plant that waswrinkled and yellow?
Green was the normal color.
Round was the normal shape.
But he had yellows.
He had wrinkleds.
How about makinga combination?
So he begin to make plants thatbred true for different
pairs of phenotypes.
So for example, he had a purebreeding line here that was
both round and green.
That was the stuff he couldpick up at the market.
But he made a line here that wasboth wrinkled and yellow.
What is the genotype of thisround, green strain?
At the round gene--
the gene for roundness-what is its genotype?
Big R, big R. It's a purebreeding strain.
It was homozygous--
we're just testing our wordshere-- homozygous
for the big R allele.
Green is controlled bya different gene.
It has an allele big G. It'spure breeding for this.
And we call it big G, big G.
Convention, when we use capitalletters, it tends to
mean that the associatedphenotype is dominant.
OK?
It'll make you think that theallele is dominant, but it's
the associated phenotypethat's dominant.
Now, wrinkled-- whatwas wrinkled?
Wrinkled was a homozygouswrinkled-- little r, little r.
And what was the genotypeat the yellow locus?
Little g, a little g ishow we'll denote it.
Geneticists use four or fivedifferent kinds of notations.
We're going to use this notationtoday of big R's and
little r's and little g's.
But you'll get used to otherkinds of genetic notations.
So when we cross these guystogether, this F0 generation
here of these two pure breedingparental strains, we
get an F1 generation.
The F1 generation--
what is it phenotypically?
What did it look like?
Round and green, yep--round and green.
What was in genotypically?
Big R, little R, bigG, little g.
Now we could selfthese plants.
And our head would hurt withthe nine to three to
three to one ratio.
So instead, why don't we crossthese plants back to the
wrinkled, yellow strain tomake our life easier?
Little r, little r, littleg, little g--
and when we cross that back,what is the segregation that's
going to happen?
Well, what are the possiblegametes that could emerge from
this parent?
We could get a big R and a bigG. We could get a big R
and a little g.
We could get a little r and abig G. We could get a little r
and a little g.
Those are the four possibilitiesthat could be
contributed by this parent.
What could be contributedby this parent?
Little r and little g--that's it, right?
No other options.
So that's what our littlePunnett square looks like here
of our options--
parent number one, parentnumber two.
What will this be?
This will be big R, big G overlittle r, little g, big R,
little g over little r little g,little r, big G over little
r little g, little r littleg over little r little g.
In other words, this willbe round and green.
This'll be round and yellow.
This'll be wrinkled and green.
And this'll be wrinkledand yellow.
And what will be theratio of these?
One to one to one to one,provided that those gametes
were all equally frequent,provided that that parental
plant made each of those fourtypes in equal proportions.
That one to one to one ratioin the gametes will
necessarily translate into a oneto one to one ratio in the
phenotypes observed inthe next generation.
When we cross back--not by selfing--
but when we cross back to theparent that has the recessive
phenotypes, we'll oftencall this a
backcross or a test cross.
If I haven't done a backcrossor a test cross where I
crossed back to the wrinkled,yellow parent, I would instead
have had to make a square herethat had 16 boxes in it, and I
would have had to add up to 16boxes to figure out how many
were round and green--
nine out of the 16.
How many were roundand yellow?
Three out of the 16.
How many were wrinkledand green?
Three out of the 16.
And how many were wrinkledand yellow?
One out of the 16.
But for the purposes of usingthe white board up here, I did
the test cross orthe backcross,
because it's simpler.
But you can also do the four byfour matrix and figure out
what it looks like.
That was news.
It didn't have to bethat way, right?
Maybe it was something else.
This is pretty cool.
What it tells you is not justis it the case that here the
alleles segregateindependently.
It's a random coin flipwhich one you get.
It tells you no correlationbetween the two traits.
They're independent.
This is called independentassortment.
Mendel's second law is the lawof independent assortment.
All right.
So Mendel publishes the paper.
1865, it comes out.
Here's a copy ofMendel's paper.
It's translated into Englishfrom the original German.
So I got Mendel's paper here.
There's no Punnett squares.
It's kind of messy notation.
Look at that.
Look at all that--
big A, little b.
He's got A's, B's, C's.
He's got three factor crossesrunning around in here.
Mendel really goes to town.
It's a beautiful paper here.
But it just goes on and on.
It's incredibly hard to read.
Look at this.
It takes a lot toread this thing.
But in a way, it's simple.
It's nothing so sophisticated.
Oh yeah, here.
Look at this-- long, green,inflated, constricted--
all this kind of stuff.
It's pretty cool.
You should look it up.
It's online.
You can find Mendel's paper.
What happens to Mendel'spaper?
Nobody reads it.
It sinks like a stone.
It's this cool paper andnobody reads it.
Nobody reads it fora lot of reasons.
Scientific communication wasn'tso big in those days.
Oh, well.
Mendel also ends up gettingpromoted to become the abbot
of the monastery, and that'spretty much the end of his
scientific career,in my opinion.
He got too many administrativeduties, doesn't do more
science there.
Also, he has somepoor choices.
The next plant he workson is hawk weed.
Hawk weed turns out to havereally weird genetics that
totally leads him astray.
Basically, this isthe one important
paper Mendel ever publishes.
It's an incrediblyimportant paper.
It's so important because itcontains the clue to what
Darwin, living at exactlythe same time, wished he
understood, which is what thebasis of genetic variation is.
Wouldn't it be great if Darwinhad read Mendel's paper?
Darwin actually owned a copyof Mendel's paper.
He received a copy ofMendel's paper.
In those days, the way theyprinted books, there were
folded pages and you had toslit the page to read it.
Darwin never slit the pages ofthe copy of Mendel's paper.
So we know he's never readMendel's paper, but he has one
in his library.
He had Mendel's paper.
He had the answers sittingthere on the shelf,
but never read it.
The stuff sinks like a stone.
Nobody really pays muchattention to it.
And Mendel goes on,dies that's it.
[LAUGHTER]
PROFESSOR: Until the end ofthe 1800s, right at the
beginning of the 20th century,along comes cytology--
looking at cells inthe microscope.
Microscopes began to getgood in the late 1800s.
And cytologists began to see intheir microscope that when
cells divided, these funnystructures began to appear--
these long, thread-likethings.
And the German chemical industrybeing developed at
that time had inventedall sorts of dyes.
And cytologists beganexperimenting putting dyes on
these cells.
And the dyes let them see reallyclearly these funny
things that were condensingout when cells divided.
And they had no clue what thesefunny things were other
than that they took up dyes.
And so in the absence of anyclue what were, they called
them chromosomes, meaningcolored things.
That is what chromosome means.
They called them colored thingChromos colored bodies,
colored things.
That's all they knew.
And they observed that thesechromosomes, these colored
things, did really interestingchoreography.
When cells divided, when theyunderwent mitosis, what would
happen is that the chromosomeswould line
up along the midline.
And they would have, at thatpoint, these funny X-like
structures.
And I'll draw four ofthese chromosomes
lining up like this.
And what would happenduring mitosis?
The cell would divide, and eachof the two cells would
get one half of the X. So if youstarted with four of these
X's, you ended up withfour like this.
There you go.
That was the chromosome beingsomehow tugged apart.
Now, anything that gets tuggedapart when a cell divides--
that's kind of interesting.
Then those chromosomeswould disappear.
You couldn't see them again fora while until the cell was
ready to divide again.
And when the cell is ready todivide again, darned if those
single lines hadn'tturned into X's.
Somehow the cell had turned thesingle lines into these
two pieces, these X's,and they were
ready to divide again.
And that was mitosis--
the process of ordinarycellular division.
But there was another process.
Folks observed meiosis.
That's what happens whenyou make gametes.
So when gametes get made, the
choreography was a bit different.
Instead of all the chromosomeslining up on the midline as
individuals, they linedup as pairs.
They line up as pairs.
When the cell divides, youend up with now only two
X's, not four X's.
Then what happens is thosecells divide again.
And you end up with thosestraight lines--
but not four of them,only two of them.
The first step gets calledmeiosis number one--
meiosis I. The second iscalled meiosis II.
The second step looks justlike mitosis, doesn't it?
Chromosomes are lined upalong the midline.
They separate it.
It just looks like mitosis,ordinary cell division.
But that first stepis special.
That first step says, somehow,the chromosomes come in pairs,
and the cell picks one fromeach pair and gives to its
gametes-- its spermor its egg--
one from each pair.
And what do you think happenson fertilization?
Well, you had one from eachpair, one from each pair, it
comes together and itrestores a pair now.
And you know what folks said?
They said this sounds just likewhat that dead monk was
talking about.
Pairs, particles ofinheritance--
particles that come in pairs andyou give to your gametes
one of the two pairs.
These colored things must bethe basis of inheritance or
genes or something.
Wow, because it fits Mendel'smodel beautifully.
It explains the first law.
What about the second law?
What about Mendel'ssecond law?
How could it explain the big Rand the big G being inherited
independently of each otherwith no correlation?
What would that have to mean?
They're on differentchromosomes.
The genes are on differentchromosomes.
Because if big R is on onechromosome and big G is on the
other chromosome, then it's acoin flip whether or not the
big R might be here and a littler might be there or the
big G might be there ormaybe it's over there.
It's a random draw whichway it's going to go.
So it perfectly explainsMendel's second law.
Unless--
what happens if big R and big Gare on the same chromosome?
Then they're goingto go together.
I'm not going to haveindependent assortment.
I may have totally dependentcorrelated assortment.
If big R and big G are on thesame chromosome, they're going
to be inherited together.
Mendel's second law isgoing to be wrong.
So why did Mendel find big Rand big G going together?
Maybe was lucky and he pickedtraits on different
chromosomes.
But what about his next trait?
Lucky again?
Lucky again?
Mendel studied seven traits.
How many chromosome pairsdo peas have?
Turns out, seven.
But anyway, what happens?
What's going on?
Mendel's second law can't beright if the chromosome theory
is right when the genes areon the same chromosome.
They would be dependent.
They won't be independent oneto one to one to one.
So which is it?
Is Mendel right, my hero?
Or is this chromosometheory right?
Because they can't be bothperfectly right.
So which is it?
Oops, we've run out of time.
[LAUGHTER]
PROFESSOR: Next time.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899align:start position:0% we now set out to study the Poisson
align:start position:0%we now set out to study the Poisson
align:start position:0%we now set out to study the Poissonprocess which is a continuous time
align:start position:0%process which is a continuous time
align:start position:0%process which is a continuous timeversion of the Bernoulli process in the
align:start position:0%version of the Bernoulli process in the
align:start position:0%version of the Bernoulli process in theBernoulli process time is divided into
align:start position:0%Bernoulli process time is divided into
align:start position:0%Bernoulli process time is divided intoslots and during each one of the slots
align:start position:0%slots and during each one of the slots
align:start position:0%slots and during each one of the slotswe may either have an arrival or no
align:start position:0%we may either have an arrival or no
align:start position:0%we may either have an arrival or noarrival in the Poisson process time is
align:start position:0%arrival in the Poisson process time is
align:start position:0%arrival in the Poisson process time iscontinuous and we may get arrivals at
align:start position:0%continuous and we may get arrivals at
align:start position:0%continuous and we may get arrivals atany time we want to define the Poisson
align:start position:0%any time we want to define the Poisson
align:start position:0%any time we want to define the Poissonprocess by introducing some assumptions
align:start position:0%process by introducing some assumptions
align:start position:0%process by introducing some assumptionsthat in some way is parallel the
align:start position:0%that in some way is parallel the
align:start position:0%that in some way is parallel theassumptions that we made for the
align:start position:0%assumptions that we made for the
align:start position:0%assumptions that we made for theBernoulli process
align:start position:0%Bernoulli process
align:start position:0%Bernoulli processwhat were those assumptions the first
align:start position:0%what were those assumptions the first
align:start position:0%what were those assumptions the firstone we made was the assumption of
align:start position:0%one we made was the assumption of
align:start position:0%one we made was the assumption ofIndependence namely that what happens in
align:start position:0%Independence namely that what happens in
align:start position:0%Independence namely that what happens indifferent slots are independent
align:start position:0%different slots are independent
align:start position:0%different slots are independentsimilarly for the Poisson process we
align:start position:0%similarly for the Poisson process we
align:start position:0%similarly for the Poisson process wewill make the following independence
align:start position:0%will make the following independence
align:start position:0%will make the following independenceassumption if we consider two intervals
align:start position:0%assumption if we consider two intervals
align:start position:0%assumption if we consider two intervalstwo time intervals that are disjoint and
align:start position:0%two time intervals that are disjoint and
align:start position:0%two time intervals that are disjoint andlook at the random variable that stands
align:start position:0%look at the random variable that stands
align:start position:0%look at the random variable that standsfor the number of arrivals during this
align:start position:0%for the number of arrivals during this
align:start position:0%for the number of arrivals during thisinterval and that interval we will
align:start position:0%interval and that interval we will
align:start position:0%interval and that interval we willassume that these two random variables
align:start position:0%assume that these two random variables
align:start position:0%assume that these two random variablesare independent but even more than that
align:start position:0%are independent but even more than that
align:start position:0%are independent but even more than thatif we take any collection of disjoint
align:start position:0%if we take any collection of disjoint
align:start position:0%if we take any collection of disjointtime intervals and we look at the
align:start position:0%time intervals and we look at the
align:start position:0%time intervals and we look at theAssociated random variables the
align:start position:0%Associated random variables the
align:start position:0%Associated random variables theAssociated numbers of arrivals that
align:start position:0%Associated numbers of arrivals that
align:start position:0%Associated numbers of arrivals thatcollection will also consist of
align:start position:0%collection will also consist of
align:start position:0%collection will also consist ofindependent random variables the second
align:start position:0%independent random variables the second
align:start position:0%independent random variables the secondassumption for the Bernoulli process was
align:start position:0%assumption for the Bernoulli process was
align:start position:0%assumption for the Bernoulli process wasone of time homogeneity namely at each
align:start position:0%one of time homogeneity namely at each
align:start position:0%one of time homogeneity namely at eachslot we had the same probability of an
align:start position:0%slot we had the same probability of an
align:start position:0%slot we had the same probability of anarrival we want to make a similar
align:start position:0%arrival we want to make a similar
align:start position:0%arrival we want to make a similarassumption for the Poisson process and
align:start position:0%assumption for the Poisson process and
align:start position:0%assumption for the Poisson process andit's going to be the following the
align:start position:0%it's going to be the following the
align:start position:0%it's going to be the following theprobability that we have K arrivals
align:start position:0%probability that we have K arrivals
align:start position:0%probability that we have K arrivalsduring an interval of a certain duration
align:start position:0%during an interval of a certain duration
align:start position:0%during an interval of a certain durationtau is going to be the same no matter
align:start position:0%tau is going to be the same no matter
align:start position:0%tau is going to be the same no matterwhere that interval sets so if this is
align:start position:0%where that interval sets so if this is
align:start position:0%where that interval sets so if this isan interval that has a certain duration
align:start position:0%an interval that has a certain duration
align:start position:0%an interval that has a certain durationand this is an interval that has the
align:start position:0%and this is an interval that has the
align:start position:0%and this is an interval that has thesame duration the probability of three
align:start position:0%same duration the probability of three
align:start position:0%same duration the probability of threearrivals in this interval is going to be
align:start position:0%arrivals in this interval is going to be
align:start position:0%arrivals in this interval is going to bethe same as the probability of three
align:start position:0%the same as the probability of three
align:start position:0%the same as the probability of threearrivals in that interval and therefore
align:start position:0%arrivals in that interval and therefore
align:start position:0%arrivals in that interval and thereforesince this probability does not depend
align:start position:0%since this probability does not depend
align:start position:0%since this probability does not dependon where the interval sets that
align:start position:0%on where the interval sets that
align:start position:0%on where the interval sets thatprobability will be fully defined by the
align:start position:0%probability will be fully defined by the
align:start position:0%probability will be fully defined by thenumber of arrivals that were interested
align:start position:0%number of arrivals that were interested
align:start position:0%number of arrivals that were interestedin and the length of the interval as
align:start position:0%in and the length of the interval as
align:start position:0%in and the length of the interval asopposed to the location of the interval
align:start position:0%opposed to the location of the interval
align:start position:0%opposed to the location of the intervalso we will be using this notation here
align:start position:0%so we will be using this notation here
align:start position:0%so we will be using this notation hereto indicate this probability in this
align:start position:0%to indicate this probability in this
align:start position:0%to indicate this probability in thisnotation we think of Tao as a constant
align:start position:0%notation we think of Tao as a constant
align:start position:0%notation we think of Tao as a constantand then P of K corresponds to
align:start position:0%and then P of K corresponds to
align:start position:0%and then P of K corresponds toprobabilities in particular if you add
align:start position:0%probabilities in particular if you add
align:start position:0%probabilities in particular if you addover all case the various probabilities
align:start position:0%over all case the various probabilities
align:start position:0%over all case the various probabilitieswhat you should get would be a value of
align:start position:0%what you should get would be a value of
align:start position:0%what you should get would be a value of1 because this exhausts all the
align:start position:0%1 because this exhausts all the
align:start position:0%1 because this exhausts all thepossibilities and K here ranges from 0
align:start position:0%possibilities and K here ranges from 0
align:start position:0%possibilities and K here ranges from 0to infinity because we allow an
align:start position:0%to infinity because we allow an
align:start position:0%to infinity because we allow anarbitrarily large number of arrivals
align:start position:0%arbitrarily large number of arrivals
align:start position:0%arbitrarily large number of arrivalsduring a given time interval now with
align:start position:0%during a given time interval now with
align:start position:0%during a given time interval now withthis assumption in place it would still
align:start position:0%this assumption in place it would still
align:start position:0%this assumption in place it would stillbe possible to have arrivals that happen
align:start position:0%be possible to have arrivals that happen
align:start position:0%be possible to have arrivals that happensimultaneously multiple arrivals at the
align:start position:0%simultaneously multiple arrivals at the
align:start position:0%simultaneously multiple arrivals at thesame time point in order to avoid this
align:start position:0%same time point in order to avoid this
align:start position:0%same time point in order to avoid thissituation we introduce one more
align:start position:0%situation we introduce one more
align:start position:0%situation we introduce one moreassumption which is the following it
align:start position:0%assumption which is the following it
align:start position:0%assumption which is the following ittalks about the number of arrivals
align:start position:0%talks about the number of arrivals
align:start position:0%talks about the number of arrivalsduring a time interval that has a small
align:start position:0%during a time interval that has a small
align:start position:0%during a time interval that has a smalllength Delta during a small time
align:start position:0%length Delta during a small time
align:start position:0%length Delta during a small timeinterval there is negligible probability
align:start position:0%interval there is negligible probability
align:start position:0%interval there is negligible probabilityof having more than one arrival we will
align:start position:0%of having more than one arrival we will
align:start position:0%of having more than one arrival we willeither have 1 or 0 arrivals and the
align:start position:0%either have 1 or 0 arrivals and the
align:start position:0%either have 1 or 0 arrivals and theprobability of one arrival is a certain
align:start position:0%probability of one arrival is a certain
align:start position:0%probability of one arrival is a certainnumber lambda times Delta it's
align:start position:0%number lambda times Delta it's
align:start position:0%number lambda times Delta it'sproportional to Delta so if the interval
align:start position:0%proportional to Delta so if the interval
align:start position:0%proportional to Delta so if the intervalbecomes smaller and smaller that
align:start position:0%becomes smaller and smaller that
align:start position:0%becomes smaller and smaller thatprobability also goes to 0 but it goes
align:start position:0%probability also goes to 0 but it goes
align:start position:0%probability also goes to 0 but it goesto 0 at a rate proportional to Delta so
align:start position:0%to 0 at a rate proportional to Delta so
align:start position:0%to 0 at a rate proportional to Delta soyou can think of lambda as probability
align:start position:0%you can think of lambda as probability
align:start position:0%you can think of lambda as probabilityper unit time these are the units of
align:start position:0%per unit time these are the units of
align:start position:0%per unit time these are the units oflambda now here I'm writing an
align:start position:0%lambda now here I'm writing an
align:start position:0%lambda now here I'm writing anapproximate equality what does that mean
align:start position:0%approximate equality what does that mean
align:start position:0%approximate equality what does that meanit means that these are not exact
align:start position:0%it means that these are not exact
align:start position:0%it means that these are not exactexpressions but they are exact within a
align:start position:0%expressions but they are exact within a
align:start position:0%expressions but they are exact within asecond order term and the second order
align:start position:0%second order term and the second order
align:start position:0%second order term and the second orderterm is a term that's negligible
align:start position:0%term is a term that's negligible
align:start position:0%term is a term that's negligiblecompared to the first order term when
align:start position:0%compared to the first order term when
align:start position:0%compared to the first order term whenDelta is small more precisely
align:start position:0%Delta is small more precisely
align:start position:0%Delta is small more preciselymathematically what we mean is that a
align:start position:0%mathematically what we mean is that a
align:start position:0%mathematically what we mean is that asecond order term compared to a first
align:start position:0%second order term compared to a first
align:start position:0%second order term compared to a firstorder term goes to 0 as Delta goes to 0
align:start position:0%
align:start position:0% finally let me reiterate that lambda
align:start position:0%finally let me reiterate that lambda
align:start position:0%finally let me reiterate that lambdashould be interpreted as an arrival rate
align:start position:0%should be interpreted as an arrival rate
align:start position:0%should be interpreted as an arrival rateit is a probability per unit time the
align:start position:0%it is a probability per unit time the
align:start position:0%it is a probability per unit time thebigger lambda is the bigger the
align:start position:0%bigger lambda is the bigger the
align:start position:0%bigger lambda is the bigger theprobability is that we get an arrival
align:start position:0%probability is that we get an arrival
align:start position:0%probability is that we get an arrivalduring a small time interval if we
align:start position:0%during a small time interval if we
align:start position:0%during a small time interval if wedouble lambda then we double the
align:start position:0%double lambda then we double the
align:start position:0%double lambda then we double theprobability that we have an arrival
align:start position:0%probability that we have an arrival
align:start position:0%probability that we have an arrivalduring a small time interval and so we
align:start position:0%during a small time interval and so we
align:start position:0%during a small time interval and so weexpect to have about twice as many
align:start position:0%expect to have about twice as many
align:start position:0%expect to have about twice as manyrivals
align:start position:0%rivals
align:start position:0%rivalshence the interpretation is an arrival
align:start position:0%hence the interpretation is an arrival
align:start position:0%hence the interpretation is an arrivalrate we will see shortly that this is
align:start position:0%rate we will see shortly that this is
align:start position:0%rate we will see shortly that this isalso justified because lambda shows up
align:start position:0%also justified because lambda shows up
align:start position:0%also justified because lambda shows upin expressions for the expected number
align:start position:0%in expressions for the expected number
align:start position:0%in expressions for the expected numberof arrivals during a time interval123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499align:start position:0% today I want to talk about the
align:start position:0%today I want to talk about the
align:start position:0%today I want to talk about theimportance of the basic education system
align:start position:0%importance of the basic education system
align:start position:0%importance of the basic education systemand the theme is going to be that it's a
align:start position:0%and the theme is going to be that it's a
align:start position:0%and the theme is going to be that it's anecessary but not sufficient strategy
align:start position:0%necessary but not sufficient strategy
align:start position:0%necessary but not sufficient strategyfor education for the future we're all
align:start position:0%for education for the future we're all
align:start position:0%for education for the future we're allfamiliar with the basic education model
align:start position:0%familiar with the basic education model
align:start position:0%familiar with the basic education modelwe start in uh kindergarten go through
align:start position:0%we start in uh kindergarten go through
align:start position:0%we start in uh kindergarten go throughgrade school through High School
align:start position:0%grade school through High School
align:start position:0%grade school through High Schoolhopefully go on to a two or foure
align:start position:0%hopefully go on to a two or foure
align:start position:0%hopefully go on to a two or fourecollege and maybe even to graduate
align:start position:0%college and maybe even to graduate
align:start position:0%college and maybe even to graduateschool then we enter the labor force and
align:start position:0%school then we enter the labor force and
align:start position:0%school then we enter the labor force andwe start our working career after we
align:start position:0%we start our working career after we
align:start position:0%we start our working career after wecomplete our education well that model
align:start position:0%complete our education well that model
align:start position:0%complete our education well that modelno longer works today we have to think
align:start position:0%no longer works today we have to think
align:start position:0%no longer works today we have to thinkabout lifelong learning because
align:start position:0%about lifelong learning because
align:start position:0%about lifelong learning becauseTechnologies are changing the job market
align:start position:0%Technologies are changing the job market
align:start position:0%Technologies are changing the job marketis changing in unpredictable ways and
align:start position:0%is changing in unpredictable ways and
align:start position:0%is changing in unpredictable ways andnew ways of working are going to
align:start position:0%new ways of working are going to
align:start position:0%new ways of working are going tocontinue to come along they're going to
align:start position:0%continue to come along they're going to
align:start position:0%continue to come along they're going torequire us to refresh our skills as this
align:start position:0%require us to refresh our skills as this
align:start position:0%require us to refresh our skills as thisgraph shows the evidence is clear High
align:start position:0%graph shows the evidence is clear High
align:start position:0%graph shows the evidence is clear HighSchool dropouts are really doomed to a
align:start position:0%School dropouts are really doomed to a
align:start position:0%School dropouts are really doomed to alifetime of poverty wages on average
align:start position:0%lifetime of poverty wages on average
align:start position:0%lifetime of poverty wages on averagethey earn about $24,000 a year high
align:start position:0%they earn about $24,000 a year high
align:start position:0%they earn about $24,000 a year highschool graduates get to about $34,000 a
align:start position:0%school graduates get to about $34,000 a
align:start position:0%school graduates get to about $34,000 ayear and college graduates get to about
align:start position:0%year and college graduates get to about
align:start position:0%year and college graduates get to about$55,000 a year average income so the key
align:start position:0%$55,000 a year average income so the key
align:start position:0%$55,000 a year average income so the keylesson of this graph is by all means
align:start position:0%lesson of this graph is by all means
align:start position:0%lesson of this graph is by all meanseveryone must finish high school and
align:start position:0%everyone must finish high school and
align:start position:0%everyone must finish high school andhopefully go beyond that but but you
align:start position:0%hopefully go beyond that but but you
align:start position:0%hopefully go beyond that but but youcould say the same thing for high school
align:start position:0%could say the same thing for high school
align:start position:0%could say the same thing for high schoolgraduation College still pays off this
align:start position:0%graduation College still pays off this
align:start position:0%graduation College still pays off thisgraph shows the difference in median
align:start position:0%graph shows the difference in median
align:start position:0%graph shows the difference in medianearnings of high school and college
align:start position:0%earnings of high school and college
align:start position:0%earnings of high school and collegegraduates and you'll see that it's been
align:start position:0%graduates and you'll see that it's been
align:start position:0%graduates and you'll see that it's beengrowing over time that both for men and
align:start position:0%growing over time that both for men and
align:start position:0%growing over time that both for men andfor women the gap between the high
align:start position:0%for women the gap between the high
align:start position:0%for women the gap between the highschool and the college degree earnings
align:start position:0%school and the college degree earnings
align:start position:0%school and the college degree earningshas grown and so there's increasing
align:start position:0%has grown and so there's increasing
align:start position:0%has grown and so there's increasingreturns to college even given the
align:start position:0%returns to college even given the
align:start position:0%returns to college even given theincreased cost of college this graph
align:start position:0%increased cost of college this graph
align:start position:0%increased cost of college this graphshows that adjusting for the increased
align:start position:0%shows that adjusting for the increased
align:start position:0%shows that adjusting for the increasedcost that Gap is still growing and the
align:start position:0%cost that Gap is still growing and the
align:start position:0%cost that Gap is still growing and theincrease in returns to college
align:start position:0%increase in returns to college
align:start position:0%increase in returns to collegeparticularly since around 1980 have been
align:start position:0%particularly since around 1980 have been
align:start position:0%particularly since around 1980 have beengrowing by very very large numbers and
align:start position:0%growing by very very large numbers and
align:start position:0%growing by very very large numbers andso the message here is that yes college
align:start position:0%so the message here is that yes college
align:start position:0%so the message here is that yes collegeis expensive but we've got to be careful
align:start position:0%is expensive but we've got to be careful
align:start position:0%is expensive but we've got to be carefulnot to underestimate its value at the
align:start position:0%not to underestimate its value at the
align:start position:0%not to underestimate its value at thesame time it's important to recognize
align:start position:0%same time it's important to recognize
align:start position:0%same time it's important to recognizethat there's wide variation in the
align:start position:0%that there's wide variation in the
align:start position:0%that there's wide variation in theearnings of college graduates so it's
align:start position:0%earnings of college graduates so it's
align:start position:0%earnings of college graduates so it'svery important to be careful to choose
align:start position:0%very important to be careful to choose
align:start position:0%very important to be careful to choosewhen where and what kind of organization
align:start position:0%when where and what kind of organization
align:start position:0%when where and what kind of organizationwhat kind of institution you choose to
align:start position:0%what kind of institution you choose to
align:start position:0%what kind of institution you choose toget your education at ending your
align:start position:0%get your education at ending your
align:start position:0%get your education at ending youreducation and then entering the
align:start position:0%education and then entering the
align:start position:0%education and then entering theworkforce was a model that worked in the
align:start position:0%workforce was a model that worked in the
align:start position:0%workforce was a model that worked in thepast but is not going to work in the
align:start position:0%past but is not going to work in the
align:start position:0%past but is not going to work in thefuture so let's look more carefully at
align:start position:0%future so let's look more carefully at
align:start position:0%future so let's look more carefully athow we're going to move through a model
align:start position:0%how we're going to move through a model
align:start position:0%how we're going to move through a modelof lifelong learning in the
align:start position:0%
align:start position:0% future for123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466PROFESSOR PATRICK WINSTON: I wasin Washington for most of
the week prospecting for gold.
Another byproduct of that wasthat I forgot to arrange a
substitute Bob Berwick forthe Thursday recitations.
I shall probably goto hell for this.
In any event, we havemany explanations,
none of them good.
But today we'll try to get backon track and you'll learn
something fun.
In particular you will learn howa graduate student of mine
Mark [? Phillipson ?], togetherwith a summer UROP
student, Brett van Zuiden,one of you--
managed to pull off a tour deforce and recognize in these
two descriptions the patternthat we humans commonly call
"revenge." It was discovered.
The system didn't have aname for it, of course.
It just knew that there was apattern there and sat waiting
for us to give a name to it.
That's where we'regoing to end up.
But it'll be a bit of a journeybefore we get there,
because we've got togo through all that
stuff on the outline.
And in particular, we wantto start off by a
little tiny bit of review.
Because some of the stuffwe did last time
went by pretty fast.
In particular, you may rememberthey had this
wonderful joint probabilitytable, which tells us all we
want to know, allwe want to know.
We can decide what theprobability of the police
being called is given the thisand the that, and all that
sort of stuff, by clickingthe appropriate boxes.
The trouble is, gee, there areonly three variables there.
And when there are lots ofvariables it gets pretty hard
to make up those numbers orto even collect them.
So we're driven toan alternative.
And we got to that alternativejust at the end of
the show a week ago.
And we got to the point wherewe were defining these
inference nets, sometimes called"Bayes nets." And the
one we worked withlooked like this.
There's a burglar, a raccoon,the possibility of a dog
barking, the police beingcalled, and a trash can being
overturned.
So more variables than that.
That only has three.
This has got five.
But we're able to do some magicwith this because we, as
humans, when we define--
when we draw this graph we'remaking an assertion about how
things depend or don't dependon one another.
In particular, there's somethingto break down and
memorize to the point whereit rolls off your tongue.
And that is that any variable onthis graph is said by me to
be independent of any other
non-descendant given its parents.
Independent of any
non-descendant given its parents.
So that means that theprobability of the dog
barking, given its parents,doesn't depend on T, the trash
can being overturned.
Because the intuition is allof the causality is flowing
through the parents and can'tget to this variable D without
going through the parents.
So that is [? inserted ?]
property of the netsthat we draw.
And we tend to draw them in away that reflects causality.
So it tends to make sense.
So somehow this thingis going to be--
we're going to use this thinginstead of that thing.
But wait.
We may need that thing inorder to do all the
computations we wantto perform.
So we need to be able to showthat we can get to that thing
by doing calculationson this thing.
So what to do?
Well, we're going touse the chain rule.
And remember that the chain rulecame to us by way of the
basic Axioms of Probabilityplus the definition plus a
little colored chalk.
So we got to the pointlast time where we
sort of believed this.
It's a really magical thing.
It says that the probabilityof all this stuff happening
together is given as theproduct of a bunch of
conditional probabilities.
And the conditionalprobabilities in this product
are arranged such that thisfirst guy depends
on everybody else.
The second guy doesn't dependon the first guy but depends
on everything else.
So that list of dependenciesgets smaller and smaller as
you go down here until itdepends only one thing.
There's no conditional at all.
So that's going to come to ourrescue because it enables us
to go from calculations inhere to that whole table.
But first I have to show you alittle bit more slowly how
that comes to be.
One thing I'm going to dobefore I think about
probability is I'm going tomake a linear list of all
these variables.
And the way I'm going to makeit is I'm going to chew away
at those variablesfrom the bottom.
I've taken advantageof a very important
property of these nets.
And that is there no loops.
You can follow the arrowsin any way so as
you get back to yourself.
So there's always goingto be a bottom.
So what I'm going to do is I'mgoing to say, well, there are
two bottoms here, there's Cand T. So I have a choice.
I'm going to choose C. So I'mgoing to take that off and
pretend it's notthere anymore.
Then I'm going totake this guy.
That's now a bottom becausethere's nothing below it.
I've already taken C out.
So we'll take that out next.
And now I've got this guy,this guy, and this guy.
This guy no longer hasanything below it.
So I can list it next.
Now over here I've gotraccoon and trashcan.
But trashcan is at the bottom.
So I've got to take it nextbecause I'm working
from the bottom up.
I want to ensure that there areno descendants before me
in this list.
So finally I get to raccoon.
So the way I constructed thislist like so ensures that this
list arranges the elements sothat for any particular
element, none ofits descendants
appear to its left.
And now that's the magical orderfor which I want to use
the chain rule.
So now I can write--
I can pick C to bemy variable n.
And I can say that the chainrule says that the joint
probability of all thesevariables P of C,
D, B, T, and R--
the probability of anyparticular combination of
those things is equal to theprobability of C given
everybody else.
Next in line is D giveneverybody else.
Next in line is T--
next in line is B giveneverybody else.
And next in line is T giveneverybody else.
And finally, just R. So thiscombination of things has a
probability that is given bythis chain rule expression.
Ah.
But first of all, none of thoseexpressions condition
any of the variables onanything other than
non-descendants, all right?
That's just because of the wayI've arranged the variables.
And I can always do thatbecause are no loops.
I can always chew awayat the bottom.
That ensures that whenever Iwrite a variable, it's going
to be conditioned on stuff otherthan its descendants.
So all of these variables inany of these conditional
probabilities arenon-descendants.
Oh wait.
When I drew this diagram, Iasserted that no variable
depends on any non-descendantgiven its parents.
So if I know the parents ofa variable I know that the
variable is independent of allother non-descendants.
All right?
Now I can start scratchingstuff out.
Well, let's see.
I know that C, from my diagram,has only one parent,
D. So given its parent, it'sindependent of all other
non-descendants.
So I can scratch them out.
D he has two parents, B and R.But given that, I can scratch
out any other non-descendant.
B is conditional on T and R.Ah, but B has no parent.
So it actually is independentof those two guys.
The trashcan, yeah, that'sdependent on R. And R over
here, the final thing in thechain, that's just a
probability.
So now I have a way ofcalculating any entry in that
table because any entry in thattable is going to be some
combination of values forall those variables.
Voila.
So anything I can do with atable, I can do in principle
with this little network.
OK?
But now the question is, I'vegot some probabilities I'm
going to have to figureout here.
So let me draw a slightlydifferent version of it.
So up here we've got the apriori probability of B. Well,
that's just probability of B.Down here with the dog, I've
got a bigger table because I'vegot probabilities that
depend on the valuesof its parents.
The probability of dog barkingdepends on the condition of
the parents, nothing else.
So let's see.
I've got to have a column forB. I've got to have a column
for the burglar andthe raccoon.
And there are a bunch ofpossibilities for those guys.
But once I get those then I'llbe able to calculate the
probability of thedog barking.
So there are two ofthese variables.
So there are fourcombinations.
There's T T. There'sT R, R T, and--
whoa, what am I doing?
Wake up!
T false.
False true.
And false false.
So what I really want to do isI want to calculate all of
these probabilities that givethe probability of the dog
condition of the burglarand the raccoon.
Similarly, I want to calculatethe probability of B happening
doesn't depend onanything else.
So I don't know what to do.
Well, what I'm going to actuallydo is I'm going to do
the same thing I hadto do up there.
I'm going to keep track of--
I'm going to try a bunch of--
I'm going to get myself togethera bunch of data.
Maybe I do a bunchof experiments.
Maybe somebody hands it to me.
But I'm going to use that datato construct a bunch of
tallies which are going to endup giving me the probabilities
for all of those things.
So I don't know, let's see.
How should we start?
Step one, find colored chalk.
Step two, I'm going to extendthese tables a little bit so I
can keep track of the tallies.
So this is going to be allthe ones that end up in a
particular row.
And these are going to be theones for which dog is true.
Similarly, I'm going to extendthis guy up here in order to
keep track of some tallies.
This is going to be the onesfor which B is true.
And this one will be all.
So that's my set up.
And now suppose that my firstexperiment comes roaring in.
And it's all T's.
So I have T T T. That's my firstexperimental result, my
first data item.
So let's see.
The arrangement here isburglar, raccoon, dog.
So burglar as a true.
And there's one tallycount in there.
Likewise, the T T, that's theburglar and the raccoon, that
brings me down tothis first row.
So that gives me one tally inthere and dog is true so that
gives me a tick markin that one.
All right?
Are you with me so far?
And now let's supposethat the next thing
happens be all false.
Well, burglar is false.
But there is one experiment.
Everybody's false.
So we come down hereto false false.
And that's the row we'regoing to work on.
We get a tally in there.
Do we put one in here?
No, because that's false.
Dog is false.
That's what our dataelement says.
So that's cool.
Maybe one more.
Let's suppose we have T T F.Well in that case, we have a
tick mark here and a tick markhere because the burglar
element is true.
Then we have T T. That bringsus to the first row again.
So we get a tick mark there.
But dog as false, sono tick mark there.
That's how it works.
I suppose you'd like to seea demonstration, right?
Always like to seea demonstration.
So here's what it actuallylooks like.
So on the left you see thenetwork as we've constructed
it, with a bunch probabilitiesthere.
And what I'm going to do nowis I'm going to start
simulating away so as toaccumulate tick marks, tally
marks, and see what kinds ofprobabilities that they
indicate for the table.
I happen to be using a processfor which the model on the
left is a correct reflection.
So there's one simulation.
So the dog barking--
let's see, the burglaris false.
The raccoon is true.
I get one tick mark.
So the probabilitythere is one.
Of course, I'm not goingto just go with one.
I want to put a whole bunchof stuff in there.
So I'll just run a bunchmore simulations.
No [? dice. ?]
I don't even have an entryat all yet for T F here.
That's because I haven'trun enough data.
So let me clear it instead ofdoing it one at a time.
Let me run 100 simulations.
See, it's still not too good.
Because it says this TT probability true.
This just because I'm feedingit data, right?
And I'm keeping track of whatthe data elements tell me
about how frequently a
particular combination appears.
Yes, [INAUDIBLE]
STUDENT: So when you're doingone simulation, is that
[INAUDIBLE] variables?
PROFESSOR PATRICK WINSTON: WhenI'm doing one simulation,
I'm just keeping track ofthat combination in
each of these tables.
Because it's going to tellme something about the
probabilities that I wantreflected in those tables.
So it's pretty easy to see whenI go up here to burglar.
If I have a lot of dataelements, they're all going to
tell me something aboutthe burglar as well
as the other variables.
So if I just look at thatburglar thing, the fraction of
time that it turns out true overall the data elements is
going to be its probability.
So now when I go down to thejoint tables, I can still get
these probability numbers.
But now they're conditionedon reticular
condition of its parents.
So that's how I get theseprobabilities.
So I didn't do too well herebecause that T T combination
gave me an excessivelyhigh probability.
So maybe 100 simulationsisn't enough.
Let's run 10,000.
So with that much data runningthrough, the probabilities I
get-- let's see, I've got 893here, instead of 0.9, 807
instead of 0.8, 607instead of 0.6.
And that one's dead-onat 0.01.
So if I run enough of thesesimulations, I get a pretty
good idea what the probabilitiesought to be
given that I've gota correct model.
OK, so that takes careof that one.
And of course, I didn't drawthe other things in here.
But by extension, you can seehow those would work.
Oh.
But you know what?
I think I will put a littleprobability of
raccoon table in here.
Because the next thing Iwant to do is I want to
go the other way.
This is recoding talliesfrom some process so I
can develop a model.
But once I've got theseprobabilities, of course, then
I can start to simulate whatthe model would do.
All right?
How would I do that?
Well, do I want to usethe same table?
I think just to keep thingssanitary, what I'll do is I'll
go over here and do it again.
Here's B. It's got a probabilityof B. Here's R.
Here's a table probability ofR. That comes down into a
joint table for dog.
And it's got four elements.
Depending on the burglarcondition and the raccoon
condition, we get a probabilityof dog.
And now, imagine these haveall been filled in.
So what do I want to do if Iwant to simulate this system
generating some combination ofvalues for all the variables?
Well, I do the opposite of whatI did when I was working
around with this chain ruleshowing that I could go from
the table to thoseprobabilities.
Now I've got theprobabilities.
I'm going to go theother direction.
Instead of chewing away from thebottom, I'm going to chew
away from the top.
Because when I go into the topand chew way, everything I
need to know to do acoin flip is there.
So in particular, when I goup in here, I've got the
probability of burglar now.
So I'm going to use thatprobability to flip a coin.
Say it produces a T. So thattakes care of this guy.
And I can now scratch it offsince it's no longer in
consideration.
It's no longer a top variable.
So now I go over into raccoonand I do the same thing.
I take this probability.
I do a flip.
And say it produces an F.Whatever its probability is, I
flip a biased coin and that'swhat I happen to get.
But now, having dealt with thesetwo guys, that uncovers
this dog thing.
And I've got enough information,because I've done
everything above, to make thecalculation for whether to dog
is going to be barking or not.
But wait.
I have to know that I've got a Tand a T and a T and an F and
an F and a T and an F and anF. Because I have to select
the right row.
So I know that B is T. And Iknow that R is F. So that
takes me into the tableinto the second row.
So now I get this probability.
I flip that coin and I get someresult, say, T. Voila.
I can do that with theother two variables.
And I've got myself anexperimental trial that is
produced in accordance with the
probabilities of the table.
OK?
Of course--
yeah, in fact, how didI get those numbers?
Actually what I did is I usedthe model on the left to
generate the samples thatwere used to compute the
probabilities on the right.
So you've seen that ademonstration of this already.
Now of course--
I don't know, all of this sortof depends on having
everything right.
I've written a thing to writeit one more time.
Burglar, raccoon, dog, callthe police, trashcan.
But somebody else may say, oh,you've got it all wrong.
This is what it reallylooks like.
The dog doesn't care aboutthe raccoon at all.
So that's a correct model.
Now when I do a simulation, Icould fill in the tables in
either model, right?
I'm sure you'd like tosee a demonstration.
So let me show you ademonstration of that.
So there are the two tables.
And I can run 10,000simulations
on those guys, too.
Now, look.
The guy on the left is a prettygood reflection of the
probabilities in a model Iused to produce the data.
But the guy on the right doesn'tknow any better. it
just fills in itsown tables, too.
So what to do?
I say this one's theright model.
And you say that one'sthe right model.
Who's right?
Maybe we'll never know.
And the guy on the left will getrich in the stock market
and the guy on the rightwill go broke.
I would be nice ifwe could actually
figure out who's right.
So would you to see how tofigure out who's right?
Yeah, so would I. What we'regoing to do is we're going to
look at naive Bayesianinference.
And that's our next chore.
So here's how it works.
We know, from the definition ofconditional probability, we
know that the probability ofA given B is equal to the
probability of A andB divided by the
probability of B, right?
Equal to by definition.
So that means that theprobability of A given B times
the probability of B--
I'm just multiplying it out--
it equal to that jointprobability.
Oh, but by symmetry, there's noharm in saying I can turn
that around and say that theprobability of B given A times
the probability of B is alsoequal to that joint
probability, right?
I've just expanded it adifferent and symmetric way.
If I've got to write a, b onB, b, a on A. Thank you.
Who was complaining?
Good work.
That would have been amajor-league disaster.
But now, having written that, Ican forget about the middle.
Because all I'm reallyinterested in is how I've
turned the probabilities aroundin that conditional.
Why would I care aboutdoing that?
By the way, we're now talkingabout the work of
the Reverend Bayes.
Because we can rewrite this yetagain as the probability
of A given B is equal to theprobability of B given A times
the probability of A dividedby the probability of B.
That's just elementaryalgebra.
But now I'm going to dosomething magical.
I'm going to say I've got aclassification problem.
I want to know whichdisease you have.
That's a classificationproblem.
Maybe you've gotthe swine flu.
Maybe you've got indigestion.
Who knows.
But I get all these symptoms.
I get all these piecesof evidence.
You've got a fever.
You're throwing--
oh, well, let's not go intotoo much detail, there.
But what I'm going to do is I'mgoing to say, well, let's
suppose that A is equal to aclass that I'm interested in,
the disease you've got.
And B is equal to the evidence,
the symptoms I observe.
Voila.
I may have a pretty hard timefiguring out what the
probability of the classis given the evidence.
But figuring out the probabilityof the evidence
given the class mightnot be so hard.
Let me get another board in playand show you what I mean.
By plugging class and evidenceinto Bayes' rule, what I get
is the probability of some classgiven the evidence is
equal to the probability of theevidence given the class
times the probability of theclass divided by the
probability of the evidence.
Now you've got to let thatsing to you a little bit.
Suppose I've got several classesthat I'm trying to
decide between.
I'm trying to select the bestout of that batch of classes.
Well, I've got the evidence.
And if I know the probability ofthe evidence given each of
those classes, and if I know,a priori, the initial
probability the class,then I'm done.
Because I've got the twoelements in the numerator.
Why am I done?
Because the denominator is thesame for all the classes.
It's just the probabilityof the evidence.
And then I could justsum everything up.
I know it adds to 1 anyway.
So that's cool.
But sometimes there'sevidence--
actually there's more thanone piece of evidence.
Let's say that there'ssome class.
some i, and we're trying tofigure out if that's the
correct class.
So we've got c sub i thereand c sub i there.
And suppose that that evidenceis actually a bunch of pieces
of evidence.
So it could be e sub1, e sub n, oops,
premature right bracket.
All that evidence, given theclass i times the probability
of the class i over somedenominator that we don't care
about because it's going tobe the same for everybody.
So we'll just write that as d.
Now what if these pieces ofevidence are all independent
given the class?
So if you have the swine flu,the probability you have a
fever is independent of theprobability you're going to
throw up, say.
Then can we write thisanother way?
An easier way?
Sure.
Because when things areindependent, the joint
probability is equal to theproduct of the individual
probabilities.
So that is to say--
it's easier to see it if youwrite it down than if
you just say it--
this probability here from thesetwo elements here is
equal to the probability of esub 1 conditioned on c sub i
times the probability of e sub2 conditioned on c sub i, all
the way down to the probabilityof e sub n
conditioned on c sub i dividedby some denominator we don't
care about.
See, what I'm going to try to dois I'm going to go through
this for all the ci and seewhich one's the biggest.
STUDENT: That's the [INAUDIBLE]ci, right?
PROFESSOR PATRICK WINSTON: Thisis the probability of--
STUDENT: [INAUDIBLE]
right-hand side [INAUDIBLE].
PROFESSOR PATRICK WINSTON:Right here?
Oh yes, you're quite right.
Oh yeah, thanks.
I can't write and thinkat the same time.
Thanks.
OK.
So I've just figure out whichone of these is the biggest.
And I've identified the class.
Now you say to me, well, I wouldlike to see an example.
So--
I don't know, does anyonehave any spare change?
A nickel, a quarter.
This is not because ofinfinitesimally low raises
here at MIT.
I just need it fora demonstration.
I need two coins.
Don't forget to get theseback, I tend to be--
Now suppose these two coinsare not exactly the same.
One of these points is alegitimate, highly-prized
American quarter.
The other one is a fake.
And with this one, theprobability of heads, let us
say, is 0.8 instead of 0.5.
So I mix these all up.
And I pick one.
And I start flipping it.
And I get a head.
Then I flip it again.
And I get a tail.
Which coin did I pick?
Well, we're going to use thisstuff to figure it out.
Here's what happens.
Before I forget.
Thank you very much.
So what we've done iswe've selected these
things from my hands.
And I can't draw hands.
So I'll draw a littlecup here.
And there are twocoins in here.
And we're going to pick one.
And one has a probabilityof heads equal to 0.8.
And this one has a probabilityof a head of 0.5.
So here's the draw.
I pick one.
Each has a probability of 0.5.
This one is the one withthe 0.8 as the
probability of head.
And this one is theone with the
probability of 0.5 as a head.
OK?
So now suppose the first flipsas it was is T. Well, that's a
piece of evidence.
That's here.
Probably of evidencegiven the class.
Well in the case of having drawnthis biased coin, the
probability of coming up with atail-- ah, let's say a head,
just to make my numbersa little easier.
Probability of coming out therewith a head is equal 0.8
given that it's up herein this choice.
The probability given that youhave a fair coin is 0.5.
So now if we take the next coinand take it to be a tail
then the probabilityof this guy given
that evidence is 0.2.
And the probability of this guygiven that evidence-- it's
a fair coin, so itdoesn't care.
It's still 0.5.
So now what's the probabilityof this
class given this evidence?
It's the product 0.5 times0.8 times 0.2.
And what's the probabilityof this guy?
It's 05 times 0.5 times 0.5,divided by a denominator which
is the same in both cases.
So let's forget aboutthis early 0.5 here.
Because it's the samein both cases.
And we just multiply thosenumbers together.
That gives us 0.8 times 0.2.
What's that?
0.16?
And this guy, 0.5 times0.5, that's 0.25.
So it looks an awful lot like--with this combination--
that I've picked thecoin that's fair.
One more flip?
So let's flip it again,and suppose we
come up with a head.
So that puts a 0.8 in here.
And 0.5 in here.
When you multiply thoseout that's 0.125.
And this is 0.128.
So it's about equal.
So you see how that works?
All right.
So we're using the coin flipsas evidence to figure out
which class is involved.
OK so I don't know, you'dprobably like to see a
demonstration of this,too, right?
You say to me, gosh, justtwo kinds of coins.
That's not very interesting.
Let's try five kinds of coins.
So what I want to show you ishow the probabilities for all
these coins-- there are fiveof them, color-coded--
how the probabilities varywith a series of flips.
Let's suppose I'vegot a head--
the grey line, by the way, isthe fraction of heads--
so that's going to be one.
Because I'm just doing heads.
You see that blackline rising?
Should look like a rocket.
That's the probabilitythat the--
that's the coin which only showsheads, the probability
of head is 1.
And I'm flipping a wholebunch of heads here.
Isn't that cool?
Now what happens if I suddenlyput in a tail?
By the way, you'll no doubt,here one the extreme left--
the initial probability ofthe P=0 coin was 0.1.
As soon as I flipped ahead that went to 0.
And it will never getoff 0, right?
That makes sense.
Because if the probability thatyou'll get a head is 1
you should never see a tail.
If you ever do, thatisn't your coin.
What happens now if I interrupta series of heads
and produce a tail?
STUDENT: [INAUDIBLE].
PROFESSOR PATRICK WINSTON:What's that?
STUDENT: [INAUDIBLE].
PROFESSOR PATRICK WINSTON: Theblack one will go to 0.
What else happens?
By the way, the blue one isthe one with the highest
probability of being a head.
[INAUDIBLE]
Boom!
That blue one shot up.
Not going up slowly.
It shot up.
Because now the preponderanceof evidence with all those
heads is that I've flipped thecoin with a bias of 0.75
towards heads.
So let's clear this.
Pick any probability you want.
0.25, 0.5, and so on.
I don't know, let's pick0.25 since we've been
at the upper end.
So orange is 0.25.
And sure enough, the probabilitythat I've selected
the 0.5 coin is going up andup and up and up after the
original irregularity.
The Law of Large Numbersis setting in.
And a probability that I've gotthat 0.25 coin in play is
pretty close to 1.
All right.
So that's cool.
Now you say to me, that'sawfully nice but stop.
Awfully nice, but notvery real-world-ish.
So let me give youanother problem.
It's well-known that you are,with high probability, of the
same political persuasionas your parents.
So if I wanted to figure outwhich party a parent belongs
to, I could look at theparty that their
children belong to, right?
So it's just likeflipping coins.
The particular coinI have chosen
corresponds to the parent.
Individual flips correspond tothe political party that the
child belongs to.
So let's get up a little bit--
by the way, I wrote all thisstuff over the weekend.
So who knows if anyof it will work.
But let's see.
A parent party classifier.
There it is, Democratsand Republicans.
And now the prior for being aRepublican given here is 0.5.
But I don't know, this is alittle bit Democratic state.
So let's adjust thatdown a little bit.
Somewhere in there might beabout right But let's just,
for the sake of a classroomillustration, go down here.
So now the meter is showing theprior probability because
that's the only thing inthe formula so far.
I've got no evidence.
So now let's suppose thatchild number one is a
Republican.
Back to neutral.
So I've got a low probabilitythat the parent--
a priori probability that theparent is a Republican and a
child who's a Republican.
I notice that 0.2 and 0.8,the conditional is 0.8.
And the prior is 0.2.
That's why it comes out tobalance each other, right?
So now if we get anotherRepublican in
there it goes way up.
If I have a Democratic childit goes back down.
If I have an equal balancebetween children then it goes
way back down because of thatprior probability being low.
So if I make that high, eventhough the children are
balanced, I'm still going tohave a high probability of
being a Republican.
Now let's see.
If I take that slider there, theconditional probability,
and drive it to the lefthere-- let me make that
equally in.
And let's make that one thing.
I don't know.
What am I doing now?
If I make the probability lessthan 0.5, what's that mean?
That means you're sore at yourparents and you want to belong
to a different party.
All right, so now,what's next?
Oh gosh.
What's next?
This is what's next.
What's next to somewhere?
Yeah, this is what's next.
This here.
We've got two models.
Remember when I said we wantedto decide between them?
Can we use that Bayesianhack to do that, too?
Sure.
Because we've got thesetwo models.
We've got the probabilitiesin them.
So now I can take my data andcalculate the probability of a
left model given the data andthe probability of the right
model given the data, multiplythat times their a priori
probabilities, which I'llassume are equal.
Then I can do a model selectiondeal much in
defiance to what I washinting at before.
so let's try that.
Whoa.
There are my two models.
Yes, there they are.
We've already trained them up.
And they've got theirprobabilities.
Now what we're going to dois we're going to use the
original model to simulatethe data.
So what we're going to do iswe're going to simulate draws,
simulate events, similarlycombinations of all variables
using a model that looks likethe one on the left, that is
the one on the left except forthe slight differences in
probabilities, OK?
Then we're going to do thisBayesian thing and see where
the meter goes.
So we'll run one data point.
Oops, went the wrong way.
Makes me nervous.
I just finished this at 9:15.
Maybe there's a bug.
Oops, two data points,swings to the left.
Three data points, backto the right.
Of course that'snot much data.
So let's put somemore data in.
Yeah.
Boom, there it goes.
Let's try that again.
That was cool.
So let's run 1,000 simulationsand one data point.
It bobbles around a littlebit and goes
flat over to the left.
Because that is the model thatreflects the one that the data
is generated from.
So now we got Bayesianclassification, except now the
classification has gone onestep more and it becomes
structure discovery.
We've got two choicesof structure.
And we can use this Bayesianthing to decide which of the
two structures is best.
Isn't that cool?
Well, it's only cool ifyou could do what?
So if you had two choices--
you can select between themand pick the best one--
but there are--
gosh, for this number ofvariables, there are a whole
lot of different networks thatsatisfy the no looping
criteria and don't havevery many parents.
There's an awful lot of them.
In fact, if you strict thisnetwork to two parents there
are probably thousands andthousands of possible
structures.
So do I try them all?
Probably not.
It's too much work when youget 30 variables or
something like that.
So what do you do?
We know what to do, right?
We're almost veterans a 6034.
We have to search!
So what we do is we take theloser and we modified it.
And then we modify it again.
And we keep modifying it untilwe drop dead or we get
something that we'rehappy with.
So let's see what happens ifwe change this problem a
little bit and do structurediscover.
We're starting out withnothing linked.
And we're going to just startrunning this guy.
So what's going to happenis that the
good guy will prevail.
And the bad guy will bea copy of the good guy
perturbed in some way.
So it's a random search.
You'll notice that score--
it's too small foryou to read.
All these things aretoo small to read.
Let me make it alittle bigger.
Too small to read, but thatnumber on the right there is
not the product of theprobabilities, actually.
It's the sum of the logarithmsof the probabilities.
They go together, right?
And the reason you use thisinstead of the probabilities
is because these numbers getso small that was a 32-bit
machine, you eventually lose.
So use the log of theprobabilities rather than the
product of the probabilities.
You use the sum of the logsinstead of the product of the
probabilities.
And eventually, you hope thatthis thing converges on the
correct interpretation.
But you know what?
This thing is so flat as a spaceand so a large and so
telephone pole-like that it'sfull of local maxima.
So what this program is doingis every once in awhile--
I think with probability1 and 10; I forgot what
parameters I used--
every once in awhile, it'll doa total radical rearrangement
of the structures.
In other words, it'sa random restart.
It keeps track of thebest guy so far.
And every once in awhile it doesa totally random restart
in its effort to searchthe space.
So that's how you go fromprobabilistic inference to
structure discovery.
Now when is this stuffactually useful?
Well, I hinted at a medicaldiagnosis, right?
That's a situation where you'vegot some symptoms.
And you want to know whatthe disease is.
So as soon as you use thekeyword "diagnosis," you've
got a problem for which thisstuff is a candidate.
So what other kinds of diagnosisproblems are there?
Well, you might belying to me.
So I can put a liedetector on you.
And each of those variables thatare measured by the lie
detector are an independentindication whether you're
telling the truth or not.
So it's this kind of Bayesiandiscovery thing.
Naive Bayesian Classification.
What other kinds ofproblems speak to
the issue of diagnosis?
Well, we like to know how wellyou know the material!
So we can use quizzes aspieces of evidence.
Thank god we don't use exactlya naive Bayesian classifier,
because then we wouldn't be ableto do that combination.
We have to use a slightlymore complex--
what you can think of as aslightly more complex Bayesian
net to do that particularkind of diagnosis.
You might have a spacecraft oran airplane or other piece of
equipment with all sortsof symptoms.
You're trying to figureout what to do next,
what the cause is.
So using the evidence to gobackward to the cause.
So maybe you've got some programthat doesn't work.
Happens to me a lot.
So I use the evidence from thesymptoms of the misbehavior to
figure out what the mostprobable cause is.
But now to conclude the day--last time there weren't any
powerful ideas.
But if you take the combinationof the last
lecture and this lecture to bea candidate for gold star
ideas, these are the ones I'dlike to leave you with.
We got here is--
this Bayesian stuff, all theseprobabilistic calculations are
the right thing to do.
They're the right way to workwhen you don't know anything,
which would make it sound likeyou're not very useful,
because you think you always--well, in fact, there are a lot
of situations where you eithercan't know everything, don't
have time to know everything,or don't want to take the
effort to know everything.
So in medical diagnosis allyou've got is the symptoms.
You can't go in there and figureout in a more precise
way exactly what's wrong.
So you use the symptoms todetermine what the cause is.
And then all those other kindsof cases that I mentioned.
But now, what other kinds ofstructure discovery are there?
Well, the kind of structurediscovery that I hinted at in
the beginning will be thesubject that we'll begin with
during our next and sadly finalconversation here in
[? 10250 ?]
on Wednesday.
It will feature not only adiscussion of how this stuff
can be used to discover patternsand stories, but
we'll also talk about what'son the final, what kind of
thing you could do next, thatsort of thing to finish off
the subject.
And that's the end ofthe story for today.0EMIK-6LUE4.txtAdded+747
0V-vgwcPjGQ.txtAdded
19Ql_Q3l0GA.txtAdded+2326
1Sjt9QDNDYU.txtAdded+123
1jLfD9ulntU.txtAdded+2761
2DDjHvH8d2k.txtAdded
2TL8rY9Rc_A.txtAdded+246
363JQxFwLXg.txtAdded+1363
3hHesQcAYXI.txtAdded
43kl6wi1H6k.txtAdded
5DdKoTFO6Bs.txtAdded
6GAq2w_HBUQ.txtAdded+4218
6LYuK8qI0_s.txtAdded+2316
6QRlpk8ZmPI.txtAdded
6Udqou3vmng.txtAdded+4263
6rjmzV-Wrvg.txtAdded
742FwwA0qKI.txtAdded
7WDiK3flILc.txtAdded+971
7dhuZ6V9tcY.txtAdded+206
7gLcuMtM_HY.txtAdded
7naSckRdOJM.txtAdded+1459
8-7daeS7hYY.txtAdded+1697
8IxHMVf3jcA.txtAdded
8NKsBpjXRt0.txtAdded+1699
8g4UudyOetE.txtAdded+1899
8jpO-p1YvdM.txtAdded+1379
8r_cJIHv3A0.txtAdded+270
98X2TyxXQdU.txtAdded+1531
9JXMg32f09w.txtAdded+1599
9RqFFlZgf60.txtAdded+1578
9TtLlVBjvR0.txtAdded
9eWKuWyXYKY.txtAdded+1043
9syvZr-9xwk.txtAdded
9yFkrh7-igc.txtAdded+731
ABX-Hvn8ymE.txtAdded
AO7F0n2Dclc.txtAdded
Ao41FrJFgvQ.txtAdded
B6mK4IyRYiA.txtAdded+387
BAoaC8O3X7I.txtAdded+3240
BTNsoSNR5B0.txtAdded+2276
BtaVq2g17G0.txtAdded
CMmB8KtbT1U.txtAdded
CT9lYy6qSfg.txtAdded+852
CZwgOqxScB4.txtAdded
D2Jn1VrqjWI.txtAdded
D8icilnxcy4.txtAdded
D_EGYzqmapc.txtAdded+899
DidA5vk0h_U.txtAdded+499
EC6bf8JCpDQ.txtAdded+2466
EDRa-ESxmJY.txtAdded