# Analytic function

In mathematics, an analytic function is a function that is locally given by a convergent power series. Analytic functions can be thought of as a bridge between polynomials and general functions. There exist real analytic functions and complex analytic functions, which have similarities as well as differences.

## Definitions

Formally, function f is real analytic on an open set D in the real line if for any x0 in D one can write

 ${\displaystyle f(x)\,}$ ${\displaystyle =\sum _{n=0}^{\infty }a_{n}\left(x-x_{0}\right)^{n}}$ ${\displaystyle =a_{0}+a_{1}(x-x_{0})+a_{2}(x-x_{0})^{2}+a_{3}(x-x_{0})^{3}+\cdots }$

in which the coefficients a0, a1, ... are real numbers and the series is convergent for x in a neighborhood of x0.

Alternatively, an analytic function is an infinitely differentiable function such that the Taylor series at any point x0 in its domain

${\displaystyle T(x)=\sum _{n=0}^{\infty }{\frac {f^{(n)}(x_{0})}{n!}}(x-x_{0})^{n}}$

is convergent for x close enough to x0 and its value equals f(x).

The definition of a complex analytic function is obtained by replacing everywhere above "real" with "complex".

## Examples

• Any polynomial (real or complex) is an analytic function. This because if a polynomial has degree n, any terms of degree larger than n in its Taylor series will vanish, so this series will be trivially convergent.
• The exponential function is analytic. Any Taylor series for this function converges not only for x close enough to x0 but rather for all values of x.
• The absolute value is not analytic, as it is not differentiable. Piecewise defined functions (functions given by different formulas in different regions) are in general not analytic.

## Properties of analytic functions

• The sum, product, and composition of analytic functions are analytic.
• The reciprocal of an analytic function that is nowhere zero, is analytic, as is the inverse of an invertible analytic function whose derivative is nowhere zero.
• Any analytic function is smooth.

A polynomial cannot be zero at too many points unless it is the zero polynomial (more precisely, the number of zeros is at most the degree of the polynomial). A similar but weaker statement holds for analytic functions. If the set of zeros of an analytic function f has an accumulation point inside its domain, then f is zero everywhere on the connected component containing the accumulation point.

More formally this can be stated as follows. If (rn) is a sequence of distinct numbers such that f(rn) = 0 for all n and this sequence converges to a point r in the domain of D, then f is identically zero on the connected component of D containing r.

Also, if all the derivatives of an analytic function at a point are zero, the same conclusion holds.

These statements imply that while analytic functions do have more degrees of freedom than polynomials, they are still quite inflexible.

## Analyticity and differentiability

Any analytic function (real or complex) is differentiable, actually infinitely differentiable (that is, smooth). There exist smooth real functions which are not analytic, see the following example. The real analytic functions are much "fewer" than the real (infinitely) differentiable functions.

The situation is quite different for complex analytic functions. It can be proved that any complex function differentiable in an open set is analytic. Consequently, in complex analysis, the term analytic function is synonymous with holomorphic function.

## Real versus complex analytic functions

Real and complex analytic functions have important differences (one could notice that even from their different relationship with differentiability). Complex analytic functions are more rigid in many ways.

According to Liouville's theorem, any bounded complex analytic function defined on the whole complex plane is constant. This statement is clearly false for real analytic functions, as illustrated by

${\displaystyle f(x)={\frac {1}{x^{2}+1}}.}$

Also, if a complex analytic function is defined in an open ball around a point x0, its power series expansion at x0 is convergent in the whole ball. This is not true in general for real analytic functions. (Note that an open ball in the complex plane would be a disk, while on the real line it would be an interval.)

Any real analytic function on some open set on the real line can be extended to a complex analytic function on some open set of the complex plane. However, not any real analytic function defined on the whole real line can be extended to a complex function defined on the whole complex plane. The function f (x) defined in the paragraph above is a counterexample.

## Analytic functions of several variables

One can define analytic functions in several variables by means of power series in those variables (see power series). Analytic functions of several variables have some of the same properties as analytic functions of one variable. However, especially for complex analytic functions, new and interesting phenomena show up in many dimensions.