Search Knowledge

© 2026 LIBREUNI PROJECT

Mathematics / Analysis I: Calculus

Taylor Series and Analytic Functions

Taylor Series and Analytic Functions

Polynomials are the simplest functions to calculate, differentiate, and integrate. Taylor series provide a way to represent more complex, transcendental functions as “infinite polynomials,” allowing us to study them using the tools of power series.

Power Series

A Power Series centered at is an infinite series of the form: For any such series, there exists a Radius of Convergence such that the series converges absolutely if and diverges if .

  • At the boundaries , the series may or may not converge (requiring specific tests like the Ratio or Root tests).

Taylor and Maclaurin Series

If a function is infinitely differentiable at , we can define its Taylor Series as: When , the series is specifically called a Maclaurin Series.

Common Maclaurin Series:

  • for all .
  • for all .
  • for all .
  • for .

Taylor’s Theorem and the Remainder

A crucial question in analysis is: Does the Taylor series actually equal the function? We define the -th degree Taylor Polynomial and the Remainder : By Taylor’s Theorem (with Lagrange Remainder), there exists some between and such that: is equal to its Taylor series if and only if .

Analytic Functions

A function is analytic at if it can be represented by a power series in some neighborhood of .

  • Not all smooth () functions are analytic! A famous counter-example is for and . All its derivatives at are zero, so its Taylor series is identically zero, yet the function itself is non-zero for all .

Properties of Power Series

Within their radius of convergence, power series behave almost exactly like polynomials:

  1. Term-by-term Differentiation: The derivative of a power series is the sum of the derivatives of its terms, and the radius of convergence remains the same.
  2. Term-by-term Integration: The integral of a power series can be computed by integrating each term individually.
  3. Uniqueness: If two power series represent the same function in a neighborhood of , their coefficients must be identical.

Python: Approximating Functions with Taylor Polynomials

We can use Python to visualize how the Taylor polynomial approaches as increases.

import math

def taylor_exp(x, n):
    """Computes the n-th degree Taylor polynomial of e^x at 0."""
    sum = 0
    for i in range(n + 1):
        sum += (x ** i) / math.factorial(i)
    return sum

x_val = 1.0
actual = math.exp(x_val)

for n in [1, 3, 5, 10]:
    approx = taylor_exp(x_val, n)
    print(f"n={n}: Approx={approx:.6f}, Error={abs(actual - approx):.6e}")

Significance

Taylor series are the backbone of numerical analysis and physics. They allow us to approximate complex potential fields, solve differential equations by assuming power series solutions (the Frobenius method), and define functions in the complex plane. They transform the infinitesimal study of derivatives into the discrete study of coefficients.

Exercise

Conceptual Check

What condition is necessary for a function to be equal to its Taylor series?