GENERATING FUNCTIONS - Discrete Mathematics

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ธ.ค. 2024

ความคิดเห็น •

  • @DavidLimkys
    @DavidLimkys 3 ปีที่แล้ว +88

    Thank you, still helping students 5 years in the future.

    • @maybeyesterday
      @maybeyesterday 2 ปีที่แล้ว +1

      6

    • @deveshh1865
      @deveshh1865 2 ปีที่แล้ว

      at 16:20 why for the blue brackets. (x^2^ x^3^ x^4...) he takes x^2 at the first so he starts at x^2 (x^0 ^x^1 x^2^...) why he starts at x^0 ....

    • @muhammadshayanusman5540
      @muhammadshayanusman5540 2 ปีที่แล้ว +4

      7

    • @MLRTrytonix13
      @MLRTrytonix13 ปีที่แล้ว +3

      8

    • @dennisdong9097
      @dennisdong9097 7 หลายเดือนก่อน +1

      9

  • @NoName-qi7vx
    @NoName-qi7vx 4 ปีที่แล้ว +65

    My professor just said these are the genrating functions and then he went straight to examples. He never, not even once showed how these things actually generate the series. I tried plugging values for x and never got a reasonable output (obviously). He did not once say that you have to do polynomial division. So this entire topic just seemed like magic to me. Thank god you exist

    • @leogao6929
      @leogao6929 2 ปีที่แล้ว

      i hate how shitty college professors are man

  • @ZnCuNO3
    @ZnCuNO3 10 หลายเดือนก่อน +2

    Basically saved my life. That's the explaination I searched for months. A great video

  • @Comand94
    @Comand94 4 ปีที่แล้ว +48

    Dude, you're saving my quarantined ass with this, my online lectures on this topic were very lackluster, thank you.

  • @nielsieboy19
    @nielsieboy19 4 ปีที่แล้ว +7

    Dude you're a legend, after watching your videos I believe I can actually pass my exam!

  • @zemnly
    @zemnly 3 ปีที่แล้ว +4

    I love how lucid yet simple this was.

  • @Rajat-Sharma1
    @Rajat-Sharma1 5 ปีที่แล้ว +3

    I have a test tomorrow and I have just started. Glad to find this video. A useful resource.

    • @programmer4047
      @programmer4047 2 ปีที่แล้ว

      In which class, you were at the time of writing this question?
      I don't think generating functions are taught in schools

  • @zacharyjulian8861
    @zacharyjulian8861 4 ปีที่แล้ว +5

    Thank you so much. You explain things in a simple, easy to understand manner. Your videos are straight to the point so I'm not skimming through a week's worth of my lectures trying to understand this concept.

  • @thegui999
    @thegui999 8 ปีที่แล้ว +231

    I SHOULD MAKE A STATUE IN YOUR HONOR!
    Tell me, how does it feel to save people for their impending doom in some random tests around the globe?
    -Brazilian computer science student

    • @florianveliou
      @florianveliou 7 ปีที่แล้ว +1

      hahaha so true greek computer science student

    • @cosmosisdown962
      @cosmosisdown962 7 ปีที่แล้ว +1

      yes! - Azerbaijani computer science student

    • @nathannelson2710
      @nathannelson2710 7 ปีที่แล้ว +2

      You nailed it on the head! Marine Corps, computer science student here!

    • @anonymousted7302
      @anonymousted7302 6 ปีที่แล้ว +2

      Canada computer science student here.

    • @flaviadeluce9099
      @flaviadeluce9099 6 ปีที่แล้ว +2

      Somehow it feels right to write here: Mathematics major, Turkey :)

  • @cornmasterliao7080
    @cornmasterliao7080 2 ปีที่แล้ว

    Idk how but I feel like even the look of your words make things seem easier to understand. Better than my professor.

  • @TheMesoria
    @TheMesoria 8 ปีที่แล้ว +1

    I hardly suq at english. Understood everything PERFECTLY. Subscription for being good at what you are doing!

  • @ffles
    @ffles 7 ปีที่แล้ว +5

    Wow, I wish my university taught like you did. Your simple use of real world problems abstracted mathematics was a very important (and missing) link that most of us don't get from a formal education.

    • @saipavan851
      @saipavan851 7 ปีที่แล้ว

      You are 100% correct,

  • @vishalchovatiya1361
    @vishalchovatiya1361 2 ปีที่แล้ว

    Thanks very much stumbled on this video after 7-8. And this by far the best video to understand generating functions.

  • @tman7022
    @tman7022 9 ปีที่แล้ว +9

    you have helped me beyond what i can explain :) thanks

  • @muubisgiller
    @muubisgiller 2 ปีที่แล้ว

    Thank you so much. I am sending thanks from Istanbul Technical University. I even read the Brualdi's Combinatorics book but I understand well now.

  • @kashishbakshi9877
    @kashishbakshi9877 7 ปีที่แล้ว +3

    This really helped me get my basics right. Thank You! Keep Uploading More.

  • @JaspreetSingh-oo7ry
    @JaspreetSingh-oo7ry 8 ปีที่แล้ว

    woooohh what a life saver! crisp and clear explanation on generating functions

  • @wangealork4768
    @wangealork4768 10 หลายเดือนก่อน

    This is amazing. Good and appropriate examples.

  • @SuperRockcore
    @SuperRockcore ปีที่แล้ว

    I’m inspired to memorize these now!

  • @lydiahchepkemoi9464
    @lydiahchepkemoi9464 4 ปีที่แล้ว +1

    I would recommend this to economics and statistics students big time

  • @harshitjoshi4561
    @harshitjoshi4561 6 ปีที่แล้ว +1

    Hey TrevTutor, at 3:19, shouldn't you end the red jellybeans at x^6 only as it cannot possibly exceed that. Or maybe it doesnot matter??

  • @hobbyhuman
    @hobbyhuman 8 ปีที่แล้ว

    You are saving my life at exam time here.

  • @jujoropo
    @jujoropo 2 ปีที่แล้ว

    amazing teacher man

  • @justinzhao6814
    @justinzhao6814 2 ปีที่แล้ว

    the first 5 minutes of this vidfeo gave me more understanding than a whole ass online lecture

  • @haileyfiedler6411
    @haileyfiedler6411 2 ปีที่แล้ว

    THIS VIDEO IS AWESOME!!!!!

  • @Coffeemeetscake
    @Coffeemeetscake 8 ปีที่แล้ว +7

    at 12:40, you go from
    =0+1+2x+3x^2+4x^3...
    to
    (1,2,3,4,5,6,...)
    I'm not understanding this. How did you get (1,2,3,4,5,6,...)? Why doesn't it start with 0?

    • @Trevtutor
      @Trevtutor  8 ปีที่แล้ว +3

      0+1=1. The coefficient of x^0 is 1.

    • @Coffeemeetscake
      @Coffeemeetscake 8 ปีที่แล้ว

      Thank you for the speedy response! I'd like to ask a follow up question about that.
      So, from: 0+1+2x+3x^2+4x^3...
      For our list of coefficients, we simply do not list 0. We obtain 1 from x^0. Then, we obtain 2 from the coefficient of x^1, obtain 3 from the coefficient of x^2, etc?

    • @Trevtutor
      @Trevtutor  8 ปีที่แล้ว +8

      You do not list 0 because the first coefficient is the coefficient of x^0.
      0x^0 + 1x^0 = 1x^0.
      If I had 2x^2 + 4x^2 then the list of coefficients would be (0, 0, 6, 0, 0, 0, ...)

    • @Coffeemeetscake
      @Coffeemeetscake 8 ปีที่แล้ว

      TheTrevTutor Thank you!!!!!

  • @sushmitanigam4979
    @sushmitanigam4979 8 ปีที่แล้ว +1

    my heartiest thanx to you. This is superb and the best. Seriously you are the best teacher.

  • @sagnik5511
    @sagnik5511 3 ปีที่แล้ว

    @TheTrevTutor...at 9:47 shouldn't the first series have the formula (1-x^n)/(1-x) instead of (1-x^n+1)/(1-x) ....maybe theres a calculation error coz I rechecked using the G.P. summation formula

  • @paraphoenix6188
    @paraphoenix6188 6 ปีที่แล้ว

    Awesome Awesome Awesome...
    I tried reading a book to learn this subject but my mind just got crushed out... So simple and amazing

  • @yujiabing8820
    @yujiabing8820 7 ปีที่แล้ว

    so clear and easy to understand for me.

  • @ddiq47
    @ddiq47 ปีที่แล้ว

    *clicks on video* this is exactly what I was looking for :)

  • @amirhosseinsafari1662
    @amirhosseinsafari1662 6 ปีที่แล้ว

    YOU ARE A LIFE SAVER, Thank you man.

  • @Arnius_Music
    @Arnius_Music ปีที่แล้ว

    15:40 would you please explain to me why does this go to infinity?? and not to x¹²?? i couldnt understand the exolanation of the video

  • @rajeshdansena
    @rajeshdansena 7 ปีที่แล้ว

    at 15:30 Why should we go higher then x^12 for x1??? since x1+x2+x3=12 and x1>=2 hence it should be x^2,x^3,x^4,x^5,x^6,x^7,x^8,x^9,x^10,x^11,x^12. Please clarify! Appreciate your response.

    • @Trevtutor
      @Trevtutor  7 ปีที่แล้ว

      It's slightly simpler to write out functions that go on forever than cutting them off. It doesn't change the coefficients at all, so it's inconsequential if we go further or not.

  • @tejassoni1687
    @tejassoni1687 8 ปีที่แล้ว +1

    Best on TH-cam I think.

  • @shivakumarnarayanan1165
    @shivakumarnarayanan1165 4 ปีที่แล้ว +5

    4:05 how do i find the coeff of x^20

    • @shivakumarnarayanan1165
      @shivakumarnarayanan1165 4 ปีที่แล้ว

      Wdym by sequence of x^n

    • @yashuppot3214
      @yashuppot3214 4 ปีที่แล้ว

      But wouldnt you have to multiply the brakcets out before taking derivaitives

  • @rajeshdansena
    @rajeshdansena 7 ปีที่แล้ว +4

    How we are going to get coefficient of x^12 at 2:20 ? Can you please elaborate? Appreciate :)

  • @mohityadav8383
    @mohityadav8383 6 ปีที่แล้ว +2

    You made my day! man

  • @basicnpcc
    @basicnpcc 9 ปีที่แล้ว +7

    Yo TrevTutor, I would love if you made another video on just the proofs. The longer proofs like
    (NOTp v q) ^ NOT(NOTq v r) v ( NOTp v r) being equivalent to a tautology tend to mess me up with how the laws work in them. Thanks mate.

  • @AnyaPb
    @AnyaPb 8 ปีที่แล้ว +6

    in the last question, shouldn't x1 be (x^2 + x^3 + .. + x^12) because it can only go as high as 12 right, not go on forever?

    • @Trevtutor
      @Trevtutor  8 ปีที่แล้ว +7

      There's no difference in the end, since the coefficients will still be the same even if we allow it to go higher. (This doesn't generalize to all questions)

  • @luthfibalaka8592
    @luthfibalaka8592 3 ปีที่แล้ว

    Awesome! Thanks for the video, it really helps me understand the topic

  • @satviktejas6085
    @satviktejas6085 3 ปีที่แล้ว

    great explanation sir

  • @eddiechen6389
    @eddiechen6389 5 ปีที่แล้ว +3

    Hi, Mr Trev, I have a question regarding the jellybean question.In the first conditon, it says even reds, but the second conditon says AT LEAST 14, does it give the restriction to the first condition? which in my assumption, its: 1 + x2 + x4 +x6. Corret me if I am wrong? thanks a lot

    • @unusualgaming8629
      @unusualgaming8629 3 ปีที่แล้ว

      thats true, however, when you count the coefficient of x^20 none that had reds greater than x^6 included, so it doesnt affect the final solution

    • @unusualgaming8629
      @unusualgaming8629 3 ปีที่แล้ว

      haha 2 years later

    • @eddiechen6389
      @eddiechen6389 3 ปีที่แล้ว

      @@unusualgaming8629 ....a question being answered after 2 years...lol

    • @iragoum
      @iragoum 2 ปีที่แล้ว

      @@eddiechen6389 and how can we count the coefficient of x^20 ?

    • @eddiechen6389
      @eddiechen6389 2 ปีที่แล้ว

      @Abderrahim Mougari that’s 1

  • @ayushpainuly4530
    @ayushpainuly4530 7 ปีที่แล้ว

    you saved my life.....love from india

  • @nafiulawal1443
    @nafiulawal1443 8 ปีที่แล้ว +2

    Please can you create a playlist of your videos or numbering them so I can follow it as a course.
    Thank you for a helpful videos

    • @Trevtutor
      @Trevtutor  8 ปีที่แล้ว

      Playlist already exists for Discrete 1 and Discrete 2 series.

  • @tusharpatil9774
    @tusharpatil9774 6 ปีที่แล้ว

    17:54 how to solve it further. I have watched complete series of generating functions mentioned on your channel. Is it the case of partial fraction decomposition and solve for each a0/(1-ax)^n ? Please reply m stuck.

  • @VishalSharma-hq5ti
    @VishalSharma-hq5ti 6 ปีที่แล้ว +1

    what will be X^12 at 2:30?

  • @ketrinasiagian1585
    @ketrinasiagian1585 4 ปีที่แล้ว

    i actually don't really understand but it help a litle bit. thank you

  • @anonkiddo
    @anonkiddo 8 ปีที่แล้ว

    Thanks for the video, helped a lot! Stay Awesome!

  • @HsiehAnastasia
    @HsiehAnastasia 5 ปีที่แล้ว

    This video is really helpful
    Thanks a looooot for making this video!!!

  • @RealMcDudu
    @RealMcDudu 5 ปีที่แล้ว

    Regarding long division of polynomials - aren't you suppose to line them up in decreasing order, i.e. -x + 1 instead of 1-x. How does this affect the answer? Also the 1/(1-x) solution is only true for |x| < 1. Are we assuming this?

  • @VisheshBajpai1vish
    @VisheshBajpai1vish 8 ปีที่แล้ว

    you are simply awsome man !!!!

  • @johnasty517
    @johnasty517 4 ปีที่แล้ว

    So, if I understand correctly, there are 12 ways to solve the first question where x1+x2+x3=12 with 0≤xi≤6. You said that there are 3+4+5 ways of solving the equation, so that would be 12 ways in total, right?

  • @intom1639
    @intom1639 8 ปีที่แล้ว

    It really helps a lot!!!
    Thanks!

  • @snake1625b
    @snake1625b 6 ปีที่แล้ว

    Is the way you are using the exponent syntax different from the traditional definition of repeated multiplication?

  • @DrQlimakz
    @DrQlimakz 9 ปีที่แล้ว +153

    I really don't like discrete maths :D

    • @Trevtutor
      @Trevtutor  9 ปีที่แล้ว +121

      +Qlimakz That's okay. It's an infinitely smaller subset of continuous math, so you're not hurting its feelings too much.

    • @ujjwalpawar5920
      @ujjwalpawar5920 6 ปีที่แล้ว +9

      That why they call it "Dry Subject".Fucks with your logical part of your brain.

    • @ilyasabdullah5965
      @ilyasabdullah5965 5 ปีที่แล้ว +1

      Yeah man...i wish it just dissapears...

    • @kapilkumarsharma4401
      @kapilkumarsharma4401 4 ปีที่แล้ว +4

      It's my favourite subject

    • @deuteriumtritium9700
      @deuteriumtritium9700 4 ปีที่แล้ว +2

      @@kapilkumarsharma4401 Same

  • @slingshot7602
    @slingshot7602 ปีที่แล้ว

    At 6:02 you didn't show how to get the coefficients of x^n

  • @SANJANASINGH-gp3wh
    @SANJANASINGH-gp3wh 8 ปีที่แล้ว +2

    This is super goood 😀😀

  • @Arnius_Music
    @Arnius_Music ปีที่แล้ว

    4:17 how can we have more than x^6 for red if we have at least 14 blue jellybeans?? wouldnt that make it more than 20?

  • @jasonmiller8407
    @jasonmiller8407 7 ปีที่แล้ว

    For the final problem, why isnt the x_1 term (1-x^11)/(1-x)? Isnt it the sum of values from 1 to x^12 by the problem statement?

  • @azra8366
    @azra8366 4 ปีที่แล้ว

    Why for picking even ones we consider X^0 wich is 1 also as an even number? If we have an empthy set or something that is zero we consider it even?

  • @catalingoga6002
    @catalingoga6002 3 ปีที่แล้ว

    Hello, what software do you use for writing with the graphical tablet?

  • @abhishekaggarwal4066
    @abhishekaggarwal4066 6 ปีที่แล้ว

    Awesome...Thanks for the video...

  • @lindadada-dadadal9864
    @lindadada-dadadal9864 7 ปีที่แล้ว

    thank you so much for your videos! Got a combinatorics puzzle. Could you please help me with it? Choose 6 numbers from 1 to 49 so that exactly two of them are consecutive. How many combinations?

  • @praveenparasar8969
    @praveenparasar8969 8 ปีที่แล้ว +2

    I FOUND A MISTAKE !!!!
    in the question of red,blue and white
    shouldn't the red be (1+x^2+x^4+x^6) that's it
    because we have to give atleast 14 to the blue one,then how the red can go upto ...+x^20
    expecting a reply soon
    thanks :)

    • @Trevtutor
      @Trevtutor  8 ปีที่แล้ว +3

      It doesn't make a different. In the end we look at the coefficient of x^20. Letting red go up to x^20 won't affect the overall coefficient of x^20 after multiplying all the terms out.

    • @praveenparasar8969
      @praveenparasar8969 8 ปีที่แล้ว +1

      yes sir
      thanks

  • @vishalreddy3531
    @vishalreddy3531 8 ปีที่แล้ว

    dude Ur awesome...thanks for the help

  • @harshitsharma4097
    @harshitsharma4097 5 ปีที่แล้ว

    sir at 14:05 it will be 0,0,0,0,1,1,1,1....

  • @jablkomieta01
    @jablkomieta01 11 หลายเดือนก่อน

    THANK YOU!!!!!!!!!!!

  • @zaoyun19920621
    @zaoyun19920621 8 ปีที่แล้ว

    thank you very much for your help

  • @safeamiiir
    @safeamiiir 7 ปีที่แล้ว +2

    thank You I really Enjoy That man :))))

  • @markzenith1441
    @markzenith1441 3 ปีที่แล้ว

    What if I wanted to generate polynomials? For example find the partition of a polynomial in the form of a pair of polynomials?

  • @jonathannissim2774
    @jonathannissim2774 5 ปีที่แล้ว

    Thank great explanation

  • @aviksarkar707
    @aviksarkar707 7 ปีที่แล้ว

    In the jellybeans example ,isn't the generating function (1+x^2+x^4+x^6)(x^14+x^15+x^16+x^17+x^18+x^19+x^20)(1+x+x^2+x^3+x^4),since we have at least 14 blue jellys ?

    • @joaopedrosa2246
      @joaopedrosa2246 5 ปีที่แล้ว

      you don't need to stop at x^6 in this first term because any number above 6 will never be chosen since we will need to add it to at least 14 in the second term

  • @dhruvabhat3261
    @dhruvabhat3261 6 ปีที่แล้ว +1

    Thank you soo much..

  • @hyleenpognaire8134
    @hyleenpognaire8134 2 ปีที่แล้ว

    Hey sir, what software u used to write this?

  • @AmitTiwariSixRealString
    @AmitTiwariSixRealString 6 ปีที่แล้ว +1

    why do we need the coefficient of x^12, Im not getting this part, explain plzzzz

  • @paulmadeya5396
    @paulmadeya5396 8 ปีที่แล้ว +1

    Why did you change the x^2 to to x^5 in the last example?

    • @Trevtutor
      @Trevtutor  8 ปีที่แล้ว

      multiplied x^2 and x^3 together.

  • @NaraAIApp
    @NaraAIApp 7 ปีที่แล้ว

    I watching this vid two times ...then i realize ...its super easy 😂😂 ..my lecturer cant explain this like you do..😅

  • @rhaq426
    @rhaq426 2 ปีที่แล้ว

    How can you use generating functions to find permutations?

  • @pantelisvasileiadis2858
    @pantelisvasileiadis2858 2 ปีที่แล้ว

    2:25 you're right about my exes mister

  • @orochicken
    @orochicken 7 ปีที่แล้ว

    Thank you so much!

  • @RithvikMulka
    @RithvikMulka 4 ปีที่แล้ว

    What is the use of 12 in the second line

  • @entertainmentsmtv
    @entertainmentsmtv 6 ปีที่แล้ว

    Thanks a lot

  • @ElifArslan-l9g
    @ElifArslan-l9g 3 ปีที่แล้ว

    thank you

  • @siraa8438
    @siraa8438 6 ปีที่แล้ว

    So helpful

  • @real-investment-banker
    @real-investment-banker 4 ปีที่แล้ว

    These are nothing but G.P. . Sum of infinte G.P = a/1-r, but for that we've to assume that |x| < 1. Can we do that , is it the legit way to do ? As x is a variable of no significance , can we assume its value and solve the G.P. ?

  • @mauropappaterra
    @mauropappaterra 9 ปีที่แล้ว

    what software do you use for your videos?

    • @Trevtutor
      @Trevtutor  9 ปีที่แล้ว +2

      yogurt1989 Windows Journal to write, and either OBS or Camtasia to record the screen region.

  • @jslee417
    @jslee417 6 ปีที่แล้ว

    It is interesting function. I think the x range should have range. 1/(1-x) forms you explained in the long division but when we divide 1 by 1-x the remnant x must be smaller than 1-x therefore, the x range should fall x

  • @juanmarin6557
    @juanmarin6557 5 ปีที่แล้ว +2

    How is that (1-x) goes 1 time into 1, x times into x and x² times into x², I'm not getting the meaning of any of these yet you say it like it's super obvious

    • @zihongbowang7518
      @zihongbowang7518 4 ปีที่แล้ว

      He's just matching the power of the (1) in (1-x) with the highest power of the polynomial. When the number is 1, you subtract a 1-x from 1 to get x. Then you subtract x(1-x) from x to get x^2. You continue this to reach the infinite series 1+x+x^2+x^3.... The principle is similar to long division, which is why it is called polynomial long division.

    • @juanmarin6557
      @juanmarin6557 4 ปีที่แล้ว

      Peter i was taking calc 2 when i asked the question a few months ago. I get it now, thanks

  • @tarsala1995
    @tarsala1995 8 ปีที่แล้ว

    I don't like it, I love it, love it, love it, uh oh
    So good I found it!

  • @emanu9677
    @emanu9677 6 ปีที่แล้ว +1

    How about exponential generating functions?

  • @nadeemjq
    @nadeemjq 6 ปีที่แล้ว +4

    Is there a intro video to this that I missed? None of this makes sense....

    • @razeer1232
      @razeer1232 4 ปีที่แล้ว +1

      It starts making sense after you watch the whole video.

  • @paulmuaddib3761
    @paulmuaddib3761 ปีที่แล้ว

    3:49 almost 🇫🇷

  • @byrantoby9786
    @byrantoby9786 6 ปีที่แล้ว

    shouldn't the first part of the last question be (x^2 * (1-x^13)/(1-x)) instead?

  • @satishnetane5189
    @satishnetane5189 9 ปีที่แล้ว

    Thanks buddy

  • @sparkindness
    @sparkindness 4 ปีที่แล้ว

    (1+x²+x⁴+....)⁷ we have got X^n coefficent please tell me sir

  • @erkins8818
    @erkins8818 7 ปีที่แล้ว

    rolling a die 5 times how many ways we get sum of 18

  • @Mark-nm9sm
    @Mark-nm9sm 3 ปีที่แล้ว

    You just turned confusing things , into even more confusing things

  • @kulasinghet
    @kulasinghet ปีที่แล้ว

    I regret my life because I had to watch this video 😥❤

  • @mirrorball1
    @mirrorball1 4 ปีที่แล้ว +1

    Not all heroes wear capes😊