Skip to text

3 Transitioning between abs-smooth forms

As described above, so far there are three possible different representations for a function that is given by a composition of smooth elemental functions and absolute value evaluations: the abs-smooth form of type (12.2), the abs-smooth form of type (12.3), and the abs-smooth form of type (12.4); which form is beneficial may depend on the specific application at hand. Therefore, an obvious question is whether it is always possible to transfer one representation into the other ideally preserving the regularity condition LIKQ. Obviously, neither of the representations is unique, a fact that we state here for completeness.

Proposition 12.2.

For any two functions f and F in the abs-smooth form of type (12.2), there are functions fˆ and Fˆ in the abs-smooth form of type (12.3) which are equivalent in the following sense:

a)

The solutions z and zˆ to their respective switching equations coincide.

b)

Both forms represent the same nonsmooth function φ.

The same holds true for the converse direction of reformulation.

Proof.

Let f and F be functions in the abs-smooth form of type (12.2) representing some φ. For x∈Rn and zˆ∈Rs, define

(12.5)fˆ(x,zˆ,|zˆ|):=f(x,|zˆ|),Fˆ(x,zˆ,|zˆ|):=F(x,|zˆ|),

that is, by ignoring the second input. Now, for a given x∈Rn, let z∈Rs be determined by the switching equation (12.2b). By the definition of Fˆ, we have

z=F(x,|z|)=Fˆ(x,z,|z|),

that is, z is equal to the unique solution zˆ∈Rs of the switching equation (12.3b). Thus, φ(x)=f(x,|z|)=fˆ(x,z,|z|) showing that fˆ and Fˆ also represent φ.

Let fˆ and Fˆ be functions in the abs-smooth form of type (12.3) representing some φ. To obtain a representation in the abs-smooth form of type (12.2), we observe that zˆi=Fˆi(x,zˆ,|zˆ|) does only depend on the values of zˆ1,…,zˆi−1. Thus, omitting these spurious dependencies in the notation, for z∈Rs we define

(12.6)F1(x,|z|):=Fˆ1(x),Fi(x,|z|):=Fˆi(x,F1(x,|z|),…,Fi−1(x,|z|),|z1|,…,|zi−1|),

for i=2,…,s and

(12.7)f(x,|z|):=fˆ(x,F(x,|z|),|z|).

Let again x∈Rn be given and this time let zˆ∈Rs denote the solution to the switching equation (12.3b). Then, with zˆ1=Fˆ1(x)=F1(x,|zˆ|), induction yields

zˆi=Fˆi(x,zˆ1,…,zˆi−1,|zˆ1|,…,|zˆi−1|)=Fˆi(x,F1(x,|zˆ|),…,Fi−1(x,|zˆ|),|zˆ1|,…,|zˆi−1|)=Fi(x,|zˆ|).

Thus, zˆ is equal to the unique solution z∈Rs to the switching equation (12.2b), and hence, φ(x)=fˆ(x,zˆ,|zˆ|)=fˆ(x,F(x,|zˆ|),|zˆ|)=f(x,|zˆ|).  □

Proposition 12.3.

For any two functions fˆ and Fˆ in the abs-smooth form of type (12.3), there are functions f˜ and F˜ in the abs-smooth form of type (12.4) which are equivalent in the following sense:

a)

The solution zˆ of the switching equation (12.3b) coincides with the first s components of the solution z˜ of the switching equation (12.4b).

b)

Both forms represent the same nonsmooth function φ.

The same holds true for the converse direction of reformulation.

Proof.

Let fˆ and Fˆ be functions in the abs-smooth form of type (12.3) representing some φ. For x∈Rn and z˜∈Rs+1, we define

(12.8)F˜(x,z˜,|z˜|):=Fˆ(x,z˜1,…,z˜s,|z˜1|,…,|z˜s|)fˆ(x,z˜1,…,z˜s,|z˜1|,…,|z˜s|),f˜(x,z˜):=z˜s+1.

Now, for a given x∈Rn let z˜:=(zˆ,y)∈Rs+1 be the solution to (12.3), then

z˜=zˆy=Fˆ(x,zˆ,|zˆ|)fˆ(x,zˆ,|zˆ|)=F˜(x,z˜,|z˜|).

Thereby, it holds φ(x)=y=z˜s+1=f˜(x,z˜).

Let now f˜ and F˜ be functions in the abs-smooth form of type (12.4) representing some φ. Recall that due to the switching structure, the value F˜(x,z˜,|z˜|) does not depend on the argument z˜s+1. Thus, for any x∈Rn, zˆ∈Rs define

(12.9)Fˆi(x,zˆ,|zˆ|):=F˜i(x,(zˆ,0),|(zˆ,0)|)i=1,…,s,fˆ(x,zˆ,|zˆ|):=f˜(x,F˜(x,(zˆ,0),|(zˆ,0)|))=f˜(x,F˜(x,(zˆ,z˜s+1),|(zˆ,z˜s+1)|))for allz˜s+1∈R.

For a given x∈Rn, let z˜:=(zˆ,z˜s+1) be a solution to the switching equation (12.4b). Then

zˆz˜s+1=z˜=F˜(x,z˜,|z˜|)=Fˆ(x,zˆ,|zˆ|)F˜s+1(x,zˆ,|zˆ|).

Therefore, zˆ is a solution to the switching equation in (12.3b) for Fˆ. Furthermore, φ(x)=f˜(x,z˜)=f˜(x,F˜(x,z˜,|z˜|))=fˆ(x,zˆ,|zˆ|), where the last equality is due to the definition in (12.9).  □

Example 12.4.

Recall the abs-smooth form of type (12.4) given in Example 12.1:

F˜(x,z˜,|z˜|)=2x1+x2x32(|z˜1|+z˜1)+x4−2|z˜2|,f˜(x,z˜)=z˜3.

We find the abs-smooth form of type (12.3) by using Equation (12.9) in Proposition 12.3. This yields

Fˆ(x,zˆ,|zˆ|)=2x1+x2x32(|zˆ1|+zˆ1)+x4−2,fˆ(x,zˆ,|zˆ|)=|zˆ2|.

From this, we obtain the abs-smooth form of type (12.2) by using Equation (12.6) and Equation (12.7) in Proposition 12.2. This yields

F(x,|z|)=Fˆ1(x)Fˆ2(x,F1(x,|z|),|z1|)=2x1+x2x32(|z1|+2x1+x2)+x4−2,f(x,|z|)=fˆ(x,F(x,|z|),|z|)=|z2|.