{"id":10715,"date":"2017-09-28t13:38:57","date_gmt":"2017-09-28t20:38:57","guid":{"rendered":"\/\/www.catharsisit.com\/hs\/?p=10715"},"modified":"2018-10-24t03:54:02","modified_gmt":"2018-10-24t10:54:02","slug":"ap-calculus-bc-review-taylor-maclaurin-series","status":"publish","type":"post","link":"\/\/www.catharsisit.com\/hs\/ap\/ap-calculus-bc-review-taylor-maclaurin-series\/","title":{"rendered":"ap calculus bc review: taylor and maclaurin series"},"content":{"rendered":"

taylor<\/strong> and maclaurin series<\/strong> are like polynomials, except that there are infinitely many terms. what makes these important is that they can often be used in place of other, more complicated functions. read on to find out how!<\/p>\n

taylor and maclaurin polynomials<\/h2>\n

first of all, let’s recall taylor polynomials<\/strong> for a function f<\/em>. you might want to read up on the topic here: ap calculus bc review: taylor polynomials<\/a><\/p>\n

assume n<\/em> ≥ 0 is a fixed whole number. (this is the degree<\/strong>, or order<\/strong>, of the polynomial.)<\/p>\n

moreover, let’s assume c<\/em> is a fixed real number (called the center<\/strong>).<\/p>\n

then the taylor polynomial of f<\/em> is:<\/p>\n

\"taylor<\/p>\n

and the maclaurin polynomial is just the taylor polynomial centered at c<\/em> = 0.<\/p>\n

\"maclaurin<\/p>\n

approximating functions<\/h3>\n

taylor and maclaurin polynomials can approximate a function to any desired level of accuracy. <\/p>\n

for example, see the figure below for graphs of the first few maclaurin polynomials for f<\/em>(x<\/em>) = sin x<\/em>.<\/p>\n

\"taylor
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>\n

taylor 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

\"taylor<\/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

\"formula<\/p>\n

(remember, the superscript (n<\/em>) means the nth derivative, not the n<\/em>th power, of the function.)<\/p>\n

here’s the complete formula for the taylor series of f<\/em>, with center c<\/em> (taylor’s formula<\/strong>):<\/p>\n

\"taylor<\/p>\n

the maclaurin series is the same thing, but with c<\/em> = 0 plugged in.<\/p>\n

convergence 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>\n

the 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

    \n
  1. it may converge (have a finite value) regardless of x<\/em>.<\/li>\n
  2. there 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>\n
  3. the series may converge only at the center x<\/em> = c<\/em>, diverging at every other x<\/em>-value.<\/li>\n<\/ol>\n

    but 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>\n

    don’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>\n

    in 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>\n

    the following derivative and integral formulas apply to any power series — not just taylor series.<\/p>\n

    derivative formula<\/h3>\n

    \"derivative<\/p>\n

    integral formula<\/h3>\n

    \"integral<\/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

    \"common<\/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

    \"power<\/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

    \"hyperbolic<\/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

    \"derivative<\/p>\n

    \"derivative<\/p>\n

    notice anything?<\/p>\n

    the derivative of sinh x<\/em> is just cosh x<\/em>, and vice versa!<\/p>\n

    next, we’ll also need to know the values at c<\/em> = 0.<\/p>\n

    \"values<\/p>\n

    now we have everything we need to put together the power series.<\/p>\n\n\n\n\n\n\n\n\n\n\n
    k<\/em><\/th>\nf(k)<\/sup><\/em>(x<\/em>)<\/th>\nf(k)<\/sup><\/em>(1)\/k<\/em>!<\/th>\n<\/tr>\n<\/thead>\n
    0<\/td>\nf<\/em>(x<\/em>) = sinh x<\/em><\/td>\nsinh 0 = 0<\/td>\n<\/tr>\n
    1<\/td>\nf<\/em> '(x<\/em>) = cosh x<\/em><\/td>\ncosh 0 = 1<\/td>\n<\/tr>\n
    2<\/td>\nf<\/em> ''(x<\/em>) = sinh x<\/em><\/td>\n(sinh 0)\/2! = 0<\/td>\n<\/tr>\n
    3<\/td>\nf<\/em> '''(x<\/em>) = cosh x<\/em><\/td>\n(cosh 0)\/3! = 1\/6<\/td>\n<\/tr>\n
    4<\/td>\nf<\/em>(4)<\/sup>(x<\/em>) = sinh x<\/em><\/td>\n(sinh 0)\/4! = 0<\/td>\n<\/tr>\n
    5<\/td>\nf<\/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

    \"power<\/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

    \"power<\/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>\n

    remember: \"power.<\/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

    \"showing<\/p>\n

    that last line may be simplified further. there is a pattern at work here.<\/p>\n