NON-HOMOGENEOUS RECURRENCE RELATIONS - Discrete Mathematics

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 พ.ค. 2015
  • Learn how to solve non-homogeneous recurrence relations. In this video we solve nonhomogeneous recurrence relations. This requires a good understanding of the previous video.
    #DiscreteMathematics #DiscreteMath #RecurrenceRelations
    Visit our website: bit.ly/1zBPlvm
    Subscribe on TH-cam: bit.ly/1vWiRxW
    -Playlists-
    Discrete Mathematics 1: • Discrete Math (Sets, L...
    Discrete Mathematics 2: • Discrete Math (Countin...
    -Recommended Textbooks-
    Discrete and Combinatorial Mathematics (Grimaldi): amzn.to/2T0iC53
    Discrete Mathematics (Johnsonbaugh): amzn.to/2Hh7H41
    Discrete Mathematics and Its Applications (Rosen): amzn.to/3lUgrMI
    Book of Proof (Hammack): amzn.to/35eEbVgLike us on Facebook: on. 1vWwDRc
    Submit your questions on Reddit: bit.ly/1GwZZrP
    Hello, welcome to TheTrevTutor. I'm here to help you learn your college courses in an easy, efficient manner. If you like what you see, feel free to subscribe and follow me for updates. If you have any questions, leave them below. I try to answer as many questions as possible. If something isn't quite clear or needs more explanation, I can easily make additional videos to satisfy your need for knowledge and understanding.

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

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

    I'was reading the two pages of my book for over 2 hours trying to figure out what is going on and y just explained everything in the first 8 minutes. Thank you.

  • @vincegalarza7736
    @vincegalarza7736 6 ปีที่แล้ว +16

    thanks so much man. These vids saved my ass last term when i took discrete 1 and they're doing it again this term with discrete 2. Your explanations and examples have been much easier to grasp than any lectures ive gotten from either of my professors. These two classes have been my hardest in college so far and i just wanna say thank you for making it easier for myself and a lot of other people!

  • @bishalthedemonlord
    @bishalthedemonlord 7 ปีที่แล้ว +22

    wow! i have been trying to crack this all day and failed and this vid told me evth i needed to know in 23 mins! amazing man, keep it up

  • @river.flows__
    @river.flows__ 7 ปีที่แล้ว +155

    my prof is nothing compared to you. If i pass my midterm tomorrow it'll be because you saved me

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

      So, how'd you go!

    • @river.flows__
      @river.flows__ 7 ปีที่แล้ว +24

      Was quite a while ago but I think u pulled in a B+ overall? Not too bad actually but could have been better for sure 😀

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

      It's d day for me today

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

      same for me even after 4 years

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

      @@baroksander152 how'd it go?

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

    Thanks again for this series, Mr. Trevtutor. Hugely helpful.

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

    Your videos are insanely helpful.... I was stressing out about my final exam, but I feel much more confident. Thank You!

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

    Thanks a lot for the great explanation!

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

    Hey Trev! Thanks so much for the videos. Saving my life from impeding doom! Just curious, do you happen to have a video on non-homogeneous Recurrence relations with constants instead of like a^n? ex: An - 4an-1 + 4an-2 = 20

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

    Trev, I can't thank you enough for your help.

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

    Perfect . . . just Perfect . . . Your page helps me to pass courses

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

    thank you very much!!! You are an amazing teacher!!!

  • @user-cl4dz4ie4l
    @user-cl4dz4ie4l 8 ปีที่แล้ว

    Awesome videos with great Explanation!!!

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

    Ur videos are amazing.A life saver for sure :)

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

    crystal clear. Thank you respected sir.

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

    Thanks a lot for the great explanations. It was helpful.

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

    I had really weird fractions but I still got a working solution, thanks a lot!

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

    Thanks sir, you helped me a lot!

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

    Got benefitted, thanks a lot.

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

    Can Someone Please help me with this one :
    A(n) = 7A(n-1) - 10A(n-2) + n
    and this one
    A(n) = 2A(n-1) + 1
    Infact +TheTrevTutor can you please make videos on the cases you left out (constant,n,n^2)

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

    Thank you so much! Your video saved my life!!!!!

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

    It is really similar approach like how we solve for 2nd order differential equations, we have to use the auxiliary equation to find roots as for the complementary function which in for recurrence relation we call it as characteristics equation and also solve the same way to find particular function which is quoted same in this recurrence solution solving methods

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

    Best explaination of non homogenous reuccurence relations....keep it up

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

    10/10 man. Pretty helpful

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

    Awesome video/explanation! I just have one question. In the "Before we begin, Given:" part, in the top equation, it seems the subscripts of each pair should add up to n+1, so shouldn't the last term be alpha_(n+1-k)*a_k? Or are we assuming that n=2k? Thanks!

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

    19:12 are there not restrictions though? if the sequence is 12030, there's a 3 to the right of a 0, so it can't be counted? or am I misunderstanding something?

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

    my textbook made this chapter look menacing but our King Trev has come clutch once again

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

    the way my lecturer DID NOT share YOUR video as the replacement for her lectures is just ugh saddening. Thank you very much for making me understand this topic.

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

    You're a lifesaver man

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

    Amazing just Amazing thank u very much

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

    This is really helpful

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

    great job. please i need examples on the other guessed soluitons. like n, n^2,...

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

    The solution of the first one at 09:28 is interestingly enough, the derivative of a_n. Mere coincidence...but still cool!

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

    teach me all subjects pls mannnn!!! you teach too good! Thank you....I hope of getting good marks because of you.....

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

    This guy saving our semesters !!!!!!!!!!!!!!!!!!!!!!!!!!

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

    Thanks a lot Sir.

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

    Thank you... It was really helpful Vedio...

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

    so helpful thanks

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

    Thanq very much sir u are saving me

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

    how do you solve : an-4an-1=n^2 in particular form ?

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

    and what if f(n)=n-1, do we treat n as f(n) and 1 as number. my recurrence relation is a(n) =a(n-1) + (n-1)

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

    In the second example why didn't you multiply the particular solution's terms with n+2, n+1 and n respectively as you did in the first example??

  • @Ahmed-wj5sd
    @Ahmed-wj5sd 7 ปีที่แล้ว +1

    what if at the same time we have 2^n + n + 4 (at the right of the =) ?

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

    Could you upload the steps we should follow written at the top?

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

    you make youtube a better place.

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

    Hi Trev. Thanks for your videos.
    How would you solve the same equation as in this video if the equation equalled 1/3^n?

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

    I do like your video!

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

    thank you

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

    Awesome video

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

    Should we multiply it by n even if the homogeneous solution is in terms of 2 ^n+1

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

    Why do we multiply 2^n by n for the inhomogenous solution? I am not quite understanding the problem with the similar roots? ...

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

    What about a linear recurrence involves a no homogenous part of with n*a^n ?
    i.e. g(n) = 6g(n-1) - 9g(n-2) +n * 3^n
    Can we still guess the particular solution as n^m*A*a^n ?

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

    the knowledge is good but the voice is TOO soothing, it is not good when you pull an all-nighter last minute before the exam haha

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

    Absolute legend

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

    Very nice

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

    Thanks

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

    if i switch a(n)-a(n-1) to a(n+1)-a(n), does the formula still work?

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

    Thanks for the amazing videos. What should be the guess for particular solution when F(n) is a polynomial?
    I am trying to solve An+3 - 3An+2 + 3An+1 - An = 3 + 5n

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

      ax^3+bx^2+cx+d would be your guess.

    • @Anthony-oz1jc
      @Anthony-oz1jc 2 ปีที่แล้ว

      @@Trevtutor why is that?

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

    Skip my Discrete Math textbook. I'm just watching TheTrevTutor.

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

    The only part that I am stuck at is why the eq. an = an(h)+ an(p) holds. Vectorial explanation, unfortunately, could not make it clear. Other than that, it was great

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

    Thanks this helped me a lot for my exams

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

    What is the an(p) of the f(n) 3^n+1

  • @AryanSingh-sn3dx
    @AryanSingh-sn3dx 2 ปีที่แล้ว

    This video is useful even after 6 years

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

    Sorry I have a question in which case. We use a matrix method or how will I know if am I needed of using matrix method

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

    How to find the domain of n in this type of questions??

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

    why is the solution(procedure) to a sequence sooo similar to the solution of a differential equations, be it homogenous or non homogenous

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

      assume An is a function of differentiation and the solution becomes same

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

    how can i pay you?

  • @deepakkumar-fp8uj
    @deepakkumar-fp8uj 3 ปีที่แล้ว

    what will be the guess if after the right side of the equation is n*(4^n) ???

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

    At 1:26 Shouldn't it be C(k+1) * a(n-k+1) instead of a(k)?

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

    How do you procced if alfa or beta is zero? I for example have a0=0 -> alfa+beta = -(1/8), and a1=1 -> alfa-6beta = (3/4).
    With the help of a matrix I get alfa = 0 and beta = -(1/8). My roots are 1 & -6, and my guess is A2^n

  • @ajayjadhav-vc5wg
    @ajayjadhav-vc5wg 7 ปีที่แล้ว

    How to solve an=an-1=2^n ,Silimlar to given example but im stuck

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

    what a good video ... I looked up discrete math with recurrence and a bunch of Indian people came up, had no idea what the hell they are talking about. Thanks for the clear and detailed videos.

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

    When doing the particular solution part of the 2nd example problem, why didn't you multiply the terms with n?

  • @meric7010
    @meric7010 5 ปีที่แล้ว +14

    16:18 alpha should equal to -4/5

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

      oh he fixes it hahaha

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

    How to guess when g(n) is some scary stuff like 2^n + n ^2 + n +c .....?..I encounter such maths at Rosen's book and inable to solve...please help..

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

    I didn't get the a0 and a1 part. Can anyone help me out?

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

    How to solve An-4An-1+4An-2=(n-1)2^n

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

    At 23:17 i was thinking that a0 should be 0 as there is no string of lenght zero (it just doesn't make sense). Please help

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

      I guess that is because there is just one string of length zero. The NULL string. Taking this one from the Automata Theory not sure if it applies here

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

      Super late reply, but yeah. There is exactly one way to make an empty string. That's also why zero factorial is equal to 1: 0! = 1

  • @deepakkumar-fp8uj
    @deepakkumar-fp8uj 3 ปีที่แล้ว +1

    Hello , Can anyone solve my doubt?
    At 6:20 the term a(n+1) is being multiplied by A*2^(n+1) * (n+1)............i.e, mutiplied by n+1 but at 13:10 why (n+2) is not multiplied ?

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

      It's because at 6:20 the roots are similar i.e 2^n whereas at 13:10 the roots are not similar , and if you still don't get it then go through the homogeneous recurrence relations part.

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

    I didnt understand 5,05
    Because; first you said that An+1 - 2An = 3n (0.35) but you continued as An+1 - 2An = 2n (5.05)
    Can you help me,please ?

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

    which software are you using to freely write this ?

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

      +Brain Freeze Windows Journal

  • @lukaeric3479
    @lukaeric3479 5 หลายเดือนก่อน +1

    How do you get 17 in 17/20?

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

    This method does not work with constants since you always end up with 0 when doing the particular solution

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

    3:26
    for f(n) = r^n
    a(n)(p) should be A*(r^n)*n

  • @boredash4020
    @boredash4020 6 ชั่วโมงที่ผ่านมา

    @4:35 isn't the equation supposed to be 1-2r=0

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

    Trev can you please eighteen me on how to find initial condition

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

    -2^n = -1, -1^n=-1 [ 15:40] , Everything else looks good and is well explained thank you

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

    i am having problem finding the particular solution of the last Q

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

    If someone is stupid and/or tired like me and wondering what happened to beta at 4:23 it's not there cause the characteristic function is linear.. 1 root..

  • @abcdef-lq3uw
    @abcdef-lq3uw 4 ปีที่แล้ว

    Your videos are nice, but pleae be careful while using alphabets for constants, this r at 2:56 got me confused and got me turn back to homogeneous video.

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

    Or, you could just use the z-transform and inverse-z transform.

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

    I didn't get why did we multiply with n

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

    negative number the power of zero is negative one why you say 1 in the second question?

  • @user-cl4dz4ie4l
    @user-cl4dz4ie4l 8 ปีที่แล้ว

    In the last question suppose if the number is 1110322.here is also a 3 right of 0.This kind of cases are not covered by your Example.Elucidate me If I m wrong.

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

      +Mayank Singh This sequence doesn't satisfy the formula in the video, because the formula was made like this: Let a(n) mean the amount of n-digit sequences that don't have a 3 anywhere to the right of a 0. If we have such an n-digit sequence, and its last digit is 0, 1, or 2, then the rest isn't just any sequence, it forms an (n-1)-digit sequence with no 3 to the right of a 0. And how many of those are there? a(n-1).

  • @mqtic
    @mqtic 6 หลายเดือนก่อน

    16:10 how is 16/20 equal to alpha, and then alpha is equal to 16/20? Shouldn't it be -16/20?

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

    Can anyone help with the particular solution (guess) for : n + 2^n ?
    (edit) Never mind, i got it: a_n = 2^n + a_n+2 - a_n+1,
    (edit) Wait...maybe it's not.

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

    I LOVE YOU
    No Homo.

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

      love u too

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

    Alpha should equal to -4/5

  • @deepakkumar-fp8uj
    @deepakkumar-fp8uj 3 ปีที่แล้ว

    Can anyone help me in this question a_n - 6*a_n-1 + 8*a_n-2 = n*4^n, with a_0 = 8, a_1 = 22, Please someone help me

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

    At 21:26 how a0=1 ?

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

      there is only one way to get a string of length 0

  • @PriyaPriya-tv9lo
    @PriyaPriya-tv9lo 6 ปีที่แล้ว

    ok