In mathematics, the concept of trace operator plays an important role in studying the existence and uniqueness of solutions to boundary value problems, that is, to partial differential equations with prescribed boundary conditions. The trace operator makes it possible to extend the notion of restriction of a function to the boundary of its domain to "generalized" functions in a Sobolev space.
Let
Ω
be a bounded open set in the Euclidean space
R
n
with C^{1} boundary
∂
Ω
.
If
u
is a function that is
C
1
(or even just continuous) on the closure
Ω
¯
of
Ω
,
its function restriction is welldefined and continuous on
∂
Ω
.
If however,
u
is the solution to some partial differential equation, it is in general a weak solution, so it belongs to some Sobolev space. Such functions are defined only up to a set of measure zero, and since the boundary
∂
Ω
does have measure zero, any function in a Sobolev space can be completely redefined on the boundary without changing the function as an element in that space. It follows that simple function restriction cannot be used to meaningfully define what it means for a general solution to a partial differential equation to behave in a prescribed way on the boundary of
Ω
.
The way out of this difficulty is the observation that while an element
u
in a Sobolev space may be illdefined as a function,
u
can be nevertheless approximated by a sequence
(
u
n
)
of
C
1
functions defined on the closure of
Ω
.
Then, the restriction
u

∂
Ω
of
u
to
∂
Ω
is defined as the limit of the sequence of restrictions
(
u
n

∂
Ω
)
.
To rigorously define the notion of restriction to a function in a Sobolev space, let
p
≥
1
be a real number. Consider the linear operator
T
:
C
1
(
Ω
¯
)
→
L
p
(
∂
Ω
)
defined on the set of all
C
1
functions on the closure of
Ω
with values in the Lp space
L
p
(
∂
Ω
)
,
given by the formula
T
u
=
u

∂
Ω
.
The domain of
T
is a subset of the Sobolev space
W
1
,
p
(
Ω
)
.
It can be proved that there exists a constant
C
depending only on
Ω
and
p
,
such that
∥
T
u
∥
L
p
(
∂
Ω
)
≤
C
∥
u
∥
W
1
,
p
(
Ω
)
for all
u
in
C
1
(
Ω
¯
)
.
Then, since the
C
1
functions on
Ω
¯
are dense in
W
1
,
p
(
Ω
)
, the operator
T
admits a continuous extension
T
:
W
1
,
p
(
Ω
)
→
L
p
(
∂
Ω
)
defined on the entire space
W
1
,
p
(
Ω
)
.
T
is called the trace operator. The restriction (or trace)
u

∂
Ω
of a function
u
in
W
1
,
p
(
Ω
)
is then defined as
T
u
.
This argument can be made more concrete as follows. Given a function
u
in
W
1
,
p
(
Ω
)
,
consider a sequence of functions
(
u
n
)
that are
C
1
on
Ω
¯
,
with
u
n
converging to
u
in the norm of
W
1
,
p
(
Ω
)
.
Then, by the above inequality, the sequence
u
n

∂
Ω
will be convergent in
L
p
(
∂
Ω
)
.
Define
u

∂
Ω
=
lim
n
→
∞
u
n

∂
Ω
.
It can be shown that this definition is independent of the sequence
(
u
n
)
approximating
u
.
Consider the problem of solving Poisson's equation with zero boundary conditions:
{
−
Δ
u
=
f
in
Ω
u

∂
Ω
=
0.
Here,
f
is a given continuous function on
Ω
¯
.
With the help of the concept of trace, define the subspace
H
0
1
(
Ω
)
to be all functions in the Sobolev space
W
1
,
2
(
Ω
)
(this space is also denoted
H
1
(
Ω
)
) whose trace is zero. Then, the equation above can be given the weak formulation
Find
u
in
H
0
1
(
Ω
)
such that
∫
Ω
∇
u
(
x
)
⋅
∇
v
(
x
)
d
x
=
∫
Ω
f
(
x
)
v
(
x
)
d
x
for all
v
in
H
0
1
(
Ω
)
.
Using the Lax–Milgram theorem one can then prove that this equation has precisely one solution, which implies that the original equation has precisely one weak solution.
One can employ similar ideas to prove the existence and uniqueness of solutions for more complicated partial differential equations and with other boundary conditions (such as Neumann and Robin), with the notion of trace playing an important role in all such problems.