Level set

In mathematics, a level set of a real-valued function f of n real variables is a set where the function takes on a given constant value c c c, that is:
L c ( f ) = { ( x 1 , … , x n ) ∣ f ( x 1 , … , x n ) = c }   , {\displaystyle L_{c}(f)=\left\{(x_{1},\ldots ,x_{n})\mid f(x_{1},\ldots ,x_{n})=c\right\}~,} Lc(f)={(x1,,xn)f(x1,,xn)=c} ,

When the number of independent variables is two, a level set is called a level curve, also known as contour line or isoline; so a level curve is the set of all real-valued solutions of an equation in two variables x 1 x_1 x1 and x 2 x_2 x2. When n = 3 n = 3 n=3, a level set is called a level surface (or isosurface); so a level surface is the set of all real-valued roots of an equation in three variables x 1 , x 2 x_1, x_2 x1,x2 and x 3 x_3 x3. For higher values of n n n, the level set is a level hypersurface, the set of all real-valued roots of an equation in n > 3 n > 3 n>3 variables.

A level set is a special case of a fiber.

在这里插入图片描述

Points at constant slices of x 2 = f ( x 1 ) x_2 = f(x_1) x2=f(x1).

在这里插入图片描述

Lines at constant slices of x 3 = f ( x 1 , x 2 ) x_3 = f(x_1, x_2) x3=f(x1,x2).

在这里插入图片描述

Planes at constant slices of x 4 = f ( x 1 , x 2 , x 3 ) . x_4 = f(x_1, x_2, x_3). x4=f(x1,x2,x3).

( n − 1 ) (n − 1) (n1)-dimensional level sets for functions of the form f ( x 1 , x 2 , . . . , x n ) = a 1 x 1 + a 2 x 2 + ⋯ + a n x n f(x_1, x_2, ..., x_n) = a_1x_1 + a_2x_2 + ⋯ + a_nx_n f(x1,x2,...,xn)=a1x1+a2x2++anxn where a 1 , a 2 , . . . , a n a_1, a_2, ..., a_n a1,a2,...,an are constants, in ( n + 1 ) (n + 1) (n+1)-dimensional Euclidean space, for n = 1 , 2 , 3 n = 1, 2, 3 n=1,2,3.

在这里插入图片描述

Points at constant slices of x 2 = f ( x 1 ) . x_2 = f(x_1). x2=f(x1).

在这里插入图片描述

Contour curves at constant slices of x 3 = f ( x 1 , x 2 ) . x_3 = f(x_1, x_2). x3=f(x1,x2).

在这里插入图片描述

Curved surfaces at constant slices of x 4 = f ( x 1 , x 2 , x 3 ) . x_4 = f(x_1, x_2, x_3). x4=f(x1,x2,x3).

( n − 1 ) (n − 1) (n1)-dimensional level sets of non-linear functions f ( x 1 , x 2 , . . . , x n ) f(x_1, x_2, ..., x_n) f(x1,x2,...,xn) in ( n + 1 ) (n + 1) (n+1)-dimensional Euclidean space, for n = 1 , 2 , 3. n = 1, 2, 3. n=1,2,3.

1 Alternative names

Level sets show up in many applications, often under different names. For example, an implicit curve is a level curve, which is considered independently of its neighbor curves, emphasizing that such a curve is defined by an implicit equation. Analogously, a level surface is sometimes called an implicit surface or an isosurface.

The name isocontour is also used, which means a contour of equal height. In various application areas, isocontours have received specific names, which indicate often the nature of the values of the considered function, such as isobar, isotherm, isogon, isochrone, isoquant and indifference curve.

在这里插入图片描述

Intersections of a co-ordinate function’s level surfaces with a trefoil knot. Red curves are closest to the viewer, while yellow curves are farthest.

2 Examples

Consider the 2-dimensional Euclidean distance:

