Transformations of Level Sets

1 General Transformation

Theorem 1.

Let f:n define a level set D=L0(f)={𝐫n|f(𝐫)=0}. If T:nn is a bijective (invertible) transformation, then the image set D=T(D) under T is given by:

D={𝒓n|(fT1)(𝒓)=0} (1)

Informal Proof

By definition of function composition, (fT1)(𝒓)=f(T1(𝒓)).
Letting 𝒖=T1(𝒓), we have 𝒓=T(𝒖). Substituting back gives:

D ={T(𝒖)|f(𝒖)=0}
D =T(D)
Proof.
𝒓T(D) 𝒖Dsuch that𝒓=T(𝒖)
𝒖nsuch thatf(𝒖)=0and𝒖=T1(𝒓)
f(T1(𝒓))=0
(fT1)(𝒓)=0

Therefore, D=T(D)={𝒓n|(fT1)(𝒓)=0}. ∎

2 Examples - 2D Level Sets (Level Curves)

Let 𝒓=(xy) and D={(xy)|f(x,y)=0}.

2.1 Translation

For a translation vector Δ𝒓=(ΔxΔy), the translation mapping is TΔ𝒓(𝒓)=𝒓+Δ𝒓.

DT ={(xy)|f(xΔx,yΔy)=0}
𝒖 =(xy)=(xΔxyΔy)=𝒓Δ𝒓=TΔ𝒓(𝒓)
𝒓 =𝒖+Δ𝒓=TΔ𝒓(𝒖)
DT ={TΔ𝒓((xy))|f(x,y)=0}=TΔ𝒓(D)

2.2 Scaling

Let S=(sx00sy) be the scaling matrix, where LS(𝒓)=S𝒓=(sxxsyy).

DS ={(xy)|f(xsx,ysy)=0}
𝒖 =(xy)=(x/sxy/sy)=S1𝒓=LS1(𝒓)
𝒓 =S𝒖=LS(𝒖)
DS ={S(xy)|f(x,y)=0}=LS(D)

2.3 Rotation

Let Rθ=(cosθsinθsinθcosθ). The inverse transformation matrix is:

Rθ1=Rθ=(cosθsinθsinθcosθ)

Applying Rθ1 to 𝒓 yields:

LRθ1(𝒓)=Rθ1(xy)=(xcosθ+ysinθxsinθ+ycosθ)

Thus, the rotated set DR is given by:

DR ={(xy)|f(xcosθ+ysinθ,xsinθ+ycosθ)=0}
𝒖 =(xy)=Rθ1𝒓𝒓=Rθ𝒖
DR ={Rθ(xy)|f(x,y)=0}=LRθ(D)