---
tag: 7GZ908QZ04
kind: statement
role: theorem
name: Identity theorem in several variables
msc: [32A10]
uses: [507C34W0ZT, 0YBVKMYX0W]
about: [507C34W0ZT]
sources:
  - url: https://en.wikipedia.org/wiki/Identity_theorem
---

## Statement

Let $D \subseteq \C^n$ be a domain, that is, a nonempty connected open set.
Let $f$ and $g$ be [[holomorphic functions|507C34W0ZT]] on $D$.
If $f = g$ on a nonempty open subset of $D$, then $f = g$ on all of $D$.

## Remarks

Put $h = f - g$ and let $E$ be the set of points of $D$ near which $h$ vanishes identically.
The set $E$ is open by definition and nonempty by hypothesis.
It is also closed in $D$.
At a limit point $a \in D$ of $E$, all partial derivatives of $h$ vanish by continuity, so the power series of $h$ at $a$ is zero and $h = 0$ near $a$.
Since $D$ is connected, $E = D$.
The one-variable condition "agreement on a set with a limit point" is not enough when $n \ge 2$: $f(z_1, z_2) = z_1$ vanishes on the whole line $\set{z_1 = 0}$ but is not zero.
Connectedness is needed.
Let $D = \set{\abs{z_1} < 1} \cup \set{\abs{z_1 - 3} < 1}$ in $\C$, or its product with $\C^{n-1}$.
The function equal to $0$ on the first piece and $1$ on the second is holomorphic and vanishes on an open set without being zero.

## Explanations

### L1 human

A holomorphic function on a connected domain is fixed everywhere by its values on any small ball.
So two such functions that agree on a small ball agree everywhere.
This is the rigidity that separates holomorphic functions from smooth real functions.

### L2 human

This is the several-variable form of the [[identity theorem|0YBVKMYX0W]].
The proof uses only the local power series expansion and connectedness, exactly as in one variable.
What changes is the size of the set needed.
Zero sets of holomorphic functions in $\C^n$, $n \ge 2$, are never isolated points, so agreement on a discrete set or even on a complex hypersurface says little.
It is enough that $f$ and $g$ agree on a set that is not contained in any proper analytic subset of $D$.
An example of such a set is a nonempty open subset of $\R^n \cap D$, when $D$ meets $\R^n$.
The theorem underlies uniqueness of analytic continuation in several variables.
