Lagrange Error Bound to Find Error when using Taylor Polynomials

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

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

  • @sfiakhn
    @sfiakhn 7 лет назад +58

    Dear PatrickJMT,
    You have saved our asses in every math class for four years and counting. Thank u for ur beautiful brain.
    Sincerely
    Sofia and sasha

  • @timhourigan6257
    @timhourigan6257 5 лет назад +8

    Thank you for a concise, clear explanation. Most calculus textbooks do not offer near enough explanation or examples. Take a bow, sir! Bravo!

  • @AishikGhosh
    @AishikGhosh 7 лет назад +6

    thanks for continuing to make excellent videos for so many years. words can't describe how much you have helped me.

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

    this is the real classic video on this subject, so mahy videos came after this one, and as years pass by, still the classic

  • @bjornnorenjobb
    @bjornnorenjobb 6 лет назад +8

    This is the first time I felt that I started to get this, thank you so much! It would be so much appreciated if you did more videos on Lagrange Error Bound!!

  • @brodydrake2253
    @brodydrake2253 5 лет назад +27

    when maximizing f(z) for sin are you maximizing it on any interval or only the given one (from 0 to 0.1)? Why did you plug in sin(pi/2) to get 1 instead of plugging in sin(0.1)?

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

      He is wrong. It is supposed to be on the given interval, so 0 to 0.1. This video is not that good

  • @ddinggg
    @ddinggg 7 лет назад +34

    Could you do another example, perhaps involving e?

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

    @patricJMT dude, thanks for making these video that prep me for the ap test!! you are my hero!!

  • @gobletoffire75
    @gobletoffire75 7 лет назад +97

    Who else is studying for AP Calculus BC and IB Math HL?

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

    Does anyone notice that Patrick's voice has changed? I watched his calculus videos(which he uploaded 8 years ago) and I'm watching this video now and his voice changes are so obvious. A life spent in help of humanity. Thanks Patrick! You are saving our lives :P

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

      MedamriHD Exactly my thoughts xD

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

      MedamriHD Nope, did not notice any changes. His voice is somewhat adorable.

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

    Minor point and I hate bringing these up, but, if (2n+1)=3, then n=1. Then also we're considering R_1, & f^(1+1), or f''(x). The process otherwise is similar. Other than that, for me, the hardest part of this is maximizing the z, or Xi in some texts. The rest is more or less plug-n-play.

  • @neylsonrodrigues7350
    @neylsonrodrigues7350 3 года назад +1

    Thank you. This was great and helps me so much on my homework

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

    I dropped Degree in Biology for Math...thanks to my math doctor @patrickJMT. My math is surely salvated. Thanks.

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

    Patrick, considering that you estimated sin(0.1) to be at most 1 in order to get a bound on the error of sin(0.1), does that mean you can do the process again and get a better bound? And if so, how much can we improve this by just iterating this process? I'm sure it will converge, but to what value? That is a cute thing from the fact you use a 3rd degree approximation and the 4th derivative is the same function. Very interesting. Seems like a similar argument would hold for the exponential function too

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

    The 4th degree polynomial is the same as the 3rd: we can find a smaller error bound: 0.1^5/5!

    • @naranjojo
      @naranjojo 7 месяцев назад

      50 times better than video's solution!

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

    Thanks so much! Finally understood this

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

    Hey Patrick! I've been watching your videos for about 6 years now! I'm heading off to grad school and was wondering if you could do some GRE math videos. Thanks!

  • @OSMAN-VII
    @OSMAN-VII 7 лет назад +13

    Why is the max in sin (z) = 1 ? since z is max at 0.1 , doesn't that mean that max in sin is sin(0.1)?

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

      yeep that's what I thought too, but I think he did that because we are trying to approximate the function therefore we cannot use the function to find the maximum. I think

    • @ericromin
      @ericromin 6 лет назад +25

      As Nico said, sin(0.1) is the function you're approximating, so you can't use it's value in your approximation. If you could calculate it, you wouldn't need the approximation. Before you say "use a calculator/computer too calculate it", I'll ask you to think about how those devices calculate sin(0.1). (Hint: they are giving approximations using either a Taylor polynomial with several terms or another method like the CORDIC algorithm.)
      Also keep in mind that this is an error BOUND, not the exact amount of error in your approximation. That helped me become comfortable using values other than the exact max.
      We use 1, specifically, to maximize the derivative for sine (and cosine) problems, because |sinx|

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

    Fantastic video, thank you 😊

  • @monsecortez180
    @monsecortez180 4 года назад +16

    I just have trouble grasping how to find the max value of z :(

    • @adam-jm1gq
      @adam-jm1gq 4 года назад +2

      Hi, the way I get it, is z is a value that exists between c and x and c and x can be figured out from what's given to you. Using the remainder theorem, sub in your n to the remainder formula and your x and c. It should leave you with a nice answer for the remainder except for the f^n+1(Z) part. if you were asked to approximate e.g ln(1.1), then we can say f(x) = lnx. if we need to find f^5(Z), then differentiate that 5 times and you will get an equation in terms of x (in this example, 24x^-5).
      If you imagine the remainder formula with a c instead of a z, its really just giving the value of the term with the n+1th power, which is your error in your approximation to the nth power (I think n+2th powers and so on are ignored for being comparatively smaller but im not entirely sure). If we are asked to find the MAXIMUM error, then we need to find the largest possible value for the equation (in my example, (24)/(x^5) ), as if we tried to find the minimum value of this, it would be like saying we want the value closest to zero, or equal to zero which means there is no error at all. So using your equation, find the largest output value by subbing in the correct x value between C and X. this value is z. you don't actually need to know z, as you can just find the largest value of the function and then sub the function f^n+1(Z) into the formula.
      Hope that helped! The issue i'm having, as stated above is that I don't understand why the formula only considers the remainder to the n+1 and not also n+2 and n+3, as they might be small, but are also errors. Maybe this max error is also an approximation in itself.

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

      Bandito Donburrito Thank you so much!

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

      @@adam-jm1gq It is because following terms' effect are within the error. For example, you are calculating to nth power then n+1 will be error and we know this keeps getting smaller in order to converge. Hence you show error to be +R which is calculated using n+1 so n+2 and following terms will increase accuracy, however, won't effect the decimal place we needed because we already corrected it so they are not errors that you need to add what already we have but rather it means as you go further, you'll have a smaller error.
      I answered it but probably you've already got your answer by now (you posted this 6 months before me). I hope this can help who are having the same issue

  • @wellbangok8959
    @wellbangok8959 7 лет назад +4

    Patrick do you have any videos on how to solve 3rd order Cauchy Euler equations? Thanks.

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

      no, I'm pretty sure I don't! (There are so many I forget sometimes).

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

      patrickJMT Darn, thanks anyways! Keep up the good work!

  • @luckn.3371
    @luckn.3371 3 года назад

    thank you so much! this was very helpful.

  • @azaz8398
    @azaz8398 5 лет назад +3

    how do you see the stuff through ur hand when you are writing it..

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

    Bro you so clutch thanks a lot!

  • @evdokimovm
    @evdokimovm 11 часов назад

    Shouldn't we use 5th degree for remainder? I mean, since for sin approximation we use only odd (i.e . 2n + 1) degrees. Shouldn't we skip (2n+2)'nd degree since in this degree polynomial doesn't exists in c?

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

    Thank you sir 😊

  • @nashsteve7384
    @nashsteve7384 7 лет назад +6

    You are definetely my idol!!

    • @patrickjmt
      @patrickjmt  7 лет назад +4

      Glad you like the videos, but I definitely ain't idol material! :)

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

      patrickJMT thank you for video and information above. peace and love.

    • @patrickjmt
      @patrickjmt  7 лет назад +8

      likewise my friend!

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

      patrickJMT you are God!

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

    How would you answer a student who asks WHY the Taylor formula evaluated at the n+1 derivative for (and here's the kicker) any value between x and a gives the largest error? Is there a common sense, way to explain this? I know it's connected to the mean value theorem, but I can't find that explanation in a textbook. Students tend to comprehend the alternating series error calculation (which is much more intuitive) and then try (unsuccessfuly) to use it to make sense of the Lagrange error bound. I need help explaining this!

  • @angiethai9318
    @angiethai9318 7 лет назад +5

    right before aps♡!!

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

    is not the choice of x "also" determening the max value?

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

    why is z trapped between 0 and 0.1? Is there a video on that?

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

    your work is always neat and tidy. I believe an accompanying graph will bring out the lots though.

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

    i think you made an error at the end. did you mean to write .099833? instead of .099883? the former is what you solved through the taylor polynomial. (and the latter makes the final statement wrong b/c sin(.1) is appx .099833417

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

    Thnx!

  • @ysun2788
    @ysun2788 5 лет назад +4

    that pen scraping on paper sound is absolutely annoying, but good content

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

    What is bound of e^x

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

    Very helpful

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

    Why is the actual value not between the error bounds?
    Actual value of sin(0.1) = 0.09983341664
    Is this normal?

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

    Been watching your videos for years and would like to make videos like this for my students, but I don't know how to record. Could you let me know how you record your videos?

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

    what if it's not centered at 0

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

    i thought lagrange error is used when the series isnt alternating? but sin(x) taylor series is alternating??

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

      I'm only a student, but if I understand the concept right, the Lagrange can only be used if the series alternates. This is because the values are getting smaller and smaller and are being added and then subtracted, so the value of the taylor polynomial gets closer and closer to the real value.I probably haven't explained this right, I don't really know how else to explain it on paper, but I hope this helps

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

    Shoutout to Mr. Achille’s class!

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

    I do not understand the useful result, is the useful result used in this example?

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

    what if I know error value but I want "n"

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

    Can someone please send this man a better microphone?

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

    what if (x - a) > 1, say 5? the error estimate would be very large

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

    How can I contact U ?

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

    sin(0.1)=9.983341664682815230681419841062e-2
    error ????

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

    Add another video pleaseeee!

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

    Why don't you solve for Z?

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

      Wait never mind bc it's strictly increasing

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

      Thanks that helped a lot

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

      😂😂😂😂 agreed

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

    you did a transcribing error at 13.06 but that's only human but my main point is that your approach is mechanical
    you do not derive or explain the error term i.e why does z lie between 0 and 0.1
    it would only require a few sentences would it not

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

      This was my question exactly. How would you explain it? I know it has something to do with the mean value theorem, but I can't find a good explanation anywhere.

  • @rh88841
    @rh88841 5 лет назад +3

    Patrick>Khan academy

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

    why did i pick math at uni ffs

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

    Where that 0.000004 come from

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

    I would use |sin(z)|

  • @noobmaster-dm7tu
    @noobmaster-dm7tu 7 лет назад

    one question: what do you do with all the paper you use? I hope you recycle them.
    And a quick suggestion, try using your white board as much as possible instead of the paper sheets.
    Keep up the good work!
    Thanks :)

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

    Ariana Legrange

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

    Again.

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

    Why are your fingers so weird looking?

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

    Unrelated to the video but do you see any hope for mankind considering the devastatingly dysgenic population growth? How is the world going to function when there are 4 billion sub-Saharan Africans with IQs mostly in the 70s and 80s? And how many more Oswald Teichmuellers will perish due to needless brother wars? Is this the end of history?