Taylor series and Maclaurin series

    Taylor and Maclaurin Series: Approximating Functions

    Taylor series and Maclaurin series are fundamental tools in calculus for approximating functions with polynomials. This allows us to represent complex functions, like sin(x) or e^x, as infinite sums of simpler power functions. These series are particularly useful for evaluating integrals, solving differential equations, and understanding the behavior of functions near a specific point.

    Definition of a Taylor Series

    A Taylor series for a function f(x) that is infinitely differentiable at a point x = a is given by the formula:

    f(x) = f(a) + f'(a)(x-a)/1! + f''(a)(x-a)^2/2! + f'''(a)(x-a)^3/3! + ...

    This can be written more compactly using summation notation:

    f(x) = Σ [f^(n)(a) * (x-a)^n / n!] for n = 0 to ∞

    • f^(n)(a) represents the nth derivative of f(x) evaluated at x = a.
    • n! is the factorial of n.
    • The term (x-a)^n indicates that the series is centered at a.

    The partial sums of a Taylor series are polynomials known as Taylor polynomials. For example, the first-degree Taylor polynomial is P_1(x) = f(a) + f'(a)(x-a), which is the equation of the tangent line at x=a.

    Definition of a Maclaurin Series

    A Maclaurin series is a special case of a Taylor series where the series is centered at a = 0. This simplifies the general Taylor series formula significantly:

    f(x) = f(0) + f'(0)x/1! + f''(0)x^2/2! + f'''(0)x^3/3! + ...

    In summation notation:

    f(x) = Σ [f^(n)(0) * x^n / n!] for n = 0 to ∞

    Common Maclaurin Series Expansions

    It's crucial to know and be able to derive several common Maclaurin series on the AP Calculus BC exam:

    • e^x = Σ [x^n / n!] = 1 + x + x^2/2! + x^3/3! + ... (for all real x)
    • sin(x) = Σ [(-1)^n * x^(2n+1) / (2n+1)!] = x - x^3/3! + x^5/5! - ... (for all real x)
    • cos(x) = Σ [(-1)^n * x^(2n) / (2n)!] = 1 - x^2/2! + x^4/4! - ... (for all real x)
    • 1/(1-x) = Σ [x^n] = 1 + x + x^2 + x^3 + ... (for |x| < 1, this is a geometric series)
    • ln(1+x) = Σ [(-1)^(n+1) * x^n / n] = x - x^2/2 + x^3/3 - ... (for -1 < x ≤ 1)

    Radius and Interval of Convergence

    For a Taylor or Maclaurin series to accurately represent a function, the series must converge. The radius of convergence (R) and interval of convergence (IOC) define the set of x-values for which the series converges. These are typically found using the Ratio Test. For a power series Σ c_n (x-a)^n, if lim |c_(n+1)/c_n| = L, then R = 1/L (if L ≠ 0) or R = ∞ (if L = 0).

    Lagrange Error Bound (Taylor Remainder)

    When using a Taylor polynomial to approximate a function, it's important to quantify the error. The Lagrange Error Bound (also known as the Taylor Remainder Theorem) provides an upper bound for the absolute value of the remainder R_n(x) = f(x) - P_n(x):

    |R_n(x)| ≤ |M * (x-a)^(n+1) / (n+1)!|

    where M is the maximum value of |f^(n+1)(c)| on the interval between a and x. This theorem allows us to determine how accurate our polynomial approximation is over a given interval.

    Practice questions

    1

    What is the primary difference between a Taylor series and a Maclaurin series?

    2

    Write the first three non-zero terms of the Maclaurin series for f(x) = e^x.

    3

    If the Maclaurin series for sin(x) is x - x^3/3! + x^5/5! - ..., how would you derive the Maclaurin series for cos(x) without calculating derivatives?

    4

    What does the Lagrange Error Bound help you determine when using a Taylor polynomial to approximate a function?

    Practice more free →

    Free AP4U account — unlimited practice, AI grader, and progress tracking.

    Canonical: https://apforu.com/ap/calculus-bc/unit-10-infinite-sequences-and-series/taylor-series-and-maclaurin-series