{\displaystyle d(x,y)={\sqrt {x{2}+y{2}}}}{\displaystyle d(x,y)={\sqrt {x{2}+y{2}}}}
A level set {\displaystyle L_{r}(d)}{\displaystyle L_{r}(d)} of this function consists of those points that lie at a distance of {\displaystyle r}r from the origin, that make a circle. For example, {\displaystyle (3,4)\in L_{5}(d)}{\displaystyle (3,4)\in L_{5}(d)}, because {\displaystyle d(3,4)=5}{\displaystyle d(3,4)=5}. Geometrically, this means that the point {\displaystyle (3,4)}{\displaystyle (3,4)} lies on the circle of radius 5 centered at the origin. More generally, a sphere in a metric space {\displaystyle (M,m)}{\displaystyle (M,m)} with radius {\displaystyle r}r centered at {\displaystyle x\in M}x\in M can be defined as the level set {\displaystyle L_{r}(y\mapsto m(x,y))}{\displaystyle L_{r}(y\mapsto m(x,y))}.
A second example is the plot of Himmelblau’s function shown in the figure to the right. Each curve shown is a level curve of the function, and they are spaced logarithmically: if a curve represents {\displaystyle L_{x}}L_{x}, the curve directly “within” represents {\displaystyle L_{x/10}}{\displaystyle L_{x/10}}, and the curve directly “outside” represents {\displaystyle L_{10x}}{\displaystyle L_{10x}}.

在这里插入图片描述

Log-spaced level curve plot of Himmelblau’s function[1]

3 Level sets versus the gradient

Theorem: If the function f is differentiable, the gradient of f at a point is either zero, or perpendicular to the level set of f at that point.
To understand what this means, imagine that two hikers are at the same location on a mountain. One of them is bold, and he decides to go in the direction where the slope is steepest. The other one is more cautious; he does not want to either climb or descend, choosing a path which will keep him at the same height. In our analogy, the above theorem says that the two hikers will depart in directions perpendicular to each other.

A consequence of this theorem (and its proof) is that if f is differentiable, a level set is a hypersurface and a manifold outside the critical points of f. At a critical point, a level set may be reduced to a point (for example at a local extremum of f ) or may have a singularity such as a self-intersection point or a cusp.

在这里插入图片描述

Consider a function f whose graph looks like a hill. The blue curves are the level sets; the red curves follow the direction of the gradient. The cautious hiker follows the blue paths; the bold hiker follows the red paths. Note that blue and red paths always cross at right angles.

4 Sublevel and superlevel sets

A set of the form

{\displaystyle L_{c}^{-}(f)=\left{(x_{1},\dots ,x_{n})\mid f(x_{1},\dots ,x_{n})\leq c\right}}{\displaystyle L_{c}^{-}(f)=\left{(x_{1},\dots ,x_{n})\mid f(x_{1},\dots ,x_{n})\leq c\right}}
is called a sublevel set of f (or, alternatively, a lower level set or trench of f). A strict sublevel set of f is

{\displaystyle \left{(x_{1},\dots ,x_{n})\mid f(x_{1},\dots ,x_{n})<c\right}}{\displaystyle \left{(x_{1},\dots ,x_{n})\mid f(x_{1},\dots ,x_{n})<c\right}}
Similarly

{\displaystyle L_{c}^{+}(f)=\left{(x_{1},\dots ,x_{n})\mid f(x_{1},\dots ,x_{n})\geq c\right}}{\displaystyle L_{c}^{+}(f)=\left{(x_{1},\dots ,x_{n})\mid f(x_{1},\dots ,x_{n})\geq c\right}}
is called a superlevel set of f (or, alternatively, an upper level set of f). And a strict superlevel set of f is

{\displaystyle \left{(x_{1},\dots ,x_{n})\mid f(x_{1},\dots ,x_{n})>c\right}}{\displaystyle \left{(x_{1},\dots ,x_{n})\mid f(x_{1},\dots ,x_{n})>c\right}}
Sublevel sets are important in minimization theory. By Weierstrass’s theorem, the boundness of some non-empty sublevel set and the lower-semicontinuity of the function implies that a function attains its minimum. The convexity of all the sublevel sets characterizes quasiconvex functions.[2]

5 See also

Epigraph
Level-set method
Level set (data structures)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值