Papa Fibonacci using Linear Algebra [ Recurrence Relations and Diagonalization ]

Sdílet
Vložit
  • čas přidán 5. 09. 2024
  • Help me create more free content! =)
    / mathable
    Let us use vectors and matrices to derive an expression for the n-th member of daddy Fibonacci's recurrence relation! Diagonalization is the way to go, so if you are not familiar with this topic, then read into Eigenvectors and Eigenvalues a bit to understand the process! =)
    Twitter: / flammablemaths
    Facebook: / flammablemaths
    Visit my website! =)
    mathable.me/

Komentáře • 161

  • @bjoernschermbach3957
    @bjoernschermbach3957 Před 6 lety +70

    1) Papa Flammy, why do you keep misspelling Fiboinacci? ;) 2) 14:22 Eulergeddon best apocalypse! 3) I'd say 'so good' but I fear the BPRP revenge... 4) Can I call you Thomas Godchalk instead?

    • @blazep5881
      @blazep5881 Před 6 lety +9

      Flammable Maths stick to papa, daddy just sounds... Weird

    • @46pi26
      @46pi26 Před 6 lety +1

      masterbaiter blaze dude my brother's name is Blaize (yes, with an i), and we would always call him the master baiter when we went fishing. What a coincidence!

  • @mishikookropiridze
    @mishikookropiridze Před 6 lety +75

    Papa fibonacci, linear algebra and cringe jokes ?! I am in heaven.

  • @dalitas
    @dalitas Před 6 lety +60

    You might not be the smartest boi but you are the flammiest

  • @kgeorge7153
    @kgeorge7153 Před 6 lety +62

    seeing "linear algebra" in the title -> instant like

  • @rohitg1529
    @rohitg1529 Před 6 lety +8

    You're the only maths youtuber who goes at the perfect speed. Once your video is on 2x, I never need to pause to understand what you write, nor do I need to fast forward to see the next step.

  • @damiandassen7763
    @damiandassen7763 Před 6 lety +29

    17:58 nice one "same spiel here"

  • @youurdream182
    @youurdream182 Před 6 lety +33

    Nice to see the content of lectures I’ve went through becoming a meme 😂

    • @youurdream182
      @youurdream182 Před 6 lety

      Flammable Maths, keep the spiciness up boi; love your vids papa ;*

  • @robinros2595
    @robinros2595 Před 6 lety +28

    Nice! A small side-note: If you write T = S^(-1)AS, what you're actually doing is transforming your original space onto the column-vectors of S, performing A on that and then transforming back to the original space with base (1,0), (0,1). If you choose S to have eigenvectors of A for it's columns, you are actually performing the transformation of A on its own eigenvectors, so that's just multiplying the eigenvectors with their corresponding eigenvalues. So it's no surprise at all that T has the eigenvalues of A on its diagonal: this always happens (when A is diagonalisable).
    Hard to explain this over text, but when you see S and S^(-1) as transformation matrices it becomes totally clear that T should be a diagonal matrix and contains the eigenvalues of A :)
    Keep up the good memes :)

    • @kgeorge7153
      @kgeorge7153 Před 6 lety

      Also it is not too hard to come up with the eigendecomposition one your own being exposed to the proper definition of a matrix-matrix multiplication: matrix on the left acting like a transformation on each column of the matrix on the right (then consider the matrix A times the matrix of its eigenvectors, and guess what's on the RHS). 3b1b did a great job explaining it, and it is probably the most crucial idea of the whole linear algebra, this makes everything reasonable, not artificial/coincidental.

    • @kgeorge7153
      @kgeorge7153 Před 6 lety

      or may be not whole LA, but at least all decomposition problems -_-

  • @ChrisLuigiTails
    @ChrisLuigiTails Před 6 lety +7

    0:45 - That's exactly what I said to my mother this morning! My parents discovered Fiboinacci last week and kept harassing me all week saying it's everywhere in nature

  • @noahgeller7018
    @noahgeller7018 Před 6 lety +25

    "phi's little brother" I love 3blue1brown too

  • @cameodamaneo
    @cameodamaneo Před 6 lety +4

    I love the mini golden boi. I find him to be as useful as the popular golden boi a lot of the time.

    • @46pi26
      @46pi26 Před 6 lety +3

      Cameron Pearce I'm gonna start calling phi "Golden boi" from now on because of this comment

  • @mathman6156
    @mathman6156 Před 6 lety +5

    I've just finished the first year of maths, and I'm loving the content you create, keep going!

  • @Adam-lx3mt
    @Adam-lx3mt Před 6 lety

    Alternatively, you can just seek a solution of the form F_n = a*phi^n for some phi.
    Thus phi must satisfy phi^(n+2)=phi^(n+1)+phi^n from the Fibonacci relation. Dividing through by phi^n and solving the quadratic gives us two solutions phi1 = (1+sqrt(5))/2 and phi2 = (1-sqrt(5))/2.
    Since both phi1 and phi2 satisfy the Fibonacci relation we can could express F_n as a linear combination of the two. So F_n = a*phi1^n + b*phi2^n.
    Finally, we note that phi1=-1/phi2 and use the boundary conditions F_0=0, F_1=1 to give a and b.
    This proof is quite a lot shorter and easier.

  • @omega_sine
    @omega_sine Před 6 lety +1

    Another great video Papa Flammy. These videos are a great way to start off my morning.

  • @46pi26
    @46pi26 Před 6 lety +11

    Papa Flammy vs. 3b1b
    Who would win?

    • @46pi26
      @46pi26 Před 6 lety +2

      Flammable Maths He has transcended the realm of Papas and is now a Daddy
      Holy shit

  • @maxwibert
    @maxwibert Před 5 lety

    You can also check that phi conjugate is -1/phi, in which case the expression @23:36 simplifies to (phi^(n+1) - 1/phi^(n+1))/(phi^n - 1/phi^n). Because phi > 1, we have 1/phi^n approaches zero as n approaches infinity, so the fractional expression approaches phi^(n+1)/phi^n = phi.

  • @deeptochatterjee532
    @deeptochatterjee532 Před 6 lety

    I saw your transformation matrix, and did the quick eigenvalue calculation in my head and instantly recognized the golden ratio equation. This is too good

  • @sarthakchaudhary4375
    @sarthakchaudhary4375 Před rokem

    It's been 4 years and this is still the best video for this topic :)

  • @Arycke
    @Arycke Před 6 lety +2

    Awesome video. I love that the phi is independent of the initial integer conditions of 0 and 1 or 1 and 1 ( I guess so long as it's not 0 and 0) as most typically know from grade school. Great moves Papa Flammy, keep it up, proud of you :3

    • @gamma_dablam
      @gamma_dablam Před 5 lety

      Well ... it’s good that we don’t have Phi dependents here as we all know from Andrew’s channel how annoying those are

  • @winterrain870
    @winterrain870 Před 4 lety +1

    Looks like Pell's Equations; And the matrix treatment was superb.

  • @michaelempeigne3519
    @michaelempeigne3519 Před 6 lety +1

    This is great video about linear algebra and diagonalization. Until this day, I had no idea of how diagonalization was useful or how it worked.

  • @francescoburgaletta3746
    @francescoburgaletta3746 Před 6 lety +1

    Great! I'm finishing the exams for my first year and i just had the Linear Algebra one this february. To be honest i didn't like the subject and i still don't now, but it's somehow fascinating the perfectly coherent method used to solve many problems.

  • @fabiothezhao5518
    @fabiothezhao5518 Před 10 měsíci

    Damn Papa Flammy saved my ass on a discrete math problem that my instructor suggested (was abt finding a pseudo code (only integer operations allowed) for something with a structure similar to Fibonacci). Srs thanks!

  • @lucashunter6441
    @lucashunter6441 Před rokem

    Wow a Papa Flammy question that actually showed up on one of my hw assignments

  • @noahholmes
    @noahholmes Před 6 lety +1

    father of math, my golden papa

  • @cameodamaneo
    @cameodamaneo Před 6 lety +2

    It's called the "Identity Matrix", my broski and we over here in New Zealand notate it as "I".

    • @cameodamaneo
      @cameodamaneo Před 6 lety +2

      Oh wow. I guess I'm not a very intentive boi.

  • @holyshit922
    @holyshit922 Před 5 lety

    I like Papa Fibonacci with series
    But this approach is nice if we look for analogous to differential equation way
    There is also variation of parameters for difference equation
    You have Casoratian instead of Wronskian and summation instead of integration
    Homogeneous part can be written as system of equations and solved as you showed

  • @MePatrick73
    @MePatrick73 Před 2 lety

    Wow! I'm taking discrete math and we're learning how to solve linear homogeneous recurrence relations. We were only told to let an=r^n, find the characteristic polynomial, solve for the roots and then take a linear combinations to find the specifics values of the coefficients. This make so much sense now. Linear algebra in disguise xD !

  • @adamcummings20
    @adamcummings20 Před 6 lety

    I've started learning matrices in school so now I can finally understand this video. Epic

  • @Blacksun88marco
    @Blacksun88marco Před 6 lety +1

    0:42 TRIGGERED

  • @alexeipisacane7781
    @alexeipisacane7781 Před 6 lety

    Best video so far

  • @emmanuelontiveros8446
    @emmanuelontiveros8446 Před 6 lety +4

    Both eigenvalues are the golden ratio

  • @Dimiranger
    @Dimiranger Před 6 lety

    Everything strung wonderfully together, really good video!

  • @DiogoSantos-dw4ld
    @DiogoSantos-dw4ld Před 6 lety

    Great video! I've done diagonalisation of matrices in my course but never seen why they're that useful but with the cancelling of the eigenvalues vector it makes so much sense! Usually though when constructing the S matrix I've been told to take the normalised eigenvectors, since you didn't do it I'm guessing it's just used to clean up S and S-transpose/inverse

  • @housamkak646
    @housamkak646 Před 6 lety +2

    That was an awesome video i wish u explain the linear algebra from zero

  • @midaskeijzer7107
    @midaskeijzer7107 Před 6 lety +3

    Next: integral of 1/(x+cos(x))? (or shouldn't give integral requests on non-integral video's?)

  • @keroleswael9332
    @keroleswael9332 Před 6 lety

    Papa flammy destroying pure mathematics. Continue like this and prove more problems

  • @zokalyx
    @zokalyx Před 6 lety

    LOL dat euler at 14:30!!
    Definetely not expecting that

  • @tajpa100
    @tajpa100 Před 2 lety +1

    Thank you for your wonderful lectures.

  • @duncanw9901
    @duncanw9901 Před 6 lety +4

    I have to admit my linear algebra computation ability is not exactly the best, I seem to have fallen into a strange gap between American schools teaching it in algebra 2/precalculus and not teaching it.
    Learned how to do it from your video though.

  • @mevnesldau8408
    @mevnesldau8408 Před 6 lety

    Are you reading my minds? I LOVE linear algebra!

  • @mohammedrahman9739
    @mohammedrahman9739 Před 5 lety

    Hi I am a math teacher in University of Garmian in Kalar a small part of the Kurdistan Region-Iraq. And I have a one problem [ Let a and b be two real number such that a

    • @mohammedrahman9739
      @mohammedrahman9739 Před 5 lety

      @@PapaFlammy69 thanks its a good idea . thanks for your attention

  • @owenmatwe2272
    @owenmatwe2272 Před rokem

    What a legend.

  • @TheGarfield1337
    @TheGarfield1337 Před 6 lety

    Im ersten Semester hat unser Prof. in der ersten LinA1- Vorlesung einfach nur aus Jux eine Herleitung für die Fibonnaci-Formel gezeigt, für die man keine Vorkenntnisse braucht. In der letzten Vorlesung hat er dann quasi den Kreis geschlossen und zum Schluss diese Herleitung gezeigt, um nochmal zu komprimieren, was wir gelernt haben. Fand ich mega cool damals als kleiner Erstsemester :D

  • @MuitaMerdaAoVivo
    @MuitaMerdaAoVivo Před 6 lety

    Papa, you're the best! Love your channel!

  • @TheNachoesuncapo
    @TheNachoesuncapo Před 6 lety

    this is going directy to my favs! great work men!
    really appreciate your work...

  • @0707andy
    @0707andy Před 6 lety +2

    Oh yes, the O(logn) fibonacci is the best kind of fibonacci.

  • @deeptochatterjee532
    @deeptochatterjee532 Před 6 lety +2

    Isn't the diagonalized matrix in general just the eigenvalues on the diagonal?

    • @almightyhydra
      @almightyhydra Před 6 lety +1

      Well, you assumed the fact that S is (v1 v2), so I think it's also fine to assume T is [e1 0; 0 e2]. They go together really. If you wanted to prove that you should have done the whole proof of the P^-1AP = D diagonalization process. ^_^

  • @nicholasleclerc1583
    @nicholasleclerc1583 Před 5 lety

    I’m a pure math fan/geek, but I never really realized ‘till today how potent an useful Linear Algebra can be for just about freaking anything; and it made me feel like linear algebra was.... useful...
    Ywah, Ik, that doesn’t really sound pure math enthusiasm but more like Utilitarian blasé-ness, but I just never found *any* use better or on par ideas like calculus for some problems; I’ve even seen twice now, around a loooong interval of time and a long time ago too, a BlackPenRedPen video where a guest used linear algebra to solve a deeply complicated integral (calculus ITSELF was helped by this); a 2nd example of pure mathematics given a hand right here !

  • @deepeshmeena3117
    @deepeshmeena3117 Před 6 lety

    honestly a very informative video

  • @Applefarmery
    @Applefarmery Před 6 lety +1

    Lol i actually had this same exact problem in maths at the time this was uploaded

  • @andrijauhari8566
    @andrijauhari8566 Před 6 lety +2

    Thanks papa flammy :)

  • @shawon265
    @shawon265 Před 3 lety

    I appreciate what you did, but all the calculation is a little bit frustrating to me. That's why I never like Linear Algebra in my Engineering undergrad life. But thanks to 3b1b’s visualization techniques, I could tell you the diagonalized matrix right after you figured out the eigenvalues.
    Basically T is describing the same A matrix but in eigenbasis. So, the diagonal elements must be the eigen values indicating the scaling factor.

  • @twakilon
    @twakilon Před 5 lety

    I actually had to learn how to solve these type of problems for my Linear Algebrs course.

  • @user-pn9zm8qg7k
    @user-pn9zm8qg7k Před 6 lety +1

    talking to a camera for a long time must be quiet a work, a good demonstration of diagonalization.

  • @townsoncocke1670
    @townsoncocke1670 Před 5 lety

    Forgive me for missing the reference in the video, but at 16:15 you replace two elements in the matrix with zeros saying those were our conditions for phi and phi conjugate. Could you refer me to when you explained those conditions for phi and phi conjugate that allowed that "substitution" (if that's the right word)?
    As this video is over a year old, this probably won't get a read, so I'll probably just end up calculating those elements to make sure they're zero. Anyway, great video! Thanks.

    • @ortollj4591
      @ortollj4591 Před 5 lety

      Hi Townson Cocke I did an other example with a 4x4 matrix , clik on the blue link on my comment

  • @raph9054
    @raph9054 Před 6 lety +1

    Papa is the best

  • @thomasblackwell9507
    @thomasblackwell9507 Před 5 lety

    I thought that this was going to be about linear algebra. Herr Professor Papa Flammy all I can say is “NICHT SHIZEN!”
    You say you are stupid, I would hate to think of an evil smart you!

  • @hassnataha9593
    @hassnataha9593 Před 4 lety +1

    If you want, can you explain Zeilberger's creative telescoping algorithm for definite hypergeometric sum, pleeeeeeeeeeeease

  • @pappaflammyboi5799
    @pappaflammyboi5799 Před rokem +1

    I'm a Flammy Boi fan.

  • @jlue2051
    @jlue2051 Před 5 lety

    thank you gins i really enjoyed this one

  • @masteryoda1748
    @masteryoda1748 Před 6 lety +1

    C:90

  • @GhostyOcean
    @GhostyOcean Před 6 lety +7

    Hehe, "tongue twister" became "tongue breaker"

    • @GhostyOcean
      @GhostyOcean Před 6 lety +2

      Flammable Maths tongue breaker makes more sense to me, also more fun to say

    • @ChrisLuigiTails
      @ChrisLuigiTails Před 6 lety +1

      That's because in Germany they say "Große Kartoffel" and it litterally translates to "tongue breaker" and I think that's beautiful

    • @janlange6416
      @janlange6416 Před 4 lety

      @@ChrisLuigiTails omfg lololol

  • @WoWSchockadin
    @WoWSchockadin Před 6 lety +1

    So as Fibonacci is short for Filius Bonacci, which means son of Bonacci will the son cancel out with the papa and leave:
    Papa Fibonacci = Bonacci? :-D

  • @blazep5881
    @blazep5881 Před 6 lety

    you're trying hard to bring smoke Memes back. Cool

  • @damianbuzon8119
    @damianbuzon8119 Před 3 lety

    I love fibonacci .

  • @fandeslyc
    @fandeslyc Před 6 lety

    Thanks !
    Until now, i've never understood why there was a polynome

  • @ThePron8
    @ThePron8 Před 6 lety +1

    just one question: why didn''t you simply wrote T when you evaluated the eigvalues? I mean, the diagonal matrix expressed in terms of the eigvectors basis is (for construction) the matrix with the eigvalues on the diag, then maybe you wasted a lot of work 😂

  • @sujanbhakat1199
    @sujanbhakat1199 Před 3 lety

    Thank you

  • @HighInquisitorBonobotheGreat

    19:15 That look xD "ye boi ezy huh?"

  • @zokalyx
    @zokalyx Před 6 lety

    very interesting approach indeed

  • @The2bdkid
    @The2bdkid Před 5 lety

    In diagonalization, the T is by definition the eigenvalues on the diagonal, right? That's how I was taught at least.

  • @sabhierules1
    @sabhierules1 Před 6 lety

    I call it the Identity Matrix or a matrix of the standard vectors. 9:38.

  • @WhiterockFTP
    @WhiterockFTP Před 6 lety +4

    @17:57 Same Spiel hier :D

  • @stenzenneznets
    @stenzenneznets Před 6 lety

    Very nice

  • @youngsandwich9967
    @youngsandwich9967 Před 5 lety

    Could you do this with the natural log Fibonacci product like thing (each number in the sequence is the product of the preceding 2 numbers)

  • @cameodamaneo
    @cameodamaneo Před 6 lety +5

    2:23 Please commit to your jokes in the future thanks.

  • @leif1075
    @leif1075 Před 5 lety

    Why didbt You use FOIL Methid or quadratic formula at 8:50?

  • @phileasmahuzier6713
    @phileasmahuzier6713 Před rokem

    So cool!

  • @jamieee472
    @jamieee472 Před 6 lety

    Wonderful Video!

  • @thegrb93
    @thegrb93 Před 6 lety

    Can the same be done with the Mandelbrot set's recurrence relation?

  • @TheTim466
    @TheTim466 Před 6 lety

    1 - sqrt(5) I don' know if it's negative :thinking: ;)

  • @12346sandy1
    @12346sandy1 Před 6 lety

    Love ur videos,keep it up!

  • @anon7692
    @anon7692 Před 6 lety

    @ 2:07 "so it would be nice to work with some kind of matrix or vector"
    Is that ever nice?

    • @anon7692
      @anon7692 Před 6 lety

      i0.kym-cdn.com/entries/icons/original/000/023/021/e02e5ffb5f980cd8262cf7f0ae00a4a9_press-x-to-doubt-memes-memesuper-la-noire-doubt-meme_419-238.png

  • @CreativeStyled
    @CreativeStyled Před 6 lety

    This was so good.

  • @thechannelofeandmx4784
    @thechannelofeandmx4784 Před 6 lety +3

    Papa flammy, can you integrate mah boi here?
    sin(2pi*sqrt(1-x^2))

  • @xCorvus7x
    @xCorvus7x Před 6 lety

    Beautiful.

  • @SugarBeetMC
    @SugarBeetMC Před 4 lety +1

    13:10 Dat S.

  • @azlanjor5019
    @azlanjor5019 Před 6 lety

    👏lit mafs

  • @gammaknife167
    @gammaknife167 Před 6 lety

    I'm sure many other people will tell you this too - it's the identity matrix. Loving this week, especially this one!

    • @GreenMeansGOF
      @GreenMeansGOF Před 6 lety

      It’s usually denoted by capital i with a subcript of n where n is the size of the matrix(2x2, 3x3,...). P.S. I hate it that capital i looks like lowercase L.

  • @maxblack493
    @maxblack493 Před 5 lety

    Salute.

  • @bamdadshamaei1415
    @bamdadshamaei1415 Před 6 lety

    What does pre record mean?

  • @46pi26
    @46pi26 Před 6 lety

    Anyone who loves Papa Fibonacci needs to check out the song Lateralus. Also
    Papa Flammy>Papa Fibonacci

    • @46pi26
      @46pi26 Před 6 lety

      No songs for Papa Flammy tho :/

    • @cameodamaneo
      @cameodamaneo Před 6 lety +1

      I hate the shoehorned mathematics in that song. The lyrics are pretty good though.

    • @46pi26
      @46pi26 Před 6 lety

      Cameron Pearce Yeah Maynard himself said he regretted it but I personally really like the riffs. Not because I'm a sheep and believe they somehow spiritually resonate with me, just because it sounds pretty badass.

    • @46pi26
      @46pi26 Před 6 lety

      Flammable Maths I think you forgot to apply the negative signs at some point after the Papa operator. It's actually Papa Flammy>Papa 46&pi

  • @matteodamiano6733
    @matteodamiano6733 Před 6 lety +2

    Papa Lucas when

  • @kamarinelson
    @kamarinelson Před 6 lety

    you need to create an ePiC video alert LoL.

  • @peterdriscoll4070
    @peterdriscoll4070 Před 5 lety

    Yeah. Complicated way of getting this result. But cool. phi to the power of n is a solution of the recurrence relation.

  • @koenth2359
    @koenth2359 Před 6 lety

    That was great and funny.

  • @leif1075
    @leif1075 Před 4 lety

    The Fibonacci spiral does recur a lot in nature, just not "everywhere" so why do you say that..because people exaggerate wheb it appears?

  • @thedoublehelix5661
    @thedoublehelix5661 Před 5 lety

    Wow

  • @L.Lawliet.3301
    @L.Lawliet.3301 Před rokem

    Ich verstehe leider noch nicht viel, weil ich die Grundlagen zu det nicht kann und Matrizen diagonalisieren