Newton Interpolation and Divided Differences

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

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

  • @dvir-ross
    @dvir-ross 2 года назад +15

    Great video! This is high level but understandable. Love it.

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

      Thanks a lot!

    • @dvir-ross
      @dvir-ross 2 года назад

      @@DrWillWood thank you!
      Can i ask how do you animate these videos?
      Is it manim?

    • @DrWillWood
      @DrWillWood  2 года назад +2

      @@dvir-ross Everything on my channel has been done in Keynote (the Apple version of Microsoft powerpoint if you're not a Mac user!). Then I do a bit of editing to make the videos flow a bit better and add background music :-)

    • @dvir-ross
      @dvir-ross 2 года назад

      @@DrWillWood wow! That is amazing! I didn't know that one can get such great results with using Powerpoint.
      Briliant!

  • @izmarsel
    @izmarsel 24 дня назад

    Lovely explanation. Managed to follow it nicely. I was curious about Babbage’s calculation machine and arrived at your video. Great job !!!!!

  • @oraviram
    @oraviram 4 месяца назад +1

    Before I forget: small error at 9:15, in the second line, it's p_n that should be multiplied by x_n+1, and q_n is multiplied by x_0. The signs should stay as they are. This doesn't really matter since q_n and p_n agree at x_k, but it may still be a good idea to add it to the errata.
    Anyway, the main reason I came here is to say thanks and that this was a great video. My university does a really bad job with numerical analysis. Most courses here are taught with the university's own books, and they are very high quality. First year courses like Calculus 1 and Linear Algebra 1 set very high standards for rigor, both using precise definitions and giving complete proofs of everything. Last semester I took set theory which basically completed the hole in my knowledge by giving an axiomatic foundation of math.
    Now I am taking numerical analysis and it's like all the rigor is thrown into the trash. We are using Burden's book and it's hard to even call it a math book. Definitions are not consistent, it contradicts itself, the proofs are sloppy and sometimes incorrect, statements of theorems often require extra conditions which are not mentioned, and theorems are applied even when not all the conditions are met. The worst thing, though, is their favorite proof method: do a few examples and notice the pattern, hope it applies forever.
    Sorry this became a rant about the book, but I just want to make it clear how this video saved me.
    The way divided differences were introduced in our book was...stupid: we already studied interpolation polynomials (with that they did an alright job), so they went like "let's try to present them in this form". They calculated the first two coefficients, introduced divided differences using the recurrence relation, and said "as you may guess, the nth coefficient is f[x0,...,xn]". No proof no nothing, they just moved on like nothing.
    It's fine if they did that if the proof was trivial, but like, it's far from it???
    Even on Wikipedia I could barely get much help, but then your video introduced it in like the most perfect way it could. Defining the divided differences as the coefficients of the interpolation polynomials in terms of the newton polynomial basis makes more sense than an out-of-the-blue recurrence relation (and it's also easy to make rigorous using linear algebra). After doing that you just gave a simple proof which makes you understand why the recurrence relation makes sense.
    I just don't get why it was omitted from the course I am taking. It's far from trivial, and it's not that complicated, but our book just decided to brush it under the rug and hope we take its word for it.
    Alright that's it, sorry for the rant, and thanks for putting out this video.

  • @armanboss2257
    @armanboss2257 Год назад +4

    sir you are lifesaver for my upcoming semesters

  • @amansartaz5864
    @amansartaz5864 2 года назад +2

    This is my first video of yours and you got my subs ! Nice explaination.

  • @pauselab5569
    @pauselab5569 6 месяцев назад +1

    there are even cooler things about newton polynomials. they are in some sense the discrete counterparts to taylor series and have relations with the calculus of discrete difference where you just have to adjust the divided difference a little.

  • @user-tz3wt9xc2s
    @user-tz3wt9xc2s Год назад +1

    Thanks for high-level explantion, examples!

  • @rishadislam8574
    @rishadislam8574 Год назад +3

    Thanks for this great video! Would really appreciate if you made new videos on forward, backward and centererd difference based off of divided differnce formula.

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

    very easy to understand, thank you

  • @avyakthaachar2.718
    @avyakthaachar2.718 4 месяца назад

    Amazing explanation and proof, just what I needed, thank you so much

  • @HoangM-zi7uk
    @HoangM-zi7uk 13 дней назад

    thank you very much for this video!

  • @YousifAbdelKarim-e4i
    @YousifAbdelKarim-e4i 2 месяца назад

    very well made video! keep it up

  • @theodoremercutio1600
    @theodoremercutio1600 8 месяцев назад +2

    I found the bit starting from 2:20 somewhat confusing and explained too quickly. Helpful video nonetheless. Thank you.

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

    Very helpful Thank you 🙏🏻

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

    Good explanation, thanks to you I was able to attain a better understanding of the Newton Interpolation and the idea of divided differences. I still don't understand the correlation between divided differences and writing them as integrals, which is what I need for proving the Hermite relation; but I understand this is not part of this video.

  • @duartecastro623
    @duartecastro623 9 месяцев назад

    Great explanation! Thanks for the help

  • @avocadolover257
    @avocadolover257 5 месяцев назад

    thank you so much sir, well comprehensive

  • @perseusz1691
    @perseusz1691 9 месяцев назад

    Great job! You teach very good.

  • @casperspook4415
    @casperspook4415 2 года назад +7

    Great content! Considering extrapolation rather than interpolation, would this newton polynomial work better, worse or identically to a taylor polynomial of the same order whose coefficients are determined by finite difference schemes?

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

      Interesting question! I'm not sure, this might depend on the function you're approximating... but there is one interesting point, if you let all the nodes tend to the same value (say x0) then the newton polynomial becomes the Taylor polynomial about x0 of the same order! so in a sense, Newton interpolation kind of "stretches" the Taylor polynomial so it extrapolates better. Probably, at the cost of its ability to follow closely the area close to x0.

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

      @@DrWillWood can the polynomial generated in the example represent a sin function or it only follow sin function at the nodes?

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

    thank you, much better than my teacher's 4hours useless lecture.

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

    Brilliant

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

    Great video Doc.

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

    Hey, Wonderful Video! Really I was struggling to understand this and now its so simple. Can you make a video on Radial Basis function interpolation or Kernel Interpolation? I am really working on some stuffs and I need it. Also What is the difference between Lagrange's and Newton Interpolation? When to use which? Also why can't we use Taylor series for polynomial approximation? Thank you!

    • @Alex-bc3tt
      @Alex-bc3tt 2 года назад +3

      There are a lot of questions in this comment, I will answer the last one, "why can't we use Taylor series for polynomial approximation?" well we do, we use Taylor series to approximate a polynomial centered at a certain point or more accurately in the neighborhood of a certain point. What this means is if you center a Taylor series at x=a then you approximate the polynomial to the neighborhood of x=a meaning all values of f(x) close to x=a can be approximated using a Taylor series polynomial T(x).... but this has a limitation, for values not in the neighborhood of x=a (that is far away from a) the approximation fails dismally. This implies that the Taylor Series can only approximate close to a certain point but cannot approximate on an interval say [a.b] which is where we need Interpolation methods such as Newton Interpolation divided differences and Lagrange's Polynomial interpolation. Hope this answers your last question.

    • @comuniunecuosho-campulbudi7611
      @comuniunecuosho-campulbudi7611 Год назад +1

      Mike Wood, as you progress on your stuffs keep us up to date with your discoveries and with the answers you have come to know (to your own questions), we also want to learn these things

  • @НикитаКасинский
    @НикитаКасинский 2 года назад +5

    how can we get the equation at 9:16? seems like it has to be Xk (Qn (Xk)+Pn (Xk)) - (X0Qn(Xk)+Xn+1Pn(Xk))

    • @DrWillWood
      @DrWillWood  2 года назад +6

      well spotted! thanks for pointing that out. it seems I accidentally wrote x_k - x_n+1 in the first equation when it should be x_n+1 - x_k. sorry about that!

    • @НикитаКасинский
      @НикитаКасинский 2 года назад

      @@DrWillWood yeah, now it makes sense. Thanks a lot. I really enjoy your videos

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

      @@DrWillWood also on the next line, at " x_n+1 qn(x_k) - x_0 pn(x_k) ". Am I wrong or p and q need to be switched ?

    • @veselinborisov369
      @veselinborisov369 10 месяцев назад

      @@leonardoongari1853 Yes, they should swap.

  • @almuktadirkhan9201
    @almuktadirkhan9201 11 месяцев назад

    This is superb. Thank u so much

  • @AJ-et3vf
    @AJ-et3vf 2 года назад

    Awesome video! Thank you!

  • @kalkhasse
    @kalkhasse 2 года назад +2

    Thanks for awesome videos!
    Does this method give the same polynomials as Lagrange interpolation? And if so, when would you use one method over the other?

    • @DrWillWood
      @DrWillWood  2 года назад +7

      Yes! for n+1 nodes there is only one polynomial of order n which interpolates them. so all methods give the same polynomial (but probably disguised in a different form). Where Lagrange interpolation has a nice advantage is if you want to approximate multiple functions at the same nodes, since the you can just multiply the same Lagrange polynomials l_i by the new y values. Newton interpolation has a clear advantage if you want the add a new node, since you can just add another column to the divided difference table. All things equal, I think Newton interpolation is easier to do both, by hand (not that you'd do that outside of an exam!) and programmatically: I calculated the example from the video in a spreadsheet!

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

    this guy is the goat

  • @QT-yt4db
    @QT-yt4db 2 года назад +1

    At 6:34, I seemed to have lost of what is the purpose of proof. First, what's the definition of f[x0,x1,...,xn+1]? seems the proof is to prove the definition. But a definiton is just definition and it needs not to be proved, unless there is another definition of f[x0,x1,...,xn+1] in the first place.

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

    For a second I thought the music in the background was L’s music from death note. Tbh I could put that behind any math video lol

  • @user-so1rh4zh9h
    @user-so1rh4zh9h Год назад

    谢谢!

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

    thanks

  • @kalinkochnev5669
    @kalinkochnev5669 11 месяцев назад

    At 10:54, I am having a hard time following where x^n+1 comes from

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

    When can i using only Newton's method?

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

    👏👏👏

  • @user-pr6ed3ri2k
    @user-pr6ed3ri2k Год назад

    😅 3:54 familiargradien

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

    𝐩𝐫𝐨𝐦𝐨𝐬𝐦 💐