{"id":10716,"date":"2017-08-10t11:52:57","date_gmt":"2017-08-10t18:52:57","guid":{"rendered":"\/\/www.catharsisit.com\/hs\/?p=10716"},"modified":"2019-03-17t18:28:29","modified_gmt":"2019-03-18t01:28:29","slug":"ap-calculus-bc-review-lagrange-error-bound","status":"publish","type":"post","link":"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/","title":{"rendered":"ap calculus bc review: lagrange error bound"},"content":{"rendered":"

what is the lagrange error bound? basically, it’s a theoretical limit that measures how bad a taylor polynomial estimate could be. read on to find out more!<\/p>\n

\"lagrange<\/p>\n

taylor series and taylor polynomials<\/h2>\n

the whole point in developing taylor series is that they replace more complicated functions with polynomial-like expressions. the properties of taylor series make them especially useful when doing calculus.<\/p>\n

remember, a taylor series for a function f<\/em>, with center c<\/em>, is:<\/p>\n

\"taylor<\/p>\n

taylor series are wonderful tools. however, the biggest drawback associated with them is the fact that they typically involve infinitely many<\/em> terms. <\/p>\n

\"infinitely<\/p>\n

so in practice, we tend to use only the first few terms. maybe 3 terms, maybe 30, but at least a finite number of terms is more reasonable than all infinitely many of them, right?<\/p>\n

but there is a trade-off. you lose accuracy<\/em>. a taylor polynomial<\/strong> (that is, finitely many terms of a taylor series) can provide a very good approximation for a function, but it can’t model the function exactly.<\/p>\n

that’s where the error<\/em> comes in.<\/p>\n

by the way, now would be a great time to review: ap calculus bc review: taylor polynomials<\/a> and ap calculus bc review: taylor and maclaurin series<\/a>.<\/p>\n

the lagrange error bound<\/h2>\n

let t<\/em>(x<\/em>) be the n<\/em>th order taylor polynomial for a given function f<\/em>, with center at c<\/em>. <\/p>\n

\"taylor<\/p>\n

then the error between t<\/em>(x<\/em>) and f<\/em>(x<\/em>) is no greater than the lagrange error bound<\/strong> (also called the remainder term<\/strong>),<\/p>\n

\"lagrange<\/p>\n

here, m stands for the maximum absolute value of the (n+1)-order derivative on the interval between c<\/em> and x<\/em>. in other words, m<\/em> is found by plugging in the z<\/em>-value between x<\/em> and c<\/em> that maximizes the following expression:<\/p>\n

\"m<\/p>\n

that may sound complicated, but in practice, there’s usually a quick way to decide what m<\/em> should be.<\/p>\n

example<\/h2>\n

use the lagrange error bound to estimate the error in using a 4th degree maclaurin polynomial to approximate cos(π\/4).<\/p>\n

solution<\/h4>\n

first, you need to find the 4th degree maclaurin polynomial for cos x<\/em>. a maclaurin polynomial is simply a taylor polynomial centered at c<\/em> = 0. <\/p>\n

\"t(x)<\/p>\n

now, for the error bound, we’ll need to know what the 5th-derivative of f<\/em>(x<\/em>) = cos x<\/em> is. (you probably would have computed all of the derivatives up to the 4th order when you constructed the maclaurin polynomial for the function, anyway.)<\/p>\n

\"derivatives<\/p>\n

now, the largest that |-sin x<\/em>| could possibly be is 1. (actually, we could do even better than that if we realize that |-sin(π\/4)| = 0.707 maximizes the quantity on the interval [0, π\/4], but we’ll stick with our first estimate of 1. after all, this is only<\/em> an estimate!)<\/p>\n

so, we have m<\/em> = 1. plugging this into the error bound formula with n<\/em> = 4, we get:<\/p>\n

\"example<\/p>\n

the error is roughly 0.0025<\/p>\n

follow-up: how good was our estimate?<\/h4>\n

because the computed error bound was so tiny, we can be sure that t<\/em>(x<\/em>) approximates the values of cos x<\/em> incredibly well, at least when the input is within the interval from 0 to π\/4.<\/p>\n

let’s compare values to see just how close the approximation really is. computing each of t<\/em>(π\/4) and cos(π\/4) to eight digits of accuracy:<\/p>\n

\"t(pi\/4)<\/p>\n

\"cos(pi\/4)<\/p>\n

the actual error is: 0.70742921 – 0.70710678 = 0.00032243. this is much better than our estimated error of 0.0025. really, the lagrange error bound is just a worst-case scenario in terms of estimating error; the actual error is often much less.<\/p>\n","protected":false},"excerpt":{"rendered":"

what is the lagrange error bound? basically, it’s a theoretical limit that measures how bad a taylor polynomial estimate could be. read on to find out more! taylor series and taylor polynomials the whole point in developing taylor series is that they replace more complicated functions with polynomial-like expressions. the properties of taylor series make […]<\/p>\n","protected":false},"author":223,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[240],"tags":[241],"ppma_author":[24932],"acf":[],"yoast_head":"\nap calculus bc review: lagrange error bound - magoosh blog | high school<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/\" \/>\n<meta property=\"og:locale\" content=\"en_us\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ap calculus bc review: lagrange error bound\" \/>\n<meta property=\"og:description\" content=\"what is the lagrange error bound? basically, it’s a theoretical limit that measures how bad a taylor polynomial estimate could be. read on to find out more! taylor series and taylor polynomials the whole point in developing taylor series is that they replace more complicated functions with polynomial-like expressions. the properties of taylor series make […]\" \/>\n<meta property=\"og:url\" content=\"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/\" \/>\n<meta property=\"og:site_name\" content=\"magoosh blog | high school\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/magooshsat\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-08-10t18:52:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-03-18t01:28:29+00:00\" \/>\n<meta property=\"og:image\" content=\"\/\/www.catharsisit.com\/hs\/files\/2017\/08\/apcalc_lagrange.png\" \/>\n<meta name=\"author\" content=\"shaun ault\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@shaunaultmath\" \/>\n<meta name=\"twitter:site\" content=\"@magooshsat_act\" \/>\n<meta name=\"twitter:label1\" content=\"written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"shaun ault\" \/>\n\t<meta name=\"twitter:label2\" content=\"est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"article\",\"@id\":\"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/#article\",\"ispartof\":{\"@id\":\"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/\"},\"author\":{\"name\":\"shaun ault\",\"@id\":\"\/\/www.catharsisit.com\/hs\/#\/schema\/person\/f01e70874cef77d6f6392c12c43f6b6f\"},\"headline\":\"ap calculus bc review: lagrange error bound\",\"datepublished\":\"2017-08-10t18:52:57+00:00\",\"datemodified\":\"2019-03-18t01:28:29+00:00\",\"mainentityofpage\":{\"@id\":\"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/\"},\"wordcount\":567,\"commentcount\":2,\"publisher\":{\"@id\":\"\/\/www.catharsisit.com\/hs\/#organization\"},\"keywords\":[\"ap calculus\"],\"articlesection\":[\"ap\"],\"inlanguage\":\"en-us\",\"potentialaction\":[{\"@type\":\"commentaction\",\"name\":\"comment\",\"target\":[\"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/#respond\"]}]},{\"@type\":\"webpage\",\"@id\":\"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/\",\"url\":\"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/\",\"name\":\"ap calculus bc review: lagrange error bound - magoosh blog | high school\",\"ispartof\":{\"@id\":\"\/\/www.catharsisit.com\/hs\/#website\"},\"datepublished\":\"2017-08-10t18:52:57+00:00\",\"datemodified\":\"2019-03-18t01:28:29+00:00\",\"breadcrumb\":{\"@id\":\"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/#breadcrumb\"},\"inlanguage\":\"en-us\",\"potentialaction\":[{\"@type\":\"readaction\",\"target\":[\"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/\"]}]},{\"@type\":\"breadcrumblist\",\"@id\":\"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/#breadcrumb\",\"itemlistelement\":[{\"@type\":\"listitem\",\"position\":1,\"name\":\"home\",\"item\":\"\/\/www.catharsisit.com\/hs\/\"},{\"@type\":\"listitem\",\"position\":2,\"name\":\"ap calculus bc review: lagrange error bound\"}]},{\"@type\":\"website\",\"@id\":\"\/\/www.catharsisit.com\/hs\/#website\",\"url\":\"\/\/www.catharsisit.com\/hs\/\",\"name\":\"magoosh blog | high school\",\"description\":\"act, sat, college admissions, life\",\"publisher\":{\"@id\":\"\/\/www.catharsisit.com\/hs\/#organization\"},\"potentialaction\":[{\"@type\":\"searchaction\",\"target\":{\"@type\":\"entrypoint\",\"urltemplate\":\"\/\/www.catharsisit.com\/hs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inlanguage\":\"en-us\"},{\"@type\":\"organization\",\"@id\":\"\/\/www.catharsisit.com\/hs\/#organization\",\"name\":\"magoosh\",\"url\":\"\/\/www.catharsisit.com\/hs\/\",\"logo\":{\"@type\":\"imageobject\",\"inlanguage\":\"en-us\",\"@id\":\"\/\/www.catharsisit.com\/hs\/#\/schema\/logo\/image\/\",\"url\":\"\/\/www.catharsisit.com\/hs\/files\/2019\/02\/magoosh-logo-purple-60h.png\",\"contenturl\":\"\/\/www.catharsisit.com\/hs\/files\/2019\/02\/magoosh-logo-purple-60h.png\",\"width\":265,\"height\":60,\"caption\":\"magoosh\"},\"image\":{\"@id\":\"\/\/www.catharsisit.com\/hs\/#\/schema\/logo\/image\/\"},\"sameas\":[\"https:\/\/www.facebook.com\/magooshsat\/\",\"https:\/\/twitter.com\/magooshsat_act\"]},{\"@type\":\"person\",\"@id\":\"\/\/www.catharsisit.com\/hs\/#\/schema\/person\/f01e70874cef77d6f6392c12c43f6b6f\",\"name\":\"shaun ault\",\"image\":{\"@type\":\"imageobject\",\"inlanguage\":\"en-us\",\"@id\":\"\/\/www.catharsisit.com\/hs\/#\/schema\/person\/image\/7c80c2046678e19beb5b9c8401d56613\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/28c36635b8fed6717752755f46cda239?s=96&d=mm&r=g\",\"contenturl\":\"https:\/\/secure.gravatar.com\/avatar\/28c36635b8fed6717752755f46cda239?s=96&d=mm&r=g\",\"caption\":\"shaun ault\"},\"description\":\"shaun earned his ph. d. in mathematics from the ohio state university in 2008 (go bucks!!). he received his ba in mathematics with a minor in computer science from oberlin college in 2002. in addition, shaun earned a b. mus. from the oberlin conservatory in the same year, with a major in music composition. shaun still loves music -- almost as much as math! -- and he (thinks he) can play piano, guitar, and bass. shaun has taught and tutored students in mathematics for about a decade, and hopes his experience can help you to succeed!\",\"sameas\":[\"http:\/\/valdosta.academia.edu\/shaunault\",\"https:\/\/twitter.com\/shaunaultmath\"],\"url\":\"\/\/www.catharsisit.com\/hs\/author\/shaunault\/\"}]}<\/script>\n<!-- \/ yoast seo premium plugin. -->","yoast_head_json":{"title":"ap calculus bc review: lagrange error bound - magoosh blog | high school","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/","og_locale":"en_us","og_type":"article","og_title":"ap calculus bc review: lagrange error bound","og_description":"what is the lagrange error bound? basically, it’s a theoretical limit that measures how bad a taylor polynomial estimate could be. read on to find out more! taylor series and taylor polynomials the whole point in developing taylor series is that they replace more complicated functions with polynomial-like expressions. the properties of taylor series make […]","og_url":"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/","og_site_name":"magoosh blog | high school","article_publisher":"https:\/\/www.facebook.com\/magooshsat\/","article_published_time":"2017-08-10t18:52:57+00:00","article_modified_time":"2019-03-18t01:28:29+00:00","og_image":[{"url":"\/\/www.catharsisit.com\/hs\/files\/2017\/08\/apcalc_lagrange.png"}],"author":"shaun ault","twitter_card":"summary_large_image","twitter_creator":"@shaunaultmath","twitter_site":"@magooshsat_act","twitter_misc":{"written by":"shaun ault","est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"article","@id":"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/#article","ispartof":{"@id":"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/"},"author":{"name":"shaun ault","@id":"\/\/www.catharsisit.com\/hs\/#\/schema\/person\/f01e70874cef77d6f6392c12c43f6b6f"},"headline":"ap calculus bc review: lagrange error bound","datepublished":"2017-08-10t18:52:57+00:00","datemodified":"2019-03-18t01:28:29+00:00","mainentityofpage":{"@id":"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/"},"wordcount":567,"commentcount":2,"publisher":{"@id":"\/\/www.catharsisit.com\/hs\/#organization"},"keywords":["ap calculus"],"articlesection":["ap"],"inlanguage":"en-us","potentialaction":[{"@type":"commentaction","name":"comment","target":["\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/#respond"]}]},{"@type":"webpage","@id":"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/","url":"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/","name":"ap calculus bc review: lagrange error bound - magoosh blog | high school","ispartof":{"@id":"\/\/www.catharsisit.com\/hs\/#website"},"datepublished":"2017-08-10t18:52:57+00:00","datemodified":"2019-03-18t01:28:29+00:00","breadcrumb":{"@id":"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/#breadcrumb"},"inlanguage":"en-us","potentialaction":[{"@type":"readaction","target":["\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/"]}]},{"@type":"breadcrumblist","@id":"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-lagrange-error-bound\/#breadcrumb","itemlistelement":[{"@type":"listitem","position":1,"name":"home","item":"\/\/www.catharsisit.com\/hs\/"},{"@type":"listitem","position":2,"name":"ap calculus bc review: lagrange error bound"}]},{"@type":"website","@id":"\/\/www.catharsisit.com\/hs\/#website","url":"\/\/www.catharsisit.com\/hs\/","name":"magoosh blog | high school","description":"act, sat, college admissions, life","publisher":{"@id":"\/\/www.catharsisit.com\/hs\/#organization"},"potentialaction":[{"@type":"searchaction","target":{"@type":"entrypoint","urltemplate":"\/\/www.catharsisit.com\/hs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inlanguage":"en-us"},{"@type":"organization","@id":"\/\/www.catharsisit.com\/hs\/#organization","name":"magoosh","url":"\/\/www.catharsisit.com\/hs\/","logo":{"@type":"imageobject","inlanguage":"en-us","@id":"\/\/www.catharsisit.com\/hs\/#\/schema\/logo\/image\/","url":"\/\/www.catharsisit.com\/hs\/files\/2019\/02\/magoosh-logo-purple-60h.png","contenturl":"\/\/www.catharsisit.com\/hs\/files\/2019\/02\/magoosh-logo-purple-60h.png","width":265,"height":60,"caption":"magoosh"},"image":{"@id":"\/\/www.catharsisit.com\/hs\/#\/schema\/logo\/image\/"},"sameas":["https:\/\/www.facebook.com\/magooshsat\/","https:\/\/twitter.com\/magooshsat_act"]},{"@type":"person","@id":"\/\/www.catharsisit.com\/hs\/#\/schema\/person\/f01e70874cef77d6f6392c12c43f6b6f","name":"shaun ault","image":{"@type":"imageobject","inlanguage":"en-us","@id":"\/\/www.catharsisit.com\/hs\/#\/schema\/person\/image\/7c80c2046678e19beb5b9c8401d56613","url":"https:\/\/secure.gravatar.com\/avatar\/28c36635b8fed6717752755f46cda239?s=96&d=mm&r=g","contenturl":"https:\/\/secure.gravatar.com\/avatar\/28c36635b8fed6717752755f46cda239?s=96&d=mm&r=g","caption":"shaun ault"},"description":"shaun earned his ph. d. in mathematics from the ohio state university in 2008 (go bucks!!). he received his ba in mathematics with a minor in computer science from oberlin college in 2002. in addition, shaun earned a b. mus. from the oberlin conservatory in the same year, with a major in music composition. shaun still loves music -- almost as much as math! -- and he (thinks he) can play piano, guitar, and bass. shaun has taught and tutored students in mathematics for about a decade, and hopes his experience can help you to succeed!","sameas":["http:\/\/valdosta.academia.edu\/shaunault","https:\/\/twitter.com\/shaunaultmath"],"url":"\/\/www.catharsisit.com\/hs\/author\/shaunault\/"}]}},"authors":[{"term_id":24932,"user_id":223,"is_guest":0,"slug":"shaunault","display_name":"shaun ault","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/28c36635b8fed6717752755f46cda239?s=96&d=mm&r=g","user_url":"http:\/\/valdosta.academia.edu\/shaunault","last_name":"ault","first_name":"shaun","description":"shaun earned his ph. d. in mathematics from the ohio state university in 2008 (go bucks!!). he received his ba in mathematics with a minor in computer science from oberlin college in 2002. in addition, shaun earned a b. mus. from the oberlin conservatory in the same year, with a major in music composition. shaun still loves music -- almost as much as math! -- and he (thinks he) can play piano, guitar, and bass. shaun has taught and tutored students in mathematics for about a decade, and hopes his experience can help you to succeed!"}],"_links":{"self":[{"href":"\/\/www.catharsisit.com\/hs\/wp-json\/wp\/v2\/posts\/10716"}],"collection":[{"href":"\/\/www.catharsisit.com\/hs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/\/www.catharsisit.com\/hs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/\/www.catharsisit.com\/hs\/wp-json\/wp\/v2\/users\/223"}],"replies":[{"embeddable":true,"href":"\/\/www.catharsisit.com\/hs\/wp-json\/wp\/v2\/comments?post=10716"}],"version-history":[{"count":0,"href":"\/\/www.catharsisit.com\/hs\/wp-json\/wp\/v2\/posts\/10716\/revisions"}],"wp:attachment":[{"href":"\/\/www.catharsisit.com\/hs\/wp-json\/wp\/v2\/media?parent=10716"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.catharsisit.com\/hs\/wp-json\/wp\/v2\/categories?post=10716"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.catharsisit.com\/hs\/wp-json\/wp\/v2\/tags?post=10716"},{"taxonomy":"author","embeddable":true,"href":"\/\/www.catharsisit.com\/hs\/wp-json\/wp\/v2\/ppma_author?post=10716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}