the graphs of the taylor polynomials of a function tend to match the original function’s graph closer and closer as the degree increases.<\/figcaption><\/figure>\ntaylor and maclaurin series<\/h2>\n but taylor and maclaurin polynomials can only approximate<\/em> functions. the approximation gets better and better with the inclusion of more terms. if you want an exact<\/em> answer, then you have to include all<\/em> the terms — all of the infinitely many<\/em> terms!<\/p>\n <\/p>\n
so a taylor series is really just taking a taylor polynomial to its logical extreme — what happens when we let a taylor polynomial’s degree increase without ever stopping? <\/p>\n
note, we still use the same formula for the taylor coefficients as we did for taylor polynomials:<\/p>\n
<\/p>\n
(remember, the superscript (n<\/em>) means the nth derivative, not the n<\/em>th power, of the function.)<\/p>\nhere’s the complete formula for the taylor series of f<\/em>, with center c<\/em> (taylor’s formula<\/strong>):<\/p>\n <\/p>\n
the maclaurin series is the same thing, but with c<\/em> = 0 plugged in.<\/p>\nconvergence issues<\/h2>\n because there are an infinite number of terms in a typical taylor series, we have to address questions of convergence<\/strong>. <\/p>\nthe convergence of a taylor or maclaurin series depends on the value of x<\/em>. a given series will do one of three things:<\/p>\n\nit may converge (have a finite value) regardless of x<\/em>.<\/li>\nthere may be a finite number r<\/em> (called the radius of convergence<\/strong>) so that the series converges within r<\/em> units of the center c<\/em>, and diverges outside of those bounds. <\/li>\nthe series may converge only at the center x<\/em> = c<\/em>, diverging at every other x<\/em>-value.<\/li>\n<\/ol>\nbut wait, it gets worse!<\/p>\n
sometimes, even if a taylor series for f<\/em> converges at some x<\/em>-value, it may not actually have the same value as f<\/em>(x<\/em>)! <\/p>\ndon’t worry, though. on the ap calculus bc exam, you will only see situations in which the taylor series converges to the function within some finite radius or for all x<\/em>.<\/p>\nin this article, we’ll just focus on producing taylor and maclaurin series, leaving their convergence properties to another post.<\/p>\n
differentiation and integration<\/h2>\n taylor series are a type of power series<\/strong>. as such, you can do term-by-term differentiation and integration.<\/p>\nthe following derivative and integral formulas apply to any power series — not just taylor series.<\/p>\n
derivative formula<\/h3>\n <\/p>\n
integral formula<\/h3>\n <\/p>\n
common power series<\/h2>\n some functions are so common and useful that it just makes sense to memorize their power series. <\/p>\n
<\/p>\n
there is no maclaurin series for ln(x), because ln(0) is undefined. however, there’s a quick and easy fix. just shift the function itself over by one unit.<\/p>\n
<\/p>\n
example: hyperbolic functions<\/h3>\n the two functions, hyperbolic sine<\/strong> (sinh x<\/em>) and hyperbolic cosine<\/strong> (cosh x<\/em>) show up often in engineering.<\/p>\n <\/p>\n
find the maclaurin series for each one. then i’ll show you two methods. you can pick which one seems better for you.<\/p>\n
solution #1<\/h4>\n first, let’s see if we can use taylor’s formula.<\/p>\n
we’ll need to know the derivatives of both sinh x<\/em> and cosh x<\/em>. fortunately, there is a very simple pattern.<\/p>\n <\/p>\n
<\/p>\n
notice anything?<\/p>\n
the derivative of sinh x<\/em> is just cosh x<\/em>, and vice versa!<\/p>\nnext, we’ll also need to know the values at c<\/em> = 0.<\/p>\n <\/p>\n
now we have everything we need to put together the power series.<\/p>\n
\n\n\nk<\/em><\/th>\nf(k)<\/sup><\/em>(x<\/em>)<\/th>\nf(k)<\/sup><\/em>(1)\/k<\/em>!<\/th>\n<\/tr>\n<\/thead>\n\n\n0<\/td>\n f<\/em>(x<\/em>) = sinh x<\/em><\/td>\nsinh 0 = 0<\/td>\n<\/tr>\n \n1<\/td>\n f<\/em> '(x<\/em>) = cosh x<\/em><\/td>\ncosh 0 = 1<\/td>\n<\/tr>\n \n2<\/td>\n f<\/em> ''(x<\/em>) = sinh x<\/em><\/td>\n(sinh 0)\/2! = 0<\/td>\n<\/tr>\n \n3<\/td>\n f<\/em> '''(x<\/em>) = cosh x<\/em><\/td>\n(cosh 0)\/3! = 1\/6<\/td>\n<\/tr>\n \n4<\/td>\n f<\/em>(4)<\/sup>(x<\/em>) = sinh x<\/em><\/td>\n(sinh 0)\/4! = 0<\/td>\n<\/tr>\n \n5<\/td>\n f<\/em>(5)<\/sup>(x<\/em>) = cosh x<\/em><\/td>\n(cosh 0)\/5! = 1\/120<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/p>\n
only the odd degree terms are nonzero. here’s what it looks like when you put it all together.<\/p>\n
<\/p>\n
the power series for cosh x<\/em> follows much the same pattern, except that now it’s the even degree terms that are nonzero.<\/p>\n <\/p>\n
solution #2<\/h4>\n now let’s use the known power (maclaurin) series for ex<\/sup><\/em> to derive a power series for sinh x<\/em> and cosh x<\/em>.<\/p>\nremember: .<\/p>\n
then, in the formula for sinh x, you can just use the series for ex<\/sup><\/em> everywhere you see an “ex<\/sup><\/em>.”<\/p>\n <\/p>\n
that last line may be simplified further. there is a pattern at work here.<\/p>\n
\nif n<\/em> is even, then 1 – (-1)n<\/sup><\/em> – 1 – 1 = 0.<\/li>\nbut if n<\/em> is odd, then 1 – (-1)n<\/sup><\/em> – 1 – (-1) = 2.<\/li>\n<\/ul>\nso actually, only the odd degree terms survive in the sum. (sound familiar?<\/em>)<\/p>\nand in that case, the 1\/2 cancels with the 2, so that only the power of x and the factorial remains in each term.<\/p>\n
<\/p>\n
finally, by re-indexing the sum in terms of odd whole numbers (2n + 1), we get the proper maclaurin series for sinh x<\/em>.<\/p>\n <\/p>\n
you can do the same sort of work to derive the series for cosh x<\/em>. the first few steps are shown below, but the result will be the same series that we got before for hyperbolic cosine.<\/p>\n <\/p>\n
graphs of hyperbolic functions<\/h4>\n finally, to round out this example problem, let’s take a look at the graphs of each hyperbolic function. it would be a great exercise for you to plot the first few taylor polynomials of each series and compare the results against these graphs.<\/p>\ngraph of y<\/em> = sinh x<\/em> from wolfram mathworld<\/a>.<\/figcaption><\/figure>\ngraph of y<\/em> = cosh x<\/em> from wolfram mathworld<\/a>.<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"taylor and maclaurin series are like polynomials, except that there are infinitely many terms. read on to find out what you need to know for the ap test!<\/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":"\n
ap calculus bc review: taylor and maclaurin series - magoosh blog | high school<\/title>\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\t \n\t \n\t \n