Lec 7 | MIT 6.042J Mathematics for Computer Science, Fall 2010

Поделиться
HTML-код
  • Опубликовано: 29 дек 2024

Комментарии • 105

  • @riteshrai7005
    @riteshrai7005 9 лет назад +191

    this teacher is really awesome.

    • @sababsalam4570
      @sababsalam4570 8 лет назад +1

      Exactly.

    • @somemathkid2889
      @somemathkid2889 6 лет назад +13

      having this guy switch on and off lectures with the other guy is like giving and taking away cake from a fat kid

    • @AkmalAnvarov1
      @AkmalAnvarov1 5 лет назад

      @@somemathkid2889 very true!

    • @lyd7724
      @lyd7724 4 года назад +6

      @@somemathkid2889 Yeah, I really wish there's a version of him teaching all the lessons.

  • @manisht5776
    @manisht5776 5 лет назад +12

    It feels orgasmic to get an MIT lecture free of cost. The world is a good place now.

  • @yanfengliu
    @yanfengliu 7 лет назад +81

    I like how the views go down exponentially later into the semester.

    • @JeronimusJack
      @JeronimusJack 6 лет назад +6

      zipf law :D

    • @ximecreature
      @ximecreature 4 года назад +6

      Exactly like class attendance. One of my teachers at the university told it was the communicating vases principle : less people in the auditorium, more people drinking at the terraces

  • @sanjay005
    @sanjay005 7 лет назад +28

    I wish I could give more than one like for lectures from this professor.

  • @hp-qx7tf
    @hp-qx7tf 8 лет назад +18

    he's a complete teacher

  • @jaditi930
    @jaditi930 2 года назад +3

    Blockbuster professor and blockbuster lecture.A zillion thanks to MIT for making it free!

  • @barisdenizsaglam
    @barisdenizsaglam 4 года назад +69

    "On Tuesday, we talked about sex and today we're gonna talk about marriage." Aren't we moving too fast?

  • @ojussinghal2501
    @ojussinghal2501 4 года назад +17

    26:08 Well, that was smooth...

  • @georgesadler7830
    @georgesadler7830 3 года назад +2

    This is another fine lecture on Computer Science number one topic algorithms. Matching Problems use different algorithms to generate a solution that makes sense.

    • @NazriB
      @NazriB 3 года назад

      Lies again? MRT MIT

  • @gregalexludwig
    @gregalexludwig 9 лет назад +41

    01:02:28 Student on the left is NOT buying that

  • @wasp4932
    @wasp4932 8 лет назад +29

    I'm desperate for the recitation videos.

  • @smithcodes1243
    @smithcodes1243 8 лет назад +31

    Fast forward to 2016 >> Angelina don't seem to really like Brad .

  • @mayonesacosmica
    @mayonesacosmica 11 лет назад +4

    awesome choice of sociological parallel. very clever and applicable indeed.

  • @User-cv4ee
    @User-cv4ee 4 года назад +10

    The students with the feet on top of the chair in front of them, come on guys, someone else will rest their head on it someday!
    Also, it feels disrespectful to the instructor. Like have some sense of decorum.

  • @sakcee
    @sakcee 7 лет назад +21

    lol "doing their 6.042 hw together at night"

    • @DolganoFF
      @DolganoFF 5 лет назад

      This is like he spied on me :D
      Been in this exact situation during my student years.

  • @marxman1010
    @marxman1010 9 лет назад +2

    In the video, at 48:19, Thm1 says TMA terminates in

    • @shivakumargupta4014
      @shivakumargupta4014 6 лет назад

      Where did you get the course note from?

    • @somemathkid2889
      @somemathkid2889 6 лет назад +1

      Shiva kumar Gupta ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-042j-mathematics-for-computer-science-fall-2010/readings/MIT6_042JF10_chap05.pdf

  • @SivaramakrishnanSivakumar
    @SivaramakrishnanSivakumar 11 лет назад +2

    In the last proof , his assumption was that there exist a worser matching for G, in which the girl G has a boy B' married to him and B' is worser than G's match in TMA .but by Thm 4 , the boy B who is married to G in TMA has his favorite match in TMA , but in this matching B doesnt like his mate (compared to TMA) .thus B , G form a rogue couple .
    So no such stable matching in which G has worser mate exist

  • @samurai839
    @samurai839 3 месяца назад

    48:32
    I think there is a stronger statement as it will terminate in

  • @sobreinquisidor
    @sobreinquisidor 9 лет назад +3

    Just Amazing

  • @adriaandeclercq1766
    @adriaandeclercq1766 8 лет назад +1

    THM 1: Each boy has N girls on his list. So if the algorithm terminates in n^2 + 1 days doesn't that mean that each boy made N cross outs. In other words didn't each boy get denied by each girl and thus have no more options left? Wouldn't the maximum number of steps therefor be (n-1)^2 +1

    • @chrishase6799
      @chrishase6799 8 лет назад +1

      +Adriaan de Clercq The proof of N^2 + 1 doesn't necessarily intend to come close to the actual # of days it would take. It's just an upper bound created using basic reasoning. I'm sure you could prove something stronger like what you're saying.

    • @pietroehrlich6907
      @pietroehrlich6907 8 лет назад

      damn I have the same profile picture!!!! love for pi

    • @umutcansalman6772
      @umutcansalman6772 4 года назад +1

      I was thinking to put the same comment actually. Yes, it is true. In the original proof of Gale and Shapley 1962, it says that the algorithm ends at most in (n-1)^2+1 stages.

  • @carolynlambert8797
    @carolynlambert8797 Год назад

    great teacher

  • @SivaramakrishnanSivakumar
    @SivaramakrishnanSivakumar 11 лет назад +1

    lovely lecture...

  • @kapilsrivatsa3040
    @kapilsrivatsa3040 6 лет назад +2

    At 24:55 he says "tomorrow at recitation..." does he mean the lecture by Dr. Marten van Dijk, because he just seems to like recite from his notes ?

    • @mitocw
      @mitocw  6 лет назад +10

      There are recitations. Sorry we don't have videos of those but we do have written notes for them. See the Recitations section of the course on MIT OpenCourseWare at: ocw.mit.edu/6-042JF10.

    • @jayant9151
      @jayant9151 5 лет назад

      Bro are U doing CS course as well right now

  • @Whongzei
    @Whongzei 10 лет назад +10

    He really looks like tim cook in some shots.

  • @priyanshujain3831
    @priyanshujain3831 8 лет назад +2

    How does we insure that the solution came out of TMA is most fair among all the stable matching possible out of preference list. and how we calculate realm of possibility for each man and woman.

  • @binshuo
    @binshuo 7 лет назад +1

    Watching this video in 2017 and looking at the Brad Jennifer Billy Bob Angelina example, pretty ironic.

  • @akanshkumar2876
    @akanshkumar2876 5 лет назад

    Amazing work!!

  • @PatricioDan
    @PatricioDan 7 лет назад +3

    Is guy on min 4.15 on blue screen installing and old windows or what

  • @algorithmscasts902
    @algorithmscasts902 4 года назад

    excellent lecture, thank you

  • @lee_land_y69
    @lee_land_y69 7 лет назад +2

    I don’t see how proof of theorem 5 proves that girls always get the pessimal mate. Can someone clarify? Thanks. This lecturer is awesome

    • @lee_land_y69
      @lee_land_y69 7 лет назад

      Meaning how it proves that girls never get someone who isn’t neither pessimal not optimal

    • @somemathkid2889
      @somemathkid2889 6 лет назад

      Lee_Land_Y he proposes that there is a worse mate for G than the mate chosen for G using TMA and then goes and shows that his proposal is a contradiction thus there is no worse mate for G in any type of matching than the mate G is given using TMA.

  • @sujatamanazhy2574
    @sujatamanazhy2574 6 лет назад +1

    @15:55 Sadly Brad and Angelina weren't happy with each other ...

    • @jayant9151
      @jayant9151 5 лет назад

      Brad never got matched with her

  • @ayushabhishekkumar4605
    @ayushabhishekkumar4605 4 года назад +7

    Moral of the story:-
    Regardless of whether you are a boy or a girl, just confess to your beloved.... Who knows you might end up getting your optimal partner🙂
    And of course, #𝙟𝙪𝙨𝙩𝙞𝙘𝙚𝙁𝙤𝙧𝙈𝙚𝙧𝙜𝙖𝙩𝙞𝙤𝙙

  • @KaranSingh-ty5xr
    @KaranSingh-ty5xr 8 лет назад +1

    I dont really understand the first part. How is (Brad-Ang and BB-Jen) not a rogue couple, but (Brad-Jen and BB-Ang) is?

    • @rockstar56410
      @rockstar56410 7 лет назад +3

      Karan Singh if Brad ended up with Jen, nd BB ended up with Ang, we'd be in a situation where Brad and Ang like each other better than their respective spouses, they would "cheat" on their spouses

  • @ElCastinho
    @ElCastinho 9 лет назад

    I know i'm late to the party but at the end, when he proves Thm 3, he uses 2 cases to base his proof upon. In this particular example, it is kind of obvious that there is no other possible cases but imagine a different example where this is not the case. Don't I have to somehow ALSO prove that there is no other possible cases? And so, no matter how trivial, don't I still have to prove it in this example too?

    • @Qladstone
      @Qladstone 8 лет назад +2

      In Theorem 3, the two cases are the following:
      [Case 1: G rejected B] [Case 2: G did not reject B]
      By the law of excluded middle, Case 1 and Case 2 are: mutually exclusive, AND mutually exhaustive - hence they supply all possible scenarios.
      (The law of excluded middle is a logical axiom which says that any proposition can only be true or false - not both, also not neither.)

  • @abdulrahimjalloh8469
    @abdulrahimjalloh8469 4 года назад +5

    Inidans are everywhere flexing knowledge 😂

  • @neevmehta4994
    @neevmehta4994 4 года назад +1

    In the end we proved that a girl cannot be worse off then the suitor provided by the TMA algo, how does that prove that she always marries her pessimal mate ?...is there no possiblity that she does better ? If so how to prove that?

    • @nitinshooter
      @nitinshooter 2 года назад

      There is a possibility. Don't take this lecture's example as simply girls and boys but as aggressors in suitors and waiting suitors. If we switch how the professor matched in 4 days(girl waiting in the balcony) to boys waiting in balcony we will get solution in 1 day without rogue couple. So the thing really is that the aggressor in the case is optimal and the waiting one is pessimal.

  • @paladin1410
    @paladin1410 10 лет назад +2

    In the last proof, Do we need to consider the other case in which some girls have a better choice than the pessimal partner?

    • @karthicks2518
      @karthicks2518 2 года назад

      I have the same question. We only proved it cannot be worse than pessimistic match. But by definition of Pessimistic match, there cannot be any match that's worse than it. So I don't even see a point in his last proof. He must prove that there is no better match than pessimal partner.

    • @Paperb0y
      @Paperb0y 4 месяца назад

      @@karthicks2518 we proved that there is no stable matching where G has a worse partner compared to the partner she has in TMA, hence TMA is the pessimal matching for girls

  • @markogartnar5658
    @markogartnar5658 Год назад +1

    All the dislikes are from Mergatoid.

  • @AstinAshler
    @AstinAshler 3 месяца назад

    Matching algorithm reminds me of a show in Netflix called single inferno.

  • @europebasedvlogs1251
    @europebasedvlogs1251 4 года назад +3

    1:09:49 when you rarely find an Asian struggling. On the left.

    • @scottw5584
      @scottw5584 4 года назад

      LOL. Maybe he did't pre-view the lecture note?

    • @freeeagle6074
      @freeeagle6074 2 года назад

      Seems he was sleeping from doing homework or studying in small hours that day.

  • @abhishekmazumdar2072
    @abhishekmazumdar2072 5 лет назад

    made my day..

  • @azharuddin6096
    @azharuddin6096 2 года назад

    when proving that invariant at around 57 min why was case 2 necessary?

  • @name_with_a_pun
    @name_with_a_pun 5 лет назад +5

    Lovely lecture, such simplicity, and also poor little mergatoid :'(

  • @forkshire2868
    @forkshire2868 2 года назад

    suppose if we try to match boys with girls taking girls as serenaders can we solve the problem ? can any anyone help me out here

  • @flasher702
    @flasher702 4 месяца назад

    Mathematically, there is no reason to split people into two discreet groups to solve the marriage problem. Other resources probably don't need to be split into two exclusive groups to find stable solutions either.
    If you make it so higher weights are better, and allow weights -1 and 0 (values -1 and lower all have the same effect), and make the graph n-node complete, you can run the (nearly) same algorithm and it finds stable pairs without needing to know gender. That is: heterosexuals will never be paired with same-sex partners, homosexuals will never be paired with opposite sex partners, bisexuals will be paired stabily, and people for whom attraction is less important than having any partner at all will potentially get paired with zeros to create stabil pairs, and people who would rather be alone than be paired with a zero, will be alone. Just never pair any resource with something that it weighted at -1.
    This could also be expressed with all positive weights and a >threshhold or

  • @shubhamtalks9718
    @shubhamtalks9718 7 лет назад +2

    can anyone pls provide the proof of thm_4?

    • @lovaaaa2451
      @lovaaaa2451 7 лет назад +2

      Suppose a boy B did not get partnered with his optimal mate in TMA for purposes of contradiction. This means he has the possibility of being partnered with a girl higher up in his set of ranked potential partners {1, 2, ... , n}, say girl x. Girl x then has to choose boy B as opposed to boy A that she got partnered with in TMA, so girl x's set has to change from from {... , A, B, ...} to {... , B, A, ...}. The set of ideal mates does not change, therefore, by contradiction, we have proved that B is pared with his optimal mate.
      (Not ''the proof'', just an attempt, may not be valid)

    • @raining_macondo
      @raining_macondo 3 года назад

      @@lovaaaa2451 this is invalid, nobody says this match has to be done by TMA, so I don't see why you mean by the girl's set has to change.

  • @jodyrjodyr
    @jodyrjodyr 3 года назад

    Isn't it Murgatroyd?

  • @ZukaBE
    @ZukaBE 2 года назад

    bravo

  • @AndreyLisek
    @AndreyLisek 11 лет назад

    thanks! Do you have this lection as text?

  • @abcdxx1059
    @abcdxx1059 4 года назад +3

    i have a feeling i might be mergatoid

  • @knight0x300t
    @knight0x300t 12 лет назад

    Thanks :)

  • @zheng_ding
    @zheng_ding 7 лет назад

    can anyone pls tell me what TMA stands for?

    • @serhankars
      @serhankars 6 лет назад

      The Marriage Algorithm

    • @Originalimoc
      @Originalimoc 6 лет назад +3

      serhan kars The Mating Algorithm

    • @somemathkid2889
      @somemathkid2889 6 лет назад

      Turnaround Management Association. He isn't referring to the mating algorithm.

  • @HemmligtNavn
    @HemmligtNavn 5 лет назад

    Mergatoyd not Mergatoid ;-) -- Heavens to Mergatoyd

  • @jayant9151
    @jayant9151 5 лет назад

    Poor brad :(

  • @t.on.y
    @t.on.y 5 лет назад

    У нас проходят тоже самое за пол пары, что в мит за 7 лекций)

  • @carolynlambert8797
    @carolynlambert8797 Год назад

    I would not pass this class

  • @sakcee
    @sakcee 7 лет назад

    The girl in front is using steno machine!

    • @ankushm3t
      @ankushm3t 5 лет назад

      But they anyways share well formatted digital notes

  • @yehia6404
    @yehia6404 4 года назад

    Hey MIT, Can you keep the camera close to the board? No one wants to see the student asking a question.

  • @122mlb
    @122mlb 4 года назад +2

    What a weird lecture: completely random topics, no formal theory of anything written on the black board, just a bunch of sample math problems thrown away to the students...

    • @bebooooreda7994
      @bebooooreda7994 4 года назад +2

      this is a most typical lectures series !! .... this course is for essential maths for computer science if you know the topic already you can skip it... you ask about formal theory her let me answer you
      - the main theory in lecture 6,7 is a "graph theory" .... the professor start with some definitions (which is the most importent in maths) about graphs .. and then start to say some common associated problems with "graphs theory" such as "Coloring" (in lecture 6) and "matching problem" (in this lecture) which have a several of applications like dating apps , networking , exams scheduling and many more mentioned in the lecture 6,7 ... and in my opinion he choose a clever and interesting examples to state those problems !!

    • @xarmanhsh2981
      @xarmanhsh2981 Год назад

      damn you sound so insecure