Transformations of Level Sets

1 General Transformation

Theorem 1.

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

D′={𝒓∈ℝn|(f∘T−1)⁢(𝒓)=0} (1)

Informal Proof

By definition of function composition, (f∘T−1)⁢(𝒓)=f⁢(T−1⁢(𝒓)).
Letting 𝒖=T−1⁢(𝒓), we have 𝒓=T⁢(𝒖). Substituting back gives:

D′ ={T⁢(𝒖)|f⁢(𝒖)=0}
D′ =T⁢(D)
Proof.
𝒓∈T⁢(D) ⇔∃𝒖∈Dsuch that𝒓=T⁢(𝒖)
⇔∃𝒖∈ℝnsuch thatf⁢(𝒖)=0and𝒖=T−1⁢(𝒓)
⇔f⁢(T−1⁢(𝒓))=0
⇔(f∘T−1)⁢(𝒓)=0

Therefore, D′=T⁢(D)={𝒓∈ℝn|(f∘T−1)⁢(𝒓)=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}
𝒖 =(x′y′)=(x−Δ⁢xy−Δ⁢y)=𝒓−Δ⁢𝒓=T−Δ⁢𝒓⁢(𝒓)
𝒓 =𝒖+Δ⁢𝒓=TΔ⁢𝒓⁢(𝒖)
DT ={TΔ⁢𝒓⁢((x′y′))|f⁢(x′,y′)=0}=TΔ⁢𝒓⁢(D)

2.2 Scaling

Let S=(sx00sy) be the scaling matrix, where LS⁢(𝒓)=S⁢𝒓=(sx⁢xsy⁢y).

DS ={(xy)|f⁢(xsx,ysy)=0}
𝒖 =(x′y′)=(x/sxy/sy)=S−1⁢𝒓=LS−1⁢(𝒓)
𝒓 =S⁢𝒖=LS⁢(𝒖)
DS ={S⁢(x′y′)|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)=(x⁢cos⁡θ+y⁢sin⁡θ−x⁢sin⁡θ+y⁢cos⁡θ)

Thus, the rotated set DR is given by:

DR ={(xy)|f⁢(x⁢cos⁡θ+y⁢sin⁡θ,−x⁢sin⁡θ+y⁢cos⁡θ)=0}
𝒖 =(x′y′)=Rθ−1⁢𝒓⇔𝒓=Rθ⁢𝒖
DR ={Rθ⁢(x′y′)|f⁢(x′,y′)=0}=LRθ⁢(D)