We are given with a map $g:\bar D\to \Bbb C $, which is continuous on $\bar D$ and analytic on $D$. Where $D$ is a bounded domain and $\bar D=D\cup\partial D$.
1) I want to show that: $\partial(g(D))\subseteq g(\partial D).$
And further, I need two examples:
a) First, to show that the above inclusion can be strict, that is: $\partial(g(D))\not= g(\partial D).$
b) Second example, I need to show that conclusion in (1) is not true if $D$ is not bounded.
So basically we have to show that the boundary of the open set $g(D)$ is contained in image of boundary of $D$ (and sometimes strictly contained). I think that we will use open mapping theorem. But how this theorem will help us here that is not clear.
You know by the open mapping theorem that $g(D)$ is open. (I am assuming $g$ is non-constant.) But you also know $\bar D$ is compact (closed and bounded), so $g(\bar D)$ is also compact, and hence closed. Hence the closure of $g(D)$ is contained in $g(\bar D)$. You should be able to argue at this point that $\partial(g(D)) = g(\bar D) \setminus g(D)$.