In complex analysis, a branch of mathematics, the identity theorem for holomorphic functions states: given functions f and g holomorphic on a connected open set D, if f = g on some non-empty open subset of D, then f = g on D. Thus a holomorphic function is completely determined by its values on a (possibly quite small) neighborhood in D. This is not true for real-differentiable functions. In comparison, holomorphy, or complex-differentiability, is a much more rigid notion. Informally, one sometimes summarizes the theorem by saying holomorphic functions are "hard" (as opposed to, say, continuous functions which are "soft").
The underpinning fact from which the theorem is established is the developability of a holomorphic function into its Taylor series.
The connectedness assumption on the domain D is necessary and is in fact key to a short proof given here (obviously, if D consists of two disjoint open sets, the result does not hold). Under this assumption, since we are given that the set is not empty, topologically the claim amounts to that f and g coincide on a set that is both open and closed.
The closedness is immediate from the continuity of f and g.
Therefore, the main issue is to show that the set on which f = g is an open set.
Because a holomorphic function can be represented by its Taylor series everywhere on its domain, it is sufficient to consider the set
Suppose w lies in S. Then, because the Taylor series of f and g at w have non-zero radius of convergence, the open disk Br(w) also lies in S for some r. (In fact, r can be anything less than the distance from w to the boundary of D). This shows S is open and proves the theorem.
The hypotheses on this theorem can be relaxed slightly while still producing the same conclusion. Specifically, if two holomorphic functions f and g on a domain D agree on a set S which has an accumulation point c in D then f = g on all of D.