Answer:

Since w=z^2>= and z>=0, Sqrt[w^2] is actually w, not |w|.

Up to Example 